HNHacker News
TopNewBestAskShowJobs

teunispeters

295 karma · joined April 8, 2018

submissionscomments
teunispeters··on Aspartame is not that bad? (2022)
I keep getting people telling me this doesn't happen. GAH. Instant migraine trigger for me too, along with sucralose and several other artificial sweeteners.
teunispeters··on Aspartame is not that bad? (2022)
instant migraine ingredient. Mind so's sucralose and some others for me. shrug as long as they're not universal, will be ok.
teunispeters··on Open Source Isn't Dead. Cal.com Just Learned the Wrong Lesson
I mean "yes but" lots from 2015 and before, on a scholarly paper search engine. (I do not have access to most, but there are some public ones)

I mean as a convention when dealing with cryptography, so far the only organization that has succeeded in doing closed-source cryptography securely, has been the USA's "NSA", and mostly their algorithms are public.

I mostly work in the closed source world, however my observation from all the code bases I've seen is "mostly open source are more secure", except when very thorough following of formal security specifications are followed, and then security is as good as the specifications. (YMMV there, of course).

teunispeters··on Meta removes ads for social media addiction litigation
I mean it probably shows that "common carrier" protection should emphatically not apply to them, but what do I know?
teunispeters··on Dr. Dobb's Developer Library DVD 6
I bought every issue I could find of this ....always so much inspiration!
teunispeters··on Physicists developing a quantum computer that’s entirely open source
Better to link the hosting site - https://openquantumdesign.org/ - or maybe its githubs - https://github.com/OpenQuantumDesign too.
teunispeters··on British Columbia is permanently adopting daylight time
Speaking as growing up in Fort St John, BC, sunrise was after school began, and sunset was before school was out - more or less - in the middle of winter. But then, that city (in BC, and nowhere near as far north as that province gets) - is rather more arctic in every sense of the word. But then, that corner also opted out of time changes, so ... the rest of the province is catching up :)
teunispeters··on Why does C have the best file API
technically yes, because there's a failure path for every single failure that an OS knows about. And most others aren't so resilient. However, mmap bypasses a lot of that....
teunispeters··on I write games in C (yes, C) (2016)
I like C. You can take away all memory management (yes, including some of the unsafe glibc calls that have hidden memory management) and everything can be so smooth and clean. Since rules like MISRA require up-front allocation - if any is in use - this can be tightly controlled.

Very useful if you don't want (or need) surprises anywhere. Or if you want all the surprises (exceptions, errors, etc) all better tied to the hardware that provides such.

It's also fairly easy to write unit tests for everything.

teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
Winnipeg is far south of where I usually am, and rather near the US border. It might be comparable to China what with the sea nearby and all those lakes.

I'm out in the middle of the prairies, where -40C is a normal winter day, and 100km winds are also ... normal. Mind, -20C to -30C is far more common, and -50C almost never happens where I am now. (it was a lot more common in FSJ, or in the badlands near Drumheller).

Fort St John BC however has almost exactly the same temperatures and weather as Yakutsk. Mind, it wouldn't be considered a city on these scales.

People do NOT understand how cold Canada gets. And I'm way south of places like Nunavut, the Yukon (mind, Yukon is warmer than Saskatchewan, mostly), or any of the Northwest Territories. I guess y'all think of balmy Toronto or the like. (or - by comparison - tropical Vancouver BC. Vancouver is warmer than Seattle, for the most part. Wetter too, largely, but not as wet as Prince Rupert or Kitimat).

Anyway that's mostly not here or there for EVs. EVs on the whole work really well on the prairies - especially if they've got mitigation for -50C and +50C (both temperatures happen regularly, at appropriate times of year). For the most part, more reliable than diesel at those ranges too.

The local frustrating part is while Alberta has an ok electrical grid, Sask is an unstable grid dependent on coal and low maintenance. (I mean, we do have Uranium City too ... heh..). Saskatchewan is poor, by Canadian standards.

teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
Yakutsk sounds similar to where I live now. Mind ... a lot of the Canadian prairies are "empty" (not really, lots of farms... but not a lot of cities that aren't close to the US border). Similar weather at least.
teunispeters··on Why S7 Scheme? (2020)
clang and ECL both seem interesting, as long as LGPL license is ok. They both are complex to embed though - neither are well tuned to be embedded in other applications. (I've been exploring on MacOS). Julia could be interesting too under same questions (and a better license for commercial products) but similarly has a fair bit of glue code needed - especially if you want to restrict (say) filesystem access.
teunispeters··on MicroPythonOS graphical operating system delivers Android-like user experience
No viral license in Python, very easy to link to libraries with python.

not sure which means more, but the second is definitely critical.

teunispeters··on Swift is a more convenient Rust (2023)
hunting dangling references in a reference counted system is like that.... that's all I can guess is going on here. Good hunting! I wonder if there's a resource debugger? So far when I have really had to look, xcode was suffiicent... but there's likely better out there for finding this kind of thing.
teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
I hope Canada moves more to EVs too. Right now they're luxury priced ...

... I work in the EV industry. (school busses though)

teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
Siberia is a FAR better comparison than China. Among many other reasons, most of the prairies are similarly arid, and temperatures are definitely similar. Similar range of climates too (Siberia's got people a lot more spread out though).
teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
Norway is a LOT warmer than prairie Canada. You want an equivalent, go maybe 600km north. heh. (not entirely a joke. Mind as far as I can tell, typical North Pole weather is also warmer than Saskatchewan winters, so ... weather is weird)

I know the Antarctic is typically a lot colder, though.

teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
eh, 30cm of broken ragged ice, a light layer of snow over top ... that's a Saskatoon Saskatchewan winter road.

so a LOT worse. heck the car does not handle it very well.

the wind makes it worse for clothing too, mind I have driven a jeep without a windshield or roof at -40C and that was more cold than I ever want to repeat. It was rather worse than working out in a field with survey gear at -55C and white out winds...

teunispeters··on Norway EV Push Nears 100 Percent: What's Next?
I am in the prairies of Canada:

1) -20c weather or colder - not really

2) no, see previous. Bikes don't handle snow.

3) no, see previous.

4) no, unsafe. (this is a me problem. Until people stop smoking on or near public transit, it remains unsafe for me)

5) no, this is a really REALLY rude question. Part of it is city design prioritizing suburbs, but part of it is that the moving has a very high cost, and only increasing as property / rent prices continue to skyrocket. Mind, that's mostly a Canadian problem....

6) An interesting question. This one works.

7) Not really, infrastructure isn't much present yet for used EVs. Mind, it's possible, just not easy to find.

8) same as previous

9) Not easily, prices are much too high. This may change with introduction of Chinese EVs though.

10) same as previous

11) MUCH easier than other options. In some parts, going back as far as 100 years is doable in getting a car.

So we - when we finally needed a second car - went 11. Moving is out (cost of moving is comparable to buying a new car), and a new car is expensive enough that the cost is too high to carry. But then, we are not wealthy either, and I have no idea who can afford to buy that many new cars, but it ain't most people I've met or worked with. I see cars - like public transit in far too many cities in Canada - as pricing itself out of usability.

teunispeters··on The State of OpenSSL for pyca/cryptography
I look forward to crypto libraries not openssl that can provide support for ED25519 and ED448, as well as a wide range of EC keys.

These are requirements for my current work, and OpenSSL 3+ was the only crypto library that delivered.

teunispeters··on The next two years of software engineering
Don't forget large scale purchasers using property for tax evasion, money laundering or other such uses. They largely don't even care if the property is maintained.

(eventually properties collapse, but if they keep the values inflated this way, that won't matter to them)

If you want to know more, look into RCMP reports on high property prices in Vancouver BC/Canada circa 2010s+, for example.

teunispeters··on Don't fall into the anti-AI hype
Wow only 70%. I so far have had to drop and rewrite from scratch every time. Mind, I work in C/embedded spaces, and current LLMs are just horrible at any code in that space.

My vote is with (2).

teunispeters··on Tell HN: Happy New Year
Happy New Year from Saskatoon, Saskatchewan, Canada!
teunispeters··on The Dangers of SSL Certificates
One of the interesting things in the ISO 15118-2 (and ISO 15118-20) protocols for EV charging, is that they include a check for "is your contract certificate expiring soon?".

So yeah, certificate timelines can be monitored, completely with warnings ahead of time.

Corollary : the service checking the certificates should have a reasonably accurate time.

teunispeters··on Language is primarily a tool for communication rather than thought (2024) [pdf]
I can summon up a voice if needed, but yeah normally not thinking in words. Aphantasia means I don't think in pictures either ;) What I think mostly is in patterns and connections, and flows.
teunispeters··on APT Rust requirement raises questions
Honestly, rust is slightly more readable than obfuscated perl. I think I prefer K&R C, and I don't like K&R C. In terms of readability, maybe equivalent to early Win32 API? [3000 lines to set up API, then call to activate].

With C++ you have a range of readable from - easy and very approachable - to 2000s era Microsoft STL. (where not only is it close to unreadable, many many hidden bugs are ... somewhere. And behaviour is not consistent).

I will admit I don't find Rust quite as unreadable as the 2000s era Microsoft STL, but the latter's one of the things that pushed me far more into Linux dev.

Rust is the kind of language that would push me to write a new language that isn't rust. And maybe work on supporting all the zillion platforms rust doesn't support. Or maybe just stick to C. I'm not a fan, but there are worse, and yeah - there are some C++ libraries out there that are worse. Lots that are better, too, eg llvm source.

teunispeters··on The lost cause of the Lisp machines
"sort of". C++ is a lot more stable ABI these days, but linking still means looking into name mangling and data types. At least it no longer seems to be changing between compiler patches, as with - say - earlier GCC. (gcc 2 through 4 were not fun for this)

From a look a little, it seems rust has this pretty reliably - probably helped by sharing link environments with LLVM.

(I've only explored this a little from time to time). Mostly my work is all C and a bit of C++.

teunispeters··on The lost cause of the Lisp machines
Lisp - historically - did not work well with others. Did not share spaces, did not coexist with other systems particularly well. Or if it did, it would wrap them very carefully in "unsafe" and keep as much to the boundaries as possible.

It's not like it's the only system that suffers this, but "working well with others" is a big key to success in almost every field.

I'm absolutely fascinated by what worked and was possible in that venue, just like I find rust code fascinating. These days lisp is much more workable, as they slowly get over the "must coexist with other software". There are still things that are really hard to put in other computer languages.

teunispeters··on Learn Prolog Now (2006)
Speaking as someone who just started exploring Prolog and lisp, and ended up in the frozen north isolated from internet - access. The tools were initially locked/commercial only during a critical period, and then everyone was oriented around GUIs - and GUI environments were very hostile to the historical tools, and thus provided a different kind of access barrier.

A side one is that the LISP ecology in the 80s was hostile to "working well with others" and wanted to have their entire ecosystem in their own image files. (which, btw, is one of the same reasons I'm wary of Rust cough)

Really, it's only become open once more with the rise of WASM, systemic efficiency of computers, and open source tools finally being pretty solid.

teunispeters··on The Arduino Uno Q is a weird hybrid SBC
yeah, except Qualcomm's source and hardware is much higher quality ;) (I used to work with a lot of it at a past job).
← PreviousPage 2 of 9Next →