HN user

karagenit

844 karma

http://caleb.software

Posts66
Comments80
View on HN
caleb.software 5mo ago

Min-Maxing My Recent Posts

karagenit
1pts0
blog.chatfield.io 6mo ago

Simple Method for Distance to Ellipse (2017)

karagenit
1pts0
caleb.software 6mo ago

Expecting Claude Code Usage

karagenit
1pts0
www.wsj.com 8mo ago

'Ich Bin Ein Berliner': JFK Got It Right–He Was No Jelly Doughnut

karagenit
4pts4
sett.homes 10mo ago

Reverse-Engineering the LCD Display Interface of the Nest 2nd Gen Thermostat

karagenit
67pts22
caleb.software 1y ago

Scraping Zillow for the Little Guys

karagenit
5pts3
echorand.me 1y ago

Embedding files in Go using the "embed" package

karagenit
2pts0
jakearchibald.com 1y ago

The case against self-closing tags in HTML (2023)

karagenit
3pts0
darekkay.com 1y ago

Grab browser links and titles in one click

karagenit
4pts0
jameswarnersmith.co.uk 1y ago

Canoeing on the Danube

karagenit
79pts26
www.oncontracts.com 1y ago

Breaking up a "spaghetti clause": Apple iCloud terms of service update

karagenit
2pts0
blog.jim-nielsen.com 1y ago

Things I Learned Reading WebKit's UA Stylesheet (2021)

karagenit
2pts0
hn.caleb.software 1y ago

Show HN: My HN Front End with Topic Filtering

karagenit
1pts0
blog.keyvan.net 1y ago

Parsing HTML with PHP 8.4

karagenit
2pts0
www.amd.com 1y ago

Technical Details of AMD-135M Small Language Model

karagenit
2pts0
mvasilkov.animuchan.net 1y ago

The Making of King Thirteen

karagenit
1pts0
quuxplusone.github.io 1y ago

Nash equilibria in Ballmer's binary-search interview game

karagenit
2pts0
philpearl.github.io 1y ago

Random Values in Pointers

karagenit
35pts2
tris.fyi 1y ago

Massachusetts Bodged Transistor Authority

karagenit
113pts22
vitaut.net 1y ago

Honey, I shrunk {fmt}: bringing binary size to 14k and ditching the C++ runtime

karagenit
244pts128
www.catb.org 1y ago

Crackers, Phreaks, and Lamers

karagenit
3pts0
sysdig.com 1y ago

LLMjacking: Stolen Cloud Credentials Used in New AI Attack

karagenit
1pts0
wonger.dev 1y ago

There is only one amphibian emoji

karagenit
64pts76
mcfunley.com 1y ago

I Tried to Use AI to Read an AI Book

karagenit
1pts0
port19.xyz 1y ago

Faster Emacs Init

karagenit
3pts0
katemats.com 1y ago

Bad Software Architecture Is a People Problem (2016)

karagenit
1pts0
blog.alexchantavy.com 1y ago

Using the Google geocoding API to find a new apartment (2015)

karagenit
1pts0
caleb.software 1y ago

Categorizing Hacker News Posts

karagenit
3pts1
alinpanaitiu.com 1y ago

Reverse engineering the MacBook clamshell mode (2023)

karagenit
3pts0
calpaterson.com 1y ago

There aren't that many uses for blockchains (2022)

karagenit
49pts80

Can I ask how your orgs measured productivity before and after remote work/RTO? I agree that employees would have a much easier time accepting RTO if they were given hard evidence it makes the business more productive, but it seems like almost all companies don’t do this and simply justify RTO “because we know best” which frustrates ICs.

Yep, and following that with

and Chinese models are poised to take the lead.

makes it sound like the second part is a continuation of the first quote from the same source, but actually the second link is just some random person’s substack post from almost a year ago.

You will encounter business decisions you think are terrible but you still have to sell to your team. You cannot vent your frustration to the people you lead.

I actually disagree with this point a lot, as an IC. My manager shares his honest opinions with us, and I respect him more for it. It seems like the rest of the team feels the same.

I’ve had managers try to sell <obviously bad thing> as something good for the team, and it sucks. It feels like being gaslit. I think honest, open communication is a much better way to run a team. We’re all adults and professionals too; we can handle the truth.

Curious how you’re handling prompt caching, as I understand it most LLM providers essentially inject tool definitions in the system prompt, so changing tools dynamically breaks the cache. This has been a big annoyance for me in a separate project; I currently just implemented my own tool-ish system that defines schemas in user messages and instructs the LLM to return matching JSON, but it’s less reliable than using the native tool calling + structured outputs available in the API.

True, but the article also says:

That's it. No rate limiting. No account lockout.

To me, if he confirmed that there’s no rate limiting on the auth API, this implies a scripted approach checking at least tens (if not more) of accounts in rapid succession.

Yeah, I'd probably go that route if I wanted to scrape more than the handful of pages I needed for this project. I wonder if it would work on Zillow or not. Even my simple workflow of "click the next button, save the request in devtools, repeat" was suspicious enough to trigger a captcha-type "are you a bot?" challenge. Maybe it was just too many requests quickly like you mentioned, or maybe they're doing something more advanced like mouse movement tracking.

Yep, been waiting for the same thing. Maybe at some point it’ll be possible to use a large multilingual model to translate the dataset into one programming language, then train a new smaller model on just that language?

Hah at least it’s two/three letters, my personal site is at .software and most people get really confused by an eight letter TLD.

In terms of total petroleum products (including crude, gasoline, and diesel) the US has become a net exporter in the last few years.

In 2020, the United States became a net exporter of petroleum for the first time since at least 1949. In 2022, total petroleum exports were about 9.52 million barrels per day (b/d) and total petroleum imports were about 8.33 million b/d, making the United States an annual net total petroleum exporter for the third year in a row.

https://www.eia.gov/energyexplained/oil-and-petroleum-produc...

For the foregoing reasons, we hold that district courts must apply the traditional four factors articulated in Winter when considering the Board’s requests for a preliminary injunction under §10(j). We therefore vacate the judgment of the Court of Appeals and remand the case for further proceedings consistent with this opinion.

Correct me if I’m wrong, but it sounds like this is just about a temporary injunction to give the employees their jobs back while the actual labor case gets decided? The lower court used the two part McKinney test to grant the injunction, and the Supreme Court said no, you have to use the four part Winter test like other district courts, go back and decide again.

I have zero medical expertise, but were the two blood tests and an xray really necessary for what seems like a simple case of dehydration?

Anecdotally, I recently got a simple blood test to keep an eye on something that’s been borderline in the past. Unbeknownst to me, my doctor ordered nearly 30 things to be checked in the blood panel, at $50-$100 a piece. Luckily my insurance negotiated a much lower price and covered most of it, but I can’t imagine paying $2,000+ just to check e.g. your cholesterol level.

I think the problem is alignment of incentives: for a doctor, over-testing has little to no negative consequences, but under-testing could lead to guilt due to a patient dying, loss of reputation because something was missed, lawsuits, etc.

As a society, is this how we should be using our limited medical resources? What if we made fewer xray machines and instead spent more on something like cancer screening? How many net lives could we save?

Very neat. Would it be more efficient to start with every known pangram (~35k) and calculate the score from there instead of scoring every possible set of 7 letters (~8B) and then filtering for pangrams?

I don’t know, it was a pretty simple demo (just audio recording, transcription, and summarizing) so would it really be worth faking? The only things the article mentions are the typo (which actually makes me think it’s more likely to be real than faked) and the audio mismatch (which he explains on twitter was simply because he clicked an earlier recording accidentally - makes sense, I would do a dry run before actually recording the demo too).

Yeah, I've been bitten by those quotes in the past too. I noticed recently that VSCode (probably other IDEs too) highlight these characters pretty clearly to help avoid these issues.

Definitely some interesting results, though I wish they went into a little more detail on their methodology. For example, is lower case better because it’s harder to read Titles With Every Word Capitalized? Or is it because PR titles in ALL CAPS tend to get ignored for being annoying which biases the results against capital letters?

Also I don’t buy their time saving numbers at the end. According to their own numbers the average dev spends 1.34 * 590 = 791 days per year waiting on review?? At least at my company I’ve never had to sit and wait around for a review, even if thr PR is blocking some other work there’s always been unrelated stories to do instead.

I totaled up the results from only the "crosschecked" CSV files, here's what I saw:

  APC:  5928825
  LP:   4731127
  PDP:  4555334
  NNPP: 1019045
I tried to manually verify about a dozen rows myself, half were so blurry/low res they were illegible but the ones that were legible were all correct.

And for the "unsure" CSVs:

  APC:  1308067
  LP:    578482
  PDP:   736183
  NNPP:  513245
Also checked about a dozen, and all but one of them were wildly inaccurate so I wouldn't trust these much.