frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Dropbox Paper mobile App Discontinuation

https://help.dropbox.com/installs/paper-mobile-discontinuation
69•mercenario•1h ago•41 comments

Claude can now create and edit files

https://www.anthropic.com/news/create-files
297•meetpateltech•5h ago•174 comments

We all dodged a bullet

https://xeiaso.net/notes/2025/we-dodged-a-bullet/
374•WhyNotHugo•4h ago•227 comments

The Dying Dream of a Decentralized Web

https://spectrum.ieee.org/web3-hardware-security
26•warrenm•44m ago•11 comments

Memory Integrity Enforcement

https://security.apple.com/blog/memory-integrity-enforcement/
62•circuit•1h ago•9 comments

A new experimental Go API for JSON

https://go.dev/blog/jsonv2-exp
111•darccio•4h ago•23 comments

Mistral AI raises 1.7B€, enters strategic partnership with ASML

https://mistral.ai/news/mistral-ai-raises-1-7-b-to-accelerate-technological-progress-with-ai
664•TechTechTech•13h ago•358 comments

ICE Is Using Fake Cell Towers to Spy on People's Phones

https://www.forbes.com/sites/the-wiretap/2025/09/09/how-ice-is-using-fake-cell-towers-to-spy-on-p...
285•coloneltcb•3h ago•97 comments

Building a DOOM-like multiplayer shooter in pure SQL

https://cedardb.com/blog/doomql/
83•lvogel•4h ago•8 comments

E-Paper Display Refresh Rate Reaches New Heights

https://spectrum.ieee.org/e-paper-display-modos
19•rbanffy•1h ago•1 comments

Weave (YC W25) is hiring a founding AI engineer

https://www.ycombinator.com/companies/weave-3/jobs/SqFnIFE-founding-ai-engineer
1•adchurch•2h ago

X open sourced their latest algorithm

https://github.com/twitter/the-algorithm
198•mxstbr•4h ago•112 comments

Go for Bash Programmers – Part II: CLI Tools

https://github.com/go-monk/from-bash-to-go-part-ii
41•reisinge•1d ago•3 comments

A clickable visual guide to the Rust type system

https://rustcurious.com/elements/
207•stmw•4d ago•37 comments

I solved a distributed queue problem after 15 years

https://www.dbos.dev/blog/durable-queues
57•Bogdanp•1d ago•16 comments

You too can run malware from NPM (I mean without consequences)

https://github.com/naugtur/running-qix-malware
156•naugtur•9h ago•94 comments

An attacker’s blunder gave us a look into their operations

https://www.huntress.com/blog/rare-look-inside-attacker-operation
89•mellosouls•3h ago•63 comments

Judge: Anthropic's $1.5B settlement is being shoved "down the throat of authors"

https://arstechnica.com/tech-policy/2025/09/judge-anthropics-1-5b-settlement-is-being-shoved-down...
37•pier25•1h ago•11 comments

Microserfs ordered back to the office, given 10 days to appeal

https://www.theregister.com/2025/09/09/microsoft_return_to_work/
27•rntn•41m ago•6 comments

Show HN: An Open Source XR(AR/VR) Operating System

https://www.getxeneva.com/
5•ayush_xeneva•2d ago•1 comments

How can England possibly be running out of water?

https://www.theguardian.com/news/ng-interactive/2025/aug/17/how-can-england-possibly-be-running-o...
298•xrayarx•3d ago•453 comments

Tomorrow's Emoji, Today: Unicode 17.0

https://jenniferdaniel.substack.com/p/tomorrows-emoji-today-unicode-170
46•ChrisArchitect•1h ago•43 comments

Anscombe's Quartet

https://en.wikipedia.org/wiki/Anscombe%27s_quartet
95•gidellav•1d ago•24 comments

Yet Another TypeSafe and Generic Programming Candidate for C

https://github.com/brightprogrammer/MisraStdC
42•brightprogramer•3d ago•3 comments

U.S. Added 911,000 Fewer Jobs in the Year Ended in March

https://www.wsj.com/economy/jobs/us-job-growth-revision-a9777d98
116•JumpCrisscross•3h ago•10 comments

Disrupting the DRAM roadmap with capacitor-less IGZO-DRAM technology

https://www.imec-int.com/en/articles/disrupting-dram-roadmap-capacitor-less-igzo-dram-technology
26•ksec•5h ago•16 comments

William James at CERN (1995)

http://bactra.org/wm-james-at-cern/
23•benbreen•3d ago•4 comments

Synthesizing Object-Oriented and Functional Design to Promote Re-Use

https://cs.brown.edu/~sk/Publications/Papers/Published/kff-synth-fp-oo/
31•andsoitis•2d ago•4 comments

New Mexico is first state in US to offer universal child care

https://www.governor.state.nm.us/2025/09/08/new-mexico-is-first-state-in-nation-to-offer-universa...
680•toomuchtodo•5h ago•535 comments

Strong Eventual Consistency – The Big Idea Behind CRDTs

https://lewiscampbell.tech/blog/250908.html
135•tempodox•14h ago•60 comments
Open in hackernews

Integer Programming (1977) [pdf]

https://web.mit.edu/15.053/www/AMP-Chapter-09.pdf
45•todsacerdoti•5d ago

Comments

whatever1•1d ago
Or how to solve your 2^n problem in polynomial time (most of the times)
mxkopy•1d ago
Nice, my undergrad thesis used this stuff. I truly believe if P=NP the proof will be an mILP solving HC or similar
gcy•1d ago
There is a textbook for this in case you don't know. https://link.springer.com/book/10.1007/978-3-319-11008-0
pedrosbmartins•1d ago
First time I came across integer programming (and mathematical programming generally) was when studying hydroelectric power generation planning, for a masters I ended up not pursuing. Then, when selecting a masters in CS, I ended up working with an advisor who used mixed-integer programming applied to classic machine learning models (mainly optimal decision trees). A fascinating and widely applicable method, indeed!
nimih•1d ago
The copyright on this text seems to be 1977, not 2002. See: https://web.mit.edu/15.053/www/
dang•23h ago
Ok, we'll put that year above instead. Thanks!
electric_muse•1d ago
Integer programming is one of those things every CS undergrad hears about, then spends a career quietly rediscovering in different guises. In practice, integer constraints are where your “cute model” goes to die.

Branch-and-bound, cutting planes, implicit enumeration… they’re all ways of admitting “brute force, but try to be clever about it.”

That said, the irony is half the problems that matter in the real world, like capital budgeting, scheduling, routing, warehouse placement, are integer problems.

LP relaxations are nice, but you can’t run an airline with fractional pilots or build 2.3 hospitals. So you either lean on heuristics, or you call CPLEX/Gurobi and pray.

The fact that modern solvers still do as well as they do is, honestly, one of the underappreciated miracles of applied cs.

whatever1•1d ago
The most useful feature in math programming is the optimality bound estimate it offers.

It is very important to know that every single time your solution is at worst 1% away from the proven optimal one. If it is not, you get a signal and you can invoke mitigations.

This is when pure heuristics fail. They may work 99% of the time giving you near optimal solutions, but that 1% they will fail you and even worse, you will have no idea that they failed you.

Approximation algorithms also offer some bounds, but typically they are very loose, to the point that they are not useful to the bean counters. Nobody is running their fleet using (exclusively) the Christofides algorithm.

hustwindmaple•18h ago
There are some new research that applies transformers to MIPs. I'm looking forward to LLMs cracking MIPs at some point and beat those commercial solvers.
bheadmaster•13h ago
I find the idea of a language model solving an integer programming problem odd. LLMs can barely do basic arithmetic. How do you imagine this happening?
mmaaz•13h ago
Curious what you mean by this. Do you mean like an AlphaEvolve type thing?
abhishekbasu•1d ago
I've always had the impression that Mathematical programming esp. Mixed integer programming/Integer programming is largely "unknown" outside of core engineering and operations research. It's an excellent framework to solve a whole host of problems that arise in business and elsewhere, which are solved using suboptimal (hah) heuristics instead.

Okay, maybe I was a bit harsh, but it definitely doesn't pop up as often as deep learning and statistical machine learning. For those who wish to get deeper into this, I highly recommend Optimization over Integers by Bertsimas and Weismantel.

taeric•1d ago
The amusing ones, to me, are the people that know of the techniques, but are convinced they can't apply.

Obviously not everything will be easy to map into a classic optimization problem. And you may have a heuristic approach that is better for a problem. But the general solvers out there have gone a long long way.

CuriouslyC•1d ago
Oh yeah, there are whole subfields of engineering that the current crop of AI deep learning engineers are mostly unfamiliar with. I've been able to find places where I can make significant advances on the state of the art in AI through incorporation of concepts from decision theory, control theory, process engineering, constraint optimization, etc.
dgan•22h ago
Do modern compiler (register allocation/ instruction generation) involve some kind of integer programming or constraint solving? I vaguely remember compilers using Z3 solver
ngruhn•22h ago
Many use Z3 for type checking like F*, Liquid Haskell, Dafny.
eachro•19h ago
Does anyone know what the state of the art industry solvers do for these problems? I had dabbled a bit in ml approaches to combinatorial optimization with great interest a few years back, but I don't think any of these rl based methods ended up being used in production.
__rito__•14h ago
I know about only one such library, and works great for toy problems: PuLP [0][1].

[0]: https://coin-or.github.io/pulp/

[1]: https://pypi.org/project/PuLP/

mmaaz•13h ago
The state of the art solvers are the proprietary ones like Gurobi, FICO, Cplex, Mosek, etc. A major contributor to the proprietary "sauce" is in the heuristics they use. For example, all solvers will have a "presolve" phase which attempts to eliminate redundant constraints/variables. There may be some ML they are using behind the scenes to derive these heuristics, I'm not sure, although I know it is a major research area.

Otherwise, the basic underlying algorithms are all the same, as in the textbook: branch-and-bound and so on.

timonoko•11h ago
One thing I discovered on 8080 was that 0FFFFH is "infinity". Meaning it is better to produce this infinity than zero-division error, when system is oscillating around zero. Otherwise you have to insert zero-tests everywhere and waste precious clock cycles.