frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Immigration

https://dberntsson.info/2026/07/20/immigration/
1•fi-le•56s ago•0 comments

Implementing a 3-2-1 Backup Strategy with restic and Backblaze B2

https://chuck.is/paranoid/
1•sinnsro•1m ago•0 comments

Virginia Data Center Ran Diesel Generators for 24 Hours. Residents Fled

https://www.gadgetreview.com/virginia-data-center-ran-diesel-generators-for-24-hours-residents-fl...
1•cdrnsf•2m ago•0 comments

Build a Basic AI Agent from Scratch: Memory

https://www.ruxu.dev/articles/ai/build-an-ai-agent-memory/
1•ruxudev•5m ago•0 comments

AnyPwn: AnyDesk Linux pre-auth heap overflow to root

https://github.com/v12-security/pocs/tree/main/anydesk
1•torutofu•6m ago•0 comments

The Mean Machine

https://chrysalisbyauke.substack.com/p/the-mean-machine
1•Poefke•6m ago•0 comments

"Just Ask Claude" Is a Rare and Valuable Skill

https://justismills.substack.com/p/just-ask-claude-is-a-rare-and-valuable
1•surprisetalk•7m ago•1 comments

Light-responsive inks could make tattoos visible on demand

https://phys.org/news/2026-10-responsive-inks-tattoos-visible-demand.html
1•bookofjoe•9m ago•0 comments

Show HN: I wrote a matching engine for 60-second prediction markets

https://blinkmarkets.xyz/trade/sol
1•gauryvg98•10m ago•0 comments

Created an interactive map of how walkable addresses in 20 EU countries are

https://walkably.org/
1•raianpollock•12m ago•1 comments

Charitymaxxing

https://betterthanrandom.substack.com/p/charitymaxxing
1•weltview•12m ago•0 comments

Show HN: Nitro – a Python static site generator

https://nitro.sh
1•sswn•12m ago•0 comments

NS delegation for platforms sending email on behalf of others

https://www.helohq.com/blog/ns-delegation-for-platforms-sending-email-on-behalf-of-others
2•4BynHmBFUxBD•15m ago•0 comments

Microsoft to expand Azure Maia system to multi-gigawatt deployments

https://blogs.microsoft.com/blog/2026/10/12/microsoft-to-expand-azure-maia-system-to-multi-gigawa...
2•meetpateltech•15m ago•2 comments

Zafira–A dual-mode language bridging Python agility and native C safety

https://github.com/salomh46-rgb/Zafira-
1•salomh46•16m ago•0 comments

Parsing JSON at gigabytes per second in Python

https://lemire.me/blog/2026/10/12/parsing-json-at-tens-of-gigabytes-per-second-in-python/
1•smilelamp•19m ago•0 comments

Releasing AI-Generated Software

https://blog.ploeh.dk/2026/10/12/releasing-ai-generated-software/
2•groomlake•20m ago•0 comments

AI Almost Solved Reverse Engineering [video]

https://www.youtube.com/watch?v=WqrluJHVyzo
5•daan_nijl•21m ago•0 comments

Ukraine hits Russian Datacentre causing a 29% drop in US Twitter posts

https://www.thelondoneconomic.com/politics/what-is-yandex-ukraine-strike-russia-data-centres-410510/
8•My_Name•21m ago•0 comments

A fast, configurable statusline for Google Antigravity

https://github.com/wassim-azi/agy-powerline
1•Avlin67•22m ago•0 comments

Ask HN: How do you manage technical debt when coding with AI?

2•aeroscissorz1•22m ago•2 comments

50k tx/SEC with SQLite with multiple writers

https://github.com/sqliteai/sqlite-multiwriter
1•marcobambini•24m ago•0 comments

Elephants Understand Pointing

https://www.theguardian.com/science/2013/oct/11/elephants-understand-pointing-scientists-show
1•firephox•26m ago•1 comments

Hug this cuddly toy, and hear the piercing scream of real AI data centers

https://www.designboom.com/art/cuddly-toy-piercing-scream-real-ai-data-centers-basura/
2•surprisetalk•27m ago•0 comments

ESP32 Bit Pirate, Using ESP32S3 builtin WiFi radio as a software-defined radio

https://geo-tp.github.io/ESP32-Bit-Pirate/web-tools/esp-sdr/
2•geotp•27m ago•0 comments

Outrage grows as CDC reportedly poised to fund "unethical" vaccine trial

https://arstechnica.com/health/2026/10/rfk-jr-still-eager-to-fund-vaccine-trial-that-would-expose...
6•rbanffy•28m ago•1 comments

Engineering Ethics Should Be Part of Technical Training

https://spectrum.ieee.org/integrating-engineering-ethics-education
1•rbanffy•28m ago•0 comments

PS2 emulator, running natively on a jailbroken PS5

https://github.com/Swordpdf/PS5SX2
1•elorant•31m ago•0 comments

New California ghost gun lawsuit aims at company that sells 3-D printer filament

https://www.latimes.com/california/story/2026-10-10/san-diego-california-ghost-gun-3d-printer-fil...
1•jvolkman•32m ago•0 comments

Devine Lu Linvega – Sailor and Designer [video]

https://www.youtube.com/watch?v=x8yKp1qdWh8
1•tosh•34m 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.