HN user

rhn_mk1

3,392 karma

Trying to be nicer.

https://github.com/rhn/ https://gitlab.com/rhn/

Posts16
Comments1,828
View on HN

I want to see that shader. How is sloshing implemented? Is the volume of the bottle computed on every frame?

Clearly, there's some sort of a physics simulation going on there, preserving the volume, some momentum, and taking gravity into account. That the result is being rendered over the shader pipeline rather than the triangle one doesn't make it any more or less "real" than the rest of the game. It's a lie only if the entire game is a lie.

https://www.wayfair.com/decor-pillows/sb1/roll-wallpaper-c18...

Britiany Peel & Stick Floral Roll by Canora Grey

From$1.20/sq. ft.

https://www.ehd.org/science_technology_largenumbers.php

The area covered by 100 one dollar bills measures 11.13 square feet.

comes out to about $9/sq. ft., about 9 times as expensive.

But 1USD=90RUB today, and the lowest denominated note is 5RUB, coming out to 1USD=18notes. Each note is 137 mm × 61 mm, coming out to about 0.09 sq. ft. (if I'm not mistaken). Then 1USD=1.62 RUB sq. ft., so it costs

$0.62/sq. ft.

to have a green wall of ~~current~~ obsolete Russian currency.

What's surprising is that you can afford it even if you live in Russia. According to Obi and this roll of wallpaper:

https://oboi-store.ru/catalog/bumazhnye

JB80201 Обои KT Exclusive Jelly Beans

10.05х0.53м

10 500 руб/рул.

the price per area isn't that different, coming out to about $2/sq. ft., meaning that if you have a clever way to paste all the single notes easily and know how not to get in any potential trouble with the law, it makes economical sense to get your wallpaper at the bank.

EDIT: according to Wikipedia, the note has been replaced by coins, and the next one is almost but not quite 10x as expensive by area.

"asdf".indexOf("as") is 0

but

"asdf"[0] is NOT "as".

so there can be no expectation that ""[0] is "".

Those two operations are not related to each other. It's more intuitive if you treat .indexOf() as .startOf(). Then "asdf"[0..x] is "as" for x=2, and ""[0..x] is "" for x=0.

"Reasonable" is an unfortunate word IMO. An assumption doesn't come out of reasoning. We can't even estimate the probability of this assumption being right because we can't see the future.

The best way this word fits is that we can reason towards the conclusion that whether laws will change or not is an assumption.

A script to arrange 2 pages of a PDF side-by-side.

Another bunch takes care of creating invoices, gathering bank statements, and paying using the bank account.

Finally, a temperature limiting daemon because thermald doesn't seem to work.

If you're clipped in, why would you keep feet from sliding?

Preventing sliding by pushing is how effort is wasted and is a possible explanation why a cyclist might feel much stronger when clipped in and no longer has to push - while attributing the lower effort to the upstroke pull.

Those are not necessarily examples of lifting. Those could as well be explained by the contribution of not pressing on the opposite pedal (to keep the foot from sliding).

And not pressing doesn't shine any light on the force of lifting.

Is there a fixed-function circuit that can read a digital value out of a sensor and compare it with a threshold?

I'm not dounting it's possibly, but I'd be surprised if it's available without involving a Turing-complete computer.

It's My Monitor 3 years ago

A dream - the code contains a hash which identifies the file. Like ipfs + bittorrent.

It reminds me of the cycle of enshittification: once you have a captive audience, you start bumping the profits at the cost of the user experience.

It looks like something similar is in effect here: instead of meeting the different customers where the customers alrady are, it's the company's preferred way or the highway.

While I agree that your child is not you and FOSS doesn't need to be your child's value, it needs to be said that

FOSS is the software author's value. It correlates with the author's intentions, their incentive and the software's shape and influence on the user – your child. It's a way to delineate content you want your child to see and that which you don't (and thus we circle back to the idea that you imposing a policy ultimately means imposing your values anyway).

The problem is that it's not an either-or.

Adding app operation alongside coin operation would have been an improvement in useability. Replacing coins with apps is just making it suck in a different way.

C++ Papercuts 3 years ago

IMO not every coder is sloppy with use-after-free. Not everyone is slopy with incorrect mutability. [...] Not everyone is sloppy with $THING[N]. But it's hard to consistently not be sloppy in any one of them, and N are so many that almost everyone is sloppy with at least one of them, most of the time.

Each probablility of a mistake may be low on its own, but they compound with every avenue to make mistakes.

Does failing after 10 years count as a failure? Cause living for the next 10 years is not really that difficult, and the relevant people will still likely be around.

Sure, the offer might as well be for 90 years, or even 50 years without much practical difference, but if it was a bit more honest and said "50 years", would you still call it a money grab?

The fact remains that this will be honored for as long as there are people interested in honoring it. This surely has some value, right?

It's countered by not making the assertion and not being able to make conclusions. You only need a lack of confidence for that. It's orders of magnitude easier to not have knowledge compared to having it.

Cars becoming illegal over night is about as ralistic as popping up infrastructure replacing it over night. It's a complete straw man.

In reality, cars can only disappear gradually, with less-car-dependent infrastructure replacing them as they go, and prices adjusting together with that. If you want to find reasons that no-cars can't work, you'd do much better by acknowledging that their disappearance would bring wider changes to urbanism.

(Also, it's not unheard of to choose a job based on what's in the area. Academic couples do that quite often: when one moves, the other often tries to find a job based on where they go.)

Perhaps you need a (e-)bike. Instead of taking 15min, you'd take 30min at city speeds.

But actually, if cars disappeared, people would have an incentive to work closer to where they live. So instead of living next to a quick road connection, you could live next to a quick bus/foot/bike route. And others would do, too. And look at all the unneeded space that used to be streets and parking lots, ready to be repurposed into new houses and offices!

https://avif.io/blog/comparisons/avif-vs-webp/

AVIF has an image resolution limit of 65536 x 65536 pixels.

but from https://tonisagrista.com/blog/2023/jpegxl-vs-avif/

Max image size is limited to 4K (3840x2160) in AVIF, which is a deal breaker to me. You can tile images, but seams are visible at the edges,

WebP also has a hard limit to an image's frame size, with its maximum dimension being 16,383 x 16,383

WebP supports a max bit depth of 8-bit

AVIF flexes a max bit depth of 10

Jpeg XL has progressive rendering support https://opensource.googleblog.com/2021/09/using-saliency-in-...

AVIF spec doesn't (although it might gain it: https://bugs.chromium.org/p/chromium/issues/detail?id=122171...)

JPEG-XL manages to be more efficient than other current formats: https://cloudinary.com/blog/jpeg-xl-how-it-started-how-its-g...

All of that while being a good all-around image format (rather than a specialized one like webp and avif): same format for web, photos, raw photos, etc. To me, this makes it the most noteworthy image format now.