HNHacker News
TopNewBestAskShowJobs

rhn_mk1

3,392 karma · joined August 1, 2017

Trying to be nicer.

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

submissionscomments
rhn_mk1··on Simulating fluids, fire, and smoke in real-time
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.

rhn_mk1··on What This Country Needs is an 18¢ Piece (2002) [pdf]
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.

rhn_mk1··on What is the index of an empty string in an empty string?
"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.

rhn_mk1··on Do black holes have singularities?
You can get knowledge (e.g. mathematical) without observation. You can't get information without observation.
rhn_mk1··on Do black holes have singularities?
"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.

rhn_mk1··on Ask HN: What apps have you created for your own use?
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.

rhn_mk1··on MemoryCache: Augmenting local AI with browser data
Check out Recoll with Recoll-WE https://addons.mozilla.org/en-US/firefox/addon/recoll-we/
rhn_mk1··on How to run 50% faster without external energy (2020)
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.

rhn_mk1··on How to run 50% faster without external energy (2020)
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.

rhn_mk1··on Beginners guide to building a hardware hacking lab
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.

rhn_mk1··on Beginners guide to building a hardware hacking lab
To let it turn off when you're not using it. It uses an inertial sensor.
rhn_mk1··on The decline of computers as a general-purpose technology (2021)
What the fuck are we doing as a society that we have such a system of perverse incentives in place?
rhn_mk1··on Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
How can it be disabled in certbot?
rhn_mk1··on BeagleV-Ahead open-source RISC-V single board computer
More generally, they are called smart cards, and can be in the form factor of a USB stick (not mass storage USB stick).
rhn_mk1··on BeagleV-Ahead open-source RISC-V single board computer
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.
rhn_mk1··on It's My Monitor
A dream - the code contains a hash which identifies the file. Like ipfs + bittorrent.
rhn_mk1··on The boiling frog of digital freedom
It's ironic that property rights have been eroded in the name of protecting property.
rhn_mk1··on Doing laundry on campus without a phone
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.

rhn_mk1··on Ask HN: What is your policy regarding smartphones for your children?
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).

rhn_mk1··on Doing laundry on campus without a phone
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.

rhn_mk1··on C++ Papercuts
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.

rhn_mk1··on WordPress introduces 100 year domain registrations
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?

rhn_mk1··on AI isn’t good enough
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.
rhn_mk1··on Asphalt Wasteland: Maybe parking does explain the world
Place built to require X is unuseable without X unless the dependency is broken - news at 11.
rhn_mk1··on Asphalt Wasteland: Maybe parking does explain the world
That is not a given, see sibling comment.
rhn_mk1··on Asphalt Wasteland: Maybe parking does explain the world
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.)

rhn_mk1··on Asphalt Wasteland: Maybe parking does explain the world
I guess you chose your work/housing combo to be only friendly to a car. The alternative in this case is to choose a place where they are not so far apart - hardly impossible.
rhn_mk1··on Asphalt Wasteland: Maybe parking does explain the world
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!

rhn_mk1··on A list of recent hostile moves by Google's Chrome team
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.

rhn_mk1··on A list of recent hostile moves by Google's Chrome team
Can you show some sources for how Brave is scamming people out of privacy (or whatever else "privacy scam" means)?
Page 1 of 34Next →