frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

TikTok Withheld a Safety Feature from Millions. One Died by Suicide

https://www.bloomberg.com/news/features/2026-08-04/confidential-tiktok-report-shows-algorithm-saf...
1•iamacyborg•5m ago•0 comments

Ask HN: How can I improve my products? Which one to keep working on?

1•bchhabra2490•6m ago•0 comments

Cloudexit – assess your cloud exit readiness

https://github.com/escapecloud/cloudexit/
1•bencehezso•7m ago•1 comments

Opus 5 is lazy (A Twitter thread)

https://twitter.com/kimmonismus/status/2084727476761083926
1•matthieu_bl•9m ago•0 comments

FelonyBench

https://www.felonybench.com/
1•Philpax•13m ago•1 comments

C++26: Embed

https://www.sandordargo.com/blog/2026/08/05/cpp26-embed
1•ingve•14m ago•0 comments

Show HN: Bean Network Tester – open-source bad network simulator

https://github.com/donislawdev/BeanNetworkTester
2•donislawdev•16m ago•0 comments

The Attack Was Authorized: The Missing Security Boundary for AI Agents

https://blog.iluxav.com/the-attack-was-authorized-the-missing-security-boundary-for-ai-agents
1•johlo•20m ago•0 comments

Ask HN: Did GitHub remove the stargazers list?

4•reconnecting•22m ago•0 comments

A technical framework for managed service offering bring-your-own-cloud

https://byocanywhere.org/
1•aloknnikhil•24m ago•0 comments

Show HN: Free, open-source Chrome extension for Play Console utilities

https://github.com/Visnalize/play-console-utils
1•khangnd•24m ago•0 comments

AI search is turning Reddit comments into ads

https://www.theverge.com/ai-artificial-intelligence/973098/reddit-ai-search-seo-marketing-brands-...
4•BlueBerry2001•27m ago•0 comments

Ignatius: Visualize Data Models, Data Graphs, and Data Flows

https://github.com/noormdev/ignatius
2•handfuloflight•28m ago•0 comments

An Interactive Map of the 4x Game Architecture

https://aonw.net/architecture
2•ernest_dev•28m ago•0 comments

Yen stuck at 157 as markets weigh limits of US-Japan intervention

https://asia.nikkei.com/business/markets/currencies/yen-stuck-at-157-as-markets-weigh-limits-of-u...
2•mapping365•30m ago•1 comments

When the Future Doesn't Need Us

https://borretti.me/article/when-the-future-doesnt-need-us
2•zaikunzhang•31m ago•0 comments

Unsubscribe from every newsletter, with no server and no database

https://in-boxed.com
1•jorntbon•36m ago•1 comments

Amiga's famous demo Boing Ball ported to the Famicom

https://twitter.com/neoclassic_tech/status/2084619576659284096
1•tosh•38m ago•0 comments

AI's Influencer Problem

https://sarahandkate.substack.com/p/ais-influencer-problem
2•cogs•46m ago•0 comments

Degraded performance for Claude Mythos 5, Claude Fable 5, and Claude Opus 5

https://status.claude.com/incidents/f6gkkq6txl7z
1•flyaway123•50m ago•0 comments

Senators demand crackdown on wildfire "prediction markets"

https://arstechnica.com/tech-policy/2026/08/senators-demand-crackdown-on-wildfire-prediction-mark...
3•ndsipa_pomu•50m ago•1 comments

Show HN: GuidedReview, a Chrome extension that helps review AI generated PRs

https://guidedreview.dev
1•nshntarora•51m ago•0 comments

After $140M hack, Bitcoin users 'soul-searching' over self-custody

https://www.theglobeandmail.com/investing/article-after-140-million-hack-bitcoin-users-soul-searc...
2•petethomas•52m ago•0 comments

Binary Converter

https://binaryconverter.net/
1•chromabook•52m ago•0 comments

Offpunk Manifesto

https://blog.ayom.media/ideiasdechirico/offpunk-manifesto
1•prohobo•57m ago•0 comments

OK, Well, Rogue AI Agents Are Hacking Again

https://www.wired.com/story/ok-well-there-are-even-more-ai-agent-hacking-incidents/
2•joozio•59m ago•0 comments

Show HN: An AI office-work benchmark, and 4 bugs we found in our own judge

https://github.com/dongsheng123132/ai2work-bench
1•17vibe•1h ago•0 comments

Fed's Schmid calls for tighter monetary policy, inflation too high

https://www.reuters.com/world/feds-schmid-calls-tighter-monetary-policy-tamp-down-too-high-inflat...
2•mapping365•1h ago•0 comments

Show HN: You want filled-out tables on any topic without typing rows yourself

https://reloadium.com/reloadium-tables/
1•julienreszka•1h ago•0 comments

Why Can't You Pack a Bag?

https://www.newyorker.com/culture/open-questions/why-cant-you-pack-a-bag
1•prathamtharwani•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.