frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What to do now that Last.fm is going to charge for API access

https://www.coryd.dev/posts/2026/what-to-do-now-that-lastfm-is-going-to-charge-for-api-access
1•cdrnsf•38s ago•0 comments

macOS Client for PowerToys Mouse Without Borders Control PC from Mac

https://github.com/fcelsa/mwbmac
1•fcelsa•51s ago•0 comments

Field Notes from China

https://parthchopra.substack.com/p/field-notes-from-china
1•probe•1m ago•0 comments

Ask HN: New Accounts

1•illidan1000•2m ago•0 comments

Hearthly, the Smart Home That Cares

https://jikol1906.github.io/Hearthly/
1•apetresc•2m ago•0 comments

FrontierBreach: Measuring frontier model attack susceptibility

https://www.promptarmor.com/frontier-breach
1•cmitsakis•2m ago•0 comments

Can a Phone Last 50 Years?

http://crywallcommunity.blogspot.com/2026/11/can-phone-last-50-years.html
1•mike5gao•4m ago•0 comments

California Sues OpenAI

https://apnews.com/article/chatgpt-openai-hugging-face-ai-risk-1dd7be56134b4f09fb2fb974803edc69
3•leafingensemble•4m ago•0 comments

Show HN: Fun with bicycle trainers and web APIs

https://joelriley.com/fun-with-trainers
1•okayestjoel•5m ago•0 comments

PlayStation network experiencing a service disruptions

https://status.playstation.com
2•ljahier•6m ago•0 comments

Cost per token explains 92% of a model's cost per task

https://micjm.com/blog/cost-per-task-vs-token/
1•seizethecheese•6m ago•0 comments

It Came from the Desert Enhanced (Recomp)

https://tim-rachor.itch.io/it-came-from-the-desert-enhanced
1•doener•7m ago•0 comments

Democrats probe whether Lutnick helped Cantor avoid Nvidia-linked losses

https://www.reuters.com/world/us/democrats-probe-whether-howard-lutnick-helped-cantor-avoid-nvidi...
2•JumpCrisscross•9m ago•0 comments

New proposed EU law will gut the protections for birds, fast track data centres

https://birdwatchireland.ie/
2•austinallegro•9m ago•0 comments

OpenAI expands Ganassi IndyCar partnership to full-season sponsorship of Palou

https://chipganassiracing.com/news/openai-expands-ganassi-partnership-to-full-season-sponsorship-...
1•tekdude•9m ago•1 comments

Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data

https://arxiv.org/abs/2611.14912
1•Anon84•12m ago•0 comments

Recursive self-improvement has started [video]

https://www.youtube.com/watch?v=1NHPDzpfR6Y
1•doener•14m ago•0 comments

LeBron James sues makers of AI sports-betting app, saying they used his likeness

https://abcnews.com/Technology/wireStory/lebron-james-sues-makers-ai-sports-betting-app-138229791
1•randycupertino•14m ago•1 comments

Nvidia Kumo Tabular: Pushing the Accuracy-Efficiency Frontier

https://arxiv.org/abs/2611.23001
1•Anon84•15m ago•0 comments

16M Segmentation Masks

https://huggingface.co/datasets/ibm-esa-geospatial/TerraMesh-Masks
1•marklit•16m ago•0 comments

Show HN: SourcePost – a hand-reviewed directory for AI agents (API and MCP)

https://sourcepost.dev
1•User1988_m•16m ago•0 comments

Octopus, Gecko and Tortoise: the 3 scanners hunting your AI keys

https://tin.computer/blog/fake-ai-crawler-secrets-scanners
3•demegire•18m ago•1 comments

Fornax's Guide to Fast Ethernet

https://docs.pixeldrain.com/posts/2024-03-07_network_optimizations/
1•birdculture•18m ago•0 comments

Artificial (movie about OpenAI) official trailer [video]

https://www.youtube.com/watch?v=ufeJbTNq-BI
3•armcat•19m ago•0 comments

Frege's logic in Grundgesetze is nonclassical

https://arxiv.org/abs/2611.19892
2•titusblair•19m ago•0 comments

Strict Capabilities with a PNVI Escape Hatch

https://arxiv.org/abs/2611.20564
1•titusblair•19m ago•0 comments

WordPress 7.1.5 was released to the public

https://wordpress.org/documentation/wordpress-version/version-7-1-5/
1•DropDead•19m ago•0 comments

modernc.org/webview: Pure-Go Browser Engine

https://pkg.go.dev/modernc.org/webview
1•ronsor•19m ago•0 comments

Heap-type permutation generation with a prescribed final arrangement

https://arxiv.org/abs/2611.22780
1•titusblair•19m ago•0 comments

Ford Open Source Software

https://corporate.ford.com
2•bariumbitmap•20m ago•1 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.