:: Re: [DNG] Fw: [OCLUG] Some programm…
Top Pagina
Delete this message
Reply to this message
Auteur: Edward Bartolo
Datum:  
Aan: Steve Litt
CC: dng, Kyle Terrien
Onderwerp: Re: [DNG] Fw: [OCLUG] Some programming humor
Hi All,

What about answering the basic question?

1) What is an OS's init system?
Reply: Hmm.... let me think. An init system is.... EVERYTHING!

2) What is sysvinit not a good OS init system?
Reply: Well... new is often better.

3) Why do you use assert() so much in your C coding?
Reply: Well... testing for the return value of functions like malloc,
etc and verifying array items are valid make the code cumbersome to
read and difficult to write.

On 08/06/2016, Steve Litt <slitt@???> wrote:
> Hi all,
>
> I think this joke could be refined, but it's a pretty good start.
>
> You know, given the fact that systemd's architecture is an April Fools
> joke, it's amazing how little systemd humor exists.
>
> SteveT
>
> ===================================================
>
> Begin forwarded message:
>
> Date: Tue, 7 Jun 2016 22:19:49 -0700
> From: Kyle Terrien <kyleterrien@???>
> To: Orange County Linux Users Group <oclug@???>
> Subject: [OCLUG] Some programming humor
>
>
> How many Lennart Poetterings does it take to change a light bulb?
>
> Just one. He simply runs
>
> # systemctl restart lights.service
>
> And then a bunch of maintenance workers run out and replace all the
> light bulbs at once.
>
> However, every now and then the maintenance workers walk into each
> other, drop the lightbulbs, and none of the lightbulbs get replaced.
>
> (Concurrency and parallelism are hard, but when you get them right, you
> can do some interesting things. If you don't get them right, you get
> some interesting race conditions.)
>
> --Kyle
>
>
>