00:02:54 -!- doesthiswork_ has quit (Quit: Page closed). 00:06:42 -!- ion has quit (Ping timeout: 252 seconds). 00:08:40 -!- ion has joined. 00:13:04 -!- nooodl has quit (Ping timeout: 264 seconds). 00:21:33 -!- augur has quit (Remote host closed the connection). 00:22:05 -!- augur has joined. 00:22:43 -!- ion has quit (Ping timeout: 260 seconds). 00:24:09 -!- Sprocklem has joined. 00:26:45 -!- augur has quit (Ping timeout: 248 seconds). 00:33:11 -!- doesthiswork has joined. 00:36:02 -!- bitlion_r has joined. 00:36:06 -!- ion has joined. 00:37:33 -!- Sorella` has joined. 00:38:57 -!- lambdabot has quit (Remote host closed the connection). 00:38:57 -!- Halite[tablet] has quit (Ping timeout: 250 seconds). 00:39:29 int-e: eek 00:40:27 hm int-e doesn't look overly present either. 00:40:39 -!- Halite has joined. 00:41:41 -!- int-e_ has joined. 00:43:11 -!- lambdabot has joined. 00:43:39 -!- heroux_ has joined. 00:43:50 > var$"wh"++repeat'e' 00:43:55 Not in scope: repeat'e' 00:43:58 oops 00:43:59 Perhaps you meant `repeated' (imported from Control.Lens) 00:44:03 > var$"wh"++repeat 'e' 00:44:04 wheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee... 00:45:18 -!- FreeFull_ has joined. 00:46:03 -!- Sorella has quit (Ping timeout: 250 seconds). 00:46:05 -!- int-e has quit (Remote host closed the connection). 00:46:05 -!- contrapumpkin has joined. 00:46:06 -!- heroux has quit (Ping timeout: 250 seconds). 00:46:06 -!- copumpkin has quit (Ping timeout: 250 seconds). 00:46:08 -!- FreeFull has quit (Ping timeout: 250 seconds). 00:46:10 -!- heroux_ has changed nick to heroux. 00:47:40 -!- drlemon has quit (Read error: Connection timed out). 00:47:59 -!- Sorella` has changed nick to Sorella. 00:48:00 -!- Sorella has quit (Changing host). 00:48:00 -!- Sorella has joined. 00:49:09 -!- Sgeo has joined. 00:49:34 -!- Phantom_Hoover has quit (Ping timeout: 246 seconds). 00:50:21 -!- Tesseract has joined. 00:50:59 @tell myname where do i find said implementation? <-- it says you have to email immibis hth 00:51:00 Consider it noted. 00:51:38 (i think i saw immibis around on the net recently too.) 00:55:16 -!- tertu has joined. 00:56:17 -!- ter2 has joined. 00:57:13 -!- ShadowNinja has quit (*.net *.split). 00:57:41 -!- tertu3 has quit (Ping timeout: 248 seconds). 00:58:18 -!- Phantom_Hoover has joined. 00:59:35 -!- tertu has quit (Ping timeout: 260 seconds). 01:06:39 -!- carado has quit (Ping timeout: 252 seconds). 01:08:21 -!- ion has quit (Ping timeout: 248 seconds). 01:12:15 -!- augur has joined. 01:12:33 -!- augur has quit (Remote host closed the connection). 01:12:41 -!- augur has joined. 01:15:13 typeof(*p) *_________p1 = (typeof(*p)*__force )ACCESS_ONCE(p); 01:15:22 http://livegrep.com/search/linux?q=\b_________[a-z] 01:16:43 -!- ion has joined. 01:17:14 jesus 01:17:42 \rainbow{LINUX} 01:18:09 want to make a distro called Jesus Rainbow Linux? 01:18:11 is "typeof(*p) *" different from "typeof(p)" given that p is a pointer 01:18:31 probably 01:18:37 great 01:19:18 -!- Lymia has joined. 01:19:50 maybe it's for discarding cv-qualifiers 01:20:01 meaning const and volatile 01:20:33 oh cool the gcc example of typeof is just an avoiding multiple evaluation thing :/ 01:21:15 " typeof (typeof (char *)[4]) y;" also 01:21:24 and what the christ is __force for 01:21:26 https://github.com/torvalds/linux/blob/v3.11/tools/perf/util/include/linux/compiler.h#L18 01:21:35 maybe it's an annotation to Sparse, like __user? 01:21:57 Bike: what 01:22:12 it is equivalent to char *y[4];, supposedly 01:23:28 docs don't mention const or volatile though 01:25:10 also if p is an array type 01:25:27 then typeof(*p)* will be a pointer and not an array, I expect 01:25:36 i don't know shit about arrays :( 01:25:41 (or C in general) 01:26:14 they say the first step to truly understanding C is understanding that arrays are just pointers, and the second step is understanding that arrays are not just pointers 01:26:46 (it's more correct to say that array types decay into pointer types in certain circumstances) 01:26:56 Almost all circumstances. 01:27:37 I think there are only two non-decay things you can do with an array. 01:27:46 sizeof 01:27:53 And & 01:27:58 * kmc nods 01:28:09 http://mauke.hopto.org/stuff/c/array-pointer.html says so. 01:28:11 and now typeof 01:28:19 and _Alignof prolly 01:28:21 :p 01:28:26 for int a[10], a and &a have the same integral value, but not so for int *a 01:29:00 I,I the first step to understanding C is understanding that functions are just pointers to functions 01:29:07 oh it's alignof(type) but _Alignas 01:29:42 shachaf: :3 01:29:57 well that's not too hard to understand 01:30:30 i like how the f in f(x) isn't a function but a function pointer 01:31:13 i like how C has function types and they're almost useless until C++11 std::function comes along 01:31:38 what can you even do with them 01:31:44 you can get a sizeof error 01:32:01 typedef void fty(int); fty *ptr = whatever 01:32:08 are they not checked? 01:32:17 could be useful for "poor man's templates" i.e. macros generating data structure code 01:32:50 like all this stuff https://github.com/CentOS/ksplice/blob/master/objcommon.h 01:36:42 -!- contrapumpkin has changed nick to copumpkin. 01:41:17 -!- Phantom_Hoover has quit (Ping timeout: 272 seconds). 01:41:57 -!- ter2 has quit (Ping timeout: 248 seconds). 01:42:25 i did typedef void ty(int); int main() { ty x; } 01:42:38 and I was expecting it to complain that a function type is incomplete 01:42:41 but actually it's fine! 01:42:47 it just declares (locally) a function named x 01:42:54 you can do that without the typedef, too 01:43:01 weird old code declares printf and stuff that way 01:43:11 compilers hate this 1 weird old trick to declare printf 01:43:26 declares it with extern linkage i guess, because that's the default for functions, never mind what syntax you use 01:43:27 Note that in standard C you can only have local declarations, not local definitions of functions. 01:43:31 right 01:43:59 I knew about local function declarations but had forgotten they can look like "ordinary" decls using typedef 01:44:19 also these are the source of one of C++'s many syntactic warts 01:44:53 is Foo x(bar) a declaration of a function or a definition of a Foo object with a constructor argument? 01:46:52 i think it's the former and you have to use Foo x = Foo(bar) for the latter 01:46:53 but i forgot 01:48:04 it depends on what Foo is I think 01:48:10 maybe what bar is too 01:48:18 heh 01:48:21 like all of C++ 01:48:59 `quote 1143 01:49:00 1143) A Swede who was in #esoteric / Thought his rhymes were a little generic. / "I might use, in my prose, / ꙮs, / But my poetry's alphanumeric." 01:49:12 `quote ꙮ 01:49:14 1143) A Swede who was in #esoteric / Thought his rhymes were a little generic. / "I might use, in my prose, / ꙮs, / But my poetry's alphanumeric." 01:49:18 but ꙮ is alphanumeric!! 01:49:36 Category: Letter, Other [Lo] 01:49:36 scandal rocks the unicode poetry establishment 01:49:54 `run grep ꙮ wisdom/* 01:49:56 No output. 01:50:02 "the scoundrel doesn't even know his general categories", sources complain 01:50:06 `run grep ꙮ quotes 01:50:08 A Swede who was in #esoteric / Thought his rhymes were a little generic. / "I might use, in my prose, / ꙮs, / But my poetry's alphanumeric." 01:50:25 i am just surprised that one wasn't already added somewhere. 01:51:04 * kmc fucking off now, ttyl 01:51:13 have fucking fun 01:51:19 kmc: hm is it Other just because there is only one instance so no way to make an upper/lower case pair? 01:51:39 presumably it's lower case in principle. 01:51:49 oh wait 01:51:55 is Lo for lower. 01:52:28 then wtf does Other mean. 01:52:47 CYRILLIC LETTER MAJUSCULE MULTIOCULAR O WITH COMBINING PENIS ABOVE 01:53:32 oerjan: looks like lowercase is Ll, no 01:53:44 aha 01:54:11 so Lo is just an abbreviation for the stuff before. 01:54:25 for letter other, yeah 02:01:15 -!- SingingBoyo has quit (Ping timeout: 240 seconds). 02:11:13 * oerjan wonders what boily will say to having to get multiocular o into the pdf 02:11:31 i suspect quebecois swearing. 02:12:14 *québécois 02:15:25 I think it sends latin1 (or cp1252) if possible, but decodes as utf8 if possible <-- i assume this means it can encode it into something it decodes wrongly 02:17:30 I thought that case was handled? 02:17:43 (Sending something that can be wrongly decoded into UTF-8.) 02:17:47 Then again, maybe not. 02:18:30 hm ok 02:18:45 imo don't trust me 02:19:27 ^ord ꙮ 02:19:27 234 153 174 02:20:54 i suppose it might be rare 02:22:05 > chr <$> [234, 153, 174] 02:22:06 "\234\153\174" 02:22:12 so helpful 02:22:29 > var $ chr <$> [234, 153, 174] 02:22:30 ê® 02:22:51 ^ord ê® 02:22:51 195 170 194 174 02:23:14 `ord ê® 02:23:16 234 174 02:23:25 it just skipped 153? 02:23:39 > var "\153" 02:23:58 UM 02:24:12 > "\153" 02:24:13 "\153" 02:24:20 > var "" 02:24:21 Terminated 02:25:00 hm i suppose it's in the control code part 02:25:17 `ord ꙮ 02:25:18 234 153 174 02:26:03 would someone with xchat try and copy/paste that 02:34:33 -!- Sgeo_ has joined. 02:36:04 uh oh lambdabot is becoming skynet 02:36:23 wat 02:36:36 ...oh 02:36:43 lambdabot 6:24 Terminated 02:36:56 -!- Sgeo has quit (Ping timeout: 240 seconds). 02:36:56 -!- Halite has quit (Ping timeout: 240 seconds). 02:37:33 why can't we just add cencoding control codes to irc the same way mirc added color codes 02:37:52 -!- Halite has joined. 02:38:02 how would you encode the codes 02:38:27 they would be the first byte in a message. no encoding necessary. 02:38:41 same way html works kinda 02:38:55 -!- olsner has quit (Ping timeout: 272 seconds). 02:43:36 -!- olsner has joined. 02:48:24 http://theshovel.com.au/2013/12/09/man-forced-to-watch-concert-through-his-own-eyes/ 02:49:17 -!- Bike has quit (Read error: Connection reset by peer). 02:49:33 -!- Bike has joined. 02:51:53 -!- ter2 has joined. 02:54:22 “including some odd claims such as that the watch had 1080p resolution (huh? on a watch?!?)” Comments that will amuse in 15 years. http://www.techdirt.com/articles/20131207/02231325495/kickstarter-projects-getting-called-out-just-reselling-products-china.shtml 02:56:57 -!- ter2 has quit (Ping timeout: 240 seconds). 03:02:29 -!- ter2 has joined. 03:03:52 -!- Tesseract has changed nick to ShadowNinja. 03:13:40 is Lambdabot 6:24 a bible verse 03:15:05 Robot bible 03:18:35 The Good Book 3.0 03:21:22 The Fully Functional Book 03:22:07 dammit kmc you beat me to the futurama reference 03:22:12 Related? http://kingjamesprogramming.tumblr.com/ 03:22:51 :D 03:23:10 Has the Futurama theorem been used for anything outside of Futurama? 03:23:18 -!- yorick has quit (Remote host closed the connection). 03:23:26 is that the one about body switching 03:23:44 Yes 03:24:23 More generally it's about permutations that you can only do once per pair 03:24:37 Yes 03:27:47 22:14 03:27:47 The mouth of strange women is a deep and wonderful property of computation. 03:28:10 I know right 03:29:22 -!- Fiora_ has joined. 03:29:37 fiora prime, destroyer of worlds 03:29:39 -!- Fiora has quit (Disconnected by services). 03:29:45 -!- Fiora_ has changed nick to Fiora. 03:30:36 there can be only one 03:31:54 -!- tertu3 has joined. 03:33:48 -!- tertu has joined. 03:33:57 actually I'm rather fond of multiple return values 03:35:27 -!- ter2 has quit (Ping timeout: 260 seconds). 03:36:01 As in a tuple? Or as in generators? 03:36:05 -!- tertu3 has quit (Ping timeout: 248 seconds). 03:36:53 -!- ter2 has joined. 03:37:53 hey Fiora remember when i was talking about bifurcation? get a load of this http://en.wikipedia.org/wiki/File:Verhulst-Mandelbrot-Bifurcation.jpg 03:38:58 O_O 03:39:49 -!- tertu has quit (Ping timeout: 248 seconds). 03:40:13 -!- tertu has joined. 03:40:17 http://en.wikipedia.org/wiki/Mandelbrot_set#Main_cardioid_and_period_bulbs more deets 03:41:25 -!- ter2 has quit (Ping timeout: 248 seconds). 03:41:49 Why do they call them cardioids 03:41:53 When they are clearly butt shaped 03:41:58 Glutoids 03:42:28 -!- ter2 has joined. 03:42:44 man i think i need a copy of counterexamples in topology just to understand all the definitions 03:43:01 I have a great counterexample book 03:43:12 It's just a big book of 500 counterexamples in math 03:43:15 Pretty useful 03:43:29 -!- tertu3 has joined. 03:45:41 -!- tertu has quit (Ping timeout: 248 seconds). 03:46:38 -!- tertu has joined. 03:46:45 -!- ter2 has quit (Ping timeout: 248 seconds). 03:47:49 -!- tertu3 has quit (Ping timeout: 248 seconds). 03:49:29 -!- doesthiswork has quit (Read error: Connection reset by peer). 04:12:15 -!- ter2 has joined. 04:15:01 -!- tertu has quit (Ping timeout: 248 seconds). 04:33:56 -!- tertu3 has joined. 04:37:59 -!- ter2 has quit (Ping timeout: 272 seconds). 04:46:44 -!- iamcal___ has joined. 04:48:52 -!- iamcal___ has changed nick to iamcal. 04:49:00 Slereah: does it tell what they are countereamples for 04:49:18 because i think it would be more awesome if it didn't 04:49:34 just a list of numbers you should test your conjecture on 04:50:22 "14235. Good luck, champ." 04:50:24 -!- iamcal has quit (Client Quit). 04:50:46 heh 04:50:52 Nah, it's pretty specific 04:50:53 -!- iamcal has joined. 04:51:20 Like the first chapter is counterexamples of set theory 04:52:02 Then group theory, rings and fields, vector spaces, real numbers, series, real functions, integrals and so on 04:53:30 hm, i can improvise for sadly few of those 04:53:31 -1-38-38.dsl.dynamic.sonic.net] has joined #yackfest 04:53:33 oops. 04:54:24 I'm disappointed, this channel does not exist 04:54:54 Well, if you want some of the counterexamples 04:55:02 whether a barber cuts their own hair (naïve set theory), pi (all reals are algebraic), lim n->\infty x -> x^n (the limit of a series of continuous functions is continuous) 04:55:33 1) forall x exists y P(x,y) is true while exists y forall x P(x,y) is false 04:56:15 whats the P 04:56:20 2) forall x (P(x) and Q(x)) is true and forall x (P(x) and forall x Q(x)) is false 04:56:33 Some truth function 04:56:40 quantification over predicates :o 04:57:42 Slereah: no which P is a countereample 04:58:10 Let's see 04:58:13 Man it's long 04:59:31 Oh wait, there's a shorter one 05:00:02 Basically it's P(x,y) being x <= y 05:00:47 It's true that for all x, there's a y that is bigger 05:01:01 But if you switch the forall and existence, it means that there's a y bigger than all x's 05:02:12 On the other hand, it is always true that exists y forall x P(x,y) -> forall x exists y P(x,y) 05:02:17 but it doesn't work the other way around 05:02:22 -!- nisstyre has quit (Quit: Leaving). 05:33:47 Evil popup had a too-long message on the navigate away event (or whatever it's called) making it impossible to close 05:33:48 >:( 05:33:52 Had to kill Chrome 05:34:48 update on using C++ for operator overloading: this paper defines a power series class for which & is composition 05:35:30 -!- ^v has quit (Quit: http://i.imgur.com/MHuW96t.gif). 05:54:30 Are the aces high in some games due to the French Revolution? 05:56:49 I think you can toggle the zero flag in a 6502 code by: PHP PLA AND #2 sequence of instructions. Are there better ways? 06:03:41 -!- ter2 has joined. 06:05:43 -!- tertu3 has quit (Ping timeout: 240 seconds). 06:06:48 -!- Slereah has quit (Ping timeout: 265 seconds). 06:07:25 -!- Slereah has joined. 06:24:58 -!- oerjan has quit (Quit: leaving). 06:46:33 Is there a function in standard C libraries to test if a file is seekable or not? 06:47:30 (ftell(fp) < 0 && errno == EBADF)? 06:47:44 (according to the Linux man page) 06:48:05 interesting 06:48:15 "if you don't know, just try" 06:49:31 I want it to work on Windows as well as Linux (and even on FreeBSD, Mac OS X, etc); the reason I wanted to know is if you are redirecting input from a file, it can just skip over the part it isn't using instead of reading and ignoring it, which it would be if it is a pipe or a serial port or something else like that. 06:52:08 ftell and ebadf are standard c right 06:52:17 then directly invoking fseek and testing for its errno should work 06:52:31 though I question the conformance level of msvcrt... 06:52:55 oh, no badf in errno 06:56:57 zzo38: well, ISO C99 does not have a specific errno for it, but it clearly indicates that fseek can fail and return -1 on that case, so checking for fseek's result seems to be sufficient 06:57:40 if fseek failed due to other problems, then you have much more issues to worry about 07:11:56 -!- stuntaneous has joined. 07:15:04 -!- SingingBoyo has joined. 07:18:45 -!- conehead has quit (Quit: Computer has gone to sleep.). 07:20:26 -!- FreeFull_ has quit. 07:28:43 -!- pikhq has quit (Ping timeout: 260 seconds). 07:28:51 -!- pikhq has joined. 07:37:13 -!- ter2 has quit (Ping timeout: 272 seconds). 07:43:56 POSIX suggests that fseek should fail with ESPIPE if the underlying stream is pipe/FIFO/socket, and EBADF only if "The file descriptor underlying stream is not an open file descriptor"; and anyway I suppose ftell can work even when fseek doesn't. (But the strategy of just trying fseek and giving up if it returns -1 sounds reasonable.) 07:46:31 If you are only seeking forward then it can just read and ignore however many bytes it would otherwise skip, if it is unable to just skip them. 07:48:37 p.o.s.i.x. 08:24:03 http://www.cs.au.dk/~gerth/slides/cphstl06.pdf is unrelated to what I was looking for, but interesting. 08:24:17 what is it 08:24:18 The king that is allowed to move any distance (like a queen does) rather than just one, may be called by different names in different chess variants; which names do you know? I have seen "King Battler" and "Royal Queen"; I have used "Long King" in some of my own games. 08:25:00 zomg i invented the name "royal queen" more than a decade ago 08:25:23 first in hebrew and then translated to english 08:25:36 and i think it was for that piece 08:25:50 also later other pieces that gained the ability to teleport and all sorts of things 08:26:38 Yes, that is kind of clear that such name is probably for that king of piece. (However, I prefer "long king"; some others prefer "king battler") 08:26:50 What is other pieces gained the ability to teleport and what other things are they? 08:26:51 isn't "royal queen" kind of redundant? 08:27:11 kmc: well it was vaguely more like "kingly queen" in the original 08:27:16 how does one even win a game with long kings. seems like it greatly reduces the number of possible mates 08:27:18 though maybe it ought to have been a "queenly king" 08:27:24 or maybe something else, i don't remember 08:27:40 also what's with using "ly" to make adjectives what is that even for 08:28:02 quintopia: Probably if other pieces can also have more powers (and/or more pieces); or if the game has both a long king and a short king and capturing either one of them wins, then it is another way. 08:28:29 ah 08:28:34 zzo38: i mean that "royal queen" later meant a more powerful piece that was able to teleport 08:28:42 made the game very short because it was checkmate on the first move 08:30:12 O, yes, clearly... unless some restrictions are applied to such thing (some games do have such a thing) 08:30:53 like 08:31:04 if you teleport you can't caputre on that move 08:31:11 seems a reasonable restriction 08:31:23 -!- obsidianmirror has joined. 08:32:42 Yes, that is one way, it works 08:33:30 -!- obsidianmirror has quit (Remote host closed the connection). 08:35:22 -!- obsidianmirror has joined. 08:35:51 -!- obsidianmirror has quit (Client Quit). 08:37:30 -!- Slereah_ has joined. 08:41:27 -!- Slereah has quit (Ping timeout: 240 seconds). 08:48:07 -!- Sprocklem has quit (Ping timeout: 260 seconds). 09:02:06 -!- Taneb has joined. 09:14:00 -!- quintopia has quit (Remote host closed the connection). 09:15:23 -!- quintopia has joined. 09:20:45 My brother has once made up a chess variant "bland chess", while waiting in a restaurant. It is a chess game with no diagonal moves (knight moves are still allowed, though). That means pawns cannot capture, queens are same as rooks, bishops cannot move at all, and kings have orthogonal moves only. 09:21:16 That sounds bland. 09:21:28 sounds a bit useless 09:21:33 so the bishops just sit there hoping to get captured so they can get out of everyone's way 09:21:35 hilarious 09:21:55 'i'll take your queen bishop if you'll get rid of my damned bishop' 09:22:04 quintopia: one could add a rule to capture pieces of the own fraction 09:22:30 quintopia: Yes, it does work like that way (although "deals" like that aren't binding any more than they are in normal chess). 09:23:23 myname: that seems actually interesting 09:23:32 Because of the knights, the game actually works kind of OK. 09:27:40 -!- Timwi has joined. 09:27:54 I guess I managed to survive the night 09:28:13 But then later on I had another idea I made a game "unbland chess", where the pieces can each move diagonally once per game, and using cards (which isn't visible to opponent) you can replenish the power to move diagonally. 09:28:40 such a zzo38 game 09:28:55 How do the cards work? 09:30:49 The cards are four of each numbered 1 to 8. You start with two cards and can have up to three cards in your hand at once; you pick one up if you give check or capture an opponent's piece. You can play two cards, choose one to correspond to the rank and one to correspond to the file, and one of your own pieces that has already move diagonal which is standing on that cell, now regains the diagonal ability. 09:31:28 what? 09:31:37 make a website with detailed explanation 09:31:54 What happens if you already have three cards? 09:32:05 also, have you ever played knightmare chess? 09:32:05 shachaf: Then you do not pick up another card. 09:32:11 myname: http://www.chessvariants.org/index/msdisplay.php?itemid=MSunblandchess 09:32:15 Can you pick one up and then choose which to discard? 09:32:18 myname: No, I have not played knightmare chess 09:32:25 shachaf: No. 09:33:07 Do you get to pick up two if you check by taking a piece? (assuming you have only 0 or 1) 09:33:25 You can also get a card by promoting a piece. 09:33:39 What if you take a piece, check, *and* promote all in the same turn? 09:34:02 (whoo, I’ve actually done that before) 09:34:18 Can you take two cards, use them to replenish diagonal powers, and then take another card? 09:34:56 Also, can I use just one card (e.g. the 1) to diagonalize a piece on the diagonal (in this case, A1)? 09:34:57 Timwi: It wasn't clear, but now I fixed it; now it says that you can. 09:35:10 And no, you cannot use just one card to diagonalize a piece on the diagonal. 09:35:55 That's not what I asked. 09:36:04 Oh, wait, I see. 09:36:05 I also fixed it so that the 1 corresponds to *your* first rank (rather than only white), so that it is more symmetric. 09:36:14 You have to replenish diagonal powers *instead* of moving. 09:36:44 shachaf: Yes, you have to instead of moving. And, yes if you have no cards and you capture, check, and promote on one turn, you can pick up three. 09:36:46 I thought you could play it as an instant. 09:39:21 Yeah, I thought of it as an instant too 09:39:56 We should have chess in which every piece has a power and toughness 09:40:14 and you can play spells to change them, or to give them Flying or First strike 09:40:18 Yes, we could make up such chess variant like that too perhaps 09:40:30 I can’t believe I never thought of this before 09:41:08 Flying pieces is allowed to move past non-flying pieces as if those other pieces isn't in the way. 09:41:43 hmm, I thought for a moment that you were talking about Lambda: the Gathering "http://icfpc2011.blogspot.jp/2011/06/task-description-contest-starts-now.html" 09:41:46 Pieces with Trampling also damage the king even if not attacking it 09:41:58 from "diagonal power" 09:43:26 Timwi: OK. 09:43:35 @quote the.gathering 09:43:35 zzo38 says: Such as, we try to make something similar to a combination of Haskell, C, BLISS, TeX, WEB, Prolog, INTERCAL, and Magic: the Gathering; and then make it with many things omitted such as Unicode syntax, layout, do-notation, list comprehensions; and add in macros and stuff, and then make up something new...... 09:44:10 zzo38: How do you propose to combine Haskell with Magic: the Gathering? 09:46:48 shachaf: I am not quite sure, but something where effects can affect other effects (whether they are represented using monads or classes or something else) 09:47:54 These effects are effected similar to Magic: the Gathering effects, so not quite like I/O effects and those things. 09:51:49 shachaf: isn't Lambda: the Gathering almost that? 09:52:09 But zzo38 said that beforehand; I was wondering what he meant. 10:03:10 -!- SingingBoyo has quit (Ping timeout: 240 seconds). 10:11:53 Make a chess variant involving INTERCAL somehow. 10:11:55 -!- muskrat has quit (Quit: Leaving). 10:11:58 -!- zzo38 has quit (Remote host closed the connection). 10:14:19 that sounds easy. DO ABSTAIN FROM PROMOTING TO KNIGHT 10:15:36 afterall, chess is binary because it has 8 times 8 squares and intercal is binary 10:16:28 also, in chess+intercal you don't move your pieces to another square, you bring your pieces FROM another square 10:17:16 even from a computed square 10:20:12 -!- nooodl has joined. 11:11:32 Huh, weird. This four-physical-cores-but-eight-logical-processors-due-to-hyperthreading box has, according to /proc/cpuinfo, the same physical core running at two different clock rates. That doesn't sound possible. 11:12:35 maybe it was read at twwo differnt times? 11:13:07 It doesn't do frequency scaling at *that* high rate, AFAIK. 11:13:25 like just by coincidence maybe? or does it happen every time 11:13:38 Well, often enough. 11:14:36 Hrm. 11:14:41 There seems to be a pattern here. 11:16:58 The logical numbers go from 0..7, where "core id" fields go 0, 1, 2, 3, 0, 1, 2, 3; with 4 CPU-intensive parallel tasks, it seems that (in repeated samplings) if the entry for a core in the first half has the highest clock rate, the corresponding entry in the second half has the lowest, and vice versa. 11:18:05 http://sprunge.us/aaIX -- three random samples. 11:19:03 Must be some kind of a thing. 11:19:19 (With eight tasks, all 8 logical CPUs are listed as 3.3 GHz.) 11:22:01 "Is Enhanced Intel Speedstep® Technology compatible with Intel Hyper-Threading Technology? 11:22:04 Yes. The operating system sees two virtual processors. Requests to change the power state are prioritized between each virtual processor by the BIOS and the operating system; the power state will default to that of the virtual processor requesting the highest state." 11:22:14 Rather strange. 11:23:52 I guess it makes sense (fsvo), then, that for four active tasks it'd schedule them on different physical cores (but somewhat randomly on which HT half of a core), and then request the lowest speed for the "idle" half, even if (in reality) it'll still run at the higher clock rate. 11:24:05 Just makes this cpufreq indicator thing somewhat silly. 11:29:35 -!- bitlion_r has quit (Ping timeout: 260 seconds). 11:32:36 -!- int-e_ has changed nick to int-e. 11:33:34 -!- carado has joined. 11:38:18 -!- pikhq has quit (Ping timeout: 246 seconds). 11:38:48 -!- pikhq has joined. 11:42:17 -!- myndzi has quit (Ping timeout: 240 seconds). 11:42:32 @botsnack 11:42:32 :) 11:43:06 -!- myndzi has joined. 11:43:27 -!- ggherdov has quit (Ping timeout: 240 seconds). 11:55:34 -!- ggherdov has joined. 12:30:12 -!- pikhq has quit (Ping timeout: 260 seconds). 12:30:20 -!- pikhq has joined. 12:52:22 -!- copumpkin has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…). 13:02:57 !SENT_START MR. K. N. C. N. J. AND SHOW ALL ITS U. S. AND ENDS !SENT_END 13:06:05 -!- Sgeo_ has quit (Read error: Connection reset by peer). 13:08:17 "int *p; 13:08:20 Gah, newlines. 13:09:17 "int *p; p = arr; Now we can access every element of array arr using p++ to move from one element to another. NOTE : You cannot decrement a pointer once incremented. p-- won't work." 13:09:41 (##c is commenting on some worst-C-advice-on-the-net site.) 13:14:11 Given int sum(int arr[]); and int sum(int *ptr); "one will lead to call by value and the other is used to perform call be reference". 13:14:29 It's like some sort of an attempt to be most wrong. 13:16:15 hehe. 13:16:51 arrays are pointers. except they are not. didn't we just mention this yesterday? 13:17:10 I guess it comes up again and again and again. 13:18:16 Oh, as a remedy for the p-- problem, let's all use --p. 13:21:04 "When an array is declared, compiler allocates sufficient amount of memory to contain all the elements of the array. Base address which gives location of the first element is also allocated by the compiler. -- Here variable arr will give the base address, which is a constant pointer pointing to the element, arr[0]." 13:21:27 As far as I can tell, it's (almost) describing B's arrays. 13:22:40 Bah, they are trying to sort-of explain lvalues and rvalues without even distinguishing between left-hand and right-hand sides of assignments. 13:23:31 unbelievable 13:23:41 they mention i[a] but they get p-- wrong? 13:24:13 It's quite a mashup. 13:24:22 oh it gets better. multidimensional arrays. good one. 13:25:07 Well, you know. "void type means no value. This is usually used to specify the type of functions." 13:29:04 Oh. No, the multi-dimensional array thing is probably fine. It's just that *(*(ptr + i) + j) looks entirely wrong to me. 13:29:53 Oh well. 13:29:56 Nice find :) 13:30:34 There was another similiar site the other month, and that one also used < foo.h> (with the space) for standard includes, which puzzled me then and puzzles me still. 13:30:51 It could be some sort of a CMS markup workaround thing, I guess. In theory. 13:32:38 Given the lead-in text ("Lets see how we can make a pointer point to such an array --") I was sort of expecting to find something about the admittedly gnarly-looking pointer-to-array declarators. 13:33:41 *(int[]) 13:34:02 int arr[2][3] = {{1,2,3},{4,5,6}}; int (*p)[3] = arr; int (*q)[2][3] = &arr; p[1][2] == (*q)[1][2]; /* something about this sort of stuff */ 13:35:01 int a<:??) = ??<1,2,3%>; 13:35:53 There should be some kind of a law about mixing di- and trigraphs. 13:36:13 -!- HullNb has joined. 13:37:25 "warning: trigraph ??< ignored, use -trigraphs to enable" - boring! 13:39:14 http://sprunge.us/GXCQ that one might possibly the most confusion-inducing trigraph. 13:41:15 true. 13:48:36 -!- HullNb has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/). 13:50:47 Once during a mathematical conversation with a student, Alexander Grothendieck was asked to consider an example of a prime number. 13:50:50 "You mean an actual prime number?" The student replied, "Yes, an actual prime." 13:50:53 Grothendieck then said, "Alright then, take 57". 13:52:05 -!- Phantom_Hoover has joined. 14:03:18 I don't get it 14:05:06 -!- tromp has joined. 14:08:25 AIUI, it's a sign of a real mathematician to not be so overly concerned about numbers. 14:11:08 -!- tromp has quit. 14:12:23 AFAIU Grothendieck in particular is famous for very deep, abstract results in mathematics, and solving even concrete problems on a slightly higher level of abstraction than most of his colleagues would consider in approaching those problems. 14:13:02 -!- boily has joined. 14:13:19 -!- metasepia has joined. 14:13:30 good unsecure morning! 14:13:46 -!- augur_ has joined. 14:14:35 -!- augur has quit (Ping timeout: 246 seconds). 14:14:52 ~metar EFHK 14:14:53 EFHK 101350Z 18014KT 3500 -SN BKN006 OVC010 00/M01 Q1024 TEMPO 2500 14:14:56 Good -SN afternoon. 14:20:33 ~metar CYUL 14:20:33 CYUL 101400Z 26015G24KT 15SM FEW035 FEW180 BKN240 M04/M10 A2988 RMK SC1AC2CI5 SC TR SLP121 14:21:30 I tried my new lockpicking kit yesterday at home. I suddenly realised I don't have no security at all... 14:21:45 Isn't it good to not have no security? 14:22:26 did you also try out your throwing rocks through windows kit 14:22:47 (Do the rocks come in a handy carrying case?) 14:23:41 they also come with reusable tape for attaching threatening messages 14:25:07 fizzie: well. I kinda overnegativised my sentence... 14:25:45 Bike: I only use organic, ISO 14001 certified window rocks, with locally produced vegan reusable tape. 14:33:30 boily: Is the tape gluten-free? 14:36:22 I ran out of gluten free tape. anyone who can lend me a llama for my next pilgrimage to the Sacred Gluten Free Tape Tibetan Kibbutz? 14:42:46 -!- mrhmouse has joined. 14:47:54 -!- heroux has quit (Ping timeout: 272 seconds). 14:54:48 -!- heroux has joined. 15:02:22 -!- yorick has joined. 15:20:55 -!- conehead has joined. 15:45:43 -!- ^v has joined. 15:49:58 -!- ^v has quit (Client Quit). 15:55:22 -!- Timwi has quit (Ping timeout: 246 seconds). 16:02:08 `unidecode ꙮ 16:02:10 ​[U+A66E CYRILLIC LETTER MULTIOCULAR O] 16:05:03 why. why must you all make my archival life so difficult. 16:05:37 Are you trying to typeset that in LaTeX? 16:05:51 * int-e eyes(sic!) boily suspiciously. 16:06:09 what else. 16:06:21 * boily wields his mapole. 16:07:52 * mrhmouse ducks 16:08:05 ~duck ducks 16:08:05 duck definition: any of various swimming birds (family Anatidae, the duck family) in which the neck and legs are short, the feet typically webbed, the bill often broad and flat, and the sexes usually different from each other in plumage. 16:09:57 -!- Phantom_Hoover has quit (Ping timeout: 272 seconds). 16:14:22 \def\eye{\hbox to 0pt{\hss${\circ}\kern-.38em{\cdot}$\hss}}A\hbox{\eye\kern.18em\raise.32em\eye\lower.32em\eye\kern.18em\eye\kern.18em\raise.32em\eye\lower.32em\eye\kern.18em\eye}B 16:14:30 boily: it's not perfect, but it's a start ;-) 16:15:00 multiocular fungot, batman! 16:15:01 boily: there are no problems 16:15:11 fungot: of course there are problems. but there are solutions! 16:15:11 boily: what is " catamorphic"? -g ( was that a self-referential quote? 16:15:17 `? catamorphism 16:15:19 catamorphism? ¯\(°​_o)/¯ 16:15:29 int-e: do you have a github account? 16:15:39 yes. 16:16:30 int-e: felgenhauer? 16:16:53 int-e. Yes. 16:17:18 ♪ you are promoted to cocoonspirator. ♪ 16:17:51 if you want to commit that over to the repo, and tag your commit with issue #3, that'd be nice :D 16:26:41 -!- FreeFull has joined. 16:27:23 hmm. let's see if my latex installation is even up to the task 16:34:55 boily: there you go 16:35:30 boily: though maybe such definitions should go to a separate file. anyway, your turn. 16:37:52 let's see how it fares... 16:41:00 -!- MindlessDrone has joined. 16:41:41 IT'S MULTIOCULARLY ALIIIIIVE! 16:41:45 -!- Bike has quit (Quit: Reconnecting). 16:42:00 -!- Bike has joined. 16:44:31 hmm. a bit more space, perhaps. 16:46:12 -!- Sprocklem has joined. 16:50:00 int-e: indeed. 16:51:19 http://3.bp.blogspot.com/_LAdbq5aRS6g/ScjY2VSXSXI/AAAAAAAAGkY/ZABL7AHmS6A/s400/Rex+Sotong.JPG baffling 16:52:08 boily: done. 16:52:57 int-e: copied. 16:53:15 Bike: I don't see no problem with that. it says イカ on the can. 16:55:23 does that mean squid 16:57:32 it means squid. 16:58:54 So, why do I have an avatar on github at all? 16:59:21 they rolled out automagic avatars some time ago, hashed from your username. 16:59:42 and how do I get rid of that? 16:59:50 by providing your own. 17:00:32 but that means giving gravatar some sort of information. 17:01:27 -!- oerjan has joined. 17:03:07 Oh, I can just enter some bogus gravatar email. Not nice, but ok. 17:03:33 hoily 17:06:50 which, interestingly enough, works for my account profile, but not for an organization profile ... wth. 17:11:23 -!- Sprocklem has quit (Ping timeout: 272 seconds). 17:11:56 why. why must you all make my archival life so difficult. <-- i knew you'd like that one. 17:12:15 although, it was inevitable. 17:12:45 (the trick, then, is to enter something that looks like a valid e-mail address. why is github even giving all this information to gravatar? this is annoying.) 17:15:20 -!- ^v has joined. 17:16:57 `? catamorphism 17:16:59 catamorphism? ¯\(°​_o)/¯ 17:17:36 that's where everything is shaped like a mountain lion right? 17:18:08 `run echo 'A catamorphism is when you recurse to greedily and too deep." >wisdom/catamorphism 17:18:10 bash: -c: line 0: unexpected EOF while looking for matching `'' \ bash: -c: line 1: syntax error: unexpected end of file 17:18:16 `run echo 'A catamorphism is when you recurse to greedily and too deep.' >wisdom/catamorphism 17:18:20 No output. 17:18:28 Ok. I got it wrong, I forgot that I have Adblock filtering everything gravatar. So the fact that I see my own icon means that it's not fetched from there. Which is actually close enough to what I wanted. 17:18:35 didn't you mean too greedily 17:18:47 oops 17:18:52 `run echo 'A catamorphism is when you recurse too greedily and too deep.' >wisdom/catamorphism 17:18:55 greedily is a nice place in te summer 17:18:55 No output. 17:19:19 Bike: hmm i wouldn't know. i've never recursed there. 17:19:38 I love how nobody uses `learn. 17:19:54 Gregor: i've seen some people use it 17:20:04 *lambdabot* oerjan said 5d 11m 23s ago: please fix the logs not to merge duplicate spaces, it's making quotes look like they're not qdbformat compliant hth // this is HTML being HTML, bugger off 17:20:05 Gregor: i use it when it fits. 17:20:13 doesn't `learn always work for "`learn foo is a bar" 17:20:55 Gregor: i think there's a css style option for it. 17:21:09 You find it and I'll consider adding it. 17:23:10 Gregor: white-space:pre-wrap, i think. 17:26:10 Bike: yes, it works when the first word is the keyword or the keyword + s 17:26:24 or wait hm 17:26:31 `url bin/learn 17:26:33 http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/bin/learn 17:26:58 hm actually only `? handles +s 17:28:05 THERE 17:28:09 Are you quite satisfied. 17:28:12 MAYBE 17:29:02 `run echo 'tests ho' | sed 's/s? .*//' 17:29:03 tests ho 17:29:07 `run echo 'tests ho' | sed 's/s\? .*//' 17:29:09 test 17:29:29 ... dahell 17:29:52 Gregor used to be so much now. now he's no more than a curmudgeon. 17:29:59 s/now./fun./ 17:30:00 Gregor: did something break 17:30:24 quintopia: I've always been a curmudgeon, I just used to have more time X-D 17:31:30 `run sed -i '2s!/ !/s\? /' bin/learn 17:31:32 sed: -e expression #1, char 12: unterminated `s' command 17:31:39 `run sed -i '2s!/ !/s\? !' bin/learn 17:31:43 No output. 17:32:25 oh wait hm 17:32:40 `revert 17:32:43 Done. 17:32:53 `run sed -i '2s!/ !/[Ss]\? !' bin/learn 17:32:56 No output. 17:33:14 `learn Lions are the catamorphisms of the animal world. 17:33:18 I knew that. 17:33:21 `? lion 17:33:23 lion? ¯\(°​_o)/¯ 17:33:27 `? lions 17:33:29 lions? ¯\(°​_o)/¯ 17:33:33 argh 17:34:05 oh 17:34:38 `revert 4155 17:34:41 Done. 17:35:10 `run sed -i '2s!/ !/[Ss]\\? !' bin/learn 17:35:13 No output. 17:35:19 GET IT? THEY'RE CAT-AMORPHIC. 17:35:43 `learn Lions are the catamorphisms of the animal world. 17:35:48 I knew that. 17:35:51 `? lion 17:35:53 Lions are the catamorphisms of the animal world. 17:35:57 yay! 17:35:58 yay 17:36:30 Gregor: yes i get it because it was my joke first 17:37:07 PUNS ARE GREAT. I'M ACTUALLY HOLDING DOWN SHIFT, NOT USING CAPS-LOCK. 17:37:44 I'd have to do the same. Caps-Lock is otherwise occupied, I use it for switching between virtual screens. 17:38:26 i've hardly used caps lock in my life, but i've never remapped it. dunno what i'd map it to 17:38:49 it's really a pointless key these days 17:39:11 NO IT"S NOT! 17:39:31 10 PRINT "CAPS-LOCK IS AWESOME" 17:39:33 20 GOTO 10 17:39:57 int-e: why are you shouting 17:39:58 (with caps-lock, THE DOUBLE QUOTE WOULD NOT HAVE HAPPENED) 17:40:20 it also would not have happened if you were not holding down the shift key 17:40:23 quintopia: Because YOU'RE WRONG. Or perhaps I'm just being silly. 17:40:52 but i'm right 17:41:07 18:40:52 but i'm right 17:41:15 looks like center to me, leaning to the left. 17:41:28 puns are great 17:42:01 10?"lower case is awesome":got10 17:42:10 `run echo 'CAPS LOCK IS CRUISE CONTROL FOR TIRED OLD MEMES' >wisdom/'caps lock' 17:42:13 No output. 17:43:00 Yes. Caps-lock is perfect for those Shakespeare quotes. 17:43:54 WHAT? WITH MY TONGUE IN YOUR TALE? 17:44:23 this phone has a caps lock key 17:45:43 Is it for shouting at the callee without raising your voice? 17:46:43 i don't know 17:46:47 i never use it 17:51:36 `run quote ' ' 17:51:38 3) Hmmm... My fingers and tongue seem to be as quick as ever, but my lips have definitely weakened... More practice is in order. \ 4) that's where I got it rocket launch facility gift shop \ 6) His body should be given to science. He's alive :P Even so. \ 7) 17:52:04 Gregor: yay works 17:53:01 -!- oerjan has quit (Quit: Argh). 17:57:45 -!- glogbackup has quit (Remote host closed the connection). 18:21:13 ah, good to see people enjoy cryptophytology → http://fc09.deviantart.net/fs71/f/2013/344/3/e/chich_vin_wen_daajnaa_shela_by_jayelinda-d6xf64i.png 18:23:35 -!- Timwi has joined. 18:24:08 good aftimwirnoon. 18:47:13 HAS POLITICAL CORRECTNESS GONE MAD 18:47:53 well, yes. what would it be otherwise? 18:49:26 no, political correctness has distinguished itself and reached a level that few people comprehend. 18:59:53 -!- Sprocklem has joined. 19:02:02 :3 19:18:36 yay timwi is here 19:22:12 -!- Slereah has joined. 19:22:47 huh, a plant editor, that's quite something boily 19:24:02 boily: i don't think that translates to english? 19:24:36 some day, we'll have pictures in the PDF. 19:24:55 `quote amazon 19:24:56 795) the other day I bought a recycling can from amazon it came in a cardboard box i took the can out of the box, broke down the box, and put it in the can it was amazing \ 1026) http://www.amazon.com/Someone-Cuttlefish-Shapeshifter-Erotica-ebook/dp/B0087PTMW2 i hope you know this is going to /fuck up/ my amazon re 19:25:01 first place to have a picture 19:25:03 quintopia: no, it comes from /r/conlangs 19:25:08 -!- Slereah_ has quit (Ping timeout: 260 seconds). 19:26:15 https://twitter.com/phil_torres/status/410404244554924033 fungus growing out of a fly 19:26:44 could be cordyceps / ophiocordyceps 19:27:43 are there any other grow-on-something-that-it-shouldn't-grow-on fungi out there than cordyceps? 19:27:56 who are you to say what a fungus should grow on, man 19:28:01 isn't that an entirely subjective question? 19:28:34 i saw a photo from someone who was growing mushrooms on their desk and they kinda forgot about it and the mushroom started eating the wooden desk too 19:28:38 fungus shouldn't grow on algaes, ergo lichen fits your description, etc. 19:29:07 boily: http://en.wikipedia.org/wiki/Category:Parasitic_fungi enjoy 19:29:15 not gonna click. 19:29:33 of course most of them are on plants 19:29:33 I will remain sane and spiritually pure. 19:29:43 though you also get eg pseudogymnoascus destructans. 19:30:10 Regarding etymology, "destructans" means "destroying".[1] 19:30:11 I read about a case of Schizophyllum commune (normally a small wood-digesting shelf fungus) growing out of someone's nose. 19:30:18 D: 19:30:33 fungot: would you ever do that 19:30:34 kmc: whereas they really seem to know about so you can choose 19:31:13 Malassezia (formerly known as Pityrosporum) is a genus of fungi. Malassezia is naturally found on the skin surfaces of many animals, including humans. 19:31:30 fungot: who are they, you corrupted bot? 19:31:30 boily: what's a decent way to manage your own stack. 19:32:12 fungot: aren't you, like, stack-based? 19:32:12 FireFly: darn mzscheme won't compile out of portage, let me lisppaste it 19:47:47 -!- impomatic has joined. 19:47:59 -!- Timwi has quit (Ping timeout: 265 seconds). 19:55:36 `? asdfasdf 19:55:38 asdfasdf? ¯\(°​_o)/¯ 19:56:10 and then timwi leaves without ever saying a word 19:56:20 rip 19:58:00 let's have a random word in his memory... 19:58:02 ~fortune 19:58:02 "It follows that any commander in chief who undertakes to carry out a plan 19:58:02 which he considers defective is at fault; he must put forth his reasons, 19:58:02 insist of the plan being changed, and finally tender his resignation rather 19:58:02 than be the instrument of his army's downfall." 19:58:02 -- Napoleon, "Military Maxims and Thought" 20:00:00 -!- impomatic has quit (Ping timeout: 245 seconds). 20:00:58 "While scuba diving, he encounters a trio of cuttlefish that turn out to be much more than they seem: they're shapeshifters, and they want Paul for their own!" 20:01:34 * boily shields metasepia from the bad influence that is olsner 20:02:02 the reviews are pretty funny too (but unfortunately they're obviously jokes) 20:04:43 metasepia: if you're a gay shapeshifter cuttlefish, that's totally fine btw 20:05:07 20 € exceeded by selling Steam cards. 20:06:49 -!- impomatic has joined. 20:12:30 huh, schizophyllum commune has 28000 sexes 20:13:28 fungot: which gender do you identify with? 20:13:29 boily: get to da fnord ov god." would've been a near perfect machine :) 20:13:55 fungot is a fnordovgodsexual. 20:13:55 boily: ' i miss you at times, there is a lot of 20:14:25 fungot: glad to hear I'm of a certain appeal to you, but I don't swing that way. (besides, my girlfriend would kill me, which is terrible.) 20:14:25 boily: i'm going to extend them to support other forums as well? 20:14:57 fungot: you're going to go and disrupt other places on the intarwebs? 20:14:57 boily: no, only the player character does that. fnord fnord fnord 20:15:18 fungot: aaaah, so you're an NPC after all. I like swords I like swords I like swords. 20:16:30 times are tough 20:25:34 fungot: who's the player character? 20:25:35 olsner: are you evaluting arbitary code? iirc someone got it workign with append like this 20:25:57 fungot: i am arbitrary code 20:25:57 shachaf: how do i make it scrollable? :p 20:26:47 -!- variable has changed nick to trout. 20:28:17 -!- carado has quit (Remote host closed the connection). 20:29:08 -!- carado has joined. 20:31:10 * boily scrolls shachaf 20:32:17 -!- conehead has quit (Quit: Computer has gone to sleep.). 20:36:04 anyone used http://www.tagsistant.net/? or something like it? 20:41:07 is the hobbit tobacco from lord of the rings marijuana/drugz? 20:43:15 -!- Phantom_Hoover has joined. 20:46:41 -!- Slereah has quit. 20:47:15 Wikipedia says Tolkein said it was probably a variety of Nicotiana. 20:47:32 -!- heroux has quit (Remote host closed the connection). 20:48:08 -!- Sprocklem has quit (Ping timeout: 260 seconds). 20:49:14 tomacco? 20:52:12 long live solanaceæ! 20:53:01 -!- heroux has joined. 20:54:40 it has come to my attention that in JavaScript ["1", "2", "3"].map(parseInt) => [1, NaN, NaN] 20:54:43 http://stackoverflow.com/questions/262427/javascript-arraymap-and-parseint 20:55:46 parseInt has a weird interface, then 20:56:14 parseInt is pretty normal, I think map is the problem here 20:56:35 oh oops i read it as taking the radix as the first argument. 20:56:54 the problem is that map provides the index as a second argument, and parseInt will use that as the radix 20:57:59 my intuition says: "That's probably a bug" 20:59:14 callback is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed." 20:59:17 ic 20:59:54 sooo 20:59:59 I just upgraded to firefox 26. it disabled pentadactyl because apparently it's not compatible. but it's still active, and working. I am disturbed. 21:00:08 calling a function in javascript with more parameters is ok then? 21:00:41 I think any number of parameters is fine - extra ones are ignored, missing ones become null/undefined/NaN 21:00:52 olsner: just 'undefined' i think 21:00:56 calling a function in javascript with more parameters is perfectly fine. think MATLAB when doing javascript, and everything gets dumped into the magic variable 'arguments'. 21:01:18 kmc: I don't know the difference :D 21:01:23 i don't want to think about matlb 21:01:41 i forget why null and undefined both exist 21:02:21 yeah 21:02:26 they become undefined 21:02:42 That's what I used in my creepy js-functional-library to achieve currying 21:03:21 Bike: matlab is good for you. think of matlab. it will help you live a better life. matlab is your friiiieeend... 21:03:34 matlab is your new bicycle 21:04:18 In case I wan't to write var average = $$_(sum, div, length); 21:04:55 var rle = $c(map(pairWith(head,length)),group); 21:04:58 and that. 21:05:40 where $c is actually haskell's (.) 21:07:29 http://mroman.ch/cgi/jlude/ <- in case anyone wants to laugh at me 21:08:18 -!- doesthiswork has joined. 21:09:16 you guys really helped me with my linguistic presentation 21:12:22 for class 21:16:40 mroman_: that library. it is interesting. 21:17:05 needs more caterwaul 21:20:49 -!- Sprocklem has joined. 21:21:42 boily: Yeah. Wrote it in first semester 21:21:49 during finance lectures 21:21:58 Because those were boring 21:22:39 Most of my stuff was written during boring lectures 21:24:11 I was trying to learn Haskell during boring lectures. with basic knowledge, I achieved the fastest crash I ever seen. 21:24:22 crash? 21:24:34 trying to plot dynamic systems and other fractals. 4 GB of RAM gobbled in 2 seconds flat. 21:24:35 fastest? 21:24:37 I learnt Haskell with uhm... 21:24:37 was it a segfault or something 21:24:39 aw 21:24:55 when I was 16-17 years I guess 21:25:44 but I obviously haven't used it for serious stuff yet 21:27:21 I used to code stuff in Haskell during my apprenticeship 21:27:27 not officially of course ;) 21:27:41 kmc: null == explicit defined as "no value". undefined == not defined at all 21:28:19 sadly there aren't any official haskell jobs in Montréal afaik :( 21:28:24 var foo = { bar: null }; foo.bar /* => null */; foo.baz /* => undefined */; 21:29:51 but lately I spend my time during lectures on 10fastfingers.com 21:30:08 121WPM is my record so far. 21:30:31 It's however not yet fast enough to write down human speech 21:30:42 mroman_: var foo = { bar: undefined }; "bar" in foo /* => ? */ 21:31:19 -!- MindlessDrone has quit (Quit: MindlessDrone). 21:31:24 I don't like that mrhmouse has the same initial letters as me 21:31:38 *mrhmouse: 21:31:38 It seems to confuse some people ;) 21:31:51 elliott: I think you meant me. You'd use `typeof foo.bar === undefined`, and it would return true methinks 21:32:05 elliott: setting a key to undefined is the same as deleting a key iirc 21:32:15 mrhmouse: is "in" deprecated for some reason? 21:32:58 elliott: nope. for some reason I'm remember CoffeeScript's "in".. 21:33:02 boily: I assume there probably are only about a dozen haskell jobs world-wide 21:33:25 on an unrelated note I somehow have developped interest in modell driven development 21:33:32 elliott: now you have me curious whether foo.bar = undefined and delete foo.bar are equivalent 21:33:42 "bar" in {} 21:33:42 false 21:33:42 "bar" in {bar:undefined} 21:33:43 true 21:33:58 elliott: could you try with delete foo.bar, since you're at it? 21:34:00 it looks like undefined isn't quite "not defined at all" in the strictest sense, then, because I'd expect these to both be "false" in that case 21:34:19 var foo = {bar:123}; delete foo.bar; "bar" in foo 21:34:20 false 21:34:25 elliott: it may still exist in the object's keys, but its value is undefined 21:34:30 And I think I should be able to easily create some meta-modells for most esotering programming languages 21:34:37 *esoteric 21:34:41 mrhmouse: isn't that what null would mean? :) 21:35:13 elliott: not necessarily. null !== undefined.. null != undefined might be true, though, I can't recall 21:35:22 i don't like this. 21:35:43 curse weak equality operators 21:36:02 There should be an esolang which has undefined, null, nil, none and void at the same time . 21:36:07 oh 21:36:09 elliott: 'in' walks the prototype chain and so is sometimes not what you want 21:36:13 and don't forget Nothing 21:36:17 so people use .hasOwnProperty() instead 21:36:27 and jslint will yell at you for using "in" ever because the author is a hardass ;P 21:36:45 mrhmouse: undefined isn't an identical object to null, I agree, but I'm not convinced they really have meaningfully distinct semantics 21:36:52 mroman_: and bottom. 21:37:05 mrhmouse: you can't use "undefined" as the result of a "lookup key in object" procedure to mean "not present", because then you get the same results for {} and {bar: undefined}, for instance 21:37:26 elliott: I'm not convinced either, now 21:37:29 which is the same problem you'd have using null for this purpose, and what I'd expect to differ if undefined meant "not defined at all" 21:38:03 heh, I guess if it really did work like how it could, new Array(1, undefined, 3) would create a sparse array 21:38:05 i'm convinced this is crazy-ass bullshit if that helps 21:38:07 elliott: the only place I ever use undefined vs null is in function arguments, with typeof, to see if e.g. a caller dropped the final argument 21:39:24 but even then, you could check the number of arguments... 21:39:32 Bike: I refuse to believe in bottom 21:39:41 ass is an urban legend 21:40:28 can somebody `quote that, please? I don't know `quote's argument syntax 21:40:36 My religion states that last [1..] == last [2..] is true. 21:41:00 well, _|_ is denotationally equal to _|_ 21:41:07 of course if you mean the in-language (==) there then that doesn't apply 21:41:17 weak! 21:41:29 mrhmouse: `addquote ... 21:41:55 incomputable equality predicates is the foundation of this country 21:41:57 are 21:41:58 both! 21:42:13 mrhmouse: You could also do if(x === undefined) 21:42:23 `addquote Bike: ass is an urban legend 21:42:26 1144) Bike: ass is an urban legend 21:42:36 mroman_: that's what I was referring to earlier :) 21:42:47 Oh. My bad 21:42:49 `delquote 1144 21:42:53 ​*poof* Bike: ass is an urban legend 21:42:58 `addquote Bike: I refuse to believe in bottom 21:42:58 ass is an urban legend 21:43:01 fuck 21:43:02 1144) Bike: I refuse to believe in bottom 21:43:03 `delquote 1144 21:43:08 ​*poof* Bike: I refuse to believe in bottom 21:43:14 `addquote Bike: I refuse to believe in bottom ass is an urban legend 21:43:18 1144) Bike: I refuse to believe in bottom ass is an urban legend 21:43:39 Phantom_Hoover: thanks 21:44:45 i believe in a thing called love 21:44:48 also ass 21:45:32 ... 21:46:54 `? mroman 21:46:56 mroman? ¯\(°​_o)/¯ 21:47:28 ? 21:48:10 you have a quote. you need a wisdom entry 21:48:28 A what? 21:48:46 `? wisdom 21:48:48 wisdom is always factually accurate, except for this entry, and uh that other one? it started with like, an ø? 21:49:02 `? olsner 21:49:04 olsner seems to exist at least. 21:49:10 mroman_: something like that ↑ 21:49:24 `? ørjan 21:49:26 ​Ørjan is oerjan's good twin. He's banned in the IRC RFC for being an invalid character. Sometimes he publishes papers. 21:49:35 `? boily 21:49:37 boily is the brother of Roujo's brother and he's monetizing the company Roujo works at, or something Canadian like that. He's also a NaniDispenser, and a Man Eating Chicken. 21:49:48 `? cpressey 21:49:50 cpressey invented the esolang, the pipe cleaner and the electrical mousse. 21:50:55 So... 21:50:59 a description of me? 21:51:57 pretty much. it usually comes from someone else, and gets mangled by other esötericians, and then the original meaning gets lost in the Mists of the Chännel. 21:52:46 There isn't much positive stuff to say about me anyway. 21:53:27 also you have an underscore, that can't be tolerated 21:54:13 -!- mroman_ has changed nick to mroman. 21:54:18 Bike: but Phantom_Hoover is underscorefull! and he is tolerated! 21:54:30 that's like, different, man. 21:54:41 There you go 21:56:09 Bike: your westcoastness is shining, eh? 21:56:15 eh. 21:58:09 -!- conehead has joined. 21:58:26 -!- doesthiswork has quit (Quit: Page closed). 21:59:07 `? mroman hu 21:59:09 mroman hu? ¯\(°​_o)/¯ 21:59:11 `? mroman 21:59:13 mroman? ¯\(°​_o)/¯ 21:59:14 hm 21:59:16 `help 21:59:16 Runs arbitrary code in GNU/Linux. Type "`", or "`run " for full shell commands. "`fetch " downloads files. Files saved to $PWD are persistent, and $PWD/bin is in $PATH. $PWD is a mercurial repository, "`revert " can be used to revert to a revision. See http://codu.org/projects/hackbot/fshg/ 21:59:25 `? 21:59:26 ​? ¯\(°​_o)/¯ 21:59:31 `help ? 21:59:31 Runs arbitrary code in GNU/Linux. Type "`", or "`run " for full shell commands. "`fetch " downloads files. Files saved to $PWD are persistent, and $PWD/bin is in $PATH. $PWD is a mercurial repository, "`revert " can be used to revert to a revision. See http://codu.org/projects/hackbot/fshg/ 22:01:51 `ls 22:01:52 ​- \ bdsmreclist \ bi \ bin \ canary \ cat \ complaints \ :-D \ dog \ etc \ factor \ fb \ fb.c \ file \ head \ hello \ hello.c \ ibin \ index.html \ interps \ lib \ mind \ paste \ pref \ prefs \ quines \ quotes \ share \ src \ this \ wisdom \ wisdom.pdf \ ,}wolfram 22:02:00 `ls wisdom 22:02:01 As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf instead. 22:02:22 `echo hu > wisdom/mroman 22:02:23 hu > wisdom/mroman 22:02:28 `? mroman 22:02:28 mroman: friendly reminder that you can explore in /msg 22:02:30 mroman? ¯\(°​_o)/¯ 22:02:38 Yeah 22:02:45 mroman: you need to use `run to use shell stuff 22:02:53 `run echo hu > wisdom/mroman 22:02:57 No output. 22:02:58 `? mroman 22:03:00 hu 22:03:09 ^- that's why I don't run it in /query 22:03:22 I just assume somebody gets annoyed and help me :) 22:03:28 *helps 22:03:34 well, you could have run it in query and then asked why it didn't do what you thought. 22:04:20 `? Bike 22:04:22 mroman: if you want to abuse and explore, feel free to ~metar and ~duck :D 22:04:23 Bike is from Luxembourg. 22:04:35 Bike: is that true 22:04:38 yeah 22:04:52 ~metar bike 22:04:52 --- Station not found! 22:04:59 ~metar duck 22:04:59 --- Station not found! 22:05:17 ~metar BIKE 22:05:18 --- Station not found! 22:05:45 ~duck duck 22:05:45 duck definition: any of various swimming birds (family Anatidae, the duck family) in which the neck and legs are short, the feet typically webbed, the bill often broad and flat, and the sexes usually different from each other in plumage. 22:05:58 ~duck ddg 22:05:58 DDG may refer to: DDG-1000, a 21st century United States Navy ship class. 22:06:58 ~duck recursive 22:06:58 recursive definition: of, relating to, or involving recursion. 22:07:06 hm, i would have said 'waterfowl' instead of 'swimming bird' 22:07:27 ~duck recursion 22:07:27 recursion definition: return. 22:07:34 deep. 22:16:21 -!- Sprocklem has quit (Ping timeout: 265 seconds). 22:17:59 i installed binutils-gold and now i can't reconfigure my window manager 22:18:34 ~metar KTHX 22:18:34 --- Station not found! 22:18:49 kmc: what's your wm? 22:19:05 ~metar OMFG 22:19:05 --- Station not found! 22:19:21 xmonad 22:19:22 ~metar DOGE 22:19:22 --- Station not found! 22:19:26 sad day 22:19:42 http://www.gcmap.com/search?Q=DOGE&EL=DOGE&ET=Fix+location&P=DOGE 22:20:02 -!- boily has quit (Quit: PAD THAI CHICKEN!). 22:20:06 -!- metasepia has quit (Remote host closed the connection). 22:21:41 kmc: iirc binutils-gold is just a "symlink ld to ld.gold" package, I think there's a -fuse-ld=gold you can use to ask for gold specifically 22:22:13 yeah 22:23:10 byebye metasepia 22:24:57 quintopia: don't worry, ruddy is a drop-in replacement for all your metasepia needs 22:25:01 ​replacement `unicode don't worry, don't worry, the don't worry, you as it's not the first time. rage!!! is a syntax replacement for python needs more caterwaul 22:25:21 rage!!! is a syntax replacement for python 22:25:27 is that like !!!Batch 22:25:33 or Radixal!!! 22:27:10 hmm, three !s? too few, I think 22:27:32 yes, it's spelled Radixal!!!! 22:27:36 oh no 22:28:03 Please Note The Following !!!Batch Interpreter Written In Batch Is Now InActive However You Are Free To Modifiy It 22:28:12 wow, even in the middle of a word 22:28:17 no mercy 22:29:51 "#The Next Set Of Code Works On Capital Lettering :D Its Very Easy To Make A Capital By Adding + To The Code" i see 22:30:50 is this just a unary coding of some characters. 22:34:24 -!- conehead has quit (Ping timeout: 250 seconds). 22:38:55 -!- conehead has joined. 22:40:25 -!- Bike has quit (Ping timeout: 245 seconds). 22:44:48 -!- Phantom_Hoover has quit (Ping timeout: 250 seconds). 22:57:22 -!- Bike has joined. 22:58:03 -!- mrhmouse has quit (Quit: Leaving.). 23:00:13 -!- oerjan has joined. 23:04:17 @tell I will remain sane and spiritually pure. <-- and self-deluded, naturally. 23:04:18 Consider it noted. 23:05:24 uh 23:05:33 @ask does this work 23:05:33 Consider it noted. 23:05:41 @messages-lewd 23:05:41 You don't have any messages 23:05:48 shachaf: no 23:06:29 int-e: you know, stripping the <>'s off @ask/@tell nicks _would_ probably help. 23:06:40 @tell oerjan: At least this works. 23:06:40 Consider it noted. 23:08:01 @messages-lied 23:08:01 shachaf said 1m 21s ago: At least this works. 23:08:20 ... 23:08:25 * oerjan gets the point. 23:08:34 @tell boily I will remain sane and spiritually pure. <-- and self-deluded, naturally. 23:08:34 Consider it noted. 23:08:57 Might've been a good idea to add the back in. 23:09:03 Oh well. 23:09:09 oh right 23:09:38 * oerjan has the whatchamacallit of a goldfish. 23:10:14 Gills? 23:10:17 fins? 23:10:36 MAYBE, I DON'T REMEMBER 23:11:56 * oerjan actually couldn't remember the word he wanted for "whatchamacallit" btw. no, it wasn't actually "memory". 23:12:20 recall? attention span? 23:12:27 * oerjan actually uses "actually" a lot. 23:12:44 maybe it was attention span. 23:21:41 -!- nooodl_ has joined. 23:25:41 -!- nooodl has quit (Ping timeout: 272 seconds). 23:37:46 -!- Phantom_Hoover has joined. 23:37:48 -!- Phantom_Hoover has quit (Changing host). 23:37:49 -!- Phantom_Hoover has joined. 23:40:10 -!- tertu has joined. 23:43:17 oerjan: thingamajig? 23:47:01 FreeFull: no, that wasn't it hth 23:51:45 -!- carado has quit (Ping timeout: 252 seconds).