frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Scientists reverse Alzheimer's in mice and restore memory (2025)

https://www.sciencedaily.com/releases/2025/12/251224032354.htm
1•walterbell•2m ago•0 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
1•todsacerdoti•4m ago•0 comments

Show HN: Cymatica – an experimental, meditative audiovisual app

https://apps.apple.com/us/app/cymatica-sounds-visualizer/id6748863721
1•_august•5m ago•0 comments

GitBlack: Tracing America's Foundation

https://gitblack.vercel.app/
1•martialg•5m ago•0 comments

Horizon-LM: A RAM-Centric Architecture for LLM Training

https://arxiv.org/abs/2602.04816
1•chrsw•6m ago•0 comments

We just ordered shawarma and fries from Cursor [video]

https://www.youtube.com/shorts/WALQOiugbWc
1•jeffreyjin•6m ago•1 comments

Correctio

https://rhetoric.byu.edu/Figures/C/correctio.htm
1•grantpitt•7m ago•0 comments

Trying to make an Automated Ecologist: A first pass through the Biotime dataset

https://chillphysicsenjoyer.substack.com/p/trying-to-make-an-automated-ecologist
1•crescit_eundo•11m ago•0 comments

Watch Ukraine's Minigun-Firing, Drone-Hunting Turboprop in Action

https://www.twz.com/air/watch-ukraines-minigun-firing-drone-hunting-turboprop-in-action
1•breve•12m ago•0 comments

Free Trial: AI Interviewer

https://ai-interviewer.nuvoice.ai/
1•sijain2•12m ago•0 comments

FDA Intends to Take Action Against Non-FDA-Approved GLP-1 Drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
7•randycupertino•13m ago•2 comments

Supernote e-ink devices for writing like paper

https://supernote.eu/choose-your-product/
3•janandonly•15m ago•0 comments

We are QA Engineers now

https://serce.me/posts/2026-02-05-we-are-qa-engineers-now
1•SerCe•16m ago•0 comments

Show HN: Measuring how AI agent teams improve issue resolution on SWE-Verified

https://arxiv.org/abs/2602.01465
2•NBenkovich•16m ago•0 comments

Adversarial Reasoning: Multiagent World Models for Closing the Simulation Gap

https://www.latent.space/p/adversarial-reasoning
1•swyx•16m ago•0 comments

Show HN: Poddley.com – Follow people, not podcasts

https://poddley.com/guests/ana-kasparian/episodes
1•onesandofgrain•24m ago•0 comments

Layoffs Surge 118% in January – The Highest Since 2009

https://www.cnbc.com/2026/02/05/layoff-and-hiring-announcements-hit-their-worst-january-levels-si...
7•karakoram•24m ago•0 comments

Papyrus 114: Homer's Iliad

https://p114.homemade.systems/
1•mwenge•24m ago•1 comments

DicePit – Real-time multiplayer Knucklebones in the browser

https://dicepit.pages.dev/
1•r1z4•24m ago•1 comments

Turn-Based Structural Triggers: Prompt-Free Backdoors in Multi-Turn LLMs

https://arxiv.org/abs/2601.14340
2•PaulHoule•26m ago•0 comments

Show HN: AI Agent Tool That Keeps You in the Loop

https://github.com/dshearer/misatay
2•dshearer•27m ago•0 comments

Why Every R Package Wrapping External Tools Needs a Sitrep() Function

https://drmowinckels.io/blog/2026/sitrep-functions/
1•todsacerdoti•28m ago•0 comments

Achieving Ultra-Fast AI Chat Widgets

https://www.cjroth.com/blog/2026-02-06-chat-widgets
1•thoughtfulchris•30m ago•0 comments

Show HN: Runtime Fence – Kill switch for AI agents

https://github.com/RunTimeAdmin/ai-agent-killswitch
1•ccie14019•32m ago•1 comments

Researchers surprised by the brain benefits of cannabis usage in adults over 40

https://nypost.com/2026/02/07/health/cannabis-may-benefit-aging-brains-study-finds/
2•SirLJ•34m ago•0 comments

Peter Thiel warns the Antichrist, apocalypse linked to the 'end of modernity'

https://fortune.com/2026/02/04/peter-thiel-antichrist-greta-thunberg-end-of-modernity-billionaires/
4•randycupertino•35m ago•2 comments

USS Preble Used Helios Laser to Zap Four Drones in Expanding Testing

https://www.twz.com/sea/uss-preble-used-helios-laser-to-zap-four-drones-in-expanding-testing
3•breve•40m ago•0 comments

Show HN: Animated beach scene, made with CSS

https://ahmed-machine.github.io/beach-scene/
1•ahmedoo•41m ago•0 comments

An update on unredacting select Epstein files – DBC12.pdf liberated

https://neosmart.net/blog/efta00400459-has-been-cracked-dbc12-pdf-liberated/
3•ks2048•41m ago•0 comments

Was going to share my work

1•hiddenarchitect•44m ago•0 comments
Open in hackernews

Truchet Tiles

https://en.wikipedia.org/wiki/Truchet_tiles
123•downboots•6mo ago

Comments

onion2k•6mo ago
Truchet tiling is a staple of the shader community - https://www.shadertoy.com/results?query=Truchet

A particularly nice example - https://www.shadertoy.com/view/4td3zj

And a nice '3D' one - https://www.shadertoy.com/view/4lSBzm

drewnoakes•6mo ago
They also come up a lot in pen plotter art.
JKCalhoun•6mo ago
Like the hexagonal one.
joshu•6mo ago
some truchet tiles i did for a plotter a million years ago:

hex:

https://www.instagram.com/p/B2TRmM7p1BB

https://www.instagram.com/p/B2Q130pJwum

rectangular:

https://www.instagram.com/p/BxUMO05p3Cx

https://www.instagram.com/p/BxO1H3cJ57V

gilleain•6mo ago
Nice.

It's a shame that regular octagons do not tile the plane. Octagons + squares might work I suppose.

johanvts•6mo ago
You can use the monotile! See my links below.
gilleain•6mo ago
Ah perfect! I went away at lunch and tried to work it out, including for the spectre tile (monotile), although I took a different approach.
pavel_lishin•6mo ago
Man, I've tried writing my own version of things like this, but it ended up looking like pubes on paper.
joshu•6mo ago
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
WantonQuantum•6mo ago
I used to do this on my VIC-20 a million years ago. Just looking at this line brought back the visual image like it was yesterday.
teddyh•6mo ago

  python3 -c 'import random, time, itertools; any(time.sleep(0.01) or print(random.choice("\u2571\u2572"), end="", flush=True) for x in itertools.repeat(None))'
binaryturtle•6mo ago
https://github.com/the-real-tokai/macuahuitl/blob/master/tem...

(how about this fancy version with SVG output? :D No longer a single line though.)

o11c•6mo ago
Quite a few bytes can be golfed out of that still:

  python3 -c 'while I := __import__: I("time").sleep(0.01); print(I("random").choice("\u2571\u2572"), end="", flush=1)'
My reasoning including most failures:

Whitespace is mostly trivial and not worth mentioning, except that the space between "or" and "print" can be eliminated by moving the `time.sleep` to before a string literal. Alternatively, using `!=` works almost anywhere (though not with some alternative ideas), or `;` with the `while` version.

There are several shorter ways to get an infinite loop:

  itertools.repeat(None) # for reference
  itertools.repeat(0)
  itertools.count()
  iter(lambda: 0, 1) # also removes the import, so 10 chars shorter
  iter(''.upper, 1) # same length when spaces removed, shorter if not removed
  iter(int.mro, 1) # spooky, but one char shorter still
  range(9**99) # much longer than the age of the universe
  range(9**9) # 44 days
  # but it turns out we can skip it entirely
The loop itself:

  any(expr for x in it) # theoretically prevents the memory leak
  [expr for x in it] # wastes 800 bytes per sec, 69 MB/day, 1 GB per 14 days
  while 1: expr # breaks one-liner unless longer `__import__("")` is used, but worth it since it eliminates the entire iterable, even before doing I=__import__
  while I := __import__: # 2 chars shorter than doing the assignment inside the loop
I looked into alternatives to calling sleep at all, but computers are too fast (and variable in speed) nowadays. `os.sync` looked promising but is only slow the first time. Trying to pass its return value as an argument also failed.

`flush=1` is shorter than `flush=True`. Otherwise ... I tried `sys.stdout` but hardly anything was even close:

  any(time.sleep(0.01) or print(random.choice("\u2571\u2572"), end="", flush=True) for it)
  any(time.sleep(0.01) or print(random.choice("\u2571\u2572"), end="", flush=1) for it)
  sys.stdout.writelines(time.sleep(0.1) or random.choice("\u2571\u2572")+"\0"*8191 for it) # can avoid the flush by filling the buffer manually, but requires several more chars to import sys as well
Random:

  random.choice("\u2571\u2572")
  # UTF-8 b"\xe2\x95\xb1" doesn't seem useful
  chr(9585+random.randrange(2)) # sigh
  chr(9585+(random.random()<.5)) # nope
  chr(9585+(os.getrandom(1)[0]&1)) # + has tigher precedence than &
  # that last would save 1 byte with normal `import` (since the identifier is repeated), but loses with `__import__`
  # is there a way to eliminate parens? Is >> or | or - useful? What about *splat?
pan69•6mo ago
8-Bit Show and Tell recently did a video about Truchet Tiles on PETSCII. Fun watch:

https://www.youtube.com/watch?v=MVQJykMJSH0

Jgoauh•6mo ago
not sure why this is on top of the feed but i appreciate it ! Is there a website where you can draw on the truchet tiles live ? would be cool
johanvts•6mo ago
Not exactly what you are requesting, but I added truchet patterns to a monotile renderer a while back. See here https://www.johansivertsen.com/post/monotile/ The drawing tool is here: https://www.johansivertsen.com/customhatviz/app.html Press 'build supertiles' a few times and enable the truchet overlay.
Jgoauh•6mo ago
very nice !
calvinmorrison•6mo ago
did anyone have wooden truchet tiles of various colors as a kid that you would place on a board and flip them around to make various designs
ItCouldBeWorse•6mo ago
These are also good to avoid tiling textures having a https://en.wikipedia.org/wiki/Moir%C3%A9_pattern. Just do a randomized labyrinth per square and voila.
qiine•6mo ago
oh! moiré and the double slit experiment are related things, TIL
nedbat•6mo ago
Using multi-level Carlson Truchet tiles for half-toning images: https://nedbatchelder.com/blog/202208/truchet_images.html
onychomys•6mo ago
We have this card-tiling game based on this idea.

https://www.ravensburger.us/en-US/products/games/thinkfun/iz...

It's not a great game, but it's fun enough. The box is small, so we keep it around even if we don't play it much.

coldcode•6mo ago
I use a lot of truchet tiles in my art (https://andrewwulf.com), but I color them afterwards, which seems fairly uncommon (article from last year, https://thecodist.com/my-art-and-color-after-tiling/) outside of shaders. I focus on 2d art for print. I also use various combinations of 1x1, 1x2, 2x2, 3x3 and 4x4 tiles, sometimes all in one work.
nojs•6mo ago
Reminds me of this, created by one of the tailwind guys: https://heropatterns.com/

These are really useful for subtle background patterns on footers etc.

WillieMacBride•6mo ago
"Scramble Squares" is a card-tiling puzzle which looks like a specialized form of Truchet Tiling.

https://scramblesquares.com

There are 9 square (non-identical) tiles in a set. Each edge of each tile displays half of a two-sided symbol (eg cats, dogs, flags, etc.). Goal is to arrange the tiles in a 3x3 grid so that all touching edges match with corresponding symbol halves.

Looks simple at first, but a real challenge.

Size of the entire solution space is 9! * 4^9 (billions), and brute-force solvers have been written in Python:

https://github.com/roadfoodr/scramble-squares-solver

What are the combinatorial rule(s) used to construct these tiles ?? Some clues: https://www.reddit.com/r/puzzles/comments/1e09up6/help_how_t...

Kathie Gavin (designer of Scramble Squares) says the design was inspired by "ancient Egyptian tile patterns" she saw in a museum. Does anyone know more about this?

frankus•6mo ago
I need some of these mathematical tiles to be available as physical ceramic tiles for nerdy backsplashes and bathrooms.
o11c•6mo ago
Wow, Wikipedia is pretty minimal in giving examples. Clicking through various links in comments for more examples should be considered mandatory (though many of the 3D ones are actually "some effect on top of Truchet").

I suppose I don't normally think about how you're actually using minimal Truchet tiles when you play one of SGT's puzzle games, since it's the most boring tileset:

https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/slan...

calvinmorrison•6mo ago
https://thewoodenwagon.com/woodentoy/CAF3064.html