skysight-inc/HackerNews huggingface dataset:
I have to disagree with the enum advice. "enum { No, Yes };" is bad (regardless of order) but the solution isn't use bools. The solution is to use a better name "enum { DoNotFoobar, WithFoobar };" is what you should be using. (C++ has scoped enums so you might see Foobar::with or Foobar::without - possibly better if you have that type of option in your language). If you do it this way your code is even more readable, and you can someday realize there is another option as well.

The point of this is DOWN WITH BOOL!
This title was oddly difficult to parse
Anti-Piracy Group Takes AI Training Dataset 'Books3′ Offline
Probably a case of don't ask questions you don't want answers to.
https://archive.li/m2iDl
The community didn't ignore the question, see the other replies. I said that it would be annoying if these types of replies were all I received. And my other post does give a suggestion.
I'm still a little confused after reading through the goals. It seems like there are a bunch of different unrelated goals:

- better js/wasm support
- "platform native sdk" (I don't know what this is)
- cross platform GUI
- Better FFI support
- Kernel support

While all these goals seem cool on their own, they also seem completely unrelated. It makes it a bit hard to understand what this project actually is.
Scaling GraphQL with Postgres – Lessons learned from our database timeout issues
Here is a small article I wrote to describe how we managed to solve our database timeout issues while scaling Graphql with Prostgres at Cycle App. As said in the article, this is not rocket science but just a journey into making an API robust enough to serve a growing user base and some best practices to keep in mind. I Hope some may find inspirations, ideas or simply have a nice read!
Given the poor execution for all of us that bought into WinRT and UWP, Microsoft has to actually deliver for Windows developer community to care about Copilot infrastructure.
There's a comment on the blog that mentions the woman is a journalist at an independent media outlet not affiliated with the government.

I am not familiar with Hungarian politics other than there being a right-wing populist leader in charge. They often come with shill hordes who see independent outlets prepared to criticise the gov as "the enemy". I can imagine she could become a target at the slightest provocation.
I often joke with my wife that capitalism is just a series of solving out problems for the reward of more interesting problems in the future.
I have an Alpha here with OpenVMS! It's fun to play around with. VMS was the first multi-user system I had access to, way back when I was a teenager in the late 80's.
IMO this is the deal:

RDBMS is such a mature and powerful technology, and with the vast power in modern single-node hardware, they will scale to considerable sizes. But there is a limit.

Once a table or set of tables hit a certain scale, it needs to be distributed. Once you get to those scales, you are likely dealing with the threat of exponential data growth, so doing the "distributed Postgres" will bandaid the problem ... but you are starting to run into the CAP theorem's problems.

You'll need to AP-scale the biggest data tables, and since that almost always means a big coding change lift and introduction of an AP-scaling database, it will almost always be a six months to a year transition, and possibly adding an entirely new DB technology (Cassandra / DynamoDB / maybe FoundationDB).

I have yet to have anyone explain how joins scale on an AP distributed database except in limited situations where the joined data is somehow node-local to the other tables, usually some hierarchical situation. Otherwise you are pulling data from lots of nodes and aggregating and comparing the different sets to account for node drift / partitions / network failures. Cassandra and Dynamo basically say "you are scaling a single table/query/update/pre-joined data table".

Which really isn't fun for RDBMS folks. Because it is a shitload of denormalization on top of all the AP headaches and distributed transactions / updates.

As I said, megahuge machines really make that an outside case unless your use case really emphasizes the "A" in CAP, where write speed can be tolerated to be low and you want to tolerate entire cloud or datacenter outages.

But yeah, nosql was never going to kill the rdbms. The functionality/power of rdbms/SQL is so so so so much higher. Just be aware when you're about to shoot over the limit and prepare for the code changes to handle true scale in the (unlikely) event you're going to need it.
“Don’t use this data in your behaviour dataset! It’s from a paying customer
Note well:

https://twitter.com/theshawwn/status/1320282155457646592

Might it be that a frank conversation between adults is what is needed instead of puerile posturing?
After spending the last six months working with a vector database I qualified postgres with its vector extensions this morning and I am trying to toss out everything else.

The operational pains if you need to self host this stuff are real, split brain, backup/restore not really considered (compared to a normal databases features), things like replication and sharding _exist_ but often are a buggy mess.

OLAP is definitely distinct from OLTP, and most of these vector queries have some aspect of both - they are similar to OLAP in that they need a decent amount of preprocessing to be useful (inferrence) and they are similar to OLTP in that they are often used for serving point queries or tiny lookups.
That's kind of a shame, the appeal of a public, peer-to-peer, content-addressable network was very high to me personally, because of its relative uniqueness. For a personal network, IPFS becomes just another technology I could deploy, out of many options.
Same story with AWS. If you got VC money they give you up to $100k in credits, if you're bootstrapped they give you only around $1k
It's hard to understand something if your salary depends on your misunderstanding.

It's even harder to understand something if your self-conception as honorable depends on your mistunderstanding?
I just tore through Starter Villian and accidentally laughed so hard at one point that I woke my sleeping spouse.
Triplex: Visually Edit React Three Fiber Components
Improv was interesting — and then there was Wingz (https://en.wikipedia.org/wiki/Informix_Wingz), another very forward-thinking SS from the early days. I'd love to see a history & comparison of early SS/WP/DB applications in order to see what ideas were tried & left behind because they were too outside the norm for the day or required too many resources which could be reclaimed & worked into today's software.
These books are such a gold mine yet I constantly feel like it's hard to motivate myself to buy one and properly read it through. Suggestions?
There are a few client options; the most widely used one (to my knowledge) is https://github.com/ipfs/kubo for CLI. There's also a desktop client that's pretty nice: https://docs.ipfs.tech/install/ipfs-desktop/
Here is a SQLite extension that uses Faiss under the hood.

https://github.com/asg017/sqlite-vss

Not associated with the project, just love SQLite and find it very useful.
Welcome to the USA, where your worth is literally your money.
Yes. The US is also relatively unusual in continuing to bestow citizenship automatically on everyone born in the country which also means there are many people who have citizenship without any real ties to the country.

It's also unusual in having a tax system where the admin for the average person is a massive pain.
I had a stack of surplus purchase alphas i used for all sorts of things. All but one of them we put SRM bios on when we got them; but that one was for some reason unable to take it and so was stuck with ARC and (as i recall) wouldn't boot linux.

So I gave that one to my teenage nephew, who ran NT on it and became quite the Windows geek with a successful sysadmin career. "I ran NT on Alpha as a teen" is a pretty good resume enhancer, I guess.
> Although I want to believe this problem is more exacerbated with LLMs than with human-tutors.

Well, yeah, but the central insight here is that LLMs enable a worse-is-better approach with a tighter feedback loop. They're not as good as a regular tutor, but a regular tutor costs money, gets impatient, is only available at set hours, etc.

Part of the appeal of learning-by-LLM is that you can get a flash of motivation at 2 AM and go "hey, I should totally learn about X, that would be cool!", open up ChatGPT, ask some very naive questions, and get just enough to get started.
The whole VC startup/tech bubble needs external money to go into the system.

They aren't very interested in taking VC-funded companies money because it will be like taking something out of your right pocket and putting it into the left one - it doesn't do anything to prevent the bubble from popping.

External money (from outside the bubble) however is very important since it's the only thing that will stave off the eventual cascading failure of the industry as all these unsustainable companies (who mostly just pass their VC money back & forth) start falling like dominoes.
I would not go back to using Facebook even if THEY paid me 14$ a month…
That's probably as close to reality as I would guess. We'll have to see if anything gets delivered.

I don't get why Gabriela is so against this project, it might just be vaporware. But invoking the fact that this person is not already established in the community is detraction for detraction's sake (or gatekeeping).

Funny enough, I've also been very slowly chipping away at some base(/prelude) Haskell library replacement, because I find it beyond embarrassing that in 2023 with a default Haskell installation one cannot make a HTTPS GET request.

Haskell comes with half depleted batteries inside the box. And I cheer for anyone that tries to fix the base experience. If this one's vaporware, I'll just wait for the next person that gets too frustrated with the library experience.
> wondering how much of the inherent comedy comes from “the voice” and how much comes from the idea that the man himself sat down and recorded those lines

For me it came from the voice; I hadn't heard of Gilbert Gottfried as a specific person until I read this discussion. The reaction faces of the women listeners were also amusing.
The death penalty is very much the problem when the entire justice system is corrupt.

Statistically, minorities are much more likely to be sent to death once convicted. The state has unlimited resources to convict someone and the defendant usually only has an overworked underpaid public defender.
https://www.imdb.com/title/tt0119094/
You're right, there is no undo button for unnecessary prison time. However, given the choice, I'm sure the innocent people that were essentially murdered by the state would have preferred the option or time and compensation.

The death penalty is barbaric. There is no acceptable argument for it's existence.
I had understood Aurora as just cloud-native MySQL / PostgreSQL

How does that relate to the OLTP vs OLAP dimension? Are they not both primarily OLTP dbs still?
New open source library for fetching FHIR data
Hey,
I have recently published a Scala open source project using ZIO and HAPI FHIR client to easily pull FHIR resources (supports paging, authentication and more)
https://github.com/royashcenazi/fhir-indexer
Be happy for users and contributers as I think this can save a lot of development time for new integrations
Do you have a source on that?

I'm unfamiliar with the laws and jurisprudence on bench trials in the US, but the impression I have is that judges are either required to simply follow the law, or are at least bound by custom to do so.
I think you missed the point. It's not very common for them to imprison you in your own home until you renounce your US citizenship. Any police officer who did so is by that action demonstrating no regard for the law. In particular, they can't expect that your "decision" to renounce citizenship will be recognized as valid in court of law.

Why does it matter that they go to court all the time for other things? For this thing, were it to happen, the court would not recognize the validity of their actions.
I understand what you're saying, and I would caution the same to anyone asking the question I asked. But, my kiddo is very outdoorsy and spends more time outside than inside anyway.

While at home and playing with us, he already does exactly what you listed!!
construction toys like Lego, 3D puzzles (physical, not computer based), gardening, painting (using paint & brush, not an app), music, swimming.. check check and check! :-)

There is still room for more, and I thought I could bring him into my world as wishes... he wants to "work like Daddy" sometimes, and instead of letting him watch Youtube vieos at that time, I'd like for him to explore "his" computer and have fun with it a bit.
"Perfect" is often the biggest enemy of "good enough". Hungary may not be perfect, but it's a first step away from way way worse places.
Great. Now add a cli flag to (really) disable pocket.
I thought rights were inalienable rather than granted by the state
I don't see anything that stands "in opposition to the prior commonly held belief" nor any claim that "now, we just about know everything!" It seems like a natural progression of our understanding. Perhaps, you read a different article than I did.
Extism makes WebAssembly easy
A lot of people ask why one would use Extism and how exactly does it help, so I wrote a blog post to explain it detail. I hope it is informative!
It doesn’t matter. These things help all of humanity.
> erectile dysfunction (which I'm sure was due to trying to push more when on the toilet)

I know pushing on the toilet is the most common cause of hemorrhoids, but I hadn’t seen it linked to ED before. Is this based on research you’ve seen, or just a suspicion you have? If the latter, curious to hear how you’ve connected those two things.
just as a matter of interest, codling is also a name for a small codfish: https://britishseafishing.co.uk/cod/#
How glad I am for the few people who still seem to have rather rational, common sense approach to life.

Also, I red couple of books from John Scalzi and found them enjoyable.
This is tabloid category, why is this on HN?
Poland is as far from pro-Russian as possible. Second only to Ukraine I think. We currently have bad kleptocratic populist government which in the last years lead our country back towards the 90-s (which were not glorious in Poland), but even that government treats Russia as an enemy from the start. The only thing that can be said is that due to their intellectual deficiencies they are susceptible to Russian propaganda, intended to undermine EU.
1. WordPress was too for a time, despite being slow and choke-full of vulnerabilities.

2. Right, at run time. My great-grandma always did say "the best time to catch bugs is in production, use Python sonny".

3. It's not that I need it, it's just that I can't think of any other use for it. Hopefully big data and IoT catches on to the first two points soon enough.
Show HN: Krizmi- Your Virtual Study Partner
Krizmi serves as your virtual study companion. When studying any topic or chapter, simply upload the PDF to Krizmi, and it offers the following features:

Key Features:

==> Memorization Support: As you read the PDF, Krizmi auto-generates flashcards based on the selected text from essential sections. These flashcards can be later reviewed with spaced repetition, aiding in effective memorization and content revision.

==> Quiz Your Knowledge: Select any text or pages from the PDF, and Krizmi auto-generates quizzes to assess your level of preparation.

==> Personalized Feedback: Krizmi analyzes your quiz performance and your familiarity with flashcards. It provides customized feedback, identifying areas where further study is needed and recognizing well-prepared sections. It even creates a tailored study plan.

==> Additional Functionality: Krizmi offers an array of other features, including chat, summaries, translations, explanations, and the ability to add notes based on the PDF content.

We are in the early stages of development and greatly value your input in shaping the product's direction. We welcome your feedback on use cases, target audiences, feature requests, and more.

Please take a moment to try out Krizmi and share your thoughts with us. Your contributions are highly appreciated.

==>Explore Krizmi here: https://krizmi.com/
Today’s depression treatments don’t help everyone
This is my emacsclient starter, which accepts error lines, and jumps to them.

https://github.com/rurban/home-bin/blob/master/myedit
Old Man's War was published almost two decades ago and was Scalzi's first novel. It shouldn't be surprising that it took a lot of inspiration from Heinlein et. al.

His later works either lean way into tropes intentionally (Red Shirts, which I feel is more an exploration of form than a proper novel) or develop entirely new concepts, like the one way travel in the Interdependency series.
Not to be too argumentative, but wouldn't that be an reason for the death penalty? That is, if the stakes are higher (life and death), people naturally care far more than they otherwise would. Were there no death penalty, then people would more naturally fall into that bureaucratic mental trap of "there's still time", when the time they're thinking of is the time of a human's life.

Personally, I find the concept of life in prison to be one of the greatest injustices made by man, and would vastly prefer people to be killed under false premise, or by outright mistake, rather than wasting away for decades under harsh conditions, surrounded by misery, despair, and hopelessness. This modernist quirk of "'life' behind bars" comes off with some strange stink of clinically accepted torture, under the understanding of the ineptitude of a system of justice run by human beings.

Just my two cents though, I know some would strongly disagree for various reasons.
Ask HN: How does AI help you with web development?
Agent-based modeling is a form of modeling which explicates micro interactions to imply macro patterns. That is the connection here.

Your comment looks like it was written by ChatGPT. It misses basic implications about agent-based modeling and has a lot of emphasis on "you seem to mean..." phrasing. Am I close, and if not, was this intentional?
> What makes a case extreme?

A rate of occurrence so low it is best described in terms like 'extreme outlier', 'vanishingly rare' or 'unprecedented'.
Teams investigate material degradation process of carbon-based catalyst
I specified IRL because that's what I'm curious about. You spoke about motorists in general, so you must have spoken with enough of them to have formed the opinion that they respond to your questioning in such a manner. I move in very different social circles, some people I know cycle to work not for the environment but to save money, so the thought of living, breathing humans speaking the way you described comes across as strange to me.
NBA 2K24 Arcade Edition and 3 other fun games coming to Apple Arcade this month
>Having every detail coming from and integrated in one mind, with one vision, iterating without friction, will be unprecedented. No need for actors

Actors don't just mindlessly repeat the lines some singular genius wrote. A lot of famous movie lines/scenes were improvised by the actors.
>companies have to pick poor countries to produce these things

I'm not Hungarian but calling Hungary just a "poor country" feels a bit insulting. Yes it's not US or Germany wealthy, but by global standards of poverty it's quite wealthy and developed.

>Those tend to be the ex-Soviet countries with rather extremist governments.

1. Hungary was never soviet. The only Eastern-EU members who were part of the former USSR were Latvia, Lithuania and Estonia, which are not very extremist (or at least I don't hear about them in the news).

2. Extremism in various shapes and forms, is on the steep rise in the last ~5 or so years, almost everywhere in Europe, including even the more wealthy, progressive and tolerant societies, due mostly to a combination of the following: blatant government corruption with no consequences for the ruling class, shit paying jobs unaffordable housing and ever growing wealth inequality condemning people to a life of serfdom and impoverished retirement, uncontrolled illegal migration, decaying quality of social services and benefits like healthcare and education despite the high taxation, etc.

Angry and unhappy people tend to vent their anger by voting for the anti-establishment extremists despite that being against their best interest: see Brexit also. This is by no means an exclusively Hungarian issue, it just gets parroted the most because Orban makes a good boogie-man for the EU media since he has no filters, but there are other less meme-able political extremists in the EU who don't get as much news time because they're a lot more careful with what they say in public, see Austrian politics.

3. If you consider Poland and Hungary to be "extremist", then what exactly are Turkey, India, Belarus, China, Saudi Arabia, Qatar, Tunisia, Egypt, Morocco, pre-2022 Russia, including Azerbaijan who's been busy waging a war in Nagorno-Karabakh using western arms and gas money, that's turning into a humanitarian disaster, that the west pretends it doesn't see. All some of the West's closest allies and biggest trading partners, and at the same time some of the worst offenders of human rights violations that make Poland and Hungary look like social and democratic paradises in comparison.
Another key problem is that the subject of Scientific investigation (The Truth) is only of secondary concern to our j̶u̶s̶t̶i̶c̶e̶ legal system.
China Is Suffering a Brain Drain. The U.S. Isn’t Exploiting It
It only flooded because the floater sensor in the sump pump got stuck one time, so it didn't realize it needed to suck up the water, it wouldn't have flooded otherwise.

We rented a dumpster and tossed most of what was in the basement (various things were on shelves or in the elevated crawlspace and didn't need to be tossed, like my old NES games), ripped out the carpet, and hired a mold remediation company that ripped out the bottom two feet of our drywall. And we will replace the sump pump soonish, although it hasn't had a problem since.

It's fine down there now. Wasn't cheap to get it to that point, though. Especially since our insurance company doesn't cover sump pump failures unless you have a specific rider, which apparently we didn't have.

Still might not be good enough for you, and that's fine. But I suspect you wouldn't notice if you went down there and didn't know it had once flooded beforehand. About the only telltale thing down there is a bump here and there where the seam of the bottom two feet of the new drywall is.
OK, but do you not see how they might gain opportunity to thrive with putting democracy in the second place in list of values?
Not a problem as long as it stays _other_ people.
Former VMS user here. The whole "affinity" program that DEC keep pushing just seemed confused and pointless. I think by the time DEC management realized that they had "played themselves" it was too late. And then the Itanium thing happened.
In middle school we built a drum with pig‘s bladder.

Take a cardboard tube (like for posters), pull a bladder over it and fix it with a string wound around it.

Changed its tuning quite a bit with air moisture and smelled a bit funny (but not gross). I kept it around as a toy for quite a while.
I appreciate the thoughtful response, despite my comment being less then that. With that said, I am using Python in production for a line business app for a 2 billion dollar company now. I can't imagine why anyone would use this for a multi-team project outside of areas where it's the language with the most libraries(IoT, ML).

Not only is there the type safety issue, the standard testing and ORM libraries are way behind with .NET and Java have. Even Node seems better.