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:38 <HackEgo> treefolk//Treefolk are genericized treants for intellectual property reasons.
00:20:24 <shachaf> `grwp intellectual property
00:20:38 <HackEgo> 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 <shachaf> `2 grwp 'intellectual property'
00:21:28 <HackEgo> 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 <HackEgo> 3/3:is genericized marmite for intellectual property reasons.
00:21:58 <shachaf> `grwp intellectual propriety
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 <hppavilion[1]> @tell boily Happy maday! Do you plan to do a mapole dance?
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:45 <HackEgo> You like Gaspacho and I like Gazpacho. Let's call the whole thing off!
04:22:04 <HackEgo> You like Gazpacho and I like Gaspacho. Let's call the whole thing off!
04:22:11 <HackEgo> 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:24:08 <shachaf> oerjan: do you like gazpoocho?
04:24:16 <shachaf> i,i `learn Gospecho is a cold soup invented by Bill Gosper.
04:25:19 <shachaf> 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 <sleffy> 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:38:06 <sleffy> Please don't euthanize me. I have so many ridiculous things to write.
05:39:29 -!- tromp has quit (Ping timeout: 240 seconds).
06:06:27 <hppavilion[0]> 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:37:03 <HackEgo> [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:58 <HackEgo> cigar//A cigar is either a penis or just a cigar, dependent on Freud's current mood.
11:39:02 <HackEgo> /home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: ello: not found
11:39:32 <HackEgo> bin/hello \ bin/hello-world-in-any-language
11:39:57 <HackEgo> 4699:2014-07-27 <ellioẗt> ` rm bin/{node,ello} \ 4071:2013-11-22 <mrhmous̈e> chmod +x bin/ello \ 4070:2013-11-22 <mrhmous̈e> mv raw.php* bin/ello \ 4068:2013-11-22 <mrhmous̈e> chmod +x bin/ello \ 4067:2013-11-22 <mrhmous̈e> mv raw.php* bin/ello \ 4058:2013-11-22 <mrhmous̈e> echo "(function(){var e,l,o,t;t=process.argv[2],(null!=t?t.length:vo
11:40:24 <HackEgo> 8838:2016-07-24 <wob_jonäs> `` 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 <wob_jonäs> `` e=bin/hello;>$e echo $\'#!/usr/bin/perl\\n\'\'$c=unpack"C",$ARGV[0];print+($c&1?"H":"h"),"ello"
11:40:43 <HackEgo> 2448:2013-03-17 <Tanëb> echo "echo Hello" > bin/hello \ 2454:2013-03-18 <Bik̈e> chmod +x bin/hello \ 8831:2016-07-24 <int-̈e> rm bin/hello \ 8832:2016-07-24 <wob_jonäs> `` 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 <wob_jonäs> ``
11:41:15 <lambdabot> hppavilion[1] said 9h 33m 35s ago: Happy maday! Do you plan to do a mapole dance?
11:41:21 <oerjan> i thought we had a command for that...
11:41:54 <oerjan> now i'm imagining a canadian monty python sketch...
11:42:24 <oerjan> with those police in red
11:42:37 <boily> I'm a lumberjack and I'm OK ♪
11:43:10 <oerjan> except with mapole dancing, obviously
11:46:08 <oerjan> incidentally there's a norwegian dance involving a pole and a hat https://no.wikipedia.org/wiki/Lausdans
11:48:40 <boily> what the fungot is going on in that picture...
11:49:00 <oerjan> the traditional hat kicking leap hth
11:49:09 <oerjan> (which is the high point of the dance)
11:50:13 <oerjan> here's a youtube https://www.youtube.com/watch?v=-Wq6If8MsFQ
11:57:26 <oerjan> . o O ( the harding fiddle is like the lutefisk of music. )
12:01:05 <boily> . o O ( what's the resonnance frequency of a lutefisk... )
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:53 <HackEgo> 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:41 <HackEgo> hello hello hello, what's all this then?
14:21:46 <HackEgo> `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 <ais523> is this a very simple golfing language?
14:22:18 <wob_jonas> 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:30 <ais523> also, what's lowercase @? `?
14:22:59 <ais523> I'm a little scared I have that memorized
14:23:13 <wob_jonas> ais523: and the lowercase of "_" is "?" in this case, because only modulo 64 matters
14:23:25 <wob_jonas> ais523: I think many people here know the ascii table memorized
14:23:35 <wob_jonas> I certainly do (at least the printable characters, I don't remember all the controls)
14:23:38 <ais523> I don't have it all memorized
14:23:51 <wob_jonas> 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 <ais523> hmm, something that caught me out a bunch programming Jelly is that Đ and Ð are not the same character
14:24:43 <ais523> I can't distinguish them in any font I've seen them in
14:24:55 <HackEgo> [U+0110 LATIN CAPITAL LETTER D WITH STROKE] [U+00D0 LATIN CAPITAL LETTER ETH]
14:25:05 <wob_jonas> ascii isn't that hard. it's just like space ! " # $ % & ' ( ) * + , - . / then 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
14:25:40 <ais523> the first few punctuation marks catch me out because they're almost just the shifted numbers on a US keyboard
14:25:48 <wob_jonas> 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 <ais523> but ^ is missing, ' is added, and * is the wrong side of ()
14:26:21 <ais523> wob_jonas: right, and they're clearly distinct characters because đ and ð, the lowercase versions, are obviously different
14:26:30 <wob_jonas> 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 <wob_jonas> 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 <wob_jonas> 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 <wob_jonas> 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:07 <ais523> and nul is ignored for similar reasons
14:29:18 <ais523> (it's space you left on the tape to be able to insert characters)
14:29:29 <wob_jonas> 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:36:51 <wob_jonas> 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:51 <wob_jonas> 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:41 <wob_jonas> 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 <ais523> LaTeX encoding is a crazy situatoin anyway
14:39:36 <wob_jonas> yes, but LaTeX shouldn't figure in that at all
14:39:44 <wob_jonas> and even if it does, Knuth is really careful
14:39:49 <wob_jonas> and when he's not, he at least puts out an errata
14:40:08 <wob_jonas> I even wonder if it's some client-side problem at my side or something
14:41:59 <wob_jonas> 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 <wob_jonas> Why are the last 8 characters not there?
14:44:32 <wob_jonas> 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 <wob_jonas> that's why both ebcdic and MIX character code have holes between I and J
14:45:54 <wob_jonas> so the a card reader or puncher connected to a *decimal* MIX computer can have as simple a logic as possible
14:49:47 <wob_jonas> 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 <wob_jonas> maybe they use some modified punched card code for punctuation marks.
14:50:35 <wob_jonas> there are lots of variants of that supposedly
14:50:39 -!- h0rsep0wer has quit (Quit: Leaving).
14:52:12 <wob_jonas> I see \oren\ was listing my wisdoms again
14:57:46 <wob_jonas> "<\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:59:46 <wob_jonas> 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 <wob_jonas> 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 <wob_jonas> 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 <Jafet> does he not have a family, then
15:03:18 <Jafet> or maybe they don't file tax reports
15:03:36 <wob_jonas> 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 <wob_jonas> 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 <wob_jonas> or maybe they have done the sensible thing and migrated abroad.
15:05:06 <Jafet> there is probably some canonical php script somewhere that implements that form and everyone just copies it around
15:06:15 <Jafet> 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 <wob_jonas> 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 <wob_jonas> "<oerjan> is "fyr" in norwegian hth" -- what? how do they say five then?
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:08:16 -!- sleffy has joined.
17:22:52 -!- SexxyLucy has joined.
17:24:27 -!- SexxyLucy has quit (Client Quit).
17:34:27 -!- wob_jonas has joined.
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 <HackEgo> 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:58 <\oren\> for eaxmple, in PHP == is not commutative
18:21:47 -!- ais523 has joined.
18:22:31 <wob_jonas> \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 <APic> 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 <wob_jonas> \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 <wob_jonas> en deprecated it because it's stupid.
18:26:45 <\oren\> =~ is really only used to associate a regex with the thing it is acting on
18:27:26 <wob_jonas> it's so stupid I don't even remember its name
18:27:42 <wob_jonas> I used it once in an obfuscation, just to show how stupid it is
18:27:54 <wob_jonas> and it's not even a good obfuscation
18:28:09 <wob_jonas> 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 <wob_jonas> (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 <wob_jonas> \oren\: wait, it's not commutative? can you give an example?
18:39:37 <wob_jonas> \oren\: you don't just mean it's not associative, right? because that's much easier and much more common
18:40:01 <wob_jonas> (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:47:21 <\oren\> "php" == TRUE. "php" == 0. TRUE != 0.
18:47:47 <wob_jonas> \oren\: it's less surprising than if it was not commutative
18:48:07 <wob_jonas> 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 <wob_jonas> and of course, it can be deliberate. ruby has a === operator that is deliberately not commutative.
18:49:10 <shachaf> \oren\: http://i.imgur.com/6BYGcfx.jpg hth
18:50:52 -!- augur has joined.
18:56:26 <\oren\> 0133 != "0133". "0133" == 133
18:57:43 <wob_jonas> `perl -e warn 0133!="0133"," ","0133"==133
18:59:42 <\oren\> `perl -e print "0x10"==16
18:59:52 <\oren\> `perl -e 'print "0x10"==16'
19:00:15 <\oren\> `` perl -e 'print "0x10"==16'
19:00:18 <wob_jonas> `perl -e warn oct"0x10"," ",hex"0x10"," ",0+"0x10"
19:00:50 <\oren\> wait why doesn't print work
19:01:11 <\oren\> `` perl -e 'print ("0x10"==16)."\n"'
19:01:14 <wob_jonas> but "0x10"==16 results in false, which is the empty string
19:01:36 <\oren\> `` perl -e 'print ("0x10"==16?:"false")."\n"'
19:01:37 <HackEgo> syntax error at -e line 1, near "?:" \ Execution of -e aborted due to compilation errors.
19:01:37 <wob_jonas> 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:02:24 <\oren\> `` perl -e 'print ("0x10"+0?"true":"false")."\n"'
19:02:34 <\oren\> `` perl -e 'print "0x10"+0."\n"'
19:02:35 <HackEgo> 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:03:00 <\oren\> `` perl -e 'print ("010"+0)."\n"'
19:03:13 <\oren\> ok so perl always converts using decimal
19:03:37 <\oren\> `` perl -e 'print ("1e3"+0)."\n"'
19:03:52 <\oren\> `` perl -e 'print ("1.3"+0)."\n"'
19:03:54 <wob_jonas> \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:05:23 <wob_jonas> 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 <wob_jonas> secondly, it doesn't scan hexadecimal floating points even if the C library scanf does,
19:06:22 <wob_jonas> and it also scans nans differently from libc
19:07:30 <wob_jonas> there are probably more differences that I don't recall
19:08:29 -!- Vorpal has quit (Ping timeout: 240 seconds).
19:09:06 <\oren\> oh now I remember the other thing from php
19:09:14 <\oren\> "61529519452809720693702583126814" == "61529519452809720000000000000000"
19:09:20 <wob_jonas> 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 <wob_jonas> \oren\: always numeric comparison might be better than converting only if it's a string
19:10:47 <wob_jonas> it makes the comparison more associative
19:11:27 <\oren\> I guess that's why php has strcmp()
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 <wob_jonas> 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 <wob_jonas> 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 <wob_jonas> \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 <wob_jonas> at least if you compare them the way C compares them, not the way perl compares them
19:26:59 <rdococ> Now we're comparing comparison operators.
19:27:03 <\oren\> yeah maybe have a special operator for that
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:45 <wob_jonas> 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:55 <APic> Good old Bjarne.
19:30:13 <wob_jonas> so now comparison operators work differently on builtin types in C and C++
19:30:41 <rdococ> is there any C++ standard with C's comparisons?
19:31:26 <wob_jonas> rdococ: just put in some + prefixes, like +(x==y) to get the C-like behavior
19:32:01 <wob_jonas> except in very ancient pre-ansi C that doesn't have a prefix + operator
19:32:34 -!- Phantom__Hoover has joined.
19:32:36 <wob_jonas> you can use the venus prefix 0+ instead if you are concerned with ancient compatibility
19:33:07 <\oren\> wob_jonas: in my font venus has a belly button
19:33:38 <wob_jonas> \oren\: um, the 0+ is actually venus's mirror. it should show the reader inside, not venus.
19:34:56 <APic> My 0 always has a / through it
19:35:11 <APic> (Except once when i tried out Inconsolidata or something like that)
19:38:07 <\oren\> wob_jonas: Really? a mirror?
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:11:37 <APic> \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 <DHeadshot> Idea: A font where EVERYTHING looks like a 0!
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: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 <HackEgo> [wiki] [[User:Challenger5]] https://esolangs.org/w/index.php?diff=51833&oldid=51807 * Challenger5 * (+73)
23:29:55 <HackEgo> 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 <HackEgo> [wiki] [[List of ideas]] https://esolangs.org/w/index.php?diff=51834&oldid=51447 * Rjhunjhunwala * (+207)
23:36:47 <HackEgo> 1/3:1235) <Taneb> Over the weekend I got asked what I was cosplaying no less than 5 times [...] <Taneb> I was, in fact, not cosplaying \ 654) <zzo38> Even the Spanish Inquisition is in this game. <ais523> zzo38: was it unexpected? <zzo38> Kind of... \ 270) <oklopol> and then there's the slightly annoying one where suddenly, i start roll
23:37:32 <HackEgo> [wiki] [[List of ideas]] https://esolangs.org/w/index.php?diff=51835&oldid=51834 * Rjhunjhunwala * (-2)
23:40:01 <HackEgo> 2/3:ing forward and i can't stop <oklopol> like i can be having some great sex dream or whatever and then suddenly "oh god not this again" <oklopol> (i go "not this again" but not necessarily realize it's a dream) \ 632) <elliott> right: you didn't find out you were wrong, just right in a way we failed to consider. <elliott> if only ev
23:40:17 <boily> helloochaf. I'm not quite used yet to that newfangled technological gimmick.
23:40:23 <HackEgo> 3/3:ery wrong person could be so lucky \ 233) <oklopol> zzo38: you missed the point. the point was way stupider than that.
23:41:32 <HackEgo> 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:44:06 <boily> seems fungot to me?
23:44:07 <fungot> boily: because you could have a try
23:44:16 <boily> fungot: sounds about right.
23:44:17 <fungot> boily: ( recently i have absolutely no prior experience with either before i tried to do
23:45:36 <wob_jonas> fungot, how many heads do you have?
23:45:36 <fungot> wob_jonas: where is pika? ( f) ( f x
23:46:26 <boily> wellob_jonas. fungot's anatomy is uncountable hth
23:46:27 <fungot> 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.