frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I used Claude to revive an NPM package with 760K downloads/wk last updated 2019

https://github.com/greenstevester/license-checker-evergreen
1•greenstevester•45s ago•1 comments

obsera – a real-time intelligence platform

https://www.obsera.xyz
1•obsera•2m ago•0 comments

Francesca Albanese and the Lonely Road of Defiance

https://chrishedges.substack.com/p/francesca-albanese-and-the-lonely
1•chmaynard•4m ago•0 comments

All of you are about as trustworthy as the peepers in the hood

1•trusttrusttrust•4m ago•0 comments

Dittytoy – Generative Music Playground

https://dittytoy.net/
1•harel•6m ago•0 comments

The NPC to MC Spectrum

https://nonzerosum.games/npc.html
1•NonZeroSumJames•7m ago•0 comments

Stable-Pretraining-v1: Foundation Model Research Made Simple

https://arxiv.org/abs/2511.19484
2•PaulHoule•9m ago•0 comments

Anti-Addiction iPhone Setup

https://www.aadillpickle.com/blog/iphone-setup
1•aadillpickle•9m ago•0 comments

From what longer video is this short?

https://www.youtube.com/shorts/kcr02CrY_Ik
1•gjvc•9m ago•0 comments

Show HN: I built my own Metronome Desktop App

https://shredono.me/
1•danmol•12m ago•0 comments

The most expensive education system

https://skandergarroum.substack.com/p/the-most-expensive-education-program
1•JoiDegn•17m ago•0 comments

Show HN: Request sensitive user input from system services

https://github.com/LightAndLight/asker
1•lightandlight•18m ago•0 comments

Brazil's Amazon rainforest at risk as key protection under threat

https://www.bbc.co.uk/news/articles/cwypzdgwg1yo
1•zeristor•25m ago•0 comments

Top OnlyCrave Alternatives

https://onlycrave.com/blog/post/215
1•digeka•25m ago•0 comments

Show HN: RAMBnB.xyz P2P marketplace for RAM rentals

https://www.rambnb.xyz
2•olivierroy•28m ago•0 comments

Firebase, Antigravity, & TypeScript FTW

https://daywards.com/media/the-case-for-firebase/firebase-antigravity-and-typescript-ftw
2•daywards•28m ago•0 comments

The Heritage Foundation Shows How MAGA Will Die

https://paulkrugman.substack.com/p/the-heritage-foundation-shows-how
4•rbanffy•28m ago•0 comments

Russia claims to have moved nuclear-capable missile system into Belarus

https://www.theguardian.com/world/2025/dec/30/russia-claims-moved-nuclear-capable-missile-system-...
2•sandebert•30m ago•0 comments

A pointless-looking URL shortener I use as a signal probe

https://short.uare.gay/
1•thecocaineninja•32m ago•0 comments

Hotswapping Haskell at Runtime (2017)

https://simonmar.github.io/posts/2017-10-17-hotswapping-haskell.html
1•sanufar•33m ago•0 comments

Admit It, You're in a Relationship with AI

https://www.bloomberg.com/opinion/articles/2025-12-30/ai-relationships-chatbots-have-a-social-cost
2•petethomas•33m ago•0 comments

Obsidian Audio Inbox

https://alexanderweichart.de/5_Archive/1.-Projects/audio-inbox/Obsidian-Audio-Inbox
1•surrTurr•34m ago•0 comments

Reverse-engineered a Sextortion Bot: Llama-7B instance with 2048 token window

https://old.reddit.com/r/LocalLLaMA/comments/1pzwlie/in_the_wild_reverseengineered_a_snapchat/
2•perelin•35m ago•0 comments

Honey's Dieselgate: Detecting and Tricking Testers

https://www.benedelman.org/honey-detecting-testers/
3•Leftium•39m ago•1 comments

Random Quality of Life Improvements That Will Change Your Life

https://twitter.com/thebeautyofsaas/status/2006104228381721052
1•gmays•41m ago•0 comments

A Year with Graphics

https://mropert.github.io/2025/12/30/a_year_with_graphics/
1•ibobev•42m ago•0 comments

Memory Safety Is

https://matklad.github.io/2025/12/30/memory-safety-is.html
1•ibobev•42m ago•0 comments

Updated LLM Benchmark (Gemini 3 Flash)

https://entropicthoughts.com/updated-llm-benchmark
2•ibobev•43m ago•1 comments

We have all we need to make mass surveillance a reality

https://idiallo.com/blog/we-have-all-we-need-for-mass-surveillance
3•firefoxd•45m ago•2 comments

Wildfire Smoke May Be More Dangerous Than Scientists Thought

https://scitechdaily.com/wildfire-smoke-may-be-far-more-dangerous-than-scientists-thought/
1•gmays•45m ago•0 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

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

Comments

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