@rq What would you expect the compiler to do in the desired world if it couldn't determine whether the assumption is always held?
@rq What did you mean by blow up? I thought you meant safely crashing. If so, you can add the verification at the beginning of the function itself and crash there.
Why doesn't checking if it's in the range at the beginning and blowing up if not do what you want?
There's also the chaotic (and confusing) option: alternate between different ones.
@matthew_d_green BTW you might find https://github.com/google/wuffs interesting.
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?
Then we'd have likely picked webp as one of those formats (IIRC it's better than png and git for lossless compression, but please don't trust my imperfect recall).
Alas, many computers are battery-powered now, so lack of optimization for energy usage remains noticeably bad. On the runtime performance side, the will to improve decompression speed grows with increasing available bandwidths (because decompression becomes a larger fraction of the total latency), as long as we continue to compensate for those increases by increasing the amount of data we send in equivalent situations.
@matthew_d_green The whole point of compressing images is that your phone receives fewer bytes. If we didn't care how many bytes it receives we'd do exactly what you said with some format equivalent to PNM.
@LukaszOlejnik The existence of permanently off-limits areas is amusing. (IIRC some part of beam dump infrastructure is like that.)
@freemo @JonKramer @Free_Idealist @pyranose @georgetakei
It doesn't seem to be about boundedness: consider open interval (0,1). There is no leftmost point, and yet the interval is bounded.
@baldengineer Is the script for the video public somewhere? (I'm asking because I vastly prefer reading over watching something that tries to explain stuff to me.)
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ć.
In some cases it might also be a variant of caring for others where you care for others about as much as you think they care for themselves.
@art4857@101010.pl
Śmieszne jest też to, że plany niebronienia istotnej części kraju nie były rzadkie, chociażby https://de.wikipedia.org/wiki/Limmatlinie (pt. nie bronimy np. połowy Zurychu) i https://de.wikipedia.org/wiki/Schweizer_R%C3%A9duit (pt. prawie nie bronimy całych nizin).
The thing is that time.Time _contains_ time.Location.
@tubetime Is "autosyn 2" the fine one?
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..
I enjoy things around information theory (and data compression), complexity theory (and cryptography), read hard scifi, currently work on weird ML (we'll see how it goes), am somewhat literal minded and have approximate knowledge of random things. I like when statements have truth values, and when things can be described simply (which is not exactly the same as shortly) and yet have interesting properties.
I live in the largest city of Switzerland (and yet have cow and sheep pastures and a swimmable lake within a few hundred meters of my place :)). I speak Polish, English, German, and can understand simple Swiss German and French.
If in doubt, please err on the side of being direct with me. I very much appreciate when people tell me that I'm being inaccurate. I think that satisfying people's curiosity is the most important thing I could be doing (and usually enjoy doing it). I am normally terse in my writing and would appreciate requests to verbosify.
I appreciate it if my grammar or style is corrected (in any of the languages I use here).