0379: "Forgetting"

This forum is for the individual discussion thread that goes with each new comic.

Moderators: Moderators General, Prelates, Magistrates

MissingDividends
Posts: 161
Joined: Fri May 25, 2007 8:59 pm UTC
Location: Cambridge, MA
Contact:

0379: "Forgetting"

Postby MissingDividends » Mon Feb 04, 2008 5:01 am UTC

Image

Alt Text: Of course, the assert doesn't work.

Is this black hat guy?

--MD

User avatar
Govalant
Posts: 249
Joined: Mon Sep 17, 2007 2:50 am UTC
Location: Rosario, Argentina
Contact:

Re: "Forgetting" Discussion

Postby Govalant » Mon Feb 04, 2008 5:03 am UTC

Hat guy had hair. But he probably shaved it to blend in.
Now these points of data make a beautiful line.

How's things?
-Entropy is winning.

User avatar
theyellowhobbit
Posts: 43
Joined: Tue Sep 25, 2007 1:13 pm UTC
Location: Cambridge
Contact:

Re: "Forgetting" Discussion

Postby theyellowhobbit » Mon Feb 04, 2008 5:03 am UTC

MissingDividends wrote:Is this black hat guy?

--MD


I don't think so. When his hat was off, he had hair, and the guy in this comic does not.

Methinks Randall needs a hug.
aleflamedyud wrote:I think you just made my "Impossible-But-Awesome-O-Meter" blow up.

User avatar
Sartorius
Posts: 506
Joined: Sun Jul 29, 2007 6:21 am UTC
Location: Oh? Hi! Oh.

Re: "Forgetting" Discussion

Postby Sartorius » Mon Feb 04, 2008 5:04 am UTC

Hmm...I never thought it might be (u)BHM. Interesting suggestion.

This mostly reminds me of "Eternal Sunshine of the Spotless Mind."
"Give a man a fire and he's warm for the day. But set fire to him and he's warm for the rest of his life." -Terry Pratchett

User avatar
Syka
Posts: 17
Joined: Tue Dec 04, 2007 12:55 am UTC
Location: With Oz

Re: "Forgetting" Discussion

Postby Syka » Mon Feb 04, 2008 5:09 am UTC

Sartorius wrote:Hmm...I never thought it might be (u)BHM. Interesting suggestion.

This mostly reminds me of "Eternal Sunshine of the Spotless Mind."


Same, just with computer lingo.

I never want to forget my past, it made me who I am. Plus, there are always the good times that you cherish.

<3 ESotSM

Cheers,
Syka
wing wrote:...because xkcdians are so fucking odd that they're totally desensitized to "Gee, John Q Public thinks I'm dumb." and replaces it with "John Q Public is dumb."


NaNo 07: Stuck in the Middle-Won
NaNo '06: Mother Nature is Red- Won

User avatar
frozendevil
Posts: 18
Joined: Thu Apr 05, 2007 3:52 pm UTC
Location: Asheville, NC
Contact:

Re: "Forgetting" Discussion

Postby frozendevil » Mon Feb 04, 2008 5:11 am UTC

For what it's worth, black hat man is the classhole.

Also, this comic coinciding pretty well with my life at the moment, screw "good times you cherish;" I want an off switch.

Herman
Posts: 559
Joined: Wed May 02, 2007 2:46 am UTC

Re: "Forgetting" Discussion

Postby Herman » Mon Feb 04, 2008 5:12 am UTC

Cool! Tom Brady guest-stars in xkcd.

Oh no he didn't.

User avatar
zingmaster
Posts: 480
Joined: Wed Oct 24, 2007 6:22 pm UTC
Location: Ha!
Contact:

Re: "Forgetting" Discussion

Postby zingmaster » Mon Feb 04, 2008 5:15 am UTC

@ Herman: XD

Kinda reminds me of Wasteland. Man...I love it when xkcd gets this sentimental.
You get 500 xp.
You collect:
1 :lol: HOBO BONUS :lol:
1 :idea: CHAOS BONUS :idea:
1 rusty dagger

Hold on Dreamaway
You're my sweet charade

User avatar
4=5
Posts: 2073
Joined: Sat Apr 28, 2007 3:02 am UTC

Re: "Forgetting" Discussion

Postby 4=5 » Mon Feb 04, 2008 5:16 am UTC

http://www.youtube.com/watch?v=MlL-ssqRBsU something a little birdie told me
Last edited by 4=5 on Mon Feb 04, 2008 5:20 am UTC, edited 2 times in total.

User avatar
Drake Zure
Posts: 163
Joined: Fri May 18, 2007 2:57 am UTC
Location: Everywhere, nowhere, it's all very abstract...

Re: "Forgetting" Discussion

Postby Drake Zure » Mon Feb 04, 2008 5:17 am UTC

Very cute. It took me awhile to get the programming language, though. Once I did, simultaneously amusing and profound.
benjhuey wrote:
IceMod wrote:The fingers did surprise me though.

That's what SHE said.
And then she left. I wonder why...

User avatar
Zak
Posts: 2230
Joined: Sun Dec 16, 2007 7:25 am UTC
Location: In the making.

Re: "Forgetting" Discussion

Postby Zak » Mon Feb 04, 2008 5:18 am UTC

theyellowhobbit wrote:
MissingDividends wrote:Methinks Randall needs a hug.

Yeah.

This reminds me of the song "Hide and seek" by Imogen Heap.
*waggles eyebrows*

Rakshasa
Posts: 16
Joined: Mon Jun 11, 2007 11:12 pm UTC

Re: "Forgetting" Discussion

Postby Rakshasa » Mon Feb 04, 2008 5:25 am UTC

Of course the assert won't work... he forgot the damn parenthesis!

Idiot.

thethirdmoose
Posts: 19
Joined: Tue Nov 13, 2007 5:03 am UTC

Re: "Forgetting" Discussion

Postby thethirdmoose » Mon Feb 04, 2008 5:29 am UTC

And plus, assert checks truth value. Does a string have a truth value? I don't think so, but C++ is weird, so it might...

User avatar
'; DROP DATABASE;--
Posts: 3284
Joined: Thu Nov 22, 2007 9:38 am UTC
Location: Midwest Alberta, where it's STILL snowy
Contact:

First page!

Postby '; DROP DATABASE;-- » Mon Feb 04, 2008 5:33 am UTC

The value of a string in C++ is its address, which is generally nonzero, so yes, a string would be true. But I don't know what would happen if you tried to assert one.

Heh, so many times I've wished I could copy, move, store, and delete my memories the way I do my files... let's just delete those nasty memories of puking my guts out and replay that spicy dream from last night. In fact let's copy that one and start a torrent. :mrgreen:
Last edited by '; DROP DATABASE;-- on Mon Feb 04, 2008 5:34 am UTC, edited 1 time in total.
poxic wrote:You suck. And simultaneously rock. I think you've invented a new state of being.

top1214
Posts: 29
Joined: Wed Oct 17, 2007 6:06 am UTC

Re: "Forgetting" Discussion

Postby top1214 » Mon Feb 04, 2008 5:33 am UTC

thethirdmoose wrote:And plus, assert checks truth value. Does a string have a truth value? I don't think so, but C++ is weird, so it might...


Well, in perl at least a non null string is defined as true...

User avatar
Azraelle
Posts: 26
Joined: Thu Nov 15, 2007 7:04 pm UTC
Location: Apartment 73
Contact:

Re: "Forgetting" Discussion

Postby Azraelle » Mon Feb 04, 2008 5:38 am UTC

Kinda wish I could delete some recent memories like this as well.
Obligatory self-promoting signature starts here.
Bristled - surprise, it's a comic.
Thank you for your understanding. We now return you to your regularly-scheduled end of my post.

Economica
Posts: 82
Joined: Thu Jul 12, 2007 7:56 pm UTC

Re: "Forgetting" Discussion

Postby Economica » Mon Feb 04, 2008 5:48 am UTC

This one definitely reminded me of Wasteland.

And the alt-text was the most depressing thing I've read in days. :(
Travel well, we'll see you on the other side.

User avatar
Keroppi
Posts: 121
Joined: Thu Jul 19, 2007 6:37 am UTC
Location: Chi-town/EP, TX
Contact:

Re: "Forgetting" Discussion

Postby Keroppi » Mon Feb 04, 2008 6:00 am UTC

As someone freshly dumped, I especially relate.

User avatar
lazarus89
Posts: 485
Joined: Tue Oct 16, 2007 2:22 am UTC
Location: God's Armpit, USA

Re: "Forgetting" Discussion

Postby lazarus89 » Mon Feb 04, 2008 6:01 am UTC

For the record, the next time I need to dump my significant other in as brutal a fashion as possible, I'm going to call her an insignificant node in the grand linked list that is my life.

That'll show her.
pedant wrote:You drove your car off a cliff. Moments before your car hit the ground, I plugged you right between the eyes with a sniper rifle. Your car hits the ground and creates a dramatic fireball. How did you die?

Awesomely.

TwilightWonder
Posts: 25
Joined: Mon Mar 26, 2007 6:31 am UTC

Re: "Forgetting" Discussion

Postby TwilightWonder » Mon Feb 04, 2008 6:01 am UTC

This one made me make a face very similar to :(

Heck, I was close to :cry:

I was already in a not-so-great mood upon reading this. I think it's an amazing comic though.

yitzle
Posts: 14
Joined: Fri May 18, 2007 4:20 am UTC

Re: "Forgetting" Discussion

Postby yitzle » Mon Feb 04, 2008 6:02 am UTC

prev->next = toDelete->next

Does that mean this==toDelete?
Shouldn't it be:
prev->next = next ?
Last edited by yitzle on Mon Feb 04, 2008 6:05 am UTC, edited 1 time in total.

yitzle
Posts: 14
Joined: Fri May 18, 2007 4:20 am UTC

Re: "Forgetting" Discussion

Postby yitzle » Mon Feb 04, 2008 6:04 am UTC

top1214 wrote:
thethirdmoose wrote:And plus, assert checks truth value. Does a string have a truth value? I don't think so, but C++ is weird, so it might...


Well, in perl at least a non null string is defined as true...

Perl doesn't do the whole pointer thing, though, unless you try real hard.

User avatar
phlip
Restorer of Worlds
Posts: 7572
Joined: Sat Sep 23, 2006 3:56 am UTC
Location: Australia
Contact:

Re: "Forgetting" Discussion

Postby phlip » Mon Feb 04, 2008 6:11 am UTC

yitzle wrote:prev->next = toDelete->next

Does that mean this==toDelete?
Shouldn't it be:
prev->next = next ?

I think it should probably be:
toDelete->prev->next = toDelete->next;

And, as mentioned, assert(str); will fail iff str == 0 (str here being a pointer to the start of the string). Now, in C++ at least, NULL is defined to be 0, and NULL isn't allowed to point to anything (it's specifically defined as a value distinct from any valid pointer)... so a literal string cannot == 0. In C the story is the same, but (IIRC) NULL is only 0 by convention, not a language rule (though it's enough of a de facto standard that lots of code would break in a compiler that defined NULL to be non-zero).

Code: Select all

enum ಠ_ಠ {°□°╰=1, °Д°╰, ಠ益ಠ╰};
void ┻━┻︵​╰(ಠ_ಠ ⚠) {exit((int)⚠);}
[he/him/his]

evanc
Posts: 1
Joined: Mon Feb 04, 2008 6:09 am UTC

Re: "Forgetting" Discussion

Postby evanc » Mon Feb 04, 2008 6:12 am UTC

The alt-text should probably just be "Assertation failed".

User avatar
Taedirk
Posts: 9
Joined: Wed Jun 06, 2007 10:16 pm UTC

Re: "Forgetting" Discussion

Postby Taedirk » Mon Feb 04, 2008 6:18 am UTC

phlip wrote:
yitzle wrote:prev->next = toDelete->next

Does that mean this==toDelete?
Shouldn't it be:
prev->next = next ?

I think it should probably be:
toDelete->prev->next = toDelete->next;


That does make a lot more sense, but if for some reason you didn't want to use prev anywhere but here, you could get away with it. Just had the same discussion with a friend of mine and we came up with this:

Code: Select all

// Find the first instance of a value of '3' and remove it from the list
toDelete = head;
while (toDelete.value != 3) {
  prev = toDelete;
  toDelete = toDelete->next;
}

prev->next = toDelete->next;
delete toDelete;
 
// if only forgetting were
// this easy for me.

NMcCoy
Posts: 390
Joined: Sun Jul 23, 2006 4:25 pm UTC
Location: Portland, OR

Re: "Forgetting" Discussion

Postby NMcCoy » Mon Feb 04, 2008 6:20 am UTC

Heh, guess it's my turn for the obligatory "get out of my head, xkcd". Having just been through my first breakup and with a coding assignment to do. Involving data structures. :?
Image

User avatar
persephonester
Posts: 39
Joined: Mon Sep 24, 2007 2:27 am UTC
Location: boston
Contact:

Re: "Forgetting" Discussion

Postby persephonester » Mon Feb 04, 2008 6:24 am UTC

:cry:

This comes at the height of my depression (if there can be such a thing).

Randall, you break my heart.

User avatar
longs
Posts: 93
Joined: Sun Nov 18, 2007 12:46 am UTC

Re: "Forgetting" Discussion

Postby longs » Mon Feb 04, 2008 6:27 am UTC

What do you think he's trying to forget? something recent? something distant? Is it useful to speculate how the comic parallels the author's personal life? -Does- it even parallel his life? I suspect that he writes comics and queues them up digitally, and has some program update automatically; so this could be really far behind us.
the participle.

kestasjk
Posts: 3
Joined: Wed Dec 12, 2007 9:54 am UTC

Re: "Forgetting" Discussion

Postby kestasjk » Mon Feb 04, 2008 6:29 am UTC

An assert halts the app if the expression is false, but really it's kind of like self-reassurance, which is what I think he's playing on in this comic. assert(i > 25) is a way of reassuring yourself and future readers that i is above 25. I'm not sure if he is including the part that the application will halt unless the expression is true, but maybe I'm reading too much into this.

Sad comic :( but they add very nicely to the mix :)


longs, he's always going on about the other girl in the comics. I wonder if this is a breakup or something. I'm not sure if the main stick character parallels the writer

bridgeyman
Posts: 16
Joined: Wed Jan 23, 2008 8:53 pm UTC

Re: "Forgetting" Discussion

Postby bridgeyman » Mon Feb 04, 2008 6:31 am UTC

No way! This is a linked list (right?). I just got done talking about those in my CS class. I will have to show this to my professor.

coppro
Posts: 117
Joined: Mon Feb 04, 2008 6:04 am UTC

Re: "Forgetting" Discussion

Postby coppro » Mon Feb 04, 2008 6:32 am UTC

Now, in C++ at least, NULL is defined to be 0, and NULL isn't allowed to point to anything (it's specifically defined as a value distinct from any valid pointer)... so a literal string cannot == 0. In C the story is the same, but (IIRC) NULL is only 0 by convention, not a language rule (though it's enough of a de facto standard that lots of code would break in a compiler that defined NULL to be non-zero).
No, that's not true.

The constant 0 (not the value) in both C and C++ is considered a placeholder that can be assigned to a pointer, giving the null pointer (which isn't always address zero; there are some pretty wonky machines out there). In both C and C++, the macro NULL expands to "an implementation-defined null pointer constant", which is often (but not always) 0.

User avatar
aerojad
Wall O' AWESOME
Posts: 200
Joined: Wed Sep 26, 2007 8:54 am UTC
Location: Detroit, MI
Contact:

Re: "Forgetting" Discussion

Postby aerojad » Mon Feb 04, 2008 6:36 am UTC

MissingDividends wrote:Is this black hat guy?

it'd fit in for sure
Image

scarletmanuka
Posts: 533
Joined: Wed Oct 17, 2007 4:29 am UTC
Location: Perth, Western Australia

Re: "Forgetting" Discussion

Postby scarletmanuka » Mon Feb 04, 2008 6:40 am UTC

phlip wrote:
yitzle wrote:prev->next = toDelete->next

Does that mean this==toDelete?
Shouldn't it be:
prev->next = next ?

I think it should probably be:
toDelete->prev->next = toDelete->next;

If it's a doubly linked list, that would make sense, but you'd also need
toDelete->next->prev = toDelete->prev
preceded by a test that toDelete->next is not NULL.
I think it makes more sense to assume that it's a singly linked list (i.e. forward only) and that prev and toDelete are both pointers to particular nodes. Though prev is probably not a good choice of name.

User avatar
rhalleys5th
Posts: 35
Joined: Wed Apr 18, 2007 5:50 am UTC
Location: Cleveland

Re: "Forgetting" Discussion

Postby rhalleys5th » Mon Feb 04, 2008 6:47 am UTC

Third panel is kind of touching. A stick figure hunched-over, presumably weeping.....ah well, maybe it's just that it's late and I'm tired. But for now it's poignant.

User avatar
lazarus89
Posts: 485
Joined: Tue Oct 16, 2007 2:22 am UTC
Location: God's Armpit, USA

Re: "Forgetting" Discussion

Postby lazarus89 » Mon Feb 04, 2008 6:54 am UTC

You know what really gets to me about this comic? The ability of the Randall's stick figures to float while sitting in chairs.

Clearly, they have all programmed their realities with the antigravity module imported from the SLATFATF1 library.

[1] Bonus L89 points to the first person to get the reference and reflexively crack a joke about a train station.
pedant wrote:You drove your car off a cliff. Moments before your car hit the ground, I plugged you right between the eyes with a sniper rifle. Your car hits the ground and creates a dramatic fireball. How did you die?

Awesomely.

User avatar
Triggerhappy938
Posts: 9
Joined: Wed Jan 30, 2008 2:58 pm UTC

Re: "Forgetting" Discussion

Postby Triggerhappy938 » Mon Feb 04, 2008 6:55 am UTC

Real programmers do forget that easy.
Black Hat Man, Confirmed for Brawl!

Fuck Grapefruit!

psicopoo
Posts: 8
Joined: Mon Feb 04, 2008 7:07 am UTC

Re: "Forgetting" Discussion

Postby psicopoo » Mon Feb 04, 2008 7:10 am UTC

I was both depressed and implementing a linked-list in C when I read this.

NMcCoy
Posts: 390
Joined: Sun Jul 23, 2006 4:25 pm UTC
Location: Portland, OR

Re: "Forgetting" Discussion

Postby NMcCoy » Mon Feb 04, 2008 7:16 am UTC

lazarus89 wrote:You know what really gets to me about this comic? The ability of the Randall's stick figures to float while sitting in chairs.

Clearly, they have all programmed their realities with the antigravity module imported from the SLATFATF1 library.

[1] Bonus L89 points to the first person to get the reference and reflexively crack a joke about a train station.


I didn't miss the reference, but nor did I miss the ground, alas.
Image

User avatar
tradiuz
Posts: 298
Joined: Fri Oct 05, 2007 5:19 am UTC

Re: "Forgetting" Discussion

Postby tradiuz » Mon Feb 04, 2008 7:27 am UTC

My memories, both horrible and wonderful, made me who I am today. To forget the trauma and only remember the fun times would leave me only partialy the person I am. I am stronger for my past.
All My Mushrooms wrote:I'm practicing abstinence until someone offers me sex.

User avatar
phlip
Restorer of Worlds
Posts: 7572
Joined: Sat Sep 23, 2006 3:56 am UTC
Location: Australia
Contact:

Re: "Forgetting" Discussion

Postby phlip » Mon Feb 04, 2008 7:28 am UTC

coppro wrote:No, that's not true.

The constant 0 (not the value) in both C and C++ is considered a placeholder that can be assigned to a pointer, giving the null pointer (which isn't always address zero; there are some pretty wonky machines out there). In both C and C++, the macro NULL expands to "an implementation-defined null pointer constant", which is often (but not always) 0.

Ah, OK, I misremembered. I knew someone would correct me if I was wrong ;)

I knew that in C it was merely "implementation-defined but typically 0", 'cause I've read the C99 standard... C++ I haven't read, but I'd gotten the (evidently wrong) impression that C++ fixes NULL as 0 from this thread.

So... correct me if I'm wrong (again), but in an environment where NULL != 0, you can't use if(ptr) to mean if(ptr != NULL), right? Which'd be annoying, 'cause that's a really common idiom (which is what I was referring to when I said that lots of code would break)...

Code: Select all

enum ಠ_ಠ {°□°╰=1, °Д°╰, ಠ益ಠ╰};
void ┻━┻︵​╰(ಠ_ಠ ⚠) {exit((int)⚠);}
[he/him/his]


Return to “Individual XKCD Comic Threads”

Who is online

Users browsing this forum: No registered users and 103 guests