frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Project Patchouli: Open-source electromagnetic drawing tablet hardware

https://patchouli.readthedocs.io/en/latest/
283•ffin•7h ago•29 comments

A closer look at a BGP anomaly in Venezuela

https://blog.cloudflare.com/bgp-route-leak-venezuela/
191•ChrisArchitect•6h ago•74 comments

Lights and Shadows

https://ciechanow.ski/lights-and-shadows/
29•kg•5d ago•1 comments

The Napoleon Technique: Postponing things to increase productivity

https://effectiviology.com/napoleon/
129•Khaine•3d ago•58 comments

Kernel bugs hide for 2 years on average. Some hide for 20

https://pebblebed.com/blog/kernel-bugs
194•kmavm•10h ago•81 comments

Open Infrastructure Map

https://openinframap.org
221•efskap•9h ago•52 comments

Eat Real Food

https://realfood.gov
907•atestu•19h ago•1225 comments

Mothers (YC X26) Is Hiring

https://jobs.ashbyhq.com/9-mothers
1•ukd1•1h ago

Anyone have experiences with Audio Induction Loops?

https://en.wikipedia.org/wiki/Audio_induction_loop
32•evolve2k•3d ago•13 comments

Shipmap.org

https://www.shipmap.org/
651•surprisetalk•22h ago•106 comments

Go.sum is not a lockfile

https://words.filippo.io/gosum/
97•pabs3•8h ago•39 comments

Lessons from Hash Table Merging

https://gist.github.com/attractivechaos/d2efc77cc1db56bbd5fc597987e73338
37•attractivechaos•6d ago•10 comments

Tailscale state file encryption no longer enabled by default

https://tailscale.com/changelog
305•traceroute66•16h ago•119 comments

ChatGPT Health

https://openai.com/index/introducing-chatgpt-health/
321•saikatsg•17h ago•401 comments

The Q, K, V Matrices

https://arpitbhayani.me/blogs/qkv-matrices/
143•yashsngh•1d ago•58 comments

LaTeX Coffee Stains (2021) [pdf]

https://ctan.math.illinois.edu/graphics/pgf/contrib/coffeestains/coffeestains-en.pdf
346•zahrevsky•22h ago•84 comments

The virtual AmigaOS runtime (a.k.a. Wine for Amiga:)

https://github.com/cnvogelg/amitools/blob/main/docs/vamos.md
82•doener•12h ago•20 comments

Danish troops told to 'shoot first, ask questions later' if US invades Greenland

https://www.lbc.co.uk/article/danish-troops-shoot-first-us-greenland-5HjdQNW_2/
20•saubeidl•1h ago•7 comments

GLSL Web CRT Shader

https://blog.gingerbeardman.com/2026/01/04/glsl-web-crt-shader/
74•msephton•3d ago•27 comments

Musashi: Motorola 680x0 emulator written in C

https://github.com/kstenerud/Musashi
85•doener•12h ago•8 comments

NPM to implement staged publishing after turbulent shift off classic tokens

https://socket.dev/blog/npm-to-implement-staged-publishing
183•feross•18h ago•73 comments

How Google got its groove back and edged ahead of OpenAI

https://www.wsj.com/tech/ai/google-ai-openai-gemini-chatgpt-b766e160
153•jbredeche•20h ago•176 comments

US will ban Wall Street investors from buying single-family homes

https://www.reuters.com/world/us/us-will-ban-large-institutional-investors-buying-single-family-h...
899•kpw94•17h ago•912 comments

Reading Without Limits or Expectations

https://www.carolinecrampton.com/reading-without-limits-or-expectations/
51•herbertl•2d ago•13 comments

Notion AI: Unpatched data exfiltration

https://www.promptarmor.com/resources/notion-ai-unpatched-data-exfiltration
179•takira•17h ago•27 comments

Health care data breach affects over 600k patients, Illinois agency says

https://www.nprillinois.org/illinois/2026-01-06/health-care-data-breach-affects-600-000-patients-...
194•toomuchtodo•20h ago•67 comments

Claude Code CLI was broken

https://github.com/anthropics/claude-code/issues/16673
139•sneilan1•16h ago•140 comments

Creators of Tailwind laid off 75% of their engineering team

https://github.com/tailwindlabs/tailwindcss.com/pull/2388
1295•kevlened•21h ago•734 comments

Play Aardwolf MUD

https://www.aardwolf.com/
139•caminanteblanco•13h ago•71 comments

A4 Paper Stories

https://susam.net/a4-paper-stories.html
364•blenderob•1d ago•171 comments
Open in hackernews

Show HN: TCP chat server written in C# and .NET 9, used in the terminal

https://github.com/Sieep-Coding/simple-chat-csharp
23•sieep•5d ago

Comments

DoctorOW•1d ago
Is this effectively IRC? I know it's not literally compatible but the same basic TCP for chat right?

ETA: Not being dismissive! Cool project!

sieep•23h ago
Admittedly I don't know a lot about networking or IRC clients, but in practice I believe so. The idea was to implement the simplest possible way for 2 people to communicate via TCP.
dahsameer•1d ago
love that its single file each for server and client. simple and neat.
sieep•22h ago
Thank you! I think it goes against Microsoft's C# conventions a bit (i.e. the classes should be separated out more) but I prefer this setup.
tcper•1d ago
Funny, C# app only tested on Linux
throw__away7391•1d ago
This is fairly normal these days, no?
exceptione•1d ago
I remember having seen that Linux is used a lot by Microsoft's .net team.

Linux is the best platform anyways to run your .net core application. With Avalonia you have a good cross-platform solution, albeit that they still depend on X11/Xwayland for Linux.

A shame .net isn't more popular. The MS branding is a problem though. Although .net core is MIT-licensed, most contributions are from MS¹. Still, if MS would ever ditch it (quite unlikely for the foreseeable future), I think the ecosystem will step up.

__

1. F# is an outlier, that is a real community project with lots of contributions from companies and enthusiasts

sieep•22h ago
I highly recommend trying C# on Linux, it works fantastic. Rider on Linux works amazing as well so hats off to Jetbrains.
arethuza•1d ago
What happens if the message entered by the user into the Client is more than 4096 bytes?
nlitened•1d ago
From what I see, the code is incorrect in reading “messages” from TCP socket stream, and will be failing randomly in production with messages longer than 1500 bytes, and also sometimes when even shorter.

Instead, the TCP socket must be treated as a stream of bytes, and use either some delimiter as message boundary (like \n, while escaping any newlines inside JSON), or write message size before the message bytes itself, so that the code knows how many bytes to read until full message is read.

Edit: to clarify, TCP protocol does not guarantee that if you write some bytes in one go, they will be read in one go as well. Instead, they may be split into multiple “reads”, or glued together with the preceding chunk, or both. It’s a “stream of bytes” protocol, it only guarantees that written bytes come one after another in the same order.

So the “naive” message separation used in code above (read a chunk and assume it’s the entire message that was written) will work in manual tests, and likely even in local automated tests, but will randomly break when exposed to real network conditions.

arethuza•1d ago
Thanks - I had a quick scan through the code and noticed the 4096 byte buffers and wondered how larger messages were handled and couldn't see anything but wondered if I was missing something!
sieep•22h ago
Good write up, thanks for taking the time to go into detail. I may try to implement your feedback at some point.
r0x0r007•1d ago
wow, a simple project made by chatGPT reaches hacker news top page. Way to go C# devs! And yes, I am one of them.
DoctorOW•1d ago
It's a simple project but it doesn't have the usual AI code style to me. It reads instead like someone getting the hang of networking in C#. Incidentally, this is OP's first public C# repo.

https://github.com/Sieep-Coding?tab=repositories&q=&type=&la...

r0x0r007•1d ago
yeah maybe, I guess it's fine, I meant no disrespect for the person learning. I can see some git issues so probably a new dev showcasing.I just don't understand how the hn posts work. Shouldn't there be some upvoting of stuff to be on the main page, or it was just released so it appeared?
DoctorOW•1d ago
For what it's worth the HN algorithm is a pretty complex, so I'm still oversimplifying but ti's more about the rate a story gains score than the points themselves. You can get just 5 votes in the first minute you're up and make the front page, which is more or less what this did.
sieep•23h ago
I used Rider's auto-complete for a lot of the code but it is handwritten.