frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Yum Brands, Nvidia will deploy new AI at 500 restaurants

https://www.restaurantdive.com/news/yum-brands-nvidia-ai-taco-bell-pizza-hut-kfc-deal/742926/
2•littlexsparkee•9m ago•0 comments

pocket – A dead-simple file clipboard for your terminal

https://github.com/pasc4le-ai-sandbox/pocket
1•pasc4le•10m ago•1 comments

Museum of Imaginary Musical Instruments

https://imaginaryinstruments.org/
1•bookofjoe•16m ago•0 comments

Stop paying $360/year to access your own email history

https://mailvaulty.com
1•khaledsabae•20m ago•0 comments

My Thoughts on Bun's Rust Rewrite

https://en.liujiacai.net/2026/05/16/bun-rust-port/
1•birdculture•21m ago•0 comments

Why raw RPC logs are not enough for trading infrastructure

https://blog.bridgexapi.io/behavior-reconstruction-vs-token-scanners
1•Bridgexapi•22m ago•0 comments

EDR vendors: source code access (3), staged updates (8), SBoM rare

https://av-comparatives.org/independent-study-highlights-transparency-and-data-practices-in-leadi...
1•YorkiRima•23m ago•0 comments

Reverse engineering Android malware from popular Chinese projectors

https://zanestjohn.com/blog/reing-with-claude-code
1•3abiton•25m ago•0 comments

What's inside an AI agent: a 300~ LoC ReAct loop

https://quantumentangled.dev/viewpost/11/whats-actually-inside-an-ai-agent-a-300-loc-react-loop
1•rulyone•27m ago•0 comments

Academia, startups, big tech, and back again

https://austinhenley.com/blog/academiastartupsbigtech.html
2•azhenley•31m ago•0 comments

How to use codex to get the most out of it

https://jxnl.co/writing/2026/05/10/codex-maxxing/
4•gizmodo59•34m ago•0 comments

Designing an FPGA Calculator from Scratch

https://baltazarstudios.com/calculator/
1•zdw•35m ago•0 comments

Cats Lock – keyboard lock for cat people

https://catslock.app
2•zdw•36m ago•0 comments

Shigeru Miyamoto has probably never compiled a line of code in his life

https://indiepixel.de/blog/posts/shigeru-miyamoto-has-probably-never-compiled-a-line-of-code-in-h...
2•gizmo64k•38m ago•0 comments

Ask HN: My side project has 5 happy paying customers. How do I get more?

https://classbuddy.io/home
1•sreedhar•40m ago•2 comments

Show HN: Track 10x bathroom tile developer status across code forges with Hugo

https://github.com/aselimov/-hugo-unified-git-activity
1•aselimov3•40m ago•0 comments

A Self-Hosting Point-and-Click Editor for Any GUI-DB Application [pdf]

https://michaelawhite.net/files/whitepaper.pdf
1•mwhite•44m ago•1 comments

Replacing Google Analytics with Matomo on a Pi in a Cupboard

https://alexlance.blog/analytics.html
2•alance•46m ago•0 comments

The LLM Looked Smart. The Metrics Disagreed

https://tiago.rio.br/work/general/articles/llm-looked-smart-metrics-disagreed/
1•timotta•50m ago•0 comments

Why does Amazon have no Western rivals?

https://www.bbc.com/news/articles/cg7p5nr307mo
2•dabinat•50m ago•1 comments

3D R/Place

https://outer.one
1•mikidoodle•51m ago•0 comments

Found the song from the viral runway watch ad with 110M Instagram views

https://www.youtube.com/watch?v=uF7lmsP3vJY
2•marcelix•54m ago•3 comments

188,000 Show HN posts, 14 years of data: what predicts GitHub stars

https://danfking.github.io/blog/2026/04/23/show-hn-by-the-numbers/
2•BundyBear•57m ago•0 comments

Hypen – Declarative UI Language for Cross-Platform Development

https://hypen.space/introducing-hypen
2•ravenical•1h ago•0 comments

Show HN: Cheap-IM – CPU-only voice agent approximating Thinking Machines' demo

https://github.com/kouhxp/cheap-im
1•mrkn1•1h ago•0 comments

Zero, a systems language for small native agent tools

https://github.com/vercel-labs/zero
1•mjgil•1h ago•0 comments

ZeroBloat: Open-source desktop app for removing Android bloatware

https://github.com/AdhwaithAS/ZeroBloat
2•pentagrama•1h ago•0 comments

Show HN: Building ClueDay, a daily clue-based word-game

https://tanyagupta10.substack.com/p/if-you-havent-vibecoded-already-build
1•tannyc•1h ago•0 comments

Target can't measure their own bins

https://ninjacheetah.dev/2026/05/17/target-cant-measure.html
3•argee•1h ago•0 comments

Searching "remove definition" on Google results in pointless AI text

https://www.google.com/search?q=remove+definition
2•tech234a•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.