frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Large planets lighter than cotton candy

https://www.cbsnews.com/news/super-puff-planets-lighter-than-cotton-candy-found/
1•gmays•41s ago•0 comments

We'll fight the platform war against big AI

https://www.anildash.com/2026/06/23/fight-ai-platform-war/
1•bnj•1m ago•0 comments

Raylib 6.x gamejam – Make a 720x720 wasm game with raylib in 6 days

https://itch.io/jam/raylib-6x-gamejam
1•vyrotek•5m ago•0 comments

Group project, but make it 1776 – Google Workspace ad [video]

https://www.youtube.com/watch?v=Q3RjZY-rSsc
1•ChrisArchitect•8m ago•0 comments

Delta flight hit by firework while landing at Midway Airport on Fourth of July

https://www.nbcchicago.com/news/local/delta-flight-hit-by-firework-while-landing-at-midway-airpor...
2•randycupertino•8m ago•0 comments

TrainSim – a browser train tycoon, built because I like trains

https://aashishh15.github.io/3DTrainSim/
1•aashishharishch•9m ago•1 comments

Can AI do fact-checking?

https://www.wired.com/story/fact-checking-ai/
1•simianwords•10m ago•0 comments

Show HN: Make No Mistakes – AI coding agents must prove their work

https://github.com/momomuchu/make-no-mistakes
1•mohamedmaache•12m ago•0 comments

Tanenbaum–Torvalds Debate

https://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_debate
1•chistev•12m ago•0 comments

OpenCQRS 2.0: Tests That Read Like the Domain

https://docs.eventsourcingdb.io/blog/2026/07/06/opencqrs-20-tests-that-read-like-the-domain/
2•goloroden•13m ago•0 comments

AI Workflows Need Topological Sort

https://arpitbhayani.me/blogs/ai-topological-sort/
1•ashutosh-aanand•14m ago•0 comments

How is Zig working out after 3 years and 100k lines of game code? [video]

https://www.youtube.com/watch?v=HXpUShkr2VQ
1•roflcopter69•14m ago•0 comments

Low-level is easy (2008)

https://yosefk.com/blog/low-level-is-easy.html
1•downbad_•14m ago•0 comments

Outgrowing the Chat Box

https://www.nnehdi.me/p/outgrowing-the-chat-box
1•nnehdi•19m ago•0 comments

Small Penis Rule

https://en.wikipedia.org/wiki/Small_penis_rule
4•chistev•22m ago•0 comments

Robots Are Coming for All Jobs [video]

https://www.youtube.com/watch?v=qCsYVL-v-3A
1•Bender•23m ago•0 comments

Mastgate – Fediverse Relay Filter

https://github.com/ahmed-debbech/mastgate
1•bhhhhhhcc•24m ago•0 comments

Describing All My Photos

https://alexwlchan.net/2026/describing-my-photos/
1•Tomte•25m ago•0 comments

Ghosts of Our Lives: On Ryan Armand, Tronicbox and Occasional Immortality

https://morbidcuriosity.substack.com/p/ghosts-of-our-lives
1•pnwpnw•25m ago•1 comments

America's 250th became a test of AI-powered Collective Intelligence

https://venturebeat.com/technology/how-americas-250th-birthday-became-a-test-of-ai-powered-collec...
2•hogwash•27m ago•0 comments

French wildfires force officials to ban public from Tour de France's third stage

https://www.reuters.com/business/environment/french-wildfires-jeopardise-finish-line-tour-de-fran...
2•geox•30m ago•0 comments

Meta-access problem faced by academics – and how to solve it

https://hookproductivity.com/solutions/hookmark-for-academics/
2•LucCogZest•34m ago•0 comments

Hackers made death threats against this security researcher. Big mistake

https://www.technologyreview.com/2026/02/16/1132526/allison-nixon-hackers-security-researcher/
2•naves•34m ago•0 comments

Has China obtained the most important machine?

https://www.economist.com/china/2026/07/05/has-china-obtained-the-worlds-most-important-machine
3•pingou•43m ago•1 comments

Bipartisan bill fails to protect consumers from datacenters' true costs

https://www.theguardian.com/us-news/2026/jul/05/ratepayer-protection-act-datacenters
2•p_stuart82•43m ago•0 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
29•jonahbard•43m ago•7 comments

Collision in space is not evidence of dark matter after all?

https://www.uni-bonn.de/en/news/collision-in-space-is-not-evidence-of-dark-matter-after-all
2•mpweiher•43m ago•0 comments

Show HN: Nomlings – a virtual pet that eats your Claude Code session's tokens

https://www.nomlings.cc/
2•franwbu•44m ago•0 comments

GitHub Pages deployments seem to be broken for some users over past few days

https://github.com/orgs/community/discussions/200823
2•exaroth•44m ago•0 comments

You Need a Webring

https://shub.club/writings/2026/july/you-need-a-webring/
11•forthwall•45m ago•2 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

https://jelv.is/blog/Generating-Mazes-with-Inductive-Graphs/
20•todsacerdoti•1y ago

Comments

tomfly•1y ago
where is the entrance and exit?
Jaxan•1y ago
Doesn’t matter, because all positions are reachable. So just pick any two positions at the border and remove a wall.
kazinator•1y ago
Here is a maze that was generated recursively starting at the upper left cell.

  +    +----+----+----+----+----+----+----+----+----+
  |    |                        |                   |
  |    |                        |                   |
  +    +----+----+    +----+    +----+    +----+    +
  |              |         |                   |    |
  |              |         |                   |    |
  +----+----+    +    +----+----+----+----+----+    +
  |              |    |                        |    |
  |              |    |                        |    |
  +    +----+----+    +    +----+----+----+    +    +
  |         |              |              |    |    |
  |         |              |              |    |    |
  +    +----+    +    +----+----+----+    +    +----+
  |              |    |                   |    |    |
  |              |    |                   |    |    |
  +----+----+----+    +    +----+----+----+    +    +
  |                        |                   |    |
  |                        |                   |    |
  +    +----+----+----+    +    +----+----+----+    +
  |    |    |              |    |              |    |
  |    |    |              |    |              |    |
  +    +    +    +    +----+    +    +----+    +    +
  |    |    |    |    |         |    |         |    |
  |    |    |    |    |         |    |         |    |
  +    +    +    +    +----+----+----+    +    +    +
  |    |    |    |    |                   |         |
  |    |    |    |    |                   |         |
  +    +    +----+    +    +----+----+    +----+----+
  |              |         |                        |
  |              |         |                        |
  +----+----+----+----+----+----+----+----+----+    +

It matters to start there because it will be easier if you go backwards.

The maze has 100 cells. For each cell, we can calculate which exit goes back toward the entrance, assigning the letters U, D, L, R:

  U R R D L L R D L L
  U L L D L U L L L U
  R R U D D L L L L U
  U L D L L R R D U U
  U L L U D L L L U D
  R R R U L R R R U D
  U D R R U U R R D D
  U D U U R U U D L D
  U D U U D L L L U L
  U L L U L R R U L L
Stats:

  L - 33
  U - 29
  R - 20
  D - 18
Left and Up are more frequent back-to-entrance escapes than Right or Down. This is because of the way the maze was generated.

To check the hypothesis, we should analyze it in the other direction. For each cell, determine the exit which heads in the direction of the exit:

  D R R D L L R D L L
  D R D D L U L L L U
  D L L D D L L L L U
  D L R D L R R D D U
  R R U D D L L L U D
  R R R R D R R R U D
  U D R D L U R R D D
  U D U D R U U D L D
  U D U D R R R D U L
  U L L R U R R R R D
Stats:

  D - 30
  R - 28
  L - 24
  U - 18
There is a weaker bias for the D-R axis toward the exit, compared to the L-U axis toward the entrance. I suspect if we study larger numbers of larger mazes, we will find similar findings.

So that is to say, it is easier to navigate the maze in the reverse direction: the heuristic to try left/up exits will work more often than the right/down in the proper direction.

smartmic•1y ago
From the book "Mazes for Programmers" by Jamis Buck, 2015, The Pragmatic Programmers (a must-read for any maze/programming enthusiast!):

> Aren't mazes supposed to have starting points and end points? […] honestly, […] it's entirely up to you. […] The maze […] is a perfect maze, and one of the attributes of a perfect maze is that there exists exactly one path between any two cells in it. […] You pick them, and there's guaranteed to be a path between them.

You do not need to choose an entrance or exit only on the sides, but you can also choose "Pacman-style" where the goal is to reach points inside the maze.

"Perfect" refers to the mathematical/logical properties of a maze (i.e. no loops), not the aesthetical aspect. I have not checked though if the mazes in the source here are all perfect.

kazinator•1y ago
While you can put the entrance and exit wherever you want, if you know that the maze was generated by a recursive branching process which had a starting point somewhere, it probably behooves you to put the start at that point corresponding to the root of the tree, so that the maze wanderer faces the most branching choices.

Laying out the abstract maze tree into the rectilinear grid of cells obfuscates the tree somewhat, but not entirely. A process that generates from upper left to lower right, for instance, will tend to generate cells whose parent-headed exits going left and up more often than not, making the reverse direction a bit easier.

(Again, it depends on the maze generation process.)

kazinator•1y ago
Making random mazes in a rectilinear grid is a good exercise for one big reason: mazes are not all the same. Mazes have style can be very knotty and twisty, or have long passages. You can add hacks into a given algorithm to vary the style, but there are certain things it won't necessarily do.