profun
src
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
profun
-
Ask HN: Learn C in 2023?
A main issue with learning C is getting the architecture right (header and source files), and figuring out the tooling for compiling and debugging and building (gcc and gdb and make/cmake for example). I like C in a Nutshell 2nd ed (Prinz/Crawford) 2016 as a reference for any questions about that:
https://www.oreilly.com/library/view/c-in-a/9781491924174/
As far as code examples, I find there's of simple C graphics programs using the SDL2 library discussed on Youtube. Also simple ncurses programs are worth looking at. For example here's a video on making a tic-tac-toe game with pure C linked to github source code, just a few files:
https://www.youtube.com/watch?v=gCVMkKgs3uQ
https://github.com/tsoding/profun/tree/master/procedural
For practice, CodeWars has a lot of nice simple C challenges to work on.
-
Looking for Haskell example programs
Source code: https://github.com/tsoding/profun/tree/master/functional
src
-
OpenBSD Upgrade 7.3 to 7.4
The OpenBSD project released 7.4 of their OS on 16 Oct 2023 as their 55th release đ«
-
OpenBSD System-Call Pinning
Well since https://www.openbsd.org/ still says
> Only two remote holes in the default install, in a heck of a long time!
I'm assuming not, but I could always be mistaken.
- Project Bluefin: an immutable, developer-focused, Cloud-native Linux
-
From Nand to Tetris: Building a Modern Computer from First Principles
> building a cat from scratch
> That would be an interesting project.
Here is the source code of the OpenBSD implementation of cat:
> https://github.com/openbsd/src/blob/master/bin/cat/cat.c
and here of the GNU coreutils implementation:
> https://github.com/coreutils/coreutils/blob/master/src/cat.c
Thus: I don't think building a cat from scratch or creating a tutorial about that topic is particularly hard (even though the HN audience would likely be interested in it). :-)
- Une nouvelle mise à jour de Systemd permettra à Linux de bénéficier de l'infùme "écran bleu de la mort" de Windows, mais la fonctionnalité a reçu un accueil trÚs mitigé
-
tmux causing ANSI color-response garbage on attaching?
Browsing through the source history of /usr/src/usr.bin/tmux, it looks like this recent-ish commit is removing some checks for when ANSI color-probes and sending "tell me your color" sequences. Perhaps the culprit?
I can reproduce it. And this is the commit that causes the issue: https://github.com/openbsd/src/commit/d21788ce70be80e9c4ed0c52c149e01147c4a823
-
"<ESC>[31M"? ANSI Terminal security in 2023 and finding 10 CVEs
Actually, I got it wrong, too many vulnerabilities in flight. They did fix it: https://github.com/openbsd/src/commit/375ccafb2eb77de6cf240e...
-
Drupal 10.1 On OpenBSD 7.3: Install with Composer
This post shows how to install Drupal with PHP on OpenBSD, the solid OS. Here, Composer, the PHP package manager, is used with expectation that the update becomes easier.
- OpenBSD acme-client 㧠Let's Encrypt 蚌ææžăććŸăă
What are some alternatives?
cosmopolitan - build-once run-anywhere c library
bastille - Bastille is an open-source system for automating deployment and management of containerized applications on FreeBSD.
buttersink - Buttersink is like rsync for btrfs snapshots
PHPT - The PHP Interpreter
Joomla! - Home of the Joomla! Content Management System
ctl - The C Template Library
frr - The FRRouting Protocol Suite
coreutils - upstream mirror
PostgreSQL - Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch
freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....
gentoo-overlay - Gentoo overlay
linux - Linux kernel source tree