frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Code changes it's privacy settings and policy

1•tankenmate•1m ago•0 comments

GNU Awk and Me: 37 Years of Free Software Development [video]

https://www.youtube.com/watch?v=Hm1a-pWsnMI
1•benhoyt•2m ago•0 comments

Model Anxiety

https://blog.verifai.ai/model-anxiety-the-enterprise-dilemma-in-the-age-of-ai/
1•sandeepsr•3m ago•1 comments

Show HN: A small system monitor for Mac, based on the classic IRIX gr_osview

https://github.com/Pablo-Merino/OSView
1•kp195_•3m ago•0 comments

Show HN: A little app for learning vocab with daily images

https://app.snapalabra.com
2•detectivestory•6m ago•1 comments

Israel tells Doctors Without Borders to end its work in Gaza

https://www.nytimes.com/2026/01/06/world/middleeast/israel-bars-doctors-without-borders-gaza.html
1•jpster•7m ago•1 comments

Render AI Tool Free: Best Free AI Rendering Tools in 2026

https://vocus.cc/article/6960b54afd8978000134411f
1•architech_willy•8m ago•0 comments

Grok turns off image generator for most after outcry over sexualised AI imagery

https://www.theguardian.com/technology/2026/jan/09/grok-image-generator-outcry-sexualised-ai-imagery
1•beardyw•11m ago•0 comments

Show HN: Vibemux – Run multiple Claude Code instances in one TUI

https://github.com/UgOrange/vibemux
1•UgOrange•13m ago•0 comments

Arguments for a syncable data exchange format

https://replicated.wiki/blog/args.html
1•gritzko•13m ago•0 comments

Bluefors to Source Helium-3 from the Moon to Power Quantum Industry Growth

https://bluefors.com/press-releases/bluefors-to-source-helium-3-from-the-moon-with-interlune-to-p...
1•JoachimS•14m ago•0 comments

The quest for grammar combinators: introducing the Pup library

https://www.tweag.io/blog/2026-01-08-grammar-combinators/
1•ingve•14m ago•0 comments

Auto Claude - Autonomous multi-agent coding framework

https://github.com/AndyMik90/Auto-Claude
2•t0mas88•16m ago•0 comments

Interviewing Ruby Software Engineers Is Easier Than Ever in 2025

https://andymaleh.blogspot.com/2025/12/interviewing-ruby-software-engineers-is.html
1•amalinovic•18m ago•0 comments

Claude Code Flickering in Tmux

https://blog.tymek.dev/claude-code-flickering-in-tmux/
1•behnamoh•18m ago•0 comments

Developing Tactility: the second year recap

https://bytewelder.com/posts/2026/01/08/tactility-second-year.html
1•ByteWelder•23m ago•1 comments

Dialogue Between a Developer and a Kid

https://riggraz.dev/dialogue-developer.html
1•Growtika•36m ago•0 comments

Show HN: LTXMac a native Mac app to do text to video generation

https://james-see.github.io/ltx-video-mac/
1•jamescampbell•37m ago•0 comments

Show HN: Ever wanted to look at yourself in Braille?

https://github.com/NishantJoshi00/dith
2•cat-whisperer•39m ago•0 comments

Show HN: A Wall Street Terminal for Everyone

https://marketterminal.com/chart
3•adamfontan•43m ago•0 comments

How to Choose CD/DVD Archival Media (2013)

https://adterrasperaspera.com/blog/2006/10/30/how-to-choose-cddvd-archival-media/
1•walterbell•43m ago•0 comments

What Happened to WebAssembly

https://emnudge.dev/blog/what-happened-to-webassembly/
26•enz•43m ago•8 comments

There's a ridiculous amount of tech in a disposable vape

https://blog.jgc.org/2026/01/theres-ridiculous-amount-of-tech-in.html
2•rcarmo•44m ago•0 comments

Elon Musk's X must be banned

https://disconnect.blog/elon-musks-x-must-be-banned/
2•mnewme•45m ago•3 comments

Rethinking Information for Computationally Bounded Intelligence

https://arxiv.org/abs/2601.03220
1•tzury•46m ago•1 comments

As bombs fell, we committed an act of rebellion: we planted a garden in Gaza

https://www.theguardian.com/commentisfree/2026/jan/08/gaza-israel-palestine-garden-seed-food
6•ciconia•47m ago•0 comments

Iranian Censorship, Bypasses, Browser Extensions, and Proxies

https://joshua.hu/iranian-browser-extension-addon-censorship-bypasses
1•mmsc•53m ago•0 comments

Jxl-Rs Merged into Chromium

https://github.com/chromium/chromium/commit/3badff27281339878293e935a5e0fbb41da553bf
4•todsacerdoti•53m ago•0 comments

Join Us in Building LoongFlow – Cognitive Evolutionary AI Framework

https://github.com/baidu-baige/LoongFlow
1•FreshmanD•56m ago•1 comments

Stop Overthinking Struct Pointer and Value Semantics in Go

https://preslav.me/2026/01/08/golang-structs-vs-pointers-pointer-first/
2•ingve•57m 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.