00:25:27 -!- clog has quit (Connection timed out).
00:25:27 -!- clog_ has changed nick to clog.
00:49:26 -!- Sgeo has joined.
00:56:51 -!- olsner has quit ("Leaving").
01:19:09 -!- GreaseMonkey has joined.
01:21:07 -!- slereah has quit (Read error: 113 (No route to host)).
01:29:48 <comex> You know what I said about pypy? Scratch that, the stuff they already have is already pretty cool ...
01:30:05 <comex> RPython programs run nearly as far as c, although the compiling takes forever
01:31:12 <comex> (If only the translator could translate itself... I don't think it's rpython though. But if the translator can get the JIT to be fast someday, and a fast JITted pypy runs the translator... well then that's pretty amazing)
01:39:11 -!- Slereah_ has joined.
02:41:09 -!- bsmntbombdood has quit.
02:41:50 -!- bsmntbombdood has joined.
02:50:47 -!- GreaseMonkey has quit ("killing X to finish install").
03:07:05 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | hehe.
03:15:29 -!- GreaseMonkey has joined.
03:29:54 -!- ihope has joined.
03:30:22 <ihope> I will now create an esoteric programming language called Colorful Monkeys.
03:30:41 <ihope> It will be very theoretically interesting, I'm sure.
03:30:51 <ihope> It might even be Turing-complete, if you can imagine that.
03:32:26 <ihope> I just may be too lazy to put this on the wiki right now, so I'll describe it here instead.
03:33:10 <ihope> Memory consists of an infinite grid of spaces. Each space may be empty, or it may contain a red, green or blue monkey. One monkey is the current monkey.
03:35:59 <ihope> Each step, the interpreter finds a path that starts at the current monkey and visits every other monkey exactly once, does not visit the same color monkey twice in a row, and does not return to the current monkey; this path should be as short as practically possible.
03:36:28 * ihope frowns at the unfortunate placements of "and" in that sentence.
03:40:24 <ihope> Then the first monkey on the path becomes the new current monkey, and moves either toward or away from the old current monkey: red moves toward green and away from blue, green moves toward blue and away from red, blue moves toward red and away from green. The monkey moves one step in a cardinal direction, preferring horizontal movement to vertical movement if they would otherwise result in him being the same distance from the old curren
03:41:29 -!- edwardk has left (?).
03:42:57 <ihope> Monkey collisions cause undefined behavior. Like with MiniMAX, the interpreter can take advantage of this to do something nice.
03:50:43 -!- GreaseMonkey has quit (Remote closed the connection).
03:50:58 -!- GreaseMonkey has joined.
03:53:53 -!- GreaseMonkey has quit (Remote closed the connection).
03:54:04 -!- GreaseMonkey has joined.
03:54:30 -!- immibis has joined.
03:56:36 -!- GreaseMonkey has quit (Client Quit).
04:02:21 <ihope> Like running BF commands...
04:05:00 -!- Sgeo has quit (Read error: 104 (Connection reset by peer)).
04:07:05 -!- GreaseMonkey has joined.
04:16:12 <optbot> immibis: less complicated code, less instructions to execute....fewer instructions,,,faster run...
04:16:19 <optbot> immibis: (`cuz you _know_ prime numba's are sex-ay!)
04:16:27 <optbot> immibis: but I generally prefix gcc to C programs
04:40:14 -!- Sgeo has joined.
05:40:20 <optbot> immibis: or make it clear that you're being facetious
06:17:08 -!- GreaseMonkey has quit ("So, how much do you love noodles?").
06:19:26 -!- Sgeo has quit (Read error: 110 (Connection timed out)).
07:34:28 -!- oerjan has joined.
07:38:51 -!- habnabit_ has quit (Read error: 104 (Connection reset by peer)).
07:39:05 -!- habnabit has joined.
07:42:45 <oerjan> immibis: optbot doesn't do any actual commands afaik
07:42:46 <optbot> oerjan: it's certainly different.
07:42:55 <oerjan> it converses, and changes topic
07:43:00 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | that ensures that Python no longer has to keep track of the functions local state..
07:43:09 <oerjan> ok that's the only command
07:44:11 <oerjan> i think it's ehird, although the first 'o' is supposedly named after me
07:56:38 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | it can..
07:56:43 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | - your _darcs dir has the whole history, isn't that nice.
07:56:54 <immibis> did you remember to add flood protection?
07:57:09 <optbot> immibis: and HTML is not just strings
07:57:32 <immibis> [19:42] <oerjan> it converses, and changes topic <-- you call that conversing?
07:57:36 <oerjan> well it only does one thing per speaker action
07:57:47 <oerjan> so if it's flooding, so are you
07:58:45 <oerjan> although fungot has flood protection to prevent you from putting the bots against each other
07:58:46 <fungot> oerjan: ( just annotate the paste: it'll keep everything together.
07:58:51 <fungot> immibis: heh. i think you misspelled ' fnord.
07:58:55 <fungot> optbot: you are spamming. toboge, i said my theory is that i must stop saying fnord, you can
07:58:56 <fungot> optbot: goog idea... ha_bf2c makes things much easier in this way
07:58:56 <optbot> fungot: may even take too long for you to be able to wait
07:58:56 <fungot> optbot: what neighborhood?
07:58:57 <optbot> fungot: 0x01 can also escape 0x01
07:58:57 <fungot> optbot: bawden is a clever fellow that's what has happened to sarahbot
07:58:57 <optbot> fungot: that's pretty funky pixel-art there
07:59:25 <optbot> immibis: all languages are equally difficult, says i!
07:59:25 <optbot> fungot: thought about it, yes.. did it: no :)
07:59:39 <fungot> ^<lang> <code>; ^def <command> <lang> <code>; ^show [command]; lang=bf, code=text/str:N; ^str 0-9 get/set/add [text]
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:00:11 <optbot> immibis: <tusho> - Take the second and third characters of the input with 'H.' appended to it.
08:00:22 <optbot> fungot: experience shows that I am shit at that sort of puzzle
08:01:00 <oerjan> fungot is written in befunge btw
08:01:00 <fungot> oerjan: i think i will write a scheme to java
08:06:11 -!- kar8nga has joined.
08:07:41 -!- toBogE has joined.
08:09:08 <immibis> !regex deeohteedeeohteedeeohtee hi replace ^echo hi
08:09:19 <immibis> !regex deeohteedeeohteedeeohtee .*hi.* replace ^echo hi
08:09:35 -!- toBogE has quit (Read error: 104 (Connection reset by peer)).
08:09:53 <immibis> evidently fungot doesn't have flood protection
08:09:53 <fungot> immibis: i'm afraid it's rather difficult to get computers to do non-constructive logical proofs, or something
08:10:10 <oerjan> not against commands apparently
08:11:08 -!- toBogE has joined.
08:11:22 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | but i can type :D.
08:11:22 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | ciao.
08:11:23 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | Do you want the physics behind it, or just the math and comp-sci part?.
08:11:24 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | (slightly modified from 18.05.07).
08:11:26 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | i also vaguely recall it has different levels you can set, and some features are disabled at lower levels.
08:11:29 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | did something go wrong?.
08:11:31 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | and if you do from hook into funge space code, well things would be uggly.
08:11:34 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | for a while, I thought you were looking for IO actions..
08:11:37 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | they're sin tacks...
08:11:39 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | with _.
08:11:41 <immibis> so it can't get flooded like that, anyway...
08:15:38 -!- Hypercaffeinated has joined.
08:17:06 * oerjan suspects a hypercaffeinated monkey
08:17:39 <oerjan> on the internet, it could be a dog
08:18:52 <immibis> note it has problems with ping due to the TDWTF-worthy (TM) code I wrote ages ago. It gets lots of ping timeouts
08:18:56 <Hypercaffeinated> Usage: !c [--target={NICK|CHANNEL}] [-T] [-d] [-e] [--other=DRINKTYPE] [-mMILKTYPE] [-sNUMBER_OF_SUGARS] [-zSIZE]
08:18:57 <Hypercaffeinated> -mMILKTYPE milktype can be none, hot, cold, frth, agnet, agnetic, or chocolate or a user defined string
08:18:58 <Hypercaffeinated> --target={NICK|CHANNEL} Give the coffee to the specified nick/channel
08:19:00 <Hypercaffeinated> -sNUMBER_OF_SUGARS Give a negative value for an infinite number
08:19:03 <immibis> (note to self: condense help)
08:19:04 <Hypercaffeinated> Send the specified MESSAGE to the specified NICK or CHANNEL (if a channel, the bot must be in that channel)
08:19:49 <oerjan> (note to immibis: condense help something drastic)
08:19:55 <Jiminy_Cricket> Blah, killer mutant sea cucumbers are a lot cooler than bots
08:20:44 <immibis> btw its called hypercaffeinated because it makes coffee
08:20:46 <oerjan> i'm afraid the best attempt so far at making sea cucumbers sentient took more than 500 million years
08:21:22 * Hypercaffeinated is making a coffee in an office mug with cold milk for this channel
08:21:23 * Hypercaffeinated gives everyone in this channel a coffee in an office mug with cold milk
08:21:34 <oerjan> oh wait that was not a sea cucumber
08:21:55 <oerjan> oh no, it's _that_ bot
08:22:26 <immibis> i should try to not annoy anyone for 24 hours.
08:25:47 -!- Hypercaffeinated has changed nick to coffeebot.
08:31:44 <fizzie> immibis: Yes, no flood protection at all in fungot. Still, I don't think it has yet excess-flooded. optbot has some sort of delay for messages, though.
08:31:44 <optbot> fizzie: if that wasn't enough, liberal printf sprinkling in the code helps
08:31:44 <fungot> fizzie: i guess what theblunderbuss suggested
08:32:01 <fizzie> http://zem.fi/~fis/fungot.b98.txt
08:32:01 <fungot> fizzie: i didn't have gdbm installed?
08:32:24 <fizzie> fungot: Uh... what do you want gdbm for?
08:32:25 <fungot> fizzie: so the name integer also specifies a fnord of the list
08:32:48 <fungot> immibis: that doesn't explain my problem. it set-car!'d the car of a list
08:33:06 <immibis> fungot: um have you been looking at car magazines again?
08:33:07 <fungot> immibis: iirc with floating points tend to have their stock price display on my home systems...
08:35:31 <fizzie> Not too coherent chatter today.
08:36:04 <oerjan> fungot: do you want gdbm to be more coherent?
08:36:04 <fungot> oerjan: can you think of fungot?"
08:36:22 <oerjan> fungot: ah so it's to become self-aware?
08:36:22 <fungot> oerjan: it creates freedom of choice
08:36:31 <immibis> gdbm needs to be more self-aware.
08:36:37 <immibis> fungot: gdbm needs to be more self-aware.
08:36:38 <fungot> immibis: it can generate so fast code and yet be tolerable to deal with
08:38:04 <immibis> fungot: code is not snakes, ffs.
08:38:04 <fungot> immibis: heh. i've just read a fnord into memory, sticking the data section last, and just include " scheme48.h"
08:38:35 <immibis> fungot: ^bf +++++++++++++.---.
08:38:36 <fungot> immibis: is it just that? sure, just paste it here
08:39:38 <fungot> ............................... !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ...
08:40:07 <oerjan> oh it does > 127 chars
08:40:31 <fungot> ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:987654321 ...
08:40:59 <toBogE> >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop
08:41:06 <toBogE> >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop
08:41:16 <toBogE> >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop
08:41:18 -!- toBogE has quit (Read error: 104 (Connection reset by peer)).
08:41:22 -!- coffeebot has quit (Read error: 104 (Connection reset by peer)).
08:41:40 -!- toBogE has joined.
08:41:59 -!- Hypercaffeinated has joined.
08:42:35 <oerjan> fizzie: what about just censoring 10 and 13?
08:42:57 -!- Hypercaffeinated has changed nick to CoffeeBot.
08:42:59 <immibis> oerjan: it does, did you look at the output?
08:43:09 <fizzie> Yes, but it does everything <32.
08:43:14 <fizzie> You can't do CTCP with it right now.
08:44:26 <fizzie> Maybe I could just do 10 and 13, although the control characters aren't very pretty when output.
08:44:36 <oerjan> of course +c censors some others
08:45:34 <fizzie> What's with the unicode issues it has, anyway... it should just repeat them bytes back like they came in.
08:46:01 <fizzie> ^bf ,[.,]!it's a lambda: λ <- yay, a lambda!
08:46:01 <fungot> it's a lambda: .. <- yay, a lambda!
08:46:06 <oerjan> yes... did you censor > 127 previously?
08:46:26 <fungot> .. e i a .. .. .. e i a .. ..
08:46:40 <fizzie> I didn't. It might be a "characters are input as signed numbers" thing, which would leave the cells to be <0.
08:46:48 <fizzie> While the normal +- manipulation does mod-256.
08:47:10 <oerjan> hm that means you could fix it with a +- extra?
08:47:32 <oerjan> ^def echo2 bf >,[.>,+-]<[<]+32[.>]
08:47:40 <fungot> . e i a æ å.. e i a æ å
08:48:03 <oerjan> ^def echo2 bf >,+-[.>,+-]<[<]+32[.>]
08:48:06 <fungot> æ e i a æ å.æ e i a æ å
08:48:37 <oerjan> except why the . instead of space?
08:49:21 <oerjan> ah if ] tests mod 256 but it's not _actually_ a 0?
08:49:23 <immibis> ^bf +[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>+]
08:50:09 <oerjan> ^def echo2 bf >,+-[.>,+-]<[<]++++++++++++++++++++++++++++++++[.>]
08:50:16 <fungot> æ e i a æ å æ e i a æ å
08:52:02 <fizzie> ^bf +++++[>----------<-]>.-------------------.
08:52:38 <fizzie> I'll have to try and remember to add a 91g% in the input handling.
08:53:10 <fizzie> Or actually a 91g+91g%, since % doesn't like negative numbers that much.
08:54:11 <fizzie> (I keep the constant 256 in (9, 1) when doing brainfuck, so I don't have to do 88+:* or anything like that.)
08:55:08 <fizzie> 256-50, 256-50-19 => 206, 187 => 0xce 0xbb, the UTF-8 for U+03BB.
09:01:27 <fizzie> ^bf ,[.,]!it's a lambda: λ <- yay, a lambda!
09:01:27 <fungot> it's a lambda: λ <- yay, a lambda!
09:01:35 <fizzie> Okay, no need for workarounds any more.
09:07:05 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | some funky UK os.
09:16:51 -!- immibis has quit (Read error: 110 (Connection timed out)).
09:18:50 -!- toBogE has quit (Read error: 110 (Connection timed out)).
09:20:31 -!- CoffeeBot has quit (Read error: 110 (Connection timed out)).
09:23:49 <fungot> echo reverb rev bf rot13 hi rev2 fib wc ul echo2
09:25:46 <fizzie> Empty strings probably count as "no output".
09:26:24 <fizzie> Anyway, it'll be a couple of magnitudes faster when I get that stand-alone interpreter fungotized.
09:26:24 <fungot> fizzie: what's the name of
09:27:50 <oklopol> there's nothing sexier than slow computation
09:27:55 <oklopol> so slow you can do it faster yourself
09:34:17 -!- olsner has joined.
09:34:45 <fizzie> Yes, it runs out of time for just about anything.
09:35:21 <fizzie> Wow, _six_ characters!
09:35:49 <fizzie> It goes up to eleven, uh, I mean, eight.
09:36:04 <fizzie> Wait, I messeded up. :p
09:36:25 <fizzie> Broke down when writing the output.
09:37:03 <fizzie> Seems to depend on the characters, even.
09:37:12 <oklopol> if only the time limit wasn't *that* short, you cannot do *any* flow control with that
09:37:57 <oklopol> but small ascii code shouldn't help with befunge
09:38:08 <fizzie> The Underload interpreter is brainfuck.
09:38:12 <fungot> >,[>,]<[<]>[<+4[>-8<-]+>-[-7[-2[<+3[>-4<-]+>[<+4[>-5<-]+>[-11[-3[[-]<2[>[-]>+<2-]>>[<2+>>-]+<[->-<3[[>+<-]<]>>[>]]>[->[>]<[[>+<-]<]<2[[>+<-]<]<[[>+<-]<]>>[>]>[[[>]>+<2[<]>-]<2[[>+<-]<]>>[>]>[>]>[<2[<]<[<]<+>>[>]>[>]>-]<2[<]>]>>[[<+>-]>]<2[<]]]<[->>[>]<[[>>+<2-]<]<2[[>+<-]<]>+>[>]+5[>+8<-]+2>-[<+[<]>+[>]<-]]>]<[->>[[<2+>>-]>]<3[[>+<-]<]]>]<[-<[[<]>.[-]>[[<+>-]>]>>[[<+>-]>]<2[<]<2]>>>[[<+>-]>]<2[<]<]>]<[->>[>]<[[>+<-]<]<2[>>>>[>]
09:38:16 <oklopol> well then that's kinda obvious
09:39:56 <oerjan> it would be too awesome if oklopol were blind
09:47:01 <fizzie> Let's see what I broke.
09:47:10 <fizzie> ^bf +.>+++++++++++++++[>++++>++++++>+++++++>++>+++++<<<<<-]>+++++.++.>------.>>>--.++++++.-.<++.<.++++++++++.>.<<+++++++++++++.+++++++++++.---.>+++.<----.<<.
09:47:55 <fizzie> I think +c might filter ^G out.
09:49:35 <oklopol> this i reverse-engineered from ^G, yes
09:49:38 <fizzie> ^def ctcp bf +.,[.,]+.
09:49:42 <fizzie> ^ctcp ACTION is alive!
09:50:53 <fungot> <CTCP>.. !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ...
09:51:22 <fizzie> Doesn't the CTCP PING echo whatever was sent?
09:51:57 <oerjan> 10:51 fungot [n=fungot@momus.zem.fi] requested CTCP PING from #esoteric: fungot
09:51:58 <fungot> oerjan: there was a brain?
09:52:08 <fizzie> Oh, it does, but since it's NOTICE it won't respond.
09:52:45 <fizzie> oklopol's client sure is strange, though: it responded with "PING 1223801452" instead of "PING fungot" like everyone else.
09:53:08 <oklopol> i have the most popular irc client in the world.
09:53:14 <fizzie> CTCP replies are sent as 'NOTICE' messages, not 'PRIVMSG's.
09:53:56 <fizzie> Which is actually according to the spec: all automatic replies to PRIVMSG messages should be sent as NOTICEs -- and no automatic replices should be sent for NOTICEs ever -- in order to avoid loops.
09:54:15 <fizzie> No-one writes ircbots like that, though, since the notices look so ugly.
09:55:04 <fizzie> Although I think ircii converted privmsg->notice when a script tried to reply to a privmsg.
09:56:08 <oklopol> sHOULD i wATCH aNOTHER ePISODE oF sOUTHERN pARCKK??
09:57:26 <fungot> You should DONATE ALL YOUR MONEY TO ME.
09:58:22 <oklopol> but then how would i buy my porridges :<<<
09:58:31 <fungot> Then I will use it to buy BEER AND HOOKERS.
09:58:37 <fizzie> fungot: Wait, that was not part of the deal!
09:58:45 <oerjan> you'll have to make do with bark porridge
09:58:52 <oklopol> i have to read about a hundred pages today, so i guess i'll start doing that
10:27:05 -!- oerjan has quit ("leaving").
11:05:22 <oklopol> i actually *did* watch another episode
11:05:35 <oklopol> this time i won't watch if the bot says no
11:05:56 <oklopol> but what if it says nothing at all... that's a good question
11:06:11 <oklopol> i'll take that as a yes, because i'm feeling lazy
11:07:33 <AnMaster> oklopol, I think it timed out?
11:07:56 -!- habnabit has left (?).
11:07:59 <fizzie> It got confused again when I said that 'not part of the deal'.
11:08:01 -!- fungot has quit (Read error: 131 (Connection reset by peer)).
11:08:11 <fizzie> I really need to debug that thing.
11:08:35 -!- fungot has joined.
11:08:42 <fungot> ^<lang> <code>; ^def <command> <lang> <code>; ^show [command]; lang=bf, code=text/str:N; ^str 0-9 get/set/add [text]
11:08:49 <fungot> echo reverb rev bf rot13 hi rev2 fib wc ul
11:09:03 <fizzie> 'bool' is not a brainfuck command.
11:09:27 <fizzie> Yes, the help text needs updating.
11:10:01 <fizzie> I think I'll first try to fungotize that underload interp so that I can add that to ^help too. Not that it's hard to modify the help text or anything.
11:10:02 <fungot> fizzie: there are __ printab_e characters in ascii? iirc, scheme doesn't use t and nil
11:10:28 <AnMaster> btw what is the C++ish way to generate random numbers? Just cstdlib and rand() or?
11:11:01 <AnMaster> or something like std::random<int> ?
11:11:09 <AnMaster> (or whatever madness they decided)
11:12:04 <AnMaster> fungot, scheme uses #t and #f for boolean, but the rest of that line made no sense
11:12:05 <fungot> AnMaster: that's true :p. google did indeed have sufficient context
11:15:40 <fizzie> Probably just #include <cstdlib> and std::rand().
11:16:39 <AnMaster> another thing what was the syntax for parameters with default values now again?
11:17:13 <fizzie> The standard one, just "=default" after the parameter name.
11:18:42 -!- Mony has joined.
11:20:39 <fizzie> If I recall correctly the default values need to specified only in the declaration seen by the calling code. So int func(int param=42); in the headers, but int func(int param) { ... } is enough for the actual definition.
11:21:58 <fizzie> And it has the usual common-sense restrictions for positional parameters with default values; no parameters without default values allowed after some default-valued parameters and so on.
11:22:16 -!- olsner has quit ("Leaving").
11:22:26 <fizzie> ^def ctcp bf +.,[.,]+.
11:22:52 <fizzie> ^ctcp ACTION forgot the ^ctcp command with that previous crash. :/
11:22:52 * fungot forgot the ^ctcp command with that previous crash. :/
11:31:20 <AnMaster> hm I need to do something portable for srand(), gettimeofday() is posix only, time(NULL) would return same seed for a whole second, and this program may very well be run several times per second
11:31:41 <AnMaster> needs to be portable C++ in fact
11:32:35 <fizzie> Ask the user to provide a seed. :p
11:33:11 <AnMaster> fizzie, blergh, not really an option :/ Won't interact with user 99% of the time
11:33:31 <fizzie> Take a command-line argument, then. :p
11:33:40 <fizzie> There really isn't many portable things you could use; getting process ids and such is inherently even less portable.
11:34:24 <fizzie> Although there's clock() -- it's not _guaranteed_ to have any better resolution than time() but it just might.
11:34:46 <fizzie> And since it's "processor time used" it's a bit unrandom at the start of the program.
11:35:04 <fizzie> (Though not even the "processor time used" is part of the standard.)
11:35:27 <AnMaster> fizzie, considering this is C++, isn't there anything in the STL stuff one could use?
11:35:52 <fizzie> Not that I know, but I'm not really a C++ person. STL is mostly containers and such fluff.
11:42:32 <AnMaster> fizzie, is there any portable way to test for gettimeofday() hm?
11:45:51 <fizzie> Of course not; your build system probably needs to do it.
11:47:16 <AnMaster> "POSIX.1-2008 marks gettimeofday() as obsolete."
11:47:33 <AnMaster> can't find what they want instead
11:49:11 <AnMaster> oh my seems clock_gettime() is what they want
12:29:43 <AnMaster> btw I found that 64-bit Linux at least will have no issues with unix time wrapping in 2038, time_t is 64-bit here
13:01:58 <Asztal> awwww, my befunge interpreter keeps printing hearts at me :)
13:12:09 <ehird> yes, optbot is "oerjan's terrible puns bot" but I rearranged the letters after 5,0000000 typos
13:12:37 -!- oerjan has joined.
13:14:22 <ehird> immibis was bot abusing
13:14:37 <ehird> Could fizzie/someone ban CO2Games and immibis if they keep this up?
13:14:44 <ehird> I don't recall them doing any non-bot-abuse-related thing lately.
13:15:06 <ehird> 00:18:20 <immibis> hypercaffeinated is a bot
13:15:06 <ehird> 00:18:26 <immibis> another one
13:15:12 <ehird> ^ Two lines that made me unhappy.
13:15:48 <ehird> 00:21:55 <oerjan> oh no, it's _that_ bot
13:15:48 <ehird> 00:22:06 * oerjan shivers and remembers
13:15:57 <ehird> 00:22:26 <immibis> i should try to not annoy anyone for 24 hours.
13:16:00 <ehird> How about forever.
13:16:04 <ehird> 00:31:44 <fizzie> immibis: Yes, no flood protection at all in fungot. Still, I don't think it has yet excess-flooded. optbot has some sort of delay for messages, though.
13:16:04 <optbot> ehird: self.say("OMG " + frame + " REPEATS")
13:16:05 <fungot> ehird: i want a garbage collector.
13:19:05 <oerjan> i suggest we put a strict maximal limit on bot usage in this channel, and ban everyone who passes it. that way i can laugh when ehird is one of the first to be banned.
13:19:34 <ehird> oerjan: I suggest the bot owners ban people who abuse.
13:19:38 <ehird> If immibis repeats last night again, optbot will ignore him permanently.
13:19:42 <optbot> ehird: you could just loop from 2 to sqrt_of_n
13:19:46 <ehird> oh, right, yes i could
13:20:08 <oklopol> optbot: we've made naive prime-checkers before.
13:20:42 <oerjan> ehird: well my point is that i don't think it is any less annoying when people abuse their own bots
13:20:52 <ehird> oerjan: When have I abused my own bot recently?
13:20:53 <oerjan> and that includes testing
13:21:09 <ehird> I don't get what you're accusing me of.
13:21:22 <oklopol> ehird: you can get pretty spammy.
13:21:33 <ehird> oklopol: [citation needed], please
13:21:44 <oklopol> i can try to search the logs
13:21:49 <oerjan> when one is testing something, one doesn't notice how many lines fly by
13:22:12 <ehird> oerjan: i'd like some kind of idea of what you're accusing me of as a recent event
13:23:17 <oklopol> ehird: actually i'm not sure how to search for generic spam.
13:23:50 <oklopol> because i don't remember a specific instance, i'm just pretty sure i've seen you botflood when testing
13:24:11 <oklopol> for instance when we were doing that topic ca thing
13:24:32 <oklopol> and when i was testing oklotalk; of course, in both these instances, i'm the main spammer
13:25:07 <oklopol> but i'm fairly sure you were quite spammy too, on both occasions
13:25:42 <oklopol> oklotalk may be a bad example, you may just have run like two lines, and also i'm not sure you spammed at all on *this* channel, when the topic thing happened
13:25:51 <ehird> that was in esoteric-blah
13:25:54 <oklopol> ehird: yes, it ran 110 on the topic
13:25:56 <ehird> but i did it in esoteric recently
13:26:00 <oklopol> ehird: some of it was here too
13:26:01 <ehird> that only took like
13:26:10 <ehird> everyone was participating
13:26:13 <ehird> and asking questions about it
13:26:33 <oklopol> i dunno, i'm just trying to help oerjan out
13:27:18 <ehird> oerjan: no that's stream of conciousness.
13:28:24 <oklopol> i do think ehird has done some serious spamming when testing things. but i cannot recall a specific instance, so i'm kinda doubting myself here
13:28:33 <oklopol> oerjan: could you show me an instance?
13:28:47 <oklopol> i can only recall myself spamming like hell, when testing stuff
13:28:57 <ehird> my bots actually just implant memories into your mind
13:29:01 <ehird> they implanted the memory of spamming
13:29:05 <ehird> removed specific instances
13:29:15 <oklopol> i like coding in public, faster to code when people see you fail
13:29:27 <oklopol> "oh god i failed gotta fix fasttttt"
13:29:43 <ehird> i hate coding late at night
13:29:43 <oerjan> actually the point is we like to spam, and would like ehird to stop complaining about it :D
13:29:47 <ehird> i always rush and fuck things up
13:30:06 <ehird> oerjan: actually, fizzie and others were annoyed by CO2Games too
13:30:32 <oklopol> i like the fast, ugly, hackery kinda coding the most, you get results slowly, but the process is fast
13:30:56 <ehird> i start off quick&hacky
13:31:01 <ehird> then when it gets bigger
13:31:06 <ehird> i make it slightly more 'managed'
13:31:12 <ehird> until it's fully done but i can still read it
13:31:13 <oerjan> the ops don't count they have an easy annoyance chip implanted when they get the privileges
13:31:33 <ehird> oerjan: no, but when fizzie asked wtf that was about people were annoyed too in reply
13:32:01 <ehird> meanwhile http://unicodesnowmanforyou.com/
13:32:06 <AnMaster> <Asztal> awwww, my befunge interpreter keeps printing hearts at me :) <-- heh?
13:34:26 <ehird> unicode snowman for you!
13:34:29 <AnMaster> a circle segment right at the top of the page?
13:34:49 <ehird> no, that's because you don't have a font with the full unicode character set.
13:35:03 <ehird> No unicode snowman for you. ☃
13:35:22 <AnMaster> and it looked like the lower part of that symbol
13:35:23 <ehird> Meanwhile: http://☃.net/
13:35:24 <oerjan> does _anyone_ have such a font, really?
13:35:41 <ehird> it's called code2000
13:35:52 <ehird> dejavu is not a c omplete set
13:36:04 <ehird> code2000 and its addon is
13:36:22 <ehird> but not as in speech
13:36:31 <ehird> but... without the share part
13:36:39 <ehird> something like that
13:36:48 <ehird> lol, "shareware demo font"?
13:36:52 <ehird> http://www.code2000.net/#dn
13:37:06 <AnMaster> ehird, is there a more complete version?
13:37:21 <ehird> code200{0,1,2} should be a complete unicode set
13:37:25 <ehird> code2000 is, really
13:37:32 <ehird> code200{1,2} assign some undefined characters
13:37:35 <ehird> to miscellaneous stuff
13:38:03 <oerjan> they are not all undefined
13:38:20 <ehird> but yah: "The Code2000 download has been freely available and fully functional all along. It is an inexpensive shareware, though, and registration fees are much needed and much appreciated. "
13:38:27 <ehird> by shareware he means "it works fully, but plz givs me moneys"
13:38:40 <ehird> Users are required to register the font after a “reasonable” evaluation period if they like the font and continue to use it. However, determining what is “reasonable” is left for the user to decide.]]
13:39:56 <ehird> i like the guy's attitude, though
13:40:02 <ehird> as in, only register if you can reasonably afford it and such
13:47:29 <Asztal> AnMaster: it was printing extraneous \x03 due to a problem with y, which my terminal shows as ♥
13:48:18 <AnMaster> Asztal, what language is it coded in?
13:48:48 <Asztal> nowadays I'd probably choose something else though
13:49:06 <Deewiant> he probably meant the interpreter
13:49:09 <Deewiant> AnMaster: http://asztal.net/projects/befunge98
13:50:05 <Deewiant> Asztal: what would you choose these days then?
13:50:23 <Asztal> it's not actually called sponge now, anyway, I think I decided on stinkhorn when given the list of fungi
13:52:04 <Asztal> Deewiant: I would probably try C# or Haskell, maybe D because of it's metaprogramming abilities
13:52:11 <AnMaster> "The befunge-98 interpreter is currently all written in C++, and compiles under Visual C++ or G++. I currently have no plans to extend support to other languages."?
13:52:32 <Asztal> That means no wrappers for python etc.
13:52:35 <Deewiant> Asztal: all good choices, I don't have to complain to you ;-)
13:52:58 <AnMaster> Asztal, wrappers for python? Huh?
13:53:05 <AnMaster> also there is one in haskell at least
13:53:10 <Asztal> It supports trefunge, though I wouldn't be too trusting with the funge-space implementation :)
13:53:27 <AnMaster> Asztal, how would a wrapper for python be useful?
13:53:36 <AnMaster> it is a freestanding program, not a library
13:54:24 <AnMaster> wait are you coding it mainly for Windows!?
13:54:26 <Asztal> yes, but it shouldn't be terribly difficult to change that if I wanted to (which I don't)
13:54:44 <Asztal> I've tested it on linux, and it does work
13:54:54 <AnMaster> Asztal, "HRTI — with microsecond accuracy on windows"
13:55:36 <Deewiant> ah, that was a quote from there
13:55:45 <AnMaster> also it can be done on windows iirc, "GetPerformanceCounterExExEx" or something probably
13:56:28 <AnMaster> Did they leave them off for once?
13:56:45 <AnMaster> also a pitty HRTI doesn't allow nano second
13:56:54 <AnMaster> because POSIX can do that with clock_gettime
13:57:06 <oklopol> AnMaster: right, true, i guess it just means we're not positive on the axis of "hardly", so we're prolly either neutrally or softly
13:57:10 <AnMaster> would have to ifdef it still since it is an optional posix one
13:58:36 <AnMaster> CLOCK_MONOTONIC would probably be best, which is even more optional, so CLOCK_REALTIME (which is only as optional as clock_gettime) as a fallback
13:58:47 <AnMaster> then gettimeofday() as a second level fallback
13:59:05 <AnMaster> but since HRTI doesn't go down to nanoseconds there is no point in doing that :(
13:59:34 <AnMaster> oerjan, what happened to the other h?
14:00:08 <oerjan> was taken by an urricane
14:31:20 -!- Slereah_ has quit (Read error: 113 (No route to host)).
14:36:44 -!- Slereah_ has joined.
14:45:15 <ehird> On #esoteric today: AnMaster recoils after learning that something is related to Windows.
14:45:28 <ehird> Hastily bombards person with how to immediately switch to a POSIX-compliant OS.
14:51:46 <ehird> Deewiant: yes, an in-depth special on this rare event
15:07:05 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | and voila.
15:09:38 -!- slereah has joined.
15:09:38 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)).
15:43:12 -!- Mony has quit ("reboot").
15:45:36 -!- Slereah_ has joined.
15:45:36 -!- slereah has quit (Read error: 104 (Connection reset by peer)).
15:50:00 -!- slereah has joined.
15:50:00 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)).
15:53:01 -!- slereah has quit (Read error: 104 (Connection reset by peer)).
15:53:07 -!- Slereah_ has joined.
16:09:24 -!- slereah has joined.
16:09:24 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)).
16:36:03 -!- oerjan has quit ("leaving").
17:02:24 -!- LinuS has joined.
17:02:48 -!- LinuS has quit (Client Quit).
17:31:35 -!- Mony has joined.
18:23:30 <oklopol> also i like your nick better like that, without the capital
18:31:51 <AnMaster> ehird, does the bouncer log /msg and display them when you ais connects next time?
18:32:03 -!- fizzie2 has joined.
18:32:17 <ehird> AnMaster: I wonder how many times I'm going to have to point you to the day of the week before you realise to stop asking me this question every Sunday?
18:32:26 <ehird> I think I've done it about 3-5 times now.
18:32:28 -!- Slereah_ has joined.
18:32:30 <AnMaster> ehird, and the second question?
18:32:30 -!- slereah has quit (Read error: 104 (Connection reset by peer)).
18:32:39 <AnMaster> also he is sometimes here on Sunday
18:33:06 -!- fizzie has quit (Read error: 148 (No route to host)).
18:33:15 -!- fizzie2 has changed nick to fizzie.
18:34:16 <fizzie> One of the network cables I have doesn't really have that thing that goes click, so it got loose when I was trying to move them computers from the previous setting ("in a big pile on top of each other") into a shelf.
18:55:20 -!- deveah has joined.
19:12:11 <deveah> dude, understand I have not.
19:31:36 -!- Hiato has joined.
19:35:21 -!- Hiato has quit (Client Quit).
19:40:04 -!- sebbu2 has joined.
19:56:24 -!- sebbu has quit (Read error: 110 (Connection timed out)).
19:58:08 -!- deveah has left (?).
20:12:30 -!- KingOfKarlsruhe has joined.
20:21:07 -!- Mony has quit ("Ne regrettons pas le passé, ne nous préoccupons pas de l'avenir : le sage vit dans le présent.").
20:45:10 <fizzie> Out of curiosity, what should happen if a Funge-98 IP were to hit the > on the line ";>#;"? (Quotes not part of the line, obviously.)
21:03:07 -!- KingOfKarlsruhe has quit (Remote closed the connection).
21:04:57 -!- KingOfKarlsruhe has joined.
21:07:05 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | If (x,y) is in the set, f(x) = y..
21:12:26 <AnMaster> fizzie, well it would begin executing code there
21:12:52 <AnMaster> which means jump over the ;, hitting the second (first one line) ;
21:13:07 <AnMaster> so it jumps to matching ; at the end
21:13:13 <AnMaster> then wraps hits the first ; again
21:13:31 <AnMaster> and so on until some other thread hit q or use p to change that place
21:13:37 <fizzie> Yes, but what happens to the other IPs? ;...; takes no ticks and same for space.
21:14:11 <AnMaster> the funge interpreter isn't required to detect and prevent infinite loops
21:14:13 <fizzie> That was my conclusion too, but it sounds a bit strange.
21:14:38 <AnMaster> fizzie, unless the interpreter is threaded with MVRS
21:14:54 <AnMaster> because the different universes there doesn't need to be in sync
21:15:11 <AnMaster> in fact allowing taking advantage of multi-core
21:15:41 <AnMaster> but with plain t you got an issue yes
21:16:19 <AnMaster> fizzie, the same would happen if you use certain fingerprints that jump without changing delta, to jump to an empty line
21:17:59 <pikhq> Who said the set in question describes a function?
21:18:33 <psygnisfive> in this very isolated quotation, noone! :o
21:18:54 <psygnisfive> it depends on whether or not there exists a z != y such that (x,z) is also in the set!
21:19:42 <pikhq> In fact, it could very well be f(y) = x. ;p
21:21:58 <psygnisfive> since the convention is that if f is a function, then (x,y) in f can be written f(x) = y
21:23:12 <pikhq> Convention says jack shit about formal definitions.
21:23:32 <psygnisfive> well, orthographical conventions ARE formal definitions
21:23:51 <psygnisfive> after all, a formal system is a system based on the form of the thing in question
21:24:25 <psygnisfive> not that you couldn't define f(x) = y as an abbreviation for (y,x) instead of (x,y)
21:25:13 <psygnisfive> since ordered pairs are really not ordered any way we'd normally perceive as being order. in the abstract sense, anyway
21:54:07 -!- kar8nga has left (?).
22:01:25 -!- KingOfKarlsruhe has quit (Remote closed the connection).
22:49:11 -!- slereah has joined.
22:49:11 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)).
23:18:01 -!- g0bl1n has joined.
23:18:31 <g0bl1n> can this brainf*ck initialization be reduced ?
23:18:33 <g0bl1n> +++[>+++++++[>++++>+++>+>+++++>+++++>++<<<<<<-]>>+>+++>++>->++[<]<-]
23:21:46 <g0bl1n> AnMaster, any hint ? :)
23:26:36 <fizzie> If you have a zero in the cell to the left of the initial one (like you'd probably have with a wrapping array) you could maybe save a whopping one (1) character by replacing "<<<<<<" with "[<]>>". Not going to try thinking of a better way to set the actual numbers.
23:30:10 <g0bl1n> i have no zero, i'd have to create another cell i believe
23:30:38 <g0bl1n> i tried that solution and it enters an infiniteloop
23:31:09 <GregorR> You should be able to represent what you're trying to achieve as a string then run it through calamari's genetic algorithm.
23:32:42 <g0bl1n> GregorR, yes I have the string (the final result). where do i get calamari's genetic algorithm ?
23:33:39 <g0bl1n> fizzie, you just saved me 1 byte ;)
23:38:28 -!- ihope has quit (Read error: 104 (Connection reset by peer)).
23:39:22 <g0bl1n> or 2008: >>>++.--..++++++++.
23:39:48 <g0bl1n> one more cell would not help, agree ?
23:47:46 -!- OverNord has joined.
23:55:02 <psygnisfive> http://video.xtube.com/watch.php?v_user_id=FukGender&cv=0&idx=3&v=985m8n6P3po&cl=xTxnsh8b7mY&from=&ver=3&ccaa=1&qid=&qidx=&qnum=&preview_flag=
23:56:08 -!- OverNord has left (?).
23:59:57 <GregorR> g0bl1n: It's in the files archive somewhere, just a sec.