474 karma · joined February 18, 2015
https://twitter.com/jms_embedded
More fragile, yes, but I dispute the "slower" aspect. waf does this very well. In C you don't need to parse the entire program structure, you just need to parse what the preprocessor does.
Also there's a difference between the complete set of header dependencies (notably #include statements within an #if or #ifdef) and a more sane but incomplete methodology for #include statements (don't do it within #if/#ifdef). Not sure whether this is a big enough difference to try to matter.
I'm aware of Rust and Zig and Nim and wish I had more time to try these out and see what's going on.
Alternatives to C/C++, especially in the embedded systems space, have some real potential.
$ openssl s_client -showcerts -connect github.blog:443
CONNECTED(00000006)
depth=2 C = US, O = Internet Security Research Group, CN =
ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = github.blog
verify return:1
---
Certificate chain
0 s:CN = github.blog
i:C = US, O = Let's Encrypt, CN = R3
a:PKEY: id-ecPublicKey, 256 (bit); sigalg: RSA-SHA256
v:NotBefore: Feb 3 17:19:36 2023 GMT; NotAfter: May 4
17:19:35 2023 GMT
...Roger Penrose is still alive, I hope he is pleased to see this.
OT: could I ask you some questions about another thread (semiconductor fabs), privately? My twitter contact info is in my profile.
https://www.nashuatelegraph.com/news/local-news/2012/07/28/c...
That's not the point. So what if you don't get everything? Are you supposed to get everything in Knuth's The Art of Computer Programming on the first read?
The record-playing example is a wonderful metaphor for Godel's theorem, not a terrible one.
???? That's a 33% discount rate. Kind of insane expectations... I put solar on my house in 2014, after doing a bunch of analysis showing the breakeven point was 8-12 years. After having it and checking the utility bills, it looks like it's going to be 10-11 years. Maybe less if they raise their rates.
----
In the early years of this century, Steinmetz was brought to General Electric's facilities in Schenectady, New York. GE had encountered a performance problem with one of their huge electrical generators and had been absolutely unable to correct it. Steinmetz, a genius in his understanding of electromagnetic phenomena, was brought in as a consultant -- not a very common occurrence in those days, as it would be now.
Steinmetz also found the problem difficult to diagnose, but for some days he closeted himself with the generator, its engineering drawings, paper and pencil. At the end of this period, he emerged, confident that he knew how to correct the problem.
After he departed, GE's engineers found a large "X" marked with chalk on the side of the generator casing. There also was a note instructing them to cut the casing open at that location and remove so many turns of wire from the stator. The generator would then function properly.
And indeed it did.
Steinmetz was asked what his fee would be. Having no idea in the world what was appropriate, he replied with the absolutely unheard of answer that his fee was $1000.
Stunned, the GE bureaucracy then required him to submit a formally itemized invoice.
They soon received it. It included two items:
1. Marking chalk "X" on side of generator: $1.
2. Knowing where to mark chalk "X": $999.