kif.rocks ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.

Serverstatistik:

158
aktive Profile

#c

43 Beiträge34 Beteiligte8 Beiträge heute

#C #Programming #Networking #Inquiry

to send a file over a socket connection do I just read the file from the disk and send them as raw bytes or is there something special i need to do?

for example, if I have a TestImage.png in my 'web root' directory and a browser request the /TestImage.png , do I just read the file byte for byte into an array and then just send that to be browser?

So I should re #introduce myself; used to host my own instance at artemai when that was a thing; decided to get back on Mastodon again because the rest of social is a dumpsterfire.

I'm a #UNIX sysadm originally (from the late 90s) but started using #Linux 🐧 in 91, bringing early ☎️ dialup internet to #Newcastle with community group hunter #apana.

I'm a #coder, #python 🐍 is the go-to language these days, some #js but plenty of #C and some #golang too.

Ten years ago I landed in #liveevents and #visionswitch / 📹 #camera #direct #sports presentation in major 🏟️ #stadiums along with building software for data-driven #content for use in those environments.

I'm a #ham 📻 radio operator. Callsign VK2WAY. I'm mostly interested in signals processing and digital communications.

I used to officiate 🛼#RollerDerby but have streamed it since 2014 as Downunder Derby TV. I still manage socials for and help co-ordinate Queer Roller Derby - @queerderby.

I'm #queer 🏳️‍🌈 #pansexual ❤️💛💙 #poly 👫👬 #nonbinary 💛🤍💜🖤 and use they/them pronouns.

.NET 10.0 Preview 2 ist mit heißer Nadel gestrickt

Die zweite Preview für .NET 10.0 ist nur drei Wochen nach der ersten mit überschaubaren Neuerungen erschienen. Einiges funktioniert noch nicht wie angekündigt.

heise.de/news/NET-10-0-Preview

heise online · .NET 10.0 Preview 2 ist mit heißer Nadel gestricktVon Dr. Holger Schwichtenberg
#NET#C#IT
Antwortete im Thread

@SDF Wow, I have very fond memories of this machine as it was the first instance of netmbx, our public access Unix system that was later running on a Xenix box. It had a couple of dialin modems connected to it and polled tub aka db0tui6 using UUCP

#N netmbx
#S Altos 68000; Unix SysIII
#O netmbx Berlin
#C Ralf Moritz †
#E mor...@netmbx.uucp
#T +49 30 87 81 24
#P Woerther Str. 36, D-1000 Berlin 20, W. Germany
#L 52 31 N / 13 24 E city
#R
#W mor...@netmbx.uucp; 870530
#
netmbx tub(DAILY)

> Modern languages are not using the zero-character to terminate strings, but C does it a lot.

This is NOT true. Why is everybody confusing C (the language) with the C Standard Library? The C language doesn't know anything about terminating strings with a zero character (0x00) byte. What you referring to is the C Standard Library, not C the language.

youtu.be/5_oqWE9otaE?si=Su31eQ

#C#Rust#Zig

I think @thephd's #C 'defer' proposal is excellent, and their write-up is well worth a read: thephd.dev/c2y-the-defer-techn

And also, I think it's super funny that my own C code from 2015 — my first C project, which still powers my blog at mort.coffee — has become a case study in how bad C code can be without defer 😅 Apparently the C community's discussion revolves around it, as it's featured prominently in the proposal and criticisms to the proposal revolves around it hehe #programming

#uutils - #Ubuntu remplace ses commandes #Linux par du #Rust

Ces petites commandes Linux qu’on utilise tous au quotidien pourraient bientôt connaître leur plus grande évolution depuis des décennies. En effet, #Canonical (la société derrière Ubuntu) explore activement le remplacement des #GNU Core Utilities, écrites en #C, par ‘uutils’, leurs équivalents en Rust.
korben.info/uutils-ubuntu-remp

Le site de Korbenuutils - Ubuntu remplace ses commandes Linux par du Rust | Le site de KorbenCes petites commandes Linux qu’on utilise tous au quotidien pourraient bientôt connaître leur plus grande évolution depuis des décennies. En effet, ...