--- Log opened Tue Nov 04 00:00:33 2014 |
00:37 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out] |
00:38 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
00:38 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
00:40 | | thalass [thalass@Nightstar-fp8736.bigpond.net.au] has joined #code |
00:40 | | mode/#code [+o thalass] by ChanServ |
01:00 | <@celticminstrel> | Is it even possible for :hover to match a (normal) <br> element? |
01:01 | <@celticminstrel> | Or, possible to click it, I guess. |
01:05 | <~Vornicus> | a br element has no box |
01:20 | <@simon_> | is 'java -jar' *ever* called as 'java-jar'? isn't it always as the parameter -jar? |
01:20 | <&McMartin> | I have never seen "java-jar" |
01:21 | <@Reiv> | Hey, McMartin |
01:21 | <@Reiv> | You rock Soontir Fel a lot |
01:21 | <@Reiv> | Does Echo ruin your day? |
01:22 | <@simon_> | good, it's a typo then. |
01:24 | <&McMartin> | I have never faced Echo. |
01:24 | <&McMartin> | I have rocked Soontir Fel exactly once. |
01:35 | | Xires is now known as ^Xires |
01:40 | | thalass [thalass@Nightstar-fp8736.bigpond.net.au] has quit [[NS] Quit: augh] |
01:45 | <@Reiv> | McMartin: Bah |
01:45 | <@Reiv> | You should rock Soontir Fel more often, he is glorious~ |
01:47 | | ^Xires is now known as Xires |
01:48 | <&McMartin> | I don't really *play* much |
01:48 | <&McMartin> | I don't own the game and most of my friends who *do* play also tend to win the local tournaments |
01:50 | <@Reiv> | Oh really |
02:01 | <@macdjord> | Vornicus: What's the difference in expected value of 2d1000 pick highest vs 3d1000 pick highest? |
02:14 | <~Vornicus> | uh... 667 vs 750, iirc |
02:53 | <@simon_> | http://topps.diku.dk/torbenm/troll.msp - type in: max {3d1000} and hit 'Calculate probabilities' and scroll to the bottom of the page (ignoring the large distribution table and reading the average at the bottom) |
02:54 | <@simon_> | (also, Vornicus is right) |
03:01 | <~Vornicus> | in general, the maximum of n identical uniform distributions is equal to n/(n+1) from the bottom of the range |
03:19 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
03:33 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:21 | | * Vornicus is reminded once again that he has to fuck around with the xwing stuff and it is once again about bedtime, cripes |
04:33 | <@Reiv> | haha |
04:33 | <@Reiv> | night, Vorn |
04:34 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
04:43 | | Kindamoody[zZz] is now known as Kindamoody |
05:10 | | Xires is now known as ^Xires |
05:24 | | ^Xires is now known as Xires |
05:33 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
06:33 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:57 | <@Azash> | http://pastebin.com/bqr0kKug |
06:57 | <@Azash> | God damnit, roll20 |
07:00 | <@abudhabi> | What's that in that base 64 block? |
07:01 | <@abudhabi> | A font file? |
07:01 | <@Azash> | Yes |
07:01 | <@Azash> | Which is apparently crammed into simulating an HTTP response and then fed to a font fetcher |
07:04 | <@Reiv> | what, why |
07:05 | <@Azash> | \roll20/ |
07:05 | <@Azash> | Organic growth and all that |
07:05 | <@Azash> | Reiv: My favourite part is that to conserve bandwidth |
07:06 | <@Azash> | The entire log is sent to you in base64 together with some builder scripts that then build it into a presentable log format |
07:06 | <@abudhabi> | Why not base 128 or base 256? |
07:08 | <@Azash> | abudhabi: https://en.wikipedia.org/wiki/Base64 |
07:11 | <@abudhabi> | That looks like it adds 33% more bandwidth usage. |
08:05 | | Kindamoody is now known as Kindamoody|afk |
08:19 | <@froztbyte> | https://whispersystems.org/blog/contact-discovery/ |
08:28 | <@abudhabi> | Java. Is there a way to ask a Java class for a list of its fields? |
08:28 | <@abudhabi> | I mean, if it has fields "String wut", "int lol" and "Date omg", I'd like to retrieve "wut, lol, omg". |
08:30 | | thalass [thalass@Nightstar-fp8736.bigpond.net.au] has joined #code |
08:30 | | mode/#code [+o thalass] by ChanServ |
08:34 | <&McMartin> | abudhabi: java.lang.Reflect has the various technologies you require. |
08:35 | <&McMartin> | Er, java.lang.reflect |
08:35 | <&McMartin> | There are quite a few classes installed |
08:35 | <&McMartin> | *involved |
08:35 | <&McMartin> | It is late |
08:39 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
08:39 | | mode/#code [+o Checkmate] by ChanServ |
08:42 | <@abudhabi> | Hmm. The drawbacks seem not worth it. I think I'll just have the class have a hand-modifiable list of fields. |
08:57 | <&McMartin> | Yeah, reflection is icky |
08:57 | <&McMartin> | There are languages better designed for it |
08:58 | <&McMartin> | In Java, the best thing to do with reflection is to define an interface and use Class.newInstance() to make user-specified subclasses thereof. |
09:14 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
09:14 | | mode/#code [+o Red_Queen] by ChanServ |
09:16 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep] |
09:17 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
09:23 | | Syka [the@Nightstar-c409v3.vividwireless.net.au] has quit [Connection closed] |
09:23 | | Syka [the@Nightstar-c409v3.vividwireless.net.au] has joined #code |
10:07 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
10:07 | | mode/#code [+o himi] by ChanServ |
10:14 | <@abudhabi> | Hmm. I want to use the Collections.sort() thing to order a list of custom objects, but I struggle to figure out how to apply it. |
10:18 | <@TheWatcher> | Probably the easiest way: say you're adding instances of Foo to a List, make sure that foo implements the Comparable interface (ie: it implements the compareto() method). then you can call Collections.sort(yourList) and it'll sort the list into the order determined by the behaviour of the compareTo method |
10:21 | <@TheWatcher> | alternatively, you need to create a new Comparator that implements the compare() method for your objects (useful for cases where you want to sort in an order other than the natural order of the items in the list) |
10:21 | | thalass is now known as Thalass|KSP |
10:30 | <@abudhabi> | This worked. Thanks! |
10:57 | | * TheWatcher hairpulls at this code, finally notices the presence of the significant ! before $newsletter -> {"schedule"}, headdesks |
11:02 | <@abudhabi> | Was the code trying to access the negative of the pointer to the newsletter, or something? |
11:05 | <@TheWatcher> | I was doing if(!$newletter -> {"schedule"}) { .. do things... } and was wondering why things weren't being done >.> |
11:06 | | thalass [thalass@Nightstar-fp8736.bigpond.net.au] has joined #code |
11:06 | | mode/#code [+o thalass] by ChanServ |
11:06 | <@abudhabi> | Clearly because of sunspots. :P |
11:14 | <@TheWatcher> | Obviously. |
11:15 | <@TheWatcher> | On the other hand, the reason why this datepicker javascript library is not actually using the list of allowed dates I'm giving it is a far bigger mystery |
11:16 | <@abudhabi> | Ah, date handling. The ur-task. |
11:18 | <@TheWatcher> | Yeah. |
11:18 | <@TheWatcher> | So much hate |
11:18 | <@TheWatcher> | Especially in javascript |
11:31 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
12:12 | <@gnolam> | Glarghl |
12:12 | <@gnolam> | These log files... are not up to the task. |
12:12 | <@gnolam> | But they're all I have to work with., |
12:17 | <@TheWatcher> | Woe :/ |
12:21 | <@gnolam> | Best I can do is leave a note in the output on how much had to be skipped because it couldn't be uniquely determined. |
12:44 | | thalass is now known as thalass|TANKS |
13:01 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
13:23 | | thalass|TANKS is now known as Thalass |
13:24 | | Thalass is now known as thalass|kerbald |
13:26 | <@TheWatcher> | Le sigh |
13:27 | <@TheWatcher> | Why do people not understand the concept of caching data from RSS feeds? |
13:42 | | gizmore [kvirc@Nightstar-ic1o9q.pools.vodafone-ip.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/] |
13:48 | | gizmore [kvirc@Nightstar-ic1o9q.pools.vodafone-ip.de] has joined #code |
14:13 | | Lamabo [thelambo@Nightstar-ic6koa.fl.comcast.net] has joined #code |
14:14 | | Netsplit *.net <-> *.split quits: @ToxicFrog, @Ogredude, @Tarinaky, @gnolam, @himi, grindhold, @McMartin, Syka, @Syloq, Lambo, (+2 more, use /NETSPLIT to show all of them) |
14:14 | | Netsplit over, joins: @PinkFreud, &ToxicFrog, &McMartin, @gnolam, @himi, Syka, @Ogredude, @Tarinaky, Lambo, @Syloq (+1 more) |
14:14 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has quit [Ping timeout: 121 seconds] |
14:51 | | thalass|kerbald is now known as Thalass |
14:54 | <@gnolam> | Hmm. Three exclamation marks. What's the underpants level again? |
14:56 | <@TheWatcher> | "on head" |
15:00 | < gizmore> | isn´t that the global sign for "in love"? |
15:01 | <@TheWatcher> | Which one, three exclamation marks, or underpants on head? |
15:02 | < gizmore> | underpants on head |
15:03 | <@TheWatcher> | Obviously, all this time my wife and I haven't really been in love, then |
15:04 | < gizmore> | just not with each other |
15:07 | < Lamabo> | alright |
15:07 | < Lamabo> | what strange hell do I get to deal with today |
15:07 | < Lamabo> | right |
15:07 | < Lamabo> | WISE Installshield |
15:08 | < Lamabo> | fml |
15:09 | < Lamabo> | sorryt |
15:09 | < Lamabo> | Wise Installation System 9.02 |
15:09 | < Lamabo> | copyright 2001 |
15:09 | | Lamabo is now known as Lambo |
15:09 | < Lambo> | I AM LIVING IN THE FUTURE |
15:42 | | io [Alexandria@Nightstar-fkokc2.com] has quit [[NS] Quit: server switch~] |
15:42 | | io [Alexandria@Nightstar-fkokc2.com] has joined #code |
15:44 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
15:44 | | mode/#code [+o Alek] by ChanServ |
15:58 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
16:07 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
16:07 | | mode/#code [+o Alek] by ChanServ |
16:12 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code |
16:12 | | mode/#code [+o celticminstrel] by ChanServ |
16:39 | | Thalass is now known as Thalasleep |
16:40 | | Thalasleep [thalass@Nightstar-fp8736.bigpond.net.au] has quit [Connection closed] |
19:27 | < io> | I am a mature adult. |
19:27 | < io> | I am not giggling over "find . -name *peed*" |
19:29 | < gizmore> | ls -asl |
20:17 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
20:17 | | mode/#code [+o Reiv] by ChanServ |
20:18 | | Kindamoody|afk is now known as Kindamoody |
20:55 | | Kindamoody is now known as Kindamoody[zZz] |
21:02 | < Lambo> | oh my fucking god |
21:02 | < Lambo> | I have just seen hell |
21:02 | < Lambo> | in a DB |
21:03 | < Lambo> | we're doing conversions from a competitor to our product, one column in this DB is named SECTIONS of type char(100) |
21:03 | < Lambo> | this field represents the line of business |
21:06 | < gizmore> | Lambo: your nickname reminds me of my former bot |
21:07 | < gizmore> | can you please explain the origins of your nickname, so i get less confused? |
21:07 | < Lambo> | gizmore: my name used to Lamborghini many years ago |
21:07 | < gizmore> | thanks! |
21:08 | < Lambo> | anyway, this database, in this field |
21:08 | < Lambo> | it stored the line of business based on the offset the character x was located on |
21:08 | < Lambo> | ' X ' |
21:08 | < Lambo> | like that. |
21:09 | <@Tamber> | *wince* |
21:09 | < Lambo> | so |
21:09 | < Lambo> | so it can have 100 different values, for 100 bytes of data |
21:09 | < Lambo> | instead of a short. |
21:09 | < Lambo> | which is 2 bytes. |
21:09 | < Lambo> | :( |
21:10 | <@Tamber> | Sounds like someone learned about bitflags, and took the wrong idea away from it. |
21:12 | < gizmore> | sounds like SAP/ABAP |
21:13 | < Lambo> | ooh this is great |
21:14 | < Lambo> | dates are stored in this database with the years stored as 2 hex digits. |
21:14 | <@Tamber> | Saves bytes, to offset 'SECTIONS' |
21:16 | < Lambo> | there are no primary keys. |
21:18 | <@Tamber> | Pah, only people who don't know what they're doing need those. |
21:18 | < Lambo> | the date is stored as a varchar(8) |
21:19 | < gizmore> | since 19700101235959 |
21:19 | <@Tamber> | On a completely unrelated note; noticed something in what I'm currently (putting off) working on that I thought was an interesting way to solve a problem. |
21:20 | < Lambo> | back to building an installer with Wise Installation Wizard 9.02 |
21:20 | < Lambo> | :x |
21:20 | < gizmore> | :D |
21:21 | < gizmore> | sounds "wise" |
21:21 | <@Tamber> | { call compile format [" if(isNil variable_%1) then { variable_%1 = thingy_init_val; };", _x]; } foreach [sideA, sideB, sideC, sideD]; |
21:21 | <@Tamber> | (Slightly simplified where the details don't matter~) |
21:24 | < Lambo> | I feel dirty |
21:24 | < Lambo> | I had to check the OS Version if Windows XP or older |
21:24 | < gizmore> | it´s normal after a wise abuse |
21:24 | < Lambo> | so I did the MAJOR_VERSION <= 5 |
21:24 | < Lambo> | so dirty |
21:25 | <@Reiv> | Better than VERSION_NAME = 'Windows 9*" |
21:26 | < Lambo> | true |
21:38 | | * Tamber raises eyebrow... |
21:39 | <@Tamber> | Part of the init script for this pre-compiles most of the common functions it uses, for reasons of performance. ...but not the heartbeat script that runs every second. Hm. |
21:41 | <@gnolam> | "Formatting your card to exFAT |
21:41 | <@gnolam> | Don't. Touch. Anything." |
--- Log closed Tue Nov 04 22:00:00 2014 |
--- Log opened Tue Nov 04 22:00:09 2014 |
22:00 | | TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code |
22:00 | | Irssi: #code: Total of 15 nicks [9 ops, 0 halfops, 0 voices, 6 normal] |
22:00 | | Irssi: Join to #code was synced in 36 secs |
22:01 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:01 | | Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code |
22:01 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code |
22:01 | | Xires [xires@Nightstar-joe.cv9.106.91.IP] has joined #code |
22:01 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
22:01 | | [R] [rstamer@genoce.org] has joined #code |
22:01 | | jeroud [sid10043@Nightstar-a1k27g.irccloud.com] has joined #code |
22:01 | | Namegduf [namegduf@Nightstar-rjh.rpa.226.188.IP] has joined #code |
22:01 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
22:01 | | Turaiel [Brandon@Nightstar-vku52k.resnet.mtu.edu] has joined #code |
22:01 | | Orthia [orthianz@Nightstar-dvd.0jj.224.119.IP] has joined #code |
22:01 | | Tamber [tamber@furryhelix.co.uk] has joined #code |
22:01 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
22:01 | | simon_ [simon@Nightstar-2og823.pronoia.dk] has joined #code |
22:01 | | RchrdB [RichardB@Nightstar-v5j366.understood.systems] has joined #code |
22:01 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
22:01 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
22:01 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
22:01 | | io [Alexandria@Nightstar-fkokc2.com] has joined #code |
22:01 | | froztbyte [froztbyte@Nightstar-frrora.za.net] has joined #code |
22:01 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has joined #code |
22:01 | | Tarinaky_ [tarinaky@Nightstar-e99cts.net] has joined #code |
22:01 | | Kindamoody[zZz] [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code |
22:01 | | Azash [ap@Nightstar-28tp6p.plumbing] has joined #code |
22:01 | | gizmore [kvirc@Nightstar-ic1o9q.pools.vodafone-ip.de] has joined #code |
22:01 | | Thalass|KSP [thalass@Nightstar-fp8736.bigpond.net.au] has joined #code |
22:01 | | JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
22:01 | | ServerMode/#code [+aoooooaooooooaoooooooo Reiver Reiver Xon Xires Attilla [R] jeroud jeroud Namegduf macdjord Turaiel Orthia Tamber jerith jerith abudhabi Red_Queen froztbyte Kindamoody[zZz] Azash Thalass|KSP JustBob] by *.Nightstar.Net |
22:01 | | mode/#code [+o TheWatcher] by ChanServ |
23:01 | | Orthia [orthianz@Nightstar-dvd.0jj.224.119.IP] has quit [Ping timeout: 121 seconds] |
23:06 | | Orthia [orthianz@Nightstar-64l.18m.224.119.IP] has joined #code |
23:06 | | mode/#code [+o Orthia] by ChanServ |
23:32 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:32 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:53 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
23:53 | | mode/#code [+o himi] by ChanServ |
23:54 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
--- Log closed Wed Nov 05 00:00:49 2014 |