Turun

joined 2 years ago
[–] Turun@feddit.de 2 points 1 year ago

Each time a gas molecule is hits the balloon envelope it transfers some momentum.

I see! Thank you very much!

If we assume the balloon model and the sides expand then each collision of a molecule inside the balloon with the outer wall will leave it with less speed and therefore lower energy and therefore a lower temperature.

As a consequence, gas expanding in a vacuum does not cool off, because it has nothing to transfer the energy to!

[–] Turun@feddit.de 4 points 1 year ago

Yes. That's what I meant.

Though I heavily expect the rust compiler to produce identical assembly for both types of iteration.

[–] Turun@feddit.de 7 points 1 year ago (12 children)

It would be interesting to see if an iterator instead of a manual for loop would increase the performance of the base case.

My guess is not, because the compiler should know they are equivalent, but would be interesting to check anyway.

[–] Turun@feddit.de 2 points 1 year ago (4 children)

But does the energy to expand the balloon not just come from the pressure? Pressure has units of energy per volume btw.

[–] Turun@feddit.de 1 points 1 year ago

REST server and ORM python code

Fair enough, that can be achieved with pure python.

[–] Turun@feddit.de 25 points 1 year ago (2 children)

There is only one meaning of the word python: the snake and the programming language!

There are only two meanings of the word python: the snake, the programming language and the British satire group!

There are only three meanings of the word python: the snake, the programming language, the British satire group and the peni..

We'll come in again!

[–] Turun@feddit.de 12 points 1 year ago

You tried your best, but the actual link form is !optimistsunite@reddthat.com

[–] Turun@feddit.de 4 points 1 year ago

A new database specifically designed for financial transactions.

I'm not an expert on finance software, so I can't critically assert how good they really are. But they claim much much higher throughput than traditional databases, higher fault tolerance, self healing networks if several replicas are running, etc.
From a purely technical standpoint it's interesting for being written in zig. Because the database scope is so narrow they know exactly how much memory they will need on startup and just allocate all required memory on startup and never allocate more, nor free the aquired memory.

[–] Turun@feddit.de 15 points 1 year ago (3 children)

They never would have been able to get the same performance from any solution that incorporates a general purpose database.

Their requirements/explicitly-not-required-ments include that it's fine to drop 1s of data. That would be an insane proposition for any other database. Also their read/write rates and latency requirements are unusual to say the least.

It's the same thing as tiger beetle. Ridiculously narrow domains allow for ridiculous performance improvements compared to of-the-shelf solutions.

[–] Turun@feddit.de 3 points 1 year ago

Yes, sync shows username@instance for me. Good catch!

[–] Turun@feddit.de 5 points 1 year ago* (last edited 1 year ago) (2 children)

Can not confirm:

My phone does not want to upload an image at the moment (imgur and sync/reddit failed), but it looks fine.

Profile pic, Arabic letter, @instance, 40 points, dot, time/edited
Sync version: v24.03.26-14:56    
Sync flavor: googlePlay    

View type: List    
Push enabled: false    

Device: FP3    
Model: Fairphone FP3    
Android: 13
[–] Turun@feddit.de 4 points 1 year ago

Also wenn sie am Hauptbahnhof... in 10 Minuten ... Dann ~~starten sie ihren Flug quasi am Hauptbahnhof~~ sind sie quasi schon schwanger.

view more: ‹ prev next ›