frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Dillo, a multi-platform graphical web browser

https://github.com/dillo-browser/dillo
17•nazgulsenpai•32m ago•2 comments

Ruby and Its Neighbors: Smalltalk

https://noelrappin.com/blog/2025/11/ruby-and-its-neighbors-smalltalk/
98•jrochkind1•3h ago•42 comments

The shadows lurking in the equations

https://gods.art/articles/equation_shadows.html
198•calebm•4h ago•60 comments

The state of SIMD in Rust in 2025

https://shnatsel.medium.com/the-state-of-simd-in-rust-in-2025-32c263e5f53d
8•ashvardanian•26m ago•0 comments

An eBPF Loophole: Using XDP for Egress Traffic

https://loopholelabs.io/blog/xdp-for-egress-traffic
150•loopholelabs•1d ago•64 comments

Carice TC2 – A non-digital electric car

https://www.caricecars.com/
117•RubenvanE•4h ago•83 comments

Learning from failure to tackle hard problems

https://blog.ml.cmu.edu/2025/10/27/learning-from-failure-to-tackle-extremely-hard-problems/
65•djoldman•6d ago•14 comments

A P2P Vision for QUIC (2024)

https://seemann.io/posts/2024-10-26---p2p-quic/
63•mooreds•5h ago•25 comments

Mr TIFF

https://inventingthefuture.ghost.io/mr-tiff/
926•speckx•20h ago•120 comments

OpenAI ends legal and medical advice on ChatGPT

https://www.ctvnews.ca/sci-tech/article/openai-updates-policies-so-chatgpt-wont-provide-medical-o...
29•randycupertino•1h ago•35 comments

The grim truth behind the Pied Piper (2020)

https://www.bbc.com/travel/article/20200902-the-grim-truth-behind-the-pied-piper
75•Anon84•6h ago•72 comments

iOS 26.2 to allow third-party app stores in Japan ahead of regulatory deadline

https://www.macrumors.com/2025/11/05/ios-26-2-third-party-app-stores-japan/
258•tosh•6h ago•170 comments

SPy: An interpreter and compiler for a fast statically typed variant of Python

https://antocuni.eu/2025/10/29/inside-spy-part-1-motivations-and-goals/
184•og_kalu•6d ago•87 comments

Norway reviews cybersecurity after remote-access feature found in Chinese buses

https://scandasia.com/norway-reviews-cybersecurity-after-hidden-remote-access-feature-found-in-ch...
118•dredmorbius•2h ago•77 comments

Removing XSLT for a more secure browser

https://developer.chrome.com/docs/web-platform/deprecating-xslt
118•justin-reeves•4h ago•179 comments

I want a good parallel language [video]

https://www.youtube.com/watch?v=0-eViUyPwso
4•raphlinus•1d ago•0 comments

Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

163•urnicus•4h ago•182 comments

Radiant Computer

https://radiant.computer
133•beardicus•5h ago•97 comments

Founder in Residence at Woz (San Francisco)

1•bcollins34•7h ago

Microsoft Can't Keep EU Data Safe from US Authorities

https://www.forbes.com/sites/emmawoollacott/2025/07/22/microsoft-cant-keep-eu-data-safe-from-us-a...
145•Mossy9•5h ago•41 comments

UPS plane crashes near Louisville airport

https://avherald.com/h?article=52f5748f&opt=0
323•jnsaff2•20h ago•316 comments

DynGen – Run dynamic scripts on a SuperCollider server

https://scsynth.org/t/dyngen-dynamic-ugen/12518
3•mstep•5d ago•0 comments

RISC-V takes first step toward international ISO/IEC standardization

https://riscv.org/blog/risc-v-jtc1-pas-submitter/
232•jrepinc•6d ago•88 comments

Why aren't smart people happier?

https://www.theseedsofscience.pub/p/why-arent-smart-people-happier
9•zdw•2h ago•3 comments

Hypothesis: Property-Based Testing for Python

https://hypothesis.readthedocs.io/en/latest/
199•lwhsiao•15h ago•116 comments

Stack walking: space and time trade-offs

https://maskray.me/blog/2025-10-26-stack-walking-space-and-time-trade-offs
25•ingve•1w ago•1 comments

Asus Announces October Availability of ProArt Display 8K PA32KCX

https://press.asus.com/news/press-releases/asus-proart-display-8k-pa32kcx-availability/
144•Roachma•1w ago•240 comments

Parsing Chemistry

https://re.factorcode.org/2025/10/parsing-chemistry.html
41•kencausey•1w ago•15 comments

Bluetui – A TUI for managing Bluetooth on Linux

https://github.com/pythops/bluetui
237•birdculture•19h ago•92 comments

Apple’s Persona technology uses Gaussian splatting to create 3D facial scans

https://www.cnet.com/tech/computing/apple-talks-to-me-about-vision-pro-personas-where-is-our-virt...
199•dmarcos•6d ago•88 comments
Open in hackernews

Generating Mazes with Inductive Graphs (2017)

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

Comments

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