mallaidh (dork aspect) a changé de compte pour @mallaidh@cybre.space :
8be1110142e97c86

mallaidh (dork aspect) @mallaidh@witches.town

Pouet épinglé

why do people not read my bio before following

lewd joke Afficher plus

pretty fucked up that cleopatra was alive closer to the existence of mastodon than the construction of most of the egyptian pyramids

i feel like drinkwater would be a very appropriate last name for mastodon

gripe Afficher plus

pun Afficher plus

down below 500 chars now Afficher plus

per Jacobin on birdsite, apparently the teachers in the West Virgina just voted to occupy the capitol building until their demands are met!!!

@mallaidh With custom increments. Unicode spaces for formatting.

#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
#define NULLCHK(S) if ((S) != NULL)\
     exit(1)
/*
* A basic implementation of seq(1). Does not support floating-point bounds.
*/
int
main(int argc, char **argv) {
  if (argc < 2 || argc > 4)
    exit(2);
  long long lo, hi, inc;
  const char *errstr = NULL;
  lo = (argc == 2) ? 1 : strtonum(argv[1], LLONG_MIN, LLONG_MAX, &errstr);
  NULLCHK(errstr);
  hi = strtonum(argv[argc - 1], LLONG_MIN, LLONG_MAX, &errstr);
  NULLCHK(errstr);
  inc = (argc < 4) ? 1 : strtonum(argv[2], LLONG_MIN, LLONG_MAX, &errstr);
  NULLCHK(errstr);
  for (long long i = lo; i <= hi; i += inc)
    printf("%lld\n", i);
  exit(0);
}

forget K&R, forget kernel style, whitney C style is the best and always will be
code.jsoftware.com/wiki/Essays

mastodon obfuscated c contest, how much can you fit in a toot

for comparison, a snippet of the 706-line gnu version Afficher plus

because i can fit it into a toot, a mini version of seq(1) Afficher plus