frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Upload Your RAM

https://uploadyourram.org
129•susanthenerd•2h ago•78 comments

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
723•mfiguiere•13h ago•118 comments

Need for Speed Underground 2 online in the browser

https://nfsu2.xyz/
85•fluxusars•3h ago•26 comments

Every Mac comes with an (undocumented) family member classifier

https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
163•infwhispers•2h ago•78 comments

A Jev that can ask Opus for help gives Opus accuracy at 4x lower cost

https://hightouch.com/blog/llm-judges-identity-resolution
507•theanomaly•16h ago•121 comments

Tesla to wind down Cybertruck production

https://www.nbcnews.com/tech/tech-news/tesla-wind-cybertruck-production-years-poor-sales-markets-...
1040•PLenz•1d ago•1891 comments

The Components of Agent Memory

https://www.anthropic.com/research/components-of-agent-memory
68•geoffbp•5h ago•33 comments

Port 0: The Port That Does Not Exist

https://acid.vegas/blog/the-port-that-does-not-exist/
15•NewCzech•2h ago•4 comments

RealPage rent-pricing case wraps with nearly $360M to renters

https://www.multifamilydive.com/news/realpage-rent-pricing-case-360m-renters/873553/
137•raybb•13h ago•74 comments

Greece has its own Pompeii: Thera buried Akrotiri in ash 17th-16th century BCE

https://www.smithsonianmag.com/history/greece-has-its-own-pompeii-and-the-ruins-tell-a-captivatin...
128•derbOac•3d ago•12 comments

ToothPaste

https://brisk4t.github.io/blog/toothpaste/
10•speckx•3d ago•3 comments

US FAA says it will phase out floppy disks from air traffic control by 2028

https://www.reuters.com/world/us/us-faa-says-it-will-phase-out-floppy-disks-air-traffic-control-b...
352•ChrisArchitect•1d ago•286 comments

PostgreSQL Internals [pdf]

https://edu.postgrespro.com/postgresql_internals-14_en.pdf
37•Foe•3d ago•5 comments

Firecracker VM Escape: PwnEscape Part 2

https://pwn.ai/blog/firecracker-escape
253•SerCe•17h ago•110 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
124•benbreen•7h ago•94 comments

Every Windows 11 app should kill Electron, and Discord just showed why

https://www.windowslatest.com/2026/11/06/every-windows-11-app-should-kill-electron-and-discord-ju...
19•thunderbong•1h ago•9 comments

Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5

https://github.com/hyphatech/spindle
3•zaiev•2d ago•0 comments

Running a law firm on Free software

https://decoded.legal/blog/2026/11/running-a-law-firm-on-free-software-2026-edition/
7•DeepLogin•2h ago•0 comments

Notes on San Marino

https://mattlakeman.org/2026/11/05/notes-on-san-marino/
85•yorwba•19h ago•27 comments

8088 Domination Post-Mortem

https://trixter.oldskool.org/2014/06/19/8088-domination-post-mortem-part-1/
27•cosmojg•2d ago•5 comments

The great butter and cheese fire of 1991

https://www.wisfarmer.com/story/opinion/columnists/2022/05/11/over-20-m-lbs-commodities-lost-grea...
36•subroutine•2d ago•14 comments

The Flash C Compiler

https://blog.adafruit.com/2026/10/31/flash-c-compiler/
62•AlexeyBrin•3d ago•16 comments

First steps in bare-metal programming using UEFI

https://kevinboone.me/efitest_index.html
229•LaSombra•19h ago•42 comments

GitHub's new Git storage architecture

https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architec...
160•DAlperin•17h ago•35 comments

Gemini Omni 1.2 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/
343•thisisauserid•23h ago•233 comments

Can GROUP BY still be optimized after all these years?

https://pivotlake.io/blog/know-your-limit-faster-top-k-aggregation/
93•ntur1337•3d ago•15 comments

Restaurant Delivery Payment-Skimming Campaign

https://www.infohawk.com/news/2026-11-05-scamwich-restaurant-skimming
131•fiej•17h ago•65 comments

Devvm.dev: One VM for every project

https://devvm.dev/
163•luispa•19h ago•62 comments

AI is dramatically accelerating AI research

https://www.planned-obsolescence.org/p/ai-is-dramatically-accelerating-ai
327•yurivish•16h ago•288 comments

Google has acquired Crusoe's data center site in southeast Wyoming

https://www.crusoe.ai/resources/newsroom/crusoe-wyoming-data-center-campus-update
82•rexbee•16h ago•29 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.