frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ribosome

https://sustrik.github.io/ribosome/
1•tosh•3m ago•0 comments

Rectal Oxygenation Could Save Your Life

https://hackaday.com/2025/12/31/rectal-oxygenation-could-save-your-life-one-day/
2•user_7832•3m ago•0 comments

Worlds largest electric ship launched by Tasmanian boatbuilder

https://www.theguardian.com/australia-news/2025/may/02/hull-096-worlds-largest-electric-ship-batt...
1•aussieguy1234•4m ago•0 comments

Pdf2epub

https://github.com/overcuriousity/pdf2epub
1•anewhnaccount2•4m ago•0 comments

BBC Sound Effects

https://sound-effects.bbcrewind.co.uk/
1•memalign•5m ago•0 comments

Wario Synth: Turn any song into Game Boy version

https://www.wario.style
1•birdmania•8m ago•1 comments

A Philosophy of Software Design vs. Clean Code

https://github.com/johnousterhout/aposd-vs-clean-code
1•st3v3nmw•13m ago•0 comments

Ask HN: My post is not shown in "Show HN"

1•planela•17m ago•3 comments

Show HN: I built a tool to turn ChatGPT conversations into readable public posts

https://www.thinkinpublic.app/
1•divyanthj•18m ago•0 comments

A Multitasker's Guide to Regaining Focus [2024]

https://www.nytimes.com/2024/03/11/well/mind/multitasking-tips.html
1•vinni2•22m ago•0 comments

The Destruction of Human Potential

https://rodgercuddington.substack.com/p/the-destruction-of-human-potential
1•freespirt•24m ago•0 comments

Evaluating Deep Agents: Our Learnings

https://twitter.com/langchainai/status/2006589207196930109
1•Anon84•25m ago•0 comments

Last Orders, London? A fifth of London's pubs have closed in the last 20 years

https://www.nytimes.com/2025/12/31/opinion/london-pubs.html
2•smurda•26m ago•0 comments

Everything I read, watched, and played in 2025

https://www.taranusaur.us/media
1•happyraul•28m ago•0 comments

Take a tour of the Antarctica-bound icebreaker. It has a gym

https://www.nytimes.com/live/2025/climate/antarctica-thwaites-glacier/tour-antarctica-icebreaker
2•fleahunter•30m ago•0 comments

Haters Are the Best Marketers: Mentava as Case Study

https://twitter.com/NielsHoven/status/2006404645078401195
2•barry-cotter•31m ago•0 comments

Even the Sky May Not Be the Limit for A.I. Data Centers

https://www.nytimes.com/2026/01/01/technology/space-data-centers-ai.html
3•fleahunter•31m ago•0 comments

Authenticity After Abundance

https://www.threads.com/@mosseri/post/DS76UiklIDf
1•admp•37m ago•0 comments

When AI Fails: Reasoning Visibility and Governance in Regulated Systems

https://zenodo.org/records/18114669
1•businessmate•39m ago•2 comments

If childhood is half of subjective life, how should that change how we live?

https://moultano.wordpress.com/2025/12/30/children-and-helical-time/
3•moultano•40m ago•0 comments

Show HN: Impostor Juego Online – Juega Gratis Al Juego Del Impostor

https://impostorjuego.org/
1•tomstig•41m ago•0 comments

Labour's Employment Cost Crisis

https://rodgercuddington.substack.com/p/labours-employment-cost-crisis-the
1•freespirt•47m ago•0 comments

All of Advent of Code 2025 in SQLite [video]

https://www.youtube.com/watch?v=PGuruDhK-YA
2•vismit2000•49m ago•0 comments

Performance Evaluation of Brokerless Messaging Libraries

https://arxiv.org/abs/2508.07934
1•tosh•49m ago•0 comments

NYC mayoral inauguration bans Flipper Zero, Raspberry Pi devices

https://www.bleepingcomputer.com/news/security/nyc-mayoral-inauguration-bans-flipper-zero-raspber...
2•taubek•50m ago•1 comments

Static Protocols in Python: Behaviour over Inheritance

https://patrickm.de/static-protocols-in-python/
2•sneakyPad•51m ago•2 comments

What if the world is made of cubes? Uncovering the universal geometry of geology

https://www.quantamagazine.org/scientists-uncover-the-universal-geometry-of-geology-20201119/
3•fanf2•51m ago•0 comments

A Distributed Systems Reliability Glossary

https://jepsen.io/blog/2025-10-20-distsys-glossary
1•tosh•53m ago•0 comments

Show HN: Phi – A meta-language where grammar = implementation (Cofree-based)

https://github.com/eurisko-info-lab/phi-autonomous
1•eurisko_2026•54m ago•1 comments

The Long Shot – Preventive Health Screening Reminders

https://longshot.invertedpassion.com/
2•twapi•55m ago•0 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

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

Comments

tomfly•8mo ago
where is the entrance and exit?
Jaxan•8mo ago
Doesn’t matter, because all positions are reachable. So just pick any two positions at the border and remove a wall.
kazinator•8mo 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•8mo 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•8mo 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•8mo 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.