Hacker Newsnew | past | comments | ask | show | jobs | submit | cma256's commentslogin

Excited for the 2D calculator. The 1D calculator is very timely because I'll be framing a few walls soon. It is indeed just a circle.

Glad it can of use! You're welcome to share any feedback!

As of yesterday I decided I want to try adding a GTK runtime for Elm. Write Elm, compile to JS, execute with QuickJS, bridge to GTK, render a native app using the JS state machine.

The goal is basically what's listed on the Elm website. No runtime errors, fearless refactoring, etc. But also improved accessibility for developers who want to create a native "Linux" app. IMO Linux should be so accessible and so amenable to rapid prototyping that it is the default choice when building a new GUI app.


Great catalogue. On the topic of msgspec, since pydantic is included it may be worth including a bench for de-serializing and serializing from a msgspec struct.


If you're into AI music I leave this without comment: https://www.youtube.com/watch?v=S4GrSKMzQg0


I came to post the exact same link. So instead I leave this Motown Soul version of Eminem which is equally as wild:

https://www.youtube.com/watch?v=bqH-GKVyryM


I was prepared to be absolutely fucking disgusted by such a comment but I.... shit. I mean... this is.... this is wild

I gotta go contemplate 'where we're at' again it seems. If that is truly a straight generative audio diffusion model.... wait, how did they get the same verse by verse chord progressions to match? this has to be professionally post-produced, right? AI models aren't able to do this end-to-end yet, right?


> wait, how did they get the same verse by verse chord progressions to match?

Usually these AI covers don't use AI for the whole thing, but rather specifically for melding the to-be-impersonated voice into some given melody. That's been possible for a couple years now with decent results; one of my favorite examples is that of Plankton from Spongebob singing Disturbed's cover of “Sound of Silence”: https://www.youtube.com/watch?v=7eLRsw9mkmY

Possible that these newer ones are also using AI to generate other musical elements, but it's probably all being combined after-the-fact rather than being generated all at once.


I had similar emotions. The cover of 21 Questions by the same YouTuber is even better. And other covers of Mario's "Let Me Love You" and Mariah Carey's "All I Want For Christmas" are equally mind blowing.

I'm ashamed to say I prefer these to the originals so much so that its difficult for me to listen to them any more. Make of that what you will...


As a big fan of Chris Cornell I went through the same stream of emotions with their Motown version of Like a Stone[0]. And if you can get past the thumbnail, check out the 2000s Rock version of Many Men[1]

[0] https://www.youtube.com/watch?v=_88Qg8FGrqY [1] https://www.youtube.com/watch?v=8gFKREP3gPg


Probably not end to end, no. But you can make something similar to just about any pop song on suno.com now.


You could argue that point but you would need evidence which showed trade with dictatorships resulted in peace in Europe. To that point, my gut reaction is that peace in Europe is a product of internal politics, MAD, American imperialism, and global trade (in that order).

The past fifty years may just be an exceptional footnote. Fifty years is not a significant period of time and the peace we have endured has not been evenly distributed (nor does it appear to be stable).


One can argue about the causes -- and no doubt there are many, the biggest IMO being that WW2 was so horrific that Europeans were willing to do anything to prevent it again -- but there's no disputing that the last 75 years of peace in Europe is unprecedented in its long history of near-continuous inter-state warfare for the past ~2000 years (since "Pax Romana").


> WW2 was so horrific that Europeans were willing to do anything to prevent it again

But this is total childish nonsense. We gained 75 years of peace in Europe not because the war was terrible, but because the entire world was divided between the USA and the USSR. And, as it happened, these two countries decided not to fight each other in a full-scale war.


No, sorry, but that's incorrect.

The reason we gained 75 years of peace is because France and Germany decided to form an alliance to prevent further conflict (considering they had just fought 2 wars in the space of 40 years), and, as a secondary goal, to reduce dependence on the US (de Gaulle being especially eager), starting with the Treaty of Rome, and evolving into the EU.


Yeah, shure. Germany, which started WW2, and France, which collapsed and capitulated less than a year later.

There have been no wars in Europe for 75 years because for those 75 years the United States single-handedly decided with whom Europe would start wars.


Node count doesn't matter. You could use an embedded database and encounter the same problem. There is some time T between when you acquire a lock and release it. Depending on the amount of contention in your system, this will have some affect on total throughput (i.e. Amdahl's law).


How familiar are you with MVCC?

https://www.postgresql.org/docs/current/mvcc-intro.html

Asking because needing a lock for changing a row isn't the only approach that can be taken.


Almost all commercial MVCC implementations (including Postgres) use row locks. Very few use OCC even though it's arguably a more natural fit for MVCC. Pessimistic locking is simply more robust over varied workloads.


Its a financial database built for use cases where this invariant holds and built for enabling new use cases where this invariant prevented businesses from expanding into new industries. The creator says as much:

> Without much sweat for general purpose workloads.


Having a niche and expanding into new industries are all fine, there is no problem with having a DB filling a particular sub-segment of the market.

But writing that traditional SQL databases cannot go above these "100-1000 TPS" numbers due to Amdahl's law is going to raise some eyebrows.


He clearly says this is in the context of "transaction processing" in the comment you're responding to.


> But writing that traditional SQL databases cannot go above these "100-1000 TPS" numbers due to Amdahl's law is going to raise some eyebrows.

I don't think that's controversial. Amdahl's law applies to all software. Its not a peculiar feature of SQL databases. The comment is well-contextualized, in my view, but reasonable minds may disagree.


You’re changing the subject to the company’s mission when the concern was about a specific claim made.


A specific claim about OLTP processing under contention. Or how would you characterize the specific claim, specifically?


I'm writing a programming language for feature-flags/remote-config. I figure a simple DSL has to be an improvement over YAML or a series of forms in a web app.

I'm also generally disappointed by the lack of testing that's performed on feature-flag definitions. So I'd like to have a test runner capable of asserting your feature flag's rules matches your intent.


Wait until you find out what language Python is written in.


Last time I looked it was in C.


It's better than a professor in some respects. A professor can teach me about parser combinators but they probably can't teach me about a specific parser combinator library.

There's a lot of specificity that AI can give over human instruction however it still suffers from lack of rigor and true understanding. If you follow well-trod paths its better but that negates the benefit.

The future is bright for education though.


I am not really sure how bright the future is.

Sure, for some people it will be insanely good: you can go for as stupid questions as you need without feeling judgement, you can go deeper in specific topics, discuss certain things, skip some easy parts, etc.

But we are talking about averages. In the past we thought that the collective human knowledge available via the Internet will allow everyone to learn. I think it is fair to say that it didn't change much in the grand scheme of things.


> In the past we thought that the collective human knowledge available via the Internet will allow everyone to learn. I think it is fair to say that it didn't change much in the grand scheme of things.

Just an anecdote of course, but for me having access to the internet changed my life. I found a community I couldn't find locally (programming) as I'm from a rural place, and most of my employments since then have, in one way or another, come from people finding me on the internet. I'm surely not the only one who managed to climb the class ladder mostly because of the internet.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: