u/AnyBloodyThing

▲ 421 r/taiwan

RIP Carrefour - the purge has almost been completed

Just went to the Carrefour, but probably for the last time. The purge of Carrefour house brand products has been completed. Could only find their 6 liter bottles of water, which were on sale, otherwise nothing.

Carrefour closing down makes me really sad and life in Taiwan has become a little bit less enjoyable for me. Going there and finding all kinds of European things was like being back home for a bit. I remember going to one of their first stores in Banqiao in the early nineties (yes, I've been here that long) and then seeing them open everywhere. Apart from their imported goods, their house brand was also a cost saver, especially when the kids were younger.

Mourn with me and list your favorite items you always bought from Carrefour, but will sadly miss. Here are mine:

  • Number 1: their jams. They had "light" jams in flavours other than strawberry and blueberry. It was really the only place where you could get apricot, peach, orange, fig or blackberry jam. Even their regular jams were okay and at only 99 NT per jar a bargain.
  • Number 2: their brown sugar. Locally sourced, but the taste was different from any other local brand. Great for baking and cheaper than other brands.
  • Number 3: when the kid were little, their bargain wet wipes. No J&J for us.
  • Number 4: their assortment of imported food, like cookies, canned veggies, sauces, cous cous, coffee (also their own house brand). They were priced so you could afford them, not excessively high like other stores.
  • Number 5: they had Dutch fries in the freezer section. And being from Holland that made me very happy.

The kids are gone now, so I don't need so much groceries anymore. But still, the joy of going to Carrefour - even once a month - will be missed. The "Big" PX mart is closer by, so I'll probably go there from now on. There is an A-Mart even closer, but the selection there is just aweful.

reddit.com
u/AnyBloodyThing — 5 days ago

Evaluating char arrays: strcmp(text, text2) == 0 works, but strcmp(text, "Hello World") == 0 doesn't. Is is a null character problem?

As I often read to avoid using the Arduino String object I am trying to do things with char instead (but why is it so darn difficult?). I need to evaluate a string that comes in via the serial port, then send the result to a switch case statement. Here is my code:

char text = "Hello World";
char text2 = "Hello World";
int switchParameter = 0;

void setup() {
  Serial.begin(115200);
  
  if (strcmp(text, text2) == 0) { //--> this method works
  //if (strcmp(text, "Hello World") == 0) { --> this method doesn't work
    switchParameter = 1;
  } else {
    switchParameter = 2;
  }

  switch (switchParameter) {
    case 1:
      Serial.println("1");
      break;
    case 2:
      Serial.println("2");
      break;
  }
}

void loop() {
}

I guess the problem is in the termination of the string "Hello World", but I haven't figured out how to solve it, if it is possible at all. Any hints and explanations are appreciated. Thanks

reddit.com
u/AnyBloodyThing — 7 days ago

Totally my own stupidity, but I connected the solar output (5.6V) to the Lithium battery 2p connector. After a couple of days of indoor testing I couldn't connect via Bluetooth anymore and I found corrosion on the back of the dev board (see photo). I now have everything wired up correctly and the module is working normally (Meshtastic), except for the BT connection. It connects, but drops out usually within a minute. I reset all connections on my phone, but the problem persists. Did I damage the BT part of the board by applying over voltage to the board?

https://preview.redd.it/ly8cfz6rzjtg1.jpg?width=1080&format=pjpg&auto=webp&s=37a57f2c86ad972b5e7322a420d22a51f42673c0

reddit.com
u/AnyBloodyThing — 2 months ago