towerful

joined 2 years ago
[–] towerful@programming.dev 11 points 2 days ago

Eventually, yes

[–] towerful@programming.dev 14 points 5 days ago (2 children)

Smaller file size, lower data rate, less computational overhead, no conversion loss.

A 64 bit float requires 64 bits to store.
ASCII representation of a 64 bit float (in the example above) is 21 characters or 168 bits.
Also, if every record is the same then there is a huge overhead for storing the name of each value. Plus the extra spaces, commas and braces.
So, you are at least doubling the file size and data throughput. And there is precision loss when converting float-string-float. Plus the computational overhead of doing those conversions.

Something like sqlite is lightweight, fast and will store the native data types.
It is widely supported, and allows for easy querying of the data.
Also makes it easy for 3rd party programs to interact with the data.

If you are ever thinking of implementing some sort of data storage in files, consider sqlite first.

[–] towerful@programming.dev 3 points 6 days ago

All the cool kids are running kubernetes

[–] towerful@programming.dev 14 points 1 week ago

You really think they know regex?
They probably got grok to generate it and didn't understand what it does

[–] towerful@programming.dev 3 points 1 week ago (2 children)

Why do you dislike PHP?

[–] towerful@programming.dev 3 points 1 week ago

Clearly you are not a bot if you can say smeeeee.... Smeeehhhh.... Smeeeeeee.... Heeeeeeeaaaa..

[–] towerful@programming.dev 2 points 1 week ago

Endeavour OS is lovely. I'm enjoying it

[–] towerful@programming.dev 4 points 1 week ago (1 children)

Granted. 100k. Or 900k. Both are lethal, tbh

[–] towerful@programming.dev 16 points 1 week ago

G0 summits would represent a significant savings

[–] towerful@programming.dev 16 points 1 week ago

Yeh, Linux doesn't have to be scary these days.

[–] towerful@programming.dev 3 points 1 week ago (2 children)

So, we should be sending people to prison? Cause that's what happened to people involved in dieselgate. Along with the affected cars being recalled and the owners compensated.

[–] towerful@programming.dev 5 points 1 week ago (6 children)

From the wiki, and I'm simplifying:
VW was handed over to the German government after being offered free-of-charge to Ford in 1948 by the British government (who ran the factory up till then).
In 1946 the produced 1000 cars per month. In 1949, 2 cars were sold in the US.
In 1952, 12 VWs were sold in Canada.
In 1955 they produced over 1 million Beetles.

So 3 years on life support being ran by the British. Dunno how long being run by the German government before becoming GmbH.

view more: ‹ prev next ›