frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A tale of two path separators

https://alexwlchan.net/2021/slashes/
11•dbaupp•4d ago

Comments

VorpalWay•31m ago
Old Macs (which I grew up with) had even more baroque path handling than mentioned in the blog post:

Double colon (::) meant the same as .. on Unix/DOS, that is "go up one level". So you have to be careful when concatenating paths to not get double separators.

Paths starting with : were relative. If a path didn't start with the separator, the first component was the volume name (disk partition). Again, quite unlike Unix.

Also, remember it was common to have spaces in names on Mac, even the default harddrive on Macs was named "Macintosh HD". So an absolute path like "Macintosh HD:Programs:MacWrite" would have been common. (I grew up with Macs in Swedish, so I'm back translating the names here, could be that the names were slightly different in English.)

windowliker•21m ago
It took me a long time to understand why colon wasn't a valid character for file names on Mac and I still find the colon separator to be the least visible these days. Finder can display paths with the forward slash separator (defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES), and yet forward slash may be used in a file name created through Finder as noted in the post, while colon cannot (which is not addressed), but creating a file in the terminal named with a colon is possible and the shell will escape it correctly in use. This file then shows up with a slash in place of the colon when viewed in Finder, and conversely the file with a slash in the name shows up in Terminal with a colon!

Interesting aside: iTunes renames any songs with a colon in the title with an underscore in its place for that file on disk. So how does it know it's meant to be displayed as a colon?

Google Hits 50% IPv6

https://blog.apnic.net/2026/04/28/google-hits-50-ipv6/
142•barqawiz•2h ago•133 comments

A 3D voxel game engine written in APL

https://github.com/namgyaaal/avoxelgame
57•sph•3h ago•7 comments

Developers don't understand CORS (2019)

https://fosterelli.co/developers-dont-understand-cors
221•toilet•9h ago•130 comments

Zigzag Decoding with AVX-512

https://zeux.io/2026/06/17/zigzag-decoding-avx512/
78•luu•3d ago•12 comments

Loupe – A iOS app that raises awareness about what native apps can see

https://github.com/mysk-research/loupe
318•Cider9986•23h ago•120 comments

Renting a sewing machine from the library

https://www.bbc.com/future/article/20260618-the-weird-and-wonderful-libraries-of-finland
243•sohkamyung•12h ago•134 comments

Running MicroVMs in Proxmox VE, the Easy Way

https://taoofmac.com/space/blog/2026/06/18/1845
73•zdw•1d ago•5 comments

Epoll vs. io_uring in Linux

https://sibexi.co/posts/epoll-vs-io_uring/
179•Sibexico•12h ago•44 comments

Windows UI evolution: Clicking an unassociated file

https://movq.de/blog/postings/2026-06-20/0/POSTING-en.html
35•jandeboevrie•4h ago•11 comments

Slow breathing modulates brain function and risk behavior

https://www.cell.com/neuron/fulltext/S0896-6273(26)00339-9
222•croes•12h ago•55 comments

15-minute at-home Lyme disease tick test

https://www.bostonglobe.com/2026/06/17/business/lyme-disease-tick-test/
125•bookofjoe•2d ago•76 comments

CTOs Agree: Cognitive Debt Is the New Technical Debt

https://shiftmag.dev/ctos-agree-cognitive-debt-is-the-new-technical-debt-10229/
20•sxx0•1h ago•7 comments

SMPTE Makes Its Standards Freely Accessible

https://www.smpte.org/blog/smpte-makes-its-standards-freely-accessible-openingstandards-library-t...
266•zdw•18h ago•85 comments

UHF X11: X11 Built for VisionOS and Apple Vision Pro

https://www.lispm.net/apps/uhf-x11/
207•zdw•18h ago•42 comments

DOS Game "F-15 Strike Eagle II" reversing project needs DOS test pilots

https://neuviemeporte.github.io/f15-se2/2026/06/20/needyou.html
259•LowLevelMahn•20h ago•68 comments

Carlo Ginzburg, Who Told the History of the Obscure, Dies at 87

https://www.nytimes.com/2026/06/17/books/carlo-ginzburg-dead.html
15•benbreen•3d ago•1 comments

Unauthorized alert sent to cell phones across Brazil

https://www.cnn.com/2026/06/20/americas/brazil-hackers-unauthorized-alert-latam
136•zdw•15h ago•100 comments

Show HN: TownSquare, a tiny presence layer for websites

https://townsquare.cauenapier.com/
185•cauenapier•23h ago•102 comments

Building reliable agentic AI systems

https://martinfowler.com/articles/reliable-llm-bayer.html
109•sarangk90•6h ago•23 comments

A tale of two path separators

https://alexwlchan.net/2021/slashes/
11•dbaupp•4d ago•2 comments

Guide to the TD4 4-bit DIY CPU

https://www.philipzucker.com/td4-4bit-cpu/
38•andrewstuart•2d ago•3 comments

Proportional-Integral-Derivative Controllers

https://en.wikipedia.org/wiki/PID_controller
31•dhorthy•1d ago•13 comments

Rare medieval bookmark exceeds expectations at auction

https://www.thehistoryblog.com/archives/76314
4•speckx•4d ago•0 comments

Whole cross-sectional human ultrasound tomography

https://www.nature.com/articles/s41551-026-01660-4
76•lnyan•3d ago•13 comments

Alice is impatient

https://brooker.co.za/blog/2026/06/19/waiting.html
103•birdculture•14h ago•31 comments

Temporary Cloudflare accounts for AI agents

https://blog.cloudflare.com/temporary-accounts/
216•farhadhf•23h ago•114 comments

Linux eliminates the strncpy API after six years of work, 360 patches

https://www.phoronix.com/news/Linux-7.2-Drops-strncpy
217•simonpure•14h ago•204 comments

Project Fetch: Phase Two

https://www.anthropic.com/research/project-fetch-phase-two
62•stopachka•11h ago•21 comments

Show HN: StartupWiki – A Free Alternative to Crunchbase

https://startupwiki.tech/
199•shpran•19h ago•62 comments

Your brain was never designed for this much bad news

https://www.sciencedaily.com/releases/2026/06/260614012006.htm
219•colinprince•7h ago•164 comments