this post was submitted on 22 Nov 2023
84 points (75.3% liked)
Asklemmy
43945 readers
638 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm the only person I've ever seen on Lemmy running an instance from a nominally communist country (maybe there are others?). You can come hang out with me I guess. I'm not qualified to be a proper communist though -- I've read very little of the literature, and leave politics to the Party. Which I am not even actually a member of. I'm basically Boxer from Animal farm, but ended up happily married and with a decent standard of living instead of shipped off to the glue factory.
I'm am a mercenary science hermit though, so my instance is very quiet! There are three people on my instance, two are me and the other is a bot I wrote doing I-Ching divinations using physics.
The more I see you talk the more based you sound
I am perhaps strange, it's true.
It's my habit to sometimes build wildly improbable things, just to push myself and see if I can do it -- the world is filled with too many boring and lifeless inventions. Often clients want me to build very boring things -- e.g. they must stoop, who gather gold. So I dedicate some time to building absurd things too, in which I hope strangers find entertainment.
I am interested in the physics divination bot. How's it work?
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.
Impressive, but not cost-effective. I would just
fetch("random.org") XOR Math.random()
.I have to do cost-effective all week. Weekends, I get to do "ridiculous" :)
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?
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!
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?
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.
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.
Funny story, when I wanted to learn how something works, I'd just... follow one of the middlemen. Learned how to use the UBNQ, repair televisions (one shop in Q5 is the best, the rest just buy from it), legalize documents, and many other things this way :D
It's weird how it's just some weird secular superstition too! There's literally no difference between what they do and the obvious thing (fill out the form and hand it in). Yet everyone pays them like they are priests performing rituals to win the favor of some Greek god. Who would be I guess... Bureaucratos?
Also /r/Vietnam can be a bit of a... cesspool of inequity. I mean 'how do I commit crimes' is a pretty common line of inquiry there. I try not to worry too much because those people won't have a place in the future the rest of us are building :)
Well the Vietnamese don't worship Greek Gods, but many people are superstitious. Their beliefs range from Feng Shui, to Wu Xing, to demons and ghosts. I've heard of parents who prevent their son from marrying his lover simply because their ages incompatible. And there are reports about people of minor ethnicity in remote areas who rather invoke a shaman for an illness rather than call a doctor, even if the illness is lethal.
Ah, sorry -- I was joking. The French prefix 'bureau' (having to do with offices, desks, writing) coupled with the ancient Greek suffix "cratos" (power, might) would be a good name for some god of bureaucracy -- but there is no such god in the ancient Greek pantheon. A better comparison would be the Celestial Bureaucracy, I guess!
Yeah, I've got some relatives who are into the shaman healing stuff. We've got to keep on eye on it so they don't give away all their money to fraudsters.
I did learn some feng shui though, it was super useful when buying land. I bought the most cursed, haunted land possible according to feng shui, to get the best price. Since I plan to live there, not sell, this was fine and saved me about 200-400 trieu.
I did know you were joking but I didn't know "bureaucratos" until you explain it to me. Cultural difference, I guess.
Regarding the Celestial Bureaucracy (or Heavenly Court). Nowadays, it is often used in fictional works as a metaphor for actual government to criticize the government. Actually, it is not just "nowadays", it has always been used as a metaphor for actual government.
Ah yeah, I remember that! That comedy show during Tet used to do that a lot, right?
That show is obvious to Vietnamese, no doubt.
For the wider East Asian culture however, there's Journey to the West. It contains allegory and political commentary on the corruption, decadence, and weakness of the Ming Dynasty. In Journey to the West, both the Taoist Celestial Court and the Buddha side are corrupt in their own ways. These elements have sadly been removed in the 10,000 Chinese cinema remakes. These remakes are profitable, but soulless and forgettable.
Ah, I haven't read that one yet, but it's on my list! I got through Romance of the 3 Kingdoms though, it was really enjoyable.