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.
3,509 karma · joined October 21, 2016
https://jstrieb.github.io
https://github.com/jstrieb
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.
The "hole" syntax for partial application with dollar signs is a really creative alternative that seems much nicer. Does anyone know of any languages that actually do it that way? I'd love to try it out and see if it's actually nicer in practice.
Worth noting that the HTML tag in the title was stripped from the PDF table of contents as well, so the title for that article in the contents is missing a word. No big deal, but good to know for future submissions!
Note that you can link to pages in a PDF with a hash like #page=64 (for example) in the URL.
https://pagedout.institute/download/PagedOut_008.pdf#page=64
Are there plans to upstream this into the Zig std library? Seems like it could be useful for more than just the cryptography package, since the benchmarks at the end have it often being faster than std pdqsort. I just checked the issue trackers on Codeberg and GitHub, and didn't see anything mentioning djbsort or NTRU Prime, which leads me to believe there aren't (official) plans to upstream this (yet).
My version is still working well for me, so it's been hard to find motivation to update it. Also, I've been using my increasingly limited free time to work on some exciting new projects, rather than maintenance tasks that feel like a continuation of my day job.
All that to say I'm excited about new repos like yours that take the idea further! I also really appreciate your attention to detail calling out the differences with the original, and that you licensed your version under the GPL.
As an aside, you may want to add "Show HN" to the title. It will allow the page to show up on https://news.ycombinator.com/show
https://itch.io/jam/langjamgamejam/entries
There were some really impressive submissions in spite of the short time frame!
The main one is to set reader expectations that any errors are entirely my own, and that I spent time reviewing the details of the work. The disclosure seemed to me a concise way to do that -- my intention was not any form of anti-AI virtue signaling.
The other reason is that I may use AI for some of my future work, and as a reader, I would prefer a disclosure about that. So I figured if I'm going to disclose using it, I might as well disclose not using it.
I linked to other thoughts on AI just in case others are interested in what I have to say. I don't stand to gain anything from what I write, and I don't even have analytics to tell me more people are viewing it.
All in all, I was just trying to be transparent, and share my work.
https://www.youtube.com/watch?v=Rt3XyeFHvt4 (poorly transcribed here: https://www.janestreet.com/tech-talks/algorithm-for-precisio...)
If I recall correctly, he used miniKanren along with formalized, structured data extracted from medical research. Unfortunately, his son has since passed away.
If that sounds interesting, I recommend not reading too much about the book before starting it; there are spoilers in most synopses.
https://en.wikipedia.org/wiki/Permutation_City
You don't necessarily need a background in programming and theoretical computer science to enjoy it. But you'll probably like it better if you already have some familiarity with computational thinking.
In the same vein, a few years ago, I made a Firefox extension for users who want a privacy-preserving way to see if pages have associated HN discussion:
https://addons.mozilla.org/en-US/firefox/addon/hacker-news-d...
Most other extensions probably hit an external API (such as Algolia) to check submission status, which means they send every page you visit to that API. Instead, my extension uses Bloom filters compiled from every link ever submitted (updated daily from the Hacker News BigQuery dataset) to check the current page's submission status. By using Bloom filters, my extension only hits the API when you click the button to view the discussion.
Source code here:
https://github.com/jstrieb/hackernews-button
Feel free to pull the Bloom filters from the "Releases" section of that repo on GitHub to use in other projects if you'd like!
Happy to take recommendations for other stuff to drop in there and film!
Also if this sounds cool to you, we're hiring US citizens.
What a funny, positive way to point out our error.
The most effective analogy I have found is comparing LLMs to theater and film actors. Everyone understands that, and the analogy offers actual predictive power. I elaborated on the idea if you're curious to read more:
At my work, we have an X-ray machine for PCB reverse engineering. On Fridays we throw in random stuff from around the office, and sometimes make videos about what we find inside.
A few weeks ago we released an X-ray teardown of several other, older chargers. Very interesting to compare with these fancy new ones!
https://www.911.gov/calling-911/frequently-asked-questions/#...