jstrieb
Joined 10 years ago
Joined 10 years ago
https://www.craigslist.org/about/best/all
I like that the Craigslist site design is utilitarian and hasn't changed much over the years. The downside is that stuff like this can hide in plain sight.
On math or programming problems, they are overfit to solving the entire thing end to end (presumably for benchmarks). I have had very poor results asking for pointers and hints that don't give away key insights. This has been the case across models I have tested.
An architecture with a "judge" that gates responses and ensures a lack of spoilers would probably work better. But this is a simple thing that they keep messing up.
https://github.com/jstrieb/hackernews-button
My project is somewhat different from the userscript in that mine uses Bloom filters to check whether a link has been submitted, whereas this userscript sends every page you visit to the Algolia search API. Using Bloom filters means that there are no external requests unless you actually press the button. My project also doesn't show the comments in a sidebar.
Having a link to past discussions, whether using this userscript or my extension, is useful not only to read the comments for a page you're browsing, but also to find good sites that haven't been submitted yet!
I haven't had a chance to read the code yet, but how does this actually adjust the text? I get that it uses Knuth-Plass to calculate layout, but what does it do in CSS (or SVG?) to apply the layout to the DOM?
Looks like the first commit was sometime last week, which is pretty tight turnaround for something like this. For my own sanity when reading the code (no judgment either way), did you use LLMs to help write this? Knowing is helpful for me to calibrate what I pay attention to when reading through the code.
Zig is a relatively young language with a small community, and Oven/Bun is one of few places that someone could previously have written Zig code professionally. It's therefore Zig's business to make sure that either it's a good place to refer community members for work, or that they don't explicitly encourage people to work there. Likewise, as one of the highest-profile Zig projects, the community's leaders were understandably invested in making sure it represented the language well.
I feel like I am exactly the target audience for this post: someone who uses Zig regularly, but hasn't touched Bun, despite being aware of it. While I would have proceeded differently than Andrew Kelley here in terms of framing and phrasing (and leaving out some parts entirely), I do think reading this gave me new information about Zig's relationship to Bun. The specific dry, professional post you suggest wouldn't have given me any new information at all.
I do want to point out that the data in that ClickHouse playground only seems to go as far back as April 6, 2024 according to the query below:
SELECT * FROM hackernews_history ORDER BY update_time ASC LIMIT 10
This is of course still extremely useful, and generous! It just wasn't obvious from the comment that this isn't querying against all Hacker News data.In Nightcrawler, some characters are trying to get ahead, and others are desperate not to fall behind, but their opportunism (driven by the necessity to make money in order to survive in our capitalist society) makes all of them vulnerable to exploitation by an ambitious psychopath. In that case, he is profit-motivated, whereas the article here is about dictators retaining power, but the same principles apply. The movie does an amazing job of exploring how these individuals can wield power irresponsibly, poison everyone who gives them an inch, and sound almost reasonable while they do it. It is a masterful portrayal of how much some people can be willing to compromise on their morals for their job.
If you haven't seen it, you should watch it. If you have seen it, but don't remember it being deeply critical of capitalist society, you should re-watch it. (It's easy to get so engrossed by the truly suspenseful and thrilling moment-to-moment action that you miss the big picture.) The deterioration of American news media is a more overt theme in the movie, but in my opinion, that serves as a complementary backdrop to the anticapitalist message, which is the engine that drives the movie inexorably onward. Also the acting, directing, and writing are great.
Don't spoil it by reading the plot summary, just watch it.
https://jstrieb.github.io
https://github.com/jstrieb