HNHacker News
TopNewBestAskShowJobs

rrauenza

4,236 karma · joined May 1, 2013

submissionscomments
rrauenza··on Anthropic Console overcharged my card 100x due to internationalization input bug
Someone above also points out the inverse also fails for a decimal locale:

> I'm looking at the "Add credits" screen on https://platform.claude.com and it prominently displays the "total due" as $504.00 when typing `5,04` into the input...

rrauenza··on Anthropic Console overcharged my card 100x due to internationalization input bug
Your situation is not funny, but it reminded me of an old story from the internet in the 1990's, The Neiman Marcus Cookie Recipe

> My daughter & I had just finished a salad at Neiman-Marcus Cafe in Dallas & decided to have a small dessert. Because our family are such cookie lovers, we decided to try the "Neiman-Marcus Cookie". It was so excellent that I asked if they would give me the recipe and they said with a small frown, "I'm afraid not." Well, I said, would you let me buy the recipe? With a cute smile, she said, "Yes." I asked how much, and she responded, "Two fifty." I said with approval, just add it to my tab.

It ends with them being charged $250 not $2.50 and the author shares the recipe with the world as revenge.

https://www.snopes.com/fact-check/neiman-marcus-cookies/

rrauenza··on Show HN: Leaves – A text-UI disk usage treemap visualizer
I had just been looking for a windirstat like tool for linux the other day.

What I really also want is a way to do an offline index that this reads ... I ended up using duc. Maybe I will fork and add it!

thanks for sharing!

rrauenza··on CEOs who think AI replaces their employees are just bad CEOs
Remember the printer in Office Space?
rrauenza··on A Decade of Slug
Here's an alternate if you're also getting connection reset errors:

https://web.archive.org/web/20260317185928/https://terathon....

rrauenza··on Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
My mnemonic is “In Essence” and “for EGsample”
rrauenza··on Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
soft keyword for anyone not familiar like I was ...

"A new soft keyword lazy is added. A soft keyword is a context-sensitive keyword that only has special meaning in specific grammatical contexts; elsewhere it can be used as a regular identifier (e.g., as a variable name). The lazy keyword only has special meaning when it appears before import statements..."

rrauenza··on Bcachefs removed from the mainline kernel
I've been using btrfs for maybe 10 years now? -- on a single Linux home NAS. I use it in a raid1c3 config (I used to do c2). raid1cN is mirroring with N copies. I have compression on. I use snapshots rarely.

I've had a few issues, but no data loss:

* Early versions of btrfs had an issue where you'd run out of metadata space (if I recall). You had to rebalance and sometimes add some temporary space do that.

* One of my filesystems wasn't optimally aligned because btrfs didn't do that automatically (or something like that -- this was a long time ago.) A very very minor issue.

* Corruption (but no data loss, so I'm not sure it's corruption per se...) during a device replacement.

This last one caused no data loss, but a lot of error messages. I started a logical device removal, removed the device physically, rebooted, and then accidentally readded the physical device while it was still removing it logically. It was not happy. I physically removed the device again, finished the logical remove, and did a scrub and the fsck equivalent. No errors.

I think that's a testament to its resiliency, but also a testament how you can shoot yourself in the foot.

I've never used RAID5/6 on btrfs and don't plan to -- partly because of the scary words around it, but I also assume the rebuild time is longer.

rrauenza··on The bloat of edge-case first libraries
I think of this as fail fast. Fail immediately so its easy to root cause the failure and not have it be hidden and cause more obscure side effects later.
rrauenza··on You can't test if quantum uses complex numbers
Today I learned that complex numbers can be represented by matrices... thanks! https://www.youtube.com/watch?v=HbUewIIpl6I
rrauenza··on Bulletproof host Stark Industries evades EU sanctions
Are you thinking of HP or did they both do it?

https://www.youtube.com/watch?v=Gnjb1WVkhmU

rrauenza··on How to Get Foreign Keys Horribly Wrong
How can we determine if an index can be satisfied by a constraint index?

For example, does the FK need to be the first field in a unique together?

rrauenza··on Brad Lander detained by masked federal agents inside immigration court
I hope to see qualified immunity eventually re-evaluated by the courts due to this...
rrauenza··on Company Reminder for Everyone to Talk Nicely About the Giant Plagiarism Machine
Thanks for helping pick apart the argument presented to me.

I don't like the idea that photos I've published on, say, flickr have been pulled into these. Especially stuff I've published with creative commons non-commercial use.

rrauenza··on Company Reminder for Everyone to Talk Nicely About the Giant Plagiarism Machine
They are. I meant the subset of fan art of the infringing type where you make fan art of, say, Mickey Mouse and sell stickers.
rrauenza··on Company Reminder for Everyone to Talk Nicely About the Giant Plagiarism Machine
I wasn't intending to include fan art.

Copying Miyazaki's style ... or copying Monet's style... those aren't fan art.

rrauenza··on Company Reminder for Everyone to Talk Nicely About the Giant Plagiarism Machine
I had this argument presented to me and I wasn't sure what to do with it.

> Humans are allowed to "absorb" art around them into their brains and generate derivative art. People may copy Miyazaki's style... why shouldn't an AI farm be allowed to?

Let's put aside for a moment that AI may have "consumed" some art without a license (e.g., "google books" - did google purchase every book?).

rrauenza··on Static Types Are for Perfectionists
Agreed -- dataclasses over dicts. And for legacy code I try to move them to typed dictionaries.

Pydantic is also helpful to enforce types on json.

I've also stopped passing around argparse namespaces. I immediately push the argparse namespace into a pydantic class (although a dataclass could also be used.)

rrauenza··on Company Reminder for Everyone to Talk Nicely About the Giant Plagiarism Machine
How could the author not have called it the Giant Plagiarism Tool or Giant Plagiarism Technology ...
rrauenza··on Static Types Are for Perfectionists
I adopted Python type annotations on a new project I was writing. Requirements shifted a lot as well as the implementation.

It was amazing. I could refactor quickly after changing a dataclass, field name, function arguments, type, etc. I just ran mypy and it immediately told me everywhere I needed to update code to reference the new refactored type or data structure.

Then only after it was mypy clean, I ran the unit tests.

rrauenza··on The Books of Earthsea by Ursula K. Le Guin
I always thought it was Card who invented it for Ender's Game. (He borrowed it)

Thanks for the fun fact!

rrauenza··on Mark Zuckerberg Says Social Media Is Over
It’s odd that in the iPad version, the friends button at the bottom doesn’t take you to the same feed, but rather lists of people to add.
rrauenza··on A steam locomotive from 1993 broke my yarn test
I'm trying to recall -- wasn't there someone who had a similar issue with a game? Maybe a (pun not intended) Steam game? They'd try to run their game and something else would launch? Or vice versa?
rrauenza··on Decomposing a Factorial into Large Factors
Quoting the ask ...

> However, I was not able to adjust parameters to reach t(300000) >= 100000 in this manner. Perhaps some readers here who are adept with computers can come up with a more efficient construction to get closer to this bound? If one can find a way to reach this bound, most likely it can be adapted to then resolve conjectures (ii) and (iii) above after some additional numerical effort.

rrauenza··on Ask HN: Is Washington Post correct in saying Signal is unsecure?
It also doesn't adhere to gov't record keeping policies / laws.
rrauenza··on Gene Hackman has died
I saw a reference the dog was locked in its “crate”.
rrauenza··on Surnames from nicknames nobody has any more
pumpkin and munchkin come to mind. Googling, apparently napkin is also from that.
rrauenza··on Mike the Headless Chicken
Came up on Junior Taskmaster today … https://youtu.be/Dkdcggh1SbU
rrauenza··on What nobody tells you about documentation (2017) [video]
This was submitted back in 2019, but got no love: https://news.ycombinator.com/item?id=21297082

It's a 30 minute presentation on how (and why) to split your documentation into Tutorials, How To's, Reference, and Discussion by Daniele Procida, a Django dev and Django Foundation board member.

rrauenza··on Tell HN: Google OAuth consent screen issue could be costing you signups
There's a way to disable this! I found this out recently (I've only checked with Chrome, but it's a google setting not a Chrome one):

https://support.google.com/accounts/thread/219332922/how-to-...

Page 1 of 19Next →