Recent submissions

Comment · 1 year ago
I think our memories are rooted in time and space. "Which years did we go on our family holiday to Scotland? Can I see all my videos from when my kids were toddlers? Let's see that specific photo of sunset at the Grand Canyon, I think around 2021? What was the cafe we stopped at on our road trip? How did my flower garden change since I bought my house?"

(I put in a timeline (histogram) of photos, and keyword search, to serve these kinds of needs.)

Comment · 1 year ago
My team has a large ocaml codebase and a dual build system (buck2 and dune). The two have roughly similar: dune faster at the raw speed of invoking ocaml build tools, buck2 winning out when a lot of stuff has to be rebuilt and it uses distributed build system.

The major pain point is LSP integration, which has to be closely tied to the build system, since it's only by building that the LSP server can know a file's dependencies. Everything is all neatly available with dune. We've cobbled something together a bit with buck2 but it's not as nice.

Comment · 1 year ago
I'm struggling to understand how a moat can have a CRACK in it.
Comment · 2 years ago
In my web-scraping I've gravitated towards the "cheerio" library for javascript.

I kind of don't want to use DOMParser because it's browser-only... my web-scrapers have to evolve every few years as the underlying web pages change, so I really want CI tests, so it's easiest to have something that works in node.

Comment · 3 years ago
I presume it means things like "does cross-file go-to-def and find-all-references work instantly after opening a file?" In most IDEs these things take seconds or minutes to become available, depending on project size
Comment · 3 years ago
Comment · 3 years ago
I got into ultramarathon swimming because of that movie. I've since done numerous unaccompanied 12mile swims in nearby Lake Washington (Seattle), several accompanied sea crossings, and one 24mile swim. On every swim I think of Vincent and that phrase.

How it started -- I was swimming along the shore of the lake, figured that if I saved nothing for the journey back then the worst that could happen is I run out of energy and have to haul myself into someone's back yard and ask them for help. That wouldn't be too bad, so I might as well. It's amazing how much I can trick my brain+body into going further than it otherwise would.

Comment · 3 years ago
What does it mean to open-source or MIT-license a "file format"?

The MIT license is a license about copyrighted software, allowing people to use/modify/publish that software. But a file format isn't a piece of software.

Are you open-sourcing the specification document for the file format? (people are still free to write software that reads+writes the file format even if the specification document isn't open-sourced).

Are you open-sourcing your particular library for reading the file format? (I'm confused here, because you stressed that the file format was so simple, so I'd have expected it easy and maybe even desirable for many people to come up with libraries for reading+writing the file foramt?)

Comment · 3 years ago
I wrote https://github.com/ljw1004/seaoflogs - an interactive filtering tool, for similar ends to what's described here. I wrote it because my team was struggling to analyze LSP logs (that's the protocol used by VSCode to communicate with language servers). But I made it general-purpose able to analyze more log formats too - for instance, we want to correlate LSP logs with server logs and other traffic logs.

(1) I wanted something where colleagues could easily share links in workplace chat with each other, so we could cooperatively investigate bugs.

(2) For LSP we're often concerned with responsiveness, and I thought the best way to indicate times when viewing a log is with whitespace gaps between log messages in proportion to their time gap.

(3) For LSP we have lots of interleaved activity going on, and I wanted to have visual "threads" connecting related logs.

(4) As the post and lnav say, interactivity is everything. I tried to take it a step further with (1) javascript, (2) playground-style updates as you type, (3) autocomplete which "learns" what fields are available from structured logs.

My tool runs all in the browser. (I spent effort figuring out how people can distribute it safely and use it for their own confidential logs too). It's fast enough up to about 10k lines of logs.

Comment · 3 years ago
Those numbers are easy to find on google! Iowa 14-18" average topsoil depth in 1900, 6-8" in 2000. I'm not sure anyone could tell acceleration/deceleration over this timescale.
Comment · 3 years ago
That was a deeply beautiful interview. Such profound yet relatable thoughts, humbly expressed.
Comment · 3 years ago
I felt exactly the same. Silicon valley attitude "woah dude that's awesome". UK fenland attitude "don't get your hopes up and know your place".
Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton