frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Developer Experience Is a Performance Feature

https://bytecode.news/posts/2026/05/developer-experience-is-a-performance-feature
1•LaSombra•2m ago•0 comments

Steve Jobs Next Computer: His Forgotten Exile Years

https://spectrum.ieee.org/steve-jobs-next-computer
1•rbanffy•7m ago•0 comments

SDL Library Adds Support for the New Steam Controller Without Depending on Steam

https://www.phoronix.com/news/SDL-Steam-Controller-2026
2•haunter•7m ago•1 comments

Justice Department Investigation Determines Yale Discriminated Based on Race

https://www.justice.gov/opa/pr/justice-department-investigation-determines-yales-medical-school-d...
1•Claudus•10m ago•1 comments

NanoTDB – Golang Append-Only Time Series DB

https://github.com/aymanhs/nanotdb
1•aymanhs72•10m ago•0 comments

Known by Their Actions: Fingerprinting LLM Browser Agents via UI Traces

https://arxiv.org/abs/2605.14786
1•sbulaev•12m ago•0 comments

Tachyons Neo – Utility CSS without build step

https://tachyonsneo.com
1•hit8run•17m ago•1 comments

Show HN: OrcaSheets, local first analytics engine to process billions of rows

https://orcasheets.ai
1•ydgandhi•18m ago•0 comments

How to Enter Side Doors

https://velvetnoise.substack.com/p/how-to-enter-side-doors
1•jger15•22m ago•0 comments

Nairobi became a nexus for the black market in giant harvester ants

https://www.theguardian.com/environment/ng-interactive/2026/may/13/smuggled-illegal-global-trade-...
2•Michelangelo11•28m ago•1 comments

Scryve-tools – Unified wallet auth for CKB, EVM, and BTC in one NPM package

https://github.com/tecmeup123/scryve-tools
1•scryve•35m ago•0 comments

The Earliest Known Dentistry Wasn't Done by Our Species

https://www.sciencealert.com/the-earliest-known-dentistry-wasnt-done-by-our-species
2•janandonly•39m ago•1 comments

Show HN: Sanjaya – Academic paper discovery and extraction (OpenAlex/Scrapy)

https://sanjaya-six.vercel.app/
1•oug-t•41m ago•1 comments

Rest alone doesn't fix burnout. Here's the structural reason why

https://www.sharks-coaching.com/content-hub/emotions-and-stress-management/how-to-recover-from-bu...
4•roxxon_1•42m ago•1 comments

Show HN: One Markdown File to Set Up Claude, Codex, Cursor and Copilot

https://github.com/kernalix7/ai-project-setup
2•kernalix7•43m ago•0 comments

Show HN: Domain DMARC Checker

https://dmarcdefender.io/tools/domain-check
3•c0nrad•44m ago•0 comments

Overseas fakers using AI videos to push a narrative of UK decline, BBC finds

https://www.bbc.co.uk/news/articles/ckgpyn30dp3o
5•dijksterhuis•45m ago•1 comments

Show HN: Mailenc – Test if your PGP email setup works

https://mailenc.org/
2•soeckly•45m ago•0 comments

AI Will Not Make Everyone More Productive

https://www.vincentschmalbach.com/ai-will-not-make-everyone-more-productive/
4•vincent_s•48m ago•0 comments

Britain's latest civil servant is a chatbot trained on Gov.uk misery

https://www.theregister.com/public-sector/2026/05/15/britains-latest-civil-servant-is-a-chatbot-t...
2•jjgreen•48m ago•0 comments

Ask HN: How do you listen to research papers? (TTS workflows for commutes)

2•vinxu•52m ago•1 comments

Ways in which GenAI has changed the way I write code so far

https://lengrand.fr/ways-in-which-genai-has-changed-my-coding-so-far/
2•jlengrand•53m ago•0 comments

Geography is four-dimensional

https://sive.rs/4d
12•galfarragem•54m ago•1 comments

Show HN: My time has come – let Claude Code wrap up before 5-hour usage runs out

https://github.com/JinBa1/my-time-has-come
2•BuyG1n•55m ago•1 comments

Stochastic Parrots: Frequently Unasked Questions

https://medium.com/@emilymenonbender/stochastic-parrots-frequently-unasked-questions-49c2e7d22d11
1•edent•1h ago•0 comments

Node 26.1.0 – experimental node:FFI module

https://nodejs.org/en/blog/release/v26.1.0
1•tosh•1h ago•0 comments

Best Realtime Voice Agent in 2026

https://techstackups.com/articles/best-voice-agent-2026/
1•ritzaco•1h ago•0 comments

Tech groups score win on clean energy rules for gas-powered data centres

https://www.ft.com/content/2ed922bb-266f-45cc-8930-c4ab5422bf95
1•zekrioca•1h ago•1 comments

Giggle for Girls app discriminated against trans woman; judges double damages

https://www.theguardian.com/australia-news/2026/may/15/giggle-for-girls-app-discriminated-against...
1•prawn•1h ago•0 comments

Apple's iPhone 18 Modem Switch Comes with a Quiet Privacy Benefit

https://www.macrumors.com/2026/05/14/iphone-18-pro-modem-benefits/
1•dabinat•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.