HNHacker News
TopNewBestAskShowJobs

rlkf

424 karma · joined February 13, 2015

submissionscomments
rlkf··on Fortran
In my experience "very difficult mathematical code" stems from employing little or no abstraction of the problem domain, mashing together numerical algorithms with physics formula. Using Fortran is IMO as much a prerequisite as a result of this.
rlkf··on “Autobesity”: More than 150 car models too big for regular UK parking spaces
This also creates a self-enforcing effect: When the SUVs climb high enough in the sales statistics, they start out-crowding the other cars at the dealerships. A few years ago there was a larger diversity of car models - nowadays it seems to be mostly SUVs that are available. Gone are more sensible sized coupés and MPVs.
rlkf··on Oil Is Hard to Quit, Even in Norway Where Electric Cars Rule
> They don't refine oil locally and would have to buy back gasoline

There is a refinery at Mongstad capable of processing 10 mill. tons of crude oil per year. It could have provided all the gasoline used in Norway, but probably not all the diesel.

More relevant is probably that there is a significant hydroelectric production, so there is no need to use petroleum to generate the electricity for the cars.

rlkf··on Measuring blood pressure for less than a dollar using a phone
The hardware seems nice, but to me it is a huge red flag that (1) the communication between the sensor and the phone is encrypted, so that no third-party app can ever be developed, and (2) it seems that your health data is uploaded to the "cloud" without any opt-out or possibility for local operation.
rlkf··on Iceland: The emerging tech-ecosystem of the Nordics
The average expenditure on food and staples of a Norwegian household is according to national statistics €235/month/person (not including dining out); based on the general cost difference between Norway and Sweden, this should translate into €210/month/person.
rlkf··on Why Self-Checkout Is and Has Always Been the Worst
In one of the supermarket chains in Norway, we have self-service in that you get a scanner that goes along with the cart. You put bags in the cart when you enter the store, and then scan the groceries as you pick them from the shelf and put them in the bags. When you get to the checkout, you put the scanner in a dock and then pay. Done. Hardly ever fails. It's just so unbelievably much quicker that I dread going in a store without.

As an added bonus, since you're bagging as you put things in the cart, you can now also sort the items in different bags according to where in the house you're going to put the items when you get home, so you'll save time unpacking, too.

And lamenting the loss of store greeters... makes me think that perhaps the real issue here is the same as why some people actually want to tip at restaurants: It's not about getting the job done, but rather the feeling of having other people working for you.

rlkf··on The weird world of Windows file paths
> The weirdest part is the HPFS compatibility mode (file.ext:substream).

HPFS had extended attributes, but not substreams. You are thinking about HFS; substreams were added to NTFS to support storing resource forks on network shares used by Macs.

rlkf··on The GTK+3 port of GIMP is officially finished
> I don't think it could do os/2 "Presentation Manager" for instance.

There was a Presentation Manager subsystem for NT that could run 16-bit OS/2 graphical programs, but it was about as hard to come by as buying a single LTSC license is today.

rlkf··on Lego violates GPL by keep Blender-based BrickLink Studio source closed (2021)
The MindStorms bricks were based on Linux, but they couldn't care to even provide a text-mode uploader for new firmware that worked on Linux. Happy to take from, but not to give back to, the community. Their support didn't even understand the bug reports in the firmware when spoon-fed. No engineering left; just plain money-grab at this point.
rlkf··on Tech Giants Are Building a Dystopia of Desperate Workers and Social Isolation
Adding tips will probably just cause the business to lower the wages, making the workers more dependent on a semi-random stream of tips instead of a fixed income, making life worse for them. Restaurants now work like that, and workers are voting with their feet. No need to extend this to other industries.
rlkf··on The cold hard truth about electric vehicles in winter
Mostly it's the start battery that have problems in the cold. The diesel sold in Norway have anti-gelling substances added; cars run fine in -20 degC/-4 degF.
rlkf··on Hungary used citizens’ Covid data to help the ruling party
On the other hand, a majority voted later that year to join the rest of Ukraine in independence from the Soviet Union.

https://en.wikipedia.org/wiki/1991_Ukrainian_independence_re...

rlkf··on Improving code review time
You can almost get there if you commit often, and structure your commits such that all the trivial stuff are done in their own commits; for instance, if you introduce an if, you add the if and end in one commit and do all the re-indenting of existing lines in another.
rlkf··on Improving code review time
My takeaway from your comment is that one should read the code first, and then see if the comments match your understanding of it afterwards, NOT that one should not write any comments.
rlkf··on Reverse Engineering an EV Charger
Not having the bootloader signed is a feature: If the company go bust, the customers can change the firmware and still use their chargers.

Having it signed would provide no value for residential customers, where the chargers ostensibly would be physically secured, and should in that case actually be considered an anti-feature.

It seems to me they just included that "recommendation" because they couldn't find anything else to write.

rlkf··on Mom handcuffed, jailed for 8-year-old son walking half a mile
In my twice-the-size European city, kids walk twice that distance to school and back home again, alone. Every. Single. Day. If this place isn't safe enough for kids to walk by themselves, maybe the question should be raised whether the police and municipal government really is doing their job the way they're supposed to.
rlkf··on Reverse Engineering an EV Charger
Not only can you coordinate several chargers (if you are in a shared garage), but you could also coordinate usage across other devices connected to the same residential fuse box (all such in Norway has a HAN interface); for instance you could restrict the charge to the car when the dishwasher is running. (Sadly, the IEC 62196 control pilot pin seems to be a very primitive system).
rlkf··on Ask HN: Why is coil whine in electronics so prevalent?
> why is flickering LEDs so common?

Maybe you have a "leading edge" dimmer, whereas most LEDs needs trailing edge.

rlkf··on Lego Is Discontinuing Mindstorms
Well, good riddance, I guess. The software side of this product has been completely mismanaged and community-hostile for a long time, and the hardware has always been overpriced.

Hopefully this will make market room for alternatives that give better value for money for STEM kids.

rlkf··on Ask HN: Why is there no performant remote desktop for Mac/Linux?
But there is! With xrdp on the server and xfreerdp on the client, using RFX codec, I can have a remote login across town with 4K resolution through a Wireguard tunnel over a residential DOCSIS broadband.
rlkf··on Ask HN: Europeans, what keyboard layout do you use for programming?
I use a Dvorak layout for more comfortable touch typing, along with some changes I made to the numeric row to make it more suited for programming. For the "native" letters I use a European keyboard and map the extra key to Compose, instead of using AltGr. This will require some substantial investment in retraining, though. (In Vim the cursor keys are a little weird because they are based on placement, but the rest is mostly OK as they are mnemonics).

If you want to take the low effort route, I would just go for the US layout; on MacOS you can use the Option key to get the umlaut dead key. (On Windows, you would use the US International layout). Try this out for a while to see how often you really use the accented characters, compared to all the symbols used in programming; my guess is that you'll find it to be an insignificant bother.

rlkf··on Start all of your commands with a comma (2009)
Porque no los dos? It seems that

    function ,foo() { printf "Fooo\n"; }
    ,foo
actually works! (at least in my bash 5.0.17 shell)
rlkf··on It was a mistake to write off the Russians: Neil MacFarlane takes a long view
> The Russian Empire suffered losses during WWI but survived as the Soviet Union.

I think you would find it interesting to read about the peace treaty of Brest-Litovsk, where the Russians lost about as much as they've "lost" now. Hadn't it been for the other Entente powers after the war, it would have been a done deal already then.

rlkf··on The age of the fast self-checkout lane is over
This is the way we have it, too. I would like to add yet another advantage of this approach: You can designate bags in your cart to where the items go in your house, e.g. for fridge items, bathroom items, dry items, frozen items. When you're in the store, you sort things right then and there when you pick them of the shelf; when you get home you just drop the bag off in the right room, no more running back and forth.
rlkf··on Tell HN: Gnome on Wayland Is Amazing
Is remote desktop still in the same, sorry state on Wayland? Then it is simply a non-starter, no matter how tear-less window dragging is locally.
rlkf··on Ask HN: How to Learn to Type Faster?
Juerd Waalboer's "Dvorak Keyboard Training": https://learn.dvorak.nl/

Of course, it will only teach you Dvorak, but then again, you did say that you wanted to type faster...

rlkf··on Seagate Creates an NVMe Hard Disk Drive
> commercially supported OS that's built around a unified memory model

Doesn't OS/400 work that way? (Of course then there is the question to which degree "commercially" should imply "readily open to third-party software and hardware vendors")

rlkf··on Intel: PC Games Are Incompatible with 'Alder Lake' CPUs Due to DRM
> workaround ... by placing the efficiency cores on standby. ... you would press the Scroll Lock key

This reminds me of the Turbo button on my old PC/AT machine, which would clock the processor down from 10MHz to 6MHz, to run PC/XT games.

rlkf··on Hello Yarn 2, Goodbye node_modules
Except that the format of the npm cache is version-specific. You would probably be better off using https://github.com/heikkipora/registry-sync instead.
rlkf··on Hello Yarn 2, Goodbye node_modules
`npm uninstall foo` simultaneously upgrades all the _other_ packages.

Experienced developers they are not.

← PreviousPage 2 of 4Next →