frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Move Claude Code sessions between accounts in Claude Desktop

https://github.com/vitaliyhayda/claude-transplant
1•vhayda•29s ago•0 comments

Lists of Problems

https://en.wikipedia.org/wiki/Lists_of_problems
1•num42•6m ago•0 comments

Clean up your Android TV

https://tv.cobanov.dev/
1•chris_overseas•6m ago•0 comments

Decapitating a MacBook

https://mm-dev.rocks/series/decapitating-macbook-an-odyssey/
1•luu•8m ago•0 comments

Care for a Little More AI?

https://proofsandprompts.com/2026/08/30/care-for-a-little-more-ai/
1•throwaway81523•9m ago•0 comments

WeatherNext 3: Hourly global weather forecasts using live satellite data

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/introducing-weathernext-3/
1•fourfire•12m ago•0 comments

Thank you for being part of the GitHub Classroom journey

https://github.com/orgs/community/discussions/205975
1•qainsights•14m ago•0 comments

Show HN: Octoweb – a free, open-source keyboard-first browser for macOS

https://octoweb.xyz/
1•donk8r•16m ago•0 comments

VS Code – Official Documentary [video]

https://www.youtube.com/watch?v=kHL3XzjpT5w
2•MehrdadKhnzd•20m ago•0 comments

I Want More AI at Dartmouth

https://www.theatlantic.com/ideas/2026/09/universities-prohibiting-ai-classroom/688509/
1•paulpauper•21m ago•0 comments

The Dark Side of Mindfulness

https://www.theatlantic.com/ideas/2026/09/meditation-willoughby-britton-downsides/688474/
2•paulpauper•22m ago•0 comments

Teaching robots mortal kombat moves [video]

https://www.youtube.com/watch?v=1Oo8h655VMM
2•anton5mith2•22m ago•0 comments

The state of AI in 2026: On the road to ROI

https://www.mckinsey.com/capabilities/quantumblack/our-insights/the-state-of-ai?cid=mgp_opr-eml-n...
1•giuliomagnifico•24m ago•0 comments

Judge blocks X rival from using Twitter name, but allows 'Tweet' for now

https://techcrunch.com/2026/09/04/judge-blocks-x-rival-from-using-twitter-name-but-allows-tweet-f...
2•rdmuser•29m ago•0 comments

Is your favorite plant-based milk good for the planet

https://www.nationalgeographic.com/magazine/article/how-your-favorite-plant-based-milk-alternativ...
2•teleforce•34m ago•1 comments

Seismic Isolation

https://www.ligo.caltech.edu/page/vibration-isolation
1•pillars•35m ago•0 comments

34 arrests made for drug trafficking at Burning Man as of Friday

https://www.rgj.com/story/life/arts/burning-man/2026/09/04/34-arrested-drug-trafficking-burning-m...
1•MilnerRoute•37m ago•0 comments

Vancouver strip club's Instagram taken down over sign featuring lake joke

https://www.vancouverisawesome.com/local-news/vancouver-strip-club-instagram-taken-down-sign-call...
11•anigbrowl•40m ago•5 comments

Datacenters Are the New Shale Oil

https://pracap.com/datacenters-are-the-new-shale-oil/
3•Ambolia•46m ago•0 comments

Show HN: Generate safe WebMCP tools from your OpenAPI spec or validation schemas

https://github.com/SouravInsights/webmcp-stack
1•SouravInsights•48m ago•0 comments

Show HN: Main Street Toolbox – Calculators for small business owners

https://mainstreettoolbox.com/
1•devinjin•50m ago•0 comments

LLM-as-a-Verifier

https://github.com/llm-as-a-verifier/llm-as-a-verifier
2•simonpure•55m ago•0 comments

Show HN: 4D Chess

https://4dchess.org/
1•nadermx•55m ago•0 comments

The Shape and Feel of the Post-AI Data Stack

https://www.iandmacomber.com/blog/post-ai-data-stack/
1•nlpnerd•59m ago•1 comments

B.C. man lost for 5 nights in mountains near Squamish shares survival story

https://www.cbc.ca/lite/story/9.7333975
1•colinprince•1h ago•0 comments

Trump signs order to remove endangered species protection for grey wolves

https://www.bbc.com/news/articles/c62k677d4lzo
21•Alien1Being•1h ago•3 comments

Show HN: Deterministic Synthetic Fingerprints from a Seed

https://github.com/1etu/actual-fingerprints
1•1etu•1h ago•0 comments

Surfing the Purple Ocean

https://architectureintel.com/surfing-the-purple-ocean-97907b95f3bb?postPublishedType=initial
1•younss•1h ago•0 comments

Seaside, Florida

https://en.wikipedia.org/wiki/Seaside,_Florida
1•hyperific•1h ago•0 comments

BLLM / ALLM – before and after LLM

1•orian•1h 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.