Conversation
Notices
-
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Sunday, 30-Jul-2023 19:20:22 JST :umu: :umu:
BSD cat: 100 lines of code
GNU cat: 9000 lines of code
Genome sequence of a cat: 30.9 GB
Bloatware-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 30-Jul-2023 19:25:20 JST Haelwenn /элвэн/ :triskell:
@bugaevc @a1ba Hare cat: 42 lines of code
https://git.sr.ht/~sircmpwn/hautils/tree/master/item/cat.ha -
Embed this notice
Sergey Bugaev (bugaevc@floss.social)'s status on Sunday, 30-Jul-2023 19:25:21 JST Sergey Bugaev
@a1ba #SerenityOS cat: 49 lines of code
https://github.com/SerenityOS/serenity/blob/master/Userland/Utilities/cat.cpp
In conversation permalink -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 30-Jul-2023 22:34:03 JST Haelwenn /элвэн/ :triskell:
@bugaevc @a1ba Of which 3 of those could easily be removed due to the formatting.
Also just checked and Plan9 cat is even shorter: http://git.9front.org/plan9front/plan9front/06c482ecc7e168719718ba8e853261265b4a3cbd/sys/src/cmd/cat.c/f.htmlIn conversation permalink Attachments
-
Embed this notice
Sergey Bugaev (bugaevc@floss.social)'s status on Sunday, 30-Jul-2023 22:34:05 JST Sergey Bugaev
@lanodan @a1ba but does it have the 7 lines of copyright header? :D
In conversation permalink -
Embed this notice
Iska (iska@catposter.club)'s status on Monday, 31-Jul-2023 19:51:14 JST Iska
@a1ba@suya.place
big cat = more cat
more cat = yes please
big cat = yes please
GNU/Chads stay winning :neko_sunglasses:In conversation permalink 翠星石 likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Monday, 31-Jul-2023 20:13:45 JST Haelwenn /элвэн/ :triskell:
@a1ba @maksim And I'd say it's not that far off.
$ grep '#include "' src/cat.c | cut -d' ' -f2 | tr -d '"' | while read name; do find -name "$name"; done | xargs wc -l src/cat.c
805 src/cat.c
808 ./src/system.h
113 ./lib/alignalloc.h
134 ./lib/idx.h
108 ./src/ioblksize.h
30 ./src/die.h
71 ./lib/fadvise.h
34 ./lib/full-write.h
47 ./lib/safe-read.h
48 ./lib/xbinary-io.h
2198 totalIn conversation permalink -
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Monday, 31-Jul-2023 20:13:47 JST :umu: :umu:
@maksim the numbers are approximate. In conversation permalink -
Embed this notice
maksim :fire: (maksim@mk.wherelinux.xyz)'s status on Monday, 31-Jul-2023 20:13:49 JST maksim :fire:
@a1ba@suya.place wdym 9000 lines of code https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/cat.c;h=b109998bfaa00340f06b916c0d7c1d63ad46f660;hb=HEAD
In conversation permalink Attachments
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Monday, 31-Jul-2023 20:16:47 JST Haelwenn /элвэн/ :triskell:
@maksim @a1ba I would, specially given it being a C program where headers have far-reaching consequences. (And I only picked the local ones, not system ones) In conversation permalink -
Embed this notice
maksim :fire: (maksim@mk.wherelinux.xyz)'s status on Monday, 31-Jul-2023 20:16:49 JST maksim :fire:
@lanodan@queer.hacktivis.me @a1ba@suya.place I mean do we include libraries as cat's LOC count?
In conversation permalink -
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Monday, 31-Jul-2023 20:17:52 JST :umu: :umu:
@lanodan @maksim numbers were chosen for comedy because GNU implementations are known to be overengineered.
And because there was a post about a man who sequenced a genome of his cat and uploaded it as a torrent, which is 30 gigabytes of data.
The exact LOC of GNU implementation doesn't matter here because the joke was about the cat. Real meowing cat.In conversation permalink Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Monday, 31-Jul-2023 20:20:27 JST Haelwenn /элвэн/ :triskell:
@maksim @a1ba Hahaha, I should include long_cat in my https://hacktivis.me/tmp/gnu_cat/ page. In conversation permalink Attachments
-
Embed this notice
maksim :fire: (maksim@mk.wherelinux.xyz)'s status on Monday, 31-Jul-2023 20:20:28 JST maksim :fire:
@a1ba@suya.place @lanodan@queer.hacktivis.me oh okay sorry maybe took it too seriously xdd also see this funny picture
In conversation permalink Attachments
-
Embed this notice
maksim :fire: (maksim@mk.wherelinux.xyz)'s status on Monday, 31-Jul-2023 20:23:58 JST maksim :fire:
@lanodan@queer.hacktivis.me @a1ba@suya.place do it, https://rimgo.pussthecat.org/7r5Q1qA.png for good quality
In conversation permalink Attachments
Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice