code logs -> 2015 -> Wed, 09 Sep 2015< code.20150908.log - code.20150910.log >
--- Log opened Wed Sep 09 00:00:33 2015
00:03 catadroid [catalyst@Nightstar-nafmrq.dab.02.net] has joined #code
00:05 Thalass [thalass@Nightstar-m49.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
00:06 Thalass [thalass@Nightstar-m49.o7s.158.104.IP] has joined #code
00:06 mode/#code [+o Thalass] by ChanServ
00:48 catadroid` [catalyst@Nightstar-c7fupq.dab.02.net] has joined #code
00:49 Thalass [thalass@Nightstar-m49.o7s.158.104.IP] has quit [Operation timed out]
00:50 catadroid [catalyst@Nightstar-nafmrq.dab.02.net] has quit [Ping timeout: 121 seconds]
01:16 Derakon[AFK] is now known as Derakon
01:22 wowaname [h@wowana.me] has quit [Ping timeout: 121 seconds]
01:33 Thalass [thalass@Nightstar-m49.o7s.158.104.IP] has joined #code
01:33 mode/#code [+o Thalass] by ChanServ
01:36 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
01:36 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:38 wowaname [h@wowana.me] has joined #code
01:42 wowaname [h@wowana.me] has quit [Ping timeout: 121 seconds]
01:45 Thalass [thalass@Nightstar-m49.o7s.158.104.IP] has quit [Connection reset by peer]
02:00 wowaname [h@wowana.me] has joined #code
02:13 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
02:13 mode/#code [+o Checkmate] by ChanServ
02:43 Meatyhandbag [sebastianfe@Nightstar-ee1.oh7.224.136.IP] has quit [Client exited]
03:09 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection reset by peer]
04:57 Turaiel is now known as Turaiel[Offline]
05:05 Derakon is now known as Derakon[AFK]
05:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
06:59 Kindamoody[zZz] is now known as Kindamoody
07:18 catadroid [catalyst@Nightstar-h1encv.dab.02.net] has joined #code
07:20 catadroid` [catalyst@Nightstar-c7fupq.dab.02.net] has quit [Ping timeout: 121 seconds]
08:18 celticminstrel is now known as celmin|sleep
08:29 Kindamoody is now known as Kindamoody|afk
08:30 sshine [simon@Nightstar-a7j18s.static.netgroup.dk] has joined #code
08:31
< sshine>
there are concurrent nonblocking queues. I forgot if they benchmark well compared to traditional blocking queues. are there concurrent nonblocking sets? do you just use a concurrent nonblocking queue to enqueue actions performed on arbitrary data structures like sets?
09:31
< abudhabi>
Java. I have a BaseClass, and ChildClassOne and ChildClassTwo which are extensions of BaseClass. If I declare a List<BaseClass>, can I store instances of ChildClassOne and ChildClassTwo arbitrarily in the same list?
09:38
<&McMartin>
Yes But
09:39
<&McMartin>
If you're cool with getting "BaseClass" out and downcasting if you need the childclasses, you're fine.
09:39
<&McMartin>
but "insert" will accept BaseClass and any subclasses
09:39
<&McMartin>
While something like remove_if will accept BaseClass and any *superclasses*
09:39
<&McMartin>
You'll see stuff in the signatures like <? extends V>
09:42
< abudhabi>
I don't need to remove, but I do need to insert.
09:43
< abudhabi>
How do I downcast? (ChildClassOne)whatever?
09:43
<&McMartin>
insert should accept all subclasses of the value type.
09:43
<&McMartin>
Yes
09:43
<&McMartin>
Also, if(whatever instanceof ChildClassOne) guarding it unless you like ClassCastExceptions (spoiler: you don't)
09:45
< abudhabi>
Exceptions are candy!
09:48
< catadroid>
CONSUME THEM ALL
09:48
< catadroid>
I'm not allowed candy
09:48
< catadroid>
I'm okay with this
10:02 * TheWatcher uuugghs at APIs
10:06
<@TheWatcher>
The GitLab API in particular, that uses the same URLs for different operations depending on the http method used. So 'GET /api/v3/projects' will fetch a list of the authenticated user's project, but 'POST /api/v3/projects' will create a new project.
10:22 ion [Owner@Nightstar-h5r554.vs.shawcable.net] has joined #code
10:56 catadroid` [catalyst@Nightstar-uoqcl5.dab.02.net] has joined #code
10:56 catadroid [catalyst@Nightstar-h1encv.dab.02.net] has quit [The TLS connection was non-properly terminated.]
10:56 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:35
< [R]>
TheWatcher: That's just standard modern REST though
11:41
<@TheWatcher>
Yeah, it's also frustrating as hell when trying to programmatically create a module to talk to it
11:42
<@TheWatcher>
But hey; web programming.
11:48
< [R]>
You're complaining because it's hard to make a program to write API interaction code for REST?
11:52
<@TheWatcher>
>.> yes.
11:56
< [R]>
Why not use an existing API?
11:58
<@TheWatcher>
Because there are currently two modules: one is utterly undocumented, and appears to be only partially complete, the other is missing some important features but is written using Moo, so simply modifying it to add those features is an exercise in even greater pain.
11:59
< [R]>
I'm guessing Moo is one of those shitty "compile to a real scripting language" languages?
12:02
<@TheWatcher>
No, it's a suite of Perl modules that extends the Perl object system, claiming to make it "easier, more consistent, and less tedious", but what it /really/ does is add a bunch of frankly nasty syntax and makes initialisation during object creation a horrible mess.
12:04
<@TheWatcher>
(Plus, dependency list for that API module is about 20 modules long, dependency list for my one right now: two.)
12:19
< catadroid`>
it makes it less tedious by rendering the entire thing entirely unusable?
12:20 catadroid` is now known as catadroid
12:25 Meatyhandbag [sebastianfe@Nightstar-ee1.oh7.224.136.IP] has joined #code
12:45 Meatyhandbag [sebastianfe@Nightstar-ee1.oh7.224.136.IP] has quit [Client exited]
12:50 Meatyhandbag [sebastianfe@Nightstar-7r7.lp7.224.136.IP] has joined #code
13:00 Meatyhandbag [sebastianfe@Nightstar-7r7.lp7.224.136.IP] has quit [Client exited]
13:48 catadroid` [catalyst@Nightstar-3vd8ut.dab.02.net] has joined #code
13:51 catadroid [catalyst@Nightstar-uoqcl5.dab.02.net] has quit [Ping timeout: 121 seconds]
13:56 Meatyhandbag [sebastianfe@Nightstar-7r7.lp7.224.136.IP] has joined #code
14:02 Meatyhandbag [sebastianfe@Nightstar-7r7.lp7.224.136.IP] has quit [Ping timeout: 121 seconds]
14:19 Meatyhandbag [sebastianfe@Nightstar-7r7.lp7.224.136.IP] has joined #code
15:04 celmin|sleep is now known as celticminstrel
15:09 catadroid` is now known as catadroid
17:00 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
17:50 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
17:50 ion [Owner@Nightstar-h5r554.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
17:52 catadroid [catalyst@Nightstar-3vd8ut.dab.02.net] has quit [[NS] Quit: Bye]
17:58 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
17:58 mode/#code [+o Checkmate] by ChanServ
18:00 gizmore [kvirc@Nightstar-grreaf.dip0.t-ipconnect.de] has joined #code
18:48 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
18:52 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
18:58 Meatyhandbag [sebastianfe@Nightstar-7r7.lp7.224.136.IP] has quit [Ping timeout: 121 seconds]
19:12 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
19:12 kourbou_ is now known as kourbou
19:27 ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has quit [[NS] Quit: Caught SystemExit exception.]
19:29 ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code
19:44 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Ping timeout: 121 seconds]
19:45 Gnomino [gnomino@Nightstar-fik25i.gnomino.eu] has quit [Ping timeout: 121 seconds]
20:08 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
20:16 Red_Queen [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
20:16 mode/#code [+o Red_Queen] by ChanServ
20:17 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds]
20:20 gizmore [kvirc@Nightstar-grreaf.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
20:26 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
20:27 mode/#code [+o Checkmate] by ChanServ
20:27 Red_Queen [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds]
20:32 Gnomino [gnomino@Nightstar-fik25i.gnomino.eu] has joined #code
20:33 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection closed]
21:19 ion [Owner@Nightstar-h5r554.vs.shawcable.net] has joined #code
21:42 starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has quit [Connection closed]
21:45 Meatyhandbag [sebastianfe@Nightstar-p51.854.224.136.IP] has joined #code
22:42 Kindamoody|afk is now known as Kindamoody
22:47 Turaiel[Offline] is now known as Turaiel
22:55 Kindamoody is now known as Kindamoody|afk
22:57 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds]
23:06 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
23:07 catadroid [catalyst@Nightstar-lukv9g.dab.02.net] has joined #code
23:29 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
23:29 mode/#code [+o Checkmate] by ChanServ
--- Log closed Thu Sep 10 00:00:49 2015
code logs -> 2015 -> Wed, 09 Sep 2015< code.20150908.log - code.20150910.log >

[ Latest log file ]