00:10:03 -!- KingOfKarlsruhe has quit (Remote closed the connection). 00:16:06 -!- Slereah_ has joined. 00:54:33 -!- Slereah has joined. 00:54:38 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 01:29:58 -!- ryanakca has joined. 01:30:25 I suppose the sysadmins know that the wiki is kaput? 01:47:13 -!- Slereah has quit (Read error: 113 (No route to host)). 03:07:08 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | ^x x. 03:36:07 -!- pikhq_ has changed nick to pikhq. 05:20:25 http://www.peta.org/Sea_Kittens/index.asp 05:20:28 save the sea kittens 05:20:29 !!! 05:28:34 -!- Sgeo has quit (Read error: 110 (Connection timed out)). 05:38:59 Wow, that's retarded. 05:39:07 That's so retarded it makes me want to go eat fish, and I don't even like fish. 05:40:03 Yeah, fish is nasty 06:32:58 So retarded that it reminds me of people getting turned into monkeeys. 06:34:16 (Cowboy Bebop episode) 06:43:26 -!- hando has joined. 06:43:35 hello 06:43:43 what's wrong with esolangs wiki? 07:11:36 Lurve how people only come to this channel if the wiki is borked :P 07:12:01 hando: Well, the problem is that it's borkleborked, and we don't have our deborklarizing ray warmed up yet (it runs on tubes y'know) 07:12:51 real17m42.983s 07:12:52 user17m18.653s 07:12:54 sys0m1.716s 07:13:06 I think I need to tweak this slightly... 07:13:24 Depends on what your'e doing with those 17 minutes. 07:13:28 I think it's O(n^3 * m^3) now 07:13:36 not a bloody lot :( 07:13:46 That's /probably/ a bad running time :P 07:15:32 it takes every distinct triple from a list of ~1000 strings and finds the longest (longest common substring of the triple), which is really... probably not the right way to go about it 07:15:59 so that's 1e9/6 triples :D 07:16:48 but that 17 minutes figure was with only 140 strings (they're IRC messages, so, not long strings) and it hadn't even finished yet 07:24:00 it kind of works, though... it generates " retarded" given the most recent messages :) 07:29:18 GregorR: long time no see 07:49:26 So.. graue runs the wiki, but he's not there, so the wiki keeps being broken? 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:48:30 -!- oerjan has joined. 08:49:22 * oerjan wonders why spammers send him email in german 08:49:39 i mean, if it was random - but i cannot recall any french, say 08:56:12 hando: that looks broken indeed. and graue is very rarely here. 08:57:06 I wasn't even aware that there was a 'graue' person... 08:57:14 And I've been here regularly for 2 years. 08:57:26 oh i've seen him 08:58:02 he's pretty rarely on the wiki too, when i think about it. but for minor problems there are several admins 08:58:16 but i guess only graue can handle a real crash 08:59:06 * oerjan doesn't know as he is not a wiki admin 08:59:50 ais523 is one, but he is away, which means not logged in as he and ehird share an irc bouncer 09:00:55 also, sunday morning is about _the_ slowest time on this channel 09:03:41 oooooooooooooooooooooooooooooooooooooooooooooooooooo 09:03:43 HIYA 09:03:59 good moaning 09:04:00 * oklopol is memorizing processor designs 09:05:05 some day in the far future your memory will be _full_, and you will start regretting it. just before you descend into senility. 09:06:54 doesn't seem too far-fetched, i'm already starting to forget english vocabulary at an alarming rate. 09:07:03 eek 09:07:08 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | err. 09:07:21 even optbot is shocked 09:07:22 oerjan: I was going to tell him something! 09:07:35 optbot: well speak out 09:07:36 oerjan: near* 09:07:54 for instance, took me about a minute to find the word far-fetched, a word i've known since i was -1 09:08:47 but, usually when i take a break from reading, the words come back, and all the new data stays too 09:09:04 okokokokokokokokokokokokokokokokokokokokokoko 09:09:08 well don't mind me, i cannot even think and chew at the same time 09:09:17 as in, i just bit myself in the mouth 09:10:26 also processor designs aren't that hard to memorize, i know the mips instruction set by heart, and i know exactly how it's translated to opcodes, so all i have to do it traverse the set of operations, and check what lines and registers i need 09:10:26 also, okokokokokokokokokokokokokokokokokokokokoko 09:11:11 the hard part is i have a hard time letting myself draw the lines in slightly different shapes than the ones in the book 09:11:19 * oerjan suddenly wonders if there's a wickedpedia 09:11:37 functionally equivalent, but the exam checker will see i don't have a photographic memory 09:11:42 and he will laugh 09:11:50 and probably spit on my paper 09:11:52 in disgust 09:12:02 apparently there is 09:12:08 :P 09:12:56 it's about disney villains? 09:14:01 (although there is also a wickedpedia.no, which is about erotica) 09:15:32 and people apparently use it as a slur against wikipedia itself. oh well. 09:17:01 there probably is a secret wickedpedia used just by exam checkers, you know 09:20:54 are they wicked? 09:27:50 Wicked morning. I mean, good. 09:29:49 oh noes, fizzie is an exam checker! 09:53:41 -!- oerjan has quit ("Sniffle"). 09:59:06 hm 09:59:49 morning 10:03:31 -!- Mony has joined. 10:04:31 plop 10:14:49 o 10:20:59 o 10:24:52 -!- kar8nga has joined. 10:28:08 -!- oerjan has joined. 11:01:05 -!- oklopol has quit (Read error: 104 (Connection reset by peer)). 11:25:21 fizzie, there still? 11:26:58 Would saying something like "If a ATHR thread causes an internal crash in the interpreter, it shall if possible not crash other threads." be a good idea? 11:26:59 Partially. Trying to eat some breakfast. 11:27:35 I can semi-guarantee that in my implementation. Only thing would be if I hit some internal erlang bug or cause a cascading crash. 11:28:15 but for example if I had a bug in some fingerprint crashing division by zero it would get logged but not affect other threads. 11:28:28 Or would that be hard to implement in most other languages? 11:28:37 hi ehird 11:28:42 hi ais523 11:28:58 hi AnMaster 11:29:01 can't be here long 11:29:10 this Internet connection is really dodgy, too 11:29:19 a while ago it was only giving me one second of connectivity before breaking 11:29:24 ais523, http://rafb.net/p/AQQhs539.html 11:29:32 also, both my main email and backup email are down at the moment 11:29:35 which is annoying 11:29:38 ais523, but I assume you will be back later today? 11:30:05 probably not 11:30:07 it's Sunday 11:30:13 I will probably be back tomorrow though 11:30:13 ais523, well see that link now then 11:30:22 I have skimmed it 11:30:29 very quickly 11:30:35 what in particular should I be looking at? 11:30:37 ais523, and see scrollback for the last few lines before you said hi 11:30:49 ais523, that ATHR implementation is making progress :) 11:31:55 ais523, poke? 11:31:55 It's not hard to implement if you only say "if possible". 11:32:06 fizzie: things can be possible and still difficult 11:32:09 ais523: anything you can do about the wiki or are we just going to have to wait for graue? 11:32:18 oerjan: what in particular needs doing? 11:32:18 ais523: Well, it's also a SHOULD, not a MUST. 11:32:22 I can do a lot but not everything 11:32:30 it's crashed, basically 11:32:37 I can't fix that... 11:32:41 fizzie, ah. Hm also I need a function to give back thread id, may not be useful in ATHR on it's own, but could potentially in future fingerprints extending ATHR 11:32:56 generally speaking Graue fixes it within a day if you email them, though 11:33:35 hmm... same error as last time 11:33:35 "from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1194: Table 'mw_objectcache' is marked as crashed and should be repaired" 11:33:36 ouch 11:33:39 really ouch 11:33:40 i don't have his (their?) email 11:33:52 I know the fix, but it requires MySQL root access on the server the wiki's running on 11:33:53 so I can't do it 11:34:07 oerjan: well, with a name like Catatonic Porpoise, the gender isn't obvious 11:34:12 ais523, which is why you use postgre instead of mysql 11:34:35 you can say that. i had forgotten that nickname. 11:34:37 ais523, since postgre seems to be less messy on crash in my experience 11:36:00 graue@oceanbase.org, anyway 11:39:59 can anyone hear me? 11:40:15 * oerjan is hearing (and mailing) 11:40:24 hm 11:40:24 -!- oklocod has joined. 11:40:28 ais523, no I can't 11:41:26 fizzie, ais523: Should F (flush signal queue) return any messages that were flushed? 11:41:53 like count at the top of the stack, followed by that number of signals that were in the queue 11:42:00 or should it just discard them all? 11:45:26 I think it should return them 11:47:30 ais523, fizzie: http://rafb.net/p/PB3f2o65.html 12:00:19 -!- Corun_ has joined. 12:01:23 ais523, fizzie: I think it may be quite possible to do hot code change of parts of efunge without stopping :D 12:01:29 not that anyone would ever want it 12:01:37 in fact I did that on the input server just now 12:01:50 I don't have a very specific opinion on F returning the signals; the name "flush" doesn't really sound like it'd return them. But since you can just use "k$" to get rid of them values, it doesn't really hurt. 12:02:16 indeed, and it can be useful to get them 12:02:24 hmm... figuring out how to hot-change parts of a Feather program while it's running is a major problem 12:02:52 ais523, oh? Well I could potentially hot-change _any_ part of efunge. 12:03:00 AnMaster: well erlang is known for being able to do that... 12:03:11 actually the ets tables may cause a tiny amount of issues there 12:03:26 oerjan, true, but you need to be careful with your design for it to work in erlang too 12:03:50 following the otp design principles 12:04:01 (sp?) 12:04:15 -!- oklopol has joined. 12:04:50 there is something called Erlang/OTP, so must be right 12:05:54 oerjan, no I mean "principles" 12:05:59 if that was the correct spelling 12:06:03 sounds right too 12:06:05 I know how to spell OTP of course 12:06:46 i'm sure i've seen it spelled wrong (principals) 12:06:53 haha 12:08:27 -!- Slereah_ has joined. 12:08:42 oerjan, http://www.erlang.org/doc/design_principles/part_frame.html 12:09:15 oh and OTP is probably the most misnamed technology ever. 12:09:40 it stands for Open Telecom Platform, except these days erlang and OTP is used for lots of stuff not related to telecom... 12:10:45 actually SASL may be worse since it is confusing with another technology... 12:10:53 in erlang context it means "System Architecture Support Libraries" 12:11:06 elsewhere it tends to mean "Simple Authentication and Security Layer" 12:11:22 oh and OTP usually means "one time password" outside erlang context 12:13:00 yeah noticed that 12:13:25 so erlang had quite bad luck with acronyms 12:14:14 we need to find an acronym for this concept 12:14:25 oerjan, what about the erlang table viewer tool? tv 12:14:45 (a debugging tool really) 12:15:12 O_O you'd think they're doing it on purpose :D 12:15:20 there is also the event tracer et 12:15:22 :D 12:16:07 oerjan, a database called mnesia (the story goes some boss said they couldn't call a database "amnesia". "You can't have a database that forgets things!" so they just dropped the a). 12:16:30 well that's clever enough 12:16:36 yeah 12:16:58 except i'm dubious on there being an a in the first place 12:17:29 oerjan, well Joe Armstrong (one of the original designers of Erlang) claims that story in one of his books about erlang 12:18:12 * AnMaster got it as an ebook 12:18:40 oerjan, http://rafb.net/p/u5s4kE75.html (copy and paste from said ebook) 12:19:19 oh well 12:20:36 anyway sasl and otp are poorly selected acronyms indeed. Especially since they mean something else within computer context. (while tv doesn't). 12:20:56 -!- oklocod has quit (Read error: 110 (Connection timed out)). 12:21:07 But sasl and opt are both good and will be used in efunge (otp supervisor tree is already used) 12:21:33 otp* 12:21:37 (not opt) 12:23:42 quite common misspelling that, right optbot? 12:23:42 oerjan: that isn't an earth shattering problem is it? you can still implement continuations easily with coroutines... 12:25:18 heh 12:45:41 -!- Corun_ has quit ("This computer has gone to sleep"). 12:46:23 -!- Corun has joined. 12:59:56 hi ais523 13:00:02 oh 13:00:03 he's gone 13:00:13 neener neener 13:02:09 neeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeer 13:04:13 those finnish long vowels are really scary 13:07:01 Nëëner 13:09:51 that's not finnish, i think it may be estonian 13:11:01 oh wait, albanian 13:39:45 albanian has long Ă«'s? 13:41:05 * oerjan checks 13:44:30 ah, only the Gheg dialect has long vowels 13:44:55 heh? 13:45:33 what's heh about that 13:45:43 albanian has two main dialects, Gheg and Tosk. Tosk is the basis of the standard language 13:47:58 HUH 13:48:09 this is crazy :D 13:48:26 the erlang table viewer got an option to make it output error messages in Haiku. 13:51:07 Question: 13:51:24 How should I differentiate "wrapped text" and "linebreaked text"? 13:51:26 This is a poem, 13:51:27 indeed it is, 13:51:30 and it should use linebreaks. 13:51:31 -- 13:51:34 "The selected table is unreadable! Only table information may be viewed!" (normal) vs. "Table protected.\nThe answer that you're seeking\nwill remain unknown." 13:51:35 hehe 13:51:37 But this is just some long, wrapped text, and 13:51:39 -!- Corun has quit ("This computer has gone to sleep"). 13:51:43 it should not use linebreaks because it is not 13:51:44 a poem. 13:52:26 ehird, well what about mixing CR and LF, like LF for wrapping and CR for line break? 13:52:29 or something like that 13:52:39 that is the only pure text way I can think of 13:52:48 AnMaster: I mean, without modifying the original text. :-) 13:52:56 A heuristic is fine, of course. 13:53:03 ehird, ah you mean to *detect*? 13:53:08 *nod* 13:53:09 well that is trickier... 13:53:33 I'm pondering writing a little program that turns EmailML (as in, the conventions people use when emailing) into HTML. 13:53:39 Since it comes naturally to me already. :-P 13:53:41 and I can't think of any simple way, if it seems the text is always cut off near column 70-80 then maybe? 13:53:49 AnMaster: Yeah, probably. 13:53:56 I don't think there are many poems with lines this very long, 13:54:02 Because they would not be very fun to read, indeed, they would not, 13:54:11 Yep, this is certainly not a poem, indeed, yepidoodle, blah blah blah. 13:54:15 ehird, if you restrict yourself to some specific type of poem and a specific language you could analyse word structure and so on 13:54:27 should be possible to detect for example Haiku that way 13:54:32 and rhymes 13:54:36 Well, yeah, that's a little overblown though. :-P 13:54:42 but a generic solution I can't think of 13:54:59 I'm basing stuff on http://inamidst.com/topic/avocet 13:55:02 shakespearian meters have pretty long lines don't they? 13:55:05 because you do have to cave in somehow - 13:55:14 For example, @links that span many words (http://google.com/) 13:55:17 oerjan, was just about to mention that and other forms 13:55:23 I think i've chosen @ for the marker of the start of those. 13:55:26 for example Greek mythology 13:55:27 It seems pretty natural. 13:55:29 what's the english name 13:55:35 hexameter in Swedish 13:56:24 i think it's the same, i seem to recall iambic pentameter for shakespeare 13:59:40 aye, and occasionally trochaic tetrametre 13:59:59 with the faerie in Midsummer Night's Dream, IIRC 14:03:41 * ehird concludes that lines under 60 chars will be linebreaked 14:06:06 ehird, which could be due to it being a header, or because there is a new section 14:06:12 say a new paragraph 14:06:44 so last line of a paragraph could just be a few words or whatever 14:06:57 well, yes. 14:06:59 but 14:07:00 I mean 14:07:08 the last line won't be breaked 14:07:09 ehird, also a line could be shorter to avoid breaking a long url on the next line into several parts 14:07:10 or such 14:07:11 because there is no following line anyway 14:07:27 or a long inline math expression or whatever 14:07:28 AnMaster: well, you can't do this: 14:07:31 This is an awesome poem yeah yeah: 14:07:32 foo bar 14:07:33 quux 14:07:34 dead 14:07:38 Yeah I love it man it is amazing I love it yeah man 14:07:40 it is great man yeah. 14:07:48 "is-linebreaking" is a property of -paragraphs- 14:07:55 so only the first line has to be over 60 chars 14:07:55 ehird, hm 14:08:23 what if it is shorter due to a long url didn't fit onto the same line? 14:08:41 in the case that you need to break before 60 chars to stop a URL being huge, well, just let it go over 80 columns 'cause when would that ever happen 14:08:44 AnMaster: as i said - how many paragraphs have a URL before the first 60 chars? 14:08:46 on the first line 14:08:48 not just any URL 14:08:50 a _long_ URL 14:08:53 i'd say... not many. 14:09:04 in those rare cases, just let the line go over 80 chars 14:09:07 Please see the documentation at 14:09:07 http://www.erlang.org/doc/design_principles/spec_proc.html#6.2 next time blah 14:09:07 blah blah 14:09:09 for example 14:09:13 that is clearly wrapped 14:09:22 AnMaster: tough shit 14:09:24 because it would have been wider than 80 chars 14:09:24 put the URL on the first line 14:09:31 ehird, doesn't fit into 80 chars 14:09:35 and? 14:09:55 yes, i'm aware you don't use any programs made after the 70s, but everyone else does 14:10:13 to wrap, or not to wrap, that is the question 14:10:19 ehird, the majority of email clients (including Thunderbird and most other GUI ones I seen) defaults to breaking at 80 14:10:36 why are you writing a document in a mail clien 14:10:36 t 14:10:46 ehird, " I'm pondering writing a little program that turns EmailML (as in, the conventions people use when emailing) into HTML." 14:10:54 I thought that was about email? 14:11:10 No, it just so happens that the pseudo-plaintext used by humans most commonly appears in email. 14:11:16 ah 14:11:32 ehird, also the email specs states some max line length, can't remember what exactly atm 14:11:43 That's not the user's problem. 14:12:18 ehird, hm? It means the email client has to wrap before that 14:12:34 why are you writing a document in a mail client 14:13:32 ehird, well pseudo-plaintext is common there 14:13:39 So? 14:13:44 ehird, and even in text documents I wrap at 80 14:13:48 and so does ais523 I bet 14:14:30 Yes, so do I, for readability (well, actually at around 70). My point stands: The amount of texts in which a long URI is before first 60 characters of the first line of a paragraph is minimal. 14:14:39 And in those texts, I'm sure you can handle going over 80 chrs for just one line. 14:15:02 ehird, right you use bibtex for them instead ;P 14:15:54 some other detection you may want to add: 14:16:01 Hm. 14:16:02 Actually: 14:16:03 leading space and * 14:16:05 A line (B) after a line (A) is part of a wrapped paragraph if 14:16:05 len(A+' '+B) > 60. 14:16:07 to detect bullet lists 14:16:13 same for numbers 14:16:14 AnMaster: Yes, yes, I've got that all down. 14:16:25 But I think [[A line (B) after a line (A) is part of a wrapped paragraph if 14:16:25 len(A+' '+B) > 60.]] is reasonable 14:16:27 since sometimes they do end near the 80th column 14:16:50 ehird, hm... 14:17:13 well this will be tricky any way you do it, but should be fairly interesting. 14:17:22 You may have to try for different values certainly. 14:17:25 Also, I'm not purely plaintext anyway, for linking. 14:17:31 The syntax is as such: 14:17:43 Foo bar baz (uri) => Foo bar baz 14:17:50 Foo @bar baz (uri) => Foo bar baz 14:19:22 ehird, if you plan to parse email you may want to auto detect gpg headers/footers and strip them or such 14:19:30 I do not plan to parse email. 14:19:31 I do not plan to parse email. 14:19:31 I do not plan to parse email. 14:19:31 I do not plan to parse email. 14:19:33 :p 14:19:34 ok 14:19:47 ehird, you should not have mentioned email in the first place then ;P 14:20:00 Well, that's the place where the pseduo-markup is used most.) 14:20:22 ehird, this thing would be very hard to accurately parse I suspect: http://rafb.net/p/vMDvmM72.html 14:20:40 especially the lists in the two last sections 14:20:51 Apart from the alignment shit, I should be able to handle that fine. 14:21:08 ==/-- of same length = header, (*|-|whatever)-space = list 14:21:13 and that's about it 14:21:17 ehird, you plan to convert it to html you said?
message here
;P 14:21:24 Heh. 14:21:32 of course that is cheating 14:21:44 I must say, if I manage to get this working, putting it on an email archive _would_ be nice 14:21:44 no it's not, it's a perfectly valid conversion to HTML :-P 14:21:50 but I imagine: 14:21:56 Foo bar baz (uri) => Foo bar baz 14:21:57 ehird, what about this type of list: http://rafb.net/p/9LtLDv21.html 14:21:59 would trip most things up 14:22:11 AnMaster: That will not be handled./ 14:22:18 oh ok 14:22:20 also: 14:22:28 Parameters (top of stack first): 14:22:29 Vpos A vector describing what cell to operate on in Funge-Space. 14:22:29 Old The value to compare the existing value in said cell to. 14:22:29 New The new value to write in said cell if Old compares equal to the 14:22:29 current value. 14:22:29 that? 14:22:56 "This section is a list of known issues (and solutions) with other fingerprints when using ATHR." 14:23:07 AnMaster: I imagine I could parse that as a definition list. 14:23:30 ehird, ah instead of "ATHR have far-ranging effects..."? 14:23:47 It should be "has" there anyway, but yes, mine is easier to read. :-P 14:23:57 since after the general considerations it goes on to list specific fingerprints and so on yeah 14:24:05 AnMaster: Do not use if pregnant 14:24:21 oerjan, ... heh 14:26:02 * A C99 compiler, or one that supports a large subset of C99, like GCC. 14:26:02 + GCC 3.4.6, 4.1.2, 4.2.1 and 4.3.2 are known to work, other versions may or 14:26:02 may not work. 14:26:02 + ICC 10.1 is known to work too. 14:26:02 - TCC 0.9.24 is known to fail at certain C99 constructs used in cfunge. 14:26:05 what about that one ehird :D 14:26:11 AnMaster: patches welcome. 14:26:21 haha 14:27:09 * Imported two new libraries into the code: 14:27:09 genx - An XML output library (used by TURT). 14:27:09 stringbuffer - Some utilities to build strings in an easy way, code was taken 14:27:09 from crossfire. 14:27:11 that? 14:27:28 Go to hell. :-P 14:27:36 well even one that could handle 75% of the cases or so would be very useful 14:27:49 so if you get this working okish I hope you release the source 14:27:53 I will. :p 14:28:05 python? 14:28:11 Yeah, but I haven't actually written it yet. 14:28:32 right 14:29:49 snake gas 14:31:38 Tada. 14:31:40 A line (B) after a line (A) is part of a wrapped paragraph if len(A+' '+B) > 60.
14:31:47 Is the output for the current docs. :P 14:32:29 * AnMaster sneaks a space and a / into that
of ehird 14:32:47 afk making food 14:33:06 AnMaster: Hi. Would you like the 20 pages worth of text on why XHTML is broken and obsolete from the start? 14:33:26 Or would you like to continue acting as if you're on the cutting edge by using broken technology. 14:33:42 -!- Slereah_ has quit (Read error: 113 (No route to host)). 14:36:24 -!- Slereah_ has joined. 14:43:16 -!- deveah has joined. 14:43:28 when are you guys going to fix the wiki? 14:43:49 hi btw 14:44:32 when graue reads his email, probably 14:46:18 aha! "his" is correct 14:46:22 uh 14:46:24 i could have told you that 14:46:38 well ais523 apparently couldn't :D 14:46:56 Hi, I'm Scott Feeney of Fairfax, Virginia and you can contact me by emailing graue@oceanbase.org. If I know you, or should, other means of contact are available, but write there first. 14:47:02 -- http://oceanbase.org/graue/ 14:47:21 that's what i just discovered 14:48:23 "Ben the Benly Benis"? 14:48:39 it seems to be a Pokey ripoff 14:55:34 ehird, about xhtml... I guess I forgot ~... 14:55:42 but I thought that was pretty clear 14:55:51 and I think both xhtml and html are pretty broken 14:55:56 general rule of sarcasm - it's meant to be funny 14:56:00 we should use S-html 14:56:05 also, no 14:56:05 (html 14:56:07 sexps are good for data 14:56:08 (head 14:56:13 sgml/xml are good for markup 14:56:21 if you can't see why, well, stop talking about markup languages immediately :| 14:56:38 ehird, I do see why yes, but that doesn't prevent me from having an esoteric viewpoint 14:57:44 what are you talking about? 14:57:50 deveah: Boring stuff. 14:57:58 like what? 14:58:06 markup languages. 14:58:08 not esolang-related. 14:58:10 oh 14:58:22 I'm developing a textmode browser right now 14:58:34 web browser 14:58:37 why is xml better for markup than sexps? 14:58:55 oklopol: sexps are not family friendly, duh 14:59:14 oklopol: it's a bit complicated 14:59:25 oerjan, hehe 14:59:38 but basically the redundancy of sgml/xml, its support for attributes and its leniency in handling trivial plain bulk text 14:59:42 is what makes it superior to sexps for markup 15:00:23 -!- oklopol has left (?). 15:00:29 -!- oklopol has joined. 15:00:30 bye oklopol. 15:00:32 hi oklopol. 15:00:41 hi ehird. 15:01:08 i wonder what the shortcut for parting is... can't be too complicated, since i keep on doing it 15:02:09 INSERT ELEMENTS head, body INTO ELEMENT html; INSERT ELEMENT title INTO ELEMENT head OF ELEMENT html; INSERT TEXT "this is a horrible idea for markup" INTO ELEMENT title OF ELEMENT head OF ELEMENT html; 15:02:13 heh 15:02:28 that's quite pretty 15:02:37 EXERT BRAIN 15:02:47 BRAAAAAINS 15:02:52 it isn't really sql even, just SQL look-alike 15:03:13 ehird: i agree as much as i'm capable of. 15:03:14 AnMaster: die :-P 15:03:17 (with some ideas from apple script, mainly the "of") 15:03:20 :P 15:03:32 ehird, hah 15:03:43 well if anyone did that seriously I would agree with you ehird 15:04:02 -!- deveah has left (?). 15:04:03 it's impossible to be serious about that 15:04:03 i hope 15:04:09 so do I 15:04:33 and I'm sure it is possible to make a even worse syntax 15:04:36 oh yes 15:05:21 WITH ATTRIBUTE href HAVING TEXT VALUE "http://example.com" 15:05:41 however on bright side: You could easily do complex SELECT 15:07:08 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | does your assembly language look like a 'normal' computer? I mean registers, labels you can use as storage and such?. 15:07:54 SELECT TEXT OF ELEMENT p WHEN ATTRIBUTE id OF ELEMENT p IS EQUAL TO TEXT VALUE "top"; 15:07:54 optbot: let's hope not 15:07:55 oerjan: Yay! 15:07:55 XD 15:08:20 COBOSQL 15:08:41 oerjan, yes and for html documents... 15:08:48 + some ideas from AppleScript 15:09:26 COBOSML then 15:09:27 So maybe COBOSQL Script? 15:09:35 oerjan, hn 15:09:40 hm* 15:10:49 SELECT TEXT OF ELEMENT p WHEN ATTRIBUTE id OF ELEMENT p IS EQUAL TO TEXT VALUE "top" AND ALSO TEXT OF ELEMENT p STARTS WITH TEXT VALUE "ehird"; 15:10:57 * ehird kills AnMaster 15:11:28 -!- LinuS has joined. 15:11:32 it's for the good of humanity! 15:11:36 the killing, i mean 15:11:38 ehird, I should actually spec this language 15:11:42 oerjan, I agree 15:12:16 Structured Text Markup Definition and Query Language 15:12:19 STMDQL? 15:13:02 Find an acronym that ends up as RAPEFIRE, because that is approximately the feeling using it will give. 15:13:24 ehird, I think either COBOSQL or COBOSML are good names for it though 15:13:33 But misleading. 15:13:38 also does sql actually need upper case? 15:13:38 COBOSQL sounds pretty easy. :-P 15:13:41 and no 15:14:05 ehird, and no I probably won't be able to spec it 15:14:15 but AND turns into AND ALSO, and OR into OR ELSE 15:15:05 commands should however end with ", OR ELSE!" 15:15:31 oerjan, somewhat like the opposite of INTERCAL's "PLEASE"? 15:15:36 yay 15:16:45 oerjan, hm? 15:17:27 you also want: BUT NOT and MAYBE operators 15:17:28 means: i didn't think of that, but yeah 15:18:40 oh top element must always be referred to with THE 15:18:53 like ELEMENT body OF THE ELEMENT html 15:19:42 oerjan, well I suggest you write the spec, you seem to have some good ideas :) 15:19:50 I wouldn't be able to to. 15:19:54 it is too horrible 15:20:04 i'm sorry no can do 15:20:19 oerjan, due to preserving sanity? 15:20:25 also, wrists 15:20:29 ouch 15:20:53 oerjan, hope your wrists get better (not related to this language) 15:20:54 not to mention i have a cold with fever 15:21:23 oh and all that messy java script changing document object model crap you know? 15:21:27 we can get rid of it 15:21:29 just: 15:22:14 UPDATE TEXT OF THE FIRST ELEMENT p OF ELEMENT body OF THE ELEMENT html SETTING NEW VALUE TO TEXT "Blergh..."; 15:22:17 or something like that 15:22:45 clearly this is not a language for bad wrists 15:22:58 oerjan, you mean because it is so verbose? 15:23:02 yeah 15:23:04 indeed 15:23:33 oerjan, also it is considered bad style to use caps lock, you should hold down shift instead all the time ;P 15:23:41 recommended coding style 15:23:45 i was thinking of that 15:24:05 oerjan, since it is case sensitive 15:24:31 "This language is insensitive to everything, except case" 15:24:39 :D 15:27:23 oerjan, I think it should require exactly correct syntax 15:27:28 oerjan, and only give: 15:27:33 SYNTAX ERROR 15:27:40 and not even line number 15:27:45 in case of an error 15:28:23 i think that is fairly common as esolangs go. 15:28:33 if even that 15:29:14 oerjan, maybe very very verbose ones that are still, somehow, not helpful at all? 15:29:32 maybe 15:29:47 it could say precisely what the error is, but not where it is 15:30:12 oh and try to do it without mentioning any actual text used 15:30:31 "you fail because you are an idiot" 15:30:50 that's not precise 15:31:12 well, it can't know why you're an idiot ;-0 15:31:15 s/0/)/ 15:31:16 "you fail because of increased dopamine level in the hippocampus region of your brain" 15:31:30 "PEBKAC" 15:31:35 "Fuck you and die, all you ever do is lie. You say 'this is a program' but it's _not_ - it may look like one, but it is not. You always lie to me. You never just tell the truth, maybe say 'this is not a program'. I'm going." 15:31:39 then it removes the compiler 15:31:46 perhaps it should try to correct your error, and add errors elsewhere? 15:31:51 (that happens after 10 syntax errors (spread out over different program runs)) 15:32:14 so if you have say a syntax error somewhere, you might get weird overflows somewhere else. 15:32:51 ehird: after the first errors you need to add "SORRY ABOUT THAT" and increasingly profuse apologies to get the next ones to compile 15:32:59 :-D 15:33:04 hehe 15:33:16 maybe have it ask you to stop beating it (beating = running it with an invalid program) 15:33:20 and plead and plead 15:33:26 until it runs away (deletes itself) sobbing 15:34:05 when installing the compiler, it may have to choose a random personality 15:34:14 oerjan, hahah 15:34:19 one should be... 15:34:28 genuine people personality 15:34:28 :D 15:34:35 "sane" should not be an option 15:37:55 think Sirius Corporation 15:38:53 yes 15:41:09 oh wait that was what you were referring to 15:41:11 Oct 19 12:55:04 tux hpijs: WARNING: black pen has low ink 15:41:11 Oct 19 12:55:04 tux hpijs: STATE: marker-supply-low-warning 15:41:17 odd, that has been going on for weeks 15:41:20 and still printing works fine 15:41:29 * oerjan didn't notice until he read it on the wiki page 15:41:39 oerjan, of course it was... 15:42:31 that's odd? i thought that was how all printers did it 15:43:04 oerjan, reporting the level was low when there are still more than 100 pages left on "normal quality"? 15:43:10 hint: they want to sell marker 15:43:17 er wait 15:43:24 ink, whatever 15:43:28 yep ink 15:43:36 no idea why hp call it marker 15:44:09 AnMaster: mind you with some corporate procedures you may have to order new ink that far in advance :D 15:44:37 oerjan, heh? I just went to the local shop a few days ago. But not going to replace it until I actually run out of black ink 15:44:58 -!- Slereah_ has quit (Read error: 113 (No route to host)). 15:45:02 i mean, Dilbert-style corporations 15:45:10 what really hurts are the colour ones... Because you usually run out of one colour long before the other ones 15:45:45 oerjan, don't have any experience of those 15:45:54 ooh, you could have a company policy that said you had to use all colors balancedly... 15:46:18 neither have i but i do read Dilbert 15:46:34 oerjan, maybe I should start doing that 15:52:33 -!- hando has quit ("Leaving"). 15:54:17 http://impressive.net/people/gerald/1999/01/http-archive/ This is very clever. 15:54:31 -!- Judofyr has joined. 15:54:34 I think I shall write a firefox plugin to do that, maybe a greasemonkey script for simplicity. 15:55:02 But... I visit an awful lot of pages per day, probably bordering on 10,000. 15:55:07 Might take too much space. 15:56:01 ehird, 10 000 on a day? That many *static* pages? Since the system doesn't seem to do dynamic ones yet 15:56:12 AnMaster: Um, that archives all pages. 15:56:20 "This setup doesn't quite archive enough stuff because Squid doesn't cache dynamic resources etc.; I plan to install Jigsaw and make it archive a copy of everything it retrieves. (or," 15:56:36 It's impossible to know what a dynamic resource is via HTTP. 15:56:39 It's just a resource. 15:56:40 -!- Corun has joined. 15:56:42 Besides, I said I'd write my own. 15:56:46 ah yes 15:56:47 As that was made in 1999, last updated 2004. 15:57:03 But yes, my browsing style is rapid. 15:57:09 Due to obsessive link-clickery. ;-) 15:57:14 also the issue of different pages, same url 15:57:17 for example ajax 15:57:26 how to handle something like gmail? 15:57:38 AnMaster: well, you can't. 15:57:39 Well. 15:57:40 Yes you can. 15:57:43 partly yes 15:57:48 gmail changes the hash-portion of the URI as a hack for the back button/history. 15:57:52 /bookmarks 15:57:54 ah 15:57:56 So you could hack that in, somehow. 15:57:59 Generally, though? 15:58:04 generally impossible 15:58:04 Ajaxy pages should not change the very nature of the page. 15:58:11 They should just update content/submit stuff, etc. :-P 15:58:23 hm 15:58:41 Anything else is bad style. 15:58:41 ehird, what about plugins? Such as when watching youtube 15:58:43 Well. 15:58:44 fungot: What is the meaning of life? 15:58:44 oerjan: yeah yeah that's 15:58:45 Unless you are making a site specialized for the iPhone. 15:59:02 Because it's nicer to have a seamless view there (e.g. mimic the OS transitions) by doing everything with Ajax. 15:59:03 fungot: are you still stuck on phone conversations? 15:59:03 oerjan: ( ( oh okay oh 15:59:05 But that's a corner case. 15:59:11 AnMaster: What's that got to do with ajax? 15:59:23 fungot: oh? 15:59:24 Deewiant: i'm sure they do they come and serve you something it's not fnord for whatever bizarre reason 15:59:25 ehird, nothing, it was just another potential issue 15:59:37 fungot: yes, being fnord would make much more sense. 15:59:38 Deewiant: i guess so 15:59:38 AnMaster: Well, it'd fail at mirroring youtube pages, yeah. 15:59:46 fungot, are you still on the data from those phone calls? 15:59:46 fungot: that's because fnord is so hard to get hold of 15:59:47 AnMaster: ( ( laughter mn)) 15:59:47 oerjan: ( ( laughter oh i don't know i'm 15:59:49 I could specialcase it though. 15:59:51 yeah I guess so 16:00:22 OK, now for a directory structure... 16:00:24 ehird, and then pages using POST data with same url. And what not 16:00:30 AnMaster: that's not a problem 16:00:40 or pages with same data but different ? arguments 16:00:48 that's not a problem. 16:00:55 well see how much you get during a day would be interesting. 16:01:29 and then there is the issue of pages marked as no-cache heh, I guess you'll just ignore that 16:01:37 /http/example.com/:80/i/love/astronauts/they/are/cool/?cool=1/#hello/2008/10/19/16/01/1 16:01:43 Wait, need the method in there. 16:01:54 /http/example.com/:80/i/love/astronauts/they/are/cool/?cool=1/#hello/POST/2008/10/19/16/01/1 16:01:57 It's really verbose, but complete. 16:02:21 Or. 16:02:24 I could just not cache POSTs. 16:02:27 As you're not meant to. 16:05:24 Hmm... 16:05:37 I would, ideally, modify my browser so that it does not use a regular cache anymore, but instead fetches from the archive. 16:05:40 Otherwise, that's some duplication. 16:05:53 Heh, the Bruce Schneier facts randomizator gave me: "Bruce Schneier is able to read every Unlambda program." 16:06:00 cache not the POST, lest ye be cached 16:06:02 Also, actually viewing archived pages will be difficult - they will have to be preprocessed to resolve links to other pages from the archive at the right time. 16:06:08 fizzie: *g* 16:07:46 fungot: Go back to IRC-speak, it's less boring. 16:07:47 fizzie: what makes you think i need to recompile all the strands or whatever you wanna call it 16:08:12 fizzie: feed it the brown corpus 16:08:15 it's hilariously bad 16:09:09 ehird, you need to consider cache control directives 16:09:21 if you replace the cache 16:09:24 Yes. 16:09:35 I should probably have a metadata system - 1/meta and 1/content 16:09:49 Of course, the more usable this system gets the less liklely I am to implement it out of complexity. 16:09:55 ehird, you could use file attributes if OS X have that 16:10:00 Still, it'd be nice never to see a 404 after visiting a page again. 16:10:06 AnMaster: I'd prefer something more mungible. 16:10:23 "No definitions were found for mungible." 16:10:35 Did you mean: define:fungible 16:10:44 AnMaster: It's one of those words that you can interpret just by reading them. 16:10:54 ehird, well maybe a native speaker can 16:10:55 I can't 16:11:11 AnMaster: It's in the phonetics, kinda. :-P 16:11:19 I can't really explain it. 16:11:25 ehird, so what does it mean? 16:11:37 AnMaster: Hard to explain. Kind of... manipulatable, except... more gloopy... 16:11:53 ...... No definitions were found for gloopy. 16:11:55 :( 16:12:01 Gooey. 16:12:02 Globby. 16:12:04 :-P 16:12:29 Definitions of gooey on the Web: <-- some really really strange ones before the sane ones 16:12:35 "Graphical User Interface. Esentially, it is using pictures (or graphics) instead of words to give commands or exchange information with the computer. 16:12:35 homepages.vvm.com/~jhunt/compupedia/comp_glos/g_h.htm" 16:12:52 "of, or related to goo; soft, sticky and viscous " seems sane 16:13:05 ehird, as for globby: "No definitions were found for globby." 16:13:17 AnMaster: Oh fer gods sake, just pronounce the words in your head for a bit. :-P 16:13:34 ehird, "like a glob"? Wildcard glob? 16:13:54 Globby, goey, like... a gloopy slimeball...monster...thing. 16:14:01 (Also, the first gooey definition is from the pronounciation of GUI) 16:14:35 you want something that is a manipulatable slime ball in your file system :D 16:14:36 ? 16:14:50 no 16:14:50 XD 16:14:54 AnMaster: like tar balls? 16:14:58 mungible...sort of... 16:15:03 ehird: I could feed it the LDC Gigaword corpus -- that's 12 gigabytes of text, mainly news articles, gzipped. But my script would need some serious fixation before processing that stuff would be even remotely possible. 16:15:04 Deewiant: do you understand what i mean by 'mungible'? 16:15:13 ehird: I don't even know what you're talking about. 16:15:13 fizzie: the brown corpus is just a meg or two 16:15:21 I might, if I knew what you were talking about. 16:15:22 Deewiant: the word. 16:15:23 mungible. 16:15:32 i'm talking about a metadata file, AnMaster suggested using attributes on the actual file 16:15:37 I said i'd prefer an actual file because it's more mungible 16:15:46 yeah, you can munge it 16:16:11 more easily, anyway 16:16:33 Deewiant: you're bluffing 16:16:34 :-P 16:17:11 no, I don't think I am 16:17:21 I think AnMaster got it to an extent with "manipulatable" 16:17:30 ehird: but, you want to tell me why this says "mong"? http://www.doomworld.com/idgames/?search 16:17:44 you can ponder it while I eat 16:17:47 I have absolutely no idea. 16:23:00 hm? 16:23:20 what? 16:23:25 WHAT 16:23:28 *what 16:23:57 I'm being highlighted on around 5 channels, if if is something important, please repeat it on one line, or I can read it later. 16:24:21 ehird: I used the Europarl corpus (European parliament speeches, the English translations, for authors with names beginning with A-F) because I happened to have it here locally already. So fungot's now a politician. 16:24:21 fizzie: mr president, i support your positions on this. 16:24:29 LMAO 16:24:35 fungot: lie 16:24:35 ehird: mr president, clearly we are going to continue to take place. we cannot ask for this in the near future 16:24:55 ok fungot 16:24:56 ehird: madam president, when discussing the issue. i should perhaps make a few specific positions. as i have said, that corruption comes from within. a decision in nice to the effect that the existing accommodation for such instruments within the european parliament at this time as well. 16:25:04 fungot: stop bullshitting 16:25:05 ehird: mr president, commissioner, ensure that the impact of the directive, and a conference held in new york is a very important time, precisely because the area is the second recommendation. a joint declaration on free and fair trade bananas, but about the method. as this is indeed a breakthrough for the right of public access to administrative procedures. 16:25:13 fungot: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 16:25:14 ehird: to avoid any cuts in relation to your reference to this, and with each day that the french should be " fnord'. 16:25:54 -!- zbrown has joined. 16:33:24 -!- omniscient_idiot has quit (Connection timed out). 16:33:25 -!- Jiminy_Cricket has quit (Connection timed out). 16:34:20 free and fair trade bananas, indeed 16:35:25 fungot: so i can count on your vote, then? 16:35:26 oerjan: mr president, honourable members, it may be said that particularly here, parliament has the power to assess the impact of this agreement which should contribute to the international agreements on limiting co2 emissions and reducing environmental pollution and intellectual property in third countries. 16:37:04 fungot: yeah reduce their intellectual property already 16:37:05 oerjan: madam president, i thank mr watson for the information on spain. sorry, i have no information about, but nothing has happened here. i am slowly getting fnord up by these fnord arguments. we listened to our fnord impulses again. 16:37:34 fungot: yeah i can see that 16:37:35 oerjan: madam president, mr schulz: we did indeed restrict ourselves to condemning the atrocities of the taliban protection of mr bin laden has a london bank account. in the interests of major fnord multinational monopolies which want to join in when the action really does start; and, when eventually slaughtered, of meat and bonemeal amounts to less than 2 in the form of a draft regulation that will ensure the economic viabilit 16:38:14 WTF 16:38:53 fungot: WTF 16:38:53 Deewiant: mr president, you were wonderful!' i am sorry to say that the work has been completed they will be included in the list of members in the lower chamber in the netherlands, which has saved europe from dictators in the past. 16:38:59 clearly people should listen more to parliament procedures. this is horrible. 16:39:09 hehe 16:39:13 WTF 16:39:24 thank you, dutch 16:39:29 fungot: WTF 16:39:29 Deewiant: the impressive number of projects in third countries. if the transatlantic relationship, but the parliament put forward a proposal on voluntary agreements aimed at considering how these can be overcome without secondary legislation, we must jointly take this approach. 16:39:32 GregorR, fizzie fed som mad text into fungot's dict 16:39:42 fungot: WTF 16:39:48 :-( 16:39:50 oh noes 16:39:53 fungot: dammit 16:39:55 fungot, there? 16:39:58 ah 16:39:59 fizzie, ! 16:40:02 crash I fear 16:40:04 ah well 16:40:05 Yes. 16:40:07 -!- fungot has quit (Read error: 131 (Connection reset by peer)). 16:40:09 fizzie, debugging? 16:40:26 Later. :p 16:40:34 -!- fungot has joined. 16:40:41 There you have our little politician again. 16:40:42 fizzie, with cfunge you could put it in trace mode, then redirect trace to a file 16:40:52 fizzie, trace is by default to stderr 16:40:55 There's far too much trace information. 16:41:02 RC/Funge has got a trace mode too. 16:41:05 fizzie, you just want the last bit 16:41:08 Hm, I wonder if you get more points for killing everyone slowly and horribly, or quickly and dramatically ... 16:41:13 fizzie: just tail it :-P 16:41:19 fungot: what about the crisis? 16:41:20 oerjan: mr president, because i believe that these tasks will have to hold your committee meeting without me. i worry about the conditions in which all these qualities will continue to be monitored but it must then be prepared to move into the city. that is very important that we support in particular paragraphs 11 and 13 refer would be too many control centres is nonsense. last year 390 000 people applied for asylum in member 16:41:39 fungot: How much wood would a woodchuck chuck if a woodchuck would chuck wood? 16:41:39 GregorR: mr president, that we currently hear from the commission to adopt them, because of the pressure that the european research area. the role of a central disciplinary system which will ensure that the provisions of the treaty. 16:41:53 fizzie, cfunge can just dump current instruction, so one char per executed instruction, or "x,y, integer value of instruction, instruction, thread id" 16:41:59 or even dump stack every time 16:42:04 no actual debugger though 16:42:15 AnMaster: RC/Funge-98 has a trace mode as well as a debugger. 16:42:20 Deewiant, ah 16:42:26 and ccbi lacks a trace mode 16:42:33 yep 16:42:44 efunge lacks both unless you uncomment a few lines in the source 16:42:47 currenly that is 16:42:51 "i am slowly getting fnord up by these fnord arguments" <- I like that 16:42:58 I plan to make tracing available in a *VERY ENTERPRISY WAY* 16:42:59 -!- Jiminy_Cricket has joined. 16:43:10 AnMaster: XML output? :-P 16:43:12 using the SASL error logger (System Architecture Support Libraries) 16:43:12 -!- omniscient_idiot has joined. 16:43:26 it would look like: 16:43:41 =PROGRESS REPORT==== 19-Oct-2008::17:43:35 === 16:43:46 application: efunge 16:43:55 started_at: foo@node 16:44:10 and then the rest of the data 16:45:10 one of those for every tick, right? 16:45:15 wait no 16:45:19 it would be a different message 16:45:20 a sec 16:45:53 Yes, there is a trace mode in RC/Funge. Assuming tail is clever enough to throw stuff away (should be) I guess I could just tail the last ten thousand lines or so. 16:46:01 =INFO REPORT==== 19-Oct-2008::17:45:56 === 16:46:01 Executing instruction 43 at {42,43} in thread 0 IP 0 16:46:02 like that 16:46:04 every tick 16:46:05 :D 16:46:14 1> error_logger:info_msg("Executing instruction ~p at ~p in thread ~p IP ~p~n", [$+, {42,43}, 0, 0]). 16:46:17 was how I generated it 16:46:51 Deewiant, however a bit mad for tracing 16:47:02 very good, but it should be XML with XSL 16:47:22 Asztal, you could install a different logger callback I believe 16:47:26 -!- ENKI-][ has quit (Read error: 104 (Connection reset by peer)). 16:47:30 not sure how, but pretty sure it is possible 16:47:45 and you could make it log to rotating log files 16:47:48 fizzie: no, tail reads all the input into a red-black tree indexed by line number, then when it hits EOF it repeatedly gets the lowest key, checks whether it's in the requested range to be printed, and prints it if so 16:47:50 that rotate when they reach some size 16:48:02 by a few lines of config 16:49:38 Asztal, I think there is also some true tracing functionality 16:49:53 sys:trace seems to be for system messages to a thread only, but pretty sure there are stuff for user tracing too 16:50:01 Usually those just rename the file, start a new one, and signal the logging thing to reopen the log file so it starts writing in the new one. I don't think RC/Funge is clever enough to do the reopening. 16:50:38 in fact erlang got several tracing frontends 16:51:01 since the low level trace functionality is too powerful and flexible, using it directly is pretty hard 16:51:18 Deewiant: you've gotta be kidding O_O 16:51:41 oerjan: he is... 16:51:53 whew 16:51:53 oerjan, I thought you if anyone would have humor 16:52:04 AnMaster: Life imitates art. 16:52:05 i do have humor 16:52:17 I found Deewiant pretty funny 16:52:31 but that doesn't mean i can recognize when the real world is insane :D 16:53:38 yes of course, everyone know that tail uses a self-balanced B-tree, not a red-black tree. 16:53:44 Of course he was kidding... 16:53:59 -!- ENKI-][ has joined. 16:54:07 Thanks, people, you made me check out tail sources just to be sure. 16:54:12 ha ha 16:54:40 AnMaster: wow, an actual funny joke 16:54:40 :O 16:54:55 ehird, well as I said, humor is subjective 16:55:04 AN ACTUAL FUNNY JOKE 16:55:10 ehird, unlike yours 16:55:15 and ehird doesn't like to be subjected to humor 16:55:17 no, like mine 16:55:20 oerjan: it burns 16:55:22 fizzie, and the erlang support for rotating log files is done in erlang 16:57:33 fizzie, http://rafb.net/p/8VgYea83.html 16:57:46 Maybe I'll restart fungot under the tracing+tail now. Although I'm not sure how much it'll help. Certainly I'll find out where it ends up looping around, but if it's something data-dependent (like it'll probably be) most likely the infinite-looping has pushed the interesting file offsets and such out of the log. Maybe I'd have some space to add a ":." sequence there where it talks about file offsets. 16:57:46 fizzie: mr president, ladies and gentlemen, is it basically poor management or is it due to the refusal of this house to enable us to take environmental criteria into consideration in a subsequent review. the draft framework decision on organised crime. 16:57:47 it makes you think, though: why the hell is 'tail' 1700 lines of code 16:58:03 Deewiant, the GNU one maybe 16:58:08 I'm pretty sure the BSD one is shorter 16:58:13 let me check (freebsd 6.3) 16:58:27 'echo' is a sweet 256 lines 16:58:38 and 'cat' is 785 16:58:42 $ wc -l /usr/src/usr.bin/tail/tail.c 16:58:42 338 /usr/src/usr.bin/tail/tail.c 16:58:43 there 16:58:47 I didn't know it does files and pipes differently, although I guess that makes a lot of sense. 16:59:03 $ wc -l /usr/src/bin/cat/cat.c 16:59:03 314 /usr/src/bin/cat/cat.c 16:59:13 cat should not be 314 16:59:14 lines 16:59:16 it should be 30 16:59:17 seriously 16:59:21 $ wc -l /usr/src/bin/echo/echo.c 16:59:22 137 /usr/src/bin/echo/echo.c 16:59:22 fucking gnu software :\ 16:59:23 ehird, agreed 16:59:27 'ls' is a whopping 4542 lines 16:59:27 ehird, this is FreeBSD one 16:59:28 .... 16:59:32 ehird, so not gnu at all 16:59:33 AnMaster: fucking bsd :-P 16:59:39 Deewiant: you are fucking kidding me 16:59:39 that's over half the size of CCBI 16:59:40 * Corun read that as "fucking gnu showers" 16:59:42 4000 lines? 16:59:44 jesus 16:59:47 ehird: 4542. 16:59:56 $ wc -l /usr/src/bin/ls/ls.c 16:59:56 873 /usr/src/bin/ls/ls.c 16:59:59 ehird: the last 180 being the --help text. 17:00:00 Corun: god, you just made me imagine rms having sex in a shower... how did you do that? how can anything make me imagine anything so unspeakably awful 17:00:01 i hate you 17:00:07 i hope you die in a fire tonight >:( 17:00:12 Deewiant: LOL 17:00:22 ehird, there are multiple flags for cat, even posix defines one 17:00:23 LOL 17:00:26 AnMaster: how long is ls --help 17:00:27 -u Write bytes from the input file to the standard output without delay as each is read. 17:00:37 $ ls --help 17:00:37 ls: illegal option -- - 17:00:37 usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] 17:00:38 :P 17:00:45 Deewiant, see man page instead 17:00:49 what is that program that has 'has even more flags than ls(1)' in BUGS> 17:01:05 Deewiant, since *bsd tool doesn't use -- flags 17:01:11 only single letter ones 17:01:15 AnMaster: ls -h? 17:01:16 and -G is the colours one 17:01:28 /usr/src $ ls -h 17:01:28 COPYRIGHT Makefile.inc1 bin games lib sbin tools 17:01:28 LOCKS ObsoleteFiles.inc contrib gnu libexec secure usr.bin 17:01:28 MAINTAINERS README crypto include release share usr.sbin 17:01:29 Makefile UPDATING etc kerberos5 rescue sys 17:01:38 you really didn't need to paste that :-P 17:01:41 Deewiant, there is *no help except short usage* 17:01:43 and man page 17:01:44 ls.c is the longest source file in coreutils; sort at a bit over 3k lines and pr at a bit less than 3k come next. 17:01:49 Deewiant, on *BSD you sue the *man page* 17:01:54 Heh, sue. 17:01:55 not some funky --help 17:02:08 BSD is so litigation-obsessed, you even sue the man pages! 17:02:19 use* 17:02:19 I've always preferred --help and such 17:02:20 typo 17:02:21 duh 17:02:35 ideally a program is just a single executable with no other data files 17:02:54 the *BSD sort seems to just use the GNU one 17:03:03 FreeBSD that is 17:03:15 same for grep 17:03:19 but their own awk 17:03:49 there is also something called tsort 17:03:51 * AnMaster reads man page 17:03:56 -!- fungot has quit ("restarting with tracing..."). 17:04:02 TSORT(1) FreeBSD General Commands Manual TSORT(1) 17:04:02 NAME 17:04:02 tsort -- topological sort of a directed graph 17:04:03 *blink* 17:04:24 fizzie, also cfunge wouldn't know to reopen the file for trace since it just use plain stderr 17:04:30 adding a signal handler should be simple 17:04:31 -!- Judofyr has quit (Read error: 104 (Connection reset by peer)). 17:05:03 hmm, I don't quite get tsort 17:05:08 -!- Judofyr has joined. 17:05:10 "input contains an odd number of tokens"? 17:05:14 Deewiant, as for " ideally a program is just a single executable with no other data files" 17:05:16 well they are 17:05:19 file is an exception 17:05:23 it needs a definition file 17:05:30 most other simple core tools are one file 17:05:32 -!- fungot has joined. 17:05:43 AnMaster: on BSD they aren't, because you don't know what to do with them without the man file, which is external. 17:05:47 AnMaster: a topological sort finds an order of the vertices such that all source vertices come before the corresponding target vertices 17:05:50 iirc 17:05:54 yes 17:05:59 but I don't get tsort. 17:05:59 Deewiant, don't bloat binary with manual 17:06:09 AnMaster: don't bloat package with extra file 17:06:26 Deewiant, you have man pages on linux too 17:06:39 Deewiant, except the man pages on *bsd are way way higher quality 17:06:41 AnMaster: yes, I know, I wasn't arguing for linux in particular 17:06:44 not just some "see info page" 17:06:47 but proper man pages 17:06:59 at least on linux you don't usually need the man/info page 17:07:02 --help is sufficient 17:07:23 Deewiant: It works so that on alternating lines you have source/destination for the graph edges. 17:07:56 Deewiant: So you input "foo", "bar", "foo", "baz", "bar", "quux", "baz", "quux" and it outputs either "foo", "bar", "baz", "quux" or "foo", "baz", "bar", "quux". 17:08:00 Deewiant: "`tsort' reads its input as pairs of strings, separated by blanks, 17:08:01 indicating a partial ordering. The output is a total ordering that 17:08:04 corresponds to the given partial ordering. 17:08:13 yeah, I looked at the info page. I tried "foo bar baz" but it seems it wants "foo bar foo baz" 17:08:16 Okay, so any sort of blank works, not just newline. 17:08:31 http://rafb.net/p/1iIMoG85.html 17:08:34 that is linux and freebsd 17:08:35 Deewiant: note that each edge connects a pair of vertices 17:08:36 Deewiant: I think the "odd number of tokens" is quite a clear clue that it expects pairs. 17:08:38 man pages for tsort 17:08:39 Deewiant, ^ 17:08:46 Deewiant, which one is most helpful? 17:08:54 fizzie: should have been obvious I suppose, yes :-) 17:09:11 AnMaster: BSD. what's your point? My point was that that kind of stuff should be in --help. 17:09:20 or otherwise embedded in the executable. 17:09:27 Deewiant, isn't in tsort --help on my linux 17:09:37 AnMaster: What's your point? My point was that that kind of stuff should be in --help. 17:09:43 well it isn't 17:09:53 on gnu it is all in horrible info pages 17:09:57 AnMaster: My point was that that kind of stuff ******should***** be in --help. 17:10:05 Deewiant, yes, but show me a system where it is 17:10:09 AnMaster: CCBI. 17:10:11 for instance. 17:10:23 Deewiant, I don't want to have to pipe --help into less 17:10:25 I wasn't talking about operating systems, I was talking about programs. 17:10:50 AnMaster: you'd rather pipe a man page into less? 17:10:58 Deewiant, well yes 17:11:06 Deewiant, since that is what man does 17:11:13 oerjan: Yeah, I was hoping that one could give a vertex followed by a list of vertices it connects to 17:11:15 man tsort 17:11:15 or 17:11:19 tsort --help | less 17:11:22 or whatever 17:11:24 AnMaster: Yes, and that's my point. It's the _same thing_. 17:11:29 I think the first is shorter 17:11:30 :) 17:11:35 that was my point 17:11:38 it is shorter to write 17:11:39 Then have a short --help, and a --help-long. 17:11:45 Whatever. 17:11:50 Deewiant, ah like portage 17:11:54 --help and --help --verbose 17:12:04 -v/--verbose affects a lot of other stuff too 17:12:44 Deewiant, now I think a good example of how to not do it: nmap --help 17:12:46 it is just a clutter 17:12:49 white nc -h 17:12:50 is easy 17:13:11 http://rafb.net/p/LUULdC31.html 17:13:22 "SEE THE MAN PAGE FOR MANY MORE OPTIONS, DESCRIPTIONS, AND EXAMPLES" is how the nmap help ends 17:13:48 nmap --help is pretty good IMO, could use more whitespace 17:13:55 Deewiant, the nc one? 17:14:08 I strongly prefer the nc -h 17:14:18 AnMaster: unfair comparison, nmap supports hundreds of options, nc supports, looks like 20 or so 17:14:30 well okay, probably not hundreds either 17:14:34 Deewiant, also nmap says "see man page for more options" 17:14:34 but lots more anyhoo 17:16:05 Deewiant, anyway yes --help is good, but with too many options it breaks badly 17:16:18 yes, hence --help --verbose 17:16:46 Deewiant, I think the erlang solution would really piss you off 17:16:50 erl -man erlc 17:16:53 erl -man lists 17:17:06 opens man with the relevant documentation page 17:17:26 In general I guess best would be to have --help have the shortopts in the usual format and at most 20 lines of description of most important options 17:17:29 oh and they are stored in a special place, not in standard man path, since most of them are for erlang modules, not tools 17:17:46 Deewiant, erlang tools seem to like ignoring unknown options 17:17:56 so you get erlang shell if you try --help 17:18:11 also some command line parameters use + or such 17:18:16 like +K true or +A 128 17:18:24 But, you know, when you're talking about things like compilers + libraries it does make sense to have separate manuals because they can be hundreds of pages long. 17:18:53 (+K = kernel pool, like epoll/kqueue and such, no idea why default is false; +A = Async threads for IO to prevent blocking erlang itself) 17:19:15 Deewiant, yes... tried man zsh? 17:19:29 "Because zsh contains many features, the zsh manual has been split into a number of sections" 17:19:50 17 man pages it seems here 17:20:05 yep 17:20:18 that's a good example, but the --help is terrible 17:20:29 too much whitespace :-P 17:20:49 (Använd '-v --help' för att visa kommandoradsflaggor för barnprocesser) 17:20:50 for gcc 17:21:01 which is where all the interesting options are 17:21:15 $ gcc --help -v 2>&1 | wc -l 17:21:15 1487 17:21:16 wow 17:21:23 ew, non-english locale 17:21:37 Deewiant, well yeah I want UTF-8, and that breaks in C locale 17:21:46 there is no C.UTF-8 17:22:08 just use en_GB 17:22:24 Deewiant, with sv_SE.UTF-8 for some like date and so? 17:22:44 LC_MONETARY, LC_PAPER, LC_MEASUREMENT and so on 17:22:54 (type locale for the full list of variables) 17:23:20 Deewiant, actually: 17:23:26 export LC_MESSAGES=C 17:23:28 issue solved 17:24:24 Deewiant, what do you think of cfunge's -h? 17:24:55 Deewiant, http://rafb.net/p/J2zlDX34.html 17:25:11 fine apart from the "see README" bit ;-) 17:25:24 Deewiant, well that is where I put most docs 17:25:44 for efunge I should do something like: 17:25:47 The options are a lie 17:25:52 since it doesn't have any options 17:25:55 :-P 17:26:00 just want file name and script args 17:27:18 actually a better idea: 17:27:36 Usage: efunge [OPTIONS] [FILE] [PROGRAM OPTIONS] 17:27:45 -h Show this help 17:27:51 That's all :D 17:28:01 Deewiant, is that what you want? 17:29:26 Yeah, I guess :-P 17:30:05 Deewiant, agree it seems slightly insane though? 17:30:14 better than having no help 17:31:09 Deewiant, anyway the recommended way to start efunge is different if you encounter a bug, then you should start it from inside erlang 17:31:24 hm... maybe adding that to the wrapper script would be a good idea 17:31:38 but then I'd get command line parameters 17:31:48 ah I know... 17:31:50 hehehehe 17:32:54 EFUNGE_OPTS="[option1, option2]" ./efunge 17:33:00 Deewiant, what do you think of that idea? 17:33:07 it has to be done in erlang term format too 17:33:24 I think it's terrible 17:33:42 Deewiant, well it follows established tradition: 17:33:44 for one thing because you can't do that in windows 17:33:45 ERL_COMPILER_OPTIONS='[inline,native,{hipe,[o3]}]' make 17:33:47 for example 17:33:59 Deewiant, you can use set MYENVVAR="FOO" right? 17:34:02 or something like that 17:34:08 don't remember syntax 17:34:39 Deewiant, also can't windows powershell do it? 17:34:44 or is that so powerless? 17:34:51 no, it can't, I just tried 17:34:57 at least not with that syntax 17:35:01 heh 17:35:02 it could have it in some weird syntax 17:35:31 Deewiant, well anyway the wrapper script is a shell script 17:35:35 using portable /bin/sh 17:35:40 it even works with busybox 17:35:49 Deewiant, you would need a custom wrapper script on windows anyway 17:35:54 so it requires posix and is thus non-portable :-P 17:35:59 Deewiant, not at all 17:36:06 you just have to start it in an erlang shell 17:36:11 or write a *.bat or whatever 17:36:15 Deewiant, just I can't write *.bat 17:36:20 I meant the /bin/sh 17:36:46 Deewiant, well... funge is unportable, it requires the concept of "environment variables" 17:37:16 which is in the os module in Erlang, and nothing in that module is guaranteed to be portable 17:37:53 funge doesn't require it, you can just push an empty list if they don't exist 17:38:06 Deewiant, http://rafb.net/p/ftSSjH10.html Notice how extremely simple it is 17:38:15 just some sanity checking and setting up some paths 17:38:27 you can't write that in C? 17:38:42 Deewiant, well no, would need fork and execv 17:38:48 which would be less portable 17:38:53 system() 17:38:56 also using C for a wrapper script would be silly 17:39:22 Deewiant, and /bin/sh exists on Windows. Wasn't it POSIX okish or such? ;P 17:39:44 and then there is msys, cygwin and various other ones 17:39:50 /bin/sh cannot exist on windows because "/" is not valid in a path 17:40:08 Deewiant, well yet windows passed POSIX exam iirc? Or at least didn't fail it 17:40:15 I believe it has to exist then 17:40:17 only with extensions 17:40:23 and hacks to workaround stuff like that 17:41:14 well, / works in paths, but it's not a valid root path without something like Services For Unix or msys 17:41:24 C:/windows/system32/notepad.exe works 17:41:24 no, / doesn't work in paths 17:41:33 yeah, but the path isn't that 17:41:36 yes it does in cmd.exe 17:41:36 that's just translated 17:41:44 no it doesn't 17:41:48 it specifically doesn't work in cmd.exe 17:41:55 -!- Judofyr_ has joined. 17:42:06 -!- Judofyr has quit (Read error: 104 (Connection reset by peer)). 17:42:20 Deewiant, anyway 1) you can write a *.bat file I guess. or 2) You could just do it from inside erlang as the README describes 17:42:23 "cd /" will not work 17:42:40 yes, it's /possible/ 17:42:44 -!- Judofyr_ has changed nick to Judofyr. 17:42:45 cd / works 17:42:58 not here it doesn't 17:43:01 Deewiant, I'm pretty sure cd / works in cmd.exe under windows xp 17:43:05 (I didn't expect it to, but it did) 17:43:07 I'm 99% certain I seen it working 17:43:13 I'm pretty sure it doesn't since I just did it and it didn't 17:43:15 using Swedish windows xp home 17:43:25 "cd /" does absolutely nothing, doesn't error out either though 17:43:29 was a year or so ago 17:43:35 both the notepad thing and cd / worked for me just now 17:43:44 Asztal, windows version? 17:43:46 "cd foo/bar" does work 17:43:48 this is the evil vista 17:43:51 ah 17:43:57 ah, it's a bug then :-P 17:44:11 Well, there is no spec to check against is there Deewiant? 17:44:14 though, I was sure XP supported it :) 17:44:21 anyway... 17:44:27 AnMaster: there may be docs 17:44:53 Deewiant, doing this on windows would be non-trivial anyway 17:45:00 since usually erlang isn't in path there 17:45:05 and it called werl.exe 17:45:37 interesting that 'erl' starts an Eshell then 17:45:54 Deewiant, hm it does? Doesn't match what I was able to find in docs 17:46:08 Deewiant, what version does it state that it is btw? 17:46:13 5.5.5 17:46:21 (I suspect cmd.exe is doing something to explicitly support '/' as a filesystem root, though, since "ls.exe /Users" doesn't work) 17:46:27 Deewiant, I don't think efunge will work on that, Only tested on 5.6.4 17:46:32 hmm 17:46:33 Eshell V5.5.5 (abort with ^G) 17:46:33 1> ^G 17:46:33 Eshell V5.5.5 (abort with ^G) 17:46:33 1> 17:46:40 Deewiant, XD 17:46:43 Deewiant, q(). 17:46:45 may work 17:46:49 takes a second or so 17:46:51 ^C worked 17:46:53 before it actually quits 17:46:56 but, hoorays for ^G 17:47:00 Deewiant, well, I ^G works for me 17:47:06 1> 17:47:06 User switch command 17:47:06 --> 17:47:17 ^G drops me into that mode 17:47:45 where you can start another shell on a local or remote node, jump between existing shells and so on 17:47:55 and quit erlang 17:48:04 Deewiant, no clue why it doesn't work on windows. 17:48:25 Asztal, there is ls.exe? 17:48:27 huh 17:49:02 Deewiant, anyway I'm quite sure erlang will need at least BEAM 5.6.x 17:49:10 probably even 5.6.4 17:49:14 s/erlang/efunge/ 17:49:15 why 17:49:16 (which is last version as of writing this) 17:49:26 Deewiant, because it uses some very very useful recent features 17:49:52 like what 17:50:11 -spec and -type notification are experimentally supported in 5.6.4 at least. Allows better static analysis and easier to find bugs in advance 17:50:22 sed could remove those if needed I guess 17:50:33 Deewiant, apart from that it may or may not use other bits I don't know about 17:50:47 but I think Erlang 5.5 is a different major release 17:50:48 R11B 17:50:54 while 5.6 is R12B 17:51:04 and those can introduce major new features 17:51:23 Deewiant, so it wouldn't surprise me if it broke on the legacy R11B 17:51:41 and my response would be: SOL 17:51:47 since that is outdated by years 17:52:30 statute of limitations? :D 17:52:34 oerjan, ? 17:52:36 well, by one year 17:52:42 and a few months 17:52:46 * AnMaster just went and checked 17:52:53 AnMaster: SOL 17:53:03 oerjan, S*** out of luck 17:53:19 where * count doesn't match real word 17:53:33 I think 17:53:37 actually it does 17:53:39 oh well 17:54:06 i think there are various options there 17:54:11 I've always read it as "so outta luck" 17:54:21 Deewiant, that works too 17:54:27 but I guess "shittily" is the rude form and "sadly" the more common polite form 17:54:32 anyway: you are free to try efunge on R11B, but I won't fix it breaks, recommending R12B 17:54:57 evidently "shit" is the common form, although it doesn't make grammatical sense 17:54:57 when R13B is released I will probably keep R12B compat for a few months or a bit more at least 17:55:02 but then, expletives rarely do 17:57:17 Come to think of it, I could just run fungot's babble-generation locally repeatedly to find that bug faster than just waiting for it to crash. 17:57:19 fizzie: madam president, i should briefly like to focus on the most fundamental human rights. 17:57:55 fungot: Er, certainly, I don't think we have anything against human rights here. 17:58:05 fizzie: first and foremost, stability and security, which already give the commission something to consider, when commissioner palacio brings forward her nuclear package this autumn, that the poorest regions is not exacerbated by another divide linked to the activities of the european union 17:58:24 (It's quite a lot slower with that trace mode enabled.) 17:58:27 fungot: Right, exactly. 17:58:39 maybe I should try and reproduce the bug 17:58:43 Deewiant: mr president, mr pomés ruiz, to whom they really do, as the elected representative of a battle of principles, you will find it more difficult to resolve, but it is essential to finding a solution to this particular matter and my views were clearly laid out. nevertheless, i hope that, by taking part in what was said at the first reading. 17:58:45 fungot: WTF 17:59:09 Deewiant: madam president, as an indirect consequence, holding us prisoner on other subjects that are excluded from so many contradictory standpoints. it would be too expensive. in this respect, i should like to remind her and the house' s work just a few days ago here to introduce a uniform control system which is more fnord and export a certain model of society that suits them. it would be very interesting for economists to s 17:59:16 fungot: WTF 17:59:25 It's funny how it alternates between madam/mr all the time. 17:59:30 fizzie: hmm, maybe you could make it cutoff messages in a smarter way 17:59:32 "clearly laid out" my ass 17:59:35 fizzie: i.e. not mid-word 17:59:45 Deewiant: mr president, i would say to those who need to disclose one's inventions before filing for a patent, its aim is that, in 2004, especially in mr poignant' s report, certain elements of the tens, but we cannot ignore. the us government has threatened to move its entire development department and corporate management to another country if it cannot put a stop to. secondly, the establishment of a european parliament and t 17:59:48 fungot: WTF 17:59:49 Deewiant: mr president, the discussion is so interesting and there are a number of people. 17:59:54 meh 17:59:59 fungot: bug out already, will ya 18:00:19 Deewiant: That's just the IRC message length. There's also a limit to the number of words, which should be small enough not to hit the IRC limits. 18:00:44 Maybe it's all those long words. 18:00:48 fizzie: Yes, I know what it is, but as you can see it keeps getting cut off :-) 18:00:53 I don't remember what I set the word limit to. 18:01:22 count the message length and cut off at a word boundary where the wanted message length is exceeded 18:01:28 fizzie: hmm, did I kill it? 18:01:44 fungot: you alive? 18:01:47 oerjan: as i demonstrated during the debate. as regards priority 1, namely broadening the scope and structure of the directorate-general for transport essentially deals with this very difficult issue. a solution must be sought initially on a voluntary basis. it is a pity. 18:02:15 in a manner of speaking 18:02:19 fungot: WTF 18:02:22 Deewiant: mr president, many pensioners paint or create works of art and antiques'. according to a report by the independent opinion of the committee, issues on labour law and free and fair way, in spite of what mr bouwman said. in fact, with the game of musical chairs that is being done. 18:02:33 fungot: I'm not a president 18:03:02 Actually it should be stopping quite early if I'm reading that source right. (Except that it will only stop when the context is suitable for ending a sentence.) 18:03:05 Deewiant: mr president, ladies and gentlemen, first of all that is bad comes from elsewhere; this is why i am against increasing taxation on employment, under the present legislation. both treaties are based on different understandings of human health and the environment, but also for animal welfare where many millions of new jobs as it did not do is to base programming on a political solution to end spam. let me also address t 18:03:16 fungot: I'm still not a president 18:03:23 Deewiant: question no 30 by ( fnord/ 2001. i can allow the exemption for mortgages are all adopted, and comparable objectives have been set, but whose idea of political responsibility observed during the process of 2004. 18:03:38 Deewiant: that's just what you want us to believe, Ms. Halonen 18:03:39 fungot: Who's fnord 18:03:43 Deewiant: it is easy to see that there is a job we will have to be addressed: greece, spain, greece and spain. 18:04:06 oerjan: oh noes, you caught me 18:04:14 Haha: "Greece, Spain, Greece and Spain -- a joh we will have to address!" 18:04:20 fungot: WTF 18:04:49 fizzie: it's counting commas as tokens? 18:05:01 fungot: WTF 18:05:02 oerjan: Yes, punctuation is separate tokens. 18:05:21 So it's just got a context of ", spain," when it generated that second 'greece'. 18:05:52 so i thought 18:06:00 fungot: Did you just ignore Deewiant, or crash? 18:06:23 fizzie: mr president, the pensioners of the different legal frameworks would probably make it very clear that the eu must develop a process, namely a fnord victory for president eyadema. on a financial basis, nor to care about their neighbour. the socialists say yes. allow me to outline the way in which you will accept these amendments, nos 1, 2, 5 and 6 i can support the draft act which is before us here today, of her excellen 18:06:29 waa 18:06:35 I don't like the politician-fungot 18:06:36 Deewiant: Yours was a fnord victory. 18:06:38 Deewiant: i wish to ask you, mr president-in-office, you did hear me say that i fully endorse what mr salafranca has just said. 18:06:49 fungot: now who the hell is mr salafranca 18:06:57 Deewiant: mr president, i was in fact our motion for a resolution calling for a committee of inquiry into the current cohesion policy. it is my opinion that the controls that are applied to economies whose needs remain very different. 18:07:13 fungot: you didn't answer my question 18:07:14 Deewiant: mr president, i am sorry, in particular candidate countries. 18:07:16 Deewiant: That would be JosĂ© Ignacio Salafranca Sánchez-Neyra. 18:07:38 not in wikipedia 18:07:45 oerjan: http://en.wikipedia.org/wiki/Jos%C3%A9_Salafranca_S%C3%A1nchez-Neira 18:07:45 http://en.wikipedia.org/wiki/JosĂ©_Salafranca_Sánchez-Neira 18:07:49 (english one) 18:08:04 The page title doesn't include the "Ignacio" part. 18:08:05 fungot is sorry; but only in particular candidate countries 18:08:10 oh wait 18:08:21 Deewiant: mr president, mr president, is extremely limited. the commission feels that to increase the number of subjects, the european council decided at its meeting on 30 april, or even this very budget assuming the administrative costs. moreover, i do not believe it would have been preferable and more effective fnord and monitoring powers. your support for our approach as set out in the end to violence, subjected to terrible 18:08:24 wp only searches for starting parts? 18:08:43 fungot: Yes, I think it would have been less effective fnord 18:09:41 I think you're being ignored again. Okay, I don't think it makes sense to do more of this on-channel; I'll test it elsewhere. 18:10:08 fizzie: I suspect you can reconstruct, from your logs, everything that was said to it before it crashed 18:10:18 Yes, but it shouldn't matter. 18:10:22 so just keep throwing that at it 18:10:23 Since it doesn't look at the input at all. 18:10:27 ah. 18:10:43 Eyadema was an interesting guy too 18:11:46 GnassingbĂ© is such a household name 18:16:51 Deewiant, haven't you read fungot source? 18:16:59 http://zem.fi/~fis/fungot.b98.txt 18:17:18 Deewiant, being a befunge expert (author of mycology) I assume you will understand it right away :P 18:17:32 (like you see to expect me to do with mycology) 18:17:42 bbl food 18:17:46 Should probably make a real web page for fungot. 18:17:46 AnMaster: mr president, commissioner, for this legislature. we have member states who so wish, to reduce pollution by 60% over the last 20 years this industry has one of the questions, so i shall not go into the details of your speeches, ladies and gentlemen, on behalf of the commission to ensure that the principle of mutual recognition of decisions to expel third-country citizens. i congratulate joe fnord and fnord and catalon 18:18:48 I didn't know there was a Joe Fnord in the Parliament. And I wonder if it crashed; it's certainly taking a long time to answer. 18:18:53 AnMaster: mr president, i want to stress the extremely high social expectations, we are being ideological. they are told off for living too long and that it is only natural, when already in a europe that is not industry which determines the courts that involve an interpretation of the new policies, such as tag replacement, without adding any ifs or buts. the report reveals a motley fnord of organisations, which are far from mat 18:18:58 No, it's just the slow. 18:19:20 fizzie: mr president, with the participation of the president-in-office. of course, under the existing substance regulations of 1993. the final point i am addressing our fellow parliamentarians from macedonia should be able to have olaf's report so that chapters for the individual sectors. secondly, we attach great importance to us that there could be this consensus and that the meat is from animals which were tested and whethe 18:20:06 ^echo are we here yet? 18:20:07 are we here yet? are we here yet? 18:20:38 fungot, your prolixity is overly quixotic >:( 18:20:53 Asztal: madam president, mr posselt, let me say that we should take the decision we need to look at the simple trend, i have one difficulty which is not covered by specific community legislation, so ias can only be achieved by applying lower rates of growth, employment and the unwieldiness of the procedures, favouring a more competitive and makes his company more competitive. everyone agrees on that, are dying as a result of ad 18:21:59 presumably http://en.wikipedia.org/wiki/Bernd_Posselt 18:23:33 also an interesting guy it seems... 18:26:45 The bot does sound quite much like a politician, but maybe it's not overly interesting babbling. 18:27:26 fizzie, you want low-overhead tracing? 18:27:49 * AnMaster considers that 18:28:10 interesting idea 18:28:38 you want to append them to a buffer or such, and then let another thread format the messages 18:28:57 (this would be a bad idea in erlang, because every thread have a separate heap 18:29:41 (so a lot of data copying) 18:32:58 Heh, nice output: "let us not talk of positive discrimination more effective than for other types of intensive animal husbandry, the commission is willing to launch pre-emptive nuclear strikes" 18:33:09 Pre-emptive nuclear strikes does not sound like the right solution to me. 18:33:18 fungot: Are you sure about that? 18:33:19 fizzie: without being afraid of the difficulties currently facing the union. 18:33:34 Ouch that bad 18:33:40 fungot, ... 18:33:41 AnMaster: madam president, with reference to mr pronk on his report which is evidently to establish the existence of the internal market. 18:33:47 Hopefully no-one's going to put fungot in charge. 18:33:52 fungot, you got my gender wrong 18:33:55 fizzie: mr president, i welcome the resolve that was shown here today by the college of commissioners has already decided, was literally betrayed at the last moment, i woke up, i am happy to support, veiled criticism and open criticism. this evening's debate is certainly the case for amendments nos 3 and 4, so that we can all see the work we do with small-scale fishermen. i await mr henderson's answer on burma was rather meanin 18:34:02 AnMaster: mr president, i am aware that this is all the more necessary to seek equal treatment for agency workers in ireland. 18:34:05 better 18:34:39 who is mr pronk? 18:34:48 fizzie, where did you get this data from did you say? 18:35:12 oerjan, what about mr henderson? 18:35:32 ah, maybe Jan Pronk 18:35:39 oerjan: Bartho Pronk, actually. 18:35:47 (PPE-DE) 18:35:50 eh? 18:36:11 AnMaster: It's the European Parliament speeches. Those are translated to all N official languages; I just used the English version. 18:36:12 hm not in wp 18:36:16 fizzie, I would prefer telephone or discworld over this 18:36:45 Years 1996-2006, apparently. 18:37:04 fizzie, do they speak to presidents all the time? 18:37:07 And only those speakers whose names start with a letter from A to F. 18:37:26 It's the President of the Commission, I think. 18:37:42 ah 18:38:00 or parliament? 18:38:14 Yes, actually. 18:38:29 I just grepped the data a bit and saw "AFFILIATION="President of the Commission"", but that was just one of the speakers. 18:40:03 henderson is probably too common a name 18:40:22 Just about every speaker starts with "Mr President" or some-such, and since we grouped those so that one "paragraph" (which is what fungot outputs) is one complete "speech"/statement, that's what fungot does too. 18:40:26 fizzie: mr president, i wish to put on record that our starting point and encouraging that a solution is not very effective. 18:41:16 that's relevant, sort of 18:41:29 fungot: You're such a complainer. 18:41:41 fizzie: mr president, mr camisón asensio, things are really up and running for 8 years, we have to realise that this is our parliament, a citizen many of which are very sensible. that very fact illustrates the european vagueness of the report. 18:42:25 Yes, the politician-fungot is not very funny at all. But at least it sounds like it's speaking and not like it's reading a book. 18:42:34 fizzie: mr president, i will begin with the nine technical amendments. amendments nos 12, 65, 66, 67, 69, 70 and 71. the possible effects on other community policies, new proposals will have to submit every three years. 18:43:32 but he cannot count 18:44:13 -!- KingOfKarlsruhe has joined. 18:46:48 I've been looking at the Gutenberg authors I happen to have here, but none of them sound like they'd make an especially interesting data source. 18:51:25 fizzie: try lewis carroll 18:51:39 and james joyce 18:52:59 lewis carroll should be fun 18:53:40 fungot: Well, you heard them. Do Lewis Carroll now. 18:54:09 Or are you ignoring me or something? 18:54:59 ^rot13 fgvyy jbexf 18:55:22 still works 18:55:28 Ignoring, I guess. 18:55:34 fungot: Bah. 18:55:42 Oh, wait! 18:55:47 No read permissions to those files. 18:55:52 Forgot to give g+r to them. 18:56:14 fungot: Can you read it now? 18:56:15 fizzie: the witnesses proved, without fnord,' he went on, " the conclusion is fallacious." 18:57:20 fungot: What's that mean? 18:57:22 fizzie: he saw them drooping here and there among them, though i don't want to get somewhere else, you must run at least twice as fast as they put them upon the table, merrily running round and round after her own shawl, which was still patiently fnord its fnord!" 18:58:38 -!- Judofyr has quit (Read error: 104 (Connection reset by peer)). 18:59:14 the fnord solution may not work very well with an author reknown for inventing words... 18:59:15 -!- Judofyr has joined. 19:00:01 oerjan: It mapped 5703 words to "fnord". 19:00:33 is that much? 19:00:44 Deewiant, by the way to show that I wouldn't oppose MVRS done correctly and properly specced my funge-space changes for ATHR are designed so the change for adding multiple funge spaces should be simple 19:00:57 I'm designing the API with that in mind 19:01:42 fizzie, what books? 19:01:56 fungot: say 'cheese' 19:01:57 oerjan: there was no " one, two! and through and through her head till she felt quite certain he would only refer to his fnord code, and read it " some x are y"? 19:02:24 oerjan: It's 3.4 % of the tokens in the data. For comparison purposes, in the irclogs it mapped only 1.2 % of the tokens to fnord. And irclogs have lots of unique flutzpahs too. 19:02:30 Only books by Lewis Carroll I read are Alice in wonderland, and Allice through the looking glass 19:02:34 both in Swedish translations too 19:02:37 "some x are y"? are you including his math? :D 19:02:41 so. I can't identify anything 19:03:18 The books were: "Alice's Adventures in Wonderland", "Phantasmagoria and Other Poems", "Sylvie and Bruno", "The Game of Logic", "The Hunting of the Snark" and "Through the Looking-Glass" 19:03:32 "The Hunting of the Snark"? 19:03:37 the game of logic looks suspicious 19:03:42 The "some x are y" is from the game of logic, yes. 19:03:51 sounds like hunting of the fnord... 19:04:30 fizzie: remind me what the fnord-mapping was all about 19:04:58 Deewiant: All words that occur only once are mapped to a special token "UNKNOWN", and fungot converts that to text as "fnord". 19:04:59 fizzie: " i will call on the earl. 19:05:20 fizzie: Why? 19:05:22 snark surely occurs more than once though 19:05:40 And Snarks have been seen at least in a short story by Niven, it's somewhat famous. 19:06:01 Deewiant: To cut down the size of the lexicon, mostly. Also to make the output more silly. 19:06:37 meh 19:06:40 snarks? not bandersnatchi? 19:07:38 oerjan: Those are everywhere in the Known Space books, but I think there was a Snark too. 19:07:57 I'm not absolutely certain, though. 19:09:46 oerjan: At least in the story "Like Banquo's Ghost" (from the Convergent Series collection) there's a space ship called "Snarkhunter #3". 19:10:19 huh. fizzie you make *less* sense than fungot now.. 19:10:20 AnMaster: all this i saw from the open window of the warden's breakfast-saloon, looking across the garden, examining the fastenings of the drawing-room window. 19:10:31 No other Snarks, though; I've misremembered, it seems. 19:10:52 fizzie, which books are that from ^ 19:11:14 is* 19:12:32 AnMaster: Seems to be mostly from that "Sylvie and Bruno" book. Haven't read it. 19:13:54 Still, whenever I feed it books the output also sounds like a book, not like someone talking. 19:16:21 I should feed it some chatting, but I have a smaller supply of that available. 19:16:27 Maybe I should try Wikipedia "talk" pages. :p 19:17:27 fizzie, no... that would be suicidal amount of "consensus version" 19:17:32 be a* 19:18:10 Youtube video comments, then; I hear there's a lot of thoughtful debate there. 19:18:40 * oerjan gasps 19:21:18 fizzie, that is *worse* 19:21:37 oh and even worse: /b/ of four chan 19:21:38 I guess 19:21:45 Or maybe spam! I think I gzipped some ten thousand messages somewhere just in case I need a sample spam mail sometimes. 19:22:01 fizzie, what department were you at? 19:22:06 also spam changes over time 19:22:07 a lot 19:22:29 * oerjan wonders what fizzie is taking 19:22:31 fizzie, and we don't want all the obscene stuff 19:22:33 Yes, well, not for effective spam *filtering*, just generally. 19:23:08 Don't you ever get a craving for some spam? 19:23:25 SPAM SPAM WONDERFUL SPAM 19:23:33 fizzie, no 19:26:16 lol, a /b/ markov chain would be indistinguishable from the real thing. 19:27:16 ehird, yeah 19:28:09 I've always thought that the best way to run a markov chain is to analyze a forum/mailing list, make it post on that mailing list with its results, and start up about 10 instances. 19:28:16 After a while they just start spewing out nonsense based on their own failures 19:28:32 Okay, I'll try one more author, let's see if it (a) works and (b) you recognize it. The source text at least should be pretty recognizable. 19:28:38 fungot: Let's see what you've got. 19:28:40 fizzie: fnord with a fnord negroid mouth, pulled forth a dirty, crumpled paper and handed it to me, for there are elements i had not independently suspected before, though we had no cause to think the regions beyond the range of modern human knowledge. 19:29:49 fungot: Give us a second example too, okay? 19:29:50 fizzie: miss tilton, comparing all possible fnord and if we be fnord and besides, was not beyond normal credibility. 19:30:01 Well, that wasn't very useful. 19:30:08 Pretty fnordy text this time. 19:35:13 fungot: huh? 19:35:14 oerjan: even the small piece refused to grow cool, it soon had the college in a state of 19:35:27 fungot: good grief 19:35:30 oerjan: by h. p. lovecraft and c. m... eddy jr. 19:35:37 fungot: Hey, you gave it away! 19:35:42 fizzie: at my violent start the speaker paused a moment before there had been a gorgeous sunset, and judged it was a million or ten million or fifty million years ago and that of only thirty million years old. 19:35:53 and i was _just_ guessing lovecraft too :( 19:36:18 (although i haven't read any) 19:36:20 Should've stripped those parts out of them books, but couldn't be bothered. 19:42:05 -!- Mony has quit ("Ne regrettons pas le passĂ©, ne nous prĂ©occupons pas de l'avenir : le sage vit dans le prĂ©sent."). 19:47:48 -!- Slereah_ has joined. 19:59:32 -!- Corun has quit ("Leaving"). 20:09:10 -!- Slereah_ has quit (Read error: 54 (Connection reset by peer)). 20:09:13 -!- Slereah_ has joined. 20:14:33 -!- Slereah has joined. 20:14:33 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 20:18:13 -!- Slereah has quit (Read error: 104 (Connection reset by peer)). 20:21:11 -!- Slereah has joined. 20:42:48 -!- atrapado has joined. 20:57:10 -!- Linus` has joined. 21:00:14 -!- Slereah_ has joined. 21:00:14 -!- Slereah has quit (Read error: 104 (Connection reset by peer)). 21:07:08 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | PING. 21:08:49 ah the wiki is back 21:10:36 hey oerjan 21:11:32 -!- LinuS has quit (Connection timed out). 21:13:06 hi psygnisfive 21:13:44 hi oerjan 21:13:46 hi psygnisfive 21:13:55 oklopol <3 21:14:33 hi oklopol 21:17:59 was wondering about turning boolean expressions into maxterm normal form 21:18:04 after ages of thinking and pondering 21:18:10 maxterm? 21:18:20 i realized the general case just amounts to enumerating the whole truth table :| 21:18:38 anding ors 21:19:43 maxterms are when you and or clauses, kinda taking the maximum of the truth values of each clause 21:19:50 minterms are when you and them 21:20:03 the two normal forms 21:20:18 i need the maxterm one so i can convert to 3-sat 21:21:51 the problem with making unimplementable turing tarpits is even *i* feel i'm wasting my time 21:21:54 only slightly though 21:22:09 hey oklopol, oerjan, didnt you want to learn something about like.. syntax?? 21:22:14 well the conversion can blow up exponentially 21:23:03 btw is there anything new and interesting on the wiki? 21:23:07 i haven't read it for ages 21:23:16 only recently got reinterested in esolangs 21:23:54 well, actively reinterested, i'm always *interested*, but i'm not always using my brain for esolang-related ponderings 21:23:59 psygnisfive: NO 21:24:14 i remember you and oerjan saying something about itd be interesting to learn such and such. :| 21:24:48 all is interesting to learn that is abstract and useless. 21:24:51 * oerjan has a fever 21:25:21 lots of people think syntax is useless :P 21:25:24 i don't recall saying anything like that, i have only asked about *phonetics* 21:25:37 do they really? then perhaps i should try it 21:27:17 oerjan: do you have insights on the 3-sat conversion? 21:28:12 well you introduce extra variables, i think 21:28:25 hmm 21:28:40 (a v b) 21:28:41 => 21:28:52 (a v b v c) ^ (a v b v C) 21:29:02 (using noprob negation) 21:29:18 and C can actually be used as the temp of any amount of clauses 21:29:25 because why couldn't it 21:29:40 er i'm not sure of _that_ 21:29:45 oh wait 21:29:52 in the case you show there, it can 21:30:17 but not for handling splitting 21:30:31 yeah 21:30:34 at splitting 21:30:36 like 21:30:42 (a v b v c v d) 21:30:47 you'd to something like 21:30:48 (a v b v c v d) => (a v b v e) ^ (c v d v E) 21:30:56 err 21:31:01 oh 21:31:10 i didn't think of that 21:31:10 not sure if i got that right 21:31:28 that looks right 21:31:37 ah yes phonetics 21:31:39 but i can't put into words why 21:31:39 thats what it was 21:31:52 also, oklopol 21:32:00 if e is true, then c or d must be true 21:32:09 if e is false, then a or b must be true 21:32:09 theres a theory of syntax from a guy at UPenn, Aravind Joshi, called Tree Adjoining Grammar 21:32:14 its all about tree rewriting :D 21:32:31 and e can be chosen arbitrarily, but here it is important that it is used nowhere else 21:32:37 yes 21:32:51 psygnisfive: tree rewriting!! 21:32:57 yeah its cool :o 21:33:06 pretty cool yeah 21:33:10 it lets you do all sorts of crazy shit with non-local dependencies 21:33:12 but how about REWRITING HYPERGRAPHS?!? 21:33:18 well 21:33:30 i do know that some models of dependency grammar are based on /multigraphs/ 21:33:38 i dont know what a hypergraph is tho 21:33:44 oerjan: seems you had quite a lot of insight, thanks 21:33:57 i probably wouldn't have come up with that without giving it tons of thought 21:34:18 oh i see what a hypergraph is 21:34:19 interesting 21:35:21 hm 21:35:31 i think i might be using hypergraphs in my syntactic formalism 21:36:01 maybe not. 21:36:02 (a v b v c v d v e v f v g), i should just split this as evenly as possible, right? (a v b v c v d v temp1) (e v f v g v Temp1) 21:36:03 i dont know. D: 21:36:12 and then recurse 21:36:18 oklopol whatchu doin? 21:36:38 psygnisfive: i'm doing small-scale research so i can start implementing noprob 21:36:49 what on 21:38:17 oklopol: well i've seen the reduction SAT -> 3SAT at some time... 21:38:23 (a v b v c v d v temp1) ^ (e v f v g v Temp1) ==> (a v b v temp4) ^ (c v temp2 v Temp4) ^ (d v temp1 v Temp2) ^ (e v f v temp3) ^ (g v Temp1 v Temp 3) 21:38:48 basically just recursing on the resulting subclauses 21:39:07 psygnisfive: what on what? 21:39:17 what are you researching 21:39:46 i'm researching the subject of 21:39:52 :P 21:39:57 oklopol: looks good, of course there may be some more elegant way 21:40:03 -!- ryanakca has quit (Read error: 104 (Connection reset by peer)). 21:40:48 oerjan: well it's a logarithmic growth in size 21:40:55 so i'd say it's enough 21:41:13 as i'm already doing exponential work when creating the sat... 21:42:12 umm 21:42:16 or is it logarithmic... 21:42:47 the reduction is O(lg n) deep, because i always split the clause 21:42:59 but i'm also doubling the work each time 21:43:15 because there are twice as many clauses on the next level 21:43:43 so O(lg n) steps, exponential growth in size of one step, that would make O(n) in layman's math 21:43:48 when creating the sat, do you mean reducing from general boolean expression to conjunctive normal form? 21:43:58 yes 21:44:03 because i think some of the same tricks can be used there 21:44:54 introducing variables to split things cheaply 21:45:12 well i was just thinking, if you have just a few clauses of disjunctive normal form, the conjunctive normal form will have an exponential number of clauses 21:45:50 because the numbers of clauses are 2^|variables|'s complements if i'm not mistaken 21:45:54 oh 21:46:02 introducing variables. 21:46:05 goddamnit 21:46:11 why didn't i think of that 21:46:16 :P 21:46:55 in fact i think you can start this by doing the same thing to the large disjunction 21:47:13 err what? 21:47:14 then you end up with only relatively small ones 21:47:30 what large disjunction 21:47:50 if you start with a disjunctive normal form 21:47:57 ah 21:47:58 yeah 21:48:32 -!- atrapado has quit ("Abandonando"). 21:49:10 my initial approach was to try and use boolean algebra to reduce things to the normal form 21:49:25 but that's quite limited 21:49:51 yeah because it blows up 21:49:54 yes 21:50:03 * ehird realises that his semantic wiki project thing is already realised by RDF, and he just needs to hack up an interface to viewing/editing rdf 21:50:05 yay 21:50:15 after all, if you could convert things to conj. form then by duality you could convert it to disj. form 21:50:27 yes 21:50:47 and if you could do the latter without blowing up, satisfiability becomes easy to solve 21:51:08 it does? 21:51:33 is satisfiability trivial in disjunctive normal form? 21:51:39 yes. because checking a disjunctive normal form for satisfiability is just checking each clause 21:51:39 hmph, i don't know shit. 21:51:58 if any of them is satisfiable, then the whole is 21:52:01 if not, not 21:52:05 right 21:52:56 how does this not make it impossible to do the conversion with newly introduced variables? 21:53:18 ehird: ah, Reality Distortion Fields 21:53:44 oerjan: no, http://www.w3.org/RDF/ :- 21:53:45 P 21:54:05 (Note: It isn't always XML, there's a non-eyeball-renching plaintext serialization of it too... thank god.) 21:54:19 * oerjan loves picking the wrong de-acronym 21:54:27 :-D 21:55:07 oklopol: the thing here is that when introducing variables while keeping satisfiability you always introduce new _conjunctions_ outermost 21:55:38 so it gets worse, not better, as far as actually solving it goes 21:55:53 and you cannot get to DNF by adding new vars? 21:56:06 you have to realize i don't actually see how any of this is realized :P 21:56:12 realizeeeee 21:56:29 if you tried to do the dual i guess you would find you preserve the dual of satisfiability instead 21:56:42 -!- kar8nga has left (?). 21:56:58 and _that_ is hard to solve on disjunctive normal form, but easy on conjunctive 21:57:22 ah, find something that does *not* satisfy it 21:57:30 okay, it's all becoming clear now. 21:57:39 yeah 21:58:11 but 21:58:23 so err 21:58:46 (a ^ b) v (c ^ d), how would i turn this upside down into CNF? 21:59:13 i think once you have it down to just two terms you'll have to use boolean algebra a bit 21:59:22 so, distributive law 21:59:26 umm okay 21:59:27 let's see 21:59:46 (A v B)' v (C v D)' 21:59:49 and 22:00:00 ((A v B)' ^ (C v D))' 22:00:02 umm 22:00:04 ((A v B' ^ (C v D))' 22:00:08 but that's no use 22:00:09 and fuck 22:00:13 ((A v B) ^ (C v D))' 22:00:16 . 22:00:20 hmmhmm 22:00:57 um it's: (a ^ b) v (c ^ d) => (a v c) ^ (a v d) ^ (b v c) ^ (b v d) 22:01:54 right, so to not it, i have to list all the *other* possibilities? 22:02:18 not? 22:02:24 not as a verb 22:02:25 negate 22:02:33 complement 22:02:36 dunnnnnno 22:02:40 to negate a boolean expression you use deMorgan's laws 22:03:20 switch ^ and v, and negate the arguments recursively 22:03:50 why does that add new clauses 22:03:56 it doesn't 22:04:14 are we trying to do the same thing... 22:04:21 :D 22:04:55 basically, you usually use deMorgan's law to get all negation down to just the variables before doing anything else 22:04:56 what exactly did you negate in (a ^ b) v (c ^ d) to get that next thing? 22:05:21 i didn't negate, i used the distributive law for v over ^ 22:05:29 well that makes more sense 22:05:48 (they're dual, so distribution goes both ways) 22:05:55 okay, yeah, i see it now 22:06:33 how about something more complex then, say i simply have (a ^ b ^ c) v (d ^ e ^ f) 22:06:39 well 22:06:53 i guess i can use the same law... 22:06:59 i got to thinking that this might be a bit wrong if you have deeply nested things 22:07:25 a better way may be to introduce variables _standing_ for the subterms 22:07:48 i think that's how the reduction NP -> SAT usually goes anyway 22:07:51 yes, that's what i tried initially 22:08:01 and NP means? 22:08:08 naughty proposition? 22:08:10 any NP problem 22:08:15 ahh 22:08:59 so then, what we want is a clause that implies abc == a ^ b ^ c 22:09:11 yeah 22:09:23 we somehow add some structure somewhere 22:09:38 that makes (a ^ b ^ c) true exactly when abc is true 22:09:40 this is easy since equivalence is a boolean relation 22:09:47 and then use abc as that subterm 22:09:54 oh 22:10:08 right, i used that reduction in my noprob examples 22:10:31 (a <=> b) <=> ((a ^ b) v (A ^ B)) 22:10:39 both true or both false 22:10:48 except you want it conjunctive, presumably 22:10:51 right 22:10:52 so 22:11:03 ((a v B) ^ (A v b)) 22:11:14 which i cannot really explain. 22:11:30 errrr is that even right 22:11:47 ah 22:12:03 if the vars were different 22:12:11 then one of those would definitely be false 22:12:15 so okay, yeah, that's it 22:12:27 so 22:12:29 you can get it with distributivity, then all the a ^ A terms disappear because they're inconsistent 22:12:43 yup 22:13:00 but i like to explain things rather than prove them, because i'm a softie 22:13:07 okay, so 22:13:29 if i have the subterm (a ^ b ^ c) 22:13:33 in a larger thingie 22:14:21 err... okay now i'm thinking i'd add an "^ (abc <=> (a ^ b ^ c))" on the toplevel and substitute abc for all (a ^ b ^ c)'s 22:14:29 yeah 22:14:56 the thing i ripped abc out of is now definitely smaller 22:16:09 but the problem is, when i've removed all the substructures 22:16:24 i have ands on the toplevel, anding up all the equivalences 22:16:36 yep, and that's good 22:16:43 ... 22:16:50 yes 22:16:53 of course it is 22:17:04 it's just i keep flipping ands and ors together. 22:17:23 but hey 22:17:30 umm 22:17:42 (abc <=> (a ^ b ^ c)) 22:17:53 guide me through this 22:17:54 basically 22:18:02 i first do the flippedy 22:18:04 and get like 22:18:26 note if (a ^ b ^ c) were something larger you could always split it up more 22:18:30 (abc v (a ^ b ^ c)') ^ (Abc v (a ^ b ^ c)) 22:18:41 ohh, i can distribute 22:19:03 err 22:19:31 (abc v (a ^ b ^ c)') ^ (Abc v a) ^ (Abc v b) ^ (Abc v c) 22:19:36 rright? 22:19:42 but the leftmost one 22:19:57 the left half needs a deMorgan 22:20:02 (abc v A v B v C) ^ (Abc v a) ^ (Abc v b) ^ (Abc v c) ? 22:20:07 yeah 22:20:10 yay 22:20:30 okay, i'm pretty sure i could do the conversion manually now 22:20:55 so i can probably automatize it with a bit of further consideration 22:21:10 -!- cathyal has joined. 22:21:27 thanks, this has been eye-opening 22:22:05 i think this is about half the proof that SAT _is_ NP-complete. the other half is turning a Turing machine into a boolean circuit 22:22:52 umm, with a finite playground? 22:22:55 anyone worked on a brainfuck compiler 22:23:08 polynomial size in the input 22:23:11 oh oh oh 22:23:30 that's how it's proven that SAT is np-complete without reducing it to anything 22:23:38 turing machine 22:23:51 Still trying to get fungot to crash, but I think he's losing hope: 22:23:51 what are you guys talking about 22:23:52 00:22:01 fungot: Crash! 22:23:53 00:22:02 fizzie: my feelings toward these shelves cannot be described there is no hope. then, 22:23:53 fizzie: " bragging rights" out of " scary dead grandma made us fake the stamp" stickers 22:23:54 fizzie: the environment.' environments ( better referred to as ' characters.' 22:23:54 fizzie: i'll give you mine if you want 22:23:55 turing complete machines? 22:24:04 my algo book just said something reeeally vague 22:24:36 cathyal: oklopol is trying to invent a language based on an NP-complete problem 22:24:44 oh please 22:24:44 NOT 22:24:45 lol 22:24:54 trying to *implement*, the language is ready 22:25:03 it's practically unimplementable 22:25:14 yes, that's the beauty of implementing it 22:25:18 but that has never stopped oklopol 22:25:37 :P 22:26:01 cise's parsing is most likely np-complete 22:26:12 i should try proving that 22:26:31 fizzie: are you not succeeding? maybe something other than just chatting is required 22:27:05 So far it just chatting has been enough, but it only occurs rarely. 22:27:09 two exams tomorrow, and not about 3-sat, perhaps i should sleep a bit -> 22:27:25 -!- zbrown has quit (Remote closed the connection). 22:27:29 -!- zbrown has joined. 22:27:44 I'm sure I'd get it to crash pretty quickly if I just feed "fungot\nfungot\nfungot\n" as the input without involving an IRC server, but that would feel like cheating. 22:28:12 night oklopol 22:28:13 so 22:28:16 So I've just been talking with it. 22:28:17 whose worked on haskell 22:28:25 or implemented symbolic languages 22:28:27 haskell haskell haskell 22:29:04 i have half of a brainfuck interpreter in haskell laying around 22:29:23 my usual vaporware 22:30:27 I've got half of a Befunge interpreter in Haskell, it's my default "testing a new language" program. 22:30:27 fungot: CRASH 22:30:36 -!- KingOfKarlsruhe has quit (Remote closed the connection). 22:30:38 oerjan: ive got balls of steel? 22:30:43 is there an esoteric OS? 22:30:47 would be fun :o 22:30:57 fungot: DAMN YOU 22:30:58 oerjan: undefined local variable or two 22:31:18 (It's back to irclogs from the politician-talk, if you didn't guess.) 22:31:22 Linus`: the idea crops up frequently 22:32:34 cathyal: somehow the languages implemented here tend not to be symbolic. 22:33:20 fizzie: i don't know, that _could_ be Bush saying that, don't you think? 22:33:28 except in the sense that most of the instructions end up being symbols in the other sense of the word :) 22:34:01 actually what is a symbolic language, precisely? 22:34:03 oerjan: Not the "undefined local variable" one. 22:34:14 fizzie: maybe not. 22:34:17 oerjan: nice 22:36:13 i recall the Reader[T] monads are considered nice for environments. i think there are some tutorials. 22:36:39 Hey, I think I crasheded it finally. 22:36:58 also, #haskell is a very friendly channel too, although i haven't been there in a while 22:37:29 fungot: you dead? 22:37:52 hi cathyal. 22:39:00 hi ehird 22:39:03 -!- fungot has quit (Read error: 131 (Connection reset by peer)). 22:39:27 -!- fungot has joined. 22:40:34 There's a two-megabyte log for me to look at now. Later. 22:40:42 now we wait for the results of the autopsy 22:42:46 There's a lot of negative numbers in the stack, and it's somewhere there in the tokens-to-text code. Have to sleep now, the corpse will still be there tomorrow too. 22:52:54 no respect for the dead :( 22:53:21 but but ... it's for science! 22:53:29 right fungot? 22:53:29 oerjan: is it possible to do all the design :)... when some of the implementations. 22:53:33 and did you get fungot's permission? 22:53:33 Asztal: what's a metasyntactic variable there. 22:56:39 also, fungot is not dead. 22:56:40 oerjan: are you a number of much higher-level concurrency abstractions and some other 22:57:07 fungot: i couldn't say 22:57:08 oerjan: helsinki.fi cs entrance exam is coding instead of surfing? 22:57:25 fungot: shocking, i know 22:57:26 oerjan: which then got reddit'd or something. 23:03:58 asztal, are you hungarian? 23:05:02 -!- Judofyr has quit (Read error: 104 (Connection reset by peer)). 23:05:31 -!- Judofyr has joined. 23:06:47 psygnisfive: no, but I am learning that language 23:08:38 ok 23:09:20 how did you know? do you know this word somehow? 23:09:59 * oerjan recalls assuming Asztal was hungarian before 23:10:43 thought occurred: 23:10:52 is there some kinda time transition thingie 23:11:03 somewhere around these times 23:11:27 what 23:11:40 you know, like you turn the knob of the clock 23:11:43 around and around 23:11:48 happens a few times per year 23:12:03 next week 23:12:10 okay. 23:12:11 thanks. 23:12:13 sleep. 23:12:14 -> 23:12:31 lol 23:17:55 night oklopol 23:18:06 asztal: the sz spelling is very hungarian 23:18:24 any combination of s and z is hungarian looking 23:19:14 ah, I see 23:19:37 I usually find that it's polish when I see sz :) 23:19:40 its like how you can identify finnish by its excessive double vowels, double consonants, and umlauts EVERYWHERE 23:19:49 gy is very hungarian imo 23:20:03 or dutch by its vowel pairs, ij, and short works 23:20:24 words* 23:20:35 gy looks hungarian indeed 23:20:37 or japanese