HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ben_bai

no profile record

comments

ben_bai
·2 ปีที่แล้ว·discuss
Funny enough filenames are just byte sequences. So almost anything goes.

There was just some patch that added '/' protection, because that's the only character that's not allowed in filenames.

https://github.com/openbsd/src/commit/46f7109a9e03df89b66ada...
ben_bai
·2 ปีที่แล้ว·discuss


    Recent research showed the increase in the number of programmers twofold every year all over the world.
That means 75% of Programmers (SW Developers) have less then 2 years of experience!

We are still a very inexperienced and unregulated industry.
ben_bai
·2 ปีที่แล้ว·discuss
by convention: if it's not NUL terminated, it's not a c-string.
ben_bai
·2 ปีที่แล้ว·discuss
that would be wcslcpy(3)
ben_bai
·2 ปีที่แล้ว·discuss
i guess that's what spikes interest. although strlcpy was first introduced in openbsd 2.4, 26 years ago! back then as a drop in replacement for strcpy.

so yeah, good things need time to adopt, no wonder it's not up-to-date tech, lol.

and because of NIH-syndrome we now got lot's of strXcpy functions to choose from.
ben_bai
·2 ปีที่แล้ว·discuss
it's like 6h when you know what you are doing :-)
ben_bai
·2 ปีที่แล้ว·discuss
Love it, play this once in a while. 6 hours of fun.
ben_bai
·2 ปีที่แล้ว·discuss
yeah it's other peoples mouse courser, as they browse the site.
ben_bai
·2 ปีที่แล้ว·discuss
It's one of those condom-style things.
ben_bai
·2 ปีที่แล้ว·discuss
Yeah the Minecraft and MC anarchy community is insane.

If you found this amazing, take a look at this, it'll blow your mind.

https://www.youtube.com/watch?v=ea6py9q46QU and https://www.youtube.com/watch?v=GaRurhiK-Lk
ben_bai
·2 ปีที่แล้ว·discuss
In short: Sand for industry scale heat storage, water for private heating storage.

Using a heat pump will increase the yield. Usable temp range from 95C water all the way to 0C ice in theory (latent heat).

And a modern isolated home helps, but seasonal heat water storage is basically a big tank, with a house build around it.

https://www.energie-experten.ch/de/wissen/detail/waermespeic...
ben_bai
·2 ปีที่แล้ว·discuss
It's more effective volume wise. I did the math, some time ago here are the rough numbers.

Sand has way less heat capacity then water per kg (about half).

Water can be heated to 95C with standard unpressurized vessel. Sand in this application is heated to 600C.

Sand is denser then water (kg/m3).

For the same heat energy stored this comes out to about 2.5x more volume of water(95C) compared to sand(600C).

Water and Sand are both dirt-cheap.

Hot water can be managed with standard plumbing equipment.

Sand needs some high temperature piping (hot air to water heat-exchanger, resistive heat tho heat up the sand).

How well both contain the heat is primarily dependent on the isolation. Which favors the smaller footprint of sand, but needs to isolate a higher temperature difference...
ben_bai
·2 ปีที่แล้ว·discuss
It is also a fertilizer, providing Carbon and Minerals to the farmland.
ben_bai
·2 ปีที่แล้ว·discuss
I would add that it's "doing nothing important". Like when someone asks: What did you do today? And the german answer is just "Nix" ("Nichts", aka. nothing important)
ben_bai
·2 ปีที่แล้ว·discuss
Just like C, COBOL will always be with us.

> According to research, up to 850 billion lines of COBOL code are currently running in nearly 30,000 organizations, typically in critical production environments. 90 percent of Fortune 500 companies rely on it. Never has there been this much COBOL in circulation and the volume is only likely to increase for the foreseeable future.

https://www.chrly.pt/en/2023/06/14/cobol-the-immortal-langua...
ben_bai
·3 ปีที่แล้ว·discuss
HAHA, Xorg will always be with us. GNOME and KDE will maybe do something like that, but that's no problem.
ben_bai
·3 ปีที่แล้ว·discuss
And Erlang the Movie II

https://www.youtube.com/watch?v=rRbY3TMUcgQ
ben_bai
·3 ปีที่แล้ว·discuss
Mandatory xkcd: https://xkcd.com/2724/

and Tech Connections Videos: https://www.youtube.com/@TechnologyConnections/search?query=...
ben_bai
·3 ปีที่แล้ว·discuss
I think the engines worked perfectly. The booster broke up in the middle, at least it looks like it on the everyday astronaut feed.
ben_bai
·3 ปีที่แล้ว·discuss
Gathering data and making orbit. Plan was to return the booster near the launchsite and make a water splash down. The ship should make a single suborbital flight with orbit velocity to simulate reentry and should have splashed down near hawaii.