frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
367•klaussilveira•4h ago•76 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
736•xnx•10h ago•451 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
127•isitcontent•4h ago•13 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
103•dmpetrov•5h ago•48 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
47•jnord•3d ago•3 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
231•vecti•6h ago•108 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
17•quibono•4d ago•0 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
300•aktau•11h ago•148 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
300•ostacke•10h ago•80 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
151•eljojo•7h ago•117 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
370•todsacerdoti•12h ago•214 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
41•phreda4•4h ago•7 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
299•lstoll•11h ago•222 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
98•vmatsiiako•9h ago•32 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
164•i5heu•7h ago•119 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
134•limoce•3d ago•75 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
221•surprisetalk•3d ago•29 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
32•rescrv•12h ago•14 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
949•cdrnsf•14h ago•409 comments

The Oklahoma Architect Who Turned Kitsch into Art

https://www.bloomberg.com/news/features/2026-01-31/oklahoma-architect-bruce-goff-s-wild-home-desi...
16•MarlonPro•3d ago•2 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
22•ray__•1h ago•3 comments

Claude Composer

https://www.josh.ing/blog/claude-composer
91•coloneltcb•2d ago•65 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
76•antves•1d ago•56 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
31•lebovic•1d ago•10 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
36•nwparker•1d ago•7 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
22•betamark•11h ago•22 comments

The Beauty of Slag

https://mag.uchicago.edu/science-medicine/beauty-slag
26•sohkamyung•3d ago•3 comments

Evolution of car door handles over the decades

https://newatlas.com/automotive/evolution-car-door-handle/
37•andsoitis•3d ago•59 comments

Planetary Roller Screws

https://www.humanityslastmachine.com/#planetary-roller-screws
33•everlier•3d ago•6 comments

Masked namespace vulnerability in Temporal

https://depthfirst.com/post/the-masked-namespace-vulnerability-in-temporal-cve-2025-14986
29•bmit•6h ago•3 comments
Open in hackernews

Dark mode by local sunlight (2021)

https://www.ctnicholas.dev/articles/dark-mode-by-sunlight
32•gaws•3mo ago

Comments

pavelai•3mo ago
Good idea to make it more humane. It should depend on insolation in the current place (it could differ in close locations), or user preferences. I'd prefer to turn automatic dark mode off at all. It would be great if the transition to dark mode be invisible. Like after locking laptop's screen, not in the process of work.
vachina•3mo ago
I think it would be more useful to toggle it based on ambient lighting.
dheera•3mo ago
Enter the era when every website wants camera permissions ...

Or maybe there is some other sensor you could use? Like if photoelectric effect triggered some noise in your microphone or slightly more TCP retransmissions some such

semolino•3mo ago
Most devices have a built-in ambient light sensor:

https://en.wikipedia.org/wiki/Ambient_light_sensor

vladvasiliu•3mo ago
What do you mean "most"? Maybe the phones, but PCs rarely have them. Outside macbooks, I only have seen one PC with a light sensor.
semolino•3mo ago
I meant most mobile devices. I think my TV has one as well.
Jaxan•3mo ago
Currently, the switch from light to dark (or vice versa) is very disruptive. Imagine switching every few minutes just because some clouds pass by, to me that sounds terrible.
dSebastien•3mo ago
Reminds me of f.lux: https://justgetflux.com/
noir_lord•3mo ago
or gtk-redshift (if you are on X11).

Happily KDE has it built in and does both location detection, enter co-ords or click map for setting it how you want.

Pyrodogg•3mo ago
Even with Flux, setting the profile automatically breaks down at high latitudes. If you're far enough from the equator, the sun can sod off most of the year as for how it relates to human biorythms.

I'm 60°N, as with my alarm clock, I've set a static profile to follow 365 days a year since the sun is unreliable.

alfanick•3mo ago
I use Noir extension on my iphone/ipad, does it automatically when iOS/iPadOS goes into night/dark mode (which is also geo-based). Works great on OLED screens!
jader201•3mo ago
Most people that I know that prefer dark mode (myself included) prefer it regardless of sunlight or ambient lighting.
dheera•3mo ago
I prefer dark mode for image-heavy content and coding, and light mode for long amounts of natural language text, regardless of time of day.
wffurr•3mo ago
It has to be really bright before I will switch my ebook app or feed reader to black on white instead of white on black.

At a certain point, white text on black just isn’t readable but the inverse is somehow.

lukan•3mo ago
I used to think I am like this, until I noticed, in bright daylight readability is way way better in light mode. So nowdays I switch depending on the light settings (and curse all the apps who do not follow the OS settings, where I have to do it manually).
skydhash•3mo ago
For me it’s light themes all the way. I rather turn the brightness down than switch to dark mode.
throw-the-towel•3mo ago
Conversely, I prefer light mode regardless of sunlight.
minus7•3mo ago
In my experience that's because most users run their monitors on 100% brightness instead of turning that down. I prefer light mode unless it's really dark.
Lalabadie•3mo ago
I suspect a lot of the comfort preferences come from there.

The average monitor has a brightness level equivalent to screaming in a study room, and a color calibration that assumes fluorescent office lighting.

SurceBeats•3mo ago
Nice! We considered this exact approach but never shipped it in the end. The geolocation permission is probably unnecessary friction and probably an overkill imho... Timezone + rough location (country-level from IP) would get 95% accuracy without the prompt. Most users will bounce on that permission dialog.

Solid work though, especially the twilight transitions. Loving it!!!

0x1ceb00da•3mo ago
This should be an OS feature and apps should just use the system theme.
gruez•3mo ago
Both iOS and Android allow you to set dark mode by some schedule, and that's conveyed by their respective browsers to websites.
Jaxan•3mo ago
It is an OS setting to follow sunrise/sunset.
marcosdumay•3mo ago
Well, it is in KDE + Firefox. And yeah, the simplistic idea that day = bright and night = dark fails all the time, the OS has already other settings to deal with those failures, and your site or app should just use the system theme.
CharlesW•3mo ago
Please use `prefers-color-scheme` to respect users' environments and default preferences instead. It's also worth noting that, for some people, this is more than just a cosmetic choice.
gruez•3mo ago
From TFA:

>Automatically setting the theme is a nice touch for most, but accessibility comes first, and if the user has a preference, it's always right to respect their choice.

>You can check for users' colour scheme preferences in CSS & JavaScript with the following snippets:

CharlesW•3mo ago
I'm glad it's mentioned, but I was trying to say "never do the thing TFA recommends" in a less harsh way, and inadvertently dulled my point.
cluckindan•3mo ago
Syncing dark mode or f.lux or OS night mode to local sunlight is nice if you live near the equator, but for folks living in the far north, it actually makes seasonal changes so much worse.

Let the user decide the schedule, please.

lucasban•3mo ago
I believe most OS that have an option to do this by location also allow for manually specifying the schedule
halapro•3mo ago
I know this is from 2021, but for the love of god stop with the toggles. I have one toggle, it works system-wide. Respect it. You don't have to guess what theme I want, I already told my OS.
kccqzy•3mo ago
Strong disagree here. Many apps don't implement dark mode in the way I want. They seem to think dark mode is for conserving battery life on OLED displays and make the majority of their UI #000000. That's not what I want. I want a subtle shade of grey. I'd rather choose light mode for an individual app if that app doesn't implement dark mode correctly.

Another point is that some types of content just don't work with dark mode. Maps for example. I have used multiple apps that use maps or present data on a map. None of the maps look good when dark. As such I always turn off dark mode if an app displays maps as part of its main user journey.

JoshTriplett•3mo ago
Interesting, this is the first time I've heard that opinion. For myself, I get annoyed whenever a dark mode isn't #000000; it's not about saving battery, it's about the pixels being off, which I find more readable. (I got an OLED specifically because it makes it more comfortable spending time in a terminal.)

Can you say more about your use case and why you prefer gray over black?

kccqzy•3mo ago
Black is too much contrast. The high contrast simply hurts my eyes. For a gray theme nicely done, look at the GitHub gray theme (called "soft dark") as an example.
JoshTriplett•3mo ago
Fascinating. Different use cases for different people. On GitHub, I use the default dark mode ("dark default") and then enable "high contrast", which makes the background black. (I also get annoyed when light modes are dark grey on light grey, rather than black on white for maximum contrast.)

There's a CSS preference for contrast. It seems easy enough to handle `@media(prefers-contrast: low)` and set a gray background. The contentious part would presumably be the default; I would have thought #000000 was the obvious default for a dark mode but apparently that's not what everyone prefers. Ideally, OSes and browsers would expose controls for this in a straightforward way, the way they handle dark mode. https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/A...

6031769•3mo ago
Sure, but the default for any app should be to use the setting from the OS/DE/WM and only diverge from that if the user consciously decides to alter it in the app's settings (in whichever direction).
lucasban•3mo ago
My understanding is that white on pure black can be troublesome for people with a certain level of astigmatism as they will experience halation, which can make things appear blurrier.
marcosdumay•3mo ago
> That's not what I want. I want a subtle shade of grey.

Does your preference change if you reduce your screen brightness?

Bright features over a really dark background can be unsettling, but that's about screen adjustment, not really about the software colors.

Anyway, I do argue that people shouldn't just pick #000 and #fff by default. But that's because if you are already using the extremes of your palette, you can't get a more extreme one when you need to emphasize something. The arguments on "unnatural" colors and visual preferences all seem baseless to me, because those numbers don't correspond with any actual physical color, they are all relative.

About dark maps, I've seen it done well. Exactly once, and I can't point you the software because it was embedded and I don't remember what the device was. But as hard as it seems to be, it is still possible.

gadrev•3mo ago
Just like sibling here, hard disagree.

I don't like all toggles to be gone since dark mode quality varies a lot, and also I may want some sites or apps one way and some another way. So removing the choice and slapping all configuration under a single "dark/light" browser toggle really annoys me, especially when sites stop providing the toggles because it's more convenient to just use the CSS property and do less. To me it's another step in the dumbing down of the UIs that I regret.

Perfectly ok with defaulting to that global setting though.

Similar vibes to the relative date infection with no option to opt out and get the full date in most sites nowadays.

thenthenthen•3mo ago
Would be nice to fade instead of binary dark/light
growt•3mo ago
Nice experiment, but my Mac already switches to dark mode at the right time (I’m sure windows and Linux can do the same if you want it that way). So defaulting to system preference would already result in the same behaviour (while also covering users who always prefer light or dark).
triclops200•3mo ago
That's funny, I implemented something similar for my stumpwm config (common lisp window manager). I created a matrix of themes for the WM, emacs, my terminal (kitty), Firefox, and my RGB light panels that change with time of day: day, late afternoon/evening, sunset/twilight, night, post-midnight, and then broken into multiple desktop variations as a way of visually knowing what virtual desktop I'm currently on. Stumpwm coordinates all of the themes for all the apps and synchronizes them with time and desktop and whatnot.

Really helps with circadian rhythm, I've found. Especially because I take a live webcam feed and convolve a hexagonal mask to match my light panel's layout, so it's like having a low res window from whatever webcam I would like. And, at sunset to night, it smoothly fades the light panels into a display that represents a angle compressed sky projection of the stars relative to a fixed location moon with live phase displayed.

Obligatory images:

The day themes: https://youtu.be/danulUB-J-k

Light panels: https://imgbox.com/MQfPNjtI <- sunset on the hex display

https://imgbox.com/qcrFxncU <- random cloudy day hex display

https://imgbox.com/EOFk63WZ <- a night still of the hex display

nicbou•3mo ago
DarkModeBuddy uses the Mac's light sensor. It works so well that I wonder why it's not how the OS works.

I don't care if it's sunny outside. Rainy days in Germany can get quite dark long before Night Shift kicks in.

acephal•3mo ago
I never use this. Where I live, one will require dark mode well before the calculated sunset.