code logs -> 2016 -> Tue, 07 Jun 2016< code.20160606.log - code.20160608.log >
--- Log opened Tue Jun 07 00:00:15 2016
00:29 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [[NS] Quit: leaving]
00:29 Derakon[AFK] is now known as Derakon
00:29
<&Derakon>
Vorn: no, I can't.
00:30
<&Derakon>
foo() is defined in the API as "do task X", foo2() is defined as "declare whether or not performing task X is possible".
00:34
<&Derakon>
Basically what's going on here is we have an API method for some of our plugins that is optional, and gets blindly called by the host -- the default (un-overridden) implementation is a no-op.
00:34
<&Derakon>
We want to change this so that we can know whether or not the plugin is using the default implementation, so we can enable/disable the button in the GUI that invokes the function.
00:35
<&Derakon>
That requires adding a second optional API method whose job is to say whether or not the first one actually does anything.
01:11 catadroid [catadroid@Nightstar-8eut3n.dab.02.net] has joined #code
02:17 chunkybongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has joined #code
02:17 greasybongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has joined #code
02:17 yellowbongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has joined #code
02:17 shitbrownbongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has joined #code
02:17 thatsnotbongwater [NSwebIRC@Nightstar-sve.bkc.42.192.IP] has joined #code
02:42 shitbrownbongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has quit [Z-Lined: Floooood. (ID: 2QVE27TZK3)]
02:42 yellowbongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has quit [Z-Lined: Floooood. (ID: 2QVE27TZK3)]
02:42 greasybongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has quit [Z-Lined: Floooood. (ID: 2QVE27TZK3)]
02:42 chunkybongwater [NSwebIRC@Nightstar-rde.s1b.19.65.IP] has quit [Z-Lined: Floooood. (ID: 2QVE27TZK3)]
02:42 thatsnotbongwater [NSwebIRC@Nightstar-sve.bkc.42.192.IP] has quit [Z-Lined: Floooood. (ID: 2QVE27TZK3)]
02:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
03:01 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
03:03 catadroid` [catadroid@Nightstar-89srci.dab.02.net] has joined #code
03:06 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [[NS] Quit: Yay, he's gone]
03:07 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
03:07 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [Connection closed]
03:07 catadroid [catadroid@Nightstar-8eut3n.dab.02.net] has quit [Ping timeout: 121 seconds]
03:20 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
03:21 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [[NS] Quit: Yay, he's gone]
03:59 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
03:59 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [Connection closed]
03:59 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
04:00
< Guru>
Something seems wrong with my main nick
04:00
< Guru>
Says it's in use
04:00
< Guru>
Not sure how to deal with that
04:08 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
04:29
<&Derakon>
Guru: /msg nickserv recover nick password
04:29
<&Derakon>
Assuming you have registered your main nick with nickserv, this will boot off whoever is currently using the nick and reinstate you.
04:29
<@Azash>
Ghost will do that
04:29
<@Azash>
Recover just forces a rename iirc
04:30 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [NickServ (RECOVER command used by Guru)]
04:30 Guru is now known as Shady
04:30
<@Azash>
Oh
04:30
< Shady>
Thank you!
04:30
<@Azash>
Well dang
04:30 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
04:30 * Azash proceeds to confusion
04:30
< Shady>
lol
04:30
<&Derakon>
Recover is /ghost + /nick.
04:30
<@Azash>
Ah
04:33
<@celticminstrel>
I don't think I've ever heard of /ghost being a command.
04:33
<@celticminstrel>
Normally it's /ns ghost.
04:34
<@celticminstrel>
My client generally does the /nick for me automatically anyway.
05:06 Derakon is now known as Derakon[AFK]
05:07 abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Connection closed]
05:11
<@Alek>
it should be /ns command or /nickserv command, but the ns/nickserv part is taken for granted usually. although you can create your own alias using /command, I believe, in which case ns/nickserv is the only way to reach the original command.
05:40 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
06:01 abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code
06:01 mode/#code [+o abudhabi] by ChanServ
06:12 crystalclaw is now known as crystalclaw|AFK
06:14 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [[NS] Quit: Yay, he's gone]
06:29 celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:49 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [Connection closed]
08:20
<@simon_>
I
08:36
<@simon_>
I've got two database tables, CompanyEvent {CompanyEventId,CompanyId,FiscalPeriodId,...} and KnownUrls {CompanyEventId,Url}, and I'd like to check if there's any companies (SELECT DISTINCT CompanyId FROM CompanyEvent) that is missing KnownUrls for its most recent event, or for any of the N most recent events.
08:36
<@simon_>
so far I've got; SELECT ce.CompanyId, MIN(ce.FiscalPeriodId) AS FirstFiscalPeriodId, MAX(ce.FiscalPeriodId) AS LatestFiscalPeriodId FROM CompanyEvents AS ce GROUP BY ce.CompanyId
08:37
<@simon_>
I figured that if I could somehow generate {CompanyEventId, OneFiscalPeriodId} for each FiscalPeriodId in the range [FirstFiscalPeriodId, LastFiscalPeriodId], I could LEFT OUTER JOIN my KnownUrls back onto that and look for NULLs.
08:41 catadroid [catadroid@Nightstar-89srci.dab.02.net] has joined #code
08:41 catadroid` [catadroid@Nightstar-89srci.dab.02.net] has quit [The TLS connection was non-properly terminated.]
08:47
< jeroud>
This looks like a job for Captain Reiver of SQL Division.
08:52
<@simon_>
:P
08:52
<@simon_>
I might just inject a list of length N
08:53
<@simon_>
as sort of a temporary table.
08:56
<@simon_>
gah. I'm not used to these complex SQL queries. and having to translate them into linq-to-sql after just makes it even more quirky.
09:34 catadroid` [catadroid@Nightstar-rv16uq.dab.02.net] has joined #code
09:36 catadroid [catadroid@Nightstar-89srci.dab.02.net] has quit [Ping timeout: 121 seconds]
09:37 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
09:37 mode/#code [+o Emmy] by ChanServ
09:38 catadroid` [catadroid@Nightstar-rv16uq.dab.02.net] has quit [[NS] Quit: Bye]
10:04 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection closed]
10:19 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
10:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
11:08 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:08 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
11:30 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
11:30 mode/#code [+o Emmy] by ChanServ
11:49 catadroid [catadroid@Nightstar-fb80rn.dab.02.net] has joined #code
11:55 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has quit [Ping timeout: 121 seconds]
11:58 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has joined #code
11:58 mode/#code [+o Alek] by ChanServ
12:06 Emmy is now known as Emmy-Werk
12:10 catadroid [catadroid@Nightstar-fb80rn.dab.02.net] has quit [The TLS connection was non-properly terminated.]
12:10 catadroid [catadroid@Nightstar-fb80rn.dab.02.net] has joined #code
12:11 catadroid [catadroid@Nightstar-fb80rn.dab.02.net] has quit [[NS] Quit: Bye]
12:11 catadroid [catadroid@Nightstar-fb80rn.dab.02.net] has joined #code
12:16 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [[NS] Quit: bye]
13:05 Emmy [NSkiwiirc@Nightstar-v1pu8a.static.chello.nl] has joined #code
13:05 mode/#code [+o Emmy] by ChanServ
13:06
<@Emmy>
urgh. I swear, I might think up complicated, bad solutions sometimes before i get it right, but my boss has elevated convoluted messes to an art.
13:10
<@pjdelport>
Where there's a will, there's a way.
13:24
<@TheWatcher>
The Peter Principle in action~
13:25
<@abudhabi>
Hm. Can you clone None?
13:28
<~Vornicus>
why would you want to
13:31
< jeroud>
All Nones are the same None.
13:31
< jeroud>
(Assuming Python.)
13:31
<@Emmy>
peter principle?
13:32
<~Vornicus>
peter principle: everyone gets promoted to the point where they are no longer competent
13:33
<@Emmy>
Ah. nah, not peter principle, in that case
13:33
<@Emmy>
seeing she's her own boss. the trouble is, she's a decent coder, just not good at building data structures.
13:39
<@abudhabi>
Vornicus: For lulz.
13:40
<@abudhabi>
I am told that None is a singleton, but I wonder if it's possible to make an instance of it.
13:42
<@pjdelport>
abudhabi: You can by bypassing the appropriate base initialisation methods.
13:42
<~Vornicus>
But why wouold you want to
13:42
<@pjdelport>
The default NoneType implementations block it, for POLA.
13:42
<@abudhabi>
Vornicus: For lulz.
13:42
<~Vornicus>
These lulz make no sense
13:43
<@pjdelport>
Well, it can be an instructive exercise to learn how the Python meta-object protocol works.
13:43
<@abudhabi>
Vornicus: They don't have to!
14:02
<@Emmy>
that's the fun thing about lulz
14:04
<@abudhabi>
https://www.quantumbalancing.com/worldelectricity/images/voltages%20around%20the %20world.gif <- Why does Japan use two frequencies?
14:08
<@Emmy>
Wait, doesn't the US have a way higher herz?
14:09
<@simon_>
it does have a higher lulz.
14:14
<@TheWatcher>
Emmy: no, US uses 60Hz
14:17
<@pjdelport>
abudhabi: http://www.japantimes.co.jp/news/2011/07/19/reference/japans-incompatible-power- grids/
14:17
<&ToxicFrog>
abudhabi: when .jp was electrifying, the northern municipalities imported European equipment and the southern ones American equipment, apparently without talking to each other
14:19
<~Vornicus>
That must be annoying as fuck
14:20
<&ToxicFrog>
By the time it became an issue, there was so much infrastructure that replacing half of it was a financial and political non-starter.
14:28
<@Emmy>
there are 12 competing standards!
14:29
<@Emmy>
that's bull. lets make a standard that covers everyone's use case.
14:29
<@Emmy>
there are 13 competing standards. :P
14:34
<@Emmy>
i swear, access' event triggers are ()&*%$@#*$!
14:39 * TheWatcher eyes that, wonders if it's a valid event trigger~
14:42
<@Emmy>
Well, &*%$@#*$!() might be, depending on what characters are allowed in function names.
14:43
<@Emmy>
But i'm pretty sure Emmy_GotFocus(TheWatcher as String) would be.
14:59
<&VirusJTG>
I think I see the issue
14:59
<&VirusJTG>
you are using access :-P
14:59
<&VirusJTG>
I was an access developer in a pervious job
15:00
<&VirusJTG>
that is when I quit programing for a living and became a sysadmin
15:01
<&VirusJTG>
some days how ever, I do question the wisdom of that decision.....
15:02
< catadroid>
Access feels like an ironic name
15:03
<&VirusJTG>
no, does does exactly waht the name implies, it gives you access to data, it makes it painful to work with but you do indeed have access to it.
15:08
<@Emmy>
pretty much. on the whole, it works as intented, but in some details, it can suddenly be very lacking, incomplete, or plain illogical, leading to frustration.
15:09 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
15:09 mode/#code [+o Crossfire] by ChanServ
15:13
<~Vornicus>
When I tutored office stuff everybody liked access better than excel
15:16
<@Emmy>
They do different things, and have different intended uses, but underneath they run similarly.
15:17
<@Emmy>
one is useful for managing large amounts of data, the other is useful for large-scale calculations.
15:19 Emmy [NSkiwiirc@Nightstar-v1pu8a.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
15:27 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
15:27 mode/#code [+o ion] by ChanServ
16:10 catadroid` [catadroid@Nightstar-c59l6a.dab.02.net] has joined #code
16:11 catadroid` [catadroid@Nightstar-c59l6a.dab.02.net] has quit [[NS] Quit: Bye]
16:11 catadroid` [catadroid@Nightstar-c59l6a.dab.02.net] has joined #code
16:12 catadroid [catadroid@Nightstar-fb80rn.dab.02.net] has quit [Ping timeout: 121 seconds]
16:23 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
16:42 celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has joined #code
16:42 mode/#code [+o celticminstrel] by ChanServ
17:42 Emmy-Werk is now known as Emmy
18:14
< jeroud>
Access is basically sqlite for Windows with a GUI bolted on the front.
18:23
<&VirusJTG>
^ that
18:25
<&VirusJTG>
when I was developing with it I was using it to query large databases for mortgages looking for home owners in good standing with higher FICO scores so the bank could solicit them for refinancing. At the time that specific bank held 1 out of every 8 mortgages in the USA. It has since grown larger...
18:25
<&VirusJTG>
Once I developed the right queries in Access I would then use VB to automate the reports
18:26
<&VirusJTG>
I asked for SQL Server management studio to get query analyzer, they didn't want me to have it :(
19:13 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [[NS] Quit: brb updating hexchat]
19:14 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
19:14 mode/#code [+o Emmy] by ChanServ
19:15 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
19:15 mode/#code [+ao Derakon Derakon] by ChanServ
19:15
<&Derakon>
Ugh, whoever made this GUI has no conception of flow-based layout. ;_;
19:15
<&Derakon>
Every single component is manually set into a fixed location with fixed size.
19:16
<&Derakon>
Which means that if you want to change any part of the layout you have to change every part of the layout, hooray!
19:30
<~Vornicus>
:(
19:38
<@ErikMesoy>
And that's terrible.
19:59 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
20:03 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
20:04 Ogredude [quassel@Nightstar-dm1jvh.projectzenonline.com] has quit [Ping timeout: 121 seconds]
20:06 Ogredude [quassel@Nightstar-dm1jvh.projectzenonline.com] has joined #code
20:06 mode/#code [+o Ogredude] by ChanServ
20:10 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [Connection closed]
20:11 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
20:16 Guru [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
20:18
<&ToxicFrog>
<ellyjones> $ (echo '[IIIII]'; echo '[II]') | dc -e '[[]p]sc[dSdd0<aLdd0=c]sb[[I]n1-lbx]sa?drarZ?Z*lbx'
20:18
<&ToxicFrog>
<rzl> ellyjones: I've never seen such a compelling example of "unconditional hire, but definitely not for my team"
20:19 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [Ping timeout: 121 seconds]
20:22 * [R] doesn't even get why a /calculator/ program is doing that.
20:22
<&[R]>
(For the curious, the output is "IIIIIII"
20:22
<&[R]>
ERr
20:23
<&[R]>
11 I's
20:23
<@TheWatcher>
....
20:24
<@TheWatcher>
I... yes.
20:25 Guru is now known as Shady
20:26 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [[NS] Quit: Yay, he's gone]
20:35
<&ToxicFrog>
[R]: it's 10 'I's here, which is what it should be
20:36
<&ToxicFrog>
(the original question was "what's the most esoteric one-liner you can come up with to multiply 2 and 5", prompted by someone discovering $(()))
20:38
<&[R]>
Ah, wc -c said 11
20:38
<&ToxicFrog>
It's counting the newline.
20:38
<&[R]>
Obviously
20:38
<&ToxicFrog>
$ (echo '[IIIII]'; echo '[II]') | dc -e '[[]p]sc[dSdd0<aLdd0=c]sb[[I]n1-lbx]sa?drarZ?Z*lbx' | xxd
20:38
<&ToxicFrog>
00000000: 4949 4949 4949 4949 4949 0a IIIIIIIIII.
20:39
<&[R]>
IMO that'd be massively more impressive if it worked with actual roman numerals.
21:00 catadroid` [catadroid@Nightstar-c59l6a.dab.02.net] has quit [The TLS connection was non-properly terminated.]
21:00 catadroid [catadroid@Nightstar-usp.982.132.82.IP] has joined #code
21:02
<~Vornicus>
;_;
21:16 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
21:16 mode/#code [+o Crossfire] by ChanServ
21:20 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
21:20 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
21:21 mode/#code [+o Crossfire] by ChanServ
21:53 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
21:54 mode/#code [+o Reiv] by ChanServ
22:40 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
22:40 catadroid` [catadroid@Nightstar-s5gesh.dab.02.net] has joined #code
22:40 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [[NS] Quit: Yay, he's gone]
22:43 catadroid [catadroid@Nightstar-usp.982.132.82.IP] has quit [Ping timeout: 121 seconds]
22:58 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
22:59 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
22:59 mode/#code [+o Reiv] by ChanServ
23:06 catadroid` is now known as catadroid
23:21 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [[NS] Quit: leaving]
23:29 gnolam [quassel@Nightstar-t2vo1j.tbcn.telia.com] has joined #code
23:29 mode/#code [+o gnolam] by ChanServ
--- Log closed Wed Jun 08 00:00:32 2016
code logs -> 2016 -> Tue, 07 Jun 2016< code.20160606.log - code.20160608.log >

[ Latest log file ]