frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Flavors of Dr. Pepper (Doom Scroll)

https://www.drpepper.ca/en/blend-of-23-flavours/
1•ninju•33s ago•0 comments

A Shiny Fuzzer in Go

https://github.com/cecinuga/fuzzy
1•cecinuga•1m ago•0 comments

Valve's version of Android on Linux (based on Waydroid) is now called Lepton

https://www.gamingonlinux.com/2025/12/valves-version-of-android-on-linux-based-on-waydroid-is-now...
1•wicket•2m ago•0 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
1•gmays•3m ago•0 comments

Show HN: TrackerNews – Keyword monitoring and insight extraction

https://trackernews.app/
1•winchester6788•4m ago•0 comments

My redirect rules from 2013 still work and yours don't

https://idiallo.com/blog/my-redirect-rules-from-2013-still-work
3•foxfired•5m ago•0 comments

JEP 504: Remove the Applet API

https://openjdk.org/jeps/504
1•matthews3•5m ago•1 comments

Pentagon Launches $1B Program to Buy Hundreds Of Thousands Of Kamikaze Drones

https://www.twz.com/air/pentagon-launches-1b-program-to-rapidly-buy-hundreds-of-thousands-of-kami...
3•breve•7m ago•0 comments

The case of the 500-mile email (2002)

https://www.ibiblio.org/harris/500milemail.html
5•Timothee•8m ago•0 comments

Solve Go Challenge: Octantconway

https://github.com/plutov/practice-go/tree/master/octantconway
2•todsacerdoti•9m ago•0 comments

Why Won't the Media Report Accurately on Road Deaths?

https://jakecoppinger.com/2025/12/why-wont-the-media-report-accurately-on-road-deaths/
2•jakecopp•10m ago•1 comments

Show HN: ThesisBoard – Trello for Investment Research

https://thesisboard.com/
1•egobrain27•12m ago•0 comments

Building a fintech platform's mobile app

https://hackclub.com/fiscal-sponsorship/mobile/
1•JustSkyfall•12m ago•0 comments

`npx vercel` opens a project

https://ando.so/company
1•frootoftheloom•13m ago•0 comments

Catalogue of Moulded and Ornamental Brick (1892)

https://archive.org/details/central-press-brick-1900s-a
1•georgefrowny•13m ago•0 comments

Social identification with a team boosts fans' social well-being

https://phys.org/news/2025-11-social-identification-team-boosts-fans.html
2•PaulHoule•13m ago•0 comments

StackOverflow: AI Assist

https://stackoverflow.com/ai-assist
2•Bootvis•16m ago•0 comments

Windows 11 growth slows as millions stick with Windows 10

https://www.theregister.com/2025/12/03/windows_11_statcounter/
1•naves•16m ago•0 comments

Michael Levin on Pain as Agent, Healing as Alignment

https://essays.debugyourpain.com/p/michael-levin-on-pain-as-agent-healing
1•yichab0d•16m ago•1 comments

Mixtures of dietary nutrients lessen behavioral deficits in mouse autism models

https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3003231
2•bookofjoe•16m ago•0 comments

Show HN: I built a trending books by month Bump Chart with Hardcover data

https://hardcover.app/labs/popular-by-month
1•dyogenez•18m ago•0 comments

Source code to Sega Saturn game "Powerslave" released

https://github.com/Lobotomy-Software/SlaveDriver-Engine
1•alexjplant•20m ago•0 comments

Comments on smartphone ban from high school teacher

https://marginalrevolution.com/marginalrevolution/2025/09/from-the-comments-39.html
2•surprisetalk•22m ago•0 comments

Hiring: Damned If You Do, Damned If You Don't

https://www.factorysettings.org/p/hiring-damned-if-you-do-damned-if
1•surprisetalk•23m ago•0 comments

Some Economics of Artificial Super Intelligence

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5728702
1•surprisetalk•23m ago•0 comments

Rock Paper Scissors Is a Game of Skill

https://collisteru.substack.com/p/rock-paper-scissors-is-a-game-of
1•surprisetalk•23m ago•0 comments

Alzheimer's is the symptom, not the problem

https://1393.xyz/blog/alzheimers-is-the-symptom-not-the-problem
2•rdgthree•23m ago•0 comments

Vibe Code Like It's 1986

https://github.com/AvitalTamir/vibecommander
1•fatliverfreddy•24m ago•1 comments

The Real-Life Hunt for Red October Happened 50 Years Ago

https://www.twz.com/sea/the-real-life-hunt-for-red-october-happened-50-years-ago
1•breve•24m ago•0 comments

Show HN: MetaConvert – Free PDF and Image Conversion Tools

https://metaconvert.blogspot.com/
2•MetaConvert•24m ago•0 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

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

Comments

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