frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

RTX 5090 With 128 GB VRAM Mod Is on Sale for $13,000

https://www.extremetech.com/computing/rtx-5090-with-128-gb-vram-mod-is-on-sale-for-13000
1•a_void_sky•2m ago•0 comments

New pathway engineered into plants lets them suck up more CO₂

https://arstechnica.com/science/2025/09/new-pathway-engineered-into-plants-lets-them-suck-up-more...
1•manveerc•5m ago•0 comments

Show HN: Lumro – AI agents for customer support, sales, and more

https://www.lumro.co/
1•Ophilip•5m ago•0 comments

VaultGemma: The most capable differentially private LLM

https://research.google/blog/vaultgemma-the-worlds-most-capable-differentially-private-llm/
2•meetpateltech•7m ago•0 comments

Enceladus, the Life Signs That Weren't

https://www.universetoday.com/articles/enceladus-the-life-signs-that-werent
1•belter•7m ago•0 comments

Corporations are trying, and now failing, to hide job openings from US citizens

https://thehill.com/opinion/finance/5498346-corporate-america-has-been-trying-to-hide-job-opening...
3•b_mc2•8m ago•0 comments

China bans one-pedal driving in default modes by 2027

http://www.asiaict.com/icv/10236.html
3•jerlam•12m ago•1 comments

MAAS Fabrics: The Cartoon Version

https://discourse.maas.io/t/show-and-tell-maas-fabrics/14913
1•billwear•13m ago•1 comments

GraalVM's LLVM Back End

https://www.praj.in/posts/2020/graalvms-secret-llvm-backend/
1•aarroyoc•14m ago•0 comments

The Scam of All Scams

https://www.citationneeded.news/issue-92/
2•wslh•14m ago•0 comments

OpenAI Grove

https://openai.com/index/openai-grove/
1•manveerc•16m ago•1 comments

America now leads the world in surveillanceware investment

https://www.theregister.com/2025/09/11/us_surveillanceware_investment/
2•rntn•18m ago•1 comments

Are We There Yet? Future of C++ Software Development – Sean Parent – C++Now 2025 [video]

https://www.youtube.com/watch?v=RK3CEJRaznw
1•olvy0•18m ago•0 comments

Show HN: Free AI Business Name Generator and Domain Avalibility

https://namegator.lovable.app/
1•egldmila•19m ago•0 comments

Shape-changing tensegrity-blocks enable self-assembling robotic structuress

https://www.nature.com/articles/s41467-025-60982-0
1•PaulHoule•19m ago•0 comments

Ankit Gupta Joins YC as General Partner, Bringing Deep ML Expertise

https://www.ycombinator.com/blog/welcome-ankit/
2•todsacerdoti•21m ago•0 comments

MCP Server Could Have Been a JSON File

https://materializedview.io/p/mcp-server-could-have-been-json-file
1•vinhnx•22m ago•0 comments

Functional synapses between neurons and small cell lung cancer

https://www.nature.com/articles/s41586-025-09434-9
1•bookofjoe•23m ago•0 comments

Nvidia and OpenAI to back major investment in UK AI infrastructure

https://www.cnbc.com/2025/09/12/nvidia-and-openai-to-back-major-investment-in-uk-ai-infrastructur...
1•gslin•23m ago•0 comments

Netherlands joins Ireland will boycott 2026 Eurovision if Israel participates

https://nltimes.nl/2025/09/12/netherlands-will-boycott-2026-eurovision-israel-participates-says-b...
4•belter•23m ago•0 comments

Remotion – Make Videos Programmatically

https://www.remotion.dev/
1•mifydev•24m ago•0 comments

Albania Appoints AI Minister Agent for Public Procurement

https://wandb.ai/byyoung3/ml-news/reports/Albania-Appoints-AI-Minister-Agent-to-Oversee-Public-Pr...
2•byyoung3•26m ago•0 comments

K2-Think: A Parameter-Efficient Reasoning System

https://arxiviq.substack.com/p/k2-think-a-parameter-efficient-reasoning
2•che_shr_cat•29m ago•0 comments

MIT software tool turns everyday objects into animated, eye-catching displays

https://news.mit.edu/2025/fabobscura-turns-everyday-objects-into-animated-displays-0910
1•bookofjoe•29m ago•0 comments

The Open Web Dies When We Give Up

https://blog.antonlydike.de/The%20Open%20Web%20Dies%20When%20We%20Give%20Up.html
2•antonly•30m ago•1 comments

Build, run and debug iOS and Mac apps in Zed instead of Xcode

https://luxmentis.org/blog/ios-and-mac-apps-in-zed/
1•allenleein•30m ago•0 comments

Show HN: Cascade – turn todo-list into calendar schedule

https://github.com/LEXUGE/cascade
2•ashbreaker•30m ago•0 comments

Review: The Synaptic Plasticity and Memory Hypothesis

https://www.astralcodexten.com/p/your-review-the-synaptic-plasticity
1•paulpauper•33m ago•0 comments

Show HN: Vestaboard MCP – Let Cursor agents create art on your board

https://github.com/ykhli/mcp-vestaboard
1•ykhli•33m ago•0 comments

Comcast Executives Warn Workers to Not Say the Wrong Thing About Charlie Kirk

https://www.404media.co/comcast-nbcuniversal-email-charlie-kirk/
6•mdhb•36m ago•2 comments
Open in hackernews

Many Hard LeetCode Problems Are Easy Constraint Problems

https://buttondown.com/hillelwayne/archive/many-hard-leetcode-problems-are-easy-constraint/
70•mpweiher•1h ago

Comments

taylodl•1h ago
Use the right tool for the right job!
holden_nelson•56m ago
I feel like if I'm being asked this in an interview, they're not asking me to use a constraint solver, they're asking me to _write_ a constraint solver. Just for a specific constraint problem, not a more general constraint solver.
Analemma_•52m ago
Yes and no: I've asked questions like this in interviews, and I'd count it as a plus if the candidate reached for a constraint solver. They're criminally underused in real-world software engineering and this would show the candidate probably knows how to get the right answer faster instead of wasting a bunch of time.

Now, if they did answer with a constraint solver, I'd probably ask some followup whiteboard questions to make sure they do actually know how to code. But just giving a constraint solver as an answer definitely wouldn't be bad.

YetAnotherNick•49m ago
General constraint solver would be terribly inefficient for problems like these. It's a linear problem and constraint solver just can't handle O(10^6) variables without some beefy machine.
OutOfHere•42m ago
Okay, but who says you need to use a simple constraint solver? There are various sophisticated constraint solvers that know how to optimize.

At this point, job interviews are so far removed from actual relevance. Experience and aptitude still matter a lot, but too much experience at one employer can ground people in rigid and limiting ways of thinking and solving problems.

NoahZuniga•41m ago
O(10^6) = O(1)
dekhn•38m ago
no, the "O" here is "on the order of", not Big O notation.
harperlee•16m ago
I believe NoahZuniga is perfectly aware of the intent and denouncing an abuse of (unneeded) notation.
nextos•15m ago
FWIW, the OP's problem is not linear. It's an integer programming problem given that coins are discrete.

A trick if you can't do a custom algorithm and using a library is not allowed during interview could be to be ready to roll your own DPLL-based solver (can be done in 30 LOC).

Less elegant, but it's a one-size-fits-all solution.

PartiallyTyped•39m ago
It’d be a positive in my book if they used a constraint solver.
qnleigh•12m ago
Yes, especially if the interviewee said something like 'this may not be asymptomatically optimal, but if it's not a known bottleneck, then I might start with constraint solver to get something working quickly and then profile later.' Especially if it's a case where even the brute-force solution is tricky.

Otherwise penalizing interviewees for suggesting quick-and-dirty solutions reinforces bad habits. "Premature optimization is the root of all evil," after all.

_alternator_•32m ago
This. Literally every problem in NP can be cast as a constraint problem. The question of whether a solver is the right solution varies a lot depending on the application, and in an interview , it’s almost by definition not the right solution.

They can also be dreadfully slow (and typically are) compared to just a simple dynamic program.

Der_Einzige•22m ago
If someone solves a leetcode hard with a constraint solver and you don't hire them, you are an idiot.

Do you know how few people in this world even know what a constraint solver is, let alone how to correctly define the problem into one?

I used a constraint solver to solve a homework problem once in my CS degree 3rd year. My god just writing the damn constraints was a huge cognitive load!

kccqzy•51m ago
Great insight. But this is sadly not applicable to interviews.

> It's easy to do in O(n^2) time, or if you are clever, you can do it in O(n). Or you could be not clever at all and just write it as a constraint problem

This nails it. The point of these problems is to test your cleverness. That's it. Presenting a not-clever solution of using constraint solvers shows that you have experience and you know niche topics. It doesn't show any cleverness.

theflyinghorse•46m ago
The point is to test whether or not you put in the time to sharpen common patterns and also to test your communication ability
ebiester•28m ago
Super common patterns like dynamic programming?
corimaith•40m ago
>The point of these problems is to test your cleverness.

No it's just memorization of 12 or so specific patterns. The stakes are too high that virtually everyone going in will not be staking passing on their own inherent problem solving ability. LeetCode has been so thoroughly gamified that it has lost all utility of differentiability beyond willingness to prepare.

jkubicek•11m ago
In defense of questions like this, “willingness to prepare” is a significant differentiator
erikerikson•4m ago
But what is it differentiating? And is it really the best evidence of willingness to prepare? My MSc and BA on the topics, my open source contributions, two decades of industry experience... Those aren't evidence of not only willingness but execution of preparation?
erikerikson•6m ago
Given this consider that LeetCode solving is rarely ever part of your work. So then, what are they selecting for with the habit?
chaboud•23m ago
When I interview with problem solving problems, the point is to understand how the candidate thinks, communicates, and decomposes problems. Critically, problem solving questions should have ways to progressively increase and decrease difficulty/complexity, so every candidate "gets a win" and no candidate "dunks the ball".

Interviewers learn nothing from an instant epiphany, and they learn next to nothing from someone being stumped.

Unfortunately, this is why we can't have nice things. Problem solving questions in interviews can be immensely useful tools that, sadly, are rarely usefully used.

mjr00•9m ago
> the point is to understand how the candidate thinks, communicates, and decomposes problems.

100% and it's a shame that over time this has become completely lost knowledge, on both sides of the interview table, and "leetcode" is now seen as an arbitrary rote memorization hurdle/hazing ritual that software engineers have to pass to enter a lucrative FAANG career. Interviewees grind problems until they've memorized every question in the FAANG interview bank, and FAANG interviewers will watch a candidate spit out regurgitated code on a whiteboard in silence, shrug, and say "yep, they used the optimal dynamic programming solution, they pass."

hermannj314•46m ago
Most interviews are based on the premise that if a diabetic can't synthesize their own insulin in their basement, they are somehow cheating at the game of life.

If my wife's blood sugar is high, she takes insulin. If you need to solve a constraint problem, use a constraint solver.

If your company doesn't make and sell constraint solving software, why do you need me to presume that software doesn't exist and invent it from scratch?

faangguyindia•43m ago
I avoided all this just by becoming a contractor, i ship solution, no me tests me for leetcode ability
shutupnerd0002•25m ago
No me tests you for grammar either.
gman2093•22m ago
apex predator of grug is complexity
awalsh128•19m ago
No me no nice
never_inline•11m ago
> faangguyindia

> contractor

Do FAANG hire contractor in India?

the_af•40m ago
> The "smart" answer is to use a dynamic programming algorithm, which I didn't know how to do. So I failed the interview.

Really? This kind of interview needs to go away.

However, coding interviews are useful. It's just that "knowing the trick" shouldn't be the point. The point is whether the candidate knows how to code (without AI), can explain themselves and walk through the problem, explain their thought processes, etc. If they do a good enough reasoning job but fail to solve the problem (they run out of time, or they go on an interesting tangent that ultimately proves fruitless) it's still a "passed the test" situation for me.

Failure would mean: "cannot code anything at all, not even a suboptimal solution. Cannot reason about the problem at all. Cannot describe a single pitfall. When told about a pitfall, doesn't understand it nor its implications. Cannot communicate their thoughts."

An interview shouldn't be an university exam.

x187463•31m ago
I agree with this approach. With the exception of testing for specific domain knowledge relevant to the work role, the coding interview should just be about testing the applicant's problem-solving skills and grasp of their language of choice. I would even prefer a take-home style problem that we can review in-person over some high-pressure puzzle. The leetcode interview doesn't seem to correspond to anything a developer actually does day to day.
Herring•37m ago
Reminder that the research says the interview process should match the day to day expectations as closely as possible, even to a trial day/week/month. All these leetcode and brain teasers are low on signal, not to mention they're bad for women and minorities.
ripped_britches•36m ago
I would be blown away if a candidate solved it using DP and then said “but let me show you how to use a constraint solver”. Immediate hire.
thomasahle•36m ago
Interview:

> We can solve this with a constraint solver

Ok, using your favorite constraint solver, please write a solution for this.

> [half an hour later]

Ok, now how would you solve it if there was more than 100 data points? E.g. 10^12?

dataflow•29m ago
My beef with someone using a constraint solver here is that they almost certainly wouldn't be able to guarantee anything about their solution other than that, if it produces an output, it will be correct. They won't be able to guarantee running time, space usage, or (probably for most tools) even a useful progress indicator. The problem isn't merely that they used another tool - the problem is that they abstracted away critical details. Had they provided a handwritten solution from scratch with the same characteristics, it would've exhibited the same problems.

This doesn't mean they can't provide a constraint solver solution, but if they do, they'd better be prepared to address the obvious follow-ups. If they're prepared to give an efficient solution afterward in the time left, then more power to them.

Der_Einzige•19m ago
First of all, Nice ChatGPT response

Second of all, global optimization techniques exist and work. They give you a decent solution now and a better solution eventually. Techniques like Genetic Algorithms, Simulated Annealing, etc are all global optimizers which meet the requirements you mention.

I claim that gradient free global optimization is superior to local optimization/gradient based methods. I claim that we have criminally underutilized global optimizers, especially in the context of neural network weight optimization. GA's are amicable to current GPU design. It's really sad that those skilled at writing CUDA attention kernals haven't tried to build a fast distributed genetic algorithm for neural network weight training on a B200.

qnleigh•23m ago
I agree with the other comments here that using a constraint solver defeats the purpose of the interview. But this seems like a good case for learning how to use a constraint solver! Instead of spending hours coding a custom solution to a tricky problem, you could use a constraint solver at first and only write a custom solution if it turns out to be a bottleneck.
jameslai•21m ago
Terrible question for an interview, and further highlights how our interviews are broken.

Greedy algorithms tell you nearly nothing about the candidate's ability to code. What are you going to see? A single loop, some comparison and an equality. Nearly every single solution that can be solved with a greedy algorithm is largely a math problem disguised as programming. The entire question hinges on the candidate finding the right comparison to conduct.

The author himself finds that these are largely math problems:

> Lots of similar interview questions are this kind of mathematical optimization problem

So we're not optimizing to find good coders, we're optimizing to find mathematicians who have 5 minutes of coding experience.

At the risk of self-promotion, I'm fairly opinionated on this subject. I have a podcast episode where I discuss exactly this problem (including discuss greedy algorithms), and make some suggestions where we could go as an industry to avoid these kind of bad-signal interviews:

https://socialengineering.fm/episodes/the-problem-with-techn...

cobbzilla•20m ago
Here’s my empirical evidence based on several recent “coding session” interviews with a variety of software companies. Background: I have been developing software for over 30 years, I hold a few patents, I’ve had a handful of modestly successful exits. I kind of know a little bit about what I am doing. At this stage in my career, I am no longer interested in the super early stage startup lifestyle, I’m looking at IC/staff engineer type roles.

The mature, state-of-the-art software companies do not give me leetcode problems to solve. They give me interesting & challenging problems that force me to both a) apply best practices of varying kinds and yet b) be creative in some aspects of the solution. And these problems are very amenable to “talking through” what I’m doing, how I’m approaching the solution, etc. overall, I feel like they are effective and give the company a good sense of how I develop software as an engineer. I have yet to “fail” one of these.

It is the smaller, less mature companies that give me stupid leetcode problems. These companies usually bluntly tell me their monolithic codebase (always in a not-statically-typed language), is a total mess and they are “working on domain boundaries”.

I fail about 50% of these leetcode things because I don’t know the one “trick” to yield the right answer. As a seasoned developer, I often push back on the framing and tell them how I would do a better solution by changing one of the constraints, where the change would actually better match the real world problem they’re modeling.

And they don’t seem to care at all. I wonder if they realize that their bullshit interviewing process has both a false positive and a false negative problem.

The false negatives exclude folks like myself who could actually help to improve their codebase with proper, incremental refactorings.

The false positives are the people who have memorized all the leetcode problems. They are the hired and write more shitty monolithic hairball code.

Their interviewing process reinforces the shittiness of their codebase. It’s a spiral they might never get out of.

The next time I get one of these, I think I’m going to YOLO it, pull the ripcord early and politely tell them why they’re fucked.

fern_•17m ago
There is something to be said for being senior in a way where the people interviewing you are junior enough that they don't necessarily have the experience to necessarily "click" with the nuance that comes with said problems.

That being said, from a stoicism point of view, the interview ends up becoming a meta-challenge on how you approach a problem that is not necessarily appropriately framed, and how you'd go about doing and/or gently correcting things as well.

And if they're not able to appreciate it, then success! You have found that it is not the right organization for you. No need to burn the door down on the way out, just feel relief in that you dodged a bullet (hopefully).

cobbzilla•12m ago
In a few cases, I really liked the company and what they were doing, got along wonderfully with the hiring manager. Then bombed their leetcode BS.

So when I say I’d politely tell them why they’re fucked, it’s actually out of a genuine desire to help the company.

But you’re right, I’m also thankful that they showed their red flag so visibly, early enough, and I’m happy to not move forward!