frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Don't be a meat proxy

https://gruhn.me/blog/2026-08-03/
634•ngruhn•4h ago•279 comments

Qwen3.8-Max: A New Bar for Coding and Cowork

https://qwen.ai/blog?id=qwen3.8
599•ai2027•8h ago•303 comments

Prevent cognitive debt by manually retyping LLM-generated code

https://ankursethi.com/blog/prevent-cognitive-debt-by-manually-retyping-llm-generated-code/
30•mpweiher•1h ago•24 comments

Bonsai: Janestreet's UI Library

https://github.com/janestreet/bonsai
51•KolmogorovComp•2h ago•11 comments

Less Coffee, Better Sleep

https://www.marginalia.nu/log/a_109_sleep2/
27•edward•1h ago•32 comments

What DMARC Protects You From, and What It Does Not

https://senderledger.com/articles/what-dmarc-actually-protects-you-from
12•adulion•1h ago•3 comments

Rust project goals: Immobile types and guaranteed destructors

https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/move-trait.md
82•paavohtl•4h ago•17 comments

Octane – React's programming model, compiled

https://octanejs.dev
22•nnx•2h ago•7 comments

Show HN: Isopolis – Isometric pixel map of SF

https://sf.isopolis.city/
226•nuwandavek•9h ago•50 comments

The AI Productivity Gap

https://bjorg.bjornroche.com/management/ai-productivity-gap/
52•kiyanwang•3h ago•48 comments

PISIGuard: Protect your personal and sensitive info when you chat with AI

https://github.com/mohamed--abdel-maksoud/pisiguard
6•mohamed_am83•1h ago•5 comments

The true power of regular expressions (2012)

https://www.npopov.com/2012/06/15/The-true-power-of-regular-expressions.html
7•uneven9434•1h ago•2 comments

Show HN: ssh ssh.place

https://ssh.place
117•jeninh•10h ago•71 comments

Why we write our own C and C++ inference engines

https://localai.io/blog/why-we-write-our-own-engines/
59•eatonphil•2d ago•27 comments

MPs demand answers on Fujitsu's inclusion in lucrative frameworks

https://www.computerweekly.com/news/366646721/MPs-demand-answers-on-Fujitsus-inclusion-in-lucrati...
17•latein•1h ago•4 comments

CP/M-386 – CP/M for 386 protected mode, derived from CP/M‑68K

https://github.com/johnsonjh/cpm386
70•TMWNN•10h ago•30 comments

The Shape of Things to Come

https://yegge.ai/essays/the-shape-of-things-to-come/
18•tosh•3h ago•20 comments

Show HN: A Handwritten Blogging Platform

https://handwritten.blog/
111•emilesilvis•3d ago•55 comments

Autoregressive Language Model on the 6502 Processor

https://mattbeton.com/blog/bitnet-6502.html
111•nmstoker•2d ago•10 comments

Why Book Corners won't sync contributions back to OpenStreetMap

https://www.andreagrandi.it/posts/why-book-corners-wont-sync-contributions-back-to-openstreetmap/
103•pizzaiolo•10h ago•60 comments

Show HN: Kakehashi – Experimental userspace to run macOS binaries on Linux ARM

https://github.com/wie-project/kakehashi
222•vlad_kalinkin•18h ago•55 comments

Note-Taking and Personal Knowledge Management

https://unattributed.cc/note-taking-and-personal-knowledge-management
206•surprisetalk•5d ago•65 comments

How do you rewrite C/C++ projects to Rust?

https://blog.jetbrains.com/rust/2026/07/27/cpp-to-rust-migration/
16•smokeeaasd•5d ago•11 comments

Developers are attached to tools because tools encode trust

https://stackoverflow.blog/2026/07/29/developers-are-attached-to-tools-because-tools-encode-trust/
215•HieronymusBosch•4d ago•117 comments

Convergence is not enough

https://www.inkandswitch.com/livelymerge/notebook/lm-02/
34•zdw•6d ago•6 comments

SwiftUI After 7 Years

https://ykvm.com/2026/07/swiftui-a-story-of-mediocrity/
200•mpweiher•15h ago•179 comments

Situational Awareness and the Impending Stock Market Volatility

https://www.emergingtrajectories.com/lh/situational-awareness-bigger-picture/
15•cl42•4h ago•7 comments

Show HN: We Fixed UniFi's Slow PPPoE Performance with PPPoE Half-Bridge

https://arcbox.dev/blog/unifi-pppoe-half-bridge-acceleration
9•uneven9434•2h ago•4 comments

The myth of Snow Leopard

https://www.rubenerd.au/the-myth-of-snow-leopard/
100•speckx•16h ago•84 comments

Read the novels and forget everything else

https://hedgehogreview.com/web-features/thr/posts/read-the-novels-and-forget-everything-else
103•samclemens•2d ago•86 comments
Open in hackernews

Less Coffee, Better Sleep

https://www.marginalia.nu/log/a_109_sleep2/
26•edward•1h ago

Comments

majorbugger•46m ago
For many people this might make a massive difference. But people are not equally sensitive to caffeine.
anonzzzies•41m ago
I get sleepy after drinking coffee. and also energy drinks.
david-gpu•23m ago
Anecdotally, I have heard people with ADHD reporting that caffeine calms them down. Maybe worth a shot?

https://www.psychologytoday.com/us/blog/the-venn-diagram-lif...

EbNar•39m ago
Right now we have 30 ºC at nighttime + 80% relative humidity (and no, no AC). I can assure you that coffee is the last of my problems.
ccppurcell•37m ago
Also high pollen count. I am much more sensitive to heat than my partner but she has allergies. We sort of alternate. Sleeping with AC all night has its own issues.
ShinyLeftPad•32m ago
> Sleeping with AC all night has its own issues.

What are the issues sleeping with AC all night?

mittermayr•27m ago
Dried up air (I love A/C regardless).
nomorewords•4m ago
Does it dry up that much? I have an ikea smart thermometer that's in the flow of the AC and I haven't seen humidity drop below 40% even in summer
mattrighetti•39m ago
Interesting coincidence - I’ve been drinking only one cup of coffee in the morning for the past month or so.

Used to drink one in the morning and one immediately after lunch. Couldn’t really tell the difference in sleep quality and to be fair I’m waking up more frequently in the past 2 weeks, but I guess that has to do more with heat than anything else.

Listened to many podcasts trying to learn more about this and they all seem to argue that it’s actually more important when you drink coffee. If you get your last coffee right after lunch your body will have almost no caffeine circulating in the system by the end of the day and that will make you sleep better.

shoobiedoo•20m ago
Well I think the key point is that caffeine has a half life of 6 or 7 hours in adults. So 4 coffees before 10am is worse than one coffee at 2pm. That's how I look at it anyway. Regardless, I limit myself to 2 cups before 8am. Now I notice even a late afternoon green tea wrecking my sleep. Can't believe I spent all those years drinking 5 cups well into the afternoon...
maccard•17m ago
> I spent all those years<…>

Sleep changes as we age, so it’s possible that you were “fine” before.

triilman•37m ago
This is what I do when get heavy sleepy. 30min or 1 hour sleeping time is enough to stay conscious for next hours.
intrasight•34m ago
I was having 3-4 per day. Wasn't feeling so great. Decided for quality over quantity. Had just one cappuccino a week Sunday morning. Did that for several years. But then started a relationship with a coffee lover. Now have 2 in the morning which is as much caffeine as my prev 4. Yet I've had no ill effects.
keyle•34m ago
Over my dead body.

I love coffee. I always have. It has anti oxidant properties. Don't drink the crap coffee. Most Americans have no idea what good coffee is. They're as educated with coffee as they are with nutrition.

Just drink less of it if you must but enjoy it. Get good coffee. Avoid it after 3 PM if you want good sleep. I found a late night cup after a dinner with friends typically sets me right for the drive home and does not damage sleep. But between 3 and 9 PM it's not great for sleep.

Finally it's important to understand that caffeine does not give you energy. It only hides fatigue. If you have trouble sleeping then avoid caffeine. You can get good decaf options today. But they still contain approx a fifth of a regular cup's caffeine.

kzrdude•29m ago
People just have different tolerance. Coffee strictly before noon works well for me.
foft•32m ago
Cutting coffee to just the morning definitely helped me.

My problem now is that if I think of anything vaguely interesting in the evening then my brain refuses to stop thinking about it. That and restless legs.

Evening if my main time for hobby projects so having them lead to disrupted sleep is really annoying. Any tips?

mightyham•22m ago
Wake up early and work on hobby projects in the morning. That's what I personally do sometimes.
pilooch•21m ago
Daily sports is the way, purges the body, rests the mind.
speedgoose•17m ago
But not too late, otherwise you don’t sleep well.
chedabob•21m ago
I always aim to stop doing anything with high cognitive load at least half an hour before getting ready for bed.

Not necessarily no screen time, but coding stops, and the remaining time is spent gaming or watching TV, or I go to bed early and read.

chadd•20m ago
magnesium glycinate (and/or a liquid IV or equivalent before bed) helped my restless legs
Mwntalhwalth•27m ago
Recently cut out cannabis, cbd, coffee and all alcohol and its shocking how different your sleep becomes. There needs to be more research done on stimulant free brains and my theory of how better our brains are at "taking the trash out" at night when not pumped full of quick/easy dopamine.
maccard•18m ago
I’ve always struggled with sleep. A few things that helped me (in order of importance)

- go to bed and get up at the same time every day. Getting up is more important than going to bed.

- no phone in bed, and limit stimulating activities (intense video games, programming, planning the vacation etc) to 90 minutes before bed. I read during that time but TV, cleaning, music, whatever works.

- a bad nights sleep will happen, often a few nights in a row. Be ok with that (easier said than done, I did CBT for this). Instead of lying in bed restless get up and watch TV, or read.

- leave the house for 30 minutes every day.

- journal as often as possible. Ideally daily, but a few times a eeek. Don’t ever read it back but just write down your feelings and the things on your mind. Do good and bad.

- exercise every other day.

- no coffee after lunch, and never more than 3 in a morning.

It’s a marathon, not a sprint and overall I have way less bad nights than I did before, and I don’t beat myself up as much for the bad nights.

HelloUsername•13m ago
Previous discussion in 2024: https://news.ycombinator.com/item?id=41140565
frobisher•9m ago
BUTTT LEESSS PPHHUUNNNNNNNNNNN!!!!!!

jkjkjk, sleep well my friends

CapsAdmin•6m ago
Whenever I stop drinking coffee for a few days or even months, I find that it becomes harder to wake up. I seem to sleep a lot heavier, but in the morning it's difficult to open my eyes as they feel heavy.

It doesn't matter if I have 1 cup in the morning or drink coffee all day. As long as I have it in my system from the previous day, it's very easy to wake up the next day.

gentooflux•17m ago
Magnesium, L-Theanine, and vitamin d. Make a regular bed time for yourself, and stop looking at screens 30 minutes before that time. Regular is more importantly than early, I.e. 11:30 is passable but only if it's always 11:30.