code logs -> 2013 -> Mon, 15 Jul 2013< code.20130714.log - code.20130716.log >
--- Log opened Mon Jul 15 00:00:27 2013
00:18 You're now known as TheWatcher[T-2]
00:23 You're now known as TheWatcher[zZzZ]
00:41 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
01:14 Turaiel is now known as Turaiel[Offline]
01:51 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [Client closed the connection]
01:51 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
01:53 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [[NS] Quit: ]
02:01 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
02:18 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [Ping timeout: 121 seconds]
02:29 Vorntastic [Vorn@Nightstar-16abef41.sub-70-211-11.myvzw.com] has joined #code
02:31 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.]
02:34 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code
02:34 Turaiel[Offline] is now known as Turaiel
02:51 Vornlicious [Vorn@Nightstar-98bb2bff.sub-70-211-3.myvzw.com] has joined #code
02:54 Vorntastic [Vorn@Nightstar-16abef41.sub-70-211-11.myvzw.com] has quit [Ping timeout: 121 seconds]
03:04 Turaiel is now known as Turaiel[Offline]
03:06 Turaiel[Offline] is now known as Turaiel
03:10 Typherix is now known as Typh|offline
03:32 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:48 Vornlicious [Vorn@Nightstar-98bb2bff.sub-70-211-3.myvzw.com] has quit [[NS] Quit: Bye]
03:52 Chutzpah [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
03:55 Chutzpah [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
04:01 Typh|offline is now known as Typherix
04:54 Kindamoody[zZz] is now known as Kindamoody
05:22 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
05:23 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
05:29 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [Client closed the connection]
05:30 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
05:34 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [Client closed the connection]
05:35 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
05:36 Derakon is now known as Derakon[AFK]
05:40 himi [fow035@Nightstar-9b547913.in-addr.csiro.au] has joined #code
05:40 mode/#code [+o himi] by ChanServ
06:04 Serah [Z@Nightstar-ab9723d2.customer.tdc.net] has quit [Ping timeout: 121 seconds]
06:14 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [[NS] Quit: ]
06:21 ErikMesoy|sleep is now known as ErikMesoy
06:53 Turaiel is now known as Turaiel[Offline]
07:02 celticminstrel [celticminst@Nightstar-8403057e.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:18 Typherix is now known as Typh|offline
07:35 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
07:41 Kindamoody is now known as Kindamoody|breakfast
08:18 Kindamoody|breakfast is now known as Kindamoody
08:57 You're now known as TheWatcher
09:17 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
09:29 Kindamoody is now known as Kindamoody|out
10:03 Reiver [quassel@Nightstar-3762b576.co.uk] has quit [[NS] Quit: Reblooting.]
10:14 Reiver [quassel@Nightstar-3762b576.co.uk] has joined #code
11:17 Karono [Karono@Nightstar-0e4527e4.optusnet.com.au] has joined #code
11:24 Kindamoody|out is now known as Kindamoody
11:44 * TheWatcher eyes this
11:47
<@TheWatcher>
So, $oracle-database (which I do not have 'direct' access to, but do have access to php scripts to export the data, because :admingonk:) contains student contact info, and programme, plan, and course choices and academic level info.
11:48
< [R]>
gg
11:48
<@TheWatcher>
The information in $oracle-database is based on a data feed from the unholy pit of central Campus Problems^WSolutions ("Peoplesoft Campus Edition")
11:49
<@TheWatcher>
Right now, the information coming out of that feed is for academic year 2012/13 (the one that has now ended)
11:49
< [R]>
I'm begining to suspect that a good Peoplesoft program is actually rarer than a PHP one.
11:50
<@TheWatcher>
At some point, the data coming out of that feed will be for academic year 2013/14 (the one that starts in september)
11:50
<@TheWatcher>
What causes that change? Someone in admin pressing a button, at some ill-defined, variable point in August.
11:51
<@TheWatcher>
Added bonus: nowhere in the campus solutions feed, the database, or the feeds I need to use to access said data does it actually state what it considered to be the current academic year
11:52
<@TheWatcher>
This is a Problem.
11:53
<@TheWatcher>
So now I need to work out a reliable method for detecting when the feed has switched years
11:53 Kindamoody is now known as Kindamoody|out
11:53
< abudhabi>
Install a camera overwatching the Button.
11:53
< abudhabi>
Bribe someone in admin to give you inside information.
11:54
<@TheWatcher>
Oh, I can get them to tell me when they've done it. The thing is I shouldn't need to.
11:55
<@TheWatcher>
Manual intervention in this sort of thing is inevitably a source of hilarious breakage.
11:55
<@TheWatcher>
Especially as the data I have access to is updated at most three times a day, and potentially variable times
11:56
<@Tarinaky>
Sounds like you need some sort of log/delta you can replay to apply year changes retroactively?
11:56
<@Tarinaky>
So you can change the year yesterday.
12:06 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
12:24 ktemkin[awol] is now known as ktemkin
12:56 VirusNotAtWork is now known as Pandemic
12:57 mode/#code [+o Pandemic] by ChanServ
13:25 Karono [Karono@Nightstar-0e4527e4.optusnet.com.au] has quit [Ping timeout: 121 seconds]
13:26 Karono [Karono@Nightstar-0e4527e4.optusnet.com.au] has joined #code
13:32 himi [fow035@Nightstar-9b547913.in-addr.csiro.au] has quit [Client closed the connection]
13:51 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
13:51 mode/#code [+o himi] by ChanServ
14:04 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
14:37 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
14:38 Turaiel[Offline] [Brandon@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
14:56 celticminstrel [celticminst@Nightstar-8403057e.dsl.bell.ca] has joined #code
14:56 mode/#code [+o celticminstrel] by ChanServ
14:59 celticminstrel [celticminst@Nightstar-8403057e.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
14:59 celticminstrel [celticminst@Nightstar-8403057e.dsl.bell.ca] has joined #code
14:59 mode/#code [+o celticminstrel] by ChanServ
15:23 Karono [Karono@Nightstar-0e4527e4.optusnet.com.au] has quit [[NS] Quit: sleeep]
16:25 abudhabi [abudhabi@Nightstar-edb9fb3d.adsl.inetia.pl] has quit [Operation timed out]
16:57 abudhabi [abudhabi@3A600C.C57732.5E5E96.C969E6] has joined #code
17:17
< abudhabi>
Hmm. Anyone know regular expressions around here?
17:18
<@Tamber>
yes.
17:19
< abudhabi>
I want to do this: http://pastie.org/8143076
17:20
< abudhabi>
The interior of the brackets changes; there can be pretty much anything there.
17:27
< abudhabi>
How do I say the first thing?
17:27
<@Tamber>
I have no idea.
17:27
< abudhabi>
The second I think would be "historical_units = { /n }" or something.
17:27
<@Tamber>
Hmm.
17:28
<@froztbyte>
wat
17:29
< abudhabi>
I want to purge the definitions of historical units from hundreds of files in a single go.
17:29
< abudhabi>
I need regular expressions to do this, I think. Notepad++ appears to support this.
17:29
<@froztbyte>
give this a shotL s/^(^historical_units|^\})//
17:29
<@froztbyte>
warning: untested, quick hack, might depend on your lib
17:29
<@froztbyte>
(how it deals with })
17:30
<@froztbyte>
(also I've got a flu again so I'm not braining well)
17:30
< abudhabi>
I don't have a proper shell here. I'm on Windows, and this is a search and replace prompt. I have boxes for "find what" and "replace with".
17:31
< abudhabi>
As I said, Notepad++.
17:31
< abudhabi>
I actually want to leave the empty bracket in there, though.
17:41
<@celticminstrel>
Can there be nested brackets?
17:43
< abudhabi>
Hmmm. No. There shouldn't be.
17:44
< RichyB>
^historical_units = \([^)]*\)
17:44
< RichyB>
to: historical_units = ()
17:44
<@celticminstrel>
Yeah that.
17:44
< RichyB>
use version control to save the state of your files first
17:44
<@celticminstrel>
Except with the right brackets.
17:44
< abudhabi>
Why the parens instead of curly brackets?
17:45
< RichyB>
Misreading. I thought you had parens there.
17:45
< RichyB>
Just change it to: ^historical_units = {[^}]*} -> historical_units = {}
17:45
< RichyB>
relies on the assumption that your regexp implementation will cross lines, which not all do.
17:47
< abudhabi>
It complains that ^historical_units = {[^}]*} is not a valid regular expression.
17:47
< [R]>
escape the curlies
17:48
< abudhabi>
All of them?
17:49
< abudhabi>
OK. ^historical_units = \{[^}]*\} seems to find the correct thing.
17:55
< abudhabi>
It worked! Thank you.
17:56
< RichyB>
No problem.
17:56
< RichyB>
Since when are curlies special in regexps?
17:56
< RichyB>
ohhh
17:57
< RichyB>
Repetition count.
17:57
< RichyB>
(pattern){0,2} matches between 0 and 2 repetitions of (pattern)
17:57
< RichyB>
Sorry, I forgot about that.
19:15
<&ToxicFrog>
abudhabi: it's worth installing a proper shell, IMO
19:16
< abudhabi>
Probably.
19:17
< abudhabi>
But now, my mind is occupied with technological modernization paths for various tech groups.
19:24
<&ToxicFrog>
(Cygwin in particular gets you not only sed, but git!)
19:43 Locust [Locust@Nightstar-43873ea0.cpe.cableone.net] has joined #code
19:44
< ktemkin>
Yes, but it's Cygwin.
19:46 Kindamoody|out is now known as Kindamoody
19:47
< ktemkin>
Cygwin seems to work well enough, but it's a pain to get anything installed on it.
19:47
< ktemkin>
It really needs a nice command-line package manager.
19:48
< ktemkin>
I've seen some fledgling projects try, but I haven't seen any good solutions. I haven't looked at it in a few years, though.
19:51
<&ToxicFrog>
It does have a graphical package manager, and ISTR finding some command line interfaces to the same infrastructure last time I looked
19:51
<&ToxicFrog>
This has not historically been an issue for me either way because I just install the entire thing
19:52
<&McMartin>
git itself ships with MSYS these days, ofc
19:53
<&ToxicFrog>
Yeah, but I don't know if MSYS comes with sed and I'm quite sure it doesn't come with X11
19:56
< ktemkin>
When last I used it, the graphical package manager required a lot of going through a badly-laid-out tree view-- and I don't think it had a search function.
19:56
< Locust>
coding is boring
19:57
< ktemkin>
If you wanted to install something new, you had to re-run the original installer.
19:57
<&ToxicFrog>
ktemkin: it's had a search feature since at least 2003
19:57
<&ToxicFrog>
And yes, the installer is also the graphical package manager
19:57
< Locust>
you could also use microsoft sharepoint search feature
19:58
<&ToxicFrog>
(also, there's a button on it that cycles through views, IIRC)
19:58
< ktemkin>
My memory of it is hazy, though; and I may be unfairly biased against it. I would really have to take a fresh look at it to get an unbiased opinion.
19:58
< ktemkin>
I mostly just remember really disliking it; which isn't really a good indication of its quality at all.
19:59
< ktemkin>
I don't have to use any Windows machines these days; so it's not a big deal for me, anyway.
19:59
<&ToxicFrog>
I freely admit that it's kind of clunky and unpolished, but it's not as bad as you seem to think.
20:00
<&ToxicFrog>
Having a command line version installed by default would be nice, though.
20:00 * ToxicFrog eyes Locust
20:01
< ktemkin>
Does it now have a better terminal emulator?
20:02
< ktemkin>
When last I used it, by default, it used the tiny shell that cmd.exe used. (I almost typed command.com).
20:02
<&ToxicFrog>
I think that by default it still does that, since there's no guarantee you've installed something better
20:03
<&ToxicFrog>
But it has a windows native (i.e. no X dependency) rxvt, and, again, has since 2003
20:03
<&ToxicFrog>
So, install that, edit cygwin.bat to launch rxvt, boom
20:08
< ktemkin>
Again, I may be unfairly biased against it.
20:15 Kindamoody is now known as Kindamoody[zZz]
20:36 Locust [Locust@Nightstar-43873ea0.cpe.cableone.net] has quit [[NS] Quit: ]
20:48 Turaiel [Brandon@Nightstar-7dc8031d.mi.comcast.net] has joined #code
20:50 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has joined #code
20:56 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
20:57 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has joined #code
21:03 Typh|offline is now known as Typherix
21:12 Derakon [Derakon@31356A.8FA1FE.CF2CE9.D6CF77] has joined #code
21:12 mode/#code [+ao Derakon Derakon] by ChanServ
21:14 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out]
21:29
<@TheWatcher>
Dear emacs: WTF, why are you not correctly indenting in this /one/ header file. Minor and major modes are identical to all these other headers, and indenting works fine in them, so WTF
21:34
<@TheWatcher>
And, of course, closing emacs and reopening it makes the problem go away.
21:34
< Azash>
?\_(?)_/?
21:34
<@TheWatcher>
Naturally.
21:34
<&McMartin>
Are you being burned by... oh, guess not~
21:35
<@TheWatcher>
I think this might be it telling me that I should be doing something other than programming.
21:35
<&McMartin>
(Braces and the C Preprocessor don't always get along)
21:35
<@Tamber>
It's telling you that you should put away your foolish toy and use a REAL editor!
21:36 * Tamber hands TW a needle, and a magnet.
21:36 * Tamber then runs like hell before it gets returned at high velocity.
21:36 * McMartin hands Tamber a bespectacled prepublication book critic.
21:36
<@Tamber>
:D
21:51 Derakon [Derakon@31356A.8FA1FE.CF2CE9.D6CF77] has quit [Ping timeout: 121 seconds]
21:51 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
21:51 mode/#code [+ao Derakon Derakon] by ChanServ
21:56 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
21:57 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
21:57 mode/#code [+ao Derakon Derakon] by ChanServ
22:04 ErikMesoy1 [Erik@Nightstar-16aba739.80-203-17.nextgentel.com] has joined #code
22:04 ErikMesoy [Erik@A08927.B4421D.FE7332.704AA5] has quit [Connection reset by peer]
22:07 ErikMesoy1 is now known as ErikMesoy
22:17 Typherix [Typherix@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
22:17 Turaiel [Brandon@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
22:33 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Connection closed]
22:38 Typherix [Typherix@Nightstar-7dc8031d.mi.comcast.net] has joined #code
22:38 Turaiel [Brandon@Nightstar-7dc8031d.mi.comcast.net] has joined #code
22:39 Karono [Karono@Nightstar-0e4527e4.optusnet.com.au] has joined #code
22:52 Karono [Karono@Nightstar-0e4527e4.optusnet.com.au] has quit [[NS] Quit: ]
22:58 ErikMesoy is now known as ErikMesoy|sleep
23:59 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:59 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:59 Turaiel is now known as TurFood
--- Log closed Tue Jul 16 00:00:43 2013
code logs -> 2013 -> Mon, 15 Jul 2013< code.20130714.log - code.20130716.log >

[ Latest log file ]