Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dnedic
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Linker Script Generation for Firmware Projects: A Primer
(dnedic.github.io)
1 points
by
dnedic
7mo ago
|
0 comments
2.
▲
by
dnedic
2y ago
How do you inspect what is happening then without having ADCs sampling every weight, taking up huge die area?
3.
▲
by
dnedic
2y ago
Self-hosting and homeserver stuff! I started out when I got a new phone, and didn't know what to do with the old one. One of the ideas I had was a homeserver. Turns out it's not trivial to run Docker even on rooted Android phones,
4.
▲
by
dnedic
2y ago
The quote saying that people from 18 to 25 need a safe environment to "explore the world" and "find their purpose" seems very infantile and backward. First off, it's not realistic at scale and presents a very shelte
5.
▲
by
dnedic
2y ago
It really depends on what you classify under embedded. Everything more expensive than a Padauk or newer than PIC will have hardware support for the stack, and also most likely have the heap provided by newlib.
6.
▲
by
dnedic
3y ago
Bipartite buffers are amazing and criminally underused. For those looking for C and C++ implementations you can check out my libraries: lfbb and lockfee: https://github.com/DNedic/lfbb , https://github.com&#x
7.
▲
by
dnedic
3y ago
I am not sure how colleges work, but even at reputable universities this happens. Professors who have big fail rates will often be reprimanded for this, regardless of whether it's their fault or not. Yes, sometimes this genuinely indic
8.
▲
by
dnedic
3y ago
Why do you assume electric batteries have to be used? We've had things like reservoir lakes for hydro plants for a long time. Energy can be stored in more ways than electrical.
9.
▲
by
dnedic
3y ago
If you're interested about practical uses of atomic operations, I wrote lockfree: https://github.com/DNedic/lockfree , a collection of lock-free data structures meant to be readable and both hosted system and embed
10.
▲
by
dnedic
3y ago
GNSS satellites talk to base stations on earth to get correction data using the measurements they obtain (including measurements obtained by tracking satellites from the ground). I believe this is what the poster above is reffering to. RTK
11.
▲
by
dnedic
3y ago
Undefined behavior will bite you eventually. Updated the compiler? You have no idea what to expect. Changed lines of code related to that part of code? Again, no idea what to expect.
12.
▲
by
dnedic
3y ago
The boot roms in ESP chips are not particularly small anyway, aside from bootup and flashing functionality, they also embed radio functions for WIFI, Bluetooth, Zigbee/Thread, printf implementations, MD5 functions and more.
13.
▲
by
dnedic
3y ago
Still far more expensive than any electric car including the same Tesla model in China.
14.
▲
by
dnedic
3y ago
Just came back from Shanghai, same situation, BUT from talking to people there are three big reasons for that: 1. The government built the EV charger infrastructure so that even the remotest areas are covered, the chargers have one universa
15.
▲
by
dnedic
3y ago
I think the electricity savings pale compared to the value of human time saved.
16.
▲
by
dnedic
3y ago
This won't work for: 1. Larger than word size variables 2. Out of order CPUs 3. On multicore CPUs when another core handles the signal Atomics must be used here for proper synchronization, when they are available. If not, architecture-
17.
▲
by
dnedic
3y ago
For what it's worth, my wife just finished her Master's thesis using this suite, she had very little adjustment time needed moving from Word.
18.
▲
by
dnedic
3y ago
Humans can't be forced to evaluate every piece of code 100000 times in an hour. LLMs can.
19.
▲
Using Nix to create and share reproducible embedded development environments
(dnedic.github.io)
1 points
by
dnedic
3y ago
|
0 comments
20.
▲
Using Nix-shell to create reproducible embedded development environments
(dnedic.github.io)
4 points
by
dnedic
3y ago
|
1 comments
21.
▲
by
dnedic
3y ago
I wouldn't say this is necessarily a bad thing. The S3 is the most powerful ESP chip to date in terms of raw CPU power and even has AI and DSP instructions, esoteric things like direct CPU GPIO and more, I was kind of suprised to see s
22.
▲
by
dnedic
3y ago
If you want more than a spsc queue, I've written `lockfree`, a collection of SPSC and MPMC data structures along the same principles the author here used: https://github.com/DNedic/lockfree . The library is written
23.
▲
by
dnedic
3y ago
This feels extremely weird to read as someone naiively approaching networking where I actually want to talk to people, not just their professional side. On the other hand it might even be suboptimal in the long run because when you hire or
24.
▲
by
dnedic
3y ago
The trick is to not even have strings in the binary. Take a look at trice, defmt and logging in ESP-IDF.
25.
▲
by
dnedic
3y ago
Except it's open source and anyone can audit the code any time.
26.
▲
by
dnedic
3y ago
This is already noted in the Queue readme, only the Queue constructs the type, the other 2 data structures are meant for PODs only. I will take a look at adding support for constructing in-place for the other 2 data structures, but at the m
27.
▲
by
dnedic
3y ago
True, that would help immensely in creating MPMC data structures, but as these are SPSC there is no problem. Also to clarify, this is only for the indexes, the data members can be anything. Using these intrinsics or inline assembly would br
28.
▲
by
dnedic
3y ago
You make good points, I will try to rephrase that part of the README to be more accurate and explain benefits not mentioned yet like determinism.
29.
▲
by
dnedic
3y ago
This is why you would use the Ring Buffer or Bipartite Buffer to place 1000 elements at a time, not the queue. Check the documentation for more info.
30.
▲
by
dnedic
3y ago
Thanks a lot, will check this out!
More ›