Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jamesmunns
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
Twitter Appears to Be Down
(downdetector.co.uk)
30 points
by
jamesmunns
4y ago
|
10 comments
92.
▲
by
jamesmunns
4y ago
Pretty sure this is the same researcher that publishes a new way to theoretically exfiltrate data over every possible signal medium every 3-6mo.
93.
▲
by
jamesmunns
4y ago
There is a specific dev kit which is used in training materials[0] (the training is paid, but the material is all online for free), but you can use Rust with any ESP32 (xtensa or risc-v based). The main esp-rs github organization[1] is a go
94.
▲
by
jamesmunns
4y ago
I think they actually ended up hiring a couple folks (2-3?) from the open source project. Pretty awesome to see them supporting existing work!
95.
▲
by
jamesmunns
4y ago
Just wanted to +1 this, I did fill out the survey, but was a little disappointed to end up at a payment screen. Totally understand this is a service worth paying for, but being able to try it out for a bit before entering payment details wo
96.
▲
by
jamesmunns
4y ago
This is a very good article, but it should probably have (2017) in the title.
97.
▲
by
jamesmunns
4y ago
It also reminds me of techniques that I've seen for inserting coverage instrumentation. Use nops (or other placeholders to insert "counter increment" fills) on instrumented runs, e.g. in test, that way you don't have to
98.
▲
by
jamesmunns
4y ago
At least in rust, the fixed crate[0] is probably the standard for this. Personally I chose not to use it because integer generics in rust are not quite powerful enough to express this without falling to type system hacks, at least in the st
99.
▲
by
jamesmunns
4y ago
Thanks! That's cool to know. I did my error calculations by brute forcing the whole 16-bit range, basically: for i in (i16::MIN..=i16::MAX) { let a = (i as f32).sin() as i16; let b = lut_sin(i); let diff =
100.
▲
by
jamesmunns
4y ago
That's totally fair! In fact, this device DOES have a floating point unit, but for some reason, even lossy approximations of trig functions were much slower than I wanted. Since the LUT was constant, doing it quickly on my PC made sens
101.
▲
by
jamesmunns
4y ago
Likely! But as mentioned in my top level comment, performance was the key metric I was going for here :)
102.
▲
by
jamesmunns
4y ago
I sort of disagree that this isn't clear, but maybe Rust has warped my brain! I did try and comment my intent along the way, but if anything was unclear, I'd be happy to explain.
103.
▲
by
jamesmunns
4y ago
Thanks! I appreciate the kind words.
104.
▲
by
jamesmunns
4y ago
Mentioned more details about this in a top level comment - but the total LUT is small (256 * 2 = 512 bytes), so I didn't 1/4 it because that would introduce more per-cycle cost (to do the rotation), to save a few hundred bytes. Th
105.
▲
by
jamesmunns
4y ago
Oh hey! Author of the blog post here. So, in this case (on a tiny microcontroller, not precision equipment), my main optimization factor was speed over everything else. I don't think this is a universal answer, and as other commenters
106.
▲
by
jamesmunns
4y ago
The last time his "I want off" article was reposted[0], the comments were pretty rough, ranging from ad-hom attacks to (at best) misunderstandings of the arguments he was making. I see this article being an address to these critic
107.
▲
by
jamesmunns
4y ago
Fairphone’s entire line
108.
▲
by
jamesmunns
4y ago
Since the article hid it way down at the end: He was allergic to a certain chemical that is commonly found in lots of scents and cleaners and things, specifically a chemical found in the air freshener at his office. Asked work to change it,
109.
▲
by
jamesmunns
4y ago
Unifi routers do this, for sure.
110.
▲
Developing Embedded Rust Drivers with Pretty HAL Machine
(youtube.com)
1 points
by
jamesmunns
5y ago
|
0 comments
111.
▲
by
jamesmunns
5y ago
This is just a really clearly written introduction of a lot of rocket engine concepts. It was a super good read.
112.
▲
by
jamesmunns
5y ago
Hooooooly cow. Those on-screen hints are amazing. I've never learned tmux commands, and this reminds me of everything I liked about `nano`. I might rebind my i3 keys to match these bindings somehow.
113.
▲
by
jamesmunns
5y ago
Hey! James from Ferrous here. I'm super excited to see the work Fabien has done here wrt the bbqueue algorithm, and pretty excited to see Rust + Ada/Spark working together to build more reliable libraries and tools for both ecosys
114.
▲
by
jamesmunns
6y ago
Hey! I got to chat with Bryan Cantrill of Oxide Computer to discuss the more recent explosion of open source hardware, Ferrous Systems' and Oxide Computer's experience with Embedded Rust, the importance of a culture of sharing kno
115.
▲
Chats with James Podcast 006: Bryan Cantrill
(jamesmunns.com)
5 points
by
jamesmunns
6y ago
|
1 comments
116.
▲
by
jamesmunns
6y ago
I actually really like DO spaces, I use it for hosting a small audio podcast. One downside is they give you NO way to see your bandwidth usage, other than seeing whether you got a bill overage or not. It was pretty surprising to me that the
117.
▲
by
jamesmunns
6y ago
As a note, you can click on the time stamp of the child post, and respond directly there. > since I can't reply to the child I'll just say this: I don't like the math you used, I feel like it's making a point that sho
118.
▲
by
jamesmunns
6y ago
The comparison that I was aiming to make was comparing a "busy wait blocking" implementation, e.g. sending one byte at a time, until the byte has been sent, which is typical for bare metal embedded systems (that don't use som
119.
▲
by
jamesmunns
6y ago
Hello, I am also the author of that post and implementor of bbqueue. I agree, I'd be interested in what you think I have misunderstood. Feel free to reply here (preferred), or send me an email at james.munns [at] ferrous-systems.com.
120.
▲
by
jamesmunns
6y ago
Interesting! Is this work public somewhere perhaps? I'm currently working on a similar technique (though with smaller blocks, currently ranging 64-1024 bytes - basically any 5 power-of-twos) for a lock-free allocator intended for real
More ›