frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why are there both TMP and TEMP environment variables? (2015)

https://devblogs.microsoft.com/oldnewthing/20150417-00/?p=44213
38•ankitg12•2h ago

Comments

Jedd•1h ago
1995-ish. Telstra (Australia Telecom). Probably about 50k desktop computers across the organisation. One day a small file turned up in everyone's network home directory called null. A *nix person had evidently had a go at writing a .bat file.

Why do we need to adopt extant standards? (I was going to ask, why standardise? But realised that might confound the North Americans. : )

lelanthran•58m ago
>One day a small file turned up in everyone's network home directory called null. A *nix person had evidently had a go at writing a .bat file

I assume that they first tried /dev/null which failed, so then moved onto just plain null?

Otherwise it would not make sense that a unix programmer did this. More likely ula dos programmer misspelled NUL as null.

jtoledo•44m ago
I've already created a 'NULL' file, but it was not a Unix thing... It was just because I got confused if it was NULL as in the programming languages I usually use.
3form•24m ago
Unix programmer remembered that in there's no /dev/null in DOS and that it's something shorter, and tried null which worked. Didn't check the directory contents afterwards. So basically your first sentence - doesn't seem at all unlikely to me. (I mean, I think it happened to me at least once too)
cachius•6m ago
What text was in there that he tried to discard?
xg15•1h ago
I didn't know it was such a chaos.

So I guess the moral of the story is: Ensure they always point to the same path, or else...

Semaphor•52m ago
> My recollection is that most CP/M programs were configured via patching. At least that’s how I configured them. I remember my WordStar manual coming with details about which bytes to patch to do what. There was also a few dozen bytes of patch space set aside for you to write your own subroutines, in case you needed to add custom support for your printer.

Huh. That is interesting, it was before my time, and I never heard of this :D

zabzonk•47m ago
Yes, it was definitely a thing. The patching code had to be in Z80/8080 machine code. I wrote higher performance keyboard and display routines for my copy of Wordstar using this feature.
QuantumNomad_•47m ago
> My recollection is that most CP/M programs were configured via patching.

I honestly would have liked that better for a lot of programs than the dotfiles they litter all over my home directory.

ozlikethewizard•44m ago
Yea this is something I'd love to see standardised, a distro that was able to enforce a .config folder somehow would be a winner for me. Think weve probably missed the boat though.
9dev•32m ago
As these things go, there obviously is a standard for this called the XDG Base Directory Specification[0], which elegantly solves almost all configuration path needs—and has been ignored, violated, or only partially implemented, since forever.

[0]: https://specifications.freedesktop.org/basedir/latest/

fredoralive•37m ago
Part of the philosophy of the slightly odd suckless people is their projects are mostly configured by changing the source code and recompiling. This is I suppose a similar approach in a modern open source vein. Although their general asceticism makes their projects a bit of an acquired taste I suspect.
PunchyHamster•7m ago
Well, they are supposed to be all in .config, problem is many app developers think they are special little boys that deserve its own directory
NSPG911•45m ago
always shove it to `%LOCALAPPDATA%/Temp`, or `~/AppData/Local/Temp`, and don't think otherwise

How fast is a macOS VM, and how small could it be?

https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/
35•moosia•1h ago•7 comments

Why does it take so long to release black fan versions?

https://www.noctua.at/en/expertise/blog/how-can-it-take-so-long-to-release-black-fan-versions
283•buildbot•6h ago•127 comments

Why are there both TMP and TEMP environment variables? (2015)

https://devblogs.microsoft.com/oldnewthing/20150417-00/?p=44213
38•ankitg12•2h ago•15 comments

Show HN: Mljar Studio – local AI data analyst that saves analysis as notebooks

https://mljar.com/
16•pplonski86•1h ago•1 comments

Show HN: DAC – open-source dashboard as code tool for agents and humans

https://github.com/bruin-data/dac
24•karakanb•2d ago•1 comments

Show HN: Browser-based light pollution simulator using real photometric data

https://iesna.eu/?wasm=skyglow_demo
16•holg•2h ago•3 comments

Ti-84 Evo

https://education.ti.com/en/products/calculators/graphing-calculators/ti-84-evo
468•thatxliner•15h ago•395 comments

Show HN: Filling PDF forms with AI using client-side tool calling

https://copilot.simplepdf.com/?share=a7d00ad073c75a75d493228e6ff7b11eb3f2d945b6175913e87898ec96ca...
14•nip•2h ago•5 comments

Show HN: Piruetas – A self-hosted diary app I built for my girlfriend

https://piruet.app
9•patillacode•39m ago•2 comments

Bitmap and tilemap generation from a single example

https://github.com/mxgmn/WaveFunctionCollapse
24•futurecat•1d ago•4 comments

Artemis II Photo Timeline

https://artemistimeline.com/#artemis-ii-walkout-nhq202604010003
219•geerlingguy•2d ago•18 comments

New research suggests people can communicate and practice skills while dreaming

https://www.newyorker.com/culture/annals-of-inquiry/its-possible-to-learn-in-our-sleep-should-we
355•XzetaU8•17h ago•203 comments

A Gopher Meets a Crab

https://miren.dev/blog/gopher-meets-crab
41•radimm•2d ago•25 comments

Dotcl: Common Lisp Implementation on .NET

https://github.com/dotcl/dotcl
23•reikonomusha•1d ago•1 comments

To Restore an Island Paradise, Add Fungi

https://e360.yale.edu/digest/atoll-islands-sea-level-rise-fungi
71•Brajeshwar•2d ago•13 comments

Ask.com has closed

https://www.ask.com/
292•supermdguy•7h ago•148 comments

K3k: Kubernetes in Kubernetes

https://github.com/rancher/k3k
66•jzebedee•7h ago•34 comments

SKILL.make: Makefile Styled Skill File

https://github.com/Teaonly/SKILL.make
27•teaonly•3h ago•13 comments

CollectWise (YC F24) Is Hiring

https://www.ycombinator.com/companies/collectwise/jobs/rEWfZ6R-senior-forward-deployed-engineer
1•OBrien_1107•6h ago

Show HN: Large Scale Article Extract of Newspapers 1730s-1960s

https://snewpapers.com/
8•brettnbutter•2h ago•4 comments

LFM2-24B-A2B: Scaling Up the LFM2 Architecture

https://www.liquid.ai/blog/lfm2-24b-a2b
44•nateb2022•2d ago•9 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

168•proberts•20h ago•220 comments

Lib0xc: A set of C standard library-adjacent APIs for safer systems programming

https://github.com/microsoft/lib0xc
152•wooster•16h ago•57 comments

Ask HN: Who is hiring? (May 2026)

266•whoishiring•20h ago•284 comments

Eka’s robotic claw feels like we're approaching a ChatGPT moment

https://www.wired.com/story/when-robots-have-their-chatgpt-moment-remember-these-pincers/
147•zdw•2d ago•207 comments

Show HN: Stop playing my matchstick puzzles, start building your own in seconds

https://mathstick.github.io
16•trangram•6h ago•15 comments

A report on burnout in open source software communities (2025) [pdf]

https://mirandaheath.website/static/oss_burnout_report_mh_25.pdf
82•susam•11h ago•29 comments

DeepSeek V4–almost on the frontier, a fraction of the price

https://simonwillison.net/2026/Apr/24/deepseek-v4/
138•indigodaddy•18h ago•67 comments

Apocalypse Early Warning System

https://ews.kylemcdonald.net/
196•carlsborg•19h ago•97 comments

Direct electrochemical black coffee quality appraisal using cyclic voltammetry

https://www.nature.com/articles/s41467-026-71526-5
55•bookofjoe•2d ago•28 comments