Comics

453 readers
1 users here now

A community for sharing comics related to programming

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 10 months ago
MODERATORS
76
 
 
77
38
submitted 10 months ago by mac to c/comics
 
 

Hover Text:

Easier to escape: n-layered nested quotes or an iron maiden?

:::spoiler Transcript

[Cueball sits before a computer on a desk while another man stands behind him.]
Man: I was fascinated by locks as a kid. I loved how they turned information and patterns into physical strength.
Cueball: Why does my script keep dying?

[Closeup on Cueball sitting at the computer.]
Man: And a lock invites you to try and open it. It's the hacker instinct. Only your ignorance stands in the way.
Cueball: Wait it's passing bad strings.

[Returns to the two shot of both men.]
Man: I admired Harry Houdini, how he could open any lock and free himself from any restraint.
Cueball: Ah - Bash is parsing the spaces.

Man: Sure some of it was fakery and showmanship. But I still wonder how he so consistently escaped handcuffs.
Cueball: Backslashes?
Man: Huh?
Cueball: Never mind.

78
38
[xkcd] Lisp (16 Feb 2007) (programming.dev)
submitted 10 months ago by mac to c/comics
 
 

Hover Text:

We lost the documentation on quantum mechanics. You'll have to decode the regexes yourself.

Transcript

[Floating in space.]
Speaker: Last night I drifted off while reading a Lisp book.
Cueball: Huh?
Speaker: Suddenly, I was bathed in a suffusion of blue.

[Floating in space before a vast concept tree.]
Speaker: At once, just like they said, I felt a great enlightenment. I saw the naked structure of Lisp code unfold before me.
Cueball: My God
Cueball: It's full of 'car's
Speaker: The patterns and metapatterns danced. Syntax faded, and I swam in the purity of quantified conception. Of ideas manifest.

[Close-up of floating in space before part of a concept tree.]
Truly, this was the language from which the gods wrought the Universe.

[Floating in space with God appearing through a line of clouds.]
God: No, it's not.
Cueball: It's not?
God: I mean, ostensibly, yes. Honestly, we hacked most of it together with Perl.

79
 
 
80
113
submitted 10 months ago by mac to c/comics
 
 

Transcript:

[A computer program.]

int getRandomNumber()
{
   return 4; // chosen by fair dice roll.
             // guaranteed to be random.
}

Hover Text:

RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.

81
10
submitted 10 months ago by mac to c/comics
 
 

cross-posted from: https://programming.dev/post/8653174

source

Welcome to AdLitteram. The challenge is to guess the programming term that is represented in the image.

Click for the answerDeadlock

82
83
submitted 10 months ago* (last edited 10 months ago) by mac to c/comics
 
 

Transcript:

Cueball: Hey, check it out: eπ − π is 19.999099979. That's weird.
Black Hat: Yeah. That's how I got kicked out of the ACM in college.
Cueball: ...what?
Black Hat: During a competition, I told the programmers on our team that e^π − π was a standard test of floating-point handlers -- it would come out to 20 unless they had rounding errors.
Cueball: That's awful.
Black Hat: Yeah, they dug through half their algorithms looking for the bug before they figured it out.

Hover text:

Also, I hear the 4th root of (9^2 + 19^2/22) is pi.

83
107
submitted 10 months ago by mac to c/comics
 
 

source licensed under CC BY-NC 2.5 Deed

84
22
submitted 10 months ago* (last edited 10 months ago) by mac to c/comics
 
 
85
48
submitted 10 months ago* (last edited 10 months ago) by mac to c/comics
 
 

https://xkcd.com/156/

Hover text:

Your IDE's color may vary.

86
9
submitted 10 months ago* (last edited 10 months ago) by mac to c/comics