frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How do you deal with AI Output of your boss?

1•okr•1m ago•0 comments

Logitech begins making devices in India, says it was a 'natural' shift

https://indianexpress.com/article/technology/tech-news-technology/logitech-begins-making-devices-...
1•thisislife2•3m ago•0 comments

What's New in React 19.3 and How It Changes UI Development

https://jsdev.space/react-19-3/
1•javatuts•5m ago•0 comments

Show HN: Nexo – S3-compatible object storage in Go, single binary, AGPL

https://github.com/R3n3r0/Nexo
1•paolorusso•6m ago•1 comments

Ledger Nano X: the spy implant

https://www.tibane.net/research/ledger-nano-x-implant
1•imichael•10m ago•0 comments

Simple Consensus Under Synchrony and Crash Faults

https://medium.com/@bhaskark2/simple-consensus-under-synchrony-and-crash-faults-1ae637e23718
1•adunk•12m ago•0 comments

I built a programming language that LLMs can't use

https://blog.picheta.me/post/killswitch-lang/
2•dom96•17m ago•0 comments

Bitter Lessons and Premature Optimizations

https://blog.veitheller.de/bitter.html
1•hellerve•18m ago•0 comments

Cloudroom – Every agent. One app

https://www.cloudroom.dev
2•nikolay•20m ago•1 comments

Unrest Mars Day of Protest in France, as Student Movement Turns National

https://www.nytimes.com/2026/10/17/world/europe/france-protest-riots-marseille.html
1•donsupreme•23m ago•0 comments

Espagne

https://www.citaconsular.es/es/hosteds/widgetdefault/25028fcd7126544630b8da0c6e60722b5
1•samuelys•25m ago•0 comments

VedaOS: The First Intelligent Hobby OS

https://github.com/vahmoh25/Veda/commit/5fcea329e3ccc891d34aeee355132719b9e59745
2•newshk2026•28m ago•2 comments

Can predictive tools tell us who will benefit from antidepressants?

https://www.science.org/content/article/can-predictive-tools-tell-us-who-really-needs-antidepress...
1•EA-3167•29m ago•0 comments

Show HN: PrimerKit, financial market work at agent speed

https://primerkit.ai/
2•KalskiTheDan•30m ago•0 comments

Poll: Stanford students preferred 22% less salary for annual equity liquidity

1•lukasgruber__•31m ago•0 comments

Proposal: Every vulnerability report < HIGH is immediately public

https://curl.se/mail/lib-2026-10/0006.html
1•sbinder•32m ago•0 comments

Do you think you can trust the privacy policy of a company or project?

https://unixdigest.com/articles/do-you-think-you-can-trust-the-privacy-policy-of-a-company-or-pro...
1•1317•34m ago•0 comments

AI coding interfaces make approval easy and understanding hard

https://www.aymannadeem.com/artificial/intelligence,/developer/tools/2026/10/10/ai-coding-interfa...
1•emschwartz•37m ago•0 comments

Show HN: Put AI to work across your company

https://vstorm-co.github.io/vstormos-landing/
1•outageroom•37m ago•0 comments

Flexi, Martin and geiss – dedicated to the sherwin maxawow

https://www.toil.fyi/?preset=flexi-martin-geiss-dedicated-to-the-sherwin-maxawow
1•TomJansen•38m ago•0 comments

Attacks on applications of k-anonymity for password retrieval (2019)

http://cablej.io/blog/k-anonymity/
1•pbrowne011•39m ago•0 comments

Cadence: A free, copyleft music-learning studio for Mac

https://cigrainger.github.io/cadence/
2•cigrainger•44m ago•0 comments

Epic's EAC2 v2 seems fairly easily bypassable

https://codon.org.uk/~mjg59/blog/p/epics-eac2-v2-seems-fairly-easily-bypassable/
1•birdculture•45m ago•0 comments

I Became a Citizen of AI

https://discuss.google.dev/t/trusted-automation-with-google-antigravity-scaling-secure-finance-in...
1•ffgffxddxxxxxx•48m ago•0 comments

Google DeepMind's New Resident Philosopher Tackles AI Ethics

https://spectrum.ieee.org/ai-ethics-deepmind-philosopher-shevlin
2•pseudolus•50m ago•0 comments

Neoism – An open-source agent harness and native IDE in Rust

https://neoism.ai/
3•Mr_Settle•50m ago•0 comments

For those using huge amount of tokens monthly for dev work, why do you need it?

2•why_is_my_floor•1h ago•2 comments

JDK 28

https://openjdk.org/projects/jdk/28/
4•ejboy•1h ago•0 comments

One Hash Bloom Filters

https://calabro.io/ohbf
1•jcalabro•1h ago•0 comments

FingerWorks iGesture Pad (2005)

https://uk.pcmag.com/first-looks/26975/fingerworks-igesture-pad
1•codeulike•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.