Better HN
topnewbestaskshowjobs
Log inSign up

ben_bai

642 karma · joined Jan 19, 2015 (11y ago) · 313 submissions

Submissions

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

    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.

comment 2y ago · link · parent

by convention: if it's not NUL terminated, it's not a c-string.

comment 2y ago · link · parent

that would be wcslcpy(3)

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

it's like 6h when you know what you are doing :-)

comment 2y ago · link · parent

Love it, play this once in a while. 6 hours of fun.

comment 2y ago · link · parent

yeah it's other peoples mouse courser, as they browse the site.

comment 2y ago · link · parent

It's one of those condom-style things.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

It is also a fertilizer, providing Carbon and Minerals to the farmland.

comment 2y ago · link · parent

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)

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

HAHA, Xorg will always be with us. GNOME and KDE will maybe do something like that, but that's no problem.

comment 2y ago · link · parent

And Erlang the Movie II

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

comment 2y ago · link · parent

Mandatory xkcd: https://xkcd.com/2724/

and Tech Connections Videos: https://www.youtube.com/@TechnologyConnections/search?query=...

comment 3y ago · link · parent

I think the engines worked perfectly. The booster broke up in the middle, at least it looks like it on the everyday astronaut feed.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

There was a estimated 1/16 failure possibility for the first couple flights. Lots of edge-cases where: If XYZ happens, you die.

But we were in a hurry, so it was just part of the project.

comment 3y ago · link · parent

Apollo was a one off government program, which was unrivaled for 50 years. And never even tried since then.

You have to understand this is a private business doing it on a budget and fast. Yes, NASA is involved...

comment 3y ago · link · parent

When you have multiple cycles per day, the higher price of flywheels trumps over the limited but cheaper battery lifespan. Batteries degrade with charge cycles.

comment 3y ago · link · parent

Since the announcement mentions "existing LTE phones" it seems to be no problem, power wise.

So, it all depends on the satellites antenna.

comment 3y ago · link · parent

Then don't run a OS with a kernel written in C. That would rule out Windows, Mac, Linux and *BSD.

comment 3y ago · link · parent

And now they have to repair the launchsite, which they already did. And add water deluge, which they already did.

The upside was they got lots of data to improve the next rocket, which they already did. It's ready to go again, just waiting for FAA approval.

comment 3y ago · link · parent

Interesting question. They are called Sea Vegetables. But they do need seawater. Now seawater aquariums are a thing so it should be manageable to "farm" those.

comment 3y ago · link · parent

Or printers that would accept refilled cartridges, good times.

comment 3y ago · link · parent

Also, 30% of new car purchases in 2023 were EVs (in Germany)

comment 3y ago · link · parent

> They have low labor cost, insanely good infrastructure and logistics, cheap energy and weak labor rights. You're not gonna outcompete them on manufacturing.

Sorry to bust your bubble but that has slowly been changing. Mexico and India is the new China, or at least they will be very soon.

For years, wages in China were much lower than Mexico's. Now, Mexico's manufacturing labor costs are 20% lower than in China. When adjusted for worker productivity, the gap is even wider. And India is getting there, too.

12345
11