432 karma · joined July 9, 2021
I had access to a local hackerspace during my studies that was 100% run by volonteers, without any university involvment. It was glorious. I sat next to software and hardware professional doing amazing projects on their free time.
I guess I still have to tinker on my own instead of sharing it with people eager to learn in a common space. I think that somehow big universities actually prevent such spaces from emerging by creating their own sterile initiatives.
This title is misleading. Original title: "Severe hypertension: Drinking too much coffee may double mortality risk".
Maybe the best solution would be to completly disable issues and PRs on Github. Still better than having to deal with stalebot. At least you know what to expect: external solicitation is not welcomed.
The list in TFA is so small that I wonder at what point creating a hashtable is more economical than going through a 9 items arrays. In C, accounting for allocations, etc. I would not be surprised that strcmp on an static array would be faster.
As always, measure with benchmarks (which does the article, but not on array vs. hashtable). In theory, O(1) is better than O(N). In pratice, with memory allocations and all, the order of magnitude of N plays a role.
Anyways, I would have used a hashtable also to convey the idea that I only want to check if the item is in the list. Python makes this easy. In C, I would have used an array unless N is "large enough".
This is the road I have taken since I started to work professionally, but I yet have to find a lucrative job. I know that I am paid more than microcontroller devs, but less than web devs. The market for kernel developers is not that big either.
Employees may be leaving the embedded space (and C++) for web tech because of this. This is the feeling I get from my local job market (western Europe). Maybe as the old timers retire, job offers will align? Who knows.
I used a flashlight to say "hello" while waiting for a fireworks event, but the other person far away just blinked their flashlight randomly in response.
I guess it could be used for worst scenario speech, like blinking eyes for examples if I ever have a terrible accident somehow (has been used by tortured persons, see https://www.youtube.com/watch?v=WZ256UU8xJ0). When I saw Tuco’s grandpa in Breaking Bad taking so much time to write words with his bell, I just tought about using morse (but with something more elaborate than a bell, because you want to use long and short tones; same problem applies if you want to knock on walls or doors).
You do not need a lot of RAM for such applications. When running, the system was using 24 MiB of RAM. So, plenty left!
Edit: I am currently playing with NanoPi Neo that has 128 MiB of RAM and I never ran out of for small applications.
I just learned the hex decades (1, 16, 256, 4k, 64k, 1M, 16M, 256M, 4G…) and now if I need to generate a 1M empty file I know that `head /dev/zero -c $((0x100000)) > 1M.bin` would do without having to multiply 1024 three times. This kind of little things. :)
Nevertheless, it can still be useful if you write Linux device drivers or some other low-level tasks. Microcontroller programming, too, but without having to buy them in the first place (MCU shortage…).
So, what gives as an European SW developer in this income bracket?
1. Go to US 2. Negotiate US salary 3. Come back to your native village, hopefully with "well beyond" money 4. Profit?
Or just directly work for an US company, I guess.
I wonder why it is not used in major banking applications. I have manually copypasted IBAN numbers from friends so many times it gets old. I guess scan with a visual check that the numbers are correct before adding account could provide a boost in usability.
Maybe it is not done on purpose so that easier alternatives (like Paylib) are used instead, which may incur a fee while IBAN transferts are free.
If I would have to document a table into the code, I would try to use as little ASCII characters as needed, in order to not confuse the screen reader.
However I did not understood why NFTs were necessary. We had badge systems way before NFT became fashionable, on forums for example.
TL;DW the tool is named Skidl ans uses Python to generate net lists for KiCAD. https://github.com/devbisme/skidl