00:05:32 -!- moony has quit (Remote host closed the connection). 00:12:12 -!- hppavilion[1] has quit (Ping timeout: 258 seconds). 00:13:35 -!- LKoen has quit (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”). 00:19:04 -!- sleffy__ has quit (Read error: Connection reset by peer). 00:19:36 <\oren\> `w 00:19:38 treefolk//Treefolk are genericized treants for intellectual property reasons. 00:20:24 `grwp intellectual property 00:20:38 halfling:Halflings are genericized hobbits for intellectual property reasons. \ keenlist:keenlist is notification for when Tom Hall finally acquires the necessary intellectual property rights to create the videogame series Commander Keen: The Universe is Toast \ kithkin:Kithkins are genericized halflings for intellectual property reasons, except th 00:21:26 `2 grwp 'intellectual property' 00:21:28 2/3:ons, except they also have some limited telepathy to remote sense each others' emotions. \ termite:Termites are genericized ants for intellectual property reasons. \ treant:Treants are genericized ents for intellectual property reasons. \ treefolk:Treefolk are genericized treants for intellectual property reasons. \ vegemite:Vegemite 00:21:43 `n 00:21:43 3/3:is genericized marmite for intellectual property reasons. 00:21:58 `grwp intellectual propriety 00:22:00 No output. 00:23:41 -!- adu has joined. 00:58:07 -!- hppavilion[1] has joined. 01:15:54 -!- tromp has joined. 01:16:00 -!- Phantom_Hoover has quit (Remote host closed the connection). 01:17:49 -!- doesthiswork has joined. 01:33:06 -!- tromp has quit (Remote host closed the connection). 01:57:29 -!- Zarutian has quit (Quit: Zarutian). 01:59:09 -!- adu has quit (Quit: adu). 02:07:39 @tell boily Happy maday! Do you plan to do a mapole dance? 02:07:39 Consider it noted. 02:11:20 -!- hppavilion[0] has joined. 02:13:42 -!- hppavilion[1] has quit (Ping timeout: 260 seconds). 02:16:41 -!- adu has joined. 02:19:28 -!- hppavilion[0] has quit (Ping timeout: 245 seconds). 02:41:31 -!- Akaibu has joined. 02:59:31 -!- adu has quit (Quit: adu). 03:11:10 -!- augur has quit (Remote host closed the connection). 03:34:04 -!- tromp has joined. 03:39:01 -!- tromp has quit (Ping timeout: 276 seconds). 03:56:53 -!- adu has joined. 04:01:17 -!- hppavilion[0] has joined. 04:13:36 -!- augur has joined. 04:21:44 `? gaspacho 04:21:45 You like Gaspacho and I like Gazpacho. Let's call the whole thing off! 04:22:03 `? gazpacho 04:22:04 You like Gazpacho and I like Gaspacho. Let's call the whole thing off! 04:22:10 `grwp soup 04:22:11 gaspasjo:Gaspasjo is a norwegian soup, which died out due to a lack of hot summer days \ gaspatsjo:gaspatsjo is a norwegian soup, which died out due to a lack of hot summer days \ gaszpacho:gaszpacho is a polish soup, traditionally szerved cold for hot szummer days \ mothball:Mothballs are the main ingredient of a traditional soup of Eastern Europe 04:23:33 oh 04:23:38 hi 04:24:08 oerjan: do you like gazpoocho? 04:24:16 i,i `learn Gospecho is a cold soup invented by Bill Gosper. 04:25:19 Hmm, there should be a rule of wisdom that says they have to terminate any special IRC formatting they introduce. 04:34:19 -!- tromp has joined. 04:37:40 -!- adu has quit (Quit: adu). 04:38:29 -!- tromp has quit (Ping timeout: 240 seconds). 04:41:07 -!- adu has joined. 05:25:11 -!- sleffy__ has joined. 05:25:19 -!- sleffy__ has changed nick to sleffy. 05:29:54 You know it's time to go to sleep when you make an audible "squee" noise at the excitement of someone else's working Scheme interpreter 05:34:57 -!- tromp has joined. 05:37:14 -!- adu has quit (Quit: adu). 05:37:32 sleffy: "sleep" like "the big sleep", yes? 05:38:06 Please don't euthanize me. I have so many ridiculous things to write. 05:39:29 -!- tromp has quit (Ping timeout: 240 seconds). 06:05:36 I'd like to see compound exams 06:05:45 Like, a Physics+Ethics exam 06:06:27 You're given information about the track you're on, and you have to (a) use physics to calculate the exact properties of this Trolley problem then (b) determine whether you should swerve 06:32:42 -!- hppavilion[0] has quit (Ping timeout: 240 seconds). 06:33:44 -!- hppavilion[0] has joined. 06:53:37 -!- hppavilion[0] has quit (Ping timeout: 240 seconds). 06:57:10 -!- hppavilion[0] has joined. 06:57:45 -!- FreeFull has quit. 07:02:06 -!- hppavilion[0] has quit (Ping timeout: 260 seconds). 07:25:37 -!- doesthiswork has quit (Quit: Leaving.). 07:26:27 -!- hppavilion[0] has joined. 07:27:01 -!- AnotherTest has joined. 07:36:01 -!- MoALTz has joined. 07:43:38 -!- sleffy has quit (Ping timeout: 260 seconds). 08:35:33 -!- augur has quit (Remote host closed the connection). 08:55:07 -!- hppavilion[0] has quit (Ping timeout: 240 seconds). 09:22:32 -!- erkin has joined. 09:27:50 -!- AnotherTest has quit (Ping timeout: 240 seconds). 09:28:31 -!- Nistur_ has changed nick to Nistur. 09:52:09 -!- LKoen has joined. 10:36:48 `unidecode � 10:37:03 ​[U+FFFD REPLACEMENT CHARACTER] 10:43:49 -!- incomprehensibly has quit (Remote host closed the connection). 10:48:43 -!- incomprehensibly has joined. 11:20:49 -!- AnotherTest has joined. 11:27:34 -!- oerjan has joined. 11:32:55 -!- boily has joined. 11:36:56 `w 11:36:58 cigar//A cigar is either a penis or just a cigar, dependent on Freud's current mood. 11:39:01 `ello boily 11:39:02 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: ello: not found 11:39:06 `hello boily 11:39:07 hello world 11:39:15 sheesh 11:39:31 `` ls bin/*ello* 11:39:32 bin/hello \ bin/hello-world-in-any-language 11:39:47 `doag bin/ello 11:39:57 4699:2014-07-27 ` rm bin/{node,ello} \ 4071:2013-11-22 chmod +x bin/ello \ 4070:2013-11-22 mv raw.php* bin/ello \ 4068:2013-11-22 chmod +x bin/ello \ 4067:2013-11-22 mv raw.php* bin/ello \ 4058:2013-11-22 echo "(function(){var e,l,o,t;t=process.argv[2],(null!=t?t.length:vo 11:40:17 `doag bin/hello 11:40:24 8838:2016-07-24 `` e=bin/hello;>$e echo $\'#!/usr/bin/perl\\n\'\'$c=unpack"C",$ARGV[0];print+($c&1?"H":"h"),"ello",($c&2?"":","),($c&4?" W":" w"),"orld",($c&16?$c&8?",":"!":$c&8?".":""),($c&32?"":"\\n");\' \ 8837:2016-07-24 `` e=bin/hello;>$e echo $\'#!/usr/bin/perl\\n\'\'$c=unpack"C",$ARGV[0];print+($c&1?"H":"h"),"ello" 11:40:36 `doat bin/hello 11:40:43 2448:2013-03-17 echo "echo Hello" > bin/hello \ 2454:2013-03-18 chmod +x bin/hello \ 8831:2016-07-24 rm bin/hello \ 8832:2016-07-24 `` e=bin/hello;>$e echo $\'#!/usr/bin/perl\\n\'\'$c=unpack"h",pack"h",$ARGV[0]",($c&4?"w":"W"),"orld",($c&8?"."),"\\n";\' &&chmod -c a+x $e \ 8833:2016-07-24 `` 11:41:14 @massages-loud 11:41:15 hppavilion[1] said 9h 33m 35s ago: Happy maday! Do you plan to do a mapole dance? 11:41:21 i thought we had a command for that... 11:41:54 now i'm imagining a canadian monty python sketch... 11:42:24 with those police in red 11:42:37 I'm a lumberjack and I'm OK ♪ 11:43:10 except with mapole dancing, obviously 11:43:10 ♪ bœrjan matin ♪ 11:46:08 incidentally there's a norwegian dance involving a pole and a hat https://no.wikipedia.org/wiki/Lausdans 11:48:40 what the fungot is going on in that picture... 11:48:40 boily: oh yes. 11:49:00 the traditional hat kicking leap hth 11:49:09 (which is the high point of the dance) 11:50:06 tdh. 11:50:13 here's a youtube https://www.youtube.com/watch?v=-Wq6If8MsFQ 11:52:22 2:15 is the kick 11:53:02 tdah. 11:53:41 and another at 3:10 11:54:41 I mapprove. 11:57:26 . o O ( the harding fiddle is like the lutefisk of music. ) 12:01:05 . o O ( what's the resonnance frequency of a lutefisk... ) 12:07:32 middle sea 12:09:45 * Nistur plays rimshot 12:12:58 -!- erkin has quit (Quit: Ouch! Got SIGABRT, dying...). 12:13:08 -!- DHeadshot has joined. 12:22:49 -!- DHeadshot has quit (Ping timeout: 268 seconds). 12:23:19 * boily joyfully mapoles Jafet 12:27:08 -!- DHeadshot has joined. 12:27:15 -!- boily has quit (Quit: EFFORT CHICKEN). 12:32:03 -!- Phantom_Hoover has joined. 12:32:03 -!- Phantom_Hoover has quit (Changing host). 12:32:03 -!- Phantom_Hoover has joined. 12:37:09 -!- Zarutian has joined. 12:41:28 -!- DHeadshot has quit (Ping timeout: 240 seconds). 12:47:31 -!- Zarutian has quit (Quit: Zarutian). 12:54:35 `grwp soup 12:54:53 gaspasjo:Gaspasjo is a norwegian soup, which died out due to a lack of hot summer days \ gaspatsjo:gaspatsjo is a norwegian soup, which died out due to a lack of hot summer days \ gaszpacho:gaszpacho is a polish soup, traditionally szerved cold for hot szummer days \ mothball:Mothballs are the main ingredient of a traditional soup of Eastern Europe 12:57:29 -!- AnotherTest has quit (Ping timeout: 240 seconds). 12:58:51 -!- ais523 has joined. 13:14:02 -!- AnotherTest has joined. 13:18:48 -!- ais523 has quit. 13:18:57 -!- ais523 has joined. 13:25:39 -!- h0rsep0wer has joined. 13:34:58 -!- oerjan has quit (Quit: Later). 13:35:11 -!- TieSoul has joined. 13:51:24 -!- TieSoul has quit (Quit: Leaving). 14:00:48 -!- doesthiswork has joined. 14:21:09 -!- wob_jonas has joined. 14:21:40 `? hello 14:21:41 hello hello hello, what's all this then? 14:21:45 `? `hello 14:21:46 ​`hello prints variants of hello, world. To control format, pass a single letter as command-line argument. "@"=>"hello, world", "H"=>"hello, world.", P=>"hello, world!", "X"=>"hello, world,", take 1 letter later to s/h/H/, 2 letter later to s/d,/d/, 4 letter later to s/w/W/, lowercase to remove newline. 14:22:07 is this a very simple golfing language? 14:22:18 oerjan: and I'm sorry about that, I got carried away with encoding six bits of info in the argument, so feel free to replace it with a saner script if you wish 14:22:23 ais523: yeah 14:22:30 also, what's lowercase @? `? 14:22:35 yes 14:22:59 I'm a little scared I have that memorized 14:23:13 ais523: and the lowercase of "_" is "?" in this case, because only modulo 64 matters 14:23:25 ais523: I think many people here know the ascii table memorized 14:23:35 I certainly do (at least the printable characters, I don't remember all the controls) 14:23:38 I don't have it all memorized 14:23:39 just lots of it 14:23:51 I also know some important non-ascii unicode stuff 14:23:59 * ais523 idly wonders if anyone's memorized all of Unicode 14:24:28 hmm, something that caught me out a bunch programming Jelly is that Đ and Ð are not the same character 14:24:43 I can't distinguish them in any font I've seen them in 14:24:54 `unidecode ĐÐ 14:24:55 ​[U+0110 LATIN CAPITAL LETTER D WITH STROKE] [U+00D0 LATIN CAPITAL LETTER ETH] 14:25:05 ascii isn't that hard. it's just like space ! " # $ % & ' ( ) * + , - . / then 0 1 2 3 4 5 6 7 8 9 : ; < = > ? 14:25:40 the first few punctuation marks catch me out because they're almost just the shifted numbers on a US keyboard 14:25:48 ais523: yes, those look the same in most fonts. they differ in mine and in oren's, but that's because we specifically make them distinguishable. normally you distinguish them from context: in a serbian word it must be D with stroke, in an icelandic word it's capital eth 14:25:52 but ^ is missing, ' is added, and * is the wrong side of () 14:26:21 wob_jonas: right, and they're clearly distinct characters because đ and ð, the lowercase versions, are obviously different 14:26:30 and then @ A B C D E F G H I J K L M N O then P Q R S T U V W X Y Z [ \ ] ^ _ 14:26:53 then ` a b c d e f g h i j k l m n o then p q r s t u v w x y z { | } ~ del 14:27:51 where del is the character with all bits set that was used in 7-hole ticker tape to overpunch a character so it's ignored on read, that way when you read back the ticker tape, you no longer get the backspacing and correction printed, only the correct version 14:28:31 they didn't have that in 5-bit ticker tape, because they had too few bytes available, so there you couldn't easily correct mistakes without rewriting 14:29:04 yep 14:29:07 and nul is ignored for similar reasons 14:29:18 (it's space you left on the tape to be able to insert characters) 14:29:29 only, nobody really uses this, because by the time people started to use 7-bit instead of 5-bit, they stopped using ticker tape, because magnetic disks and RAM and cpus became cheap enough to store text on magnetic disks 14:35:06 -!- `^_^v has joined. 14:35:39 oh, encodings reminds me 14:36:51 I bought TAOCP 3rd ed, original English (the translation is based on 2nd ed) in the PDF edition. In vol. 1 p. 140, which lists the MMIX six-bit character table, the greek letters don't show up, instead some other symbols are shown. 14:37:33 /g 99 14:37:36 ww 14:37:51 Those same garbage symbols show up later in an exercise. This isn't mentioned in Knuth's official errata. My question is: WTF? 14:38:00 How did they mess that up? 14:38:41 I wonder if it's somehow an encoding trouble between LaTeX fonts and plain TeX fonts, but I don't think so. 14:39:22 LaTeX encoding is a crazy situatoin anyway 14:39:36 yes, but LaTeX shouldn't figure in that at all 14:39:44 and even if it does, Knuth is really careful 14:39:49 and when he's not, he at least puts out an errata 14:40:08 I even wonder if it's some client-side problem at my side or something 14:41:59 MIX character code is a really strange encoding by the way. It has exactly 56 characters defined, rather than 63. What happened with Knuth when he made that, when he normally fills up everything with junk to a round number so that other people don't make incompatible extensions? 14:43:40 Why are the last 8 characters not there? 14:44:24 *shrug* 14:44:32 The charset is indirectly an ebcdic-relative, in the sense that both ebcdic and MIX character code are inspired by the encoding of letters and numbers on the 12-row Hollerith punch cards 14:44:46 that's why both ebcdic and MIX character code have holes between I and J 14:45:54 so the a card reader or puncher connected to a *decimal* MIX computer can have as simple a logic as possible 14:49:47 decode digit, add 30 normally, add 0 if hole in row 12, add 10 if hole in row 11, add 20 if hole in row 0, handle space specially. sadly it gets much uglier if you want punctuation marks too. 14:50:13 maybe they use some modified punched card code for punctuation marks. 14:50:35 there are lots of variants of that supposedly 14:50:39 -!- h0rsep0wer has quit (Quit: Leaving). 14:52:12 I see \oren\ was listing my wisdoms again 14:53:00 hasn't deleted them this time 14:53:05 I appreciate that 14:57:46 "<\oren\> RRGH why is there no open-source tax filing software" -- I don't think that's possible economically. The difficult part of tax filing software is that the tax rules and forms change every year. The hardest part of maintaining such a software is to update it quickly every year. And open-source software could perhaps let you file your tax f 14:57:46 or ten years ago. 14:59:46 In Hungary, NAV maintains and releases tax filing software themselves. It's some java thing, but I don't quite understand the system requirements, apparently it requires a future version of 32-bit Java VM and 64-bit firefox with 32-bit directX support for the directX print driver or else you can't print forms, or something. 14:59:54 -!- ais523 has quit (Quit: rebooting). 15:00:51 Also, it's strict, in the sense that it doesn't let you fill forms wrong, but you know that thing Douglas Adams said about things that can't go wrong. When the forms are wrong and you have to fill them wrong deliberately, you're on your own. 15:01:41 There are rumors like that there is like one person in the country with a one-letter family name, and he can't file his taxes electronically, because the software absolutely refuses to believe his family name is made of one letter. 15:03:05 does he not have a family, then 15:03:18 or maybe they don't file tax reports 15:03:36 It's sort of the same as these web forms where they make you fill out your postal address by choosing a country from their list, then a state from a list of the 50 US states, then a 5-digit zip code, and a street name with only uppercase ascii letters and digits and no punctuation. 15:04:11 Jafet: I assume either they're minors with no taxable income yet, or they have got a double family name with both parents' family names combined, or something. 15:04:26 or maybe they have done the sensible thing and migrated abroad. 15:05:06 there is probably some canonical php script somewhere that implements that form and everyone just copies it around 15:06:15 if you're lucky, that script knows how to md5 the password for the account you have to create before you're allowed to buy things 15:07:00 in case you need such a thing, (a) take postal address as two fields, rest of the address and country, with both of them being free-form text, (b) an unofficial but very useful guide is at http://www.columbia.edu/~fdc/postal/ 15:09:05 " is "fyr" in norwegian hth" -- what? how do they say five then? 15:10:28 or four, or whatever that is 15:10:50 "fire" apparently. great. 15:11:45 gotta AFK now for a few hours 15:11:48 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 15:20:12 -!- lifthrasiir has quit (Remote host closed the connection). 15:31:54 -!- lifthrasiir has joined. 15:44:07 -!- bibibi has quit (Ping timeout: 240 seconds). 15:44:26 -!- lambdabot has quit (Ping timeout: 255 seconds). 15:44:50 -!- shachaf has quit (Ping timeout: 264 seconds). 15:45:36 -!- ais523 has joined. 15:46:30 -!- aloril_ has quit (Ping timeout: 246 seconds). 15:46:35 -!- shachaf has joined. 15:48:01 -!- pikhq has quit (Ping timeout: 255 seconds). 15:49:22 -!- Akaibu has quit (Ping timeout: 255 seconds). 15:50:19 -!- lambdabot has joined. 15:50:49 -!- trn has quit (Ping timeout: 255 seconds). 15:51:30 -!- ocharles has quit (Ping timeout: 240 seconds). 15:56:44 -!- pikhq has joined. 15:58:14 -!- aloril_ has joined. 15:58:43 -!- DHeadshot has joined. 16:00:29 -!- ais523 has quit. 16:07:39 -!- ocharles has joined. 16:16:58 -!- AnotherTest has quit (Ping timeout: 260 seconds). 16:21:39 -!- AnotherTest has joined. 16:21:43 -!- trn has joined. 16:57:13 -!- FreeFull has joined. 17:02:07 -!- augur has joined. 17:02:36 fyr 17:08:16 -!- sleffy has joined. 17:22:52 -!- SexxyLucy has joined. 17:23:15 SexyLucy32 17:23:16 http://bit.do/dkwH4 17:24:27 -!- SexxyLucy has quit (Client Quit). 17:34:27 -!- wob_jonas has joined. 17:36:14 `? bofh 17:36:15 bofh? ¯\(°​_o)/¯ 17:48:46 -!- augur has quit (Remote host closed the connection). 17:50:05 -!- Akaibu has joined. 18:01:18 -!- sleffy has quit (Ping timeout: 255 seconds). 18:05:17 -!- ais523 has joined. 18:08:57 -!- AnotherTest has quit (Ping timeout: 246 seconds). 18:13:35 -!- Sgeo_ has joined. 18:15:58 -!- Sgeo has quit (Ping timeout: 260 seconds). 18:17:26 <\oren\> `learn A BOFH is a bastard operator from hell. An example is the == operator in PHP. 18:17:29 Learned 'bofh': A BOFH is a bastard operator from hell. An example is the == operator in PHP. 18:19:22 <\oren\> see http://php.net/manual/en/types.comparisons.php for a giant table of the bullshit that == does in PHP 18:20:37 -!- ais523 has quit (Remote host closed the connection). 18:20:52 heh 18:20:58 <\oren\> for eaxmple, in PHP == is not commutative 18:21:47 -!- ais523 has joined. 18:22:31 \oren\: yeah, I hear it's the one people use to compare hex hashed passwords, and it only works if the hex hashed password starts with a letter, not a decimal digit 18:22:58 Good old $PHP… 18:23:31 -!- AnotherTest has joined. 18:23:46 <\oren\> I mean perl gets all this flack but at least in perl you have separate == and eq operators 18:26:00 \oren\: yes, but the alarming part is the trend. the php people realized it's bullshit and added a === operator that behaves sanely, and now people usually shouldn't use the == operator except in special cases where you should; whereas in perl, they added a =~ operator that behaves completely insanely stupid and against how perl generally works, th 18:26:00 en deprecated it because it's stupid. 18:26:06 but people still use it. 18:26:45 <\oren\> =~ is really only used to associate a regex with the thing it is acting on 18:26:47 Insanity ♥ 18:26:53 yeah, its' ~~ actually 18:26:54 <\oren\> afaik 18:26:55 forget =~ 18:26:56 sorry 18:27:02 it's the ~~ smart match operator 18:27:26 it's so stupid I don't even remember its name 18:27:42 I used it once in an obfuscation, just to show how stupid it is 18:27:54 and it's not even a good obfuscation 18:28:09 it doesn't show out how inconsistently stupid the oeprator is, or how much it's against perl philosophy 18:28:27 <\oren\> I don't think i've ever used it 18:28:33 (in fact, all that p5p does these days for several years is against it) 18:30:48 -!- MoALTz has quit (Quit: Leaving). 18:39:17 \oren\: wait, it's not commutative? can you give an example? 18:39:37 \oren\: you don't just mean it's not associative, right? because that's much easier and much more common 18:40:01 (even == in C isn't associative, if you involve two types) 18:43:47 -!- LKoen has quit (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”). 18:44:42 yay 18:45:18 Yay. 18:47:21 <\oren\> "php" == TRUE. "php" == 0. TRUE != 0. 18:47:35 \oren\: that's associativity 18:47:47 \oren\: it's less surprising than if it was not commutative 18:48:07 now with PHP, you never know, so it wouldn't surprise me too much if it wasn't commutative 18:48:18 -!- erkin has joined. 18:48:49 and of course, it can be deliberate. ruby has a === operator that is deliberately not commutative. 18:49:10 \oren\: http://i.imgur.com/6BYGcfx.jpg hth 18:49:49 shachaf: hehe 18:50:52 -!- augur has joined. 18:56:26 <\oren\> 0133 != "0133". "0133" == 133 18:56:59 \oren\: leading zero 18:57:04 \oren\: 0133 versus 133 18:57:14 <\oren\> "0x10" = 16 though 18:57:15 `perl -e warn 0133," ",133 18:57:16 91 133 at -e line 1. 18:57:43 `perl -e warn 0133!="0133"," ","0133"==133 18:57:44 1 1 at -e line 1. 18:59:42 <\oren\> `perl -e print "0x10"==16 18:59:43 No output. 18:59:52 <\oren\> `perl -e 'print "0x10"==16' 18:59:52 No output. 19:00:15 <\oren\> `` perl -e 'print "0x10"==16' 19:00:16 No output. 19:00:18 `perl -e warn oct"0x10"," ",hex"0x10"," ",0+"0x10" 19:00:18 16 16 0 at -e line 1. 19:00:50 <\oren\> wait why doesn't print work 19:01:05 print works fine 19:01:11 <\oren\> `` perl -e 'print ("0x10"==16)."\n"' 19:01:12 No output. 19:01:14 but "0x10"==16 results in false, which is the empty string 19:01:19 `perl -e print 1==2 19:01:20 No output. 19:01:36 <\oren\> `` perl -e 'print ("0x10"==16?:"false")."\n"' 19:01:37 syntax error at -e line 1, near "?:" \ Execution of -e aborted due to compilation errors. 19:01:37 so it doesn't print anything (prints the empty string) and then hackego adds "No output." to that 19:01:43 <\oren\> `` perl -e 'print ("0x10"==16?"true":"false")."\n"' 19:01:44 false 19:02:24 <\oren\> `` perl -e 'print ("0x10"+0?"true":"false")."\n"' 19:02:25 false 19:02:34 <\oren\> `` perl -e 'print "0x10"+0."\n"' 19:02:35 String found where operator expected at -e line 1, near "0."\n"" \ (Missing operator before "\n"?) \ syntax error at -e line 1, near "0."\n"" \ Execution of -e aborted due to compilation errors. 19:02:43 <\oren\> `` perl -e 'print ("0x10"+0)."\n"' 19:02:44 0 19:03:00 <\oren\> `` perl -e 'print ("010"+0)."\n"' 19:03:01 10 19:03:13 <\oren\> ok so perl always converts using decimal 19:03:30 \oren\: yes 19:03:37 <\oren\> `` perl -e 'print ("1e3"+0)."\n"' 19:03:38 1000 19:03:52 <\oren\> `` perl -e 'print ("1.3"+0)."\n"' 19:03:53 1.3 19:03:54 \oren\: if you want to convert using octal or hex, you use the oct function 19:04:11 <\oren\> coreection it always uses %g 19:04:21 \oren\: no, not really 19:04:28 it's more complicated than that 19:05:23 for one, if it's a perl where IV is 64-bit, then it scans 64-bit signed AND unsigned integers exactly to integers, 19:06:11 secondly, it doesn't scan hexadecimal floating points even if the C library scanf does, 19:06:22 and it also scans nans differently from libc 19:07:30 there are probably more differences that I don't recall 19:08:29 -!- Vorpal has quit (Ping timeout: 240 seconds). 19:08:52 128-bit 19:09:06 <\oren\> oh now I remember the other thing from php 19:09:14 <\oren\> "61529519452809720693702583126814" == "61529519452809720000000000000000" 19:09:20 also obviously it uses %lg for floating point usually, or rarely %Lg if perl is compiled that way 19:09:32 <\oren\> because it converts both strings to floats 19:10:17 <\oren\> that was the thing. PHP converts strings to floats even when BOTH operands are strings 19:10:45 \oren\: always numeric comparison might be better than converting only if it's a string 19:10:47 it makes the comparison more associative 19:10:53 you use it for numeric comparison 19:11:27 <\oren\> I guess that's why php has strcmp() 19:12:00 ...Types are odd. 19:12:11 <\oren\> at which point why not just write c++ and make everything an auto 19:16:54 -!- DHeadshot has quit (Ping timeout: 255 seconds). 19:22:21 <\oren\> hmm maybe what we need is to have ==, eq, and === 19:23:45 no, what you need is to only ever compare things if they're of the same type (or a nullptr_t with any pointer or smart pointer) and when you know what type they are 19:24:08 because if you compare things of different types, you get surprising non-associative behavior 19:24:49 <\oren\> wob_jonas: good idea, so "100" == 100 would result in ERROR 19:25:19 <\oren\> just leave it as a nonexistent operator 19:25:53 \oren\: the tricky case is that you can have two int64s and a double such that the two integers are unequal but the double is equal to both of them 19:26:12 at least if you compare them the way C compares them, not the way perl compares them 19:26:59 Now we're comparing comparison operators. 19:27:03 <\oren\> yeah maybe have a special operator for that 19:27:08 Metacomparsion. 19:27:24 <\oren\> =meta= 19:27:29 nah, just overload == for that 19:28:03 =] 19:28:10 =×rnd()? 19:28:14 <\oren\> well == doesn't have the same type as eq 19:28:57 <\oren\> one is a bool()(number, number) the other is a bool()(string,string) 19:29:25 nah, that's a stupid C++ism 19:29:29 in C, comparisons return an int 19:29:45 and that's how it should have behaved in C++ too, but strostroup broke it from the start and now it's too late to fix 19:29:46 🙌 19:29:48 C > C++ 19:29:55 Good old Bjarne. 19:30:13 so now comparison operators work differently on builtin types in C and C++ 19:30:19 <\oren\> ugh 19:30:41 is there any C++ standard with C's comparisons? 19:31:26 rdococ: just put in some + prefixes, like +(x==y) to get the C-like behavior 19:31:42 works both in C and C++ 19:32:01 except in very ancient pre-ansi C that doesn't have a prefix + operator 19:32:34 -!- Phantom__Hoover has joined. 19:32:36 you can use the venus prefix 0+ instead if you are concerned with ancient compatibility 19:32:44 =] 19:33:07 <\oren\> wob_jonas: in my font venus has a belly button 19:33:38 \oren\: um, the 0+ is actually venus's mirror. it should show the reader inside, not venus. 19:34:56 My 0 always has a / through it 19:35:11 (Except once when i tried out Inconsolidata or something like that) 19:38:07 <\oren\> wob_jonas: Really? a mirror? 19:38:31 a hand-held mirror, I think 19:38:34 but I might be mistaken 19:38:40 er 19:38:48 * APic has a good Card. 19:48:58 <\oren\> APic: which font are you using? 19:58:41 -!- DHeadshot has joined. 20:07:49 -!- Slereah has joined. 20:07:52 Hey folks 20:11:37 \oren\: Terminus. 20:15:10 -!- Vorpal has joined. 20:15:33 -!- Vorpal has changed nick to Guest71075. 20:17:02 -!- Guest71075 has quit (Changing host). 20:17:02 -!- Guest71075 has joined. 20:17:25 -!- Guest71075 has changed nick to Vorpal_. 20:17:35 -!- Vorpal_ has changed nick to Vorpal. 20:38:07 -!- DHeadshot has quit (Ping timeout: 240 seconds). 20:39:55 -!- Phantom__Hoover has quit (Quit: Leaving). 20:42:14 -!- DHeadshot has joined. 20:42:40 <\oren\> I guess I prefer dotted 0 20:44:25 <\oren\> of course, in some fonts even () can be confused for 0 20:45:29 Idea: A font where EVERYTHING looks like a 0! 20:47:00 * DHeadshot loads up fontstructor... 20:48:52 -!- sleffy has joined. 20:50:39 <\oren\> '"`‘’′ is a problem too 20:51:20 -!- olsner has quit (Ping timeout: 255 seconds). 20:52:08 -!- Zarutian has joined. 20:53:46 -!- olsner has joined. 21:01:08 <\oren\> Oo0 21:20:53 -!- ais523 has quit (Remote host closed the connection). 21:21:07 -!- sleffy has quit (Ping timeout: 240 seconds). 21:21:27 -!- ais523 has joined. 21:24:07 -!- Melvar has quit (Remote host closed the connection). 21:26:12 -!- sleffy has joined. 21:30:06 -!- atehwa has quit (Remote host closed the connection). 21:31:49 -!- DHeadshot has quit (Ping timeout: 255 seconds). 21:37:46 -!- sleffy has quit (Ping timeout: 255 seconds). 21:43:09 -!- MoALTz has joined. 21:55:06 -!- sleffy has joined. 22:00:46 -!- MDude has quit (Ping timeout: 276 seconds). 22:01:53 -!- MDude has joined. 22:06:40 -!- Melvar has joined. 22:08:54 -!- IronY has changed nick to Ir0nYmon. 22:45:24 -!- AnotherTest has quit (Quit: ZNC - http://znc.in). 22:47:39 -!- ais523 has quit. 22:48:16 -!- `^_^v has quit (Quit: This computer has gone to sleep). 22:52:25 -!- erkin has quit (Quit: Ouch! Got SIGABRT, dying...). 22:59:12 -!- MDude has quit (Ping timeout: 264 seconds). 23:05:07 -!- sleffy has quit (Ping timeout: 240 seconds). 23:08:15 -!- MoALTz has quit (Quit: Leaving). 23:14:43 -!- Nistur has quit (Remote host closed the connection). 23:14:52 -!- Nistur has joined. 23:21:27 -!- Nistur has quit (Remote host closed the connection). 23:22:31 -!- Nistur has joined. 23:23:07 -!- boily has joined. 23:29:37 [wiki] [[User:Challenger5]] https://esolangs.org/w/index.php?diff=51833&oldid=51807 * Challenger5 * (+73) 23:29:53 `wisdom 23:29:55 trunc//The trunc and truncf functions (of C99 and C++11) are actually supported by the MS compiler (starting from the 2013), only strangely undocumented. 23:31:41 -!- DHeadshot has joined. 23:36:45 [wiki] [[List of ideas]] https://esolangs.org/w/index.php?diff=51834&oldid=51447 * Rjhunjhunwala * (+207) 23:36:45 `5 23:36:47 1/3:1235) Over the weekend I got asked what I was cosplaying no less than 5 times [...] I was, in fact, not cosplaying \ 654) Even the Spanish Inquisition is in this game. zzo38: was it unexpected? Kind of... \ 270) and then there's the slightly annoying one where suddenly, i start roll 23:37:32 [wiki] [[List of ideas]] https://esolangs.org/w/index.php?diff=51835&oldid=51834 * Rjhunjhunwala * (-2) 23:39:48 boily: Why `5 without `n? 23:40:00 `n 23:40:01 2/3:ing forward and i can't stop like i can be having some great sex dream or whatever and then suddenly "oh god not this again" (i go "not this again" but not necessarily realize it's a dream) \ 632) right: you didn't find out you were wrong, just right in a way we failed to consider. if only ev 23:40:17 helloochaf. I'm not quite used yet to that newfangled technological gimmick. 23:40:22 `n 23:40:23 3/3:ery wrong person could be so lucky \ 233) zzo38: you missed the point. the point was way stupider than that. 23:41:27 `5 w 23:41:32 1/1:sftm//SFTM is the Science Fiction Theory of Mail. \ but//But is an hth derivative. \ myndzi//myndzi used to keep us all on our feet. \ york//York used to be known as Amsterdam. \ døsthiswork//no 23:43:55 sftm? 23:44:06 seems fungot to me? 23:44:07 boily: because you could have a try 23:44:16 fungot: sounds about right. 23:44:17 boily: ( recently i have absolutely no prior experience with either before i tried to do 23:45:36 fungot, how many heads do you have? 23:45:36 wob_jonas: where is pika? ( f) ( f x 23:46:26 wellob_jonas. fungot's anatomy is uncountable hth 23:46:27 boily: or one of the games, so that anyone with half an ounce of nerdliness in them is the best trivial polymorphism of bf that makes it more realistic.