frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Designing a Better Podcast Editor

https://www.adamsolove.com/ui/ducking/2026/06/03/better-podcast-ui.html
1•SpyCoder77•2m ago•0 comments

Ghost jobs

https://www.columbialawreview.org/content/ghost-jobs/
1•hhs•4m ago•0 comments

People I Met in Tulum

https://twitter.com/heshie/status/2062938235454542117
1•heshiebee•4m ago•0 comments

Wildfires have worsened ozone pollution in the United States

https://now.uiowa.edu/news/2026/06/wildfires-have-worsened-ozone-pollution-united-states
1•hhs•9m ago•0 comments

Show HN: Jeju – a local-first agent harness with inspectable runs

https://github.com/cosmtrek/jeju
1•cosmtrek•10m ago•0 comments

AI is the major driver of innovation in Canada and around the world

https://ised-isde.canada.ca/site/ised/en/canadas-national-artificial-intelligence-strategy-ai-all
1•megamike•10m ago•0 comments

Will OpenAI and Anthropic Service?

https://medium.com/@paul.bernard_80815/beyond-inference-why-the-future-of-ai-may-belong-to-millio...
1•paulbernard•12m ago•0 comments

Satellite data show trees delay budburst across landscapes to escape herbivores

https://www.nature.com/articles/s41559-026-03071-9
1•PaulHoule•15m ago•0 comments

Dutch solar owners asked to switch off during peak to ease distribution crisis

https://www.pv-magazine.com/2026/06/05/grid-connection-delays-affect-thousands-of-dutch-customers...
1•ndr42•16m ago•0 comments

Researchers show how brain rewires itself to enable true multitasking

https://medicine.georgetown.edu/news-releases/georgetown-researchers-show-how-brain-rewires-itsel...
1•hhs•17m ago•0 comments

Model alleges retailer used AI to generate likeness under 'minor edits' clause

https://medium.com/human-offset/minor-edits-09ad99aad0f4
1•gdessau•20m ago•0 comments

Aswath Damodaran on SpaceX: Revisiting the SpaceX Valuation: An Update

https://aswathdamodaran.blogspot.com/2026/06/a-weeks-ago-i-assessed-value-of-spacex.html
2•aanet•23m ago•1 comments

Anthropic warns Claude AI is building itself faster than expected

https://www.tomshardware.com/tech-industry/artificial-intelligence/anthropic-says-claude-now-writ...
1•corvettez0606•24m ago•0 comments

Understand how you build with AI

https://paxel.ycombinator.com/
2•simonpure•27m ago•0 comments

EU CRA compliance management tool

https://github.com/cra-norm-engine/crane
1•amh1036•28m ago•0 comments

30-year study finds sweet spot for cardio and strength training for longer life

https://www.medicalnewstoday.com/articles/want-to-live-longer-study-finds-sweet-spot-for-cardio-a...
2•akyuu•30m ago•0 comments

GNUtrition 0.33

https://lists.gnu.org/archive/html/info-gnu/2026-06/msg00002.html
2•amcclure•31m ago•0 comments

Why Stone-Faced Fascists Keep Getting Antiquity Wrong

https://www.thebulwark.com/p/why-stone-faced-fascists-keep-getting-antiquity-wrong-x-twitter-elon...
1•enaaem•31m ago•0 comments

Sony's age verif company Yoti; threatening users who use GrapheneOS

https://old.reddit.com/r/privacy/comments/1txn8di/did_i_just_got_threatened_by_yoti_age/
4•mystraline•37m ago•0 comments

Autohost – spin up websites seconds after someone points a domain at them

https://github.com/Safebots/Autohost
1•EGreg•37m ago•0 comments

Training-Free Single-Image Diffusion Models

https://haojunqiu.github.io/efficient-SID/
2•E-Reverance•42m ago•0 comments

Safe Made Easy Pt.1: Single Ownership Is (Not) Optional

https://ergeysay.me/safe-made-easy-pt1.html
1•birdculture•42m ago•0 comments

How Artemis II livestreamed hi-def videos and images from the moon to Earth

https://news.mit.edu/2026/how-artemis-ii-livestreamed-hi-def-videos-images-from-moon-to-earth-0605
2•gnabgib•46m ago•0 comments

Show HN: Honest Privacy Policies – We Read the Fine Print So You Don't Have To

https://honestprivacypolicies.org/
2•LuD1161•52m ago•0 comments

I built a music suite to replace five apps, all in one and free (Tauri/Rust)

https://github.com/EgleAudioSuite/egle/releases/tag/v1.1.0
2•EgleAudio•52m ago•0 comments

Show HN: I created a RAW to HDRI stacker in (mostly) Common Lisp

https://github.com/IBL-tools/rawtohdri
3•aaronestrada•52m ago•0 comments

Microsoft wants users to be addicted to Scout, their AI personal assistant

https://disassociated.com/microsoft-users-addicted-ai-personal-assistant/
14•berlianta•57m ago•11 comments

A floating solar plant using vertical panels

https://www.vozpopuli.com/indux/en/a-floating-solar-plant-using-vertical-panels-is-flipping-the-u...
3•e2e4•57m ago•1 comments

HRM-Text: Efficient Pretraining Beyond Scaling

https://arxiv.org/abs/2605.20613
2•cubefox•58m ago•0 comments

A Framework for Confident Model Migration in Production Systems

https://arxiv.org/abs/2604.27082
1•PaulHoule•59m 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.