Recent submissions

Comment · 6 months ago
Great post! Me and my son just made THE STEEL JAW! Epic!
Comment · 7 months ago
Comment · 8 months ago
I love this. I drill this into my children, they have it memorized.
Comment · 8 months ago
> How are they not rational?

It's the meth.

Comment · 10 months ago
This is awesome! I started experimenting with LLMs and Ableton over the break too. I used a few off the shelf VST templates to create a VST that leverages an LLM that can create LilyPond format music. This creates multi track VST output (MIDI) from the parsed LilyPond. I have a system prompt that explains LilyPond to the LLM (it already knows anyhow), and then I give it a prompt like "Megaman, 64 bars, ice man level", and it pumps out 4-5 tracks of MIDI that is just what I asked for. I get nice sheet music on top of that.

I like this because I'm really in the creative process still, it feels like a tool like "Scaler" (nice tool btw) where you're picking origin notes, but really putting the song together yourself. It can suggest "Synth Bass" but I'm the one assigning it from one of my other VSTs sounds, mixing, picking, etc.. And if all goes well playing some lead on the guitar or seaboard and then deleting it all and starting over.

Comment · 1 year ago
> "As the letter states, based on the agency's thorough review, neither the Numident database nor any of its data has been accessed, leaked, hacked, or shared in any unauthorized fashion," an SSA spokesperson told The Register. Again, no mention of that copy.

Wouldn't "any of its data" qualify as an answer to the question: "was the data in the database leaked"? It seems like SAA did answer, but we needed to generate clicks.

Comment · 1 year ago
I'm not at all surprised that the majority of top level comments are saying things in the spirit of "Trump is trying to kill us to make money!" when if you were following along this _multi decade long regulatory battle_, and knew about the not-so-recent Chevron Deference rulings you could have predicted this. You wouldn't even need to leave HN to keep up, it gets posted here all the time!

And these comments have an air of erudite smugness about them that can only come from a person completely without doubt of their convictions - even while being completely devoid of any value to the conversation.

The title is at best hyperbolic and at worse at outright lie - in any case the pattern of the title was intended to stoke whatever mental illness we see at play here: "I speculate endlessly on my own world view to the theme of the article title so I can signal to my peers that I'm doing righthink.".

But this is what makes the article get engagement, so to hell with communicating ideas, let's stoke division and get those clicks!

Comment · 1 year ago
Conspiracy theories coming true are going gangbusters as of late. Maybe they should be re-labeled "narratives that while they are true might disrupt the current power structures so we will paint anyone who believes them as a loon.". For every "we didn't land on the moon" there are several fairly devastating theories that turned out to be very true:

"the CIA is infiltrating the news agencies to spread propaganda and label things conspiracy theories"(https://en.wikipedia.org/wiki/Operation_Mockingbird)

"the government is planning to kill citizen on US soil to start a war" (https://en.wikipedia.org/wiki/Operation_Northwoods)

"we should start a war because the people just don't like war enough!" (https://en.wikipedia.org/wiki/Gulf_of_Tonkin_incident)

"we should start another war because people just don't like war enough!" (https://en.wikipedia.org/wiki/Curveball_(informant))

"the government is spying on all citizen by collecting all communications in mass" (https://en.wikipedia.org/wiki/Stellar_Wind) (https://en.wikipedia.org/wiki/PRISM)

"The virus didn't come from a lab - we totally weren't making bioweapons!" (https://en.wikipedia.org/wiki/Origin_of_SARS-CoV-2)

Ahhh yes, the current conspiracy theory that is about to crack. Watch the propaganda at full power. Better than the wiki article do a web search for "covid 19 origin" and watch as "Eco Health Alliance" pops their sponsored ad at the top of the search results, for those not studying the topic ecohealth is the the group that created the virus project (https://theintercept.com/2021/09/23/coronavirus-research-gra...) DARPA said it was too dangerous so they rejected it, so they went to the NIH who gave us COVID19. The NIH has already been caught dead to rights paying specifically for "gain of function research on bat coronaviruses in the Wuhan lab" from which the virus escaped. And if you read that wiki article, it still a "conspiracy theory". (https://abcnews4.com/news/nation-world/nih-letter-conflicts-...).

I wonder if the wikipedia editors will allow you to update the page with this "new" information. Something tells me this page is locked. So with this one we can watch the "conspiracy theory" slowly turn into just a plain old boring "conspiracy" and everyone can say "See! We all knew the whole time! It was super obvious!" like the rest of the list.

Crazy how these very true super evil transgressions by our own government get balled in with "the earth is flat" huh. Almost like it was intentional. Oh right operation mockingbird, duh!

Comment · 1 year ago
While the UK's demands will surely be laughed at, I'm fairly sure George Orwell's estate has a solid copyright claim here against the UK.
Comment · 1 year ago
Right? I had a picture of Turing on my wall long before this institute existed and it will hang there long after no matter what these fools do.
Comment · 1 year ago
> In March last year more than 180 staff wrote a letter to leadership expressing “serious concerns” about the organisation’s approach to diversity after it appointed four men to senior roles.

If you change the sex and it becomes a sexist statement, it was always a sexist statement.

Comment · 1 year ago
I politely pointed out that this previous submission "Stop using REST for state synchronization" (https://news.ycombinator.com/item?id=43997286) was not in fact ReST at all, but just an HTTP API and I was down voted for it. You would think that programming is a safe place to be pedantic.

It's all HTTP API unless you're actually doing ReST in which case you're probably doing it wrong.

ReST and HATEOAS are great ideas until you actually stop and think about it, then you'll find that they only work as ideas in some idealized world that real HTTP clients do not exist in.

Comment · 1 year ago
Reminds me of: https://en.wikipedia.org/wiki/Sloot_Digital_Coding_System

The Sloot Digital Coding System is an alleged data sharing technique that its inventor claimed could store a complete digital movie file in 8 kilobytes of data — which, if true, would dramatically disprove Shannon's source coding theorem, a widely accepted principle of information theory that predicts how much data compression of a digital file is mathematically possible. The alleged technique was developed in 1995 by Romke Jan Bernhard Sloot (27 August 1945, Groningen – 11 July 1999,[1] Nieuwegein), an electronics engineer from the Netherlands.[2] Several demonstrations of his coding system convinced high-profile investors to join his company, but a few days before the conclusion of a contract to sell his invention, Sloot died suddenly of a heart attack. The source code was never recovered, the technique and claim have never been reproduced or verified, and the playback device he used for demonstrations was found to have contained a hard disk drive, contrary to what he told investors.

Comment · 1 year ago
> 1. Do you use the CRDT document as the source of truth or as just synchronization with a database as the source of truth. If the document is the source of truth, do you keep data in it or copy the data into some other format that's easier to query?

The DB is the source of truth (DynamoDB, spanned binary chunking) and holds the YJS binary document which is also the source of truth, so I guess the doc? I keep a number of copies of this document in different states because of my aforementioned distrust of computers. 1) Per edit event is recorded as S3 JSON, 2) per edit binary document is kept in dynamoDB, 3) per edit serialized JSON of the document content in S3. This trail of breadcrumbs keeps my anxiety down and has in the past helped recreate documents when "something bad" happened. Something bad was always _my_ poor implementation of YJS causing the document to either grow too big or start throwing warnings - both of which are catastrophic IMO if you're maintaining documents for 3rd parties. The document is kept in sync with a vector state exchange lambda that loads the "latest" document from dynamo and compares the client vector state to the server's "latest" in the DB and responds with a delta. All of this is binary which is a bit unnerving. YJS provides ways to dip into that data stream but it's equally unnerving to unbox the complex CRDT schema in the guts of the lib. When writing data I use dynamo DB's exclusive write mode where conflict writes (based on a version number) will go into a retry mode which at worse costs a few extra ms. This ensures that "latest" never loses an event with concurrent overwrites. I rely on this and the CRDTs communicativity to make sure no writes are ever lost. Since the lib is "local first" all this interaction is transparent to the user.

> 2. How do you handle changes to the schema of the CRDT documents?

I defined a new hypermedia specification, basically HTML as JSON. {id, parentId, type, props, events, acl, childIds}. I make a flat map and build a hierarchy for my editor, then flatten it back out to save it saving the child's Ids to maintain order when building the linked list from the ymap object (hashmap).

This makes it so the core schema never changes, only the type (aka tag) changes and the props/events def from that type. This all is defined in a swagger doc which allows for this type of schema definition. This is reused at runtime for schema validation.

To introduce changes I introduce new types (aka tags) so if I had "type: ThingV1" now I have "type: ThingV2" with a new contract. This also helps with the downstream artifacts from the programs as the devices that get the schema can ignore types they don't implement and use the ones they do, and we can put them both on the same response who's core endpoint should always be v1 because the core schema never changes (thanks W3C for the idea).

> 3. How granular do you go with documents in the spectrum of "one per user" to "one per object"?

It depends on the requirements for the projects, but in all cases the documentId is the partition key for the dynamoDB allowing proper scaling. The content of the document is many per user, sometimes hundreds of documents per user. There is absolutely no query surface for these documents, you can only look them up by direct ID. There is another system that keeps track of the document directory and I would add a query surface of some sort there via event projection if I needed to query my documents - which I fortunately do not.

So far so good! The only thing that is pricy is the breadcrumbs which I'll start tuning to store less as I'm probably coping the same data 5x or more.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton