frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gavin Newsom opposes a California wealth tax. He's proposing a national tax

https://www.cnn.com/2026/06/26/politics/gavin-newsom-billionaire-tax-california
2•Bender•4m ago•1 comments

Napster is now "AI agents you can see, talk to, and create with."

https://www.napster.com
2•romanhn•4m ago•1 comments

The Defender's Dilemma

https://markferraz.com/perspective
1•markferraz•6m ago•0 comments

How to find an investor and do it right?

https://www.goglobal.world/
1•MaxPopovggw•7m ago•0 comments

Linux MD RAID5 Seeing Scalability Improvements Up to 17%

https://www.phoronix.com/news/Linux-MD-RAID5-Scalability-Work
1•Bender•10m ago•0 comments

rdmatop: Cross-Provider Htop for RDMA Traffic

https://uccl-project.github.io/posts/rdma-monitoring/
1•tanelpoder•10m ago•0 comments

Small plane crashes into tallest building in Beijing

https://www.nytimes.com/2026/06/26/world/asia/china-plane-crash-beijing.html
1•SpyCoder77•11m ago•0 comments

Mercor's Brendan Foody calls out Sequoia over 'dual-pricing' valuation tricks

https://techcrunch.com/2026/06/08/mercors-brendan-foody-calls-out-sequoia-over-dual-pricing-valua...
2•departed•13m ago•0 comments

"No, I swear I wrote this."

https://revise.io/blog/06-27-2026/no-i-swear-i-wrote-this
2•artursapek•13m ago•0 comments

Social media bans go global: big tech faces a reckoning

https://www.theguardian.com/news/ng-interactive/2026/jun/27/social-media-bans-go-global-big-tech-...
2•dredmorbius•14m ago•0 comments

Show HN: Humans Constructively Roasting AI Coded B2B SaaS

https://www.hyoomn.com/?0
1•krm01•14m ago•0 comments

The Engineering Book Club Podcast

https://www.engineeringbookclub.com/podcast
1•eustoria•18m ago•0 comments

Turn your site into a place people can bump into each other

https://cauenapier.com/blog/townsquare_release/
2•eustoria•19m ago•0 comments

Fable 5 to return soon according to this "scoop" from axios

https://www.axios.com/2026/06/27/anthropic-fable-5-return-soon
1•jahala•19m ago•0 comments

How Boris Cherny Uses Claude Code

https://howborisusesclaudecode.com
1•eustoria•20m ago•0 comments

ARIA, Anti-Patterns, and You

https://dbushell.com/2026/06/26/aria-anti-patterns-and-you/
1•birdculture•21m ago•0 comments

Post-Quantum Certificates

https://www.netmeister.org/blog/pqc-certs.html
1•ilreb•22m ago•0 comments

Clean GitHub repo tricks AI coding agents into running malware

https://www.bleepingcomputer.com/news/security/clean-github-repo-tricks-ai-coding-agents-into-run...
2•logickkk1•24m ago•0 comments

St. John's College in Annapolis (1948) [pdf]

https://s3.us-east-1.amazonaws.com/sjcdigitalarchives/original/871a997b5240166fb5b004c3871c719c.pdf
2•kmstout•27m ago•0 comments

The Download: introducing the Engineering issue

https://www.technologyreview.com/2026/06/24/1139658/the-download-introducing-engineering-issue/
2•joozio•28m ago•0 comments

Analytic Combinatorics (2009) [pdf]

http://algo.inria.fr/flajolet/Publications/book.pdf
2•turtleyacht•29m ago•0 comments

A free chess trainer where the coach explains your games in plain English

https://coachess.app
2•scoriiu•29m ago•0 comments

You're Not Better Than the Screen Watchers

https://www.speakandregret.michaelinzlicht.com/p/reading-wont-make-you-a-better-person
2•Curiositry•30m ago•0 comments

Find Hacker Houses when they don't show up in a web search

https://hackerhouses.org
2•audreyfei•35m ago•0 comments

OpenAI poaches Uber India chief

https://techcrunch.com/2026/06/26/openai-poaches-uber-india-chief-to-lead-its-biggest-market-outs...
1•ameypandey•38m ago•0 comments

Screen time can damage under-twos' development, landmark study suggests

https://www.theguardian.com/society/2026/jun/27/screen-time-damage-under-twos-development-study
4•Brajeshwar•39m ago•0 comments

The Fishcam – the oldest live camera on the internet (by Netscape)

https://www.fishcam.com/
2•Imustaskforhelp•41m ago•0 comments

A small hardware maker's 8GB of DRAM went from $35 to $300

https://www.cnbc.com/2026/06/27/memory-crunch-shaking-apple-and-microsoft-existential-for-small-g...
2•p_stuart82•41m ago•0 comments

The Illuminated Gospel of Matthew

https://www.cambridge.org/universitypress/bibles/all-titles/illuminated-gospel-matthew
1•ycombinete•43m ago•0 comments

Frame (Artificial Intelligence)

https://rtnf.substack.com/p/frame-artificial-intelligence
1•altilunium•44m ago•0 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.