Archives: [soy / q / int / g / asg / raid / giga / sci / lars / arch] [meta]
Update 2026-12-06: New! We now provide real-time archives for all boards on 4chan.org and swedishwin.com. 4chan archive / Swinny archive
Update 2026-12-04: You can now download threads to your computer in .html or .7z format. Watch the guide

Threads by latest replies - Page 5

rate my C

No.7323 View View Original Report
Kind of new to C, made this half ass "range" implementation, its still missing safety checks, didn't add because it's getting late and i would have forgotten about it if i left it to tomorrow, just wanted to post this here. (C) #include <stdio.h> #include <stdlib.h> #include <stdint.h> int main(int argc, char *argv[]) { if (argc < 2) { fprintf(stderr, "Usage: %s [START] STOP [STEP]\n", argv[0]); return 1; } int64_t Start = 0; int64_t Stop = atoi(argv[1]); //TO DO: USE SOMETHING BETTER THAN ATOI uint64_t Step = 1; if (argc == 3) { Start = atoi(argv[1]); Stop = atoi(argv[2]); Step = 1; } else if (argc == 4) { Start = atoi(argv[1]); Stop = atoi(argv[2]); Step = atoi(argv[3]); //CHECK IF ARGV3 IS POSITIVE! } else if (argc > 4) { fprintf(stderr, "Usage: %s [START] STOP [STEP]\n", argv[0]); return 1; } if (Start > Stop) //need to check other edge cases where Start/Stop/Step are very big/small { fputs("Start must not be larger than Stop.\n", stderr); return 1; } uint64_t Size = ( ( (Stop - Start) / Step) +1) * sizeof(int64_t); int64_t *arr = malloc(Size); if (!arr) { fputs("Memory allocation failed.\n", stderr); return 1; } uint64_t Stage = 0; for (int64_t i = Start; i < Stop; i += Step) { arr[Stage] = i; Stage++; } //Used for debugging, free to delete for (int64_t i = 0; i < Stop; i++) { printf("%li\n", arr[i]); } free(arr); arr = NULL; return 0; }

No.7341 View View Original Report
I want to dual-boot a Linux Distro for productivity, what should I choose? DE recommendations are also welcome. NO UBUNTU NO ARCH/ARCH-BASED NO REDHAT/FEDORA
6 posts omitted

long snca question

No.7335 View View Original Report
Guys, if you wanted to go to the simple phone life without a phone that was full of features and with apps like youtube and tiktok, which phone yall would pick? Not those ancient flip phones and nokias and blackberries as you know you use a phone for making calls but these phones no longer support any carrier as most of them are 5g exclusive, and it cannot be those dumb phones like the light phone as these are fucking expensive, and before you say like "why not simply stop using the smartphone a lot?", remember that smartphones are addicting that the best way to stop being addicted to it is to not have the bad features

No.7331 View View Original Report
does anyone here actually use openpgp or gnupg/librepgp for the intended usecace which is web of trust and identity verification and shieet? i know that gnupg finally got a mode for "post quantum" which is nice. besides that what services do people use to actually talk to each other anymore, don't say ((( discord ))). things like email and xmpp servers or even irc aldoe irc is kind of shit in some ways but it's still very nice. because the swinny is literally the only website i go to i ask also, where are all the le heckin' based niggers going? >

No.6439 View View Original Report
Desktop environment thread
13 posts omitted and 1 image omitted

USE MINT.

No.4573 View View Original Report
>I want to use linux, what should i do? >I'm starting linux, which distro is best >What are distros and which one should i get? USE MINT. Mint is the best beginner distro. It has sane defaults, it will feel just like windows, almost everything works out of the box, its straight up the best distro you can choose as a beginner <BUT ARCH/ARTIX/GENTOO/NIXOS/FOONIX/VOID/CACHY/SNCA-OS LE GOODERER For a beginner, the most important part is just not switching back to windows, not your software freedom philosophy or rolling updates or stability or compilation, they just want something thats like windows, and there is nothing wrong with that. Just use linux mint, its better.
30 posts omitted and 1 image omitted

No.7108 View View Original Report
OpenBSD is the worlds greatest operating system if not counting Temple OS. Linux troons seethe at it's existence
11 posts omitted and 1 image omitted

No.4490 View View Original Report
I want to switch to linux but the distro raisin is a margerald to me. I heard from normogroid snopes that arch and kali were good but I've seen baldis here saying it's for trannies, so what should I chose?
16 posts omitted

No.4553 View View Original Report
hello /sci/GQDs i have a question, which linux distro is the best for beginners? >
12 posts omitted and 1 image omitted