--- Log opened Mon May 08 00:00:58 2017 |
00:28 | | Derakon [Derakon@Nightstar-5mvs4e.ca.comcast.net] has quit [[NS] Quit: Leaving] |
00:32 | | Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving] |
00:33 | | Jessikat [Jessikat@Nightstar-vgt8ch.dab.02.net] has joined #code |
00:34 | | himi-cat [sjjf@Nightstar-v37cpe.internode.on.net] has quit [The TLS connection was non-properly terminated.] |
00:38 | | Kindamoody is now known as Kindamoody[zZz] |
02:03 | | himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has joined #code |
02:03 | | mode/#code [+o himi] by ChanServ |
02:53 | | * abudhabi finally finds out what the issue is with JavaFX and linux. |
02:53 | <@abudhabi> | Apparently, 1) openjfx is not installed with java 8 by default, 2) there are some discrepancies between Oracle's java and open java, so you need to edit a line in the default project properties file in Netbeans. |
02:54 | <@abudhabi> | It's straightforward if you know what to look for, but if you know what to look for, you already know how to solve it. |
03:14 | | Turaiel[Offline] is now known as Turaiel |
03:27 | | Jessikat` [Jessikat@Nightstar-cpv845.dab.02.net] has joined #code |
03:30 | | Jessikat [Jessikat@Nightstar-vgt8ch.dab.02.net] has quit [Ping timeout: 121 seconds] |
03:52 | | macdjord is now known as macdjord|slep |
04:54 | <&McMartin> | Cripes |
04:54 | <&McMartin> | "There are also 11 different types of drag, but we need only concern ourselves with one of them, type 5. The others are all listed in the Programmer's Reference Manual." |
05:20 | <@Reiv> | what |
05:24 | | Kindamoody[zZz] is now known as Kindamoody |
05:27 | | Turaiel is now known as Turaiel[Offline] |
05:30 | <&McMartin> | Workin' through some old tutorials |
05:30 | <&McMartin> | The 1990s were a grim time compared to what came after or, really, even before |
05:30 | <&McMartin> | Because doing the GUI thing was expected but we so did not have a frickin' clue how to |
05:31 | <&McMartin> | (Unless you were on a Mac, in which case you spent the 1980s being basically unable to create idiomatic software for the Mac *on* one. Most Mac development until the 1990s was done on Apple Lisas, which were hella expensive and had been discontinued for years) |
05:34 | <&McMartin> | (I am told that Mac development of the time was also horrendous manual handholding of even the most basic of interoperation with the rest of the system as well, but I have not delved this.) |
05:40 | | Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
06:41 | < Vornotron> | Jessikat: I remember writing resolve() for schlockian -- given a symbol it would figure out the value of that symbol and determining that I didn't know anywhere near enough about this sort of thing but at the time I had been programming for like six months and didn't know what an "lvalue" was |
06:57 | < Vornotron> | Hm. I seek a page that covers the bitwise operators and does so using symbols that work in python. |
06:57 | < Vornotron> | Like, there's the language reference, which describes the operators but doesn't really say what they do, and there's wikipedia, but that shows what the various operators do but doesn't use python's symbols |
07:00 | <&McMartin> | ... what are Python's symbols? |
07:00 | <&McMartin> | I'm used to <<, >>, >>>, &, |, ^, ~ |
07:00 | < Vornotron> | Those |
07:00 | <&McMartin> | Um |
07:00 | < Vornotron> | Well, except it doesn't have >>> |
07:01 | <&McMartin> | >>> is unsigned >> |
07:01 | <&McMartin> | But other than that, those are C's. Who's deviating from C? |
07:01 | < Vornotron> | Wikipedia uses words as opposed to names for & et al |
07:01 | < Vornotron> | words as opposed to symbols that is |
07:01 | <&McMartin> | ^ is a bit of an unfortunate choice, it is true. |
07:02 | < Vornotron> | In two ways! |
07:02 | <&McMartin> | APL or bust |
07:03 | <&McMartin> | YayPL |
07:05 | <&McMartin> | That said, why do you need this page |
07:05 | <&McMartin> | Surely you have mastered this by now |
07:05 | < Vornotron> | I may have, but I need to refer someone else to it |
07:05 | <&McMartin> | Link the two pages, tell them to start with the wikipage |
07:07 | <&McMartin> | OLD MAN, YOU SEEK THE MASTERY OF BITWISE OPERATORS |
07:09 | | RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds] |
07:54 | <@abudhabi> | YOU HAVE COME TOO LATE. MY WORK HAS ALREADY MET WITH SUCCESS. |
08:02 | | Kindamoody is now known as Kindamoody|afk |
08:05 | | himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Operation timed out] |
08:33 | < Jessikat`> | Vornotron - to be fair, I've gotten by with mostly a cursory and implicit understanding until I wrote that |
08:34 | | Jessikat` is now known as Jessikat |
09:13 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
09:30 | | RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code |
09:57 | | Jessikat` [Jessikat@Nightstar-iou6sr.dab.02.net] has joined #code |
09:58 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
09:58 | | mode/#code [+o himi] by ChanServ |
09:59 | | Jessikat [Jessikat@Nightstar-cpv845.dab.02.net] has quit [Ping timeout: 121 seconds] |
10:05 | | celticminstrel is now known as celmin|Zzzzzzz |
10:29 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has joined #code |
10:36 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
10:36 | | mode/#code [+o macdjord] by ChanServ |
10:39 | | macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Operation timed out] |
10:39 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
10:41 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has joined #code |
10:50 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
10:52 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has joined #code |
10:57 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
10:59 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has joined #code |
11:09 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
11:45 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has joined #code |
--- Log closed Mon May 08 11:57:20 2017 |
--- Log opened Mon May 08 11:57:34 2017 |
11:57 | | TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code |
11:57 | | Irssi: #code: Total of 36 nicks [27 ops, 0 halfops, 0 voices, 9 normal] |
11:57 | | mode/#code [+o TheWatcher] by ChanServ |
11:58 | | Irssi: Join to #code was synced in 56 secs |
11:59 | | Orthia [quassel@Nightstar-ksqup0.co.uk] has quit [Ping timeout: 121 seconds] |
11:59 | | Orthia [quassel@Nightstar-ksqup0.co.uk] has joined #code |
11:59 | | mode/#code [+o Orthia] by ChanServ |
13:51 | < Vornotron> | hooray, partials |
13:53 | < RchrdB> | and sections? |
13:55 | < Vornotron> | just partials at the moment |
13:55 | < Vornotron> | (what's a section) |
14:01 | < RchrdB> | it's a shorthand syntax for writing partials with a 2-argument operator |
14:01 | < RchrdB> | so if I want to write the function "is x equal to 3?" I could write that as (\x -> 3 == x) or as ((==) 3) |
14:02 | < RchrdB> | (==) is the prefix form of ==, just in case you haven't seen that before |
14:02 | < RchrdB> | and the 'section' way of writing it is (3 ==) |
14:03 | < RchrdB> | it's nice for functions like (++ "banana") or ("banana" ++) where you care about whether the thing goes on the left side or the right side of the operator |
14:06 | < Vornotron> | mm. The function I'm partialling is actually a method with one argument. |
14:06 | < Vornotron> | (I'm also in python) |
14:43 | <&ToxicFrog> | Scala has _ as a special token for this, which is nice; (_ < 3) is a function of one argument that returns true if its argument is < 3 |
14:43 | <&ToxicFrog> | Means you can partial any subset of arguments in any order, and easily create fns on the fly from normal infix operators |
14:44 | < Jessikat`> | I think closure allows something similar? |
14:44 | < Jessikat`> | Clojure |
14:44 | | Jessikat` is now known as Jessikat |
14:48 | <&ToxicFrog> | Yeah, with the %(...) reader macro, using % or %n for arguments |
15:28 | < RchrdB> | I kind of like "_" as a name for that because it reminds me of $_ in Perl. |
15:29 | < RchrdB> | though I'm not certain; does it conflict with the use of "_" in patterns to mean "don't care, discard this term"? |
15:29 | < RchrdB> | I think it might not, which would be dandy. |
15:33 | <&ToxicFrog> | I don't think it does but it's been a while since I used scala. |
16:18 | | ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds] |
16:27 | | Jessikat` [Jessikat@Nightstar-gb5vov.dab.02.net] has joined #code |
16:30 | | Jessikat [Jessikat@Nightstar-iou6sr.dab.02.net] has quit [Ping timeout: 121 seconds] |
17:06 | | Jessikat` is now known as Jessikat |
17:09 | | Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out] |
17:28 | | ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code |
17:29 | | celmin|Zzzzzzz is now known as celticminstrel |
17:57 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
17:57 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:02 | <&jeroud> | I hate writing test doubles for complicated third-party APIs. |
19:06 | <&jeroud> | (But it's better than not having them.) |
19:16 | <~Vornicus> | I've programmed to one service where the testing version is so accurate to reality that it will wait till 3 AM to mark payments as completed. |
19:17 | <~Vornicus> | This is ...not helpful when trying to write actual tests. |
19:20 | <&jeroud> | It's great when you get to control time. |
19:21 | <&jeroud> | Which is one of the reasons a test double for such services is great. |
19:22 | <&jeroud> | "set time to 4pm, perform transaction, fast forward time to 4am, check transaction" |
19:22 | <&McMartin> | That test sounds like a race condition waiting to happen |
19:25 | <~Vornicus> | in this case I'd just want it to fire its webhook immediately. |
19:28 | <&jeroud> | McMartin: Not if "control time" is part of the test double's API. |
19:29 | <&jeroud> | http://twistedmatrix.com/documents/current/api/twisted.internet.task.Clock.html |
19:45 | | Pi [sid25146@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: ] |
19:46 | | Pi [sid25146@Nightstar-7he56f.irccloud.com] has joined #code |
19:46 | | mode/#code [+o Pi] by ChanServ |
20:29 | | Jessikat [Jessikat@Nightstar-gb5vov.dab.02.net] has quit [The TLS connection was non-properly terminated.] |
20:29 | | Jessikat [Jessikat@Nightstar-gb5vov.dab.02.net] has joined #code |
20:33 | | Jessikat [Jessikat@Nightstar-gb5vov.dab.02.net] has quit [Ping timeout: 121 seconds] |
20:35 | | Jessikat [Jessikat@Nightstar-gb5vov.dab.02.net] has joined #code |
20:46 | | Jessikat` [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
20:47 | <@abudhabi> | Hm. |
20:47 | <@abudhabi> | How does one use Java 8 stream lambdas to filter subclasses? |
20:48 | <@abudhabi> | I mean, I have B extends A and C extends A, and I have a list of A, and I want to filter B and return a List<B>. |
20:48 | | celticminstrel [celticminst@Nightstar-n3vt4b.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
20:49 | | celticminstrel [celticminst@Nightstar-n3vt4b.dsl.bell.ca] has joined #code |
20:49 | | mode/#code [+o celticminstrel] by ChanServ |
20:52 | <@abudhabi> | Nevermind, I think I got it! |
21:15 | | Jessikat [Jessikat@Nightstar-gb5vov.dab.02.net] has quit [[NS] Quit: Bye] |
21:58 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out] |
22:11 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:14 | | Turaiel[Offline] is now known as Turaiel |
23:34 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:34 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:47 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out] |
23:56 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
23:56 | | mode/#code [+o mac] by ChanServ |
23:59 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
--- Log closed Tue May 09 00:00:00 2017 |