HNHacker News
TopNewBestAskShowJobs

1-more

1,824 karma · joined July 21, 2015

submissionscomments
1-more··on Solving the 1+N Query Problem
> a good APM is a fail safe that compensates for other failures.

Absolutely. The ideal organization would adopt a tool to make squiggles when you do something silly AND have an APM that treats slow pages as bugs AND have a culture of triaging bugs among the teams and having all engineers take a ownership of how the app is working. Swiss cheese model. When I worked at the place with assert_no_n_plus_ones it was the closest thing to that ideal organization.

1-more··on Radiation link in flight attendant's breast cancer, French court finds
I smoked less in Prague than in the US. I was addicted to nicotine, sure, but I was also addicted to taking a little vacation outside whatever venue, and in Prague (in 2008) you could smoke just about anywhere.
1-more··on Dolly Parton has died
The movie is snare-drum-tight scriptwriting. Great flick.
1-more··on Solving the 1+N Query Problem
I used to work somewhere that was really good at testing. We had `assert_no_n_plus_ones` in our rspec controller tests where we'd load a page of things with one thing on it and again with many things on it and assert that the number of DB queries was the same between both.

The thing is, as a developer I want every dumb mistake I could make appear as a squiggle in my editor. The hierarchy for programming error reporting is something like: lawsuit, social media post, ticket filed by support, bug found by QA, failing browser driver regression test, failing controller test, failing UI unit test, failing linter bug (elm-review is incredible for lint with auto fixes), failing compile which is caught by my editor. Only the last two might not require me to write any code, and only the last one might not require me to even write any configuration. If the error is caught anywhere past QA, that's good and cool, no disagreement there. But if it's found before I could ever have to assert it's not there, I feel so much more secure that I haven't introduced it.

1-more··on France's tax agency got hacked (in French)
In Russian the word for train is poezd, and the prepositional form is poezdje, so you say "I am on the train" "ya v poezdje" (Russian has no articles and drops the copula when it carries no information, so word for word it's "I on train.") One of my friends once told her mom on the phone "ya v trenje" meaning that she took the word "train," pronounced it as though it were a native Russian word "tren", and added the typical masculine inanimate prepositional ending to it. Kinda funny.
1-more··on One corner of China’s internet is insisting that the Tang Dynasty never existed
Not to be confused with https://en.wikipedia.org/wiki/New_chronology_(Fomenko) which I thought was the same as this but actually compresses a whole lot more time into less than 1000 years and does word magic to imply that King Solomon = Suleiman the Magnificent.
1-more··on How does IKEA come up with names for its products?
It's not even that hard? Polish always takes a lot of crap for using z to modify the previous letter in exactly* the same way that h modifies the previous letter in English.

* I'm sure it's not exactly the same, but people appreciate the effort of getting 90% of the way there by doing that.

1-more··on Casio F-B100W-1A
I've been thinking of going back to a smart watch and only turning on notifications for texts from my wife. This so I can leave my phone out of my hands when I'm with my son.
1-more··on Police officer used Flock cameras to track estranged wife 717 times
> Flock very recently rolled out a system that tracks usage and flags possible abuses

I asked one of my nurse friends if they can see gory (figurative or literal) medical details for anyone who has been in their hospital or parent medical system. She said that in Epic, access is logged and audited so it would become a problem if you were just searching for local celebrities. Just as a warrant canary is a good thing to have as an early commit in your social network, "who saw what and when" is a feature that needs to exist early in any tool for authority figures.

1-more··on Rethinking Database Programming
"Stop" is no longer the right word. Elm had a release on July 6th. The counter has reset.
1-more··on Rethinking Database Programming
None of the forks really have the same design goals as Elm though, so if you're compiling Elm code into JS you're probably using the Elm 0.19.2 compiler, not a fork.

- There's an outside chance you're doing Zokka to allow for custom package repos (I think that's the only difference).

- You may be using the Lamdera compiler to use Set and Dict natively with your custom types.

If you're doing something other than compile Elm to JS for UIs, you may in fact be using one of the actual forks.

1-more··on New Mexico court orders Meta to pay $567m over harms to children’s mental health
You say this is as though I were dunking on the idea of hazard pay, and that my dunking deserved a riposte dunking. I am not against hazard pay. Companies have not eliminated hazardous work in Vietnam yet, so the incentive has not gone all the way to its intended end.
1-more··on Why Are There Statues of Beavers on Top of This Oxford Street Shop?
$1.2 Million worth of wetland restoration and years of ecological revue skipped https://en.wikipedia.org/wiki/Beaver-engineered_dam_in_the_C...
1-more··on New Mexico court orders Meta to pay $567m over harms to children’s mental health
> minors get rewarded for signing up for the platforms that are harming them in the first place.

Vietnamese labor laws require higher salaries and more time off for working in hazardous/toxic conditions. These jobs become more attractive than the less toxic/hazardous ones.

1-more··on Nobel Disease
I never thought about how they all talk about physics! Yow!
1-more··on Dates That Don't Exist (2015)
> there must be some way they handled it because something that said that it happened on a date that never occurred - sounds like what lawyers live for.

Yeah there are a lot of examples of dates being written two ways on the same document/artifact. In the Anglosphere there are two changes that happened close together: the movement of the new year from Lady Day to the first of January, and the Julian/Gregorian calendar jump, so that confounds things slightly. https://en.wikipedia.org/wiki/Old_Style_and_New_Style_dates

1-more··on Dates That Don't Exist (2015)
Hadn't Britain established the C of E permanently by 1570, so it wasn't part of the Catholic world any more?
1-more··on Devtools must be open source
The language I use at work has one formatter with zero configurability. This is a good thing. It has had a long open issue on github: allow users to put an import statement anywhere in the source code (not in the middle of a function, but between functions) and have it move up to the import section at the top of the file. This is syntactically invalid if left unformatted; you can't have imports after the first definition. I'd talked to the program's creator and he said it was going to be a high effort change because the formatter is a fork of the compiler, and the compiler first considers imports before switching to considering function declarations.

I gave problem to Claude and went and did yard work. It handled it in one shot, including writing tests that I could understand and be satisfied that it works. The PR implementing this remains open and that's fine; it's a lot to ask a maintainers to take responsibility for code I don't fully understand. I don't want to lean on them! But now I use my modified version of the formatter, and I think some people at work do too. It's an amazing era for "give me this feature why not?"

1-more··on How Hollywood stopped making movies in Hollywood
We have funny examples a little bit like "imagine FC Barça moving to Madrid" in the US. Used for comedy (but these are all real examples) from the opening monologue of the film BASEketball

> The Minneapolis Lakers moved to Los Angeles, where there are no lakes; the [Houston] Oilers moved to Tennessee, where there is no oil. The [New Orleans] Jazz moved to Salt Lake City, where they don't allow music.

Other names like that are

- the Baltimore Colts (named for Maryland's thoroughbred racing tradition) moving to Indianapolis (more known for open wheel auto racing),

- the Vancouver Grizzlies moving to Memphis, Tennessee (which never had Grizzlies even in the post-glacial period)

- the Brooklyn (Streetcar) Dodgers moving to Los Angeles in 1958 right when the LAMTA took over the few remaining street car lines before replacing them with buses in 1963.

The closest thing I can think of in European sports, and it's a stretch, is cycling teams. I picked this teams as the first example I could think of, not because it's some egregious example:

1984–1986 Kwantum–Decosol

1987–1989 Superconfex–Yoko

1990–1992 Buckler–Colnago

1993–1994 WordPerfect

1995 Novell

1996–2012 Rabobank

2013 Blanco

2013–2014 Belkin

2015–2018 LottoNL–Jumbo

2019–2023 Jumbo–Visma

2024– Visma–Lease a Bike

via https://en.wikipedia.org/wiki/Visma%E2%80%93Lease_a_Bike_(me.... Also note that the team was newly formed from a schism in TI–Raleigh, where the other half of the riders went to Panasonic.

The parallel is that the name changes make tracking that team a real ship of Theseus problem: if the name, sponsors, riders, and staff turn over, is it worth calling it the same team? Similarly, if a football team changes cities, names, personnel, and owners, is it worth calling it the same team (Houston Oilers, Tennessee Oilers, Tennessee Titans)?

1-more··on The front end framework for correctness: built on Effect, architected like Elm
My perf ceiling in Elm has been in two places:

- Elm CSS and even then, it was on a page with I think hundreds of accordions. We had to use Css.Global to create class based states, then toggle classes.

- Loading a massive library of data and leaving it in the state to make navigation within that library's pages faster. It was a classic tradeoff of upfront vs incremental load time, and we'd just over indexed in one direction.

1-more··on The front end framework for correctness: built on Effect, architected like Elm
The front page example rewritten in Elm, in case you want to compare apples to apples https://ellie-app.com/zqnVHwRJSGpa1

Styling is all gross, sorry.

1-more··on Scanning for Pangram Errors
Is Mistral primed to see Chinese tables in order to pass the Chinese room experiment?
1-more··on Passkeys were invented by engineers with zero understanding of consumer brain
yeah but my problem is that I can't fall back to logging in to ADP with a password. Maybe there's some way to fix this? IDK.
1-more··on Passkeys were invented by engineers with zero understanding of consumer brain
> If I accidentally set up a passkey on my phone (let’s say I use Safari one day instead of my go-to, Brave), can I still log in without that passkey on other devices?

N=1 and I'm sure I'm holding it wrong, but I can only log in to ADP to request PTO from my personal laptop because I set up an iCloud passkey, work laptop does not allow access to iCloud keychain, and you can't request PTO from mobile.

1-more··on My midlife crisis Corolla is fast, furious, and modded
Think about how much louder a gas mower is than a car. They're insane!
1-more··on Perfection is not over-engineering
hahah I picked that up from a youtube woodworker when I was a CALENDAR YEAR into building my son's toy chest. A lot of measurements I had sweated over didn't matter; they are inside of the channels on shaker panels. A bunch of things I didn't sweat are apparent; not ever pencil mark got sanded off before I oiled it and I didn't notice.
1-more··on I Stopped “Creating Content”
In Molly Lambert's "Jennaworld" podcast, she says that Playboy . com was the one of the first places to use "content" in the way it gets used these days. I definitely believe it; there are a lot of euphemisms in that world!
1-more··on Workspaces – Explore the workspaces of modern creators
DAMN it's me and dude who got got by the CFPB for, everyone say it with me, telling everyone that they could get rich if they bought his magic beans! I'm way nicer than him; I don't defraud anyone!!
1-more··on PSA about abuse of cat(1) command. Don't abuse cats
I'm never doing just one thing to a file! I'm grepping and JQing and then piping it to JQ again because I'm kind of dumb (and it's faster to do what I do know how to do than it is to look up the perfect way to do it), then I'm outputting as a TSV and piping that to `column -ts $'\t'`. ^r reveals a decent example:

    cat expected.1376| sed '1,4d' | rg '(\t\d)\t.*' --replace '$1' | column -ts $'\t'
I was figuring shit out along the way and it'd be pretty annoying to adjust which command gets the filename throughout that process.

You know what? I'll tell you another thing I do that's similar:

    SELECT * FROM whatever WHERE true
        AND last_modified > 123
        AND otherfield NOT NULL
Always bugged me that you say WHERE for the first one and AND thereafter, so if I'm poking around the database trying to create actionable insights for key stakeholders at the speed of business just as I was above with the text file, I like to be able to futz and delete/add clauses as I see fit just as I do pipeline stages.
1-more··on Workspaces – Explore the workspaces of modern creators
Guess I'm the only dude with his home gym in the same room as his work desk? In the Claude Code era it's an absolute gamechanger.
← PreviousPage 3 of 32Next →