rhn_mk1

Joined 9 years ago

Karma
3,392
Submissions
1,858
Member since
Aug 1
Trying to be nicer.

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

View on Hacker News

Recent submissions

Comment · 2 years ago
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.

Comment · 2 years ago
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.

Comment · 2 years ago
"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.

Comment · 2 years ago
You can get knowledge (e.g. mathematical) without observation. You can't get information without observation.
Comment · 2 years ago
"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.

Comment · 2 years ago
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.

Comment · 2 years ago
Comment · 3 years ago
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.

Comment · 3 years ago
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.

Comment · 3 years ago
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.

Comment · 3 years ago
To let it turn off when you're not using it. It uses an inertial sensor.
Comment · 3 years ago
What the fuck are we doing as a society that we have such a system of perverse incentives in place?
Comment · 3 years ago
How can it be disabled in certbot?
Comment · 3 years ago
More generally, they are called smart cards, and can be in the form factor of a USB stick (not mass storage USB stick).
Comment · 3 years ago
Does the secure enclave need to be built into the main CPU though? A key store on a USB stick or on a TPM will never allow your keys to be exfiltrated, yet it's not part of the CPU, and it's even removable.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton