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
·5년 전·discuss
In the end it's about the same cost (for the same quality).

Also prefab houses have a lead time of about 6 month.

But once the on site build has started it's fast and those elements come with electrics, water piping and (sometimes) windows preinstalled. They just need to be connected.

You basically have the choice between the classic building methods with an architect and contractors, or an All-in-One Firm that has it's own contractors and almost always uses the prefab model. The later also is way less hassle for the once-in-a-lifetime home builder, usually.
ben_bai
·5년 전·discuss
The robotic bricklayers are in the factories. They do construct prefab elements that then get hauled to the building site to be quickly assembled.

Usually it's done with wood but there are also factories that build prefab houses with bricks.

https://www.youtube.com/watch?v=QJIDjdFTVW8