←2007-03-14 2007-03-15 2007-03-16→ ↑2007 ↑all
00:18:54 -!- RodgerTheGreat has quit.
00:20:05 -!- RodgerTheGreat has joined.
00:23:06 <RodgerTheGreat> #$@% cars
00:23:10 <RodgerTheGreat> *cats
00:25:37 -!- Sgeo has joined.
00:28:57 -!- oerjan has quit ("leaving").
00:29:30 <bsmntbombdood> sweet
00:29:37 <bsmntbombdood> my dad got me a pocket protector
00:29:39 <bsmntbombdood> :P
00:29:51 <RodgerTheGreat> ooh, neat
00:30:07 <bsmntbombdood> indeed
00:30:30 <RodgerTheGreat> if I had shirts with pockets, I'd wear one all the time
00:30:54 <bsmntbombdood> me too
00:31:13 -!- oerjan has joined.
00:31:19 <bsmntbombdood> I can see myself using a pocket protector, if I wore shirts with pockets
00:31:56 <RodgerTheGreat> what logo does your pocket protector have on it?
00:32:02 -!- tgwizard_ has quit (Remote closed the connection).
00:32:26 <bsmntbombdood> a very small "JM" imprint
00:32:43 <bsmntbombdood> nothing else
00:33:04 <RodgerTheGreat> classy
00:48:54 -!- cmeme has quit (Read error: 104 (Connection reset by peer)).
00:49:09 -!- cmeme has joined.
00:52:15 <lament> holy crap
00:52:15 <lament> http://mathforum.org/kb/message.jspa?messageID=1375971&tstart=0
00:56:48 <RodgerTheGreat> is that written by *the* John Conway?
00:57:06 -!- sebbu has quit (Client Quit).
00:57:07 <bsmntbombdood> I know pi to 51 decimal places
00:57:43 <RodgerTheGreat> I never find myself needing more than the first seven- I've never really tried memorizing them
01:00:18 <lament> RodgerTheGreat: yes
01:00:28 <RodgerTheGreat> cool
01:00:36 <lament> that's what impressed me
01:00:50 <RodgerTheGreat> cellular automata and memorizing pi.
01:00:53 <lament> although his technique is pretty nice too
01:00:57 <RodgerTheGreat> I agree
01:01:11 <lament> bsmntbombdood: how did you memorize it?
01:01:16 <RodgerTheGreat> it's often easy to memorize sequences of numbers by their spoken "beat"
01:01:48 <RodgerTheGreat> sine-cosine-cosine-sine-three-point-one-four-one-five-nine and the like
01:02:49 <lament> this is probably made easier if you combine some groups of 2 digits into one number
01:03:07 <lament> three fourteen fifteen etc
01:03:48 <RodgerTheGreat> what's interesting about John Conway is that among this crowd, he's a celebrity, whereas most places nobody would bat an eyelash at the name
01:06:22 <RodgerTheGreat> lament: yeah- chunking numbers is another extremely effective way of reducing the difficulty of memorizing things
01:10:03 <bsmntbombdood> lament: couple boring days in middle school math
01:10:16 <RodgerTheGreat> haha
01:10:36 <bsmntbombdood> it breaks itself up into easily memorizable pieces
01:11:58 <bsmntbombdood> 1415 92 653 5897 9323 846264 3383...
01:12:54 <RodgerTheGreat> another way to "memorize" it could be to memorize an algorithm for finding successive places....
01:13:12 <RodgerTheGreat> slower in recall, but at least as useful
01:13:32 <bsmntbombdood> that would be terrible difficult
01:14:41 <RodgerTheGreat> before you've played with esolangs, something like BF is difficult to wrap your head around. Now, it comes naturally to all of us.
01:19:22 <bsmntbombdood> that's true
01:22:25 <RodgerTheGreat> one of the reasons I like esolangs is the fact that they have a way of liberating one's mind with respect to programming.
01:22:59 <RodgerTheGreat> I feel sad for people who only think of programming in terms of C++ and Java
01:23:16 <bsmntbombdood> concur
02:08:00 -!- oerjan has quit ("Good night").
03:06:07 <Sgeo> Today is (ln -1)/i day!
03:06:55 <RodgerTheGreat> cool
03:07:11 <RodgerTheGreat> we need to do something special at 1:59
03:07:23 <Sgeo> Whose 1:59?
03:07:34 <bsmntbombdood> mmm, pi
03:10:08 <RodgerTheGreat> Sgeo: good question
03:10:29 <Sgeo> GMT-92 ?
03:10:41 <Sgeo> Whatever that turns out to be equivelent to?
03:10:51 <RodgerTheGreat> sounds equitable
03:11:09 <RodgerTheGreat> what would be an appropriate celebration?
03:31:23 <lament> bsmntbombdood: i like conway's division more than yours :)
03:31:41 * lament memorized pi to 30 places with conway's thing
03:31:56 <bsmntbombdood> hmm
03:32:27 <lament> his is almost like a poem
03:33:22 <lament> "1415 9265 35" - rhymes
03:33:53 <bsmntbombdood> reading it doesn't make any sense
03:35:07 <lament> 8979 (rhyme) 3238 (rhyme the other way) 4626 (rhyme) 4338 (rhymes with the second quadruplet)
03:36:12 <RodgerTheGreat> just express rhymes like you would if you were analyzing poetry: ABAB
03:36:31 <RodgerTheGreat> at last, taking AP English seems worthwhile
03:36:57 <bsmntbombdood> Next time I have to write some poetry for class I'm just going to mark v. shaney some poe
03:42:05 <RodgerTheGreat> 1233564- quoth the constant, nevermore.
03:43:18 <RodgerTheGreat> it would be interesting writing a program that would translate a sentence into a series of numbers that had the same rythm when read
03:44:01 <RodgerTheGreat> it might be as simple as assigning numbers based on rhyme pairs
03:44:13 <RodgerTheGreat> but I'm not certain that would always work
03:46:29 -!- GreaseMonkey has joined.
03:46:31 -!- thematrixeatsyou has joined.
03:46:46 <RodgerTheGreat> howdy GreaseMonkey, thematrixeatsyou
03:47:12 -!- thematrixeatsyou has left (?).
03:48:04 <GreaseMonkey> sorry bout that, accidentally connected twice D:
03:48:31 <RodgerTheGreat> I was wondering if it was you and your bot or something
03:50:24 <RodgerTheGreat> GreaseMonkey: how do you think we should celebrate the upcoming pi day?
03:50:24 <GreaseMonkey> i accidentally opened two server tabs
03:50:33 <bsmntbombdood> \sum_{i=1}^\infty{10^{-i}i}
03:50:39 <GreaseMonkey> hmm....
03:50:46 <GreaseMonkey> what's the formula for pi again?
03:50:50 <GreaseMonkey> i can never remember it
03:50:53 <bsmntbombdood> lots
03:51:06 <GreaseMonkey> there's a couple of tangents in it
03:51:12 <bsmntbombdood> 1/1 - 1/3 + 1/5 + 1/7...
03:51:15 <bsmntbombdood> is one
03:51:35 <bsmntbombdood> converges very slowly though
03:52:32 <RodgerTheGreat> should that second + be a -?
03:52:53 <GreaseMonkey> i think so
03:52:56 <RodgerTheGreat> terms usually alternate in a mclaurin series (which that vaguely resembles) or stay constant
03:53:06 <RodgerTheGreat> if you get my meaning
03:53:30 <lament> the upcoming pi day?
03:53:46 <bsmntbombdood> yeah
03:53:49 <bsmntbombdood> typed wrong
03:53:52 <bsmntbombdood> lament: today
03:54:14 <RodgerTheGreat> I'm defining the official celebration as 1:59, GMT
03:54:19 <RodgerTheGreat> because that makes sense
03:54:20 <bsmntbombdood> and that's actually pi/4
03:54:53 <bsmntbombdood> why GMT?
03:55:00 <bsmntbombdood> it should be GMT-pi
03:55:55 <bsmntbombdood> http://en.wikipedia.org/wiki/Leibniz_formula_for_pi
03:56:24 <RodgerTheGreat> that sounds clumsy to calculate, unless we use metric time or something
04:02:28 <RodgerTheGreat> we should write a "pidaydaemon" that interrupts whatever you're doing with the terminal at the precise moment of pi day and encourages you to celebrate
04:02:54 <bsmntbombdood> impossible.
04:02:56 <lament> pidaymon
04:04:23 <RodgerTheGreat> lament: brilliant!
04:04:55 <RodgerTheGreat> #EsoMon: gotta appt-get 'em all!
04:27:13 <RodgerTheGreat> good night, folks
04:27:23 -!- RodgerTheGreat has quit.
04:30:17 -!- ShadowHntr has joined.
04:40:29 -!- ShadowHntr has quit (zelazny.freenode.net irc.freenode.net).
04:40:29 -!- Caphi has quit (zelazny.freenode.net irc.freenode.net).
04:40:29 -!- bsmnt_bot has quit (zelazny.freenode.net irc.freenode.net).
05:43:18 -!- Sgeo has quit ("Leaving").
06:49:22 -!- ShadowHntr has joined.
06:59:15 <GreaseMonkey> afk, food
07:19:44 <GreaseMonkey> back
07:50:05 -!- maverickbna has joined.
07:50:22 -!- maverickbna has quit (Read error: 104 (Connection reset by peer)).
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:08:56 -!- ShadowHntr has quit (Connection timed out).
08:29:48 -!- sekhmet has quit (Read error: 104 (Connection reset by peer)).
08:34:04 -!- sekhmet has joined.
08:40:04 -!- sebbu has joined.
09:09:43 -!- jix has joined.
09:16:52 -!- ShadowHntr has joined.
10:05:18 <GreaseMonkey> gtg, gnight
10:07:19 -!- GreaseMonkey has quit ("gnight - avoid encyclopediadramatica at all costs.").
10:29:19 -!- ShadowHntr has quit ("End of line.").
11:57:05 -!- jix__ has joined.
12:06:13 -!- jix has quit (Read error: 113 (No route to host)).
12:46:32 -!- oerjan has joined.
12:55:47 <oerjan> all this talk about celebrating pi at 3/14 1:59 (GMT/GMT-pi) and none of the Americans noticed that those times had long since passed.
13:35:03 -!- oerjan has quit (zelazny.freenode.net irc.freenode.net).
13:35:24 -!- oerjan has joined.
13:45:35 -!- jix__ has changed nick to jix.
14:13:34 -!- helios24 has joined.
15:56:10 -!- crathman has joined.
16:12:52 -!- RodgerTheGreat has joined.
16:13:06 <RodgerTheGreat> hello everyone
17:26:57 -!- crathman has quit ("Chatzilla 0.9.77 [Firefox 2.0.0.2/2007021917]").
18:00:10 -!- oerjan has quit ("leaving").
18:25:46 -!- tgwizard has joined.
19:11:47 -!- nazgjunk has joined.
19:13:07 -!- nazgjunk has quit (Read error: 131 (Connection reset by peer)).
19:16:48 -!- nazgjunk has joined.
19:54:50 -!- UpTheDownstair has joined.
19:55:06 -!- nazgjunk has quit (Read error: 131 (Connection reset by peer)).
19:55:33 -!- UpTheDownstair has changed nick to nazgjunk.
19:58:18 -!- jix has quit ("This computer has gone to sleep").
21:29:16 -!- UpTheDownstair has joined.
21:32:02 -!- nazgjunk has quit (Read error: 145 (Connection timed out)).
21:36:19 -!- sebbu2 has joined.
21:43:14 -!- sebbu has quit (Read error: 60 (Operation timed out)).
22:23:42 <bsmntbombdood> haha
22:23:56 <bsmntbombdood> C is a sad language, because most lines end with );
22:24:03 <lament> );
22:28:38 <RodgerTheGreat> haha
22:29:24 <RodgerTheGreat> even worse, all those curly brackets make fun of people with cleft palates- :{
22:30:09 <RodgerTheGreat> 'course, that exact combination doesn't happen very often that I can think of...
22:36:50 -!- oerjan has joined.
22:38:40 <oerjan> is :{ possible in C at all?
22:39:31 <oerjan> can an expression begin with just { ?
22:40:29 <RodgerTheGreat> hm
22:40:36 <RodgerTheGreat> a good question
22:41:24 <GregorR> Plof has a lot of });
22:41:31 <RodgerTheGreat> I know one way it's *possible*, but not in a functional expression
22:41:43 <GregorR> A static struct.
22:41:57 <RodgerTheGreat> there you go
22:41:58 <GregorR> struct foo a = { b:{stuff in a.b} };
22:42:10 <oerjan> ah
22:42:16 <GregorR> I haven't used that syntax in a while, I may be a bit off ;)
22:43:06 <oerjan> indeed it seems a bit weird to have that inner { }
22:43:41 <GregorR> Well, that much I know is legit :)
22:43:51 <GregorR> If a struct contains a struct, and you're declaring one statically, that's how you do it.
22:44:06 <oerjan> ok
22:45:49 <bsmntbombdood> huh?
22:45:52 <bsmntbombdood> :{ ?
22:50:53 <oerjan> found a BNF for C at http://www.cs.man.ac.uk/~pjj/bnf/c_syntax.bnf
22:51:02 <bsmntbombdood> i don't think you can have that
22:51:10 <oerjan> however, i cannot make your suggestion parse with it.
22:51:34 <oerjan> first, it's = not : but that is not so important.
22:52:04 <oerjan> worse is that the part to the right of = cannot contain a nested struct.
22:53:09 <oerjan> oh wait.
22:53:21 <oerjan> the _outer_ ={ still works.
22:53:24 -!- nazgjunk has joined.
22:53:49 -!- UpTheDownstair has quit (Read error: 104 (Connection reset by peer)).
22:54:03 <lament> ={
22:54:05 <oerjan> it could of course be an erroneous BNF.
22:57:13 <oerjan> oh, and label :{ block } works.
22:59:09 <oerjan> or, less goto-tainted: case const :{ block }
22:59:45 <oerjan> which looks like it could actually be used.
23:01:51 <GregorR> *snaps*
23:01:59 <GregorR> Oh, heheh, the syntax I gave was D :P
23:03:24 <oerjan> I guess it is probably also available in modern C compilers, being an obvious gap in the original language.
23:05:13 <oklopol> oerjan do you know C?
23:05:49 <oerjan> a bit
23:06:12 <bsmntbombdood> C is fun
23:06:23 <oklopol> quite
23:06:38 <GregorR> C is my native language. It was difficult learning an ... unstructured language like English when I was a boy.
23:06:45 <oerjan> :D
23:06:47 <fizzie> struct foo a = { .b = initializer_for_field_b }; is C99 (and a GCC extension for other modes).
23:08:43 <fizzie> Same goes for arrays; int array[256] = { [42] = 1, [69] = 1 }; works if you want to initialize few elements to 1 and keep the rest as 0.
23:09:23 <bsmntbombdood> fizzie: wtf?
23:09:29 <bsmntbombdood> I've never seen that syntax
23:10:07 <fizzie> Well, full C99-compliant compilers aren't anywhere yet, so I'm not sure it's sensible to use in published code. Perhaps in GCC-specific projects, though.
23:10:59 <bsmntbombdood> busy beaver!
23:11:48 <oerjan> hm... you could extend that to function memoing.
23:12:12 <fizzie> See chapter 6.7.8 Initialization in your friendly ISO/IEC 9899:1999 standard; the syntax is "initializer-list: designation_opt initializer --" and a designator can be either "[ constant-expression ]" or ". identifier".
23:12:33 <bsmntbombdood> http://eden.dei.uc.pt/~machado/research/bb/BB.html
23:12:56 <oerjan> int fib(int n) { return (fib(n) = fib(n-1)+ fib(n-2)); } = { (0) = 0, (1) = 1 };
23:13:35 <fizzie> That might be a "bit" too high-level to exactly be very C-like.
23:13:51 <oerjan> hey, i'm just generalizing :)
23:15:52 <bsmntbombdood> I want a turing machine interpreter
23:16:13 -!- sebbu has joined.
23:17:13 <oerjan> i saw mention of one with a good graphical interface, perhaps at Good Math/Bad Math.
23:17:34 <fizzie> I had a Turing machine interpreter written in Befunge and syntax-highlighted in the great "messy HTML table with a dozen different background colors for various functional regions" fashion, but I lost it. :/
23:17:42 <fizzie> The "user interface" wasn't very friendly, though.
23:18:16 <fizzie> abA!6!0!a!1!A!R!0!b!5!b!R!1!a!1!a!R!1!b!2!b!R!2!a!2!a!R!2!A!3!A!L!2!!!3!!
23:18:24 <fizzie> Ngah, borken copypaste.
23:18:53 <oerjan> oh and Mark CC wrote an interpreter himself too
23:18:53 <fizzie> Well, you just fed it a string a bit like that, except that it's not supposed to cut off there, the example I was trying to copypaste continues for a while.
23:19:49 -!- nazgjunk has quit ("Leaving").
23:19:49 <oerjan> http://scienceblogs.com/goodmath/2007/02/basics_the_turing_machine_with_1.php
23:20:44 <oerjan> a bit verbose syntax though
23:21:05 <lament> it is a shame that one of the most historically important esoteric languages is not even recognized as such
23:21:16 <lament> all because Turing used a different terminology
23:22:10 <bsmntbombdood> what, turing machines?
23:22:57 <oerjan> the JFLAP mentioned in the same thread was the good one i was thinking of.
23:23:00 <lament> turing machines are programs in this language
23:23:25 <oerjan> (not that i have tested it myself)
23:23:28 <lament> the language does not have a name or syntax. I find that to be a shame. :)
23:23:49 <oerjan> you could say the same about combinatory logic.
23:23:51 <bsmntbombdood> There's just more than one
23:24:05 <oerjan> except that does have a name and syntax
23:24:11 <lament> oerjan: ... :)
23:24:44 <lament> it makes sense to talk of a "combinatory logic" language, in which something like "s k" is a program
23:25:34 <lament> no issues there...
23:25:40 <oerjan> among turing tarpits, the distinction between "computational model" and "esoteric language" is mainly based on the apparent seriousness of the inventor.
23:26:07 <lament> yes, yes, and yet, combinatory logic and lambda calculus are both easily accepted as languages
23:26:18 <bsmntbombdood> hmph
23:26:23 <fizzie> I think the automagical homework checking eggine in one of our courses was JFLAP-based.
23:26:24 <lament> and turing machines aren't because the terminology used by the inventor is just too bizarre
23:26:28 <bsmntbombdood> With a halting oracle, the max-shifts function is computable
23:26:35 <bsmntbombdood> what about the busy beaver function?
23:26:43 <bsmntbombdood> oh, it is
23:27:06 <bsmntbombdood> generate all n-state turing machines, remove ones that don't halt, then run them all
23:29:29 <oklopol> i could do that standing on my head
23:30:10 <RodgerTheGreat> haha
23:30:35 <lament> your MOM doesn't halt!
23:32:54 <bsmntbombdood> I know, she just bitches forever
23:33:11 <lament> loop(bitch)
23:34:59 -!- sebbu2 has quit (Connection timed out).
23:50:00 -!- sebbu has quit ("@+").
←2007-03-14 2007-03-15 2007-03-16→ ↑2007 ↑all