skysight-inc/HackerNews huggingface dataset:
I can't explain why, but I do get pretty good results with closing a prompt session completely and then initiating a fresh session later on. I have actually seen quite different code from the very same prompt across two sessions.

However, the extra time between sessions does give me the chance to consider where the AI might have gone wrong in the first session and how I could have phrased the initial prompts more effectively.

As others have stated throughout the threads here, I definitely recommend giving it smaller nibbles of problems. When I take this route and get working modules, I will start a fresh prompt session to upload the working code module files and ask it to integrate them into a simple solution with static inputs in a 'main' function. (Because providing coherent inputs from the router function inputs of a web service are simple enough, once these basics are covered)

Basically - I do everything possible in order for the AI to not get distracted or go down a rabbit hole, chasing concerns that humans are very capable of taking care of (without paying tokens for). I will write most of the tests myself and then perhaps afterwards ask it to evaluate the test coverage and provide more of them. This way the new tests are in the format and platform of my choosing.
Ask HN: Blocking "Login with Google"?
The solutions I’ve found all seem to recommend a Google accnt setting. I don’t keep myself logged in to Google (for all the obvious privacy reasons). I barely use Google but have some legacy stuff on Google drive that I reach to from time to time.

Login with Google feels like a twin of reCAPTCHA; less about a solution and more about tracking / surveillance. I don’t like Goggle or anyone following me around the internet.

Certainly someone has addressed this, true? Cloudflare? A certain VPN vendor? Perhaps a VPN connection to the EU?

If it matters, I’m currently using Vivaldi on laptop and mobile.
US economy definitely won't be doing well.
A weaker federal government was always our design though. Really until the last century, our federal government was extremely weak and limited in authority. It wasn't until around FDR that we started seeing a shift if power to the federal government, often specifically to the executive branch.

The large executive branch has been growing since steadily since FDR though, that isn't a recent reaction to gridlock. There's a good argument that gridlock is a feature of our system meant to slow it down intentionally. We're seeing now how jarring it can be to have the government completely change source every 4 years, gridlock and bureaucracy help smooth that out.

We could be making it worse by demanding gridlock be avoided through executive actions and similar.
if only france and spain had decided to be neutral in the us war of independence we wouldnt be here hearing your navel gazing opinion.
I should have more precisely referred to the "productivity growth gap" (https://www.dbresearch.com/PROD/RPS_EN-PROD/PROD000000000053...)
odesign - Optimal Design of Experiments Library in Pure Rust
Odesign is an optimal design of experiments library written in pure rust (backed by faer and num-dual). There are at least these following use cases:

- Fast calculation of optimal designs of arbitrary linear models with custom design bounds and optimalities.

- Research in area of optimal designs; e.g. I am working on a new optimal design feature selection algorithm, a mixture of SFFS, D-, C- and Measurements-Costs-Optimality, allowing to perform model feature selection and measurements alternating.
It's weird to consider differences just between my father and I, my father who consumes news voraciously, from newspaper, television, radio, gossip, and still retains his reason, critical thinking, faith, and ability to make good decisions. We've had subscriptions to newspapers and magazines, but mostly ad-supported, and Dad Hates Ads, moans and groans and mutes them, and I'm my father's son.

Social media, but yes even mainstream media, or just living as a farmer or ranch-hand, can turn some of us into unhinged feral animals. I'm a victim.

During my last round of college we learned "The CRAAP Test" for evaluating sources. My father applies it instinctively. If only we could internalize this.

Lately I'm at a point where there's a sameness and familiarity to all the news from everywhere. And if I notice the recurrent themes, I begin to ponder why it's recurring, what context/sources/seasons, and not the facts or emotional content themselves, but "why do these sources want me to know about this sort of thing?"

For example, ever since COVID-19, or even 9/11, or 1903, the news cycle has run air disasters and played-up in-flight incidents, and I'm thinking, are they trying to discourage the hoi polloi from flying? Indeed, travelers beware; are they trying to scare us into compliance? Just cranking up fear, uncertainty and doubt across the board?

Also lately, I've shifted my news sources (because all mainstream media is really behind thousands of paywalls) and I hearken directly to gov't or organizational sources, where they make good PR and favorable press releases and they hold conferences to tell us how good they're doing. Now hopefully we can also see through that, but at least it feels like good news in these hard times. [Except it's never my good news, it's someone else's Good News...]

All the "good information" is paywalled. You won't get something for nothing. You can get some ad-supported stuff or you can pay for better stuff, or you can content yourself with horrific free crap. The Social Media newsies are just baiting you for subscriptions and website visits.

Make a monthly budget for your infotainment. Pay for what's important to you. Admit that you're in the proletariat and you're not entitled to be "in the know" beyond your pay-grade. Curiosity killed the cat; "knowledge is power", but you won't gain knowledge--and you could lose WIS points-- by consuming news.

Curated/personalized media can manipulate or influence in amazing ways, but I guess so can family/church/neighbor/community via meatspace. Perhaps they're more similar than we think.

Being "in a bubble[s]" is a crazy thing to consider: none of my neighbors or people at church have similar experiences of watching films, music, industry/employment experience, hearing specific news or whatever. Floating through the online bubbles and then popping them to enter meatspace is an enormous leap of faith. The context-switches I do every day, taking a lot of concentration and preparation.

A worker at church began greeting me with "What do you know?" and there's no answer to that... just silence... I think he likes it that way
The trouble with this argument is that if what they want is to keep the coal mines running, no one can give them that. If it’s a disqualifying event to tell them that fact and offer to help, then it seems like we’re on a dead-end road. The election goes to the people who lie about it to gain power and still do nothing about it, or make it worse.

E.g., the party who actually succeeded in doing something about health insurance just lost to the party who did everything in their power to stop it, and who immediately decided to decimate Medicaid when they took over. So you can give the people what they need and still get punished for it.
I don't think so. I remember hearing about it when some study came out, but can't find the exact reference.

Try a search on "milk neutralizes beneficial compounds in tea"

One result: https://www.healthline.com/nutrition/the-benefits-of-tea-wit...
People under 16 shouldn't have smartphones.
I don't think it is wise or ethical to spend billions of dollars prolonging a forever-war thousands of miles away.

I also don't think it's wise or rational to presume that every aggressive action necessarily means that the aggressor is Hitler or bent on world domination. Or even that opposing them by sending resources to their enemy is the most effective way to stop it.
writing about your son's penis like that is weird as hell.
See

https://labs.quansight.org/blog/building-scipy-with-flang

which was once discussed on HN at

https://news.ycombinator.com/item?id=38196412
> They are a US based company, whether they say they log your data or not, they can be compelled to log your requests and not tell you about it.

NextDNS lets you choose where to store your logs, along with a retention time of 1 hour to 2 years. Logging can also be completely disabled.

The choices for log storage are (1) United States, (2) European Union, and (3) Switzerland.
I often feel like it is news that process me.

On a more serious note, always ask yourself: "who would this particular sequence of events benefit the most?". Helps a lot with the analysis.
US is still pretty far-right on social policy by the standards of most of Europe. This is an average, there’s lot of outliers such as even the proper left in France being weird about Muslim dress.
The risk isn't geopolitical but economic decoupling. American tech valuations will take a bath.
I built my first mechanical keyboard
Another anecdote from my part. I graduated in roughly 2015. I've had 5 software eng jobs since then. Each one I've had at least 2 different managers in the average 2 years I spent in each. My latest role, however, I was at for 2.5 years and had 6(!) managers. I had originally intended to stay at that role longer term but it was obvious the constant managerial turnover was a negative for my career growth - so I hopped again.

I've not experienced a layoff, but I also think its extremely abnormal to be in a position for so long and only have one manager.
Duping people, not actually trying to help them.
Surprised to not see esbuild in the comparison chart
Don’t really disagree. A lot of people probably conclude that a cold call is a numbers game and they’re not wholly wrong—so they, ahem, phone it in making it sort of a self-fulfilling prophecy.
Any experiment you perform on yourself has N=1. Self-science isn't as robust as gold standard double blind blablabla PhD trials, but come on.

How else are you going to find out whether a particular diet or medication works for you specifically? It's ALWAYS N=1.
That's basically the story of Philips. They go through a tough period and choose to divest a "dubious" line of business to focus on higher margin products. The new company, freed of Philips management, goes on to surpass the revenues of the parent. That's how ASML and NXP were born. Signify (Philips lighting) is getting reasonably close.
"I have a hard time articulating the reasons they shouldn't hate Americans in the abstract for their (our) selfishness."

I'm an American you truly hates Trump and is suffering under his rule as mach as anyone.
You are still not testing if they can code. But whether under the scrutiny of another person, they can code. Maybe this is important to you, maybe peer programming is important to you for example. I remember a young dev who couldn’t pass such tests, as he would get too nervous, yet he had written the core tech for many shipped products. The type of guy you would just stick in dark room. With age this type of stuff settles down.
Ask HN: What framework other than Next.js let's you use folder based routing?
My requirement is simple:
- folder based routing like next.js.
- route loaders for SSR
- not a pain in the butt

What we tried:
Remix/ React Router:
- folder based routing doesn't work. /cheese/cake -> cheese.cake/route.tsx

Tanstack Start:
- Too new. Don't have confidence yet.

We are currently on Next.js but app router doesn't have getServerSideProps and generally it's a big pain in the butt to build and deploy on our own infra.
The US' contribution has been incredibly significant and the war would have gone very differently without US support but the idea that the US has contributed most money is false and driven by hubris.

There's various ways of tracking support and by many metrics there are European countries that have given more than the US once you account for population & GDP. It gets more complicated for EU members as the EU has given financial support, so the largest funders of the EU, like France, have paid proportionally more via the EU than directly.

https://www.ifw-kiel.de/topics/war-against-ukraine/ukraine-s...
https://www.usnews.com/news/best-countries/articles/these-co...

Also worth remembering that 70% of that aid from the US never left the US and was spent on procuring weapons from the US.

https://econofact.org/factbrief/does-most-u-s-aid-to-ukraine...
No, he is obviously not.
PHP is worth at least having a passive familiarity with for the same reason Bash is, at least if you're in the web dev world.

That's my contribution from https://hiandrewquinn.github.io/til-site/posts/php-is-web-sh... in addition to the other stuff folks are saying here.
> Almost everything you listed already exists in the standard library.

That's a bold faced lie. In the list, the only things provided by Go are:

- routing: http.ServeMux has a router but until recently it was usually not used in real applications due to very limited capabilities (they finally added proper patterns in 1.22 which, in my view, finally makes it good enough).

- template: it's not even close to laravel's blade capabilities, but yes Go has good enough templating for most tasks.
> While Russia certainly botched the invasion they probably would have taken all of Ukraine by now without so much western support.

But the western support was very small compared to actual western military capability.
Very large amounts of continuous investment and battlefield testing since 1941.

There's no reason this can't be replicated by other rich nations but it won't be cheap or quick.
I cant wait for the inevitable EU sanctions against the US.
I get that Trump is unpredictable from one moment to the next, and also that (at best) is strongly influenced when he speaks to Putin, but he's been consistently spoken and (just about) acted from anti-war and pro-peace-deal positions.

Wouldn't freeing up Russia through removal of sanctions and a refusal to engage militarily resulting in an escalation in Ukraine and potentially beyond into Europe be seen as a big failure of his position?
My understanding is that twitter's struggles are/were a result of advertiser and customer boycotts, not site functionality.

People were aghast at the brutality of the layoffs, and ideological direction. However, my impression was that there was in fact a tremendous amount of bloat.
Very well played!

https://www.abhafoundation.org/assets/books/html/1984/24.htm...
Tutor.tax: See How Much Tutoring Platforms Take
Please don't be a jerk on HN, no matter how limited someone's English is or you feel it is. Posts like this only make things worse, whether you're right or not.

We've had to ask you this before (e.g. https://news.ycombinator.com/item?id=40979518). If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
Fleur, the App Store for Claude
That wasn't about creating a split but rather taking advantage of an existing split, right?
I don't even see the short term gain.
Sure, back when Russia looked vaguely like a democracy for about ten minutes.
SEEKING WORK - [PART TIME] [FREELANCE] [REMOTE]

Location: Karachi, Pakistan

Remote: Yes

Technologies: Python (Django, Flask etc), React, Firebase, AWS

I am available on both hourly / weekly contracts, as well as fixed rate projects.

Brief list of accomplishments:

Data pipeline to ingest book rankings, aggregate, and generate structured JSON for further consumption

Data pipeline to ingest property listings from 3rd party services and ingest into a WordPress based website

Web based employee benefits management system (IAS-19), transforming Excel based model to Django-React based solution.

Backend for a Life Insurance illustration generation mobile app, served to thousands of consumers nationwide.

Backend for a mobile application for golf tournaments in US including player profile management, updated scores and marketplace.

Translation web service that can translate Excel documents from one language to other using Google Cloud Translate API. The translation preserved sheet styles and formulas.

Web service to generate PowerPoint slide using icons from certain websites based on provided keyword.

Contact: contact @ kashifaziz dot me
Hilarious claim without any proof. Sure I believe you
haha I didn't even notice that
It will soon stop being considered that, when Trump and Musk keep widening their censorship apparatus.
It took a while for me to realize it, and frankly, it's kind of embarrassing that I didn't think of it immediately.

It is, after all, what many of us would do in our manual SW development. But when using an LLM that seems pretty good, we just assume we don't need to follow all the usual good practices.
You are hopefully right but this is not a bet you ever want to have to make.
May I remind you that React was originally a library. Didn't stop it from morphing into...whatever it is now
> It's not a matter of should government be allowed to protect kids. They already do, that's not the discussion.

The discussion is about what the government should be allowed to do to protect kids.

> >Should law enforcement be able to access messages sent to my kid? I'm going to have to say no to this one.

> 100% should, and 100% does, you are misinformed on what is and what should be. Thankfully you are not in charge of this decisions.

Every major messaging platform is E2EE by default.
"Germany looked into certifying the Eurofighter Typhoon for the nuclear strike mission but decided that they couldn't afford it, and bought the F-35A instead"

I remember the story rather like this:

US: "you want to certify your fighter for nuclear devices"

Germany: "yes"

US: "ooh, that will be expensive and takes a loooong time. Don't you want to just buy our F35 instead?"

And germany basically did. With the implicit understanding, to buy a piece of nuclear protection with that. Well, all gone ... so there are really only some voices left, wanting to keep buying the expensive, potentially useless bricks.
It seems impossible to think that it's not true given how fundamental it is to (new) tech culture.
I think many people at big tech companies like Facebook truly drank the koolaid there, and when they got laid off it laid bare that the companies they worked at were just companies. Facebook, Google, Amazon, etc are no better than Microsoft, IBM, Oracle, or whatever other 20th century company they had come to represent the answer to. I think a LOT of people had really tied their identities up in being a big tech employee and when they got laid off it was like being cast out of paradise
There are rumors suggesting financial and legal issues: https://www.tumblr.com/shinesurge/777346311384072192?source=...
For me, it just drags the image elsewhere.
Fair point.

"Let us take Tiawan and we'll give you TSMC for the next n years" would probably be a pretty strong offering.
https://www.cnx-software.com/2025/03/08/orange-pi-rv2-low-co... has more info

SoC – Ky X1

CPU – 8-core 64-bit RISC-V processor
GPU – Not mentioned
VPU – Not mentioned
AI Accelerator – 2 TOPS
It's also just a common Japanese girl's name.

Needs a comparison to Vite/esbuild though. The docs only mention Webpack, but idk who's using Webpack on new projects in 2025. There's a benchmark that includes Vite on the homepage, but that's not gonna be enough to get me to switch to a newcomer with a smaller community unless there's some usability difference too.

The CSS support also needs a comparison to LightningCSS (which Vite also supports and has some advantages over esbuild), especially when it comes to bleeding-edge features like view transitions and nesting.
Is it easy to port latex templates ? I see this as a big one, since conferences/ journals have very strict formatting requirements.
I don't see this driven so much by ideology as much as musks drug fueled conversations with putin.
Like the forever war in the middle east?
One more prediction: a number of our allies will test domestically built nuclear weapons, including Germany, Poland, and South Korea.
We detached this subthread from https://news.ycombinator.com/item?id=43300427.

I'm sure you didn't intend to start an off-topic political argument but that's often what happens when references to stronger/more intense topics get casually dropped in.
> they're partnering with Germany or France or the UK to invade Russia

Can we stop this nonsense on both sides? Russia does not want to invade NATO countries, and for sure Germany, France and the UK do not want to invade Russia.

Britain is hawkish because they love continental powers fighting against each other and pulling the strings. They will not send their 50,000 soldiers to Moscow.
Maybe I'm wrong and this is new to a lot of people! I have a limited perspective based on my programming journey, which winds mostly through gamedev, graphics programming, and DSP, both (typically) low level domains. But I think if the title if the article were more accurate, (e.g. "What are pointers?"), my reaction would be more clear. I'm also kinda taken aback by the "old grey beard" comment. Look at all the kids using Rust, Zig, even C and tell me that this is obscure knowledge.

When I took my first programming class at RIT, visualizing the stack, variables, and pointers was one of the first classes we had. It's one of those beginner diagrams that I feel like everyone is familiar with. But I can understand that there are programming domains with equivalent complexity which don't require that base knowledge. I apologize if I came off as elitist.
An investigation into egg prices
The legislative and judicial branches are both expected to hold the executive accountable if it breaks the law. If that doesn't happen our system is fundamentally broken, we might as well throw it out and start over.
Hundreds of RSS sources. Multiple purposes; together with pluralistic perspective and search for lesser known goods, you must consider:

-- the most important pieces of news may be hidden in thousands of instances of noise;

-- you have to have the ability to identify the best commentators, in order to follow them (and the search is continuous also because even the topmost are not perfect).
> For the best experience, try saying "meow" or "woof" out loud while your encryption runs

I've been doing this for years
Just sell black coffee and let the customer add in other stuff if they want it
US citizenship cannot be really revoked for natural born citizens. The US can't really make someone stateless because where would you deport them to?
It's weird, they think things can't get any worse. In my country, union got us 7% raise in 3 years, thats 4% if you discount union membership cost and people talk about leaving union "because it's not worth it".

Without union we get nothing and people before us had to fight to get us these rights and now some people want to throw it away because they didn't get big enough raise.
Some truth in your comment, but Obama never promised to dismantle American Empire and never had any rhetoric even close to something like that.
I tried this and spent $300 on an annual subscription to a daily paper newsletter. It didn't work – the news cycle still happens and biases still exist, which both lead to the kind of cycle the GP is talking about.

I think you do need a media organization to have less of a viewpoint (aka, bias) and more long-term predictions on the future. Unfortunately the closest approximation to this seems to be random Substackers, as even prestige entities like The Economist or The Financial Times are largely bias/worldview-driven.
That's gold. Thanks for sharing.
Didn't congress change the rules a few years ago on only needing a simple majority for more things?

I was living out if the country st the time and didn't keep up, I could be mistaken there.
Which major (applied) math/statistics journal accept submissions in typst？
The best time to learn React and use it was while it was small and literally just a library.