code logs -> 2008 -> Sat, 29 Mar 2008< code.20080328.log - code.20080330.log >
--- Log opened Sat Mar 29 00:00:46 2008
00:21 * Vornicus returns
00:22 * Vornicus took longer than he thought
00:32
<@Vornicus>
Anyway, Shou
00:32
<@Vornicus>
Time for The Learning.
00:33
< Shoukanjuu>
orly? XD;
00:33
<@Vornicus>
yarly.
00:38
<@Vornicus>
Okay, meet a string: "The rain in spain falls mainly in the plain."
00:38
< Shoukanjuu>
Okay.
00:39
<@Vornicus>
go into the interactive prompt for this; in fact, assign that to, idunno, rain
00:40
< Shoukanjuu>
Okay
00:40
<@Vornicus>
okay, let's say, we want to get each individual word, so they're all in a list.
00:41
< Shoukanjuu>
What, then? O:
00:41
<@Vornicus>
rain.split()
00:41
< Shoukanjuu>
Ooh.
00:44
<@Vornicus>
Now, let's put them together again, except using ", " as the separator.
00:44
<@Vornicus>
split_rain = rain.split() # first do this
00:45
<@Vornicus>
(why? because we want that, and we really don't want to make our command too excessive)
00:46
< Shoukanjuu>
Okay...
00:46
<@Vornicus>
now, ", ".join(split_rain)
00:47
< Shoukanjuu>
Alright...
00:48
<@Vornicus>
Which looks kinda weird, but that's how you do it.
00:48
<@Vornicus>
Anywaaaay.
00:49
<@Vornicus>
try this: rain[4]
00:52
<@Vornicus>
What do you get?
00:54
< JPL>
(Hey, do you call a pointer in Python anything special?)
00:54
<@Vornicus>
'pointer'?
00:54
<@Vornicus>
No pointers in Python.
00:54
< JPL>
(Does Python have pointers? I know Java does but it calls them something different.)
00:54
< Shoukanjuu>
'r'
00:55
<@Vornicus>
Shou: can you see what it did there?
00:55
< Shoukanjuu>
Yes.
00:55
< Shoukanjuu>
it should fetch 'a' if I put in 5
00:55
<@Vornicus>
Yep.
00:55
< Shoukanjuu>
woot
00:55
<@Vornicus>
Okay, try this now: rain[4:8]
00:56
< Shoukanjuu>
from the string 'rain' put 4 through 8
00:57
< Shoukanjuu>
It printed 'rain' btw
00:58
<@Vornicus>
All right. Now, notice - it's got rain[4] through rain[7] in there.
01:01
< Shoukanjuu>
Yes...
01:02
<@Vornicus>
So, the thing is, it gave you the start, and everything between the start and the end, but not the end.
01:03
< Shoukanjuu>
I see.
01:04
<@Vornicus>
Actually, having shown you that, let's try that on a list: split_rain[1:4]
01:04
< Shoukanjuu>
I see!
01:05
<@Vornicus>
We can also index from the other end of the list/string/whatever: rain[-6:-1]
01:08
< Shoukanjuu>
woo :D
01:08
<@Vornicus>
We can even mix them: rain[10:-10]
01:09
<@Vornicus>
And the other way too, if we're that crazy: rain[-30:30]
01:10
< Shoukanjuu>
rain [-30:30]
01:10
< Shoukanjuu>
Oops XD
01:10
< Shoukanjuu>
And we'll take that space out, too...
01:14
<@Vornicus>
So, now you see that.
01:14
<@Vornicus>
Actually, a few more things
01:14
<@Vornicus>
rain[:3]
01:15
<@Vornicus>
and rain[4:]
01:15
<@Vornicus>
and rain[:]
01:15
<@Vornicus>
If you leave one out, it goes as far as it can.
01:15
< Shoukanjuu>
I see O:
01:17
<@Vornicus>
This all of course works on lists, strings, and tuples.
01:17
<@Vornicus>
okay, let's seeeeeeeee...
01:18
< Shoukanjuu>
Explain to meagain aboit tuples, please?
01:19
<@Vornicus>
Tuples.
01:19
<@Vornicus>
Just like lists.
01:19
<@Vornicus>
Except you can't modify them.
01:20
<@Vornicus>
They look like (1, 2, 3, 4) or (1,) or tuple(), depending on the length.
01:21
< Shoukanjuu>
Okay. Just makign sure.
01:22
<@Vornicus>
All right: rain.find('ain')
01:25
<@Vornicus>
Try and figure out what that does.
01:27
< Shoukanjuu>
I don't know. Would it find everything in the string with 'ain' in it and give me a listing? XD
01:27
<@Vornicus>
Try it, and then figure out what it does.
01:28
< Shoukanjuu>
'ain' starts at 5.
01:28
< Shoukanjuu>
>.
01:28
<@Vornicus>
All right then.
01:28
< Shoukanjuu>
It printed 5, so it gives me where the 'ain' started at?
01:28
<@Vornicus>
Unfortunately there's not a findall without bringing in re.
01:28
<@Vornicus>
Yep.
01:31 * Vornicus examines, tries to decide what to do next.
01:32
<@Vornicus>
http://docs.python.org/lib/string-methods.html <--- here is a list of string methods.
01:32
<@Vornicus>
There's lots of them, obviously
01:41
<@Vornicus>
Most of them you won't need, but just, know they're there.
01:42
< Shoukanjuu>
Okay :)
01:42
<@Vornicus>
okay, let's see.
01:42
<@Vornicus>
Ah, raw strings.
01:43
<@Vornicus>
You saw, earlier, how you could put a newline into a string by saying \n?
01:45
<@Vornicus>
Well, what if you wanted a string that, when printed, said literally \n?
01:45
< Shoukanjuu>
Uh...
01:45
< Shoukanjuu>
I'm not sure :)
01:45
<@Vornicus>
also, damn, dude, you should be writing a cheat sheet. :P
01:45
< Shoukanjuu>
I've got stuff set up so I shouldnt' have to
01:46
<@Vornicus>
Part of the point is to take it from pedagogic discussion into something you can refer to quickly.
01:47
< Shoukanjuu>
Auto logging and setting all the stuff I've learned aside to sift throuh after we're done :)
01:47
<@Vornicus>
Heh
01:48
< Shoukanjuu>
All I need is for my permissions to stay unborked
01:48
< Shoukanjuu>
>_>
01:48
<@Vornicus>
pff
01:48
< Shoukanjuu>
And they an be easily gotten from here :D
01:49
<@Vornicus>
Look up "poison your mind" in your logs.
01:51
<@Vornicus>
(this should be near where we covered documentation)
01:54
< Shoukanjuu>
"""
01:55
<@Vornicus>
Not that one
01:55
<@Vornicus>
\n
01:55
<@Vornicus>
Just before that.
01:55
< Shoukanjuu>
Yes, you wanted to just print \n, instead of that
01:55
< Shoukanjuu>
instead of making a new line
01:55
<@Vornicus>
Right
01:55
<@Vornicus>
Thing is, even in triple-quotes, \n gives a new line.
01:56
< Shoukanjuu>
Didn't notice. Hmm.
01:56
<@Vornicus>
So, there's two ways to do this.
01:56
<@Vornicus>
You can say \\n
01:56
<@Vornicus>
Or, you can make a raw string.
01:57
< Shoukanjuu>
Right...
01:57
<@Vornicus>
Like this: r"\n is a newline."
02:00
< Shoukanjuu>
Ypu didn't say that, I don't think. :/
02:02
<@Vornicus>
No, I didn't say that
02:02
<@Vornicus>
I didn't talk about it at all
02:02
<@Vornicus>
but compare "'\n' is a newline." to r"'\n' is a newline."
02:02
<@Vornicus>
(print them both)
02:03
< Shoukanjuu>
I see
02:04
<@Vornicus>
Nall the backslashes and so forth in a raw string are taken literally
02:04
< Shoukanjuu>
Ahh.
02:07
<@Vornicus>
The only thing you actually "escape" is the quote mark that matches the quote mark you used to open the string, but even that leaves the backslash in: "hey look it's a \" double quote" vs r"hey look it's a \" double quote"
02:11
< Shoukanjuu>
I see.
02:11
<@Vornicus>
You'll need to use this more when you deal with regular expressionx.
02:12
< Shoukanjuu>
Alright...
02:12 * C_tiger <<3 regular expressions.
02:12
< Shoukanjuu>
Hehe
02:13
<@Vornicus>
Note that a raw string is still a plain old string; it's just processed differently when it's read.
02:13
< Shoukanjuu>
Ah
02:21
<@Vornicus>
Okay, now I need to do some explaining.
02:22
< Shoukanjuu>
Okay.
02:22
<@Vornicus>
Every character you can get on a computer screen has a numeric code associated with it.
02:22
<@ToxicFrog>
...""" still expands \escapes?
02:22
< Shoukanjuu>
Okaty.
02:23
<@Vornicus>
TF: yes.
02:23
<@Vornicus>
A, for instance, is 65.
02:23
<@Vornicus>
you cansee these, with ord("A"), for instance; you can do the reverse, turning a number into a string, using chr(65)
02:27
< Shoukanjuu>
I know a little about this
02:28
< Shoukanjuu>
Not only that, but my Calculator has this built in, so it's all good :3
02:31
<@Vornicus>
Now, you can place a thing you have the number for but don't know how to type in, using a special escape sequence: \xhh, where hh is repalced with the one-byte hexadecimal representation of that character's code.
02:32
< Shoukanjuu>
so for A, you'd want uh... 41
02:32
< Shoukanjuu>
\x41 ? >_>
02:32
<@Vornicus>
Yep.
02:32
<@Vornicus>
Also, holy jeez, I didn't have to explain hexadecimal to you.
02:33
< Shoukanjuu>
Tch
02:33
<@Vornicus>
:P
02:35
<@Vornicus>
Okay.
02:35
< Shoukanjuu>
I used to edit roms all the time
02:35
< Shoukanjuu>
I think I got hex down pat :P
02:36
<@Vornicus>
...okay I'd better throw struct at you, I think you'd like it.
02:36
< Shoukanjuu>
Okay
02:36
<@Vornicus>
but not yet, I have to talk about a few other goodies first.
02:37
<@ToxicFrog>
Mmmm, struct
02:38
<@Vornicus>
Okay, here's the big one. Unicode strings!
02:38
<@Vornicus>
Unicode strings look exactly like regular strings, /except/ that they get tagged with u.
02:38
< Shoukanjuu>
Alright.
02:38
<@Vornicus>
so u"Hello, World!" is the unicode version of "Hello, World!"
02:40
< Shoukanjuu>
so print u"Hello World!" will print the unicode version of that...
02:40
<@Vornicus>
And pretty much everything else works as expected- you can have a raw unicode string by also tagging it with r, in either order.
02:40
< Shoukanjuu>
Okay :D
02:41
<@Vornicus>
In addition, you get equivalents of \x for unicode: \uhhhh works for anything in the Basic Multilingual Plane, including the surrogates; \Uhhhhhhhh works for anything in all of unicode.
02:42
<@Vornicus>
Now, here's the problem.
02:42
<@Vornicus>
You can't get unicode directly from a file, and you can't get it directly to a file.
02:42
<@Vornicus>
And /this/ is where the methods decode() and encode() come in.
02:43
<@Vornicus>
(oh, also, \N{name} will get the named character from the unicode database)
02:44
< Shoukanjuu>
encode(Hello World) ? >_>
02:44
<@Vornicus>
Note quite
02:45
< Shoukanjuu>
needs " ?
02:45
<@Vornicus>
Yes.
02:45
<@Vornicus>
Okay, here's the thing.
02:45
<@Vornicus>
my_string.decode("utf-8") will take a normal string, and turn it into a unicode string via the UTF-8 encoding.
02:46
<@Vornicus>
my_unicode_string.encode("utf-8") does the same thing backwards.
02:51
<@Vornicus>
There's a Da Huuuuuudge number of encodings. http://docs.python.org/lib/standard-encodings.html
02:53 * ToxicFrog upreads
02:54
<@ToxicFrog>
I need \N.
02:54 * ToxicFrog adds it to the feature list
02:55
<@Vornicus>
Feature list for what?
02:55
<@Vornicus>
And that's really all you need to know about encodings.
02:55
< Shoukanjuu>
Okay :D
02:58
<@Vornicus>
Okay.
02:58
<@Vornicus>
Now, we are finally on to The Big Thing in strings.
02:58
< Shoukanjuu>
?
02:59
<@Vornicus>
Let's say you want to print this: "99 bottles of beer on the wall, 99 bottles of beer, take one down, pass it around, 98 bottles of beer on the wall"
02:59
<@ToxicFrog>
Vornicus: immediately, luautil. Bluesky, metalua.
03:00
<@Vornicus>
aha
03:00 * ToxicFrog is currently adding to luautil python-style string tags
03:00
<@Vornicus>
EXCEPT
03:00
<@Vornicus>
htat you want to then say "98 bottles of beer on the wall, 98 bottles of beer, take one down, pass it around, 97 bottles of beer on the wall"
03:00
<@ToxicFrog>
So that you can, for example, write I"foo = $(foo) bar = $(bar) baz = $(get_baz())"
03:01
<@Vornicus>
and then you want to do the same thing over and over until you run out of bottles of beer.
03:02
< Shoukanjuu>
Okay
03:02
<@Vornicus>
So what you need to do is construct a string with the various bits in there in the right place.
03:02
<@ToxicFrog>
Hmm. \N may actually be problematic, because U"foo\N{SMALL LAMBDA}" doesn't work - it sees "fooN{SMALL LAMBDA}"
03:03
<@Vornicus>
...hm. It seems I have forgotten to show you something.
03:03
<@Vornicus>
meet the range function: try range(5), then range(2, 5), then range(0,10,2), then range(10, 0, -1)
03:05
< Shoukanjuu>
Ah.
03:05
<@Vornicus>
Now, there's actually another function called xrange that works approximately the same way, but saves space, and is only really useful in for loops.
03:06
< Shoukanjuu>
Ooh.
03:07
<@Vornicus>
But, now it is time for the most interesting part about strings in Python: the String Formatting Operation.
03:07
<@Vornicus>
the String Formatting Operation looks like this: my_str % thing
03:10
<@Vornicus>
And it takes a specially constructed string and either a thing (if there's only one thing that needs replacing), a tuple (if there's several things that need replacing, and they'll always be in the same order), or a dictionary (if you have multiple things and you can name them)
03:11
< Shoukanjuu>
Ah.
03:11
<@Vornicus>
Here's an example: "I've got %s fingers" % 10
03:13
< Shoukanjuu>
....!
03:13
< Shoukanjuu>
I've seen something liek that before >.>
03:13
<@Vornicus>
I figured you had, being a romhacker.
03:13
<@Vornicus>
You can also do "I've got %d hands and %d fingers" % (2, 10)
03:15
< Shoukanjuu>
Well, when I said rom hacking, I really meant editing, but I got substitutions like that from MUD and MUCK
03:15
< Shoukanjuu>
I did learn a little bit from my friend who got into it more, though. ^^;;
03:16
<@Vornicus>
And with dictionaries you can do "I've got %(hands)d hands and %(fingers)d fingers. (that's right, %(fingers)d of them!)" % {"hands": 2, "fingers": 10}
03:17
< Shoukanjuu>
Whoo!
03:17
<@Vornicus>
You can even get some very flexible formatting from it, but that's the kind of stuff where you're better off hunting up the documentation when you need it.
03:17
< Shoukanjuu>
Yeah.
03:17
<@Vornicus>
http://docs.python.org/lib/typesseq-strings.html <--- This page gives you the various conversion things you can do.
03:18
<@Vornicus>
Now, fair warning: this particular beast is scheduled for obsolescence in Python 3.0, replaced with a more flexible setup.
03:18
< Shoukanjuu>
What is the difference between d and i ?
03:19
<@Vornicus>
Isn't one, as far as I'm aware.
03:22
<@Vornicus>
But yes. major caveats are: you can't give a single item to a thing that has multiple % codes in it; you can't give a tuple with a different number of items than there are % codes in the string.
03:23
< Shoukanjuu>
Ah.
03:24
<@Vornicus>
So, here you go: given what you know about strings, formatting operations, range/xrange, and for loops, do you think you could make your computer "sing" 99 bottles of beer on the wall?
03:26
< Shoukanjuu>
I believe I can :D
03:26
<@Vornicus>
All right then, go for it.
03:34
< Shoukanjuu>
I know what needs to be done, but don't quite know where to start...
03:35
< Shoukanjuu>
First I need range(99, 0, -1) or equivalent...>_>
03:35
<@Vornicus>
Okay, got that.
03:38
< Shoukanjuu>
Ah, I think I got it...
03:39
<@Vornicus>
Try it out then.
03:39
< Shoukanjuu>
Hoe do these need to be indesnted?
03:39
< Shoukanjuu>
...
03:39
< Shoukanjuu>
what
03:39
< Shoukanjuu>
How do these need to be indented*
03:40
<@Vornicus>
Dunno, what "these"?
03:41
< Shoukanjuu>
Hrm...
03:42
<@Vornicus>
(indentation should be obvious.)
03:42
< Shoukanjuu>
Well, making it say one number twice and the one lower once...
03:43
<@Vornicus>
try current_number - 1, or whatever your current number is called
03:46
< Shoukanjuu>
Erm...
03:48
< Shoukanjuu>
How would I implement current_number - 1 ? >_>;;
03:49
<@Vornicus>
um
03:49
<@Vornicus>
"current_number - 1"?
03:49
< Shoukanjuu>
O_o;
03:49
<@Vornicus>
Thinking too much?
03:50
< Shoukanjuu>
Well, I was doing %d bottles of beer on the wall, %d bottles of beer! Take one down, pass it around ?? bottles of beer on the wall % range(99, 0, -1)
03:51
< Shoukanjuu>
Er.
03:51
< Shoukanjuu>
In hindsight, maybe I need to look at this differently
03:52
<@Vornicus>
Yeah, that doesn't work
03:52
<@Vornicus>
You'll need an actual loop - range just gives you a list.
03:53
< Shoukanjuu>
Hmm.
03:54
< Shoukanjuu>
A dictionary >_>
03:57
< Shoukanjuu>
Or even a tuple that has 99, 99, 98, 98, 98, 97, 97, 97, 96, 96, 96....
03:57
<@Vornicus>
No, that doesn't work
03:58
<@Vornicus>
WEll, the latter doesn't work.
03:58
< Shoukanjuu>
Hm.
04:01
< Shoukanjuu>
I'm missing something here.
04:02
<@Vornicus>
Show me what you've come up with.
04:02
< Shoukanjuu>
Just the string.
04:03
<@Vornicus>
Okay, what'sthe string look like?
04:04
< Shoukanjuu>
%d bottles of beer on the wall, %d bottles of beer! Take one down, pass it around, bottles of beer on the wall!
04:05
<@Vornicus>
okay, put that last %d in there appropriately, and then figure out how to make a tuple with the appropriate numbers.
04:08
<@Vornicus>
(given a single number)
04:12
< Shoukanjuu>
><
04:22
<@Vornicus>
Anything?
04:22
< Shoukanjuu>
Well, I got it to print once
04:22
< Shoukanjuu>
99 bottles of beer on the wall, 99 bottles of beer! Take one down, pass it around, 98 bottles of beer on the wall!
04:23
<@Vornicus>
Okay.
04:23
< Shoukanjuu>
However, it wont' go farther than that
04:23
<@Vornicus>
How did you get the 99 and the 99 and the 98 into that?
04:23
< Shoukanjuu>
Plus, the way I did that, was with a 99, 99, 98 tuple XD;
04:23
<@Vornicus>
Okay.
04:23
<@Vornicus>
can you, given a number, build a tuple that looks like that, only with that number as the first two things?
04:24
< Shoukanjuu>
I uh...think?
04:24
<@Vornicus>
Okay, try it.
04:25
<@Vornicus>
I have a number in a variable k, how do I make a tuple?
04:25
<@Vornicus>
that does that?
04:26
< Shoukanjuu>
erm...
04:27
<@Vornicus>
this shouldn't be hard
04:27
< Shoukanjuu>
I know it shouldn't.
04:28
< Shoukanjuu>
That's what's so frustrating...
04:29
<@Vornicus>
How do you make a tuple, period?
04:29
< Shoukanjuu>
tuple()
04:29
<@Vornicus>
How do you make a tuple with three elements?
04:29
< Shoukanjuu>
(1, 2, 3)
04:29
<@Vornicus>
Okay
04:29
<@Vornicus>
What do you want the first element of the tuple to be?
04:29
< Shoukanjuu>
k?
04:30
<@Vornicus>
All right. How do you put that in there?
04:30
< Shoukanjuu>
(k, k, k-1)
04:30
<@Vornicus>
There you go.
04:30
< Shoukanjuu>
>_>;
04:30
<@Vornicus>
Okay, do you think you can get there from here?
04:30
< Shoukanjuu>
So k is 99 in the first one >_>
04:30
< Shoukanjuu>
But.... How do I get it to print over and over again?
04:31
<@Vornicus>
Do you have a way to do something over and over?
04:31
<@Vornicus>
With a different thing each time?
04:34
< Shoukanjuu>
I want to say while XD
04:34
<@Vornicus>
I would recommend for, actually
04:34
<@Vornicus>
Because you have a thing that will give you each item you want to work with in turn.
04:35
< Shoukanjuu>
Yeah, I was trying to remember which is was
04:35
< Shoukanjuu>
For would work, yes
04:38
< Shoukanjuu>
Let's tryy this again, this time without the wtflol >.>
04:39
<@Vornicus>
heh
04:40
<@Vornicus>
A friend of mine lives in San Luis Obispo. The library there has a Women's Temperance Foundation. They hold an annual barbecue.
04:40
<@Vornicus>
So, to advertise it, they put up a sign.
04:40
<@Vornicus>
LOL WTF BBQ
04:40
< Shoukanjuu>
...................
04:40
< Shoukanjuu>
I hope that isn't real. I really do.
04:40
<@Vornicus>
It's real.
04:41
< Shoukanjuu>
I have lost all faith in humanity.
04:41
< Shoukanjuu>
(Abort, retry, fail?)
04:41
<@Vornicus>
It was also completely unintentional.
04:41
<@Vornicus>
anyway
04:42
< Shoukanjuu>
Anyway, still trying to put this for into something usable
04:42
<@Vornicus>
What do you want the for to step over?
04:43
< Shoukanjuu>
What do you mean by step oveR? >.>
04:44
<@Vornicus>
To, uh, use in turn.
04:44
<@Vornicus>
to iterate over, for official wording.
04:45
< Shoukanjuu>
for %d in my_str?
04:45
<@Vornicus>
Let me try this again
04:46
<@Vornicus>
...Did we actually do an exercise with the for loop?
04:46
< Shoukanjuu>
Yes. I think O_o;
04:46
< Shoukanjuu>
It was 'average' actually
04:46
< Shoukanjuu>
In which we used for
04:48
< Shoukanjuu>
I defined average
04:48
<@Vornicus>
Ah, so.
04:48
< Shoukanjuu>
def average(nums):
04:48
< Shoukanjuu>
sum = 0
04:48
<@Vornicus>
Okay, look at that. We iterated over nums.
04:48
< Shoukanjuu>
In this case
04:48
< Shoukanjuu>
k = 99
04:48
<@Vornicus>
What do we want to iterate over this time?
04:48
< Shoukanjuu>
k >>
04:49 * Vornicus shakes his head
04:49
<@Vornicus>
What will generate all the numbers from 99 all the way down to 1?
04:50
< Shoukanjuu>
tuple v_V
04:50
<@Vornicus>
Gah.
04:50
<@Vornicus>
Okay, how the hell do I point out what you need to be looking at without actually telling you?
04:50
<@Vornicus>
Because we have gone over absolutely everything you need in the past hour.
04:51
< Shoukanjuu>
Point at something close? I knwo we did , but I'm jsut not seeing it. :/
04:51
<@Vornicus>
Indeed, you have said all the things that you need in the past hour.
04:51
< Shoukanjuu>
%d will get the numbers, but not actually generate them, right? C_x
04:52
<@Vornicus>
Sigh
04:52
<@Vornicus>
Okay, the %d is /in the string/
04:52
<@Vornicus>
It does not exist /anywhere else/
04:52
< Shoukanjuu>
Hold on, let me head desk to knock som sense into myself.
04:52
<@Vornicus>
It is a string format template, and you throw a tuple at the string, and you get a nice filled-in string.
04:53
< Shoukanjuu>
That's the % *tple after the string, right?
04:53
<@Vornicus>
What you need to do is generate the tuple and plug it into the string and print the created string /over/ and /over/ and /over/.
04:53
< Shoukanjuu>
Hmm.
04:54
<@ToxicFrog>
The %d thing is just "I will give you a number which I get from somewhere else. This is how I want you to display that number."
04:54
< Shoukanjuu>
#d will g rab the number from what is after % outside of the string
04:54
< Shoukanjuu>
%d*
04:55
<@Vornicus>
Right
04:55
<@ToxicFrog>
You could just as easily go, say, print "Bottles of beer on the wall:"; print k
04:55
<@ToxicFrog>
Except that would look terrible
04:55
<@Vornicus>
Heh
04:55
<@Vornicus>
it would look terrible
04:55
<@Vornicus>
(print inserts a newline at the end)
04:55
<@ToxicFrog>
So you use the %d to have finer control over how stuff is formatted and displayed.
04:55
<@ToxicFrog>
(yeah. That's why it would look terrible)
04:59
<@Vornicus>
(one of the changes in Python 3.0 is turning print from a keyword into a function. thank god.)
05:00
<@Vornicus>
Anyway, Shoukanjuu: what are you trying to do now
05:00
<@Vornicus>
?
05:01
<@ToxicFrog>
(yeah...I'm honestly surprised it made it into 2.x as a keyword)
05:01
<@Vornicus>
(yeah)
05:02
<@Vornicus>
(the new one is much better.)
05:02
<@Vornicus>
(I also like its improvements to multi-input functions, including the named-only arguments trick)
05:02
< Shoukanjuu>
Eh... v_V
05:03
< Shoukanjuu>
string % tuple, including k
05:03
< Shoukanjuu>
k will be given the value 99
05:03
<@Vornicus>
Okay, what you need to do
05:04
< Shoukanjuu>
It's where I am, and I cant' quite visualize what needs to be done :/
05:04
<@Vornicus>
is figure out how to go over that string % tuple thing, with all the different values of k, in order.
05:05
< Shoukanjuu>
That'w what I've been stuck at for some times, now
05:05
<@Vornicus>
Well, how do you generate all the values of k you need, in order?
05:06
< Shoukanjuu>
I know this, but I don't know thi. v_V;
05:06
< Shoukanjuu>
t's not lcicking x_X
05:06
< Shoukanjuu>
clicking, even ugh v_V
05:07
<@Vornicus>
Here's a hint: you've already said it, exactly, while trying to solve this.
05:10
< Shoukanjuu>
I jsut had something...and lost it
05:11
< Shoukanjuu>
It's the exact opposit of sum += num
05:11
<@Vornicus>
Start at the beginning of the chatting about this
05:12
<@Vornicus>
It's just a little bit after where I said "go for it."
05:13
<@Vornicus>
(it should pop right out at you)
05:13
< Shoukanjuu>
range -;
05:13
< Shoukanjuu>
--;
05:14
<@Vornicus>
Range.
05:15
< Shoukanjuu>
So (99, 0, -1)
05:15
< Shoukanjuu>
Will give 99 all the way to 0...
05:15
<@Vornicus>
put it together completely there
05:16
<@Vornicus>
to 1.
05:16
< Shoukanjuu>
But the application of it...
05:16
<@Vornicus>
Okay, so you have a thing where you can get every number in the right order.
05:16
<@Vornicus>
Now, you have to take each such number in turn and print the verse with it plugged in appropriately.
05:16
<@C_tiger>
But you still need to make sure that the computer doesn't slur his words after only a few beers.
05:17
< Shoukanjuu>
........
05:17
<@Vornicus>
Nah, computer's a teetotaler. It's the monitor and keyboard you have to look out for.
05:17
< Shoukanjuu>
It's all one thing! @_x
05:17
<@C_tiger>
Shoukanjuu, when I said I'd help, I didn't say I'd actually be HELPFUL.
05:18
<@Vornicus>
heh
05:18
<@Vornicus>
Anyway.
05:18
<@Vornicus>
How do you, given a pile of things, take each one in turn and work with it?
05:18
< Shoukanjuu>
for command.
05:18
< Shoukanjuu>
eer
05:18
< Shoukanjuu>
not command
05:18
< Shoukanjuu>
for
05:21
<@Vornicus>
okay. So, put it together.
05:29
<@Vornicus>
How's it coming?
05:30
< Shoukanjuu>
Not so well.
05:30
< Shoukanjuu>
I've literally gotten nowhere v_V
05:32
<@Vornicus>
Sigh.
05:32
<@C_tiger>
Ok, you know you need a for loop.
05:32
<@C_tiger>
that's somewhere.
05:33
< Shoukanjuu>
Yeah.
05:33
< Shoukanjuu>
I keep wanting to dfine omthing, though
05:34
<@C_tiger>
Ok, how does a for loop work?
05:35
< Shoukanjuu>
for something in something >_>
05:35
<@ToxicFrog>
While you are certainly allowed to def nbottlesofbeeronthewall(n):, that is not necessary for this exercise
05:35
< Shoukanjuu>
In the last case, it was "for num in nums"
05:35
<@C_tiger>
Ok, what do we want nums to be?
05:35
<@ToxicFrog>
More generally, it's "for <name> in <values>"
05:35
< Shoukanjuu>
where nums was defined with 'average'
05:36
<@ToxicFrog>
name is the name of the variable it will give a different value each time around the loop, and values is the list of values it should use - an actual list, or a call to range(), or the like
05:36
< Shoukanjuu>
That's what I thought
05:36
<@ToxicFrog>
Try, for example:
05:37
<@ToxicFrog>
for n in [1,2,3,4]: print n
05:37
<@ToxicFrog>
for n in range(1,4): print n
05:37
<@ToxicFrog>
(with proper indenting etc)
05:37
<@C_tiger>
idly, I don't think print n for n in [1,2] works in python does it?
05:38
<@ToxicFrog>
I just tested it.
05:38
<@ToxicFrog>
It works.
05:38
<@ToxicFrog>
Unless you mean that specific construct (<statement> for <names> in <values>)
05:38
<@ToxicFrog>
in which case no
05:38
< Shoukanjuu>
>_>
05:39
<@ToxicFrog>
Anyways. Shoukanjuu, with this additional knowledge of for, have you progressed?
05:39
<@C_tiger>
I mean that specific contruct.
05:39
<@C_tiger>
*construct.
05:39
< Shoukanjuu>
No v_V
05:39
<@C_tiger>
Ok, describe in words what you want the function to do.
05:39
< Shoukanjuu>
I have k=99
05:39
< Shoukanjuu>
for k in ???
05:40
< Shoukanjuu>
I haven't actually named the thing that has the values
05:40
< Shoukanjuu>
Which is what the def in the last thing was for :/
05:40
<@Vornicus>
Okay, you don't need "k = 99"
05:40
<@C_tiger>
Ok, let's try again.
05:40
<@Vornicus>
How do you get a thing that has the values? You keep saying it and then apparently forgetting it.
05:40
<@C_tiger>
You have a list of numbers.
05:40
< Shoukanjuu>
Do I not need a name for it, though?
05:40
<@C_tiger>
How do get the list of numbers?
05:41
< Shoukanjuu>
Could I just put for k in (99, 0, -1) O_o;
05:41
<@C_tiger>
Yes.
05:41
<@Vornicus>
that's not the list of numbers
05:41
<@C_tiger>
well...
05:41
<@ToxicFrog>
No.
05:41
<@C_tiger>
almost.
05:41
<@ToxicFrog>
But close.
05:41
<@Vornicus>
That's the parameters of the thing you need to /call/ to get the list of numbers.
05:41
<@C_tiger>
How do you make a list of numbers again?
05:42 * Vornicus has insistakitty.
05:43
<@C_tiger>
Does it draw blood
05:43
<@C_tiger>
?
05:43
<@Vornicus>
No.
05:43
<@C_tiger>
It's not insistent enough.
05:44
< Shoukanjuu>
[1, 2, 3, 4]
05:44
<@C_tiger>
Ok, but how do you make one automatically.
05:44
< Shoukanjuu>
Did we do that?
05:44
<@C_tiger>
say I wanted 1, 2, 3, ... ... 10000.
05:44
<@C_tiger>
Yes we did.
05:45
<@Vornicus>
Repeatedly. And you keep forgetting it.
05:45
< Shoukanjuu>
Urk
05:45
< Shoukanjuu>
I'm misplacing ideas v_V
05:45
< Shoukanjuu>
(1, 10000, 1)
05:45
< Shoukanjuu>
>_>
05:45
<@ToxicFrog>
Look about 32 minutes downtime
05:46
<@ToxicFrog>
The (1,10000,1) is only part of it
05:46
<@ToxicFrog>
Specifically, it's the latter half of a function call. You need the name of the actual function as well.
05:46
<@ToxicFrog>
Which is "range".
05:46
<@ToxicFrog>
Now put that together.
05:47
< Shoukanjuu>
range(1, 10000, 1)
05:47
<@C_tiger>
Ok, so range gives you the list of numbers.
05:47
<@C_tiger>
where in the for statement do you put said list of numbers?
05:48
< Shoukanjuu>
for k in range >_>?
05:48
<@C_tiger>
range isn't it.
05:48
<@ToxicFrog>
...where's the rest of it?
05:48
<@C_tiger>
range doesn't say anything.
05:48
< Shoukanjuu>
for k in range(99, 0, -1)
05:48
<@C_tiger>
Yay.
05:48
<@Vornicus>
Finally.
05:48
<@Vornicus>
That should have showed up two hours ago.
05:48
<@C_tiger>
Ok, what's next.
05:48
< Shoukanjuu>
x_X}
05:49
<@C_tiger>
(side note, you need a colon at the end of the for statement)
05:49
< Shoukanjuu>
I'm ahead of ya there :P
05:51
< Shoukanjuu>
Hrm...
05:53
< Shoukanjuu>
I want to give k a value >_>
05:54
<@C_tiger>
Why?
05:54
<@jerith>
Morning all.
05:54
<@C_tiger>
Ok, what does the for loop do?
05:54
< Shoukanjuu>
I don't KNOW why.
05:55
< Shoukanjuu>
Ugh x_X
05:55
<@Vornicus>
k is already getting values, from the for thingy
05:55
<@Vornicus>
That's what it does.
05:56
< Shoukanjuu>
Yeah....so I need to point k to %d
05:56
< Shoukanjuu>
Or the other way around
05:57
< Shoukanjuu>
And make it so k gets the correct value for each >.>;;
05:57
<@Vornicus>
Okay, so, how do you load the values into the string?
05:57
< Shoukanjuu>
%
05:58
<@Vornicus>
Okay, so you have the string on the left, and what's on the right?
05:58
< Shoukanjuu>
The value I want %d to get...
05:59
<@Vornicus>
the values.
05:59
< Shoukanjuu>
Which are in the range
05:59
<@Vornicus>
But what values do you want the %ds to get?
05:59
<@Vornicus>
which /come from/ the range; you don't tell the string about the range, though
06:00
< Shoukanjuu>
I WANT the first ones to be 99, 99, 98 respectively
06:00
<@Vornicus>
Okay,
06:00
<@Vornicus>
So, what's the first k you get?
06:00
< Shoukanjuu>
99. >_>
06:00
<@Vornicus>
Okay then.
06:00
<@Vornicus>
You should, by now, have everything you need.
06:01
< Shoukanjuu>
And the seoncd k I get should also be 99...
06:02
<@Vornicus>
Uh?
06:02
< Shoukanjuu>
Uh??
06:03
< Shoukanjuu>
See, if I didn't have something so it said the first value over every string
06:03
< Shoukanjuu>
This would be easier
06:03
<@Vornicus>
The second k that comes from the for loop is 98.
06:03
<@Vornicus>
But that's not the point
06:03
<@Vornicus>
You have k = 99. How do you get that into the string?
06:03
<@Vornicus>
You've already said it.
06:04
< Shoukanjuu>
with %
06:04
<@Vornicus>
okay, and so you already have the string on the left half, what do you put into it?
06:05
< Shoukanjuu>
the values I want, which are coming fro mthe range
06:05
< Shoukanjuu>
So I need to get the numbers out of the range
06:06
< Shoukanjuu>
without ..... --;
06:07
<@Vornicus>
What's the "for k in range(99, 0, -1):" bit doing for you?
06:08
< Shoukanjuu>
Er...
06:10
< Shoukanjuu>
Got the values and the name of the variable that points to them --;
06:12
<@Vornicus>
How does it give you those values?
06:13
< Shoukanjuu>
Sorry v_V
06:13
< Shoukanjuu>
Thanks for being so patient ><;
06:13
<@Vornicus>
Enough sorrying, and /think/
06:14
< Shoukanjuu>
I AM thinking!
06:14
< Shoukanjuu>
It's not COMING TO ME ><
06:14
<@ToxicFrog>
You're in the loop. How do you get the value for the current number of bottles, ie, for this iteration of the loop?
06:14
< Shoukanjuu>
This is what I was thinking of earlier
06:15
< Shoukanjuu>
I'm not completely sure, now v_V
06:16
<@ToxicFrog>
Let's take a step back.
06:16
<@ToxicFrog>
How would you just print out the values from 1 to 99?
06:18
< Shoukanjuu>
print range (1, 100, 1)
06:18
< Shoukanjuu>
It will give 1 all the way to 99
06:19
<@ToxicFrog>
Hmm
06:19
<@ToxicFrog>
Ok, correct, but that's not the answer I was going for
06:19
<@ToxicFrog>
Say you wanted to print each one seperately, on its own line
06:20
< Shoukanjuu>
Uh...
06:20
<@ToxicFrog>
I basically gave you the code for this earlier...it's two lines
06:21
< Shoukanjuu>
for n in range(1, 100, 1); print n
06:21
<@ToxicFrog>
Correct.
06:21
<@Kaz>
: instead of ; :)
06:21
<@ToxicFrog>
Well, apart from ;/: and newlines/indentation, but that's pedantry~
06:21
<@Kaz>
<-- pedant. :)
06:21
<@ToxicFrog>
So. Each time through the loop, how do you get the current value?
06:22
<@Kaz>
(and the newlines don't really matter.)
06:23 * ToxicFrog pokes Shoukanjuu
06:23
<@McMartin>
(One-line loop bodies are fine)
06:23
< Shoukanjuu>
By pointing back to k
06:23
<@ToxicFrog>
...
06:23
< Shoukanjuu>
as it drops one every time >_>;
06:23
<@ToxicFrog>
How do you get that from "print n"?
06:24
< Shoukanjuu>
I'm mixing the two materials v_V
06:24
<@ToxicFrog>
I'm still talking about the simple 1 to 99 loop here
06:24
< Shoukanjuu>
Okay.
06:25
< Shoukanjuu>
...:/
06:25
<@C_tiger>
Shoukanjuu, can you make a loop that does this: print out the square of every number from 10 to 1
06:27
<@ToxicFrog>
It's right there!
06:28
<@ToxicFrog>
You're getting the value right there in that line!
06:29
< Shoukanjuu>
@_@
06:31
<@C_tiger>
Shoukanjuu ok make me a loop that gives the square of each number.
06:32
< Shoukanjuu>
I...can't v_V
06:32
<@ToxicFrog>
C, this isn't helping
06:32
<@ToxicFrog>
...actually, it might
06:32
< Shoukanjuu>
Ugh, fuck ><
06:32
<@ToxicFrog>
Shoukanjuu, you just made a loop that prints out the numbers from 1 to 99, yes?
06:32
<@ToxicFrog>
So you can make one that prints out the numbers from 1 to 10.
06:32
< Shoukanjuu>
I just made something that prints 1 to 99, yes
06:32
<@Vornicus>
Okay.
06:32
<@ToxicFrog>
It's a very short step from there to one that prints out the squares of the numbers from 1 to 10.
06:32
< Shoukanjuu>
well, 99 to 1
06:33
<@C_tiger>
TF: that's where I was going.
06:33
< Shoukanjuu>
and what is that? where to put the **? v_V
06:33
<@C_tiger>
Ok, I think I see your problem.
06:34
< Shoukanjuu>
?
06:34
<@C_tiger>
You need to understand the difference between a function and a variable.
06:34
< Shoukanjuu>
....
06:35
<@Kaz>
Shoukanjuu, in python, you can use pow(n,2), or simply n*n for simple squares. :)
06:35
<@C_tiger>
print is a function.
06:35
<@C_tiger>
range is a function
06:35
<@Vornicus>
Kaz: I don't think that's helpful
06:35
<@C_tiger>
n and k are variables.
06:36
<@Kaz>
he's looking for the **, pow(x,y) is that in python.
06:36
<@C_tiger>
So think of it this way. You know how you write sin(x)
06:36
<@Vornicus>
** is that in python.
06:36
<@Kaz>
that's another way of saying it, yes.
06:36
<@Vornicus>
sigh
06:36
<@C_tiger>
how would you write the sine of the square of x?
06:36
<@C_tiger>
I'm totally ignoring you guys, if you haven't noticed.
06:36
< Shoukanjuu>
x_X
06:37 * Vornicus throws kaz off the earth for confusing the issue anyway
06:37 * Kaz avoids being pedantic about the print function then. *shrug*
06:37
<@Kaz>
("function" rather)
06:37 Kaz [~kaz@72.174.26.ns-12779] has left #code [Leaving]
06:37
<@C_tiger>
yeah, I know it's more of a statement.
06:37
<@C_tiger>
yada yada yada
06:38
<@C_tiger>
but that's beside the point.
06:38
<@C_tiger>
how would you write the sine of the square of x, Shoukanjuu
06:39
<@ToxicFrog>
Ok, I'm going to bed, and I submit that this might be better done at a time other than 0300.
06:39
<@ToxicFrog>
Since it clearly is not going anywhere at present.
06:39
<@C_tiger>
Ok.
06:40
< Shoukanjuu>
sin(x^2)
06:40
<@C_tiger>
Ok.
06:41
< Shoukanjuu>
Sory, I had to take care of the damned coons v_V
06:41
<@C_tiger>
Great.
06:41
<@C_tiger>
Now now, knowing that, how does the loop that prints the numbers from 99 to 1 work?
06:42
<@C_tiger>
Remember print is like sin, k is like x
06:43
< Shoukanjuu>
prints them in order >_>;
06:43
<@C_tiger>
No, step by step.
06:43
<@C_tiger>
Ok, what does the first line do?
06:45
< Shoukanjuu>
the for line
06:45
<@C_tiger>
yes.
06:46
< Shoukanjuu>
variable k, function 'range'
06:46
<@C_tiger>
um, not quite.
06:46
<@C_tiger>
Ok, let's try this again. You know that what the for statement does is it sets k to the values in range(99,1,-1) one at a time.
06:47
< Shoukanjuu>
Right...
06:48
<@C_tiger>
Ok, so you're the computer, you get to that line, what is the first thing you do?
06:48
<@C_tiger>
(let's play a little game...)
06:48
< Shoukanjuu>
assign k to the first value in the range
06:49
<@C_tiger>
Ok, now you get to the next line, what do you do?
06:49
< Shoukanjuu>
assign k to the next value in range >_>
06:49
<@C_tiger>
Huh?
06:49
<@C_tiger>
Ok, what's the next line?
06:49
< Shoukanjuu>
Oh, we arent' doing that. v_v
06:49
< Shoukanjuu>
XD
06:49
< Shoukanjuu>
Misunderstood
06:50
< Shoukanjuu>
The next line currently is the print "%d bottles of beer on the wall, %d bottles of beer! Take one down, pass it around, %d bottles of beer on the wall!"
06:50
<@C_tiger>
Ok, back up.
06:50
<@C_tiger>
we're talking about the one where we print just the numbers
06:50
< Shoukanjuu>
print k, then?
06:51
<@C_tiger>
yes.
06:51
<@C_tiger>
So you print (a function) what?
06:52
< Shoukanjuu>
the variable
06:52
< Shoukanjuu>
At the time, the first number in the former range
06:52
<@C_tiger>
Ok.
06:52
< Shoukanjuu>
So I'd print 99 >.>
06:52
<@C_tiger>
Now what if you wanted to print the square of 99?
06:53
<@C_tiger>
(or whatever your variable of choice is)
06:54
< Shoukanjuu>
Erm...
06:54
<@C_tiger>
Ok, rather than print, put sin or cos there.
06:55
<@C_tiger>
now how would you do it?
06:55
< Shoukanjuu>
I was makign sure it worked
06:55
< Shoukanjuu>
print k*k
06:55 GeekSoldier|bed is now known as GeekSoldier
06:55
<@C_tiger>
great.
06:56
<@C_tiger>
now what if you wanted to some string with k in it?
06:56
< Shoukanjuu>
Say again?
06:56
<@C_tiger>
What if I wanted to print "I have 99 beers!"?
06:57
< Shoukanjuu>
print "I have 99 beers!" >_>
06:57
<@C_tiger>
Ok, but have that number change.
06:58
<@McMartin>
There are actually three ways to do this.
06:58
<@C_tiger>
Yes but using the method of earlier.
06:59
<@C_tiger>
Then again I wasn't following along so you may have learned three ways.
06:59
<@McMartin>
Neither was I, and at least one of them is "don't do this"
06:59
< Shoukanjuu>
x_X
07:00
<@C_tiger>
Ok, remember the % operator?
07:00
< Shoukanjuu>
Yes
07:00
<@C_tiger>
Ok, what does it do?
07:01
<@C_tiger>
(this is the version of the operator with a string on the LHS)
07:01
< Shoukanjuu>
I cant' explain what it does, but I know if I have sometihng like %d in the string and put that after said string, I can link whatever comes after the % to the %d
07:01
<@C_tiger>
Ok.
07:02
<@C_tiger>
so how would you print "I have 99 beers!"?
07:02
<@C_tiger>
but replacing the 99 with the number of beers.
07:03
< Shoukanjuu>
print "I have %d beers!"
07:04
<@C_tiger>
Nope.
07:04
<@Vornicus>
How do you get 99 into the string?
07:05
< Shoukanjuu>
with % 99 after it < _<
07:05
<@Vornicus>
Okay.
07:06
<@Vornicus>
Now what if i have a number stored in k, and I want to say I have that many beers?
07:06
< Shoukanjuu>
What the hell am I missing that's making me go in circles? v_V
07:06
<@C_tiger>
Ok, now what if I wanted to have it put in the variable and not just 99?
07:06
< Shoukanjuu>
I would think you'd do % k
07:06
<@C_tiger>
Yep.
07:06
<@Vornicus>
okay.
07:06
<@Vornicus>
And now if you want to say "I have 99 beers, but later I'll have 98 beers", and you just have k = 99?
07:06
< Shoukanjuu>
But I tried that and it said that there "wasn't enough arguments for format string"
07:07
<@Vornicus>
...can you reconstruct that one?
07:07
<@C_tiger>
Vornicus, I was going to say exactly the same thing but add "and I'm a little drunker".
07:07
< Shoukanjuu>
The second would have to be k-1 >.>;
07:07
< Shoukanjuu>
Also: What?
07:07 * McMartin is wondering if there is parentheses wackiness
07:07 * McMartin is also really leeging tired, though, and so will not be useful
07:08
<@C_tiger>
I like parentheses.
07:08
<@Vornicus>
Can you write the one that gave you "Not enough arguments for formate string" again, and show it to us?
07:08
< Shoukanjuu>
print "%d bottles of beer on the wall, %d bottles of beer! Take one down, pass it around, %d bottles of beer on the wall!"
07:08
<@jerith>
The formatting operator requires a tuple or dict as the second operand.
07:09
< Shoukanjuu>
That's when I put % k after it, though
07:09
<@McMartin>
No, you can have a single value
07:09
<@C_tiger>
It also need the operator.
07:09
<@C_tiger>
*s
07:09
<@Vornicus>
Right, but the thing is, here, you need three values
07:10
< Shoukanjuu>
Okay.
07:11
<@Vornicus>
So, the first value is k
07:11
<@Vornicus>
what's the second value?
07:13 Achewater [~JeffL@209.204.181.ns-4330] has joined #code
07:13
< Shoukanjuu>
It *should* be k, as well
07:14
<@Vornicus>
Okay, and the third value?
07:14
< Shoukanjuu>
k-1 >_>
07:14 JPL [~JeffL@Nightstar-13864.dsl.static.sonic.net] has quit [Ping Timeout]
07:14 Achewater is now known as JPL
07:17
<@Vornicus>
okay, so you need to get all three of those into the string. How do you do that?
07:17
< Shoukanjuu>
Son of a
07:17
< Shoukanjuu>
After all this time
07:17
< Shoukanjuu>
I was this fuckign close x_x
07:18 * Shoukanjuu headdeskheaddeasssheaddesk
07:19
<@Vornicus>
Does it do the original task now?
07:19
< Shoukanjuu>
yes x_X
07:19
< Shoukanjuu>
This was the first thing I tried
07:19
< Shoukanjuu>
That, right there
07:19
< Shoukanjuu>
Without parenthesis
07:19
< Shoukanjuu>
And when I did so
07:20
< Shoukanjuu>
I gave it no thought to use said parenthesis
07:20
<@C_tiger>
ok, now make it deal with the special case of one bottle :P
07:20
<@Vornicus>
It sings the whole song?
07:20
<@Vornicus>
C: cruel.
07:20
<@C_tiger>
Hardly.
07:20 * Shoukanjuu stabs C in the dominant hand >< XD
07:20
<@C_tiger>
It's just learning about the else block.
07:20
< Shoukanjuu>
Yeah :P
07:21
< Shoukanjuu>
Why is it always the SIMPLEST thigns that I miss?
07:22
<@Vornicus>
Because that's the way it is sometimes.
07:22
<@Vornicus>
This is also why, if you think something /should/ work, but it doesn't, you ask someone else. Immediately.
07:22
<@C_tiger>
Actually you probably miss a lot of the COMPLEXEST things too, you just don't feel as bad.
07:25
< Shoukanjuu>
Sorry ^^;;
07:26
<@Vornicus>
At least until you build the experience you need to see the dumb-shit mistakes that everyone in the universe, including yourself, makes.
07:27
< Shoukanjuu>
Hehe
07:27
<@GeekSoldier>
Certainly. Those are the ones that plague all code, and when you build larger apps, you often overlook them.
07:27
< Shoukanjuu>
But I drug everyone else with me XD
07:28
<@Vornicus>
Well, yes.
07:28
<@C_tiger>
Until then, there will be countless countless times when you're missing a space or a dot or a close bracket and everything falls apart without warning.
07:28
<@Vornicus>
That'swhy you /stop/ when you screw up, and go "did I miss something obvious?" and if the answer is no, then you go hunt somebody down.
07:28
<@C_tiger>
Or, rather the answer is never "no" :P
07:30
<@Vornicus>
well, okay, if the answer is "I can't see anything"
07:31
<@Vornicus>
So, there's four hours of your life, spent learning one of the most important lessons the hard way.
07:31
< Shoukanjuu>
Hehe
07:31
< Shoukanjuu>
Well
07:31
< Shoukanjuu>
It's well worth it for me
07:32
< Shoukanjuu>
Was it for you? XD
07:32
<@Vornicus>
:P
07:33
<@C_tiger>
Well, you can always pay us.
07:33
<@C_tiger>
I think the going rate is $100 an hour :P
07:33
<@C_tiger>
That'll be $400 please.
07:36
< Shoukanjuu>
You want that by tomohawk or drive by ^_~
07:36
< Shoukanjuu>
tomahawk, even XD
07:37
< JPL>
Shoukanjuu-
07:37
< JPL>
1. I'm always watching.
07:37
< JPL>
2. I can shut you down with two words.
07:37
< Shoukanjuu>
I'm sure.
07:39
< Shoukanjuu>
Now that that's done...
07:39 * Shoukanjuu pops his umbrella chronicles disc in
07:40
<@C_tiger>
Did you ever do the Fibonacci thing?
07:40
<@Vornicus>
no.
07:40
< Shoukanjuu>
Not yet, no
07:40
<@C_tiger>
That seems like a good homework exercise.
07:40
< Shoukanjuu>
I believe Vorn said something about recursions and how I'm not there yet
07:40
< Shoukanjuu>
C
07:41
<@C_tiger>
Oh, I mean don't do it recursively.
07:41
<@C_tiger>
do it iteratively.
07:41
< Shoukanjuu>
What time I dont' spend sleeping is taken up by my presence HERE :P
07:41
<@C_tiger>
Print the first 100 numbers of the fib seires
07:41
<@C_tiger>
series
07:41
<@Vornicus>
Well, we haven't /done/ recursion yet, and so we'll have to do something like that... and don't do fibonnacci by recursion anyway.
07:41
< JPL>
Yeah.
07:41
<@Vornicus>
(trust me)
07:41
< JPL>
(TRUST ME)
07:41
<@GeekSoldier>
heh.
07:41
< JPL>
I can teach him Big-O once you've taught him recursion and iter.
07:41
<@C_tiger>
Yay big)
07:42
<@C_tiger>
O
07:42
<@Vornicus>
There's lots of people who can teach Big-O stuff.
07:42
<@Vornicus>
McM I think is the most knowledgable though
07:42
< Shoukanjuu>
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377...? >_>
07:42
<@Vornicus>
That's the one.
07:42
< Shoukanjuu>
Or did I do my math wrong whil I'm gunning zombies with the other hand
07:42
< Shoukanjuu>
>_>
07:43
< JPL>
1,1,2,3,5,...
07:43
< Shoukanjuu>
11, that's right
07:43
< Shoukanjuu>
1, 1*
07:43
<@Vornicus>
well, yeah, usually it starts with two ones.
07:43
< Shoukanjuu>
That reminds me. There's a House of the Dead 2 and 3 port for the Wii
07:43
< Shoukanjuu>
I love these games <3
07:43 * Vornicus wants a wii ;_;
07:43
< Shoukanjuu>
Tax return!
07:44 * JPL got laptop moneh back. But... needs to eat it for a while.
07:44 * Vornicus has no income, cannot file.
07:44
< Shoukanjuu>
Well, join the navy and get kicked out of bootcamp
07:44
< Shoukanjuu>
Wait, you're not in the USA are you
07:44
< Shoukanjuu>
:/
07:44
<@Vornicus>
I am.
07:44
<@Vornicus>
But I am violently anti-authoritarian.
07:45
< JPL>
Shoukan signed up, but got 4-Fed for previous injuries, suicidal depression, and stabbing people.
07:45
< Shoukanjuu>
Eh, I was away from September to November
07:45
< Shoukanjuu>
Not really suicidal depression, that came after when they were kicking me out
07:46
< Shoukanjuu>
And the stabbing eople thing was in protection of my sister, well after that v_V
07:46
<@Vornicus>
--and gunshy. So the most likely way for me to get kicked out of bootcamp would be trying to tear the drill sergeant or equivalent's face off.
07:46
< Shoukanjuu>
Because see? Nuclear Program?
07:46
< Shoukanjuu>
If I actually went through th eentire process
07:47
<@Vornicus>
Well, that, and not being able to run one mile in the time they usually expect one to run two.
07:47
< Shoukanjuu>
And gotten my nuke EM stuff, I'd be able to do ANYTHING I really wanted. v_V
07:47
< JPL>
I'm in relatively good shape.
07:47
< Shoukanjuu>
I was going to be an electrical engineer! Nah, let's ruin it because you are physically broken, kthxbai
07:47
< JPL>
However, I'm AA enough to get removed either by the Springsteen Method or the Feynman Method.
07:49
< Shoukanjuu>
That reminds me: is there a 'rules' thing I should look at?
07:50
< JPL>
For?
07:50
< Shoukanjuu>
For here >_>
07:50
<@Vornicus>
Oh. not really.
07:50
< Shoukanjuu>
Can you explain what we AREN'T allowed to talk about? XD
07:51
<@GeekSoldier>
COBOL.
07:51
<@Vornicus>
*snrk*
07:52
< Shoukanjuu>
Ahaha
07:52
<@C_tiger>
Shoukanjuu drunken ramblings are a bad idea, sober ones far worse.
07:52
< Shoukanjuu>
Okay >.>
07:53
< Shoukanjuu>
I'm going to go out on a limb and say I'm the youngest one here >_>
07:53
<@C_tiger>
probably.
07:54
<@C_tiger>
You are in code-years.
07:55
< JPL>
I started writing code at the age of 6. Wrote a game at 10.
07:55
< Shoukanjuu>
Well olay
07:55
< Shoukanjuu>
Okay, even
07:56 * Vornicus technically learned to code at 4.
07:58
< Shoukanjuu>
I learned to code at ...wair
07:58
< Shoukanjuu>
wait*
07:58
< Shoukanjuu>
.... ; ;
07:59
<@Vornicus>
by technically, I mean, for about 8 years I fucked around in BASIC, and then that computer died, and I didn't get back into it until I was 20.
07:59
< Shoukanjuu>
Well alright
07:59
< Shoukanjuu>
So now that we've cemented the fact that you're old
08:00 * Vornicus is now 26.
08:00
< Shoukanjuu>
:P
08:00
<@GeekSoldier>
damn, then I'm old too.
08:01
<@GeekSoldier>
I learned BASIC on an Atari 800XL. :)
08:02
<@C_tiger>
I learned... English at age 4.
08:03
< Shoukanjuu>
As did I >_>
08:03
< Shoukanjuu>
I think it was called "Phonics" back then
08:03
<@Vornicus>
Man, i haven't seen a "hooked on phonics" commercial in ages.
08:04
< Shoukanjuu>
That's because we've given up
08:05
< Shoukanjuu>
It would be nice to play a game...and watch TV...at the same time. >_>
08:05
< Shoukanjuu>
I need a TV tuner. Yes... Yes....
08:05
<@Vornicus>
Dude, the reverse is bad
08:06
< Shoukanjuu>
Say what, now?
08:06
<@Vornicus>
Reverse
08:06
<@Vornicus>
the second "yes" was reversed.
08:08
< Shoukanjuu>
Reversed how? <_<
08:09
<@Vornicus>
It was white on black, and the rest of the text is black on white.
08:09
< Shoukanjuu>
Oh.
08:09
< Shoukanjuu>
That's my italicize >_>
08:09
<@Vornicus>
Oh. DOn't use that
08:10
<@Vornicus>
Use bold instead
08:10
< Shoukanjuu>
Well, bold type usually means louder or clearer
08:10
< Shoukanjuu>
Where italicized type is more along the lines of...stressed words or something
08:21
<@Vornicus>
Point is that most clients represent that as reverse, not italic
08:21 Achewater [~JeffL@Nightstar-13864.dsl.static.sonic.net] has joined #code
08:22 JPL [~JeffL@209.204.181.ns-4330] has quit [Ping Timeout]
08:22 Achewater is now known as JPL
08:23 * Raif blames mIRC for all blights on the world.
08:24 * Vornicus agrees with raif.
08:24
<@jerith>
Indeed.
08:26
< Shoukanjuu>
I was just going to blame the most convenient thing I could find in compliance with my pick and choose religion
08:26
< Shoukanjuu>
In this case, waffles.
08:26
< Shoukanjuu>
Don't ask why.
08:26
<@Raif>
Waffles are pretty dangerous...
08:29
< Shoukanjuu>
Oh, my
08:30
< Shoukanjuu>
My SD card is ALREADY formatted in FAT16
08:31
<@Raif>
BURN IT!
08:31
< Shoukanjuu>
Why?
08:31
<@Raif>
Because it's formatted in FAT16. What, I should draw you a map? :)
08:31
< Shoukanjuu>
I'm going to do some homebrew loading on my Wii as soon as I find myself a Twilight Princess iso XD
08:31
<@Raif>
Run away!
08:34
< Shoukanjuu>
You play too many video games when your external drives are named after protoss units
08:35
< Shoukanjuu>
Or rather, too much
08:35
<@Vornicus>
No
08:35
< Shoukanjuu>
Or maybe too much starcraft
08:35
< Shoukanjuu>
Which I don't even do that much of XD
08:36
<@Vornicus>
Too many games is when your parents ask you to pick a name for your baby sister and you pick "zelda"
08:36 C_tiger [~c_wyz@Nightstar-15831.nycmny.east.verizon.net] has quit [Ping Timeout]
08:37
< Shoukanjuu>
My nephew's name was going to be Gordon.
08:37
< Shoukanjuu>
Because the father's last name is Freeman.
08:37
<@Vornicus>
oh, god >_<
08:37
<@GeekSoldier>
Too much gaming is when you name your daughter intentionally so that her initials spell TSR
08:37
< Shoukanjuu>
terminate and stay resident? >_>
08:38
< Shoukanjuu>
Oh. The Sims? vV_
08:38
<@GeekSoldier>
Tactical Studies Rules.
08:38
< Shoukanjuu>
So I was wrong when I guessed
08:38
< Shoukanjuu>
Wrong when I looked it up
08:38
<@McMartin>
The original publishers of Dungeons and Dragons.
08:38
<@GeekSoldier>
publisher of D&D defore WotC.
08:38
< Shoukanjuu>
I see
08:39
<@McMartin>
Also, I suggest your nephew be named "Geordan".
08:39
< Shoukanjuu>
No, his name is "Aiden"
08:39
<@McMartin>
Augh
08:39
< Shoukanjuu>
Because his dad was like "Gordon...I like that"
08:39 * GeekSoldier sighs.
08:39 * McMartin has no idea what inspired hundreds of thousands of people to name their kids that
08:39
<@McMartin>
AND NONE OF THEM KNEW THEY WERE FOLLOWING A WAVE
08:40
< Shoukanjuu>
And when my sister asked why, he replied, ever so smartly, that it was a video game character XD
08:40
< Shoukanjuu>
Nah, I'd name my kid Geordi
08:40 C_tiger [~c_wyz@Nightstar-25107.nycmny.east.verizon.net] has joined #code
08:40 mode/#code [+o C_tiger] by ChanServ
08:40
< Shoukanjuu>
Make sure he was near blind, too
08:40
< Shoukanjuu>
"You can't sit tooclose to the screen, boy!"
08:40
< Shoukanjuu>
"You're still micrometers away from it! CLOSER"
08:40
<@Vornicus>
I prefer LeVar, personally
08:43
< Shoukanjuu>
My dad's friend's last name was Walker, and he wanted to name his kid Luke, and have his middle name be Sky v_V
08:44
<@Vornicus>
i am quite glad, my last name can't be twisted to become referential.
08:45
<@jerith>
$coworker wanted to name his daughter octothorpe.
08:45
< Shoukanjuu>
....what
08:46
<@jerith>
Vornicus: Your last name can't be twisted to become pronouncable, either. :-P
08:46
< Shoukanjuu>
MY name can't be twsited any firther than my initials
08:46
<@jerith>
His last name is Brown.
08:46
< Shoukanjuu>
XD
08:46
<@jerith>
Octothorpe is another name for the "hash" symbol.
08:46
< Shoukanjuu>
v_V
08:46
<@GeekSoldier>
my initials are RCB not too useful in acronyms.
08:46
< Shoukanjuu>
I looked it up
08:47
< Shoukanjuu>
Got thepound symbol
08:47
<@McMartin>
"McM" *is* my initial.
08:47
< Shoukanjuu>
And I was like "Oh hell. v_V"
08:47
< Shoukanjuu>
DJH
08:47
<@jerith>
It's only "pound" if you're a crazy American.
08:47
< Shoukanjuu>
On a day when I was feeling particularly gangsta, I was DJ. H
08:48
<@jerith>
My initials are a significant portion of my nick.
08:48
<@GeekSoldier>
indeed they are.
08:48
<@Raif>
Jed Emerit R'lyeh?
08:48
< Shoukanjuu>
Man I could mess with a zipper and make it sound better than actual DJs and their tools <_<
08:48
< Shoukanjuu>
ERI
08:48
<@jerith>
Je Ri Th
08:48
<@Raif>
I'm totally naming my kid R'lyeh now.
08:49
<@Vornicus>
Actually
08:49
< Shoukanjuu>
I don't know
08:49
<@McMartin>
Wgl'nafh, imo
08:49
< Shoukanjuu>
Maybe I'll name my kid something you know
08:49
< Shoukanjuu>
Normal
08:49
<@Vornicus>
There /is/ a ccg with a person in it with my last name
08:49
<@Vornicus>
...that is also happens to be /entirely/ in Polish doesn't hurt.
08:49
<@Raif>
Neat.
08:49
<@jerith>
Yay Polish!
08:49
<@Raif>
Your name particularly common in Poland? It sure as hell isn't common here. :)
08:49
<@McMartin>
My name is so generic people often assume it's assumed.
08:50 * jerith works with a gent of Polish descent who has entirely too many vowels in his name.
08:50
<@McMartin>
A name I sometimes attach to characters is also Polish despite not having a drop of the blood
08:50
<@Raif>
Vorn has the opposite problem.
08:50
<@Vornicus>
Raif: it's somewhat common
08:50
<@McMartin>
It is unnervingly frequently assumed to be my real name.
08:50
<@McMartin>
("Kowalski")
08:50
<@Vornicus>
Heh
08:50
<@jerith>
Yep, that's my sysadmin's name.
08:50
<@Raif>
I had 25% Polish blood once... but I ran out. :(
08:51 * Vornicus wonders what McM's middle name is.
08:51
<@jerith>
C.
08:51
<@McMartin>
"Chapman". The intended reference is actually to Johnny Appleseed.
08:51
< Shoukanjuu>
Somehing like Zadaer
08:51
<@GeekSoldier>
my C is for Carl.
08:52
<@Vornicus>
...you know what, fuck it, I am naming my kid Sephiroth. :D
08:52 * jerith rechristens McMartin "Tracy", gives him a fast car.
08:52
<@Raif>
My initials are CKA. If anyone can guess what the K is, I won't devour your firstborn.
08:52
<@jerith>
Karl
08:52
< Shoukanjuu>
Also: Five points to whoever can figure out 1. what the name is from, 2. what the parts stand for and 3. what game I'm referencing in using the name
08:52
<@Raif>
I'm still pretty firm that my first child's middle name will be Underscore.
08:52
<@jerith>
Katherine
08:52
< Shoukanjuu>
Katarina
08:52
< Shoukanjuu>
KATAMARI
08:52
<@Raif>
Points for awesome, bu ton.
08:52
<@Raif>
*but no.
08:54
< Shoukanjuu>
I've got an idea.
08:54
< Shoukanjuu>
drop database;
08:54
< Shoukanjuu>
>_>
08:54
<@Vornicus>
Eh. Unoriginal.
08:54
<@Vornicus>
:P
08:54
< Shoukanjuu>
Imagine, if you will
08:54
<@McMartin>
And it's '; drop database; --
08:54
< Shoukanjuu>
Yes, that
08:55
< Shoukanjuu>
I couldn;t remember the syntax.
08:55
< Shoukanjuu>
I remembered part of it.
08:55
< Shoukanjuu>
>_>
08:55
<@McMartin>
The trick is in the '.
08:55
<@McMartin>
Which closes the quote in where username = '$username'
08:55
< Shoukanjuu>
Imagine the repercussions of putting that in the hospital database
08:55
<@jerith>
drop table students, actually.
08:55
< Shoukanjuu>
or student lists at a school
08:55
<@Vornicus>
Well, yes
08:55
< Shoukanjuu>
enrollment XD
08:56
<@Vornicus>
But this is the kind of shit McM works with every day.
08:56
<@McMartin>
Much less so these dats
08:56
<@McMartin>
days
08:56
<@McMartin>
It's my motivating example
08:57
<@McMartin>
But I haven't done any actual zomghax in years
08:57
<@Vornicus>
heh
08:57
<@jerith>
Why not?
08:57
<@McMartin>
Because it's just an application, not actual research
08:57
<@McMartin>
The stuff that's actually unique to me involves tracking objects as sets instead of just tagging individual objects.
08:58
<@McMartin>
Which is actually not necessary for the zomghax, which is why I'm largely reduced to muttering about how in the near future I will Show Them All
08:59 * jerith hands McMartin a selection of rare and exciting wrenches.
08:59
<@jerith>
And an invitation to The Institute.
08:59 * Vornicus tries to figure out how a wrench can be exciting.
08:59
<@McMartin>
Well, it's more
09:00
<@McMartin>
"OK, the low-hanging fruit can feed an army. But it's boring. Once you find some *interesting* problems my workw ill already be there"
09:01 Vornicus is now known as Vornicus-Latens
09:01
<@jerith>
So you're reduced to tedium and waiting?
09:01
<@McMartin>
But the only practical application that *requires* it is memory leaks
09:01
<@McMartin>
Nah. I'm writing my thesis, and then I'm going into industry to do something entirely different.
09:01
<@jerith>
Vornicus-Latens: Go read the collected works of Phil Foglio.
09:01
<@Vornicus-Latens>
ah, of course
09:02
<@jerith>
McMartin: I know a little company in Cape Town and a reather larger one in Seattle that is currently looking for competent people.
09:02
<@jerith>
-e
09:03
<@McMartin>
There's no shortage of them in Silicon Valley either~
09:04 * McMartin lives about a half-dozen long blocks from the Googleplex.
09:04
<@jerith>
Ah, but there is only one that hires the likes of me. ;-)
09:05
<@jerith>
Yay for the Googleplex!
09:06
< Shoukanjuu>
Man
09:06
< Shoukanjuu>
The closest store is three miles from here
09:06 * jerith is perhaps being a bit too subtle about the whole recruiting thing.
09:06
< Shoukanjuu>
I need to evolve Greater Teleportation Glands
09:07
<@jerith>
Start with the Pineal.
09:07
<@jerith>
Thus spake Malaclypse the Younger.
09:09
< Shoukanjuu>
I don't see how melatonin is going to help me transfer matter from one place to the otherthrough ways other that physical
09:09
<@McMartin>
jerith: Perhaps I wasn't clear enough with my "I don't feel I need to move" reaction~
09:10
<@jerith>
McM: I was talking in general. I have so far convinced only two people to apply.
09:10
< Shoukanjuu>
Waht are we applying to?
09:10 * GeekSoldier is hardly qualified enough, and already has contractual obligations elsewhere.
09:11
<@jerith>
Shoukanjuu: You do not, unfortunately, qualify.
09:11
<@jerith>
http://ec2.amazonaws.com/ <-- My day job.
09:11
<@jerith>
Currently somewhat desperate for skilled devs and system engineers.
09:11
< Shoukanjuu>
Oh, okay
09:12
< Shoukanjuu>
But if you ever need something mechanical fixed
09:12
<@jerith>
For we have too many good ideas and not enough time.
09:12
< Shoukanjuu>
And happen to be on the exact otherside of the country
09:12
<@jerith>
Or, in the case of /my/ office, on the wrong continent and in two wrong hemispheres.
09:13
<@GeekSoldier>
haha.
09:13
<@GeekSoldier>
I'd consider relocating to your locale, jerith.
09:13 AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout]
09:13
< Shoukanjuu>
No, I mean the exact other side of the country.
09:13
<@jerith>
'Tis a marvelous locale.
09:13
<@GeekSoldier>
it certainly can't be too much worse than anywhere else I've been in my current career.
09:14
< Shoukanjuu>
By the time yo uget the gumption to be out there, I'd have already relocation to become some random guy in the snow
09:14 JPL [~JeffL@Nightstar-13864.dsl.static.sonic.net] has quit [Ping Timeout]
09:15
< Shoukanjuu>
Well, that was an exercise in futility. :D
09:16
<@jerith>
There is no snow in my country.
09:16
< Shoukanjuu>
Not right now there isn't *-*
09:16
< Shoukanjuu>
But there will be. Oh, there will be.
09:16
< Shoukanjuu>
:P
09:16
< Shoukanjuu>
Anyway, Thanks for helping out and teacing me more, everyone
09:17
<@jerith>
You're welcome.
09:17
< Shoukanjuu>
I'm going to go to bed before I plague the channel with anymore of my randomness
09:17
<@jerith>
(Says the person who slept through the whole lesson.)
09:17 Shoukanjuu is now known as Shou|X_x
09:17
<@jerith>
'Night Shou.
09:17
< Shou|X_x>
Night, jerith
09:17
<@jerith>
Morning here, actuall.
09:17
<@jerith>
+y
09:17
<@jerith>
But still. :-)
09:19
< Shou|X_x>
It's 5:21 i nthe morning here
09:20
< Shou|X_x>
I'm nocturnal, so :D
09:21 C_tiger [~c_wyz@Nightstar-25107.nycmny.east.verizon.net] has quit [Ping Timeout]
09:22
<@jerith>
Ah, yes. You're on the right.
09:22
<@jerith>
The bottom right.
09:22
<@jerith>
The bottomrightmost, in fact.
09:24
<@GeekSoldier>
about as bottomrightmost a leftpondian in the States can get.
09:24 * Shou|X_x narrows his eyes
09:24
< Shou|X_x>
Now that you know within a 500 mile radius where I live
09:25
<@jerith>
GeekSoldier: You're an honorary rightpondian, though.
09:25
< Shou|X_x>
You must be silenced. O____o
09:25 * Shou|X_x gives jerith a word bubble with an ellipse inside
09:25
<@jerith>
Shou|X_x: I actually have a street address.
09:25
<@jerith>
But it is that of your ISP.
09:26
<@jerith>
Be at ease, however, for I do not use my powers for evil.
09:26
< Shou|X_x>
Oh, good. So you ARE destroying them?
09:26
<@jerith>
If I did, they would very swiftly be stripped from me.
09:27 * jerith ponders getting the bill and heading off to pick up his laundry.
09:29 * jerith reconsiders and orders some toast.
09:31 * Shou|X_x considers finding some good quality nylon twine and making a trebuchet
09:31
<@jerith>
Should you not be alseep?
09:31
<@jerith>
*asleep
09:32 C_tiger [~c_wyz@Nightstar-15879.nycmny.east.verizon.net] has joined #code
09:32 mode/#code [+o C_tiger] by ChanServ
09:32
< Shou|X_x>
I should
09:32
< Shou|X_x>
But seeing as how I have nowhere to really *go* tomorrow
09:32
< Shou|X_x>
I m ean
09:33
< Shou|X_x>
Today, rather
09:33
< Shou|X_x>
I go to sleep whenever I feel like it, really
09:33 Shou|X_x is now known as Shou
09:33
< Shou>
If someone needs me to do something, then I crawl out of bed and do it, go back to sleep a few hours later
09:34
< Shou>
This would be a flawlessly set up 'yo momma' joke if I wasted afraid of getting kicked from the channel. :/
09:35
< Shou>
..."if I wasted afraid?"
09:35 Shou is now known as Shou|v_V
09:36
< Shou|v_V>
Yeah, it's time for bed. *nod*
09:36
<@jerith>
This toat-with-preserves really is very good.
09:36
<@jerith>
+s
09:37
< Shou|v_V>
People ask me why I am eating potato rounds at five in the morning, and I debunk their little "argument" with one of my own
09:40
< Shou|v_V>
If the normal person awakens at six in the morning and eats breakfast at seven, lunch at twelve, and dinner at six, then would it not be assumed that if one had awoken at six in the afternoon, ate their breakfast at seven, lunch at midnight, and dinner at six, then it would be a perfectly viable solution?
09:41
< Shou|v_V>
They seem to forget that food that tastes bad in the morning does not twelve hours after you crawl your lazy ass out of bed XD
09:41 * jerith grins.
09:41
< Shou|v_V>
And with that, adieu.
09:42 * Shou|v_V gets out of his chair and passes out on the carpet spikes
09:42
<@jerith>
Enjoy!
09:42
< Shou|v_V>
Always! XD
11:24 AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has joined #code
13:33 Bobsentme [Bobsentme@Nightstar-26335.dsl.sfldmi.sbcglobal.net] has joined #Code
14:44 * Bobsentme is away: Cleaning up your act. (Next time, leave the elephans OUTSIDE, will ya???)
16:21 JPL [~JeffL@209.204.181.ns-4330] has joined #code
17:00 Vornicus-Latens is now known as Vornicus
17:23 GeekSoldier [~Rob@91.18.124.ns-11200] has quit [Ping Timeout]
17:25 GeekSoldier [~Rob@91.18.88.ns-26990] has joined #code
17:25 mode/#code [+o GeekSoldier] by ChanServ
18:56 GeekSoldier_ [~Rob@91.18.88.ns-26990] has joined #code
18:57 GeekSoldier [~Rob@91.18.88.ns-26990] has quit [Ping Timeout]
18:57 GeekSoldier_ is now known as GeekSoldier
19:43 Bobsentme [Bobsentme@Nightstar-26335.dsl.sfldmi.sbcglobal.net] has quit [Quit: Now running PassedOut.bat]
20:06 GeekSoldier is now known as GeekSoldier|bar
20:08 Vornicus is now known as Finerty
21:20 GeekSoldier|bar is now known as GeekSoldier
22:25 * Shou|v_V skitters
22:25
<@C_tiger>
rheet
22:26 * GeekSoldier throws dicts at Shoukanjuu.
22:26
< Shou|v_V>
Uwaah x_x
22:27
<@C_tiger>
pow!
22:27
<@C_tiger>
Bam!
22:27
<@C_tiger>
moreOldschoolSoundEffects
22:28
< Shou|v_V>
Zip zop zoobideebop? >_>
22:28
< GeekSoldier>
Holy fate worse than death, Batman!
22:40 Attilla [~The.Attil@194.72.70.ns-11849] has quit [Quit: <Insert Humorous and/or serious exit message here>]
22:53 Attilla [~The.Attil@194.72.70.ns-11849] has joined #code
22:53 mode/#code [+o Attilla] by ChanServ
23:21 GeekSoldier is now known as GeekSoldier|bed
--- Log closed Sun Mar 30 00:00:57 2008
code logs -> 2008 -> Sat, 29 Mar 2008< code.20080328.log - code.20080330.log >