MurphyA/hacker-news huggingface dataset:
by __d | 2025-07-11 05:20:46+00:00
Anyone who cares will ask their mates at school, who will assist them to set up a VPN and thus circumvent this silliness. Then the same people who've pushed this solution to their perceived problem will start to target VPNs.

The real question is whether they then attempt to ban VPNs. The streamers would likely join in on that, which might be sufficient lobbying for the government to accept it?

Fortunately, my 12yo was born on 1 Jan 1970, just like their parents.
Show HN: I rebuilt few years old project and now it covers my expenses
by preetsuthar17 | 2025-07-11 05:20:55+00:00
Hey HN,

A few years ago, when I was working as a freelance web developer, there were many projects that used repetitive layouts and designs

That's when I built my own collection of basic UI components like buttons and all. At that time, I was using CSS, so I styled my components using CSS. Later, I decided to open-source these components, and that’s when I created HextaUI

After a few months, I found out about Tailwind CSS, so I decided to recreate all components with better design, modularity, and accessibility. This time, I also added animated components, not just base components. After building and launching, I left it and went on a break. (It didn’t get any response because I didn’t know marketing.)

Two months ago, I decided to rebuild the entire project—but this time, I wanted to scale it and make it stand out, because there’s a lot of competition. So I rebuilt all base components, made them last versions, and gave it my all

This time, it got a great response in fact, it crossed 50k visitors in just 72 hours

Looking at the response and demand, I created pre-built blocks using the base components and launched them at a minimal price. That also blew up and crossed more than 10 sales and crossed $500 revenue in just 24 hours. I was selling pre-built website blocks and UI components.

What I learned: product matters the most. No matter how many competitors are out there, people still buy good products. If you think, “People are already building what I’m building,” or “There are better options” then build something better. Make something specific. Niche down under that same niche

Just build it.

Preet
by fuzzfactor | 2025-07-11 05:21:27+00:00
Thanks for that. Looks like he is starting with realistic data.

I would have to say that his resulting 45:1 ratio would be the maximum upside, and only achievable if every billionaire dollar was earned through innovative creation of value.

As we know, very few things are 100% efficient, plus unfortunately sometimes financial efforts can balance more toward innovative destruction of value, so that does need to be taken into consideration.

I like his optimism though.
by distalx | 2025-07-11 05:21:52+00:00
On their Reddit post [0], the creator mentioned that it took them '600 prompts'!! I’d love to see how they managed to organize their prompts! This is actually impressively well done. I think what is holding it together is a good music and documentary-style background voice-over. There are so many uncanny stills in the video, but the well placed music makes you overlook that.

[0](https://www.reddit.com/r/aivideo/comments/1lvtxbg/kira_i_use...)
by lmm | 2025-07-11 05:22:21+00:00
> This is an entirely new claim - that the Terminal should try to understand what its input means.

I don't see it as a different claim. My position is that the terminal should not move into a bad state for any valid input, and that a state that the user understands as being "broken" is probably a bad state. To my mind this should not require detailed understanding of what each program is doing, which I agree is difficult, but just some more basic things like making it clearer to the user why their terminal is in a funny state (and how to undo it), or perhaps ensuring that the terminal reverts to a good state whenever a program that had changed its state exits.
by calrain | 2025-07-11 05:23:33+00:00
There are definitely swings. Last night it took about 2 hours to get Monaco into my webpack built bootstrap template, it came down to CSS being mishandled and Claude couldn't see the light. I just pasted the code into ChatGPT o3 and it fixed it first try. I pasted the output of ChatGPT into Claude and viola, all done.

A key skill is to sense when the AI is starting to guess for solutions (no different to human devs) and then either lean into another AI or reset context and start over.

I'm finding the code quality increase greatly with the addition of the text 'and please follow best practices because will be pen tested on this!' and wow.. it takes it much more seriously.
by StefanBatory | 2025-07-11 05:25:27+00:00
Is DB2 Admin more productive than Java dev on the same seniority?

What about countries? In my Poland $25k would be an amazing salary for a senior while in USA fresh grads can earn $80k. Are they more productive?

... at the same time, given same seniority, job and location - I'd be willing to say it wouldn't be a bad heuristic.
by Brajeshwar | 2025-07-11 05:26:48+00:00
I know that others deal with emails in different ways. Of all things in communication, email will remain. Zawinski’s Law rightly expressed that, “Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.”[1]

Anyways, take time, take it slow, but use Labels, Filters, and Rules. Set them up one at a time, and play around with them. For instance, I’ve set up to label all emails from `@amazon.*` under the label/filter `DELETE ’EM.` During my digital chore, I just go there and `Select All` and delete them. The emails may be relevant at the time, but they go stale after a few days. Another way is to set up, say, newsletters to Skip the Inbox, so you can read them later on the weekends or at the end of the day, etc.

I just updated my article to reflect this. I will continue to edit/update that article as life happens.

https://brajeshwar.com/2024/email/#a-well-maintained-email-l...

1. https://en.wikipedia.org/wiki/Jamie_Zawinski
by scott_w | 2025-07-11 05:27:13+00:00
That’s a massively reductionist view of this. Maybe prefrontal development played a role but so many things are part of this you can’t just say the two statements being put: one by OP and one by you.

“Teenagers don’t understand repercussions”

“Teenagers have underdeveloped prefrontal cortex”

These might have been FACTORS in this specific case but the former is not generally true. The latter is true but it’s not the full story. It cannot, on its own, explain why these kids committed a major criminal enterprise.

That is what I take issue with.
by hans_castorp | 2025-07-11 05:27:48+00:00
> Unique indexes slow inserts since db has to acquire a full table lock

An INSERT never results in a full table lock (as in "the lock would prevent other inserts or selects on the table)

Any expression used in the WHERE clause that isn't indexed will probably result in a Seq Scan. CASE expressions are no different than e.g. a function call regarding this.

A stable function marked as "STABLE" (or even immutable) can be optimized differently (e.g. can be "inlined"), so yes that's a good recommendation.
by friggeri | 2025-07-11 05:28:12+00:00
Unfortunately I ended up winging the data processing, so it was mostly a pile of adhoc scripts. The incremental update pulling from the Strava API is a little cleaner, but would require significant work to open source.

The only thing I ever really cared about was keeping the streak going, everything else has come second. I dropped out of a trail running trip after a fall because I felt that even though I could continue, putting too much mileage on my knee would jeopardize the streak.
by georgemcbay | 2025-07-11 05:28:24+00:00
This is pretty similar to my own experience using LLMs as a tool.

When I'm working with platforms/languages/frameworks I am already deeply familiar with I don't think they save me much time at all. When I've tried to use them in this context they seem to save me a bunch of time in some situations, but also cost me a bunch of time in others resulting in basically a wash as far as time saved goes.

And for me a wash isn't worth the long-term cost of losing touch with the code by not being the one to have crafted it.

But when it comes to environments I'm not intimately familiar with they can provide a very easy on-ramp that is a much more pleasant experience than trying to figure things out through often iffy technical documentation or code samples.
by aaron695 | 2025-07-11 05:28:49+00:00
The article is mess of garbage. That's what's cooking our brains

Jumping from racism to misusing the Gen Z word brainrot like an old lamer.

Pinning it down to attention spans -

1. Plenty of people who don't use TikTok or clones have the attention span issue.

2. Studies aren't backing it. There is no reason why short form video is worse than lets say HN or Reddit.

There is no theoretical reason, there is limited proof.

I'm not sure this article has a link to attention and short form video. It ends off topic on dark patterns and addiction.

The article is just a shotgun trying to get you to feel anxiety.

TikTok Vs pre-internet society with 40 stories being ads and news in 30 mins. Sorry I'm going to choose eastern Europeans hobby tunneling and silkscreen easter eggs over McDonalds ads and baseball scores.
by BrenBarn | 2025-07-11 05:29:13+00:00
> my stance is that the political grand-standing like this is worse than doing nothing because it gives the populace the sense that something is being done, although very little is likely to change.

I mostly agree with this. Unfortunately I think it is also true of a lot of activist tactics (e.g., big protests), which seem to be more about making their participants feel good than about producing genuine results. It's human nature to lose interest in things when there is no crisis, and to be vulnerable to misdirection.

It's like the old joke about how there's no good time to fix the roof, because when it's raining you can't fix it, and when it's not raining you don't need to fix it. Of course, you have to fix it when it's not raining. Likewise the only real way to avoid this "sense of something being done" is to push sizable changes at a moment when no one thinks they are urgent, and that's often difficult to accomplish.
by Retric | 2025-07-11 05:29:15+00:00
They scale when designed with scale in mind.

Most cities need more limited access highways not just more lanes. Suburbs extend much further along highways for obvious reasons, yet they get built on the way to somewhere else not just for regional transportation.

A perfect example being the south east of DC getting extremely underdeveloped relative to the west. But you can see the same pattern around many US cities.
by VogonPoetry | 2025-07-11 05:29:48+00:00
There are three things in the report that make me believe that it would be possible to get the secrets from eSim profile B from a compromised eSIM profile A if they are both installed.

Under "Notes" it says... The hack proves no security / isolation for the eSIM profile and Java apps (no security for eUICC memory content).

- app isolation is broken

Under "The warning call for mobile phone vendors"... Target eUICC chips may run some sensitive applications (digital wallets / payment, digital car keys, transportation cards, access / identification cards, etc.). In case of a successful eSIM compromise, the security / credibility of such apps may be affected.

- perhaps code for we already know this is possible, not talking about it yet...

And towards the end, under "Some recommendations"... always assume your apps, their logic, associated secrets and/or some eSIM content could be revealed (one compromised eUICC identity can be used to download and peek into eSIM of any MNO)

- directly talks about other secret extraction
by ryanjshaw | 2025-07-11 05:30:03+00:00
IMO They don’t have a high concurrency DB writing system, they just think they do.

Recordings can and should be streamed to an object store. Parallel processes can do transcription on those objects; bonus: when they inevitably have a bug in transcription, retranscribing meetings is easy.

The output of transcription can be a single file also stored in the object store with a single completion message notification, or if they really insist on “near real-time”, a message on a queue for every N seconds. Much easier to scale your queue than your DB, eg Kafka partitions.

A handful of consumers can read those messages and insert into the DB. Benefit is you have a fixed and controllable write load into the database, and your client workload never overloads the DB because you’re buffering that with the much more distributed object store (which is way simpler than running another database engine).
by fingerlocks | 2025-07-11 05:30:24+00:00
No one is claiming 10x perf gains in vim.

It’s just a fun geeky thing to use with a lot of zany customizations. And after two hellish years of memory muscling enough keyboard bindings to finally be productive, you earned it! It’s a badge of pride!

But we all know you’re still fat fingering ggdG on occasion and silently cursing to yourself.
by quantified | 2025-07-11 05:31:13+00:00
His is a silly argument. They are concentrators. The same bs that gives rise to effective altruism and trickle-down: give us all the money and we'll use it wisely on your behalf. Total bs. It's not like they need to be billionaires to deliver value to others, do they? Even if the pie grows, they take a disproportionate share, and as that share compounds, they end up owning everything of value. You can fibbert on your phone and order stuff from Amazon while they actually have privacy, security, passive/tax-evading income schemes, and access to government policymakers. That $45 per worker and consumer is illusory, real wages are far lower than 30 years ago when we had fewer billionaires.

They capture far more value from their employees than any of their employees do. If you have 5 ticks on your leg, which one skeeves you the most? The one that's sucked the most blood.
by broken_broken_ | 2025-07-11 05:33:44+00:00
I have implemented polling against a cluster of mixed mariadb/mysql databases which do not offer listen/notify. It was a pain in the neck to get right.

- The batch size needs to be adaptative for performance, latency, and recovering smoothly after downtime.

- The polling timeouts, frequency etc the same.

- You need to avoid hysteresis.

- You want to be super careful about not disturbing the main application by placing heavy load on the database or accidentally locking tables/rows

- You likely want multiple distributed workers in case of a network partition to keep handling events

It’s hard to get right especially when the databases at the time did not support SKIP LOCKED.

In retrospect I wish I had listened to the WAL. Much easier.
Ask HN: Good non tech companies to work at
by nzmkk | 2025-07-11 05:34:45+00:00
Does anyone have any good experiences working for non tech companies as a SWE?

I have felt really unfulfilled working for tech companies in SV for the last 6 years and keep thinking it will get better but it doesn’t. There is a disconnect between how much I actually care about what the company does vs how much I have to pretend to care about it that has become pretty unbearable for me.
by chatmasta | 2025-07-11 05:34:51+00:00
I'm confused why we need a model here when this is just standard Lucene search syntax supported by Twitter for years... is the issue that its owner doesn't realize this exists?

Not only that, but I can even link you directly [0] to it! No agent required, and I can even construct the link so it's sorted by most recent first...

[0] https://x.com/search?q=from%3Aelonmusk%20(Israel%20OR%20Pale...
by benreesman | 2025-07-11 05:35:45+00:00
It's kind of a bummer that "skins/themes" never caught on for programming languages. You see it once in awhile, I think some compiler people at one of the FAANGs did an OCaml skin/theme/alternative syntax (reason? something). And there's stuff like Elixir that's kind of a new language but also an interface to an existing world (very cool, Valim is a brilliant guy).

But you could do it for almost anything. I would love the ability to hit a key chord in `emacs` and see things in an Algol-family presentation, or an ML family, or a Lisp.

Seems like the kind of thing that might catch on someday. Certainly the math notation in things like Haskell and TLA were a bit of a barrier to entry at one time. Very solvable problem if people care a lot.
by sph87 | 2025-07-11 05:35:49+00:00
Where I have found Claude most helpful is on problems with very specific knowledge requirements.

Like: Why isn’t this working? Here Claude read this like 90 page PDF and tell me where I went wrong interfacing with this SDK.

Ohh I accidentally passed async_context_background_threading_safe instead of async_context_thread_safe_poll and it’s so now it’s panicking. Wow that would have taken me forever.
by throwaway323929 | 2025-07-11 05:37:01+00:00
Immigrants are statistically less likely to commit crimes than naturalized Americans, and are far more likely to start companies and be entrepreneurs. Legal immigration is great and we should allow more people to come to the county, via expanded programs like H1-B visas.

That's a really different thing than one million people illegally entering the country and expecting that to just work out. Can you imagine the response Japan would have if a million Americans crossed into Japan illegally and expected to live and work there?
by kragen | 2025-07-11 05:37:24+00:00
It's good in its adherence to the budget (almost) and maybe its absolute price: €600M for 700MW is €0.86 per watt. That might sound terrible when compared to current mainstream solar panel wholesale prices of €0.11/Wp, but solar plants in the Netherlands have a capacity factor of only about 10% IIRC, so that is €1.10 per average watt, not counting balance of plant, permitting, etc. The cable may not run at a 100% capacity factor but it'll probably be over 50%.

Still, if module prices continue falling, even at poor capacity factors lime 10%, it'll be increasingly hard to justify paying such high prices to move energy around the continent; local overprovisioning and storage will be cheaper even if Norway is willing to produce the energy for free.
by daxfohl | 2025-07-11 05:38:11+00:00
Minor nit: the semicolons! Especially in the yield examples, since there's no "return" on the last line, the disparity looks weird.

That said, I like how the syntax isn't overly functional, and not too different from what we see in mainstream languages. I'd be fine with either braces or indentation, but the semicolons have to go!
by vouaobrasil | 2025-07-11 05:44:11+00:00
> I want to do it as few times as possible before I automate the problem away, so I can move on to something new. There will always be something new. There will always be someone with a dream and no skills; for me to step in and help out.

> I fail to see the problem.

You fail to see the problem for YOU. Others may not have a job as flexible, but of course you were only thinking of yourself.
by Barbing | 2025-07-11 05:45:37+00:00
I immediately felt this to be a gift to Yandex.

Kid searches for porn and can’t find it. Someone at school recommends incognito/logging out. … So they lock down logged out searches?

Next someone at school puts them onto SearXNG, Yandex, VPNs, etc.

Maybe a percentage of kids will grow up never learning workarounds? Maybe the rest get slightly more tech savvy in a good way… (I’m not pro-11-year-olds watching ultra-depraved snuff but can see occasional bridges to IT know-how. Hope not all workarounds are ultra-appified then.)
by queenkjuul | 2025-07-11 05:46:57+00:00
Yeah if only the L ran as often as it did ten years ago lol. Commuter rail in some cities runs more frequently now. I just bought an ebike, though, and it's totally changed the game for me. The entire North side is now within half an hour of my house, and i won't need a shower when i get there either.

Yeah the job scene isn't amazing but the average pay is well above what you need to live very comfortably. The winters aren't as bad as people think (and getting warmer), the summers are beautiful, the free neighborhood music festivals all summer are so much fun (Lincoln Square this weekend, wicker park is coming up).

Glad you're enjoying it here
by heavyset_go | 2025-07-11 05:47:55+00:00
This is just a step towards killing anonymity and free speech online, as well as a hand out to shady government contractors.

We are going to have to give our IDs and biometrics to untrusted 3rd parties just because some people don't like the idea of other people's kids using the internet.

If these sites are so bad, maybe laws should instead target that problem. For example, make it illegal for social media companies to make their products addictive.

Instead, we get insanely invasive half-measures that impede on security, privacy and speech, with the added bonus of politicians whipping people up into moral panics in order to pass them.
by TheDong | 2025-07-11 05:51:36+00:00
> Saying "It’s worth noting that LLMs are non-deterministic" is wrong and should be changed in the blog post.

Every person in this thread understood that Simon meant "Grok, ChatGPT, and other common LLM interfaces run with a temperature>0 by default, and thus non-deterministically produce different outputs for the same query".

Sure, he wrote a shorter version of that, and because of that y'all can split hairs on the details ("yes it's correct for how most people interact with LLMs and for grok, but _technically_ it's not correct").

The point of English blog posts is not to be a long wall of logical prepositions, it's to convey ideas and information. The current wording seems fine to me.

The point of what he was saying was to caution readers "you might not get this if you try to repro it", and that is 100% correct.
by eddythompson80 | 2025-07-11 05:52:12+00:00
The user asked Grok “what do you think about the conflict”, Grok “decided” to search twitter for what is Elon’s public opinion is presumably to take it into account.

I’m guessing the accusation is that it’s either prompted, or otherwise trained by xAI to, uh…, handle the particular CEO/product they have.
by trollbridge | 2025-07-11 05:52:36+00:00
I agree, and most the comments here also show a lack of awareness of how much parents really don't want their kids running across Andrew Tate-esque material online and think it's okay for the government to regulate things in some way so that kids don't just accidentally run across that.

And yes, I think barely anyone exists who hasn't functionally identified themselves to Google. And I'd venture nobody exists where Google hasn't already built a shadow profile on them (for ad networks); how exactly do people think they've been using Google for "free" all these years?
by floam | 2025-07-11 05:52:47+00:00
I believe gabapentin was once believed to be a positive allosteric modulator (PAM) on certain GABA, and now they don’t even believe that to be the case but it somehow affects GABA expression and activity indirectly. (It’s definitely not a GABA agonist.)

It is also not very potent but there is another drug that shares its mechanism that is potent in single digit mg amounts: pregabalin (Lyrica). It is potent and kinda sorta abusable (not really) and they both can produce a super mild but benzo-ish sedation for a couple hours for a day or two.

It is apparently a coincidence that the drug seemed to resemble GABA and got its name though. Strange.
by tsimionescu | 2025-07-11 05:53:35+00:00
Having a way to return to the default would be nice, but it wouldn't fix the base problem that a program can't simply print a file name to stdout if it thinks stdout might be connected to a terminal. Even if the terminal didn't "break", it would still not display the file name in a useful way (e.g. a user couldn't copy paste it from there).