• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 28th, 2023

help-circle





  • I have 80,00 Lazcoins but I don't know what people use these for. I can't pay bills with these, the groceries calculation works out so much more expensive due to high shipping fee to this island. Very few sellers let me use coins too, even if I have electronics I want to buy, the reputable sellers don't let me use coins. Every month these coins just expire.. Why these coins even exist? What do Malaysians use these for?




  • Aside from the more famous ayam pansuh (chicken cooked in bamboo), I personally go crazy for daun ubi (pounded vegetable dish). We cooked this once at home ourselves, but this one was tough work with low yield compared to the effort put in, and the stench took days to leave our hands. We decided it's better to just order this dish. Props, major props!

    I like midin, kangkung, cangkuk manis/manicai too but these are found everywhere, most if not all Chinese restaurants here also have them. Stir fried with belacan (like sambal) or garlic.


  • Last dinner, I couldn't finish the kueh tiaw ayam RM8 I ordered because it was too oily, so I tapao-ed the leftover to turn it into cantonese kueh tiaw at home. I suddenly remembered I had actually wanted kueh tiaw basah so I turned it into kueh tiaw basah instead. Currently enjoying it, 6.30am. I was going to order Dayak food but the young worker taking my order was having a mental breakdown, later I found out the poor guy's electrical switch or what needed fixing, so I had to cancel and reorder from another stall after waiting for 15minutes. I was actually in a hurry because there were people waiting for the food my mum tapao-ed. Not that urgent but the entire ordeal took 30mins until my kueh tiaw finally arrived. Quite a pity because I was wanting to enjoy Dayak food with my mum who loves it, for close to a month already.

    Also very thankful to the few who replied my post yesterday telling me it was indeed haze. Although the haze went by quickly, I shall be more cautious today. Sniff sniff before opening windows.









  • Hello, I just came across this post while searching on lemmy, I hope you don't mind my late comment on this post, so I can contribute to Lemmy. I have read your post multiple times, but if it's not the answer you're looking for, then I apologise in advance.

    Messed up node modules, because I used npm and yarn

    Delete node modules and do npm i or npm ci or yarn add.

    Order

    I usually do venv first, then I do Django backend, then React Native Expo frontend. However, the order itself isn't that important, because the frontend and backend folders are separated. Doing backend then frontend is just more convenient since API is used.

    For example, you deploy Django first then you compile Expo and you will see your API fetches. If you decide to do Expo first then Django it is still fine, just when you open your Expo app, you won't see your API stuff from Django until you deploy Django.

    A heads up that it's a separate story if you use Docker, which I think you aren't, since Docker is not mentioned.

    Path

    • I use .env file for React Native

    REACT_APP_API_URL = 'http://127.0.0.1:8000'

    • I use relative paths (src, import) in Django and React Native

    './relative-folder/relative-photo.jpg'

    • I use dynamic path in Django

    os.path.join

    It is generally advised not to use hardcoded paths, try to avoid if possible because whilst it works when you are developing locally, using hardcoded paths may not work during deployment. For Expo using hardcoded paths should still work.