HN user

ynoxinul

596 karma
Posts4
Comments41
View on HN

Building an e-bike battery from some random trash is a terrible idea. You won't electrocute yourself, but you are very likely to burn down your house when one of these cells randomly decides to ignite.

Location: Germany, Sweden, EU

Remote: only

Willing to relocate: no

Technologies: C++ (13+ years), Rust (4 years), C, Linux, Assembly, embedded

CV: https://qdiv.dev/cv.pdf

Email: imihajlow at gmail

Blog: https://qdiv.dev

Github: https://github.com/imihajlow/

I'm a senior software developer interested in low-level, performance, algorithms. I built a custom computer (including a CPU) from scratch and a C11 compiler for it. Please hit me up with jobs in Rust, C or C++.

If you have a full 32-bit number and you need to divide, you can simply do a multiply and take the top 32-bit half as the result.

Can someone explain how this can work? Obviously, you can't just multiply the same numbers instead of dividing.

For though-hole components which I use with my breadboard and for small bolts, nuts and washers I have glued together a few dozen matchboxes and inscribed them with component description. For SMD resistors/capacitors I use an organizer box. Components within a certain range go into the same compartment together. For example, I have three compartments for resistors: ≤1k, 1k..≤10k, >10k. SMD ICs are all in one box, each type in its own plastic bag, inscribed.

I also have a registry of everything I have. When I buy or use something, I update the registry.

You can replace the controller board all together, the electrical interface should not be that hard. You have to spin the spindle, jiggle the heads and send/receive the data. The main problem I see here is that modern hard drives have enormous, unimaginable information density. There must be so many tricks how they achieve that (and do that reliably!). You have to re-trace the steps the hard drive industry has made in the last 50 years.

I have a CS/applied math background, my main job is software development, so I don't have problems with the software part. If you are interested in compiler design specifically, you can find a lot to read or to watch online.

When building my system, I was inspired by 8 bit retro computers like ZX Spectrum. Their architecture is straightforward and easy to understand.

Electronics just fascinates me, but I can't really point out a single source which gave me the insight. A lot of playing around with transistors, microcontrollers, logic gates gives the intution how to design stuff.

I know there are some compilers one could try to port but my ISA is kinda esoteric so not straight forward

Same. I tried digging into exsiting compilers, but they are either unsuitable at all or too complicated (clang).

I've also noticed that clicking on "x" means "Install now", but in my case it asks for my password first and I can deny that, preventing the install.

Organic Maps 3 years ago

Importing GPX tracks and displaying it on the map. For my bike trips I do my planning in advance on a computer using brouter or openrouteservice, then import the created file into OSMAnd.

I had the same problem. For me it was font antialiasing: eyes try to focus on the blurry text. After disabling the antialiasing I can stare at the screen for ages without any eye strain.