0224: "LISP"

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

Moderators: Moderators General, Prelates, Magistrates

User avatar
Toeofdoom
The (Male) Skeleton Guitarist
Posts: 3446
Joined: Wed Jan 10, 2007 10:06 am UTC
Location: Melbourne, Australia
Contact:

0224: "LISP"

Postby Toeofdoom » Fri Feb 16, 2007 5:04 am UTC

Image


Hacked together with perl :lol: :lol: :lol:
Hawknc wrote:Gotta love our political choices here - you can pick the unionised socially conservative party, or the free-market even more socially conservative party. Oh who to vote for…I don't know, I think I'll just flip a coin and hope it explodes and kills me.

Website

User avatar
SNAFU
Posts: 25
Joined: Wed Jan 17, 2007 7:56 am UTC

Postby SNAFU » Fri Feb 16, 2007 5:11 am UTC

I wish I could get my hands on the universe's source code.

First, I would make intelligence proportionate to beauty.
Second, I would make kinetic energy = 1/2 * m *v^3 just to see what would happen.
$ ar x God
ar: God does not exist

User avatar
screech
Posts: 200
Joined: Wed Feb 07, 2007 5:20 am UTC

Postby screech » Fri Feb 16, 2007 5:18 am UTC

Yay for a 2001: A Space Odyssey reference!

We need more obscure references in the world...
alitheiapsis wrote:HEY NOW DON'T TALK SHIT ABOUT BRONTOSAURUSES

ShoeLace
Posts: 2
Joined: Mon Jan 29, 2007 6:30 am UTC

Postby ShoeLace » Fri Feb 16, 2007 5:26 am UTC

screech wrote:We need more obscure references in the world...


I would not have said 2001 was exactly obscure tho..

User avatar
Pathway
Leon Sumbitches...?
Posts: 647
Joined: Sun Oct 15, 2006 5:59 pm UTC

Postby Pathway » Fri Feb 16, 2007 5:27 am UTC

SNAFU wrote:I wish I could get my hands on the universe's source code.

First, I would make intelligence proportionate to beauty.
Second, I would make kinetic energy = 1/2 * m *v^3 just to see what would happen.


Can't do that. The kinetic energy formula is based on a) mathematics and b) the rest of physics. 1/2*m*v^3 would make physics an inconsistent system, and you'd probably get all sorts of weird things like the nonconservation of energy and violation of the equivalence principle and NO JUST NO. ONE HALF M VEE SQUARED IN NEWTONIAN MECHANICS NOW AND FOREVER. SIG HEIL! But seriously, no.

Yeah, and 2001's kind of nonobscure.

User avatar
dfoxfranke
Posts: 19
Joined: Wed Nov 01, 2006 6:37 am UTC
Contact:

Postby dfoxfranke » Fri Feb 16, 2007 5:37 am UTC

Nice one, xkcd. You just made this Lisp hacker nearly fall out of his chair.

User avatar
Lani
Has Boobs (Probably)
Posts: 3148
Joined: Sat Nov 11, 2006 1:07 am UTC
Location: The People's Republic of Austin
Contact:

Postby Lani » Fri Feb 16, 2007 5:37 am UTC

For a good part of this comic, I thought he was referring to the speech impediment.
- Lani

"They think they're so high and mighty, just because they never got caught driving without pants."

Ronfar
Posts: 132
Joined: Mon Dec 04, 2006 6:04 am UTC

Postby Ronfar » Fri Feb 16, 2007 5:41 am UTC

For the record, Perl was my first real programming language (BASIC doesn't count) and I still think it's awesome.
- Doug

User avatar
dr7
Posts: 59
Joined: Mon Feb 12, 2007 3:17 am UTC
Location: Right here. You can't see me?
Contact:

Postby dr7 » Fri Feb 16, 2007 5:59 am UTC

The universe is hacked together with perl? Well, that explains why the universe just ain't quite right...

;) Oh, perl, how I love to make fun of you.
dr7: king of the wicker people

led_roflcopter
Posts: 4
Joined: Thu Feb 01, 2007 1:10 am UTC

Postby led_roflcopter » Fri Feb 16, 2007 6:03 am UTC

SNAFU wrote:I wish I could get my hands on the universe's source code.

First, I would make intelligence proportionate to beauty.
Second, I would make kinetic energy = 1/2 * m *v^3 just to see what would happen.


It's kind of hard to cube a vector and get a positive scalar. Unless you're OK with negative kinetic energy. Or energy being a vector.

User avatar
dr7
Posts: 59
Joined: Mon Feb 12, 2007 3:17 am UTC
Location: Right here. You can't see me?
Contact:

Postby dr7 » Fri Feb 16, 2007 6:05 am UTC

But if we change it to cubed the universe might crash or something, which would be kinda cool. Or not, depending on your point of view. ;)
dr7: king of the wicker people

User avatar
SNAFU
Posts: 25
Joined: Wed Jan 17, 2007 7:56 am UTC

Postby SNAFU » Fri Feb 16, 2007 6:17 am UTC

led_roflcopter wrote:It's kind of hard to cube a vector and get a positive scalar. Unless you're OK with negative kinetic energy. Or energy being a vector.


That's exactly the point.

I want weird, impossible stuff to happen. It would be fun to watch, as long as you save a backup file.

I could've said that I would change the static coefficient of friction for rubber on concrete, but that's boring.
$ ar x God

ar: God does not exist

demeteloaf
Posts: 27
Joined: Wed Sep 27, 2006 4:25 am UTC

Postby demeteloaf » Fri Feb 16, 2007 6:21 am UTC

SNAFU wrote:I wish I could get my hands on the universe's source code.

First, I would make intelligence proportionate to beauty.
Second, I would make kinetic energy = 1/2 * m *v^3 just to see what would happen.


In one of my physics classes the professor set up an excel spreadsheet, that had a graph of a planetary orbit that was made using a bunch of points calculated from the equation for force and stuff.

One of the cool features was that you could change the inverse square attraction of gravity into any exponent you wanted and see how the orbit changed.

It was actually pretty cool seeing how an orbit would behave if the gravitational attraction were actually GMm/sqrt(r) or something like that.

User avatar
warriorness
Huge Fucking-Lazer
Posts: 1610
Joined: Thu Dec 28, 2006 10:33 am UTC
Location: CMU, Pittsburgh, PA, USA
Contact:

Postby warriorness » Fri Feb 16, 2007 6:21 am UTC

So uh... how does one relate regexes to quantum mechanics?

I think God must've messed up escaping a character somewhere, because of all that wave/particle duality mess. If the universe were open-source, I would make light either one or the other, but not both.

User avatar
SNAFU
Posts: 25
Joined: Wed Jan 17, 2007 7:56 am UTC

Postby SNAFU » Fri Feb 16, 2007 6:24 am UTC

warriorness wrote:So uh... how does one relate regexes to quantum mechanics?

I think God must've messed up escaping a character somewhere, because of all that wave/particle duality mess. If the universe were open-source, I would make light either one or the other, but not both.


Opensource universe would open the door for arguments about which universe distro is the best... I love it!
$ ar x God

ar: God does not exist

User avatar
svk1325
Posts: 139
Joined: Mon Jul 17, 2006 9:10 am UTC
Location: Take a guess...
Contact:

Postby svk1325 » Fri Feb 16, 2007 6:30 am UTC

Am I the only person to notice the lack of any alt-text?
"Insanity in a measured dose is a good thing - the difficulty lies in the measurement."

tylerni7
Posts: 70
Joined: Tue Oct 03, 2006 10:51 pm UTC
Location: Wouldn't you like to know you crazy stalker
Contact:

Postby tylerni7 » Fri Feb 16, 2007 6:50 am UTC

The best part about perl is the ridiculous amount of modules.

http://cpan.org/modules/by-module/Quantum/

See? They already have modules for quantum mechanics.

User avatar
beinsane
Posts: 42
Joined: Wed Sep 27, 2006 4:41 am UTC

Postby beinsane » Fri Feb 16, 2007 6:51 am UTC

warriorness wrote:So uh... how does one relate regexes to quantum mechanics?

I think God must've messed up escaping a character somewhere, because of all that wave/particle duality mess. If the universe were open-source, I would make light either one or the other, but not both.


Some Perl for you:

Code: Select all

$a = 1;
$b = $a x 3;  # yes, the letter x!
$c = $b / 3;


Here, $b is the string $a repeated three times, in other words 111. $c is the number $b divided by 3, hence 37.

So, you see, Perl is well-suited for describing particle-wave duality, seeing as it can't decide whether its scalar variables are numbers or strings.
Hello, this is bein, and I pronounce "bein" as "bein".

kertrats
Posts: 36
Joined: Fri Nov 17, 2006 5:46 am UTC

Postby kertrats » Fri Feb 16, 2007 6:54 am UTC

My god...it's full of 'car's

rs180216
Posts: 25
Joined: Mon Nov 06, 2006 6:02 am UTC
Contact:

Postby rs180216 » Fri Feb 16, 2007 7:35 am UTC

SNAFU wrote:I wish I could get my hands on the universe's source code.

First, I would make intelligence proportionate to beauty.
Second, I would make kinetic energy = 1/2 * m *v^3 just to see what would happen.


This could go another way though
Could that make all beautiful people geniuses and all ugly people stupid as well?

edit
also, it would be fun to watch those sexy geniuses move in rediculous ways with Kinetic Energy all haywire and whatnot.

User avatar
Toeofdoom
The (Male) Skeleton Guitarist
Posts: 3446
Joined: Wed Jan 10, 2007 10:06 am UTC
Location: Melbourne, Australia
Contact:

Postby Toeofdoom » Fri Feb 16, 2007 8:07 am UTC

svk1325 wrote:Am I the only person to notice the lack of any alt-text?


There was alt text... once you click on the picture and go to the actual site...


Anyway, with our OSU project (Open source universe) I wanna know what would happen if we say... changed nuclear binding energy by oh, 1% or so. or shifted the most stable element from iron to... uhmm... mercury. y'know, dont just switch a few words in the book, change the underlying plot or some shit.
Hawknc wrote:Gotta love our political choices here - you can pick the unionised socially conservative party, or the free-market even more socially conservative party. Oh who to vote for…I don't know, I think I'll just flip a coin and hope it explodes and kills me.

Website

User avatar
Drooling_Sheep
Posts: 3
Joined: Fri Feb 16, 2007 8:04 am UTC

Postby Drooling_Sheep » Fri Feb 16, 2007 8:12 am UTC

I think messing with the constants would me more fun. For example if you had a slider that could adjust the speed of light. Then you could lower it down to a more attainable speed like 5m/s and see what traveling at close to light speed is like. Though you'd run into problems like the surface of the earth moving at faster than light speed relative to the rest of the galaxy. Or mess with planck's constant to make the dual nature of matter and other quantum mechanical phenomena apparent on macroscopic scales.

User avatar
Toeofdoom
The (Male) Skeleton Guitarist
Posts: 3446
Joined: Wed Jan 10, 2007 10:06 am UTC
Location: Melbourne, Australia
Contact:

Postby Toeofdoom » Fri Feb 16, 2007 8:16 am UTC

Cool value to enter

c=87.9mph (faster than speed of light = time travel, eh?)


Add your own to the list
Hawknc wrote:Gotta love our political choices here - you can pick the unionised socially conservative party, or the free-market even more socially conservative party. Oh who to vote for…I don't know, I think I'll just flip a coin and hope it explodes and kills me.

Website

joeframbach
Posts: 1478
Joined: Sun Nov 05, 2006 12:49 am UTC

Postby joeframbach » Fri Feb 16, 2007 8:22 am UTC

dr7 wrote:But if we change it to cubed the universe might crash or something, which would be kinda cool. Or not, depending on your point of view. ;)


It's been done. http://www.timecube.com/

User avatar
dr7
Posts: 59
Joined: Mon Feb 12, 2007 3:17 am UTC
Location: Right here. You can't see me?
Contact:

Postby dr7 » Fri Feb 16, 2007 9:56 am UTC

joeframbach wrote:It's been done. http://www.timecube.com/


*blink* *blink* What... what was that?

Ignorance of the Time Cube, Life Cube &
Ineffable Truth Cube, indicts you Stupid.
Ignoring Cubic Creation indicts you evil.


Riiiiiight.
dr7: king of the wicker people

User avatar
rockintom99
Posts: 215
Joined: Sun Jul 23, 2006 4:28 am UTC
Location: Washingtonland!
Contact:

Postby rockintom99 » Fri Feb 16, 2007 10:23 am UTC

It's too bad they didn't let him on the Tom Green show.
THIS IS A SIGNATURE.

User avatar
Daem0hn
Posts: 324
Joined: Wed Feb 14, 2007 2:28 pm UTC
Location: Perth, Western Australia (IATA: PER)
Contact:

Postby Daem0hn » Fri Feb 16, 2007 11:25 am UTC

joeframbach wrote:It's been done. http://www.timecube.com/


what the fsck? you stumbled upon this how?
01 01 was a race horse, 10 10 was 01 10, 01 01 01 01 race, 10 10 01 01 10

-- Mike (19/Male)

Arkohn
Posts: 83
Joined: Sat Jan 06, 2007 7:57 pm UTC

Postby Arkohn » Fri Feb 16, 2007 12:14 pm UTC

It's a pretty famous internet joke. He did a radio intervie on Radio KoL a while ago, he's the most confused yet hilarious person in the world.

Noam Samuel
Posts: 9
Joined: Tue Nov 21, 2006 1:50 am UTC

Postby Noam Samuel » Fri Feb 16, 2007 12:19 pm UTC

I must say that this comment does explain quite a bit about the nature of the universe. I mean, doesn't everything fit in a bit more if you consider the possibility of the world being a perl script gone wild?

Darksun
Posts: 7
Joined: Fri Feb 16, 2007 12:31 pm UTC

Postby Darksun » Fri Feb 16, 2007 12:35 pm UTC

When I was learning Lisp/Scheme, I had a dream where everything in the world was defined in Scheme... it was wierd, really hard to explain, but one bit I remember was going into a pub, the doormen were brackets. Infact, there were quite a lot of brackets...

nazgul
Posts: 1
Joined: Fri Feb 16, 2007 12:50 pm UTC
Contact:

I assume this song is known to you, if not all readers

Postby nazgul » Fri Feb 16, 2007 1:02 pm UTC

[i]This parody was sung by Julie Ecklar (http://www.songworm.com/db/person/JuliaEcklar.html) on Roundworm(http://www.songworm.com/about/roundworm.html)

Parody of “God Lives on Terraâ€

Fieari
Posts: 101
Joined: Mon Jan 29, 2007 2:16 am UTC
Location: Okayama, Japan

Postby Fieari » Fri Feb 16, 2007 3:21 pm UTC

I've had this exact dream, in similar circumstances. No kidding. Well, minus the perl.
Surely it is as ridiculous to consider sqrt(-1) "imaginary" because you can't use it to count pieces of chalk as to consider the number 200 imaginary because by itself it cannot express the location of one point with reference to another. -Isaac Asimov

bippy
Posts: 189
Joined: Sun Jan 28, 2007 5:49 am UTC

Postby bippy » Fri Feb 16, 2007 3:22 pm UTC

Toeofdoom wrote:Cool value to enter

c=87.9mph (faster than speed of light = time travel, eh?)


Add your own to the list


I'm trying to make a joke about conserving energy and 1.21 gigawatts, but all I can think of is how he says "gigawatt" so that it sounds like something from a Jay-Z song lyric.

MostlyHarmless
Posts: 154
Joined: Sun Oct 22, 2006 4:29 am UTC

Postby MostlyHarmless » Fri Feb 16, 2007 6:06 pm UTC

Can we change pi to 3 while we're at it? Or I suppose you could change it to 1 and make fourier transforms prettier, but circles would look really weird.

Ursus
Posts: 9
Joined: Mon Sep 04, 2006 11:30 pm UTC

Fizzy lifters.

Postby Ursus » Fri Feb 16, 2007 6:08 pm UTC

bippy wrote: . . . he says "gigawatt" so that it sounds like something from a Jay-Z song lyric.


That's spelled "jigowatts." Jigga what? He also says "one point twenty-one," which anyone who can count should know isn't exactly optimal.

Optimal prime?

Tuathal
Posts: 7
Joined: Thu Nov 02, 2006 8:57 pm UTC

Re: I assume this song is known to you, if not all readers

Postby Tuathal » Fri Feb 16, 2007 7:29 pm UTC

Wow... I don't see her name tossed around very often unless I'm on a filk site... I can't count the number of times I've gone to sleep at night with Walkabout playing...
nazgul wrote:[i]This parody was sung by Julie Ecklar (http://www.songworm.com/db/person/JuliaEcklar.html) on Roundworm(http://www.songworm.com/about/roundworm.html)

User avatar
space_raptor
Posts: 1497
Joined: Fri Nov 17, 2006 5:02 pm UTC
Location: Calgary
Contact:

Neato

Postby space_raptor » Fri Feb 16, 2007 7:32 pm UTC

Well, the cool drawing makes up for the obscure (to some of us) subject.

I have no experience with LISP. Anyone care to briefly summarize why it's so good?

Also, I think it would be really cool if the speed of light was a lot slower, but still the same relative to everything else. You could turn on a light and watch the light crawl across the room. Tres cool.

User avatar
khmer
Posts: 3
Joined: Fri Feb 16, 2007 8:10 pm UTC

Re: Neato

Postby khmer » Fri Feb 16, 2007 8:14 pm UTC

space_raptor wrote:Well, the cool drawing makes up for the obscure (to some of us) subject.

I have no experience with LISP. Anyone care to briefly summarize why it's so good?

Also, I think it would be really cool if the speed of light was a lot slower, but still the same relative to everything else. You could turn on a light and watch the light crawl across the room. Tres cool.


How would you see the light before it arrived at your eyes?

User avatar
william
Not a Raptor. Honest.
Posts: 2418
Joined: Sat Oct 14, 2006 5:02 pm UTC
Location: Chapel Hill, NC
Contact:

Postby william » Fri Feb 16, 2007 8:38 pm UTC

Oh god, I love Time Cube. You are all stupid and evil.
SecondTalon wrote:A pile of shit can call itself a delicious pie, but that doesn't make it true.

Quake
Posts: 36
Joined: Wed Feb 07, 2007 2:39 pm UTC
Location: East of Crackpot

Postby Quake » Fri Feb 16, 2007 9:41 pm UTC

Personally I don't worry too much about this present mess ;

next bugfix could very well hide behind the corner.. :D
-------------
This is teh best one so far;
-----------------------
I really feel monogametous today.
It's soon spring equinox, and there are things to do and places to go. Soo..


Return to “Individual XKCD Comic Threads”

Who is online

Users browsing this forum: Baidu [Spider] and 101 guests