frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Simulating a blower-door test with a smartphone barometer and phyphox

https://www.youtube.com/watch?v=UaR11XjLU10
1•jhtressl•1m ago•0 comments

Show HN: Golang Client Library for Gradium.ai TTS/STT API

https://github.com/cydanix/go-gradium
1•irqlevel•2m ago•0 comments

In defense of lock poisoning in Rust

https://sunshowers.io/posts/on-poisoning/
1•sunshowers•2m ago•0 comments

IRL Posters gain value when AI poisons the well

https://drive.google.com/file/d/1BZN65AeYMDnqjv9pDJpYQLP_lEWZkhB3/view?usp=sharing
2•moegevirtz•3m ago•1 comments

Complete Guide to Vectors in PostgreSQL

https://www.neurondb.ai/blog/neurondb-vectors
1•pgelephant2025•4m ago•0 comments

Re-Signifying My Relationship with Speed

https://rashidazarang.com/c/re-signifying-my-relationship-with-speed
2•rashidae•5m ago•0 comments

Nvidia CFO admits the $100B OpenAI megadeal 'still' isn't signed

https://fortune.com/2025/12/02/nvidia-openai-deal-not-signed-yet-100-billion-rally-colette-kress/
1•thenaturalist•6m ago•1 comments

WHO recommends GLP-1 drugs for obesity

https://www.nbcnews.com/health/health-news/recommends-glp-1-drugs-obesity-rcna245919
1•gmays•7m ago•0 comments

Overlap in Corporate Leadership Increases Collusion

https://www.nber.org/digest/202512/overlap-corporate-leadership-increases-collusion
2•Bostonian•8m ago•1 comments

Code Ultra Red: ChatGPT is down

2•I_am_tiberius•9m ago•0 comments

AI Can Steal Crypto Now

https://www.bloomberg.com/opinion/newsletters/2025-12-02/ai-can-steal-crypto-now
1•toomuchtodo•9m ago•1 comments

Michael Lewis 'Against the Rules': Michael Burry Speaks [audio]

https://www.pushkin.fm/podcasts/against-the-rules/michael-burry-speaks
2•thomassmith65•10m ago•0 comments

Zorin OS

https://zorin.com/
2•janandonly•15m ago•1 comments

1000x: The Power of an Interface for Performance by Joran Dirk Greef [video]

https://www.youtube.com/watch?v=yKgfk8lTQuE
1•adityaathalye•15m ago•0 comments

The Myth of the $140k Poverty Line

https://www.thefp.com/p/the-myth-of-the-140000-poverty-line
1•paulpauper•16m ago•0 comments

How much of "Mississippi's education miracle" is an artifact of selection bias?

https://statmodeling.stat.columbia.edu/2025/12/01/how-much-of-mississippis-education-miracle-is-a...
1•paulpauper•18m ago•0 comments

Trump Accounts Are a Big Deal

https://marginalrevolution.com/marginalrevolution/2025/07/trump-accounts-are-a-big-deal.html
3•paulpauper•18m ago•2 comments

Show HN: Prima Veritas – Deterministic Analytics Engine for Reproducible ML

https://github.com/bryanziehl/prima-veritas
1•MLoffshore•21m ago•1 comments

Disable-Javascript.org

https://xn--gckvb8fzb.com/disable-javascript-org/
1•speckx•21m ago•0 comments

Saudi Fund to Own Almost All of Electronic Arts After Buyout

https://www.wsj.com/business/deals/saudi-fund-to-own-almost-all-of-electronic-arts-after-buyout-6...
2•JumpCrisscross•22m ago•1 comments

Kiro Autonomous Agent

https://kiro.dev/autonomous-agent/
2•janpio•23m ago•0 comments

Gel Joins Vercel

https://www.geldata.com/blog/gel-joins-vercel
7•jakubmazanec•24m ago•0 comments

How AI is transforming work at Anthropic

https://www.anthropic.com/research/how-ai-is-transforming-work-at-anthropic
3•mfiguiere•26m ago•0 comments

It's hard to deny the simple beauty of a function

https://www.jameskerr.blog/posts/2025/mostly-functions/
3•jameskerr•26m ago•0 comments

YouTube AI: Deepfake detector tool is alarming creators, experts

https://www.cnbc.com/2025/12/02/youtube-ai-biometric-data-creator-deepfake.html
2•thunderbong•27m ago•1 comments

Books, Bombs, and Battlefield Needs: Rethinking Development in Myanmar

https://insightmyanmar.org/insight-myanmar-blog/2025/5/5/books-bombs-and-battlefield-needs-rethin...
1•arunc•27m ago•0 comments

Government of Canada AI Register (Minimum Viable Product)

https://open.canada.ca/data/en/dataset/fcbc0200-79ba-4fa4-94a6-00e32facea6b
2•palidanx•32m ago•0 comments

Why We Love Functional Programming But Don't Use Effect-TS

https://runharbor.com/blog/2025-11-24-why-we-dont-use-effect-ts
2•18nleung•32m ago•0 comments

AWS announces new capabilities for its AI agent builder

https://techcrunch.com/2025/12/02/aws-announces-new-capabilities-for-its-ai-agent-builder/
1•janpio•33m ago•0 comments

ABC's from Space

https://www.visibleearth.nasa.gov/collection/1619/abcs-from-space
3•merusame•33m ago•0 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

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

Comments

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