HNHacker News
TopNewBestAskShowJobs

teunispeters

295 karma · joined April 8, 2018

submissionscomments
teunispeters··on Hard Rust requirements from May onward
when rust passes MISRA (or has its own MISRA rules), that may change. Call that a nice goal.

(I similarly have yet to see a single convincing argument to try to fight past the awkward, verbose and frustrating language that is rust).

teunispeters··on Rouille – Rust Programming, in French
I've worked with Japanese and German code. It is definitely unfamiliar and gets me thinking a lot more about how I approach code. I'm liking your description as I keep wanting to map "english" to "technical, correct" too and this helps. thank you!
teunispeters··on Canada Set to Side with China on EVs
Partially competition, as a couple of provinces have large car manufacturing. (Ontario and Quebec, mostly). Partially that there's no repair or maintenance infrastructure, nor guarantee a car will keep functioning if (say) the manufacturer shuts down or a model gets discontinued.

As to how much of which, that's a good question, and not one I've seen any answers to.

teunispeters··on A conspiracy to kill IE6 (2019)
I don't miss IE 4/5/6 [etc subversion hell]. Supporting these tripled the time it took to build any site for WWW. Pick any w3C standard: some chance it worked - on one of the browsers but not others. Some chance each had entirely incompatible workarounds. Documentation? Good luck. What did exist tended to deny html standards other than their own existed so they didn't even give any clue how to solve this. Had to support them, never enjoyed it. There was nothing fun or rewarding about supporting any of them.
teunispeters··on Vancouver Stock Exchange: Scam capital of the world (1989) [pdf]
... Visit first. When I left (2018-ish) Vancouver was one of the most expensive cities on the planet. (put it this way : the only places more expensive were in China ...). It's a beautiful city, close (ish) to skiing - especially Whistler (2 hours drive, or various other transportation methods) but there are a lot of closer ski sites too. Warmer and wetter than Seattle (slightly) due to being surrounded by mountains. I have to admit I miss Vancouver badly.

Toronto's a much better "hub" for tech work. (I work remotely out of Winnipeg now, and am liking that too).

Mind, Vancouver does have a lot of tech, and if you want to work more with tech world that speaks other world languages, Vancouver is very good, too. Or music, or film, or really media of any kind. Also better diversity and cheaper food than almost anywhere I've visited.

Just not - unless you really figure out where and how to look, or if you have good connections - a particularly affordable city, at least as far as rent goes. Everything else though is good.

teunispeters··on Vancouver Stock Exchange: Scam capital of the world (1989) [pdf]
that's pretty accurate ;) I used to live in Vancouver too and ... some of that culture's like that. Most is good 'ol "people in suits" though.

A long time ago, Vancouver was a center of gold mining scamming too. "Gassy Jack" downtown was one of the major scammers near the founding of the city.

teunispeters··on Designers Should Look to Demis Hassabis. Not Jony Ive
I don't know, I get flashbacks to Windows 3 and early MacOS on the "new" display design. Amazingly, it looks a lot like the effect of rendering a black and white icon on an LCD display, such as with an early powerbook.
teunispeters··on Notes on Managing ADHD
My ADHD meds (mostly) cured my sleep apnea. The remainder has to do with allergies.
teunispeters··on I forced every engineer to take sales calls and they rewrote our platform
And from experience, customer requests will not only be pushy and aggressive, but often at odds with company policy and directions. If they have a direct way to contact, one may end up not being able to do one's job due to the interruptions.
teunispeters··on Undefined Behavior in C and C++ (2024)
That is far from my only concern. But it's good to see Rust is finally paying attention to binary sizes. And the overwhelming complexity of rust code is definitely not a gain when one is working in embedded spaces anyway. I am however really REALLY annoyed with the aggressive sales tactics of the rust community.
teunispeters··on Undefined Behavior in C and C++ (2024)
embedded hardware, any processor Rust doesn't support (there are many), and any place where code size is critical. Rust has a BIG base size for an application, uselessly so at this time. I'd also love to see if it offered anything that could be any use in those spaces - especially where no memory allocation takes place at all. C (and to a lesser extent C++) are both very good in those spaces.
teunispeters··on Build Your Own Lisp
I started from https://github.com/videogamepreservation/abuse which ... well, isn't perfect but it IS fun and the original game was, too.
teunispeters··on PHP: The Toyota Corolla of programming
Emphatically no. PHP is the ford escort of programming (needing regular maintenance, rather insecure but easy and simple to drive and control). Unlike the Toyota Corolla which is really REALLY reliable, consistent and much much more secure.

(as someone who's maintained a lot of different vehicles for years and a lot of programming languages this doesn't even quite cut it. PHP is a lemon car).

teunispeters··on How to Build Conscious Machines
yes. I can "summon one up" at times where it's useful, but normally no. Might have something to do with the aphantasia, or maybe not.
teunispeters··on Notes on the History of the Map Tile
paper forms of this have existed in land surveying ... for a long time. Mind, they didn't follow quadtree, just "useful at the time" scaling. From my vague memories of working with this and data in 1992-1993, I think older references often involved polyconic map coordinates. https://en.wikipedia.org/wiki/Rectangular_polyconic_projecti...
teunispeters··on California vanity license plate applications with reasons for rejection (2020)
https://www.cbc.ca/news/canada/saskatchewan/dave-assman-sgi-...
teunispeters··on Ask HN: Why do we celebrate AI-Copilots but reject AI–Generated art?
Reproducing copyright-protected information is "trivial" with image (or text) generation, but hard with code generation.

(from listening a lot to artists, so might have some bias). I haven't actually attempted either ... I find the code generation not very useful and the artistic structures interesting, but something's missing.

teunispeters··on Why is Good Friday called Good Friday?
https://en.wikipedia.org/wiki/%C4%92ostre covers a lot of ground and has references (thankfully)
teunispeters··on Math Academy, part 1: My eigenvector embarassment
Speaking as a CS/Math dual major from the late 1980s, the explanations in the textbook were ... uselessly bad where I went (SFU). So while I know the math involved, I didn't know the terms until I retook it from a teacher who actually taught worth anything, years later. (I still don't use the terms, they're not very ... well, they're awkward and while my embedded work sometimes calls for the math, the terms ... meh. There are clearer ways to put things!).
teunispeters··on Hackers exploit 16 zero-days on first day of Pwn2Own Automotive 2025
This one's easy : v2g with plug-n-charge needs full crypto including some levels of validation (but not others, it's in the specs), as well as infrastructure for organizing certificates, and support for a good IPv6 networking stack (stack is IPv6 only). Wireless support with WPA3/Enterprise is also essential.

I mean it's doable on some embedded platforms, but it's still a pretty large stack of requirements.

There's an additional gotcha that all the prototypes are either java or python. Doesn't seem like any of the others (rust, C) have completely caught up with handling the data and EXI layers. (embedded XML).

I work on V2G now.

teunispeters··on People who are good at reading have different brains
I've been wondering if my own speedreading is a beneficial form of dyslexia.
teunispeters··on Apple's mouse is so bad that Tim Cook prefers using a different brand for work
yeah. I'm sorry to say but "it doesn't work for me". Part of it may be that my hands are too large for the sensitivity needed. Besides, I work often enough with software that requires 3+ mouse buttons (Unix!) that any restricted or inconsistently touchy interface (literally in this case) goes.
teunispeters··on Apple's mouse is so bad that Tim Cook prefers using a different brand for work
I tried repeatedly to use a "magic mouse" for work. I think if your UI only needs one mouse button and an occasionally inconsistent mouse wheel, you'd be fine. It has a long battery life, a not bad weight and works consistently in just web browsers.

Given that none of that has anything to do with my workflow usually, I don't use one anymore.

teunispeters··on Only 5.3% of US welders are women. After years as a professor, I became one
My partner's a welder. None of the comments here surprise me, sadly... you're right.
teunispeters··on Why systemd is a problem for embedded Linux
If it can run X11 on a directly connected display, it's probably not embedded spaces ;). Don't take this comment too seriously, however raspberry pi is definitely at the "more desktop-like" end of the embedding pool.

As for systemd, it's an interesting set of tools, and one can if one wishes pick which ones are active in a system, if that system is complex enough to be running Linux (or other compatible OS) to begin with.

teunispeters··on When EV startups shut down, will their cars still work?
CAN bus is in many ways too difficult to encrypt. (not that it can't be, it's just got way too small a packet size). Nothing prevents manufacturers from getting complicated though - eg "knock three times on this ID, then request info from this ID then .....". (example from an old Shadowrun netrunning campaign idea)

I'm working in EV charging domain. EV chargers that comply with ISO 15118-20 may prove difficult to get working once more (due to key signature requirements). Otherwise, all should continue working as long as the charging protocol they use continues to be supported. And that said, the EV charge managing component should be replaceable.

teunispeters··on Speeding up C++ build times
(silly answer) use Visual C++. I've been coding across MacOS, Linux, and Windows 11, with roughly comparable machines in a lot of ways (all Intel). Visual C++ while awkward for compatibility - is very very fast for builds, and not bad for IDE interface for rapid fixes.

More serious - I moved to CMake presets and with that came a lot of cache optimization - including parallel builds. MacOS is now almost as fast as Windows for build, and Linux/gcc not far behind. Windows C++ seems to have the lowest modern feature compatibility, followed by MacOS/Clang, with Linux/recent GCC being the most complex. A lot of the newer features seem to add a lot to the build time..

... mind I've been working with C++ only for the last few months, and C for many years before, so consider it a beginner post in a lot of ways. Still, it was interesting to explore, and I'll be continuing to explore - I haven't yet enabled ccache for instance which I suspect will improve a lot.

teunispeters··on The Great Migration from MongoDB to PostgreSQL
Fair. I was referring to the space a minimal installation takes.
teunispeters··on Facebook Is Censoring Stories about Climate Change and Illegal Raid
I guess this is one of the things coming out of censoring all news from Canada. (I get mine from lots of other sources, but it's annoying to not be able to talk with anyone, anywhere, about anything news related - without sources). They also censor out snopes .. which is a deep WTF.
teunispeters··on The Great Migration from MongoDB to PostgreSQL
Stability, reliability, consistency. If you do anything with Unicode you're also much better in PostgreSQL. Faster indexes, smaller base install (), and much more complete SQL language support.

() note: when PHP was taking off, MySQL had a smaller install base. This has long since changed - PostgreSQL hasn't grown much over the years, and MySQL has, at least since the last time I worked on both circa 2015-ish.

← PreviousPage 3 of 9Next →