frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Disconnecting from Discord

https://omglol.news/2025/09/18/disconnecting-from-discord
1•brantonb•1m ago•0 comments

Application vs. Database: Where Should Permissions Live?

https://mergify.com/blog/application-vs-database-where-should-permissions-live
1•jd__•1m ago•0 comments

Swiyu, the Swiss Trust Infrastructure ecosystem (e-id)

https://github.com/swiyu-admin-ch
1•BafS•3m ago•0 comments

If restaurants ran like AWS

https://stackadilly.com/blog/if-restaurants-ran-like-aws
1•twerkman•3m ago•0 comments

Launch HN: Cactus (YC X25) – AI inference on smartphones

https://github.com/cactus-compute/cactus
3•HenryNdubuaku•3m ago•0 comments

Link Extractor

https://github.com/cssnr/link-extractor
1•toomuchtodo•3m ago•1 comments

Zero trust isn't a feature, it's a philosophy

https://www.spiceworks.com/security/zero-trust-isnt-a-feature-its-a-philosophy/
2•CrankyBear•4m ago•0 comments

Mapping Competitive Biotech Landscapes with Embeddings

https://rxdatalab.com/research/biotech-competitive-landscape-embeddings/
2•nnmg•4m ago•0 comments

Glass Substrates Gain Momentum

https://semiengineering.com/glass-substrates-gain-momentum/
2•rbanffy•5m ago•0 comments

A glimpse into Oscar winner movie "Flow" – Blender Conference 2025 [video]

https://www.youtube.com/watch?v=hLKSudM6BcQ
1•shankysingh•5m ago•0 comments

Tiny but mighty: The Phi-3 small language models with big potential

https://news.microsoft.com/source/features/ai/the-phi-3-small-language-models-with-big-potential/
1•jimsojim•8m ago•0 comments

LLM misalignment may stem from role inference, not corrupted weights

https://www.lesswrong.com/posts/NcQzcx3xyNgWTZw9W/cross-domain-misalignment-generalization-contex...
1•PinResearch•8m ago•1 comments

Show HN: KSON, a love-letter to the humans maintaining computer configuration

https://kson.org
3•dmarcotte•8m ago•0 comments

Toward a General Theory of Consciousness: AI Pushes Science Beyond the Brain

https://dailyneuron.com/general-theory-of-consciousness-ai/
1•danielmorozoff•9m ago•0 comments

Cppless: Single-Source and High-Performance Serverless Programming in C++

https://dl.acm.org/doi/10.1145/3747841
1•matt_d•10m ago•0 comments

We have outgrown the Process model

https://sidhion.com/blog/process_model_outgrown/
1•mpweiher•11m ago•0 comments

Cybercriminals pwn 850k+ Americans' healthcare data

https://www.theregister.com/2025/09/18/850k_americans_affected_by_medical/
1•rntn•12m ago•0 comments

Show HN: Mocky AI, Preview LLM use cases in minutes without an MVP

https://www.usemocky.com/
2•thomask1995•12m ago•0 comments

The health benefits of sunlight may outweigh the risk of skin cancer

https://www.economist.com/science-and-technology/2025/09/17/the-health-benefits-of-sunlight-may-o...
1•Brajeshwar•12m ago•0 comments

The deep mathematics of why 10² + 11² + 12² = 13² + 14²

https://bigthink.com/starts-with-a-bang/deep-mathematics-10²-11²-12²-13²-14²/
1•Brajeshwar•13m ago•0 comments

Biosignatures? Why organics on Mars don't necessarily signal life

https://bigthink.com/hard-science/biosignatures-why-organic-compounds-on-mars-may-not-signal-life/
2•Brajeshwar•13m ago•0 comments

Did Atlassian copy our logo?

https://twitter.com/grinich/status/1968435438990897197
1•grinich•13m ago•0 comments

Show HN: Silly SF Tech Billboards

https://sillysfbillboards.com/
1•yuedongze•13m ago•0 comments

Scientists shoot lasers into brain cells to uncover how illusions work

https://alleninstitute.org/news/scientists-shoot-lasers-into-brain-cells-to-uncover-how-illusions...
1•gmays•13m ago•0 comments

Meta Superintelligence Labs Presents: Compute as Teacher

https://twitter.com/DulhanJay/status/1968693170264248532
1•shash42•13m ago•1 comments

Tesla is looking to redesign its door handles following trapped-passenger report

https://www.cnn.com/2025/09/18/business/telsa-door-handle-redesign
2•rawgabbit•15m ago•1 comments

iPhone 17 Pro Camera Review: Dolomites Mann

https://www.austinmann.com/trek/iphone-17-pro-camera-review-dolomites
1•tosh•16m ago•0 comments

Right-wing extremist violence is more frequent and deadly than leftwing violence

https://theconversation.com/right-wing-extremist-violence-is-more-frequent-and-more-deadly-than-l...
5•BugsJustFindMe•16m ago•2 comments

Low-level direct currents eradicate multi-drug-resistant Candidozyma auris

https://www.sciencedirect.com/science/article/pii/S1385894725069086
1•PaulHoule•17m ago•0 comments

Show HN: Kortyx – Personal memory layer for every AI agent

https://kortyx.co/
1•gravez•17m ago•0 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

https://jelv.is/blog/Generating-Mazes-with-Inductive-Graphs/
20•todsacerdoti•4mo ago

Comments

tomfly•4mo ago
where is the entrance and exit?
Jaxan•4mo ago
Doesn’t matter, because all positions are reachable. So just pick any two positions at the border and remove a wall.
kazinator•4mo 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•4mo 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•4mo 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•4mo 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.