frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Dark mode by local sunlight (2021)

https://www.ctnicholas.dev/articles/dark-mode-by-sunlight
12•gaws•4d ago

Comments

pavelai•4d 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•1h ago
I think it would be more useful to toggle it based on ambient lighting.
dheera•10m 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

dSebastien•1h ago
Reminds me of f.lux: https://justgetflux.com/
alfanick•38m 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•22m ago
Most people that I know that prefer dark mode (myself included) prefer it regardless of sunlight or ambient lighting.
dheera•12m 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•8m 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.

SurceBeats•8m 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!!!

My friends and I accidentally faked the Ryzen 7 9700X3D leaks

https://old.reddit.com/r/pcmasterrace/comments/1orc6jl/my_friends_and_i_accidentally_faked_the_ry...
134•djrockstar1•2h ago•20 comments

Why is Zig so cool?

https://nilostolte.github.io/tech/articles/ZigCool.html
391•vitalnodo•14h ago•292 comments

Valdi – A cross-platform UI framework that delivers native performance

https://github.com/Snapchat/Valdi
345•yehiaabdelm•13h ago•131 comments

Making Democracy Work: Fixing and Simplifying Egalitarian Paxos

https://arxiv.org/abs/2511.02743
68•otrack•6h ago•20 comments

Friendly attributes pattern in Ruby

https://brunosutic.com/blog/ruby-friendly-attributes-pattern
48•brunosutic•5d ago•24 comments

Becoming a compiler engineer

https://rona.substack.com/p/becoming-a-compiler-engineer
254•lalitkale•16h ago•124 comments

Apple is crossing a Steve Jobs red line

https://kensegall.com/2025/11/07/apple-is-crossing-a-steve-jobs-red-line/
376•zdw•17h ago•300 comments

Myna: Monospace typeface designed for symbol-heavy programming languages

https://github.com/sayyadirfanali/Myna
304•birdculture•19h ago•145 comments

Cekura (YC F24) Is Hiring

1•atarus•2h ago

Immutable Software Deploys Using ZFS Jails on FreeBSD

https://conradresearch.com/articles/immutable-software-deploy-zfs-jails
108•vermaden•13h ago•35 comments

The Initial Ideal Customer Profile Worksheet

https://www.reifyworks.com/writing/2023-01-30-iicp
63•mrbbk•4d ago•5 comments

How did I get here?

https://how-did-i-get-here.net/
245•zachlatta•18h ago•46 comments

Reverse engineering a neural network's clever solution to binary addition (2023)

https://cprimozic.net/blog/reverse-engineering-a-small-neural-network/
19•Ameo•4d ago•2 comments

Why I love OCaml (2023)

https://mccd.space/posts/ocaml-the-worlds-best/
344•art-w•23h ago•250 comments

Dark mode by local sunlight (2021)

https://www.ctnicholas.dev/articles/dark-mode-by-sunlight
12•gaws•4d ago•9 comments

Mullvad: Shutting down our search proxy Leta

https://mullvad.net/en/blog/shutting-down-our-search-proxy-leta
132•holysoles•13h ago•87 comments

Running a 68060 CPU in Quadra 650

https://github.com/ZigZagJoe/Macintosh-Q650-68060
55•zdw•12h ago•27 comments

Ruby already solved my problem

https://newsletter.masilotti.com/p/ruby-already-solved-my-problem
233•joemasilotti•19h ago•97 comments

YouTube Removes Windows 11 Bypass Tutorials, Claims 'Risk of Physical Harm'

https://news.itsfoss.com/youtube-removes-windows-11-bypass-tutorials/
703•WaitWaitWha•17h ago•276 comments

Cerebras Code now supports GLM 4.6 at 1000 tokens/sec

https://www.cerebras.ai/code
108•nathabonfim59•14h ago•75 comments

Venn Diagram for 7 Sets

https://moebio.com/research/sevensets/
142•bramadityaw•4d ago•37 comments

Apple's "notarisation" – blocking software freedom of developers and users

https://fsfe.org/news/2025/news-20251105-01.en.html
156•DavideNL•8h ago•112 comments

Angel Investors, a Field Guide

https://www.jeanyang.com/posts/angel-investors-a-field-guide/
152•azhenley•20h ago•37 comments

Computational Complexity of Air Travel Planning (2003) [pdf]

http://www.ai.mit.edu/courses/6.034f/psets/ps1/airtravel.pdf
4•arnon•4d ago•1 comments

Local First Htmx

https://elijahm.com/posts/local_first_htmx/
67•srid•11h ago•41 comments

FSF40 Hackathon

https://www.fsf.org/events/fsf40-hackathon
95•salutis•5d ago•3 comments

A rats to riches story: Larry the Downing Street cat finds place in TV spotlight

https://www.theguardian.com/politics/2025/nov/08/a-rats-to-riches-story-larry-the-downing-street-...
22•zeristor•4h ago•8 comments

Ribir: Non-intrusive GUI framework for Rust/WASM

https://github.com/RibirX/Ribir
70•adamnemecek•17h ago•14 comments

Show HN: Find matching acrylic paints for any HEX color

https://acrylicmatch.com/
33•dotspencer•4d ago•13 comments

Can you save on LLM tokens using images instead of text?

https://pagewatch.ai/blog/post/llm-text-as-image-tokens/
33•lpellis•6d ago•12 comments