Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scoutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
scoutt
3y ago
But what about other armies and their suppliers? They don't kill children/innocents too? I guess the whole point seems to be that people (companies) "does not take similar measures against other countries who wage wars which
32.
▲
by
scoutt
3y ago
Why always give the most contort examples? Jeez... OP is asking about a language to learn. Let them fail, to learn and understand. And after all, C was and actually is moving the world forward, and thanks to C you have the possibility to wr
33.
▲
by
scoutt
3y ago
Yes, "compiles to state machine" is what I meant. > you have to do that yourself Yes. And it has a cost. Plus the cost of executing that state machine (changing states, etc.), which is hidden from you. One can always pull a mor
34.
▲
by
scoutt
3y ago
I thought async/await creates a state machine in the background. If so, there should be a runtime cost. State machines to deal with interrupts (to name the most basic kind of async event) is the ABC of embedded "bare metal" p
35.
▲
by
scoutt
3y ago
Maybe relevant: "Firefox VPN Spotlight modal test content" [0] We are running a/b tests on a VPN spotlight modal in Firefox. Here's a link to the project info: Google doc There are two versions of content, identical exc
36.
▲
by
scoutt
3y ago
The title and the first question are two different things. If the "anxiety/paralysis" is the real issue here, then it is a completely different topic that probably needs external help. For a "problem you are not sure has
37.
▲
by
scoutt
3y ago
After 10 maybe 15 years of "cute" logos and mascots, I welcome this change.
38.
▲
by
scoutt
3y ago
> "low-level control, not OOP, not C++". Things have a drop-scope. There are hidden initializations. Boxing is required for many things including dynamic dispatch in error handling. The tendency to use FP-like one-liners. All t
39.
▲
by
scoutt
3y ago
COM1 = CreateFile("COM1", ...) => Nice! COM9 = CreateFile("COM9", ...) => Nice! COM10 = CreateFile("\\\\.\\COM10", ...) => NOT nice!
40.
▲
by
scoutt
3y ago
Last time I checked "Formatting is Unreasonably Expensive for Embedded Rust" (1) And/or you need a crate like alloc, heapless, etc. For the sake of a sprintf "abstraction"... (1) https://jamesmunns.com&
41.
▲
by
scoutt
3y ago
> Is this becoming a thing now Maybe we are entering an era where C is cool again!
42.
▲
by
scoutt
3y ago
> Guns have no place at a programming language conference I don't have anything against a rule about not carrying weapons... but why mention it in a trademark draft? I am sure we both can think about a lot of things that "have
43.
▲
by
scoutt
4y ago
> Your link to the Oxide Hubris repo is misleading you Sorry about this. It wasn't intentional. But just to confirm, Box<T> always allocates? So dynamic dispatch is not recommended in embedded, and thus crates that uses dynami
44.
▲
by
scoutt
4y ago
On a Python car, the car won't even start if you don't have your cosmetics right, and they have to be of a specific color.
45.
▲
by
scoutt
4y ago
The day I started (time ago) to learn Rust I had trouble learning to map Error(s) and dynamic dispatching. My first thought was: "if I cannot escape dynamic dispatching (for example with crates that use it), I will never understand how
46.
▲
by
scoutt
4y ago
> "God-emperor Trump" “It’s a joke, but in fact he’s trying to destroy nations with the economy instead of nuclear missiles,” Mr Galli told the Italian media. “This is one of the strongest actions, let’s say, that powerful peop
47.
▲
by
scoutt
4y ago
I think you have a very interesting point I never thought about. And after thinking it for a while, I believe that in the case of digital communications and their nature, secrecy ensures privacy. If there is a line of people, with you at on
48.
▲
by
scoutt
4y ago
> will only find real success in the adult entertainment industry If you don't see/hear your wife/partner arriving (because of the headset), you are as good as dead.
49.
▲
by
scoutt
4y ago
> 2/3rds of CVEs are buffer overruns that cause RCE Is this the "70 percent of all security bugs are memory safety issues" article people like to link every time? If so, it's not 2/3, it's 70%. They are not
50.
▲
by
scoutt
4y ago
I guess you can still write valuable software, even more complex than most people can write in a lifetime, with simple (03) C++. Like Doom 3: https://github.com/id-Software/DOOM-3-BFG > What you are describing On th
51.
▲
by
scoutt
4y ago
Coming from C, I always see these "Self" variables/types as counter-intuitive, and contribute to those cases where a function requires a parameter which I don't have to supply (just for these functions accepting "S
52.
▲
by
scoutt
4y ago
> I don’t think compiling kernels would really gain anything from being outside a terminal? I remember compiling, flashing and debugging Windows CE images (10? maybe 15 years ago?) from an IDE (Visual Studio). It was super comfortable. S
53.
▲
by
scoutt
4y ago
This is a clear example of what I was talking about. The fact that you use a given method doesn't mean other methods are "often wrong even when you need one". This is just the way you think and work, in the position you are n
54.
▲
by
scoutt
4y ago
One thing I learned in my 41 years is that nobody thinks like me (or you). It's not that I 'think better' or that I am 'better at thinking'. But sometimes I deal with variables that I can't correctly communicat
55.
▲
by
scoutt
4y ago
You forgot one variant: they just don't like it. Like me. I use the command line all the day, compiling AOSP and kernels, and drivers, firmware, and all kind of related things for embedded. But I don't like it. To me, it feels arc
56.
▲
by
scoutt
4y ago
These are old and solvable problems (audio sync). For example I'm using HDMI ARC to output the audio of my TV, and the TV has a menu to coordinate video/audio (by inserting a delay). In my case I don't need it. But it's
57.
▲
by
scoutt
4y ago
And what about the one thousand parallel memcpys happening while you listen to your non-memcpy audio program? Like in, is really one less memcpy doing all that difference?
58.
▲
by
scoutt
4y ago
Sorry but you keep talking about timing. With network speeds nowadays, the audio files get completely or almost completely buffered in the PC from whatever source you are reading it (NAS for example), and then played. Same with video (even
59.
▲
by
scoutt
4y ago
Yeah.... but somehow changing the memcpy method improved the audio also of the commenters. Unless the commenters have all the same PC, it all smell like "bias".
60.
▲
by
scoutt
4y ago
I would definitely do like you and reach for math libraries/crates whenever I can, since I suck at complex math. But this also means three things: there is the chance we are both no geniuses, we added a complex "black box" so
More ›