Show newer

@js @objfw

Something like that, but I don't get why you need the first shufps,

Why do people require signed fetch, but allow the same posts to be viewed via a web browser?

robryk boosted

@grrrr_shark

And I've just learned that he's died last year.

So, in the spirit of making people's passing not-totally-sad (as in, it's better that they've existed and died compared to them not existing at all), some anecdotes about Dr. Włodzimierz Borkowski:

He specialized in neonatology. I don't remember how I know this, but one of the reasons for that was that he himself had joint problems that made walking over non-level surfaces hard for him that were caused by some perinatal issues.

He would treat his patients, whether young or adult, as people who should know what he's thinking. Apart from him actually answering questions of children (and not just saying something to make the child be satisfied), he'd point-blank admit when he didn't know something, or wasn't sure. (This created very polarized opinions about him among patients.)

So, something that happened at least once to my parents was that we went to see him (I don't remember what the problem was anymore, probably something related to pollen allergy); he in the end didn't have a good guess on the underlying cause, so he said so, gave some advice on symptom avoidance, asked us to try to make some observations, and to come back in 2 weeks or so. A few days later my parents got a phonecall: he thought about it in the meantime and had a new idea, that he wanted them to try.

Why do we say that batteries/energy storage is something that stores and releases energy?

A device that is able to convert some amount of heat into zero-entropy energy is ~just as useful as a battery of the same capacity. It's obvious that such a device can exist (a thermos with some amount of heat capacity inside at a temperature lower than environment + a heat engine is such a device), and it has at least one significant advantage over a battery: it is not necessarily able to release a significant quantity of energy on failure/destruction.

One can easily create such batteries in that exact way (by using a thermos and heat engine). My rough upper bound is that the highest "energy" density one could get without phase transition would be ~2MJ/kg[*] (by using gaseous hydrogen as the medium), which is a bit better than current batteries (but is an upper bound that ignores any practicalities of handling hydrogen, inefficiencies other than thermodynamically necessary, and the weight of infrastructure). I've looked at a few phase transitions (e.g. ice/water or liquid/gaseous nitrogen) and they don't seem to be able to give anything even close to the value for hydrogen (or, for that matter, mere Li-Ion batteries).

Are there other ways to store negative entropy? I imagine that chemical ones "should" exist, but I have terrible intuition for entropy changes across chemical reactions to even know where to start looking.

[*] I've taken half of the energy that would be needed to heat hydrogen from ~0K to ~room temp (half because efficiency will change linearly between 1 and 0 as the temperature of the hydrogen increases).

tl;dr Are there any better ways to store negative entropy without storing energy than storing very cold hydrogen? Is there some sort of fundamental limitation in play?

robryk boosted

@robryk My understanding is that the portion of the subscription that goes to the video side of the platform is split 55-creator/45-YouTube just like ad revenue.

But the real question what is that portion? And does it change whether and how much you stream music?

If YouTube actually split those services out and made this clear, I'd wager WAY more creators would be advocating for it.

robryk boosted

GET LAMP, the documentary I created 13 years ago, is available for free, but the GETLAMP.COM website didn't make that clear. Now it does, linking to the Internet Archive's set of .ISO files.

getlamp.com

@szczurtorebkowy @szczur

Ojej, właśnie się zorientowałem, że jesteście dwoma różnymi osobami ^^* (piszę, bo strzelam, że inni mogli też się podobnie mylić)

robryk boosted

So… I'm writing another piece of CAD software 🤓

Say hi to Dune 3D, a parametric 3D CAD that supports STEP import, chamfers and fillets!

It's the result of gluing together the UI from Horizon EDA with the solver from solvespace and Open CASCADE for a geometry kernel.

After about 3 months of off-and-on development, it's finally ready for prime time, go check it out on github.com/dune3d/dune3d#readm

Don't be surprised if it's a bit janky or lacks some features, there's still a lot left to be done…

Today I learned that when you edit a Mastodon post:
- the web UI allows you to look at previous versions,
- ActivityPub API doesn't seem to mention their existence.

This makes me sad, because it means that (a) there's no uniform version identifier preserved across instances that have the same post (which could help detect malfeasance) (b) custom Fedi clients are denied access to something that is exposed via the Web UI, which forces people to use the web ui (or another instance's web ui, if that instance received all the versions) instead of an APub client.

(Aside, I've also found a server that 403s on attempts to use curl's User-Agent to fetch posts from it. I'm not sure how I feel about that.)

robryk boosted

I just realized that `let _ = ...` and `let _foo = ...` behave differently in #rust.

The former drops the value immediately while the latter drops it at the end of the scope. This almost never matters due to the borrow checker but this was resulting in my tracing context being broken because I was calling `let _ = span.enter()` and the guard was being dropped right away.

robryk boosted

Wie hoch ist das Unfallrisiko auf Deiner bevorzugten Veloroute in der Stadt #Zürich?

Checke den Velounfallrisiko-Rechner dazu unter 👉 nzz.ch/zuerich/so-gefaehrlich-

Chapeau @nzz -Visuals (!) Einmal mehr eine sehr gelungene #OpenData-Anwendung 👏
#ddj #velo #unfall

plpol 

W międzyczasie mój znajomy zrobił ~taką symulację:

github.com/OnufryW/Dhondt

docs.google.com/spreadsheets/d

(Nie bierze ona pod uwagę szansy na bycie języczkiem u wagi w kontekście przekraczania progu wyborczego, bo jej głównym celem jest pokazanie różnic między okręgami.)

Show thread
robryk boosted
robryk boosted

Related to the latest round of everyone finding out what happens when you write image decoders in C++ now known as CVE-2023-5129: you may want to update every electron app on your machine as much as possible. Electron is built on the foundation of Google Chrome and it turns out that the webp vulnerability is also present in Electron. Annoyingly, this is going to require you to figure out which vendors have patched their apps for the vulnerability. Good luck.

You probably should update Discord immediately.

Hm~ on the off chance it's obvious to someone: I'm trying to use the built-in I2C hardware in STM32Lsomething. I use RIOT-OS's library for interacting with that I2C hardware, and what happens is that as soon as the pins are switched to the alternate function of I2C they get pulled down (afterwards it seems that no I2C operations ever complete, but that's not that weird considering this messed up initial state). Is there something obvious I could be doing wrong, or something I ought to check?

plpol 

Mam wrażenie, że bezrefleksyjna powszechność zwrotu "głosowanie za kimś" powoduje podobnie dużo szkód jak "aresztowanie za coś".

Powszechny jest pogląd, że głosowanie polega na wybraniu kandydata, którego najbardziej chcielibyśmy widzieć wybranego. Nawet w przypadku wybierania jednoosobowego organu nie jest to sposób, w który najlepiej możemy realizować nasze preferencje (nawet nie może, bo nie zależy od tego, których z pozostałych kandydatów wolimy bardziej). W przypadku organów wieloosobowych sytuacja jest jeszcze bardziej skomplikowana, bo przestrzeń możliwych preferencji jest większa.

IMO warto myśleć o głosowaniu nie jak o wyrażaniu poparcia dla konkretnego kandydata, ale jak o wyborze, który ma skutki. Jeśli mamy do dyspozycji rozsądnie dobre przewidywania wyników wyborów, możemy poszacować jak każdy możliwy wybór może wpłynąć na wyniki.

Eh, chyba powinienem po prostu napisać taką symulację i ją udostępnić.

robryk boosted

Today was ... interesting. If you followed me for the past months over on the shitbird site, you might have seen a bunch of angry German words, lots of graphs, and the occassional news paper, radio, or TV snippet with yours truely. Let me explain.

In Austria, inflation is way above the EU average. There's no end in sight. This is especially true for basic needs like energy and food.

Our government stated in May that they'd build a food price database together with the big grocery chains. But..

robryk boosted
robryk boosted

@samwho Rust is even more aggressive about some of this. You'd have to Pin<> things at a minimum, and that may not be enough. And any code that involves Pin<>s is usually a pain.

Put your secrets in a different address space, ideally in a different processor entirely.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.