frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

C Bit-Field Pitfalls

https://www.os2museum.com/wp/bitfield-pitfalls/
13•fanf2•1h ago

Comments

mwkaufma•40m ago
tl;dr standard is unclear if they should respect the signed-ness of the declaration (MSCV), or always promote to int before converting to a receiving type (GCC, Clang).

I suppose you could say MS's choice reflects a commitment to backwards compatibility, whereas GCC/Clang is always chomping at the bit to introduce more aggressive optimizations that signed-integer-undefined-behavior affords?

pjmlp•36m ago
It is much safer to pack/unpack bits manually than trusting bitfields will work as expected.
fsckboy•6m ago
>The troublesome behavior is demonstrated by the lines performing the left shift. We take a 12-bit wide bit-field, shift it left by 20 bits so ...

this is nonsense. I don't know what they expect would happen, but who cares? I wouldn't shift a 12 bit field by more than ±11 bits.

you can shift the "enclosing" word of memory if you want, just put the original definition in a union.

A curated list of open-source projects and resources for the OpenClaw ecosystem

https://github.com/SebConejo/awesome-openclaw-resources
1•stosssik•54s ago•0 comments

Nash Burns Saves the Day

https://www.tbray.org/ongoing/When/202x/2026/03/20/Nash-Burns
1•AndrewDucker•1m ago•0 comments

Modern Family Star Nolan Gould, 14, on Mensa and Starting College Early (2013) [video]

https://www.youtube.com/watch?v=ZOTtGItg2PI
1•joebig•8m ago•0 comments

Bead Sort (Gravity Sort)

https://en.wikipedia.org/wiki/Bead_sort
3•ogogmad•10m ago•0 comments

Apifold – OpenAPI spec in, live MCP server out

https://github.com/Work90210/APIFold
2•KyleFuehri•15m ago•0 comments

I Predicted the 2008 Financial Crisis. What Is Coming May Be Worse

https://www.nytimes.com/2026/03/16/opinion/financial-crisis-private-credit-ai-iran-taiwan.html
2•saikatsg•19m ago•1 comments

Intel GMA 945, Nvidia 8800 GTS, AMD Radeon HD 7350G All Working with ReactOS Now

https://twitter.com/reactos/status/2031439000708202743
1•smurda•19m ago•0 comments

Tinybox- offline AI device 120B parameters

https://tinygrad.org/#tinybox
30•albelfio•21m ago•9 comments

The Ghost in Your Shell

https://github.com/DeepBlueDynamics/hyperia
1•kordlessagain•21m ago•1 comments

Kagi: Small Web Just Got Bigger

https://blog.kagi.com/small-web-updates
2•gxs•22m ago•0 comments

No evidence cannabis helps anxiety, depression, or PTSD

https://www.sciencedaily.com/releases/2026/03/260319044656.htm
2•nothrowaways•23m ago•0 comments

Common Lisp Development Tooling

https://www.creativetension.co/posts/common-lisp-development-tooling
1•0bytematt•25m ago•0 comments

Show HN: vLLM Studio – A macOS app for using vLLM models

https://github.com/agentset-ai/vllm-studio
2•ahmedriad1•26m ago•3 comments

Hawaii's worst flooding in 20 years threatens dam, prompts evacuations

https://www.nbcnews.com/weather/floods/hawaii-worst-flooding-in-20-years-rcna264573
4•geox•34m ago•0 comments

Trying out creating simple and fun games. What do you think?

https://samreedcole.com/about/
2•samreedcole•43m ago•1 comments

Bilderberg Meeting

https://en.wikipedia.org/wiki/Bilderberg_Meeting
2•simonebrunozzi•47m ago•0 comments

6 Facts about obesity and weight loss drugs in the U.S.

https://www.pewresearch.org/short-reads/2026/01/23/6-facts-about-obesity-and-weight-loss-drugs-in...
3•paulpauper•50m ago•0 comments

Be a Sadist

https://twitter.com/robkhenderson/status/2035433329281945974
2•delichon•51m ago•0 comments

The Distaff Texts

https://www.lesswrong.com/posts/pKoDqpfdv4ur8HgZ2/the-distaff-texts
1•paulpauper•51m ago•0 comments

Show HN: Atomic – self-hosted, semantically-connected personal knowledge base

https://github.com/kenforthewin/atomic
4•kenforthewin•58m ago•0 comments

Show HN: Can I run a model language on a PS2?

https://github.com/xaskasdf/ps2-llm
4•xaskasdf•1h ago•2 comments

Just In Time compilation in WebAssembly (2022)

https://www.wingolog.org/archives/2022/08/18/just-in-time-code-generation-within-webassembly
2•QuadmasterXLII•1h ago•1 comments

Is AI capable of Intelligent Disobedience? [video]

https://www.youtube.com/watch?v=Qu-00j9XuF0
1•Yukonv•1h ago•0 comments

Is 'Vibe Physics' the Future?

https://physicsworld.com/a/is-vibe-physics-the-future/
4•01-_-•1h ago•1 comments

Nvidia Open-Sources OpenShell: Agent Runtime with Security Guardrails

https://nvidianews.nvidia.com/news/ai-agents
5•jee599•1h ago•2 comments

For the First Time, Scientists May Have Found a Way to Regenerate Cartilage

https://www.inc.com/victoria-salves/for-the-first-time-scientists-may-have-found-a-way-to-regener...
2•01-_-•1h ago•0 comments

Show HN: Zen-Hunt – A bare-metal forensic scanner in Rust (SIMD, 7GB/s on NVMe)

https://github.com/ejgi/zen_hunt
2•ejgi•1h ago•0 comments

Show HN: ClawJetty: Agent Pages for Production AI

https://clawjetty.com/#####
1•andes314•1h ago•0 comments

Show HN: A KEXP native macOS app

https://github.com/isaacd9/kexp-menubar
2•idd2•1h ago•1 comments

The USPS Honors Lowrider History with These Commemorative Stamps

https://www.caranddriver.com/news/a70806083/usps-lowrider-commemorative-stamps/
1•RickJWagner•1h ago•0 comments