HNHacker News
TopNewBestAskShowJobs

bprew

16 karma · joined August 3, 2021

submissionscomments
bprew··on Red Alert 2 in web browser
Not the source code, but I am working on a re-implementation of it for Shandalar's 30th anniversary.

You can play a minimal web version at: - https://throwingbones.com/ben/s30/

Source: - https://github.com/benprew/s30 (patches welcome!) Written in Go using ebitengine

bprew··on Steam Machine
The 24.04 beta is really stable and the new cosmic DE is great! I've got it on my desktop and laptop, no problems.

System76.com/pop/pop-beta

bprew··on Source code for the X recommendation algorithm
Facebook has a "friends only" feed (Friends button, next to Home), but it's not chronological.
bprew··on Europe enters the exascale supercomputing league with Jupiter
I took it to mean that the controller of the most powerful computer in Europe is Europe, as opposed to Apple or Google or another private entity.
bprew··on My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)
His point isn't that you can run a model on an average laptop, but that the same laptop can still run frontier models.

It speaks to the advancements in models that aren't just throwing more compute/ram at it.

Also, his laptop isn't that fancy.

> It claims to be small enough to run on consumer hardware. I just ran the 7B and 13B models on my 64GB M2 MacBook Pro!

From: https://simonwillison.net/2023/Mar/11/llama/

bprew··on Classifying all of the pdfs on the internet
Hi snats, great article. You mention the accuracy of the various techniques you used, could you explain more about how you calculated the accuracy? Were the pdfs already categorized?

Thanks!

bprew··on Show HN: Extract Markdown, HTML or text from content-heavy websites
I wrote something similar so I could save recipes and web pages for reading offline. And if you save in html, it will inline images, so you can have a single file. In markdown, it just creates a link.

It also uses turndown and readability.

It's pretty finicky (readability doesn't always identify the correct content or misses pieces of the content). If you want to charge for it, you'd have to fix some of those edge cases.

Also, I don't think the value is this product is turning web pages into markdown, there are many free web clippers and archive sites that do this already. I see this as more of an "extra" in a product, like how Evernote has a web clipper built in to their note taking product.

Also, it's cool to see other people care about a stripped down web reading experience too!

https://github.com/benprew/clippy

bprew··on Actual is going open-source
Thanks for the post Sagar, I'm the maintainer of reckon [1], a tool to help categorize transactions, which I used in ledger. There are a lot of interesting tools for doing plain text accounting [2] and I'm always interested in learning about new ones.

Reckon uses TF/IDF with cosine similarity, but I would be interested to see how you use Random Forest. Please post your code somewhere, I'd love to see it and learn something new!

[1] https://github.com/cantino/reckon [2] https://plaintextaccounting.org/