frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Ask HN: How to increase LLM inference speed?

1•InkCanon•4s ago•0 comments

Show HN: Building Hugo – An AI coding agent

https://hugo-agent.surge.sh/
1•bosborne•4m ago•0 comments

Ask HN: What's the coolest AI project you've seen?

2•miletus•20m ago•0 comments

Ask HN: AGI and Product Development

2•MasihMinawal•23m ago•1 comments

23andMe founder buys back genetic testing company in second auction

https://www.ft.com/content/43ec5fe2-3dec-41bf-9679-e9637951971f
1•WithinReason•27m ago•0 comments

Short: What happens if you turn the horizon into music? [video]

https://www.youtube.com/shorts/044S8s8BZNw
1•superjan•31m ago•1 comments

Creating One platform from travel planning to booking

1•ashishrawat•33m ago•0 comments

The Intelligence Curse

https://intelligence-curse.ai/
2•pseudolus•36m ago•0 comments

Ask HN: Is it still a good idea to learn Perl for a young developer?

1•not-so-darkstar•40m ago•0 comments

Setting Up a Free One-Handed Touch-Typing System on Your PC

https://99percentinvisible.org/article/one-hand-touch-typing-setup/
1•sohkamyung•48m ago•0 comments

Is there interest in an informal proof that Graph Vertex 3-Colouring is NPC?

1•ColinWright•54m ago•0 comments

Notes on the History of the Map Tile

https://placing.technology/notes-on-the-history-of-the-map-tile
2•altilunium•54m ago•0 comments

Notes on Managing ADHD

https://borretti.me/article/notes-on-managing-adhd
1•vghaisas•56m ago•1 comments

Lincoln Steampunk Festival

https://www.visitlincoln.com/whats-on/featured-event/lincoln-steampunk-festival/
1•zeristor•59m ago•0 comments

Vesna Vulović

https://en.wikipedia.org/wiki/Vesna_Vulovi%C4%87
1•ZeljkoS•1h ago•0 comments

Meta AI searches made public – but do all its users realise?

https://www.bbc.com/news/articles/c0573lj172jo
3•taubek•1h ago•0 comments

NASA jettisons Neo4j database for Memgraph citing costs

https://www.theregister.com/2025/05/07/nasa_people_memgraph/
2•taubek•1h ago•1 comments

In Munich, early signs of a European hyperscaler revolt

https://www.raconteur.net/technology/in-munich-early-signs-of-a-european-hyperscaler-revolt
2•taubek•1h ago•1 comments

I Am So Tired

3•Piko•1h ago•1 comments

The De Man Case (2014)

https://www.newyorker.com/magazine/2014/03/24/the-de-man-case
2•aragonite•1h ago•1 comments

Writing Load Balancer from Scratch in 250 Line of Code

https://beyondthesyntax.substack.com/p/writing-load-balancer-from-scratch
2•thunderbong•1h ago•0 comments

What Will the World Cup Stand for in an Isolationist America?

https://www.theringer.com/2025/06/11/soccer/fifa-world-cup-2026-usa-location-trump-isolationist
2•bryanrasmussen•1h ago•0 comments

De-EscalatingSocial Media – Designing humility and forgiveness into social media

https://nickpunt.com/blog/deescalating-social-media/
1•mofosyne•1h ago•0 comments

India reportedly suspending rare earth exports to Japan amid domestic needs

https://ca.finance.yahoo.com/news/india-reportedly-suspending-rare-earth-110807125.html
1•01-_-•1h ago•0 comments

Google is killing Android Instant Apps, but you probably won't miss them

https://www.androidauthority.com/google-killing-android-instant-apps-3567211/
1•01-_-•1h ago•0 comments

ChatGPT: H1 2025 Strategy [pdf]

https://substack-post-media.s3.us-east-1.amazonaws.com/post-files/165959620/77710a9b-6942-4416-af92-60e7e53ab56c.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAUM3FPD6BXL43LJ7G%2F20250615%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T084023Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEFMaCXVzLWVhc3QtMSJHMEUCIQCAGHFJiX3Nji6Uf1mHYzdLhFfbFKkb5wG4l2m3FrmlnQIgMOs7TcK8vRdQtJInsmOp5M4ScGMl4vUa1mCoWVtHCqYq%2BQMIPBAEGgwzMDI0NzExMjY5MTUiDH%2FvL91L%2FU3opwFGUSrWAy767geTiaQPJeaWJmJghMktfIc0hxZn7lloZmY1l4VWada2r5yhlTDDRYleryLBFrpDCItneSqtceRtuiUaRay8wDiSt482t5ngLY41l%2Fa3%2FlVhqP4pG3Wuadu%2FlE4rOro8aX1OF9x3YFbIIeRtfVZdENqd2TflPvA7e1YMmj%2BCTGI65Dad34clTbrCNXxNM%2FJArMvPr6NvCHdl5fSFHOLHbIsvLDJJwjUsDFPwCFjh71%2FyQrYTzcat6fESPhkoP1Aa41JU2qlOUFKQkIV36E%2B0c4Rl2Tq5uKsVs5Nqu7p%2BXZrRbrrJz3FwDh2kCTtmMzYdL0XqsktY3ZjNfN5m4d5KxNhE0FhI0MXEAcMN%2F4R3GWOrHfwMS7osh57A1gNL9PeXCFGl7W5%2FxWTqWGhWtYeoBiJTkvYWivJXB%2BI4VAA3Tr1NokhLWyZFFTHnLidymoHALbnq7mhV1C5fzwTUvzVFbAI%2F7mdUKki4dSV4ta4Xfk4IrBiVYcyLwmvPWWnoacO6VzJgDKJd%2BDXMICVI6nzhSLgq5WtuQDWgJJGKCWRXCmt5jt0fUfYZVV00PBuybspAg0nfkBV6u%2FDVRG3tvWab%2FRtqw3wZ9AJqT4tQiVCex3pUQltKMP%2FsuMIGOqUBJZmJthlXoMHe4MpiP%2BACqrX6OLHFndIM4BAydfGIQCQ7u%2BJEvjd8Np5ZyfphsfyU2h2O8DmPpaNj05MPdgyWw6clQ3bcO97mFsFdbUY%2BQPHkRDr5qTPqnWXmyGNeftLhQqDqV%2F9xPh1QMJUYg2YryNltyeSZ%2BzjOyfzVfHs1mPvpvUYg40eAHlbBKDYv9utJX1%2BR4yFNRPVl7gv5RFQbM9ZXCNxX&X-Amz-Signature=8ae3ace7bd87b2264e2cd9c9ab0040ea5b5b4770ef89e1c5c933256ac6d62150&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3D%22Chatgpt_H1_2025_Strategy.pdf
1•martinohansen•1h ago•1 comments

Aged Garlic Extract (Age)

https://domofutu.substack.com/p/aged-garlic-extract-age
1•domofutu•1h ago•0 comments

Show HN: Un.limited.mx – Free Email Testing Service for Dev/QA Teams

https://www.un.limited.mx/
1•rickdangerous1•1h ago•2 comments

I Wrote a Compiler

https://blog.singleton.io/posts/2021-01-31-i-wrote-a-compiler/
2•ingve•1h ago•0 comments

Lessons from 9 More Years of Tricky Bugs

https://henrikwarne.com/2025/06/15/lessons-from-9-more-years-of-tricky-bugs/
2•ingve•1h ago•0 comments
Open in hackernews

Infinite Grid of Resistors

https://www.mathpages.com/home/kmath668/kmath668.htm
160•niklasbuschmann•11h ago

Comments

petschge•11h ago
See also https://xkcd.com/356/
ordu•9h ago
Why mathematicians are three points? I think it is easier to disable a mathematician. Look at this discussion, for example. EE engineers and physicists are dismissing the problem outright, while mathematicians have no issues thinking about it.
quinndexter•1h ago
-Why mathematicians are three points?

Possibly based on this ranking. Everything sub-mathematician is 2 points? Maybe there's subdivision of points.

https://xkcd.com/435/

Mawr•5h ago
See alsoer https://youtu.be/zJOS0sV2a24?t=932
neepi•11h ago
I'm a bit mathematician and a bit electrical engineer.

The electrical engineer suggests it's not measurable unless you apply current and also asks "when" after the current is applied referring to the distributed inductive and capacitive element and the speed of field propagation. The mathematician goes to a bar and has a stiff drink after hearing that.

bravesoul2•11h ago
Given an infinite grid of resistors... would you expect planets to form?
corysama•10h ago
They say hydrogen is an odorless colorless gas which, in sufficient quantities, given enough time, turns into people. I’m sure the same could be true of resistors.
bravesoul2•10h ago
Resistors are made of heavier elements though. And I remember something like everything wants to become iron (fuse if lighter, decay if heavier)

That said there might be enough energy (infinity!) for anything to be possible.

jfengel•9h ago
You get stable things heavier than iron, and they're more common than you'd expect. It's possible that they form in neutron star collisions, which are complete anarchy in atomic terms.
inopinatus•9h ago
People are resistors too.
temp0826•8h ago
I resist that statement
taneq•7h ago
Gee, I hope nobody ever puts you in charge of a train!
farhaven•1h ago
Well they can still be a conductor, even if they're not a resistor. Actually they'd be a pretty good conductor. A super-conductor, if you will.
neepi•1h ago
Just checked. Around 1.5Mohms today.
rzzzt•10h ago
Assume perfectly spherical through-hole resistors soldered on an infinite PCB.
QuadmasterXLII•10h ago
I think it collapses into a black hole. black hole mass scales with radius, grid mass scales with radius squared
pixl97•9h ago
Thats what I'm not sure about here...

If we assume this is an infinite grid in its own universe then nothing can actually move. The gravitational pull should be the same from every direction. If we assume the grid is perfect then there is no nucleation sites to start a collapse. The grid would be in perfect balance.

The same is thought about our universe. If there hadn't been small quantum fluctuations during the inflationary stage it would have taken much longer for what we see in the modern universe to form.

staplung•8h ago
In fact, we might have a different problem: dark energy should tear the grid up into (very large) bits. I guess the question is then would the bits then collapse into black holes or not. I assume so since the mass would not longer be perfectly balanced.
pixl97•8h ago
Guess we'll have to wait for an actual answer on dark energy and universal expansion.

What it collapses into depends on the time for the bits to coalesce into. If it's a slow collapse you could get a mass large enough to form a neutron star (like thing) instead of black holes.

If those neutron stars crash into each other they can release a large amount of 'recycled' matter from all over the atomic spectrum back into this universe.

raattgift•6h ago
In 1+1 dimensions one can analyse the gravitational behaviour of an infinite line of ...-wire-resistor-wire-resistor-... with an adaptation of Bell's spaceship. Throwing away two dimensions eliminates shear and rotation (and all sorts of interesting matter-matter interactions) so we can take a Raychaudhuri approach.

We impose initial conditions so that there is a congruence of motion of the connected resistors, so that we have a flavour of Born rigidity. Unlike in the special-relativistic Bell's spaceship model (in which the inertial motion of each spaceship identical save for a spatial translation), in our general-relativistic approach none of the line-of-connected-reistors elements' worldlines is inertial, and each worldline's proper acceleration points in a different direction but with the same magnitude. This gives us enough symmetry to grind out an expansion scalar similar to Raychaudhuri's, Θ = ∂_a v^a (<https://en.wikipedia.org/wiki/Raychaudhuri_equation#Mathemat...>). As an aid to understanding, we can rewrite this as 1/v \frac{d v}{d \tau}, and again in terms of a Hubble-like constant, 3H_0.

We can then understand Θ as a dark energy, and with Θ > 0 the infinitely connected line of ...-wire-resistor-wire-resistor-... is forced to expand and will eventually fragment. If Θ < 0, the line will collapse gravitationally.

> no nucleation sites

If Θ = 0 initially, we have a Jeans instability problem to solve. Any small perturbation will either break the infinite ...wire-resistor-wire-..., leading to an evolution comparable to Bell's spaceship: the fragments will grow more and more separated; or it will drive the gravitational collapse of the line. The only way around this is through excruciatingly finely balanced initial conditions that capture all the matter-matter interactions that give rise to fluctuations in density or internal pressure. It is those fluctuations which break the initial worldline congruence.

This is essentially the part of cosmology Einstein struggled with when trying to preserve a static universe.

In higher dimensions (2+1d, 3+1d) the evolution of rotation and shear (instead of just pressure and density) becomes important (indeed, we need an expansion tensor and take its trace, rather than use the expansion scalar above). A different sort of fragmentation becomes available, where some parts of an infinite plane or infinite volume of connected resistors can undergo an Oppenheimer-Snyder type of collapse (probably igniting nuclear fusion, so getting metal-rich stars in the process) and other parts separate; the Lemaître-Tolman-Bondi metric becomes interesting, although the formation of very heavy binaries early on probably mitigates against a Swiss-cheese cosmological model: too much gravitational radiation. The issue is that the chemistry is very different from the neutral-hydrogen domination at recombination during the formation of our own cosmic microwave background, but grossly a cosmos full of luminous filaments of quasi-galaxies and dim voids is a plausible outcome. (It'd be a fun cosmology to try to simulate numerically -- I guess it'd be bound to end up being highly multidisciplinary).

jfengel•9h ago
It becomes a black hole, but it doesn't necessarily collapse, at least not at first. A supermassive black hole has very low density and a very gentle gravitational gradient.

All of the mass does end up in the singularity, in finite time (at least for any finite subset of the black hole), but it doesn't automatically become super dense just because it's a black hole. It can remain quite ordinary for a very long time.

kqr•2h ago
Wait, can you take this a little slower? I was not aware black holes could have sensible density.
Taniwha•10h ago
Eventually you need to pullin a physicist too who will point out that at an appropriate distance quantum effects will dominate - because eventually at a far enough distance the number of electrons moving per second (ie current flow) will be either 0 or 1 at some nodes
mjevans•10h ago
Intuitively I knew this class of problem was theoretical only BS when it came up in college...

I hadn't considered that sort of strange effect though! Makes me feel not so bad for 'never really getting it' because I just couldn't wrap my mind around the problem description's obvious inanity and the infinite edges.

aydyn•3h ago
The question is not pretending to be realistic. No one is thinking it is possible to build an infinite grid of resistors.

It's simply an evaluation of your mathematical ability to manipulate the equations and overall understanding of them, wrapped up in a cute little thought experiment. This evaluation IS relevant to more realistic scenarios and therefore your grade and engineering ability.

__MatrixMan__•5h ago
I've not studied QED directly, so by all means correct me if I'm wrong, but it seems to me that we'd get a double-slit like scenario where it's as if a partial electron went through either path. We might want to say that surely a whole electron took one path and not the other but we couldn't say which and if we tried to instrument to and find out we'd affect the resistance.

But that's fine because knowing which path the electron took is not part of the problem. Both paths contributed to the resistance even if one was not taken.

We only have to worry about quantum effects if the probabilities are not a decent proxy for the partial-particles that we suspect don't exist. In this case, the Physicist can probably proceed directly to the bar and have a drink with the Mathematician.

sandworm101•9h ago
And the electrician knows he can get a 99% answer out of a 10x10 grid on a workbench. The engineer is free to then add more resisters to the periphery until either the grant money runs out or the physicist's publishing deadline approaches.

A really difficult question: At each distance, what percentage of soldering errors in the grid can be tolerated before the fluke meter across the center square detects the fault? (That might actually be a thing as I've heard people talk about using changes of local resistance to detect remote cracks in conductive structures ... like maybe in a carbon fiber submarine hull.)

nerdsniper•8h ago
For measuring corrosion in conductive surfaces, “eddy current” testing is often used. It uses AC current of some frequency, so it’s technically measuring inductance rather than resistance.
repiret•7h ago
I think there are two interpretations of schematics.

One is where the components on the schematic represent physical things, where the resistors have some inductance and some non-linearity, and some capacitance to the ground plane and so on. This is what we mean by schematics when we’re using OrCad or whatever.

There is another interpretation where resistors are ideal ohms law devices, the traces have no inductance or propagation delay or resistance. Where connecting a trace between both ends of a voltage source is akin to division by zero.

Sometimes you translate from the first interpretation to the second, adding explicit resistors and inductors and so on to model the real world behavior of traces etc. if you don’t, then maybe SPICE does for you.

Infinite resistor lattices exist only in the second interpretation.

red75prime•3h ago
> The electrical engineer suggests it's not measurable unless you apply current and also asks "when"

Just wait infinite time for all the transient responses to die down. The grid to enter steady state and to became true to the schematic.

divbzero•2h ago
An infinite grid of resistors is clearly a toy scenario, but the infinite universe is a reality that astrophysicists try to reason about. I wonder if there are blindspots in astrophysics because we lack intuition about the universe at that scale and are forced to approach it from theory.
mmastrac•10h ago
This was the question I hated in my EE degree. The thought exercise was a favourite of the profs.
quibono•10h ago
There's one thing I don't get about the symmetric+superposition explanation. Why are there alpha - beta - alpha on the adjacent nodes, and not alpha-alpha-alpha? I.e. why is one of the directions distinct while the other two are considered the same?
magicalhippo•9h ago
Start by assuming they could potentially be all different, so denote the currents i_1 to i_12.

However note the problem is symmetrical about the vertical axis, so flip the figure. The current passing through the flipped paths should be the same as before the flip, so note down which i's equate to each other due to this.

Note that the problem is symmetrical about the horizontal axis, and do the same there. Note that the problem is symmetric when rotated 90 degrees, so do that. And so on.

In the end you'll have a bunch of i's that are equal, and you can group those into two distinct groups. Call those groups alpha and beta.

edit: Another way to look at it is that you can't use the available symmetry operations to take you from any of the alphas to a beta. This is unlike alpha to alpha, or beta to beta.

shove•10h ago
Word on the street was that my Physics professor at NCSSM (Dr Britton) worked on this problem during his doctorate
clbrmbr•9h ago
The finite grid of resistors (or arbitrary impedances) is actually of great practical usefulness.
Kirr•9h ago
This may be as good time as any to plug my calculator for finite resistor networks (including grids) [1]. It works by eliminating non-terminal nodes one by one with the Star-Mesh transform, while keeping the exact rational resistances at each point.

[1] https://kirill-kryukov.com/electronics/resistor-network-solv...

steamrolled•9h ago
I don't get why EE education emphasizes problems of this sort. The infinite grid is an extreme example, but solving weirdly complicated problems involving Kirchoff's laws and Thevenin's theorem was a common way to torture students back in my day...

Here, I don't think it's even useful to look at this problem in electronic terms. It's a pure math puzzle centered around an "infinite grid of linear A=B/C equations". Not the puzzle I ever felt the need to know the answer to, but I certainly don't judge others for geeking out about it.

choonway•9h ago
There are two parts to education. One is to impart knowledge, the other is to filter the students.
colechristensen•9h ago
Not entirely wrong but it's a little too easy to use that argument for squashing any criticism for education content.
dwattttt•8h ago
You're missing general problem solving. If all people do is encounter problems they've already seen before, well, we have lookup tables for that kind of thing.
Nevermark•8h ago
The third is to challenge students. With unusual concepts, preferably.

How else to create students capable of solving problems we cannot anticipate today?

Not to mention, that understanding strange problems is a very efficient way to broaden horizons.

goochphd•9h ago
I was about to say "they still torture students this way" but stopped myself when I remembered I took Circuits 1 and 2 back in 2007. So maybe my knowledge is dated too...

It's a weird butterfly effect moment in my career though. I had an awesome professor for circuits 1, and ended up switching majors to EE after that. Then got two more degrees on top of the bachelor's

jesuslop•9h ago
If all you mind is the EE curriculum then ok. Or else there is an interesting work of Gerald Westendorp on the web [1] on how allowing other classical passive components (Ls & Cs) you can get discretizations (and hence alternative views) of a very wide class of iconic Physics partial differential equations (to the point that the question is more what cannot be fit to this technique). G. W. is alive and kicking in mathstodon.

[1] https://westy31.nl/Electric.html

bsder•8h ago
> I don't get why EE education emphasizes problems of this sort

Last I checked, they don't. I certainly never hit an "infinite grid of resistors" in general circuits and systems except as some weird "bonus" problem in the textbook.

Occasionally, I would hit something like this when we would be talking about "transmission lines" to make life easier, not harder. ("Why can we approximate an infinite grid of inductors and capacitors to look like a resistor?")

It's possible that infinite grid/infinite cube might have some pedagogical context when talking about fields and antennas, but I don't remember any.

Workaccount2•8h ago
One of my core grips with STEM education, mainly the math heavy part of it, which frankly is most of it, is that it is taught primarily by people who love math.

The people who loved application and practical solutions went to industry, the people who got off spending a weekend grinding a theoretical infinite resistor grid solution went into academia.

steamrolled•7h ago
Loving math is not necessarily a problem. But if you want others to love it too, you have to explain it in a way that makes them see the light.

A lot of STEM education is more along the lines of "take the rapid-fire calculus class, memorize a bunch of formulas, and then use them to find the transfer function of this weird circuit". It's not entirely useless, but it doesn't make you love the theory.

bobmcnamara•7h ago
> solving weirdly complicated problems involving Kirchoff's laws and Thevenin's theorem was a common way to torture students back in my day...

Hey now, those actually come up sometimes.

esafak•7h ago
In school I would have relished solving this problem. Now I wonder if it has any application.
ohxh•1h ago
> Here, I don't think it's even useful to look at this problem in electronic terms

I always thought this problem was a funny choice for the comic, because it’s not that esoteric! It’s equivalent to asking about a 2d simple random walk on a lattice, which is fairly common. And in general the electrical network <-> random walk correspondence is a useful perspective too

nimish•8h ago
In the integral, the h_m(s) are chebyshev polynomials of the first kind
kevinmhickey•8h ago
In school I would have tried to solve this… now if I want to know I just get out my multimeter and measure. Faster, simpler, and more practical.
personjerry•8h ago
Where are you going to find an infinite grid of resistors in real life to measure?
BenjiWiebe•5h ago
Measure a couple of different sizes of grids and fit a curve to your results?
causality0•8h ago
My math isn't strong enough to follow the whole article, but my intuition as someone who works in electronics is that when a quantized system interacts with an infinity, the infinity is restricted based on the magnitude of the quantized factor. Electric charge is quantized. Less than one electron cannot pass through a node, therefore an infinite grid of resistors is effectively a finite grid of resistors whose size changes based on how much charge is dumped into the system.
morepedantic•4h ago
That was my initial thought, but on further reflection it feels wrong. The electron is also a wave, and that wave can spread across the entire grid.

Another interesting aspect is that in an infinite grid, a spontaneous high voltage is going to exist somewhere at all times. It is probably very far away from you, but it's still weird.

yusina•3h ago
Funny to put "intuition" and "infinity" into the same sentence.

The only type of person for whom intuition about infinity to form is not entirely unlikely are mathematicians.

pyman•8h ago
Re: the infinite resistor grid

If you take an endless grid made of identical resistors and try to measure the resistance between two neighbouring points, the answer turns out to be about one-third of a resistor

kayson•7h ago
A much more useful (in the educational sense) question to ask, in my opinion, is the resistance between opposite corners of a cube of 1ohm resistors. There are some neat intuitions it can help build (circuit symmetry, KCL, etc). The infinite grid is too much an obscure math problem that seems like it might be solvable in an introductory circuits class.
sriku•4h ago
This is cool and I have my own take on it after being nerd sniped by XKCD - https://sriku.org/posts/nerdsniped/ - I link to this article at the end but that post specifically solves the xkcd puzzle.
praptak•4h ago
What I never got about the simple symmetry-based solution is "if we accept the idea that we can treat the current fields for the positive and negative nodes separately".

Why are the currents in the two node solution (not symmetric) a simple sum of the currents of two single node solutions (symmetric)?

Obviously the 2 node solution still has some symmetries but not the original ones that let us infer same current in every direction.

IronyMan100•2h ago
the Maxwell Equations are linear in the electric and magnetic fields, then you can add Up and subtract fields and Potentials from each other. It's the same Argument for why interfernce works or optical gratings
TheOtherHobbes•43m ago
At infinite scale this reduces to the bulk equation R = rl/A for a rectangular block where r is resistivity, l is length, and A is the area of the block.

Both l and A are infinite. So you get infinity/infinity, which is undefined, proving it's a silly problem and you should go do something useful with your time instead.