[-] Saigonauticon@voltage.vn 67 points 4 months ago

AI model weights. Patches for MMOs (World of Warcraft famously used this to good effect).

[-] Saigonauticon@voltage.vn 42 points 5 months ago* (last edited 5 months ago)

Volunteer work is my go-to answer in these situations.

I'm around 40, am always very busy with work, and I can't hold complex conversations in the language that 95% of the population of my country speaks exclusively. My personal interests are extremely technical, and unusual (bordering on arcane). So meeting new friends is a bit of a challenge for me too.

It was still a very effective way to meet awesome people of all ages, some younger, some older! I even met my wife that way.

[-] Saigonauticon@voltage.vn 70 points 6 months ago

A pocketwatch manufactured in 1889. I keep it running as a memento mori: the watch may outlive the watchmaker. Build things well -- they may be all people remember you by, one day.

I also have a slide rule at my desk at most times, to remind me of false-precision.

I guess the oldest though, is a Wu Zhu coin from the Three Kingdoms period (currency is a technology, too?). I keep it to remember that all empires arise from chaos, and must return to it; that all assets eventually have no value. That the things that endure, are stranger currencies still.

[-] Saigonauticon@voltage.vn 34 points 6 months ago

Oh in English -- I used to say renumerate (numerate a second time) instead of remunerate (pay someone for a thing).

[-] Saigonauticon@voltage.vn 51 points 6 months ago

Not having a Facebook profile. I've had someone initially refuse to associate with me on the basis that they couldn't investigate my life beforehand.

I just laughed and asked them how they managed to survive before the Internet (we were both old enough). We both got over the weirdness of the situation, built a robot, and were friends for a while before they moved away.

12

So, there are these great 32700 LiFePO4 batteries that showed up in my local industrial market. For like USD 2$!

However, there are no LiFePO4 chargers available. The vendors assure me I can "totally use" a 4.2V Li-ion charger, but I don't believe them (although the cells test as being in good shape).

I whipped up a 5V system with a buck converter managed by an MCU. It turns off the buck converter that charges the battery, measures the battery voltage, and if it's under 3.6V it enables the buck converter. Repeats every few 100s of milliseconds.

Did I overengineer this? Could I have just used a linear voltage regulator that outputs 3.6V (or a Zener), and a current-limited 5v power supply?

Charge speed is not really important in my application. Anything under 4 hours is great. Frankly, I'm just trying to phase out the less safe kinds of lithium cell in my lab.

-6
submitted 7 months ago* (last edited 7 months ago) by Saigonauticon@voltage.vn to c/asklemmy@lemmy.ml

I've always considered the nature of living to be to grow, to become more -- and the nature of dying to be reduced, to become less. Sort of like taking the derivative of what you are, the rate of change..

This has the unusual consequence that when people tell me to 'live a little' e.g. with idle pastimes, it feels to me like they are asking me to 'die a little'.

What do you consider the difference?

[-] Saigonauticon@voltage.vn 32 points 7 months ago

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.

[-] Saigonauticon@voltage.vn 41 points 8 months ago

Oh this happened to me in reverse. My workplace (a client's office, technically) dumped a bunch of stuff at my house without permission, and I did not keep it. Expected me to store boxes and boxes of financial records, for infinity years, no contract or anything. They also defaulted on money owed to me, which I had to pay taxes on, even though I received nothing. Never have I met such an arrogantly entitled company owner.

Sold it all as scrap paper. Recovered 0.005% of the money owed this way. Later their company was dissolved due to nonpayment of taxes. If they ever come back to the country, they may have heir passport withheld until they pay what's owed. Which is whatever the tax department says it is, because they have no financial records.

[-] Saigonauticon@voltage.vn 108 points 8 months ago

Lawyers, accountants, and software engineers accumulate these things like you wouldn't believe. We can't tell you about current secrets, only stale ones.

I once knew that the top level password used at a corporation valued at 6 billion dollars was 'password123'. They had no backups, no VPN, and that password was used at all the high-value access points. It's since been fixed, but it was that for years.

[-] Saigonauticon@voltage.vn 104 points 8 months ago

So, in the fine tradition of using bananas for scale...

Bananas are slightly more radioactive than the background, due to potassium-40 content. So an informal unit of radiation measure in educational settings is the 'banana-equivalent-dose', which is about 0.1 microsieverts.

My particle spectrometer saw first light today, and I figure that I could use a banana to calibrate it. Then I noticed that K-40 undergoes a rare (0.001%) decay to 40Ar, emitting a positron. So not only is a banana a decent around-the-house radioisotope source, it's also an antimatter source.

Truly a remarkable and versatile fruit.

[-] Saigonauticon@voltage.vn 76 points 8 months ago* (last edited 8 months ago)

Instead of wind mills, you could have gravity mills. Pump water into a higher-altitude reservoir on low-gravity days, and let it flow down -- turning a turbine -- on high gravity days. At least electricity would be cheap.

Or if it varies by region, pump water horizontally (or let it flow slightly downward) from a high gravity region to a low one. Then pump the water upwards there, then horizontally again to the high gravity region. Then let it fall down to turn a turbine that runs all the pumps -- perpetual motion (ish)!

Predicting tides becomes hard. Everything is going to be really windy all the time, as the atmosphere expands in low-gravity regions and contracts in high gravity ones. This makes tall buildings impractical, as they would also have to be built for some maximum gravity rating on top of the constant gravity storms.

The oceans would be weird, and violent. Hurricanes might get far more powerful than what we deal with, if the right gravity conditions occur.

For any sort of civilization to emerge, gravity would have to change/vary really slowly. I don't even want to think of orbits. Kerbal Space Program would be like, really hard in that universe.

15
submitted 10 months ago* (last edited 10 months ago) by Saigonauticon@voltage.vn to c/askelectronics@discuss.tchncs.de

Disclaimer: this is not specifically for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it's commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D

That out of the way, I've designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It's built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It's very basic, mostly made to be cheap. Here's a photo:

Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations -- very "hello world". I'm planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.

I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I'll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there's no ground plane. It works well enough for development and testing though :D

What I'm thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors -- e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.

Then the processing is handled remotely -- a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot's current location and sends back some instructions to move in a direction for some distance -- probably this is where the lack of rotary encoders is going to hurt, but for now I'm planning on just pointing the forward laser ToF sensor towards a target and give the instruction "turn or move forward at static speed X until the sensor reads Y", which should be pretty easy for the MCU To handle.

I'm planning to control multiple robots from the same server. The robots don't need to be super fast.

What I'm currently wondering is whether my approach really needs rotary encoders in practice -- I've heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don't want to add more wheels in this way though.

On the other hand, it would probably be easier to tell the MCU to "move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed" than to use a pure LiDAR approach (e.g. even if rotary encoders don't give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.

Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn't have clear engineering goals and this is mostly an academic exercise. I've read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn't get me any numerical indication of what to expect.

[-] Saigonauticon@voltage.vn 56 points 11 months ago

I issued a (valid) DMCA notice to a small corporation who used the intellectual property of a colleague but did not pay them for it (they promised payment in writing, then just... didn't pay for a year or more). Their whole business website was down for a week or more as a result, as their registrar just took down their website without checking anything, and they didn't really have technical staff to resolve it.

The whole DMCA system is quite a broken mess, and is often (usually?) used unethically. However, it is possible to use correctly, even by private individuals. I'd be lying if I said I didn't enjoy it a little, that day.

66
submitted 11 months ago* (last edited 11 months ago) by Saigonauticon@voltage.vn to c/programmerhumor@lemmy.ml

You those software projects that have no defined scope, budget, or timeline? Yet somehow land on your desk?

For those times, I built a Lemmy bot that does an I Ching divination (https://en.wikibooks.org/wiki/I_Ching) using a hardware random number generator.

It doesn't help, but it makes me feel better.

If it would make you feel better too, you can use it too by sending a DM to @kong_ming@voltage.vn.

The message can't be length zero. You should not consider the messaging secure :D

It also may break, bug out, catch on fire, get unplugged, or get overloaded with requests. If none of those things happen, you'll get a response in a couple of minutes.

It's also literally build from scrap, and is sitting precariously on the edge of my desk in Vietnam. Still, it's the state-of-the-art in software consulting!

[-] Saigonauticon@voltage.vn 55 points 1 year ago* (last edited 1 year ago)

I design electronics sometimes. Generally, people want an indicator light on their product, since it's a cheap way to show the state of a system.

The main problem is, the human eye adapts to darkness. You can still clearly see an LED in a dark room when a few microamperes pass through them, but then they are useless in brighter light in that case. There's no specific amount of current that produces light that's bright enough in a lit room, but isn't too bright in a dark room.

I can fix that by occasionally turning off the LED and measuring voltage across it (LEDs detect light in addition to emitting it), then dimming it if I'm in a dark room. However, this is quite complicated to do and requires a capable microcontroller and a pretty ninja embedded systems programmer. Most product developers I know won't think of specifically doing this.

Finally, I can save 0.1 cents (plus board space plus assembly complexity, which cost more) by connecting an LED directly to the pins of a microcontroller instead of using a resistor to limit current. Some microcontrollers specifically allow this, up to 10 or 20 milliamperes, which is enough to be too bright in some contexts already. Margins on hardware manufacture are extremely thin, so optimizing even 1 cent off a board is pretty important.

All of this together leads to a lot of LED proliferation, which I' don't like either. The stuff I build for myself often has a way to control the LED brightness, although this would be too expensive to add to a consumer product as a general rule. For small devices, there's a tilt switch inside that turns off the indicator LEDs if you turn it upside down and hold it for a few seconds. That way you can just reach over at night and fix it without fiddling for switches or controls.

10
submitted 1 year ago* (last edited 1 year ago) by Saigonauticon@voltage.vn to c/askelectronics@discuss.tchncs.de

So I wanted to design a children's toy, where the electronics could last 100 years (ignoring mechanical abuse). I figured some people here might be interested.

I settled on a CR2032-powered night light, using an attiny10 microcontroller, where the flash is rated for 100 years unless you're writing to it (which I am not). I did some pretty heavy power optimization. The firmware is hand-optimized assembly.

When you turn it upside-down, a tilt switch toggles an LED @ 3mA via a pretty intense debouncing routine.

A watchdog timer has it auto power off in 30 minutes.

When off, it consumes less than 1 uA. So it has about 25 years of standby time, although the battery is only rated for 10 years (it is replaceable though).

If a child uses it every day, then the battery should last about 4.5 months.

I made custom boards for it -- I kept is simple with few components as possible (resistor is for scale):

I kept assembly simple. A better design would snap right in to the pins of the CR2032 holder, but that's an addition I'll make another day. I also should have added one more ground pad to solder to, but forgot. Still, an OK result I think.

I used some spay-on lacquer to protect the traces a bit after assembly.

20

What I've done is take a large 2n3055 BJT NPN power transistor, and decap it (it is a large metal-can type). Then I carefully removed any coating from the exposed silicon (it typically has a dab of silicone potting compound on it).

Then, I had a weak alpha source at ~5MeV lying around the lab from previous work. This was inserted into the can with the beam facing downward towards the exposed silicon, and the can reattached and made lightproof.

Then I threw together the circuit shown here using the modified transistor (the base is left floating). What I expected to happen was that at TP1 (relative to GND), with my scope AC-coupled, I should see small voltage spikes followed by a decay. This is caused by alpha particles impacting the silicon and knocking loose enough electrons to permit some current flow.

However, I just see... more or less nothing, maybe some electrical noise from fluorescent lamps in the room next door. Certainly not the spike+decay curve I've seen with other detectors.

Did I make a wrong assumption somewhere? It's been a while since I worked with discrete transistors much, and I feel like I am missing something silly.

Or is this more or less right, and I should maybe question whether my alpha source is still good? Or whether the signal strength is in a voltage domain I can even clearly see without amplification? Or maybe I should suspect that a thin passivating glass layer is added to big BJTs these days, enough to block the alpha?

The source is past expiry, but not by that much. I'm mostly interested in characterizing and documenting the detector as an academic exercise.

35

I've wondered this occasionally over the years, but never got it working.

I tried just putting a dried piece of chicken bone pressed between two plates (mild compressive stress perpendicular to the bone), and using an inverter just like I would use a crystal. It did not work. Maybe I need a really thin segment?

I have no practical application in mind. I might make a CPU from it for Halloween I guess?

I'm not sure if I would classify it as electronics or necromancy, but I thought it was an interesting question to ask here :)

20

This is a story about something that was entirely unlikely to turn our wholesome, but somehow did.

I was digging around the yard a few years ago, when I found some old artillery shells (not usually the start of a good day). One interesting local term for this in Vietnam is 'fruits of democracy', like it's literally a tree that drops fruit! Although these are from WWII, not the American War -- so these were supplied by the US and date to the 1940s from the serial.

My concern about unexploded ordnance faded as I realized they had already been completely disarmed, hollowed out, and carefully hammered into flower vases. They were just the brass outside of the shell with nothing inside (the shell of the shell?).

Then they had been forgotten for decades and were completely corroded. So I did the only logical thing -- I bought a few liters of hydrochloric acid, donned some goggles and gloves, and cleaned them up!

So we have something designed to kill people, being instead transformed into something to hold flowers, and then being forgotten and buried during more conflict. Decades later, it is found, restored, and again holds flowers -- an artillery shell became an unlikely allegory for the enduring idea of peace.

29

I'm sure someone was complying maliciously here, but I'm not sure who.

Everything in the store was on 'sale'. What they do is mark up the price, then discount it back to the normal price. For every single item in the store. So there are hundreds of these little printed standee signs everywhere next to each little thing.

Looks like management forgot to define a markup+discount to an item, and a programmer and/or sales staff just abided by the ridiculous 'everything must be on (fake) sale' directive.

97
submitted 1 year ago* (last edited 1 year ago) by Saigonauticon@voltage.vn to c/mildlyinfuriating@lemmy.world

This is sometimes my example for 'why paying attention to documentation is important'. I didn't take the photo myself, a colleague sent it to me years back.

77
submitted 1 year ago* (last edited 1 year ago) by Saigonauticon@voltage.vn to c/maliciouscompliance@lemmy.world

So I once made the mistake permitting a client to store some (say a dozen) boxes of financial records in my home for a couple of weeks. By 'permit', I mean they just dumped them there, and I didn't physically restrain them from leaving. This is in Vietnam, where you are required by law to keep your corporate records for 35 years. The government already had a copy of these records, this was the company's copy. It's things like tax invoices, contracts, audits, expenses, and so on -- you hold on to them to protect yourself from incorrect claims.

Two weeks turned into over a year, they had accumulated quite a collection of unpaid invoices, and I had halted all work for them long ago. Needless to say, I was not pleased with the boxes all over my house and the lack of responses about it. As you may know, in Vietnam our houses are not so big -- I think mine is under 25 square meters. So this was beyond absurd.

Eventually, I was gloriously told "to just do whatever", in writing. So rather than go to the dumpster, I sold the boxes of paper to a scrap dealer for VND 10,000 (about USD 0.50 at the time). Not because I'm petty or anything -- it's important to recycle and save the planet, right?

Fast forward a couple of years, I see their company license has been revoked -- they failed to pay some tax or other. Probably because they didn't keep any records to work out what taxes to pay...

If the director ever steps foot in the country again, newer laws permit the authorities to withhold their passport until taxes are paid -- and the authorities can quote any amount they want, since they have the only copy of the financials :)

I see no need to volunteer that particular piece of information. Time makes fools of us all, but some people faster than others.

13
view more: next ›

Saigonauticon

joined 1 year ago