←2017-04-25 2017-04-26 2017-04-27→ ↑2017 ↑all
00:02:51 <DHeadshot> hppavilion[1]: That's something for a quote database!
00:12:06 -!- DHeadshot has quit (Ping timeout: 260 seconds).
00:46:01 -!- t3ry4k1b33f has changed nick to sirnaysayer.
00:56:34 -!- zzo38 has joined.
01:27:01 -!- Zarutian has joined.
01:27:07 <fizzie> @wn dodecadent
01:27:08 <lambdabot> No match for "dodecadent".
01:27:09 <fizzie> Aw.
01:28:21 <fizzie> I was thinking decagon : dodecagon :: decadent : dodecadent.
01:40:58 -!- Marcela_Gandara1 has quit (Ping timeout: 260 seconds).
01:44:42 -!- ais523 has quit.
01:44:51 -!- ais523 has joined.
01:45:06 -!- Marcela_Gandara1 has joined.
01:47:36 -!- pdxleif has quit (Quit: ZNC - http://znc.in).
01:50:16 -!- Marcela_Gandara1 has quit (Ping timeout: 252 seconds).
02:00:40 -!- lifthrasiir has quit (Quit: No Ping reply in 180 seconds.).
02:01:04 -!- idris-bot has quit (Quit: Terminated).
02:01:42 -!- atehwa has quit (Ping timeout: 260 seconds).
02:01:44 <fizzie> shachaf: Here's a scow thing -- how do you use gflags for a busybox-style multi-binary? I guess you just don't.
02:02:07 -!- lifthrasiir has joined.
02:02:14 -!- atehwa has joined.
02:02:16 <shachaf> fizzie: Well, for a binary like apt-get or bazel you might have shared flags.
02:02:45 <fizzie> I'm thinking more of something like a hypothetical "file"-related "util"ity.
02:03:44 <fizzie> Or I guess 'git' as well.
02:03:45 <shachaf> What's the concern? That different sub-binaries might have flags with the same names but different types or meaning?
02:05:06 -!- Phantom_Hoover has quit (Ping timeout: 240 seconds).
02:05:06 <fizzie> Well, getting reasonable help/usage messages out might be some sort of a thing. And I think I'd like it to be not okay to specify the "local" flags before the subcommand.
02:05:55 <shachaf> I guess you would need a different library which parameterizes flags on a binary name or some other configuration option.
02:06:10 <shachaf> But that library doesn't have to be fundamentally different from gflags, only slightly different.
02:06:40 <shachaf> There are plenty of programs that use gflags and also have subcommands -- surely some of them have this issue?
02:06:52 <fizzie> I found this related thread when browsing around https://github.com/gflags/gflags/issues/57 as well.
02:06:58 <shachaf> One person's objection to gflags was that it encourages you to design bad command line user interfaces.
02:07:03 <shachaf> Which I guess is what you mean here.
02:09:44 <fizzie> I'm a little ambivalent, since I like some of the bits, and using gflags in a Bazel-based thing is so easy. Maybe if I just have handcrafted help messages for the subcommands. I mean, I think "git --help foo" does actually print out the man page instead of any sort of programmatically created thing.
02:10:55 <fizzie> (Separate binaries is of course an option too.)
02:12:24 <shachaf> Doesn't git actually have separate binaries?
02:12:39 <shachaf> Where "git foo ..." just runs "git-foo ..."
02:13:33 <fizzie> I'm not entirely sure. At least ls -l /usr/lib/git-core/ produces an arbitrary mixture of separate binaries and symlinks.
02:14:08 <shachaf> Oh, right.
02:14:11 <shachaf> It's a mixture.
02:14:19 <shachaf> But a long time ago it was all separate binaries maybe?
02:15:16 <shachaf> Anyway using one binary might make sense if you're in an environment where you're statically linking a large amount of code.
02:15:53 <fizzie> I guess "/usr/bin/git foo" might always run /some/other/git-foo, and the sharing of a binary is just a(nother) implementation detail.
02:16:30 <shachaf> Maybe you should use xflags instead.
02:16:51 <fizzie> "Xflags is a company that creates hanging car flags."
02:17:32 <fizzie> I also found this enlightening document: https://developer.apple.com/reference/kernel/gz_header/1546841-xflags
02:18:23 <fizzie> Looks like the thing you likely meant isn't focused on SEO. Also, I think I might've seen this before.
02:18:25 <shachaf> This thing: https://github.com/mortehu/xflags
02:18:44 <shachaf> But the Apple document is pretty good.
02:36:08 -!- Zarutian has quit (Quit: Zarutian).
02:41:40 -!- IronY has changed nick to SpeedRun.
02:46:19 -!- SpeedRun has changed nick to IronY.
03:00:06 -!- sleffy has quit (Ping timeout: 240 seconds).
03:01:11 -!- sleffy has joined.
03:07:07 -!- hppavilion[0] has joined.
03:08:26 -!- hppavilion[1] has quit (Ping timeout: 260 seconds).
03:16:03 -!- sleffy has quit (Ping timeout: 260 seconds).
03:20:48 -!- Akaibu has quit (Quit: Connection closed for inactivity).
04:14:18 -!- sleffy has joined.
04:15:00 -!- Sgeo_ has joined.
04:18:37 -!- Sgeo has quit (Ping timeout: 268 seconds).
05:03:54 -!- [io] has joined.
05:04:21 -!- iovoid has quit (Ping timeout: 258 seconds).
05:33:20 <rdococ> n
05:56:18 -!- erkin has joined.
05:59:15 <rdococ> ih
06:51:53 -!- ais523 has quit (Ping timeout: 260 seconds).
06:56:05 -!- FreeFull has quit.
07:21:34 -!- erkin has quit (Quit: Ouch! Got SIGABRT, dying...).
07:27:52 * hppavilion[0] . o O ( Kleene algebra with inverse elements for addition and multiplication )
07:47:59 <rdococ> I still think Mercator is a little underrated.
07:50:41 <hppavilion[0]> tswett: I may have stolen projective scope hth
07:52:10 -!- sleffy has quit (Ping timeout: 260 seconds).
08:07:44 -!- augur has quit (Remote host closed the connection).
08:08:00 -!- augur has joined.
08:08:03 -!- augur has quit (Remote host closed the connection).
08:41:10 -!- augur has joined.
08:53:40 -!- AnotherTest has joined.
08:55:12 -!- MDude has quit (Ping timeout: 240 seconds).
08:57:27 -!- MDude has joined.
09:03:43 -!- erkin has joined.
09:06:21 <zzo38> Am I the only who implemented the X resource manager in JavaScript? I cannot find any others.
09:08:22 <zzo38> Generator functions make the implementation of the search list to be very simple compared to a C code.
09:08:41 -!- augur has quit (Remote host closed the connection).
09:09:37 <zzo38> Also, unique quarks are implemented without having to add any extra code to support it. (Use the built-in JavaScript function Symbol() to create a unique quark.)
09:15:50 -!- [io] has quit (Ping timeout: 240 seconds).
09:15:52 <zzo38> (Also, my implementation is only 3003 bytes long; with the ability to load, save, get resources, put resources, and merge databases, with or without overwrite. All of the tests pass.)
09:16:00 -!- iovoid has joined.
09:16:00 -!- iovoid has quit (Changing host).
09:16:00 -!- iovoid has joined.
09:21:46 -!- oerjan has joined.
09:32:18 <hppavilion[0]> "The flamboyant cuttlefish is less buoyant than most cuttlefish species, due to its reduced cuttlebone."
09:33:14 <zzo38> O, I didn't know that
09:33:28 -!- LKoen has joined.
09:42:00 -!- erkin has quit (Quit: Ouch! Got SIGABRT, dying...).
09:43:42 -!- hppavilion[0] has quit (Ping timeout: 240 seconds).
09:46:02 -!- keemyb has joined.
10:26:18 <oerjan> `? viola
10:26:21 <HackEgo> viola? ¯\(°​_o)/¯
10:26:27 <oerjan> `? violation
10:26:28 <HackEgo> Violation is the act of playing an instrument in the viola family.
10:30:46 <shachaf> what's a segmentation violation?
10:31:14 <oerjan> that's when you play so hard part of it falls off
10:39:35 <oerjan> `learn Dodecadent means decadent, but in a Platonic way.
10:39:39 <HackEgo> Learned 'dodecadent': Dodecadent means decadent, but in a Platonic way.
10:39:45 <oerjan> fizzie: hth
10:43:24 <shachaf> tdh
10:43:41 <shachaf> do you like dynkin diagrams?
10:44:05 <oerjan> i don't have much relationship with them.
10:59:00 <fizzie> tdh, iwnhgt
11:04:25 <oerjan> today's xkcd goes well with a plate of chihuahua.
11:07:23 -!- oerjan has quit (Quit: Later).
11:34:14 -!- boily has joined.
11:45:44 <boily> `wisdom
11:45:46 <HackEgo> maths//Maths stands for Mathematical Anti-Telharsic Harfatum Septomin.
12:02:43 -!- LKoen has quit (Remote host closed the connection).
12:29:23 -!- boily has quit (Quit: EVENT CHICKEN).
12:35:26 -!- LKoen has joined.
13:08:08 <Taneb> `? math
13:08:09 <HackEgo> Math class is tough!
13:08:13 <Taneb> `? maths
13:08:14 <HackEgo> Maths stands for Mathematical Anti-Telharsic Harfatum Septomin.
13:08:23 <Taneb> How many entries are there for with and without the -s
13:09:12 -!- Akaibu has joined.
13:48:15 <Jafet> `` cd wisdom && echo *s
13:48:17 <HackEgo> 6 random numbers abyss all the tropes ambiguous ananas b_jonas brontosaurus chaos chess chuck norris cls comics complexity class css culprits dingas fentimans for further details glados glass hambiguitous hand injuries hfs hippothalamus inverness jesus lens links logs lystrosaurus madness magnus magus maths mipis mips monads monoids neoletters numb
13:48:34 <Jafet> `` cd wisdom && ls *s
13:48:36 <HackEgo> 6 random numbers \ abyss \ all the tropes \ ambiguous \ ananas \ b_jonas \ brontosaurus \ chaos \ chess \ chuck norris \ cls \ comics \ complexity class \ css \ culprits \ dingas \ fentimans \ for further details \ glados \ glass \ hambiguitous \ hand injuries \ hfs \ hippothalamus \ inverness \ jesus \ lens \ links \ logs \ lystrosaurus \ madness
13:49:02 -!- keemyb has quit (Read error: Connection reset by peer).
13:51:55 <Jafet> `? chuck norris
13:51:56 <HackEgo> Cars look both ways before Chuck Norris crosses the street.
14:39:14 -!- `^_^v has joined.
15:29:57 -!- orby has joined.
15:30:05 <orby> greetings!
15:56:53 -!- LKoen has quit (Remote host closed the connection).
16:34:15 <rdococ> . o O o O o .
16:47:25 <rdococ> . o O ( people are misguided when they fuss over "circle constants". )
16:47:31 <rdococ> . o O ( also, eta ftw )
16:48:53 -!- Phantom_Hoover has joined.
16:48:53 -!- Phantom_Hoover has quit (Changing host).
16:48:53 -!- Phantom_Hoover has joined.
16:51:10 <rdococ> hi Phantom_Hoover.
16:51:15 <rdococ> what do you think of circle constants?
16:51:26 <Phantom_Hoover> well there's only the one, really
16:51:36 <rdococ> what's that?
16:51:53 <Phantom_Hoover> the greek one, nu or something
16:52:08 <rdococ> all three are greek
16:52:45 <rdococ> heck, I even saw a concept for a fourth, it was also greek
16:53:17 <Phantom_Hoover> pi, tau and... what's the third?
16:53:30 <rdococ> eta. it's equivalent to 1/2 pi = 1/4 tau
16:53:42 <rdococ> it's the one I prefer, because it's angular i
16:53:43 <Phantom_Hoover> jesus christ
16:53:55 <Phantom_Hoover> learn some actual maths for god's sake
16:54:01 <rdococ> agreed, it's ridiculous
16:54:59 <rdococ> all of these symbols would be better off in conlanging creating another esoteric linguistic language.
16:57:34 -!- FreeFull has joined.
16:58:26 <rdococ> hi FreeFull
17:04:26 <FreeFull> Hi
17:15:57 -!- LKoen has joined.
17:22:42 <rdococ> hi
17:25:21 -!- idris-bot has joined.
17:51:17 <\oren\> why not use pi/180 = degrad as the circle constant
17:51:52 -!- LKoen has quit (Remote host closed the connection).
17:52:09 <\oren\> you can use ° as the symbol for it
17:52:56 <\oren\> the circumference of a circle with diameter d is d*180°
17:53:49 <\oren\> the area of a circle with radius r is 180°r²
17:54:49 <\oren\> and of course, the angles in a triangle add up to 180°
17:57:05 -!- DHeadshot has joined.
17:57:34 -!- sleffy has joined.
18:12:51 <izabera> no opensource faceapp clone yet?
18:19:32 <int-e> promising headline, https://www.washingtonpost.com/news/the-intersect/wp/2017/04/26/everything-thats-wrong-with-faceapp-the-latest-creepy-photo-app-for-your-face/ (have not read it yet, but I have taken the bait)
18:24:54 <Taneb> Is this better or worse than the "sends every single detail about your phone to a mysterious IP in China"
18:25:47 <int-e> izabera: if that was a serious question I'll label you a terrible person.
18:26:26 <\oren\> https://www.youtube.com/watch?v=Te7Ki1mKweA
18:26:35 <int-e> Taneb: it's different?!
18:28:08 <\oren\> What's wrong with applying Chinese beauty standards to african-americans
18:29:26 <izabera> Taneb: does that not happen with literally every other app?
18:29:28 <\oren\> https://twitter.com/nohwayineve/status/857181133276098560
18:30:29 <\oren\> mark zuckerberg becoming female. and then more female. and more... AAAAAAAAAAAAAAAAAA
18:31:37 <rdococ> heh, degrad
18:52:04 <\oren\> https://8values.github.io/results.html?e=62.2&d=39.1&g=47.8&s=67.6
18:58:17 <\oren\> lol populism
19:07:14 <rdococ> https://8values.github.io/results.html?e=73.1&d=70.5&g=76.6&s=78.9
19:07:23 <\oren\> there should be a version of this that creates a Stellaris civ
19:07:31 <rdococ> I'd say it fits me pretty well.
19:07:43 <rdococ> "Closest Match: Libertarian Socialism"
19:08:02 <\oren\> argh, why is everyone more pacifist than me
19:08:50 <rdococ> well, I'm too pacifist to hate anyone for not being pacifist
19:08:56 <rdococ> :P
19:09:32 <rdococ> I'm kinda being serious there
19:13:40 <\oren\> look I just want to force asshole countries to treat their people better
19:16:36 <rdococ> I guess
19:18:09 -!- erdic has quit (Remote host closed the connection).
19:18:44 -!- erdic has joined.
20:31:43 -!- augur has joined.
20:44:45 -!- augur has quit (Remote host closed the connection).
20:47:40 -!- augur has joined.
21:18:40 <\oren\> http://www.huffingtonpost.co.uk/entry/ukip-glasgow-gorillas-gay_uk_58fcc13ee4b018a9ce5c09e0
21:18:49 <\oren\> "Ukip Candidate Compares Her Sexual Attraction To Gorillas To Being Gay"
21:29:03 -!- MDude has quit (Remote host closed the connection).
21:39:33 -!- `^_^v has quit (Quit: Leaving).
21:39:51 -!- `^_^v has joined.
21:50:39 -!- augur has quit (Remote host closed the connection).
21:52:55 -!- LKoen has joined.
21:57:31 -!- LKoen has quit (Ping timeout: 252 seconds).
22:06:47 -!- AnotherTest has quit (Quit: ZNC - http://znc.in).
22:16:55 <fizzie> I've been trying out this std::experimental::filesystem library I found in my GCC, and can't figure out what's going on here: http://sprunge.us/jHeR
22:20:06 <\oren\> fizzie: perhaps != isn't defined nicely
22:20:31 <fizzie> That's how the range-based for loop is defined.
22:20:46 <fizzie> Though admittedly it technically calls end() just once.
22:21:15 <Phantom_Hoover> i admittedly know nothing about c++ iterators except from seeing them used in code a few times
22:21:36 <Phantom_Hoover> but the '!= thing.end()' idiom just baffles me
22:22:03 <fizzie> I'm not a huge fan, but it is what it is.
22:22:16 <Phantom_Hoover> why would you do it that way rather than just '!thing.finished()'
22:22:35 <fizzie> Because it must be compatible with raw pointers, I guess.
22:22:39 <\oren\> what happens if you call path.end() once
22:22:54 <Phantom_Hoover> it'll get called on every iteration
22:22:55 <fizzie> \oren\: Doesn't seem to make a difference.
22:24:01 <\oren\> what does && mean anyway? it's one of those new c++14 things right
22:24:55 <fizzie> C++11, I think.
22:25:04 <fizzie> It's an rvalue reference, but I'm not going to pretend I could explain it intelligibly.
22:25:20 <\oren\> ok, so it is a reference
22:25:57 <fizzie> Anyway, http://sprunge.us/LhdV is what an online reference says the equivalence for a range-based for loop is.
22:26:07 <fizzie> I guess I'll try to do something even closer than that.
22:27:20 <\oren\> fizzie: !OH
22:27:31 <\oren\> look at the increment
22:27:38 <\oren\> it's ++x not x++
22:27:52 <fizzie> Oh. Well, that's just great.
22:27:54 <fizzie> Right, right.
22:27:54 <\oren\> try doing ++iter
22:28:02 <fizzie> I'm sure it's that.
22:28:03 <fizzie> Thanks.
22:28:13 <\oren\> they probably didn't implement iter++ properly
22:28:29 <fizzie> And why would they, only non-C++ plebs would dream of calling it.
22:28:44 <fizzie> Yeah, that's it.
22:29:01 <Phantom_Hoover> lol
22:29:11 <\oren\> yes, why would anyone have a variable called C and increment it with C++
22:31:30 <\oren\> I don't get why the post increment isn't just automatically generated from the pre-increment
22:32:59 <fizzie> Looks like it's an inline iterator operator++(int) { auto __tmp = *this; ++_M_cur; return __tmp; } for the postfix version.
22:34:39 <int-e> not ++(*this)?
22:34:50 <fizzie> No. I'm guessing at some point it was enough to do ++_M_cur but now it needs something more. (The prefix ++ is just a declaration, I don't have the sources of the library.)
22:36:01 <fizzie> Well, it did have "experimental" right there in the name.
22:44:39 <int-e> fizzie: https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/experimental/bits/fs_path.h#L1023-L1038
22:45:29 <\oren\> fizzie: you can submit a patch
22:46:16 <int-e> (turns out it is defined in the header file after all)
22:46:40 <Phantom_Hoover> i thought you couldn't/weren't supposed to have code in a header file
22:46:44 <fizzie> int-e: Yeah, I didn't look too far down.
22:47:11 <Phantom_Hoover> this is why c++ projects take a year to compile right
22:47:21 <fizzie> No, that's probably template metaprogramming.
22:47:28 <int-e> and that code indeed suggests that it will fail for paths that only have a single component, like "foo"
22:48:16 -!- augur has joined.
22:49:09 <fizzie> int-e: I guess it's some sort of an optimilization, if there's only one component it doesn't do a list of them and therefore there's no iterator to increment, there's just a boolean flag.
22:49:39 -!- `^_^v has quit (Quit: This computer has gone to sleep).
22:53:44 <fizzie> (Though looks like it's been like that since the initial commit 5924b28, two years ago.)
22:56:51 <int-e> they should rename C++ to ++C
23:06:16 -!- contrapumpkin has quit (Ping timeout: 252 seconds).
23:10:05 -!- propumpkin has joined.
23:16:25 <shachaf> propumpkin: yopumpkin
23:22:50 -!- augur has quit (Remote host closed the connection).
23:33:46 -!- DHeadshot has quit (Ping timeout: 252 seconds).
23:38:35 -!- marmalord has joined.
23:39:08 -!- marmalord has left.
23:40:44 -!- augur has joined.
23:51:21 -!- Phantom_Hoover has quit (Ping timeout: 260 seconds).
23:52:47 -!- augur has quit (Remote host closed the connection).
←2017-04-25 2017-04-26 2017-04-27→ ↑2017 ↑all