this post was submitted on 05 May 2025
210 points (98.6% liked)

Linux

56288 readers
1507 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Packages:

  • github.com/truthfulpharm/prototransform
  • github.com/blankloggia/go-mcp
  • github.com/steelpoor/tlsproxy
you are viewing a single comment's thread
view the rest of the comments
[–] CptKrkIsClmbngThMntn@hexbear.net 23 points 2 months ago (9 children)

The one, fool-proof solution to supply chain attacks? Write all your own dependencies. meow-coffee

[–] abobla@lemm.ee 28 points 2 months ago (4 children)

I'm already writing my own dependency to check if a number is even:

if (number == 0) return true
if (number == 1) return false
if (number == 2) return true
if (number == 3) return false

I'm almost there!

[–] CptKrkIsClmbngThMntn@hexbear.net 18 points 2 months ago (2 children)

You've probably covered 90% of use cases there so you're doing well!

I'm trying to port your code to Rust but the compiler keeps giving me an error about non-exhaustive match arms sadness

[–] Kazumara@discuss.tchncs.de 9 points 2 months ago

It's quite cruel of that compiler not being happy until you're exhausted.

[–] abobla@lemm.ee 7 points 2 months ago (1 children)

this is so sad, I'm gonna pray for you in rust

[–] CptKrkIsClmbngThMntn@hexbear.net 8 points 2 months ago

Assuming you're monotheistic, I believe you can use an mpsc channel to send those asynchronously.

load more comments (1 replies)
load more comments (5 replies)