MurphyA/hacker-news huggingface dataset:
by profstasiak | 2025-08-04 10:06:45+00:00
we can obviously use highschool logic for that, or we can see studies.

I don't really have time to go deeply into this, but here is your official government source saying that age limit for alcohol works by limiting deaths etc from alcohol use for people under 21

https://www.cdc.gov/alcohol/underage-drinking/minimum-legal-...
Show HN: Vibe Coding Bot – Write and run code in Telegram on mobile
by nickqiao | 2025-08-04 10:06:52+00:00
Hi HN,

I built a Telegram bot that allows you to vibe coding directly in chat, optimized for mobile use.

Key features: – Run CLI commands via Telegram chat – View code diffs with syntax highlighting via Mini App – Full permission control before executing any command – Local deployment supported (no public IP required)

Try it: https://chatcode.top GitHub: https://github.com/Nickqiaoo/chatcode

I’d love feedback, especially on mobile experience and security design.
by javcasas | 2025-08-04 10:07:52+00:00
> Some have even suggested the young are unhappy having BS jobs.

That is such crazy level of spin it would make electrons orbiting atoms ashamed.

So the young are expected to be happy to waste their life doing something they know is even less than worthless so that they can afford to survive.

That is pure "let them eat cake", "children yearn for the mines" pure raw unadultered bullshit.
by dragonwriter | 2025-08-04 10:09:51+00:00
If you are in a balanced budget or continued deficit situation, then, yes, increased rates will eventually be a factor (but that's a lagging effect, even then) if you have a sufficient surplus that with the effect of inflation increasing its nominal size with the same real revenue and spending you can pay down debt at least as fast as it comes due, so you aren't going back to do new net borrowing, increase cost of borrowing doesn't matter much.
by batmansmk | 2025-08-04 10:10:15+00:00
For years, I heard it's better to use cron, because the problem was already solved the right way(tm). My experience with cron has been about a dozen difficult fixes in production of cron not running / not with the right permission / errors lost without being logged / ... Changing / upgrading OSes became a problem. I since switched to a small node script with a basic scheduler in it, I had ZERO issues in 7 years. My devs happily add entries in the scheduler without bothering me. We even added consistency checks, asserts, scheduled one time execution tasks, ... and now multi server scheduling.

Deployments that need to configure OSes in a particular way are difficult (the existence of docker, kubernetes, snap are symptoms of this difficulty). It requires a high level of privilege to do so. Upgrades and rollbacks are challenging, if ever done. OSes sometimes don't provide solution when we go beyond one hardware.

If "npm start" can restrain the permissions to what it should be for the given version of the code, I will use it and I'll be happy.
by dotancohen | 2025-08-04 10:10:25+00:00
> The selling point of PDFs is “word” documents that get correctly displayed everywhere

If only we had some type of Portable Document Format, that would be correctly displayed _and parsable_ everywhere.

I do believe that PDF/A (Archiveable) and PDF/UA (Universal Accessibility) do get us there. LibreOffice can export a file as a PDF that supports PDF/A, PDF/UA, and has the original .odt file embedded in it for future archiving. It is an absolutely amazing file format - native readable, parsable, accessible PDF with the source wrapped up. The file sizes are larger, but that's hardly a tradeoff unless one is emailing the files.
by tpoacher | 2025-08-04 10:12:30+00:00
Yes to all, with caveats, since Guake is a GUI terminal, not a multiplexer.

Sessions yes, but not in the ssh / surviving-restart sense. But within the same login, yes, because it's a drop-down terminal which stays open in the background at all times even when exited, and thus running jobs don't get killed when you exit. And you can have multiple windows, and split-panes within windows. These are obviously remembered when toggling the terminal on/off.

Startup layout and specific (remembered) configurations etc can be configured via hooks at start / show events. Guake events (e.g. splitting / toggling) can be triggerred externally / programmatically via normal cli commands, so you could either add hooks, or bind keys / commands to performing batch actions (such as loading a preferred window layout with specific programs etc).
Ask HN: How do you take, manage and retrieve notes from pdfs and online sources
by the-mitr | 2025-08-04 10:12:43+00:00
I usually used to maintain a org file, and sometimes used Notes app on Mac OS. For online sources I have used hypothes.is for a while. But overall my notes are scattered all the place. I could not find a good way to organise and retrieve the notes when needed. Especially quotes from pdf books and other online sources. I want to be better organised in this regard. Please share your workflows and strategies to take and retrieve notes.
by metalman | 2025-08-04 10:13:25+00:00
put it another way. when the economy crashes,dead data centers will become emblematic of the policys/thinking that lead to the collapse.........the very fact of questioning data centers,...instead of a clear indication of how data centers and AI are trumiphantly leading to a golden age, is rather telling......yup just another couple trillion dollars for server farms and everything is gona be fine, is, I believe, the plan
by dotancohen | 2025-08-04 10:13:29+00:00
> Chicken and egg. There are very few if any machine parseable PDFs out there, so there is little demand for such.

No, the egg has been laid for quite some time. There's just not enough chicken. Almost every place I've worked at has complained about the parsability of PDF files until I showed them LibreOffice's PDF export feature, that supports PDF/A (arciveable), PDF/UA (Universal Accessibility), and embedding the original .odt file in the PDF itself. That combo format has saved so many people so much headache, I don't know why it is not more widely known.
by stereolambda | 2025-08-04 10:13:52+00:00
I wouldn't automatically say this is bad. If the money that would end up being more profits percolates throughout society, employees, communities etc., and even the founders themselves (as opposed to concentrated capital), it is actually fine and could produce a healthier society. On the other hand, I grant you that it might (also) feed corruption. But then, I wouldn't bet on concentrated capital not being corrupt as well.
by tempfile | 2025-08-04 10:14:41+00:00
As someone who has tried both, I found the learning curve for Guix much more pleasant than for Nix. With Nix, the community is for sure a lot larger, and more things are available (notably it is a lot faster, too). But I could never get everything clear in my head, how it hangs together, and the community seemed very much more fragmented than with Guix. I think the Guix documentation and manual, as well as the CLI and secondary docs written in people's blogs, were much easier to get a handle on than with Nix. Flakes are a great example, I still have no idea what a flake is, they are still an experimental feature, and I have no idea how I should think about them. I've been using NixOS full time for 3 years by the way.

I also think the shepherd alone is almost a killer app relative to something like systemd. I had to write a service myself for restarting ssh tunnels, and I could even do "advanced" things like templated configuration, almost trivially. It felt like a superpower, relative to systemd services.
by vintermann | 2025-08-04 10:14:41+00:00
I trust his judgment of the time and places he studies. It's also easy to trust, since it's more or less what I believed already.

However, I'm wary about the generalization to pre-modern societies in general. Not just because of the countless counterexamples of anthropology to everything you can think of in human affairs, but also because when I started digging into the church books for my own genealogy, I found far more even-aged or women-older marriages than I'd expected. Maybe not a majority, sure, and maybe not on average (and also, we're way out of both the time and the geography Bret studies). The past is never quite as I imagined.
by philipallstar | 2025-08-04 10:15:11+00:00
> And if there is one cornerstone of modern Republican politics, it is: the suffering is the point

This sort of deliberate mischaracterisation has no value in discussion. Republicans have definitely ridden high on stopping the suffering - perceived or otherwise - caused by objective, Democrat-led encouraging of illegal immigration across the southern border of the US. And even they wouldn't be as bad faith as you and claim that Democrats wanted that suffering.
by Tadpole9181 | 2025-08-04 10:15:15+00:00
I'm not sure this is true.

I feel like I am constantly reading about the problems facing young men. Every article about loneliness - young men. Every article about political swings - young men. Every article about economic anxiety or wages - young men. Every article about declining birth rates - young men.

It'd make a dangerous drinking game at this point to take a shot any time the top comment on any piece of news is "young men". Moreso if we take another on claims said "young men" aren't being talked about / cared for.

And this bleeds into life. Nearly every discussion on politics or social ideas or religion somehow hones it's focus on young men.

> we're treating them with very little empathy and consideration, they're just "whining"

And to specifically bring up this part, young men are choosing at an alarming rate to follow people like Andrew Tate and Charlie Kirk. They are becoming less compatible with equitable society and, notably, the women in their age bracket.

The complaint often isn't that they're "whining", it's that they push against ideas like equality with women and those are non-negotiable. And, as a result, they're exacerbating the problem, as those women would rather not date anyone than date someone who actively campaigns against their interests.

This, in turn, makes it harder to be empathetic. "Dating is hard" is true in the modern world. But it's even more true when you just posted a joke on social media that blue haired women have mental illness or a "western vs Asian woman" meme or retweeted some hyper-masculinity influencer.

When this gets talked about and women directly state "I don't like how men my age talk to/about me", people often act like the women are being unreasonable and unempathetic - as if the men are owed relationships and women just need to compromise and see things from the other person's shoes.

But rarely is the answer that young men have a crisis of self-selecting bad role models, putting less (or no) effort into their appearance and education, holding gross sociopolitical beliefs, and not developing the emotional and household maturity an adult woman expects. And they simply aren't willing to change that. What is anyone supposed to do about that, exactly?
by chii | 2025-08-04 10:15:15+00:00
> they forget people also need money to buy their goods.

the goods ought to have become cheaper if the ai/mechanization/industrialization is cheaper than labour.

And also when "the rich" have more profit, they now want to spend that profit on things, which spawns new luxury good industries.

Of course, the news cycle and the sob stories always revolve around people losing their existing jobs, but there is new jobs around that previously didnt exist. Jobs that people previously never thought was even "a job".

Of course, it is up to the individual to search and find their niche, and to produce value to sustain their own existence. The advent of AI is not going to be different.
Cardano Community Approves $71M Treasury Plan to Boost Network Upgrades
by AbdulHype | 2025-08-04 10:15:42+00:00
The Cardano community has approved a $71 million (96 million ADA) treasury proposal from Input Output Global (IOG) to support a year-long development initiative. This plan focuses on enhancing scalability, interoperability, and the overall developer experience. Despite raising concerns about transparency, cost, and accountability, the proposal received 74% approval. Funding will be milestone-based, with oversight from Intersect, smart contracts, and a dedicated committee. Major upgrades include Hydra for faster transactions, Project Acropolis for flexible node architecture, and system optimizations to lower RAM usage and reduce costs. IOG must also provide monthly progress updates and financial reports. A competing bid from Cardano’s Technical Steering Committee was not selected. This decision marks the first time that Cardano’s development funding has been authorized through direct community governance. Meanwhile, blockchains like Solana and Ethereum are also pushing ahead with network upgrades, expanding their block capacities and transaction processing limits to improve scalability.
by rester324 | 2025-08-04 10:15:44+00:00
Sorry but I don't understand your comment. Are you sure you are responding to the right message?

The OP specifically called out trickle-down economics. Which is a myth, a false belief that somehow not taxing rich companies and not redistributing a country's wealth through taxes and other means, companies will do the right thing eventually, and they will raise the wages instead by their own incentives.

Which they never do, and only raise wages as a very last resort. They do instead coordinated wage suppression, lobbying governments to take away labor rights from the labor force, outsource their operations, set up new offshore offices to escape paying taxes, etc

So what does your comment to do with that? I think your message doesn't address any of that
by mschuster91 | 2025-08-04 10:16:46+00:00
The problem is rural flight, across the Western societies. Rural areas have a lot of empty housing, urban areas have a severe shortage that sends purchase and rental prices through the roof.

Defenders of urbanism and dense settlements in general love to point out that it is more efficient to serve urban populations with infrastructure, which is true, but completely neglecting the fact that it creates an insane wealth disparity in these urban areas (aka, those who have housing and those who have not), a corresponding death of rental markets (old people can't move out to smaller dwellings because an apartment half the size costs thrice the money or more, and young people with families can't afford sizing up either), and a massive financial pressure on local governments to build out all the infrastructure that dense settlement needs.
by dragonwriter | 2025-08-04 10:17:19+00:00
He’s not telling “the truth”, he is doing marketing propaganda trying to create an air of inevitability around his firms offering as a cognitive hack to get people (both potential buyers and people who might otherwise create pressure that potential buyers respond to) to be less likely to critically evaluate and respond to the offering, getting them to view it as simply a necessity for the future market that they need to adapt to rather than a choice with real costs beyond the sticker price that meed to be carefully weighed against demonstrable benefits.
by pjmlp | 2025-08-04 10:17:38+00:00
They have been always usable in the real world, as they were initially based on async model of doing C++ programming in WinRT, inspired by .NET async/await.

Hence why anyone that has done low level .NET async/await code with awaitables and magic peoples, will fell right at home in C++ co-routines.

Anyone using WinAppSDK with C++ will eventually make use of them.
by jeroenhd | 2025-08-04 10:17:40+00:00
Streaming with a footer should still be possible if your website is capable of processing range requests and sets the content length header. A streaming PDF reader can start with a HEAD request, send a second request for the last few hundred bytes to get the pointers and another request to get the tables, and then continue parsing the rest as normal.

Not great for PDFs generated at request time, but any file stored on a competent web server made after 2000 should permit streaming with only 1-2 RTT of additional overhead.

Unfortunately, nobody seems to care for file type specific streaming parsers using ranged requests, but I don't believe there's a strong technical boundary with footers.
by viraptor | 2025-08-04 10:17:43+00:00
> The error people make all the time is assuming these groups are static and always have the same people in them over time.

I believe people actually involved in being active against top percentiles understand the difference between ongoing millions of annual income and one off inheritance. Have you got a some reason to think otherwise? I mean it was "occupy wall street", not "occupy people visiting retirement homes".
by codr7 | 2025-08-04 10:17:47+00:00
Because the implementation should be familiar to most devs, which makes it easier to see what kind of language you're dealing with.

Binary sort would be another candidate for me, but people get it wrong in subtle ways and not every language does array updates.

Your examples don't make much sense to me. A web app using what framework? What does that say about the language? CLI apps could work if you could find one that people recognize and that's small enough for an example.
by fulafel | 2025-08-04 10:18:06+00:00
Here's the tweet where Karpathy coined the term.

tldr; fast throwaway code from a LLM, where the human is just looking at the results and not trying to make maintainable code.

> There's a new kind of coding I call "vibe coding", where you fully give in to the vibes, embrace exponentials, and forget that the code even exists. It's possible because the LLMs (e.g. Cursor Composer w Sonnet) are getting too good. Also I just talk to Composer with SuperWhisper so I barely even touch the keyboard. I ask for the dumbest things like "decrease the padding on the sidebar by half" because I'm too lazy to find it. I "Accept All" always, I don't read the diffs anymore. When I get error messages I just copy paste them in with no comment, usually that fixes it. The code grows beyond my usual comprehension, I'd have to really read through it for a while. Sometimes the LLMs can't fix a bug so I just work around it or ask for random changes until it goes away. It's not too bad for throwaway weekend projects, but still quite amusing. I'm building a project or webapp, but it's not really coding - I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.
by joakleaf | 2025-08-04 10:19:07+00:00
This happens -- also variants which have been processed with OCR.

So if it is scanned it contains just a single image - no text.

OCR programs will commonly create a PDF where the text/background and detected images are separate. And then the OCR program inserts transparent (no-draw) letters in place of the text it has identified, or (less frequently) place the letters behind the scanned image in the PDF (i.e. with lower z).

We can detect if something has been generated by an OCR program by looking at the "Creator data" in the PDF that describes the program use to create the PDF. So we can handle that differently (and we do handle that a little bit differently).

PDF->image->text is 100% not lossless.

When you rasterize the PDF, you losing information because you are going from a resolution independent format to a specific resolution: • Text must be rasterized into letters at the target resolution • Images must be resampled at the target resolution • Vector paths must be rasterized to the target resolution

So for example the target resolution must be high enough that small text is legible.

If you perform OCR, you depend on the ability of the OCR program to accurately identify the letters based on the rasterized form.

OCR is not 100% accurate, because it is computer vision recognition problem, and • there are hundrends of thousands of fonts in the wild each with different details and appearances. • two letters can look the same; simple example where trivial OCR/recognition fails is capital letter "I" and lower case "l". These are both vertical lines, so you need the context (letters nearby). Same with "O" and zero. • OCR is also pretty hopeless with e.g. headlines/text written on top of images because it is hard to distinguish letters from the background. But even regular black on white text fails sometimes. • OCR will also commonly identify "ghost" letters in images that are not really there. I.e. pick up a bunch of pixels that have been detected as a letter, but really is just some pixel structure part of the image (not even necessarily text on the image) -- A form of hallucination.
by chiefalchemist | 2025-08-04 10:19:32+00:00
And, importantly, tariffs are payed by the importing party. This means they affect the base price of the product and cannot be made progressive

Yes. But that cost can be absorbed across the board. The manufacturer can lower their margins. The importer / distributor / wholesaler can do the same. The B2B / B2C seller can do the same.

It doesn’t all necessarily get directly passed to the buyer.

Another question that few are asking is: what has the off shoring of so much manufacturing cost the USA? Looking at the resident of the WH, it appears to be quite a bit.
by OldfieldFund | 2025-08-04 10:21:22+00:00
Why not just tell the LLM in rules to strongly type and write guardrails and then:

[tool.ruff]

line-length = 88

select = ["E", "F", "W", "I", "N", "UP", "B", "C4"] # A good strict baseline

ignore = []

[tool.mypy]

python_version = "3.12"

warn_return_any = true

warn_unused_configs = true

disallow_untyped_defs = true

disallow_any_unimported = true

no_implicit_optional = true

check_untyped_defs = true

strict = true
by nosianu | 2025-08-04 10:21:32+00:00
> “Fed posting” is a thing people are slowly learning to spot.

Are you accusing me? I waited patiently for years building a profile here, for this one moment, to derail this comment, yay!

> Anyway these protests are legitimate despite the events that you’re mentioning happening

And so is the violence I linked to. If you have ANY proof whatsoever that the lecture hall and the Jewish student were actually attacked by Jewish saboteurs - despite the identity of the people involved known - please post it.

Otherwise you are the one doing the shitposting here.

> Something we have evidence of Israel actually doing:

So now you can just tell everybody to ignore any and all events that don't fit your narrative? How convenient!

And by the way, those "protests" would gain a lot of credibility if they were also targeted against Hamas.
Show HN: I built DeepTap – a simple deep link management tool
by road42runner | 2025-08-04 10:22:04+00:00
Hey HN, I made DeepTap to solve the hassle of managing deep links after Firebase Dynamic Links was deprecated. As a solo dev, I wanted a fast, reliable, no-BS solution for deep linking without all the setup overhead.

DeepTap is lightweight, easy to integrate, and perfect for small teams or indie devs. Would love your feedback! Free trial at https://deeptap.io

– Dmitry
by semi-extrinsic | 2025-08-04 10:22:29+00:00
Here in Norway, especially 10-20 years ago but still not uncommon today, you will find flats for rent with electricity included in the monthly price. Student housing especially.

We own an old 170 sq.m. semi-detached house, and the electricity bill for June was 20 euros. That's with all heating & hot water coming from electricity (heat pumps) and owning an EV that we charge at home.
by dragonwriter | 2025-08-04 10:22:35+00:00
> What does this have to do with what I just said?

It literally directly contradicts the idea that what he is saying is, as you claim, “the truth”.

> Did you see me defending their hoops or defending their honesty?

Since the claim that you described as “the truth” is that product is simply an inevitability that everyone will have to deal with, defending their honesty is defending the hoops.