Recent submissions

Comment · 2 years ago
I like how he didn’t explicitly request 22. It was more like “anything 1-255 would be great... oh, by the way, I happen to be using 22...”
Comment · 2 years ago
Comment · 3 years ago
It seems like the U should be “Unambiguous” rather than “Ubiquitous”?
Comment · 3 years ago
Comment · 3 years ago
So basically Perl autovivification for Python?
Comment · 3 years ago
Glider was the Flappy Bird of its day!
Comment · 3 years ago
I’ve been using it for most of those years, and still use it every day. We recently had to wrangle a bunch of 400Mb+ XML files, and everyone else’s editor struggled even to open them, while I happily regexed my way around extracting various data.

However, I reluctantly have to say that when working with TypeScript codebases specifically, I do feel the lack of IDE features for recognizing imports and cross-referencing symbols across files. Any other BBEdit diehards in this position? What have you ended up doing?

Comment · 3 years ago
I’m going to hear the Paul Simon lyric as “Don’t I know you from the megachiropteran’s party?” from now on
Comment · 3 years ago
Comment · 3 years ago
Hmm, pretty sure the Beav was long gone from the airwaves by 1969…
Comment · 3 years ago
Yes, exactly. “Bake your mocks into your third-party library implementations” is an interesting idea and might be a useful thing to do, but it’s certainly not “testing without mocks.”
Comment · 3 years ago
> The factory should create a “Nulled” instance that disables all external communication, but behaves normally in every other respect....

>...For example, calling LoginClient.createNull().getUserInfo(...) should return a default response without actually talking to the third-party login service.

So... a mock.

Comment · 3 years ago
Comment · 3 years ago
> There's nothing in the underlying HTTP response from https://csvbase.com/meripaterson/stock-exchanges that tells me I can get an HTML or CSV version. Is there a JSON version available? What other variants exist? How do I know that this URL will deliver different responses?

Well, you can send a HEAD request with a given accept: header to find out what you’ll get without actually fetching the data. But it’s true that it would be nice to have the full set of possible responses advertised somehow.

Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton