frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Download Canvas and Panopto Lecture Videos

https://www.scholarshipsads.com/blog/how-to-download-canvas-and-panopto-lecture-videos
1•behindai•9m ago•0 comments

Trump's 'narco‑terrorism' war in Latin America evokes Reagan

https://theconversation.com/trumps-narco-terrorism-war-in-latin-america-evokes-reagan-then-as-now...
1•robtherobber•11m ago•0 comments

Pioneer of 'extreme male brain' theory of autism now says phrase unhelpful

https://www.theguardian.com/society/2026/jul/05/autism-extreme-male-brain-simon-baron-cohen
1•Michelangelo11•11m ago•0 comments

India's IT industry is shrinking general hiring while AI roles rose 16%

https://twitter.com/rohanpaul_ai/status/2073314619423174678
1•rustoo•11m ago•0 comments

Veteran Coder, Modern Delivery: The Hunt for the Perfect Technical TPM Role

https://www.mariusb.net/blog/2026/07/veteran-coder-modern-delivery-the-hunt-for-the-perfect-techn...
1•mariusb16•12m ago•0 comments

Google disrupts NetNut proxy network used in malware operations

https://www.reuters.com/business/media-telecom/google-disrupts-netnut-proxy-network-used-malware-...
1•angst•13m ago•0 comments

Mercury – Hermes HF Modem

https://github.com/Rhizomatica/mercury
1•noyesno•20m ago•0 comments

UN chief warns AI is developing faster than rules can keep up

https://www.reuters.com/technology/un-chief-warns-ai-is-developing-faster-than-rules-can-keep-up-...
2•adithyaharish•27m ago•0 comments

A Skiing Accident Put Our Development Practices to the Test

https://blog.enioka.com/2026/07/03/how-a-skiing-accident-put-our-development-practices-to-the-test/
4•hebus•29m ago•0 comments

14× faster embeddings: how we rebuilt the ONNX path in Manticore

https://medium.com/@s_nikolaev/14-faster-embeddings-how-we-rebuilt-the-onnx-path-in-manticore-fab...
2•snikolaev•31m ago•0 comments

Looking Forward to Postgres 19: Split Personality

https://www.pgedge.com/blog/looking-forward-to-postgres-19-split-personality
1•rellem•32m ago•1 comments

Defeat air-gapped systems by exfiltrating data using Apple Find My network

https://github.com/HouzuoGuo/hzgl-air-bridge
2•austinallegro•32m ago•0 comments

DJ USB T[ool]kit

https://github.com/haivala/dj-usb-tkit
1•chipheadi•33m ago•0 comments

Show HN: WatermarkGo – Gemini Watermark Remover

https://watermarkgo.com
2•qwikhost•35m ago•0 comments

HN: An automated CI/CD testing harness for Model Context Protocol servers

https://github.com/vaquarkhan/mcp-test-harness
2•vaquarkhan•35m ago•0 comments

AI-powered product photography suite designed specifically for Amazon sellers

https://loomadesign.ai/
1•loomadesignai•39m ago•0 comments

Show HN: Excalibur. The open-source AI coding agent for product engineers

https://getexcalibur.dev
4•Rafael_Casuso•40m ago•0 comments

Thoughts on the Near Future

https://x.com/bayeslord/article/2072056960430789032
1•grodriguez100•43m ago•0 comments

What America has meant to me

https://twitter.com/swyx/status/2073657149067321412
1•pretext•50m ago•0 comments

Built a Website for People Who Miss the Old Web

https://www.dailicle.com/
2•lucky-solanki•51m ago•0 comments

China wants to solve the hardest problem in robotics – making hands

https://www.theguardian.com/technology/ng-interactive/2026/jul/06/china-dextrous-robotic-hands-hu...
4•sandebert•53m ago•0 comments

Interdict: Stop agents from destroying production databases

https://github.com/prisharai/Interdict
1•handfuloflight•54m ago•1 comments

Building Software Is Learning

https://registerspill.thorstenball.com/p/building-software-is-learning
1•kiyanwang•55m ago•1 comments

TinyRetroPad: A working, Notepad-style Windows text editor in roughly 2.5 KB

https://github.com/plummersSoftwareLLC/TinyRetroPad
3•doener•56m ago•0 comments

Phi Browser 2.0: Spaces, Profiles, and Room for Your Agents

https://phibrowser.com/news/phi-browser-v2/
2•sjdhoome•57m ago•1 comments

When AI Costs More Than the Engineer

https://tomtunguz.com/ai-spend-breakeven-2029/
17•kiyanwang•59m ago•4 comments

Generate parametric, manufacturable 3D models in seconds

https://kyrall.com/
5•OsamaAtwi•1h ago•2 comments

How Russia Blackmails Ordinary Ukrainians to Spread Terror in Ukraine [video]

https://www.youtube.com/watch?v=1ypMQlXlWIg
2•consumer451•1h ago•1 comments

Revised Rules of Engineering Leadership

https://lethain.com/revised-rules-of-engineering-leadership/
2•kiyanwang•1h ago•0 comments

When Gemma Thinks About Resources – It Fails: A Behavioral Experiment

https://www.lesswrong.com/posts/9Gj9anZi95RgHQPv6/when-gemma-thinks-about-resources-it-fails-a-be...
2•joozio•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.