Comics

349 readers
4 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 9 months ago
MODERATORS
26
 
 
27
 
 
28
 
 
29
 
 

Hover Text:

Can't and shouldn't.

Transcript

[Megan is sitting at a computer.]
Computer: Speech2Text Commander
Computer: Bug #167801
Computer: Speech recognition fails on young child voices.
Megan: Hmm.

[The view enlarges to show a man sitting at another desk.]
Megan: Hey, can you do me without a condom? We need a young child for something.
Cueball: Okay.

[A pregnancy test is displayed. The label indicates not pregnant.]
Pregnant
Not pregnant

[Megan is typing on the computer.]
Megan typing: Bug #167801
Megan typing: Status: Closed
Megan typing: Reason: Could not reproduce.

30
 
 
31
 
 
32
1
submitted 8 months ago* (last edited 8 months ago) by mac@programming.dev to c/comics@programming.dev
 
 

Hover Text:

It's even harder if you're an asshole who pronounces <> brackets.

Transcript

[Above the first two panels there is a caption:]
Signs your coders don't have enough work to do:

[Cueball sitting in an office chair at his workstation, with Ponytail standing behind him.]
Cueball: I'm almost up to my old typing speed in Dvorak

[Cueball is standing next to a server rack pointing at it while looking the other way at a Cueball-like guy. There are three sections filled with servers, two of them together, and space for several more above and below and between those two and the one at the bottom. Behind the rack wires comes down tot he floor from all three servers together and the wires then exits the panel to he right along the floor.]
Cueball: Our servers now support Gopher.
Cueball: Just in case.

[In a frame-less panel Megan is standing near her workstation to the right speaking to Cueball to the left.]
Megan: Our pages are now HTML, XHTML-Strict, and Haiku-compliant.
Cueball: Haiku?
Megan:

<div class="Main">
<span ID="Marquee">
Blog!</span></div>

[Ponytail sitting in an office chair at her workstation.]
Ponytail: Hey!
Ponytail: Have you guys seen this webcomic?

33
1
submitted 8 months ago* (last edited 8 months ago) by mac@programming.dev to c/comics@programming.dev
 
 
34
 
 
35
 
 

Hover Text:

Just make sure you don't have it maximize instead of minimize.

Transcript

[Code displayed, presumably from an IDE.]

def getSolutionCosts(navigationCode):
    fuelStopCost = 15  
    extraComputationCost = 8

[There is a giant arrow pointing to the next line.]

    thisAlgorithmBecomingSkynetCost = 999999999  
    waterCrossingCost = 45

Genetic algorithms tip:
Always include this in your fitness function.

36
1
submitted 8 months ago* (last edited 8 months ago) by mac@programming.dev to c/comics@programming.dev
 
 
37
 
 

Hover Text:

And the ten minutes striking up a conversation with that strange kid in homeroom sometimes matters more than every other part of high school combined.

Transcript

[Above a bar graph:]
11th-grade activities:
[The y-axis is labeled:]
Usefulness to career success
[Above the x-axis are two small bars and one huge bar. Below the x-axis, each bar is labeled:]
900 hours of classes
400 hours of homework
One weekend messing with Perl

38
 
 
39
 
 

Hover Text:

I call Rule 34 on Wolfram's Rule 34.

Transcript

[Cueball is standing in a desert with lots of rocks lying around. He is narrating his own situation. The first panel spans the entire width of the comic. The first line of text is written to the left of him, the second line to the right.]
So I'm stuck in this desert for eternity.
I don't know why. I just woke up here one day.

[The next four panels take up the second line of the comic.]
[Cueball stand in the desert.]
I never feel hungry or thirsty.

[Cueball walks in the desert.]
I just walk.

[Zooming out while Cueball continues to walk in the desert.]
Sand and rocks

[Zooming far out as Cueball again just stands in the desert. First line of text, above him, is a continuation of the text in the previous panel. The second line is below him.]
stretch to infinity.
As best as I can tell.

[The next three panels take up the third line of the comic. The last takes up half the width.]
[Cueball is sitting in the desert, in a contemplative position. First line of text above him, the second below.]
There's plenty of time for thinking out here.
An eternity, really.

[Cueball is sketching stuff in the sand. First line of text above him, the second below.]
I've rederived modern math in the sand
and then some.

[Three different graph types are depicted. First line of text above them, the second below.]
Physics too. I worked out the kinks in quantum mechanics and relativity.
Took a lot of thinking, but this place has fewer distractions than a Swiss patent office.

[The next eight panels take up the fourth and fifth lines of the comic. All pictures are the same size.]
[Cueball is walking along the desert, laying out rocks on a line. Four have been deployed. He is laying down the fifth and has a sixth in his other hand.]
One day I started laying down rows of rocks.

[Cueball, with a rock in his hand, continues to deploy rock 16, in a more intricate pattern. There are grid-lines in the sand (5 rows, 6 columns), with each intersection either empty of filled with a rock. No rocks lay anywhere but at an intersection on the grid.]
Each new row followed from the last in a simple pattern.

[Zooming out showing even more laid out rocks. Cueball is seen directly from above, and we see his shadow falling on the grid of rocks (7 rows, 14 columns).]
With the right set of rules and enough space,

[Continues to zoom further out showing clear triangular patterns (with no rocks) in the laid out grid of rocks. Cueball is not seen. (8 rows, 42 columns). First line of text above the grid, the second line below.]
I was able to build a computer.
Each new row of stones is the next iteration of the computation.

[Zooming far out (no Cueball) with rows intersected by five clear V lines on top of them. The V's are drawn inside each other, with the smallest V at the top right, and the other V's starting just to the right of the previous one, and then continuing the same distance past the previous V, as the total length of the first V. The "" in the first line of text above this grid references to the footnote below written in a smaller font.]
Sure it's rocks instead of electricity, but it's the same
thing. Just slower.
*Turing-complete

[Cueball stands in a contemplative pose (on a clean white background - i.e. no dessert).]
After a while, I programmed it to be a physics simulator.

[A black panel with white drawings and text. A small white dot (a particle) is labeled by two arrows coming of two binary strings.]
Every piece of information about a particle was encoded as a string of bits written in the stones.
00101010 00101010

[A Feynman diagram showing two particles interacting. Two arrows going in and out with a snaking line between them.]
With enough time and space, I could fully simulate two particles interacting.

[The next two panels take up the sixth line of the comic. The second panel takes up three-quarters of the width.]
[Cueball standing before the vastness of the desert, with his programmed lines of rock stretching to infinity.]
But I have infinite time and space.

[A black panel with white drawings and text. Depiction of two large galaxies, one with four jets coming out of its center, the other a flat disc. Several smaller galaxies and/or stars are shown around them.]
So I decided to simulate a universe.

[The next four panels take up the seventh line of the comic. They are of similar widths.]
[Cueball is walking by his grid of rocks, lines indicate he has just thrown another rock down in its place. It falls so hard it sinks into the sand that splashes out around it. The 14 rocks above him lie on the grid, four others below this grid have not been used yet.]
The eons blur past as I walk down a single row.

[Zoom far far out to show multiple rows of rocks. It is not very clear that there are several triangular patterns (with no rocks) in different sizes in the laid out grid of rocks. There are about 50 rows and 90 columns. There are six large triangles on top of each other at the left edge. To the right, there are three even larger triangles from top to bottom, the one in the middle further to the left than the one above, but further right than the bottom one.]
The rows blur past to compute a single step.

[Shows the placement of two particles in the simulation.]
And in the simulation...

[The two particles have moved just long enough as to not overlap with their previous positions, shown as an after-image with faint gray lines. The text continues directly the one from the previous panel.]
another instant ticks by.

[The next two panels take up the eighth line of the comic. They each take up half the width.]
[A Cueball-like person (you) observes a mote of dust vanish.]
So if you see a mote of dust vanish from your vision in a little flash or something

[Cueball is standing between two rocks on the ground, while holding two rocks, one lifted up to his head. The first line of text is above him. It is a direct continuation of the text in the previous panel. The second line stands below to the right of him.]
I'm sorry. I must have misplaced a rock
sometime in the last few billions and billions of millennia.

[Cueball stands in the "clean" part of his infinite desert, in front of the vastness of his infinity of infinite lines or rocks.]
Oh, and...

[A Cueball-like student sits in a classroom with his head in his hands, Megan sits behind him, and a teacher points to the blackboard. A clock shows the time at five minutes to ten.]
If you think the minutes in your morning lecture are taking a long time to pass for you...

40
 
 
41
 
 

Hover Text:

True story: I had to try several times to upload this comic because my ssh key was blacklisted.

Transcript

[Cueball sitting at computer.]
Cueball: I'll just comment out these lines...

// MD_update(&m, buf, j);

// do_not_crash();

// prevent_911();

In the rush to clean up the debian-openssl fiasco, a number of other major security holes have been uncovered:

[A two-column table is shown:]

Affected System

Security problem

Fedora Core

Vulnerable to certain decoder rings

Xandros (EEE PC)

Gives root access if asked in a stern voice

Gentoo

Vulnerable to flattery

OLPC OS

Vulnerable to Jeff Goldblum’s PowerBook

Slackware

Gives root access if user says Elvish word for “friend”

Ubuntu

Turns out distro is actually just Windows Vista with a few custom themes

42
 
 
43
 
 

Hover Text:

What's the complexity class of the best linear programming cutting-plane techniques? I couldn't find it anywhere. Man, the Garfield guy doesn't have these problems...

Transcript

[in a yellow box:]
[There is a linked black web, with a path in red; it appears to be a map of the United States.]
Brute-force solution:O(n!)
[The web continues in this one. A man with a brown hat and a case is drawing it.]
Dynamic programming algorithms: O(n^22^n)
[Another man, with a brown hat too, is at a computer, looking back over the chair.]
Selling on eBay: O(1)
eBay salesman: Still working on your route?
Drawing salesman: Shut the hell up.

44
 
 
45
 
 

Hover Text:

Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.

Transcript

[A Cueball-like man sits at a computer, programming. Cueball stands behind him and looks over his shoulder.]
Cueball: nano? Real Programmers use emacs.

[Megan appears behind him.]
Megan: Hey. Real Programmers use vim.

[A second Cueball-like man appears behind her.]
Ed Cueball: Well, Real Programmers use ed.

[A third Cueball-like man appears behind him.]
Cat Cueball: No, Real Programmers use cat.

[Hairbun appears behind him.]
Hairbun: Real Programmers use a magnetized needle and a steady hand.

[A fourth Cueball-like man enters, facing them all. We see him facing the last two Cueball-like men and Hairbun.]
Butterfly Cueball: Excuse me, but Real Programmers use butterflies.

[A Cueball-like programmer is standing much like Butterfly Cueball except for holding out a butterfly in front of his computer. The butterfly flaps its wings.]
Butterfly Cueball (narration within the panel, not diegetic to the scene): They open their hands and let the delicate wings flap once.

[The next two panels are smaller, and two sets of narrative text are written to span respectively above and below both panels. The first panel is the Cueball-like programmer with the butterfly and above him four curved arrows pointing up or down. The second panel shows the upper atmosphere, with large clouds far below and the earth even further down. Also here are shown seven of the same type of arrows.]
Butterfly Cueball (narration above the panels): The disturbances ripple outward, changing the flow of the eddy currents in the upper atmosphere.
Butterfly Cueball (narration below the panels): These cause momentary pockets of higher-pressure air to form,

[The next two panels are also partial height, leaving room for narration spanning above both panels. The first panel shows the atmosphere, again with clouds, and four parallel lines coming from above, and then they begin to merge, getting quite close at the bottom of the panel. The second panel shows the four lines merging on a driver platter.]
Butterfly Cueball (narration above the panels): Which act as lenses that deflect incoming cosmic rays, focusing them to strike the drive platter and flip the desired bit.

[All the programmers who have commented so far stand in the order they have commented facing the last Cueball-like man, who slaps his forehead.]
Cueball: Nice. 'Course, there's an emacs command to do that.
Cat Cueball: Oh yeah! Good ol' C-x M-c M-butterfly...
Butterfly Cueball: Dammit, Emacs.

46
1
submitted 8 months ago* (last edited 8 months ago) by mac@programming.dev to c/comics@programming.dev
 
 
47
 
 

Hover Text:

Wait, forgot to escape a space. Wheeeeee[taptaptap]eeeeee!

Transcript

[in a yellow box:]
Whenever I learn a new skill I concoct elaborate fantasy scenarios where it lets me save the day.

Megan: Oh no! The killer must have followed her on vacation!
[Megan points to computer.]
Megan: But to find them we'd have to search through 200 MB of emails looking for something formatted like an address!
Cueball: It's hopeless!

Off-panel voice: Everybody stand back.

Off-panel voice: I know regular expressions.

[A man swings in on a rope, toward the computer.]

tap tap
The word PERL! appears in a bubble.

[The man swings away, and the other characters cheer.]

48
 
 
49
 
 

Hover Text:

I wrote 20 short programs in Python yesterday. It was wonderful. Perl, I'm leaving you.

Transcript

[A Cueball-like friend is talking to Cueball, who is floating in the sky.]
Friend: You're flying! How?
Cueball: Python!
Cueball: I learned it last night! Everything is so simple!
Cueball: Hello world is just print "Hello, World!"
Friend: I dunno... Dynamic typing? Whitespace?
Cueball: Come join us! Programming is fun again! It's a whole new world up here!
Friend: But how are you flying?
Cueball: I just typed 'import antigravity'
Friend: That's it?
Cueball: ...I also sampled everything in the medicine cabinet for comparison.
Cueball: But I think this is the python.

50
1
submitted 8 months ago* (last edited 8 months ago) by mac@programming.dev to c/comics@programming.dev
 
 
view more: ‹ prev next ›