frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Linux 7.2-rc6: The biggest rc6 in years

https://lwn.net/ml/all/CAHk-=whoz5Uy-kmrdzjrpCJCVWW3fni31c-zsHcH7TkOhRhfOA@mail.gmail.com/
1•zdkaster•3m ago•0 comments

Britain's Hikikomori

https://dispatch-media.com/meet-britains-hikikomori/
2•littlexsparkee•3m ago•0 comments

Situational Awareness and the Impending Stock Market Volatility

https://www.emergingtrajectories.com/lh/situational-awareness-bigger-picture/
1•cl42•8m ago•0 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://www.researchgate.net/publication/399711077_Thinking-Fast_Slow_and_Artificial_How_AI_is_Re...
1•akbarnama•9m ago•1 comments

A Wild Netflix Lawsuit Shows Why Drugs and Alcohol Don't Mix with Work

https://www.wsj.com/lifestyle/careers/a-wild-netflix-lawsuit-shows-why-drugs-and-alcohol-dont-mix...
1•petethomas•10m ago•0 comments

How fast is C++26's std:hive?

https://lemire.me/blog/2026/08/02/how-fast-is-c26s-stdhive/
1•ingve•12m ago•0 comments

Foldables are sort of boring now – and that's great news for Apple

https://www.theverge.com/column/972937/foldable-phones-boring-apple
1•ramn7•15m ago•0 comments

More German than many Germans

https://mertbulan.com/more-german-than-many-germans/
2•mertbio•25m ago•0 comments

Japanese Matcha Price Tracker 2026: Live Auction and Wholesale Data

https://onewithtea.com/pages/japanese-matcha-price-tracker
1•vector_spaces•27m ago•0 comments

Company Offering Printed Books to Train AI Stops After 404 Media Coverage

https://www.404media.co/ai-company-training-scanning-books-database-isbndb/
2•HelloUsername•29m ago•0 comments

Show HN: MPEdb a drop in replacement for SQLite3 with concurrency support

https://github.com/punnerud/mpedb
1•punnerud•30m ago•0 comments

The Math Superstar Who's Terrified of AI–and Just Took a Job at OpenAI

https://www.wsj.com/tech/ai/openai-jacob-tsimerman-fields-medal-ai-safety-391d0f79
1•apparent•37m ago•0 comments

Alternative Versioning

https://altver.org/
1•tomodachi94•40m ago•0 comments

Show HN: NoCrap – Gamifying porn addiction recovery

https://nocrap.vercel.app/
1•uioio•48m ago•0 comments

Compile Zod schemas into zero-overhead validation functions at build time

https://github.com/wakita181009/zod-aot
1•ryuuseijin•51m ago•0 comments

Five Takeaways from the Times Investigation into Larry Ellison's A.I. Gamble

https://www.nytimes.com/2026/07/31/magazine/takeaways-larry-ellison-oracle-ai.html
2•achow•53m ago•0 comments

The Ancient Roots of Modern Winemaking

https://nautil.us/the-ancient-roots-of-modern-winemaking-1281970
1•the-mitr•1h ago•0 comments

Return-to-office mandates are killing workplace trust

https://thehill.com/opinion/technology/5992056-office-attendance-backlash/
2•dmitrygr•1h ago•0 comments

Only 1/8 turbines in Hungarian Paks NPP still operational, shutdown imminent

https://index.hu/gazdasag/2026/08/03/paksi-atomeromu-leallas-kormany-atomenergia-energia-veszelyh...
2•Markoff•1h ago•2 comments

Go json/v2

https://pkg.go.dev/encoding/json/v2
1•tosh•1h ago•0 comments

Dijkstra: The End of Computing Science (2000) [pdf]

https://www.cs.utexas.edu/~EWD/ewd13xx/EWD1304.PDF
1•emptybits•1h ago•0 comments

Show HN: Open-sourcing my market mental map

https://research.oguzbilgic.com
1•obilgic•1h ago•1 comments

lexicon of computing (2001)

https://web.archive.org/web/20011128152100/http://www.cs.washington.edu/homes/klee/misc/lexicon.html
1•jruohonen•1h ago•0 comments

Netflix sued for $105M after unreleased Nicolas Cage movie is stolen

https://www.nbcnews.com/pop-culture/pop-culture-news/netflix-sued-105-million-unreleased-nicolas-...
2•xvxvx•1h ago•3 comments

Show HN: Kwayk – Reimplementing Quake in Qt Quick3D with Jolt Physics

https://github.com/glazunov999/Kwayk
1•glazunov999•1h ago•0 comments

How Go Players Disempower Themselves to AI

https://www.lesswrong.com/posts/nR3DkyivzF4ve97oM/how-go-players-disempower-themselves-to-ai
2•zetalyrae•1h ago•1 comments

How Cursor sets up their cloud agent environment

https://cursor.com/blog/cloud-agent-environment
2•inferhaven•1h ago•0 comments

Spain to put containment fence round Ceuta after deadly border rush from Morocco

https://www.cbsnews.com/news/spain-ceuta-morocco-migrants-border-crossings/
3•SilentM68•1h ago•1 comments

Email compromise that wiped half a billion $

https://ravenmail.io/blog/bank-of-baroda-leak
6•abishekr•1h ago•0 comments

Show HN: N3MO better ROI than CodeRabbit

https://www.n3mo.shop/
1•RajX_dev•1h ago•1 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.