MurphyA/hacker-news huggingface dataset:
by sergiishcherbak | 2025-04-03 20:55:29+00:00
I have just released ContextGem - an open-source Python framework that offers the easiest and fastest way to build LLM extraction workflows through powerful abstractions.

Why ContextGem? Most popular LLM frameworks for extracting structured data from documents require extensive boilerplate code to extract even basic information. This significantly increases development time and complexity.

ContextGem addresses this challenge by providing a flexible, intuitive framework that extracts structured data and insights from documents with minimal effort. Complex, most time-consuming parts, - prompt engineering, data modelling and validators, grouped LLMs with role-specific tasks, neural segmentation, etc. - are handled with powerful abstractions, eliminating boilerplate code and reducing development overhead.

ContextGem leverages LLMs' long context windows to deliver superior accuracy for data extraction from individual documents. Unlike RAG approaches that often struggle with complex concepts and nuanced insights, ContextGem capitalizes on continuously expanding context capacity, evolving LLM capabilities, and decreasing costs.

Check it out on GitHub: https://github.com/shcherbak-ai/contextgem

If you are a Python developer, please try it! Your feedback would be much appreciated! And if you like the project, please give it a to help it grow. Let's make ContextGem the most effective tool for extracting structured information from documents!
by piyh | 2025-04-03 20:55:30+00:00
Presumably the artist is a human who directly or indirectly paid money to view a film containing an archaeologist with the whip.

I don't think this is about reproduction as much as how you got enough data for that reproduction. The riaa sent people to jail and ruined their lives for pirating. Now these companies are doing it and being valued for hundreds of billions of dollars.
by fracus | 2025-04-03 20:55:32+00:00
There must be some statistical method or honeypot method to reliably detect cheaters. Like present the players with a bot who's purpose is to be un-hitt-able unless the player is cheating. I don't know, there has to be a way. Cheaters are disease in online gaming. I know that sensible people won't want to sacrifice their anonymity to provide ID to play a video game but if it is in the competitive scene and they are playing for money, surely it isn't a stretch to ask for ID and thus ultimate accountability.
by diarrhea | 2025-04-03 20:55:33+00:00
This is very exciting stuff.

I’m curious: When you say FOR UPDATE SKIP LOCKED does not scale to 25k queries/s, did you observe a threshold at which it became untenable for you?

I’m also curious about the two points of:

- buffered reads and writes

- switching all high-volume tables to use identity columns

What do you mean by these? Were those (part of) the solution to scale FOR UPDATE SKIP LOCKED up to your needs?
by rrmatjar | 2025-04-03 20:55:38+00:00
Your ultimate travel companion to connect with fellow adventurers, plan trips, and share unforgettable experiences. Key Features:

Connect with fellow travelers: Find like-minded people based on interests and destinations. Plan your perfect trip: Collaborate on itineraries, share recommendations, and book activities together. Share your adventures: Post photos, videos, and stories to inspire others and relive your experiences. Discover hidden gems: Get insider tips and recommendations from local experts and fellow travelers. Safe and secure community: Enjoy a friendly and supportive environment. Adventurous and Exciting:

Adventure awaits. Find your travel tribe.
by mxuribe | 2025-04-03 20:55:50+00:00
Oooooh @b0bben, you got me hooked with that awesome aesthetic! Please keep working on it! I'd be interested in using this app!

A few rhetorical questions:

* Will this be (similar to discord) centrally hosted/managed? That is, would it be like other chat apps in that there is a central server, and clients connect to/are dependent upon it? Or....will it be more federated (like email, matrix)...or will it be peer-to-peer? (I'm sure the more centralized, likely the easier for you to implement, but i figured i'd ask...since i tend to favor less centralized options...but that's just me.)

* If you go the route of open sourcing this, and possibly even enabling self-hosting...have you considered what techstack would be used, such that, it might be easier for folks to spin up their own, and hence you might get more participation from folks who more likely might be into this kind of approach (and cyberpunk aeshetic)? (I know docker, containers are a thing nowadays and may in many cases the techstack becomes less important and often eases the self-hosting burden, but, figured i'd ask.)

I should clarify: NONE of my questions are demands...This is your baby, and you should build it as YOU WISH! My questions are merely rhetorical, and you don't even need to respond to...merely giving you some food for thought. I love me some cyberpunk, and not only aesthetic, but especially the freedoms and approach to libre-centric "lifestyle"...so a cool-looking chat app like what your video showed would pair well with folks who think about at least some of the things i asked about above. ;-)

Anyway, cheers to you on this app, and keep on building it; looks great!!!!!
by op00to | 2025-04-03 20:56:19+00:00
Every hardware vendor has problems. Suggesting that Apple is uniquely bad while others “stand behind their products” doesn’t hold up. The difference is that Apple, after enough pressure, actually fixes things. They create repair programs, offer recalls, and have the infrastructure to make things right. Most vendors don’t. Let’s look at the examples you listed.

Butterfly keyboard

Yes, a bad design. But Apple launched a repair program that covered every affected MacBook for multiple years. I was affected by this, and had my keyboard replaced twice. Compare that to Lenovo’s ThinkPad coil whine and sleep bugs, which they never publicly acknowledged and never fixed. Users were told it was “within spec.”

Batterygate

Apple throttled devices to preserve battery life and didn’t communicate it well. After the backlash, they launched a battery replacement program and settled a class-action lawsuit. HP had massive issues with failing batteries and Nvidia GPUs no meaningful recall, just silence.

MBP GPU failures

Apple ran logic board replacement programs for both sets of failures. They repaired machines years out of warranty. Microsoft, on the other hand, ignored Surface Pro 4 screen flickering for over two years, then limited their replacement program to a narrow window, leaving many customers stuck.

Bendgate

Apple initially downplayed it, but the iPhone 6 Plus was later included in a touchscreen repair program. Compare that to Asus ROG Zephyrus early models that ran hot, warped, and suffered fan noise issues. Users got nothing but “working as intended” responses.

“You’re holding it wrong”

A tone-deaf response. But they gave out free bumper cases to all iPhone 4 customers, no strings attached. Dell’s XPS 15, meanwhile, had persistent audio latency and trackpad issues over multiple generations, and they never rolled out a formal fix or support campaign.

Apple has problems, yes. But they also have stores, trained techs, and formal programs that actually address the issues. The service experience isn’t perfect, but it exists. With most other vendors, you’re stuck mailing your device to a third-party contractor who might show up late and leave you worse off.

Apple doesn’t get a free pass. But pretending they’re worse than companies who ghost their customers when things go wrong doesn’t line up with reality.
by thisdougb | 2025-04-03 20:56:20+00:00
This is interesting, thanks for posting. I've been searching for some sort of 'real' usage of AI-coding. I'm a skeptic of the current state of things, so it's useful to see real code.

I know Python, but have been coding in Go for the last few years. So I'm thinking how I'd implement this in Go.

There's a lot of code there. Do you think it's a lot, or it doesn't matter? It seems reasonably clear though, easy to understand.

I'd have expected better documentation/in-line comments. Is that something that you did/didn't specify?
by erlich | 2025-04-03 20:56:34+00:00
Political discussions for me are like programming. I enjoy them because I like finding bugs in people's logic like I do in programming.

I find a lot of people's political arguments wouldn't compile because of basic logic errors, and I try to point this out. But not many people are interested in this kind of analysis, they instead prefer the tribalist point-scoring like the OP mentions.

I dream of a world where political debates can be syntax-checked. I'm sure you could do it with AI today.

But in the end its all about feelings.

I can't describe how many times I will just go along with someone's passionate ranting on something I disagree with and egg them along because its makes them happy. This is tribalism. I will disagree with the group, and if you saw me you'd think I was the strongest supporter, but I actually vehemently disagree with everything.

There are very few people it's worth having a real discussion with these days.

I don't change my opinion of people for what they think, but it's very rare to find people who reciprocate this.
by toomuchtodo | 2025-04-03 20:56:44+00:00
I will quote a recent exchange:

“How do you feel about this economic path? Are you concerned at all about the harm this will cause?”

“It’ll hurt but I’d vote for him again in a heartbeat.”

Certainly, always compassion and empathy for compassionate people. I am a very empathetic and compassionate person myself, I will give you the shirt off my back. For everyone else? Hard times ahead, as compassion and empathy have limits. Kindness is not weakness.
by abecedarius | 2025-04-03 20:56:59+00:00
Good question. I tried to phrase a concrete-enough prediction 3.5 years ago, for 5 years out at the time: https://news.ycombinator.com/item?id=29020401

It was surpassed around the beginning of this year, so you'll need to come up with a new one for 2027. Note that the other opinions in that older HN thread almost all expected less.
by AnthonyMouse | 2025-04-03 20:57:11+00:00
> OR use borrowing (e.g. current account deficit). If government spending drives productivity growth then it’s a net positive?

That's basically what already happens. The US has been running a huge deficit for a while now.

It also requires government spending to be the spending that drives productivity growth, which most of it isn't.

> OR tax wealth. If most return on international capital investment is being stored in the US, taxing this effectively taxes profits on international sales???

Why would they store the wealth in the US if the US had a wealth tax? One of the biggest problems with a wealth tax is that it has such a strong propensity to induce capital flight.

It's also not just a question of how you structure the tax. Wealth taxes are hard to avoid for things like real estate (can't move it), easy to avoid for things like factories or intellectual property (can easily move it), but the same is true for other taxes that apply to those things. It's easy to impose an income tax on rental income, so you don't need a wealth tax for that. The hard thing is how to impose any tax on all the money the Saudis have without causing them to just invest it in something else, possibly in some other jurisdiction.
by yieldcrv | 2025-04-03 20:58:21+00:00
so basically this framework only excludes spot commodities. yeah its not common for people to be permanently bullish on commodities outside of a few niches like bitcoin and precious metals, so you don’t hear too much about that aside from those communities.

yeah that makes it easy to adhere to, while many other asset classes dont really revolve around scarcity of the asset’s existence and ownership does convey access to a productivity. I understand your criteria now.

For me I don’t have that criteria and don’t mind zero sum things. Its an entertaining and stressful player versus player match in a massive multiplayer game. Some kinds of trades I make are not zero sum, but it’s not an important distinction for me.

I do have a criteria related to human suffering: I mainly avoid exposure to some sectors like defense contracting and publicly traded prisons. Because the incentives are out of whack and dehumanize people while hoping they suffer, said in obtuse terms.

I think there is a flaw in the resource exchange logic you presented. Where you owning 1 kg of gold means the effort to extract that gold had gone to waste. In spot commodities the scarcity and continued demand at higher prices of the commodity is what justifies the further investment into extracting that commodities from harder to reach places. If a single market participant finds utility from the use of that commodity, distinct from hoarding, then acquiring access to more is beneficial. Your hoarding helped. The main difference here is that you are looking at the resource expenditure to acquire the unit you are owning, as opposed to the future utility created by the scarcity you contribute to. That’s a choice, I wonder if there is room to re-evaluate that principle, as I’m not sure we are operating on the same information.
by mmooss | 2025-04-03 20:58:52+00:00
I don't see much talk of donors? My impression is that, as in many situations, the super-wealthy are forming a dominant class - as if it's their right - rather than respect democracy and freedom, and attacking university freedom. Didn't some person engineer the Harvard leader's exit?

Roth says the Wesleyan board is supportive; maybe they are just lucky.
by lerno | 2025-04-03 20:58:58+00:00
For what it's worth, I found the Zig community on the biggest Zig discord very nice and welcoming. But that said, there is a lot of "you have to understand Zig" sentiment. Also, there is a lot of "I discovered Zig and it's finally showing me how to program" echoed as well.

I don't find this an unfair judgment but rather an observation.

I think this naturally arises from the language claiming to be "a programming language designed for robustness, optimality, and clarity" (See for instance https://www.recurse.com/events/localhost-andrew-kelley)

If you feel that this is an optimal programming language that gives more robustness and clarity than other languages, then it's natural to be preachy about it.

This is similar to Rust being sold as safe language, where similarly the proponents of Rust feel that the advantages of Rust need to be spread.

As a contrast, Odin focuses on "joy of programming" as its main goal, and the author does not make any claims of the language having killer features to choose it over something else.

However, it seems to be successful in that new users tend to remark how pleasant and fun it is to program in the language.
by aseipp | 2025-04-03 20:59:16+00:00
The new p150 cards linked in the OP have 32GB GDDR6 @ 512GB/s for $1,300. Which isn't bad on paper, I guess. They're meant to be networked (quad 800GB QSFP-DD) like Nvidia GPUs, so two of them would get you 64GB of VRAM at $2600 for ~600W which is basically what you're asking for? The power usage isn't good enough yet at scale I think, but for a workstation it's quite manageable.

Real workloads remain to be seen, but if they can actually get a working build of vLLM and their cards remain actually buyable, well, they're doing better than some of the competition...
by nonrandomstring | 2025-04-03 20:59:19+00:00
> This isn’t a rant against AI. I use it daily

It is, but it adds disingenuous apologetic.

Not wishing to pick on this particular author, or even this particular topic, but it follows a clear pattern that you can find everywhere in tech journalism:

Some really bad thing X is happening. Everyone knows X is happening. There is evidence X is happening, But I am *not* arguing against X because that would brand me a Luddite/outsider/naysayer.... and we all know a LOT of money and influence (including my own salary) rests on nobody talking about X.

Practically every article on the negative effects of smartphones or social media printed in the past 20 years starts with the same chirpy disavowal of the authors actual message. Something like;

"Smartphones and social media are an essential part of modern life today... but"

That always sounds like those people who say "I'm not a racist, but..."

Sure, we get it, there's a lot of money and powerful people riding on "AI". Why water down your message of genuine concern?
by MrMcCall | 2025-04-03 20:59:29+00:00
6. ensure there are no nulls in firstname and lastname 7. alter the columns to be NOT NULL

Because no non-statistician uses nullable columns, right?

Of course, some dbs (SQLServer?) infer NULL from the empty string, or am I misremembering?

Always having the columns be NOT NULL is a fundamental cheat, after always having a PK, or is that too old school for 2025?
by 9rx | 2025-04-03 20:59:37+00:00
> Still, the number of immigrants to the US for 'brain drain' jobs I'd guess is relatively small

Right, but it's the converse that is the issue: Americans wanting to do jobs that aren't found (or only found in a limited way) in America. Trump also supports them. The intent is to see things like manufacturing jobs happen more often on American soil so that Americans can do those jobs.

> Is that really a passion for many people, working on an assembly line?

The idea of it is, at least. I know a lot of people who have impressive manufacturing facilities in their garages just to support it as a hobby. Manufacturing is clearly a relatively common passion. You may have a point that they might come to hate the work if it became their daily reality, but the emotions that drive this sort of thing are never grounded in logic. Besides, it is not like they love the burgers they are flipping right now.
by rurp | 2025-04-03 20:59:57+00:00
The key difference is that the google example is clearly copying someone elses work and there are plenty of laws and norms that non-billionaires need to follow. If you made a business reselling the image you copied you would expect to get in trouble and have to stop. But AI companies are doing essentially the same thing in many cases and being rewarded for it.

The hypocrisy is much of the problem. If we're going to have IP laws that severely punish people and smaller companies for reselling the creative works of others without any compensation or permission then those rules should apply to powerful well-connected companies as well.
by MaxikCZ | 2025-04-03 21:00:13+00:00
Theres plenty of what you suggest going on all the time, loot spawning in unlootable places etc.

Problem is, theres always some difference between valid and invalid target, and if the game knows it, cheat extracts that information and acts "dumb" around those honeypots. It wont shoot targets that the game doesnt render because the bot checks that attribute. It wont loot that honeypot because its in manualy upkept white/blacklist.

Its just another level of cat and mouse game.
by alkonaut | 2025-04-03 21:00:18+00:00
It's astonishning that we are discussing a price hike of asian made mass-market products (effectively your entire Amazon or Wal-Mart inventory from floor to ceiling) of 10% or more, and that's "just 10-13%" now? As if that alone wouldn't be felt more than the 2008 financial crisis in the pockets of Americans.
by Pet_Ant | 2025-04-03 21:00:34+00:00
> Obviously a horrible hideous theft machine.

I hate how it is common to advance a position to just state a conclusion as if it were a fact. You keep repeating the same thing over and over until it seems like a concensus has been reached instead of an actual argument reasoned from first principle.

This is no theft here. Any copyright would be flimsier than software patents. I love Studio Ghibli (including $500/seat festival tickets) but it's the heart and the detail that make them what they are. You cannot clone that. Just some surface similarity. If that's all you like about the movies... you really missed the point.

Imagine if in early cinema someone had tried to claim mustachioed villian, ditsy blonde, or dumb jock? These are just tropes and styles. Quality work goes much much much deeper, and that cannot be synthesised. I can AI generate a million engagement rings, but I cannot pick the perfect one that fits you and your partners love story.

PS- the best work they did was "When Marnie was There". Just fitted together perfectly.
by FireBeyond | 2025-04-03 21:00:54+00:00
A former employer said that FedEx shipping info would be attached to my separation email. It was not. I emailed the two people at HR who had been involved in my separation. Three times each. No replies.

I still have the laptop. And a hard copy of the emails.

Also, as an aside, it is ABSURDLY easy to bypass MDM and DEP on a Macbook Pro, even a later M series laptop. Absurdly so (anyone here could do it in about a minute or less, and have a de-MDMed, fully updatable, no weirdness laptop. Theoretically).
by JohnFen | 2025-04-03 21:01:05+00:00
Really, (aside from having an always-online portfolio), the benefits the author talks about are all met by just keeping a journal. No blog necessary.

Since I'm unwilling to feed the LLM bestiary, I stopped blogging or putting my code up on the web at all, but I haven't stopped writing. I still get the vast majority of the benefits that blogging gave me.
by chimpanzee | 2025-04-03 21:01:19+00:00
They are opposed to private capital such as the private ownership of the means of production, eg land and infrastructure.

They are generally not opposed to personal property, especially if the property is actively used.

Extreme libertarians, “anarcho-capitalists”, do not distinguish between productive and nonproductive property. And so they ignore the end result of private ownership and accumulation of the means of production: new rulers in some form.

Opinions on money and currency vary.

Similarly, opinions on wage labor vary, but generally they expect a laborer to receive their full worth, ie wage labor would not see profit extracted from it.
by mcv | 2025-04-03 21:01:45+00:00
That's a really blatant lack of creativity. Even if obviously all of those prompts would make anyone think of exactly those iconic characters (except possibly a different version of James Bond or Lara Croft), any human artist could easily produce a totally different character that still fits the prompt perfectly. This AI can't, because it really is just a theft machine.

To be honest, I wouldn't mind if AI that just reproduces existing images like that would just be banned. Keep working on it until you've got something that can actually produce something new.
by mullingitover | 2025-04-03 21:01:48+00:00
People expect to be able to take advantage of events like this, but if you're working for a living when there's blood in the streets, it's your blood. If you're an investor who wasn't correctly catching the falling knife (or insider trading) it's also your blood in the streets.

The Peter Thiels of the world are who this move is for, not us plebes who spend time posting on HN.
by carlmr | 2025-04-03 21:01:51+00:00
>In my experience, declarative APIs are very powerful abstractions for specific cases where finding the path to the declared state is better left to a machine. This is seldom the case

I've been waiting for this top comment for longer than you can imagine. The declarative madness has always bothered me. Sometimes it's easier to maintain when you see the process. And harder to declare the final state. It might look neat, but maintainability beats neatness every day.
by dragonwriter | 2025-04-03 21:01:54+00:00
No, I wouldn't; Ricardian comparative advantage is a thing, and the kind of extreme autarky you suggest means sacrificing domestic prosperity available from maximizing the benefits of trade for the aole purpose of also harming prosperity in foreign countries (but usually less sonthan you are denying yourself, because they have other potential trading partners) by denying them the benefits of trade.

Its a lose-lose proposition.