I’ve been trying to find a good Marxist instance, but Lemmygrad and Hexbear are widely hated. Why is that? Are there any good leftist instances?

  • fred@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    I am interested in the physics divination bot. How’s it work?

    • Saigonauticon@voltage.vn
      link
      fedilink
      English
      arrow-up
      8
      ·
      11 months ago

      There’s a detailed description on my home instance, along with other stuff.

      The short version is it uses a pair of BJT transistors to produce and amplify diode breakdown noise. That’s amplified to TTL levels by some hex inverters. Then an 8-bit microcontroller passes it through a Von Neumann whitewashing algorithm (clock-cycle balanced in assembly language) to produce unbiased bits, which it accumulates into bytes. It’s not a ‘safe’ way to use transistors and they will fail one day, but it will be fine for quite some time still.

      Then an ESP32 samples the bytes from the 8-bit MCU. It connects to Wi-Fi and pushes it to the cloud over MQTT. A server listens for the random bytes, and uses them with the traditional I-Ching algorithm (yarrow-stick probabilities). Coding the yarrow-stick probabilities into an algorithm was a pain compared to the newer method that uses coin tosses :D

      Also I had to convert the I-Ching to JSON, so I could programmatically pull the correct divination from it. The whole thing is gloriously absurd.

      I have build a few particle detectors so I can use quantum-tunneling to produce the entropy instead (so an upgrade from a hardware RNG to a quantum RNG), but the radiation sources I have access to are a bit too weak to generate sufficient entropy.

      I can’t imagine any of this has any practical application, unless you happen to be a time traveler. In that case have work to do, meet me last week and we’ll talk about it :P

      Oh incidentally if the bot is down, let me know and I’ll gently beat it into submission so it works again.

          • kredditacc@lemmygrad.ml
            link
            fedilink
            arrow-up
            1
            ·
            11 months ago

            Understandable.

            BTW, I’m a bit surprise when I find out you were actually a foreigner migrated to Vietnam, which is a developing country. I was always under the impression that talents usually rather migrate to a more developed economy, not only for higher life quality, but also more advanced technologies. What made you decide to open a tech company in Vietnam instead of anywhere else?

            • Saigonauticon@voltage.vn
              link
              fedilink
              English
              arrow-up
              2
              ·
              11 months ago

              Growth potential. Relatively clear laws on immigration and foreign business. The language doesn’t leave me functionally illiterate (it uses Latin-ish characters). The lack of other immigrants, and general brain drain to Western economies gave me a competitive advantage. Maybe a standard rule of business is “don’t do what everyone else is doing”.

              It was clear a lot of growth was about to happen, and anyone who could reach out and grab a bit of it would do well. Also: why sell tech where tech is common and everyone has it already?

              Of course that was good on paper, but the first three years were a disaster. Tried working for a foreign company as an employee, got cheated badly, lost most of my assets, didn’t know what to do. The five year plan just came out about then, figured I’d RTFM. It encouraged me to start a tech company, and I am good at tech, so I put every dime in.

              Next three years were a disaster too, lost everything. I got wiser though, and things improved after that. The rest is just reliably grinding out work for clients.

              I find the quality of life here quite good overall. I used to cough blood in winter. None of that nonsense anymore! Health care is OK. Food and weather are nice, and my neighbors are decent. It’s very safe, by far the safest place I’ve ever lived. Interactions with government have been efficient and cordial. Air pollution and traffic are becoming a bit of a problem, but can’t have everything I guess.

              Tools from China and reasonably priced local factories mean I have more access to advanced technology than I had in the West. By a lot! I can now access the means of production, and it’s pretty amazing!

              • kredditacc@lemmygrad.ml
                link
                fedilink
                arrow-up
                1
                ·
                11 months ago

                Tried working for a foreign company as an employee, got cheated badly, lost most of my assets, didn’t know what to do.

                Did they only pay you in “equity” instead of wages?

                Also, how was your interaction with the government? Did you have to “lubricate” with your money to make things go faster?

                • Saigonauticon@voltage.vn
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  11 months ago

                  No, they just outright didn’t pay me most months. My visa status depended on my employment, so there was not much I could immediately do. So I kept my head down, got paid as much as I could, and started my own company to decouple my employment from my visa status as soon as reasonably possible. The director openly mocked me for doing so, but I’m the one still in business.

                  It’s OK, we can talk frankly about bribes. Early on, I decided not to pay bribes. It’s been twelve years or so, no problems have arisen so far. All paperwork I’ve submitted has been processed within a reasonable amount of time, although I am quite good at bureaucracy. The one time it wasn’t due to a glitch (registering to receive Covid vaccination), I called my Party representative and she sorted it out within a day. They were really trying to get the vaccination numbers up, so it was not very difficult.

                  To provide some context, labor / immigration law compliance of foreign workers in Vietnam has typically been poor. So a lot of people say “oh, you have to pay bribes”, when what they are actually doing is trying to rationalize away the fact that they are breaking the law, e.g. driving without a license or working on a tourist visa, and then searching for someone to bribe to try and escape consequences.

                  I’m not going to claim that every government official is honest, but I do feel that we get a distorted view of the situation – these are mostly just people finding what they are looking for. Most of the stories I hear online are from the people paying bribes making themselves out to be a victim – “on the ground” what I see is people bragging about being above the law.

                  It’s gotten better in recent years though. More people are coming to Vietnam to work honestly than before, and they are more qualified. On our side of things, more government systems are becoming digitized and online. I’m hopeful that it will continue getting better.

                  • kredditacc@lemmygrad.ml
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    11 months ago

                    You implied that your business outlasts your former employer’s? Serve them right! What a shitty company. Losing trust is detrimental in business so their bankruptcy is only natural.

                    Regarding “lubrication”, many people including my parents believe that the right middle men (“cò” in Vietnamese) can speed up the process. They don’t have any basis to this thinking though. It’s like a secular form of Asian superstition. Regardless, I now have a habit of reading the nameplates of gov employees should “difficulty” arises.

                    It’s kinda expected that our immigration laws aren’t the best. Vietnam as a developing economy would expect to export our own labours abroad, rarely do we import labours.

                    Anyway, it’s nice to hear a story that contradicts what I find on /r/Vietnam subreddit. Let’s hope that the government continue to modernize and improve bureaucratic efficiency. And may the God of Wealth bless your business.