Better HN
topnewbestaskshowjobs
Log inSign up

maxmcd

1,941 karma · joined Sep 7, 2011 (15y ago) · 690 submissions

maxmcd.com

gmail: max.t.mcdonnell

github.com/maxmcd

Submissions

comment 1y ago · link · parent

Such a cool idea. I have https://chess.maxmcd.com/ and (before blocking most of them) many bots played thousands of moves deep. I remember bingbot was very active.

comment 1y ago · link · parent

Does this become much trickier because they're trying to heat to 600c?

comment 1y ago · link · parent

This library is wild https://github.com/cvilsmeier/sqinn

Sqlite over stdin, to a subprocess, and it's fast!

comment 1y ago · link · parent

The //indirect dependencies I believe are just there to track dependencies that are not in the project, or to help with caching: https://github.com/golang/go/issues/36460

In go 1.17 they were added so that project loading did not require downloading the go.mod of every dependency in the graph.

comment 1y ago · link · parent

For what it's worth I think Go's MVS somewhat meets the desire here. It does not require lockfiles, but also doesn't allow use of multiple different minor/patch versions of a library: https://research.swtch.com/vgo-mvs

I believe Zig is also considering adopting it.

If there are any dependencies with the same major version the algorithm simply picks the newest one of them all (but not the newest in the package registry), so you don't need a lockfile to track version decisions.

Go's go.sum contains checksums to validate content, but is not required for version selection decisions.

comment 1y ago · link · parent

Was quite confused by this one: https://github.com/ioccc-src/winner/blob/master/2024/cable2/...

comment 1y ago · link · parent

Looks like this is a wrapper around: https://github.com/mlc-ai/web-llm

Which has a full web demo: https://chat.webllm.ai/

comment 1y ago · link · parent

Hard to blame the CAP theorem since this is a problem across an interface layer. If the DB knew about the data it could manage the LSM tree without issue.

comment 1y ago · link · parent

Since this is about aborted writes during VACUUM then this is likely also relevant: https://www.cs.cmu.edu/~pavlo/blog/2023/04/the-part-of-postg...

comment 1y ago · link · parent

Data races are covered: https://harmony.cs.cornell.edu/book/#sec-57

Threads+locking introduce data race issues into Harmony's model. As far as I can tell.

comment 1y ago · link · parent

How would a distinction between concurrency and parallelism benefit the modeling of program logic?

The programming language incorporates thread+locking mechanisms.

comment 1y ago · link · parent

router.blockdh100b.net resolves

so does router.blockdh100c.co

comment 1y ago · link · parent

Ah cool, the note here is also interesting: https://pkg.go.dev/github.com/google/uuid#EnableRandPool

comment 1y ago · link · parent

I think "no buzzwords" would be further in the direction of:

"This software let's you set up peer to peer networking between your devices, expose them to the internet, run applications on them, view useful runtime information, and integrate easily with cloud providers and infrastructure you're familiar with."

comment 1y ago · link · parent

also: https://crates.io/crates/object_store

comment 1y ago · link · parent

yep: https://github.com/hugomd/parrot.live/blob/f349d2788fc47ac5f...

comment 1y ago · link · parent

Thanks for all your work Sean! It's been a delight to use your webrtc libs and see your impact across a broad range of technical efforts.

comment 1y ago · link · parent

I think the upcoming CedarDB is HTAP? https://cedardb.com/

Clickhouse performance for Postgres workloads?

comment 1y ago · link · parent

I don't think this is trivially fixed since you can still only have one writer that is holding the lease.

Your new service will come up, but it won't be able to get the write lease until the previous server shuts down. Now you have tools to detect this, stop one writer, and start the other, but the service will likely have to experience some kind of requests queueing or downtime.

comment 1y ago · link · parent

Looks like the code is here: https://github.com/benbjohnson/litestream/tree/v0.5

Really nice to see this, I wrote this comment almost 2 years ago when I was a little miffed about trying to use litestream and litefs: https://news.ycombinator.com/item?id=37614193

I think this solves most of the issues? You can now freely run litestream on your DB and not worry about issues with multiple writers? I wonder how the handoff is handled.

The read replica FUSE layer sounds like a real nice thing to have.

edit: Ah, it works like this: https://github.com/benbjohnson/litestream/pull/617

> When another Litestream process starts up and sees an existing lease, it will continually retry the lease acquisition every second until it succeeds. This low retry interval allows for rolling restarts to come online quickly.

Sounds workable!

comment 1y ago · link · parent

https://ball.disco.coop/Peer_Production_License

comment 1y ago · link · parent

Since db cache consistency is a complex research space with things like https://readyset.io/ and https://www.usenix.org/system/files/conference/nsdi13/nsdi13... it would be great to hear more specifics about what this is giving up in order to sidestep all that complexity.

comment 1y ago · link · parent

If you missed it, there was a nice story around One Million Checkboxes: https://eieio.games/blog/the-secret-inside-one-million-check...

I wonder if something similar will happen here.

@eieio please open source the Go code, would be fun to poke at.

comment 1y ago · link · parent

This project has a pattern just like that to handle the inbound USPS information:

https://www.val.town/x/geoffreylitt/stevensDemo/code/importe...

I think it would be pretty easy to extend to support other types of inbound email.

Also I work for Val Town, happy to answer any questions.

comment 1y ago · link · parent

Anyone want to hazard a guess about the likelihood of us ever getting high quality versions of these commercials? Are many of these likely lost to time, or is it possible that high quality copies exist somewhere?

56.

Installing NPM Packages Quickly(healeycodes.com ↗)

1 points · by maxmcd · 1y ago · discuss

12345
23