code logs -> 2013 -> Fri, 05 Jul 2013< code.20130704.log - code.20130706.log >
--- Log opened Fri Jul 05 00:00:47 2013
00:09 Karono [Karono@Nightstar-03f66622.optusnet.com.au] has joined #code
00:26 Turaiel[Offline] is now known as Turaiel
00:36 Typh|offline is now known as Typherix
00:46 Karono [Karono@Nightstar-03f66622.optusnet.com.au] has quit [[NS] Quit: ]
01:19 You're now known as TheWatcher[T-2]
01:24 You're now known as TheWatcher[zZzZ]
01:43 Turaiel is now known as Turaiel[Offline]
01:44 ^Xires [xires@Nightstar-c54fd8cd.feedthetrolls.net] has quit [[NS] Quit: *poof*]
01:44 ^Xires [xires@Nightstar-c54fd8cd.feedthetrolls.net] has joined #code
02:13 * ToxicFrog makes git blame completely useless by making a commit that touches almost every line in every file \o/
02:15
<@celticminstrel>
Heh.
02:15
<@celticminstrel>
I'm pretty sure you can say "blame for commits before X", though.
02:20 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.]
02:21 Turaiel[Offline] is now known as Turaiel
02:23 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code
02:26
<@Tarinaky>
Doesn't git run on insertions and deletions though? If you touch a line it's replaced with a different line - not modified.
02:29
< [R]>
Why would that matter?
02:29
< [R]>
celticminstrel: also yes.
02:31
<@Tarinaky>
[R]: If you're looking for the blame on a particular line... that line 'before' is a different line.
02:31
<@Tarinaky>
Maybe.
02:31
<@Tarinaky>
I don't use git blame much because I already know the answer: "You, you idiot"
02:34
<&ToxicFrog>
celticminstrel: well, yes
02:35
<&ToxicFrog>
Also I'm the only committer to this project
02:35
< [R]>
git blame will also identify the commit.
02:35
< [R]>
I've used it on repos where only I worked on it.
02:36
< [R]>
To find out which feature required that file change.
02:37
<&ToxicFrog>
Hmm. What should I work on next?
02:38
<&ToxicFrog>
Better internal error handling, luajit support, or backreferences?
02:39 ktemkin[awol] is now known as ktemkin
02:52
<~Vornicus>
What did you do to all those lines?
02:56
<&ToxicFrog>
Vornicus: indentation rationalization.
02:57
<&ToxicFrog>
The entire project is now spaces at 2col, rather than a mix of spaces at 2, spaces at 4, spaces+tabs at 3, and tabs at 4.
03:06
<@celticminstrel>
Yeah, identifying the commit is the only reason I ever use blame, though I don't actually know how to use it from the command-line...
03:07
<@celticminstrel>
I periodically do similar things.
03:10
<@celticminstrel>
A commit dedicated to fixing code formatting.
03:10
<@celticminstrel>
In the case of JavaScript, this might involve adding semicolons.
03:20
<@Reiv>
I still want an IDE that will cleanly let me treat spaces as if they were tabs.
03:20
<@Reiv>
By which I mean "Pressing tab will give me X spaces; pressing backspace on said pile of spaces will /delete/ X spaces"
03:20
<@Reiv>
Else you can tab out OK, but jumping back a level of scope remains as messy as always, which, y'know, sorta defeats the point
03:21
<@Reiv>
(Better yet would have been for dynamic tabs to become the standard, but too late for that now, I guess)
03:21
<@celticminstrel>
I thought Eclipse did that. Maybe not, I dunno.
03:22
<@celticminstrel>
What do you mean by dynamic tabs?
03:22
< [R]>
Elastic Tabs probably
03:24
<@Reiv>
Elastic tabs, thems the bunny
03:24
<@Reiv>
http://nickgravgaard.com/elastictabstops/
03:28 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:28
<@Reiv>
But, as noted, spaces-instead-of-tabs are dominant.
03:28
<@Reiv>
Which is a shame, because they're also horrid. :p
03:48 Reiv [NSwebIRC@Nightstar-95746c1f.kinect.net.nz] has quit [Ping timeout: 121 seconds]
03:49 Reiv [NSwebIRC@Nightstar-95746c1f.kinect.net.nz] has joined #code
03:49 mode/#code [+o Reiv] by ChanServ
04:11 Kindamoody[zZz] is now known as Kindamoody
04:15 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
04:16 ToxicFrog_ [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
04:19
< ToxicFrog_>
Reiv: isn't this Every IDE Ever? I'm pretty sure Cloud9, IDEA, and Sublime Text all do this
04:19
< ToxicFrog_>
Also, typically, you use shift-tab for exdenting anyways, not backspace
04:20
< ToxicFrog_>
Reiv: isn't this Every IDE Ever? I'm pretty sure Cloud9, IDEA, and Sublime Text all do this
04:20
< ToxicFrog_>
Also, typically, you use shift-tab for exdenting anyways, not backspace
04:20 ToxicFrog_ is now known as ToxicFrog
04:20 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
04:27
<@Reiv>
What, elastic tabs?
04:27
<@Reiv>
Oh, you mean the spaces-munching
04:27
<@Reiv>
I seem to consistently break it, then.
04:28
<&ToxicFrog>
With ST2, set translateTabsToSpaces and useTabStops to true.
04:28
<&ToxicFrog>
I think in cloud9 it's on by default.
04:29
<&ToxicFrog>
That said, even in editors where it's not, I haven't noticed because I use shift-tab instead
04:29
<&ToxicFrog>
Which has the advantage of working even if your cursor is in the middle of the line
04:31
<@Reiv>
I guess I should get better at that.
04:31
<@Reiv>
Doesn't help me with SQL Developer, though. ??
04:32
<&ToxicFrog>
SQL Developer?
04:37
<&ToxicFrog>
Oh hey, there's an implementation of elastic tabs for ST2
04:47
<@Reiv>
ToxicFrog: The Oracle SQL editor.
04:47
<@Reiv>
It is... functional.
04:47
<&ToxicFrog>
Can you not edit it in a real editor and then paste into it?
04:47
<@Reiv>
Technically, yes.
04:47
<@Reiv>
Reality, eeeeeeeeh
04:48
<@Reiv>
1) SQL editors main benefits are that they can sanity-check your column names etc as you write via the database connections. It may be something of a challenge to get another editor to do the same.
04:48
<@Reiv>
2) It would require requesting the software installed. Ahahahahahaha. siiigh.
04:49
<@Reiv>
I can't even keep my Flash and Java up to date.
04:49
<@Reiv>
(Thank goodness that Chrome has a builtin flash thingy.)
05:00
< [R]>
if (o instanceof User) {
05:00
< [R]>
User other = (User) o;
05:00
< [R]>
lolwat
05:00 Turaiel is now known as Turaiel[Offline]
05:01 Turaiel[Offline] is now known as Turaiel
05:01
< [R]>
return other.nick.toLowerCase().compareTo(this.nick.toLowerCase()); // this is the next line BTW
05:22 Harlow [Harlow@Nightstar-4eeab464.il.comcast.net] has joined #code
05:26 Derakon is now known as Derakon[AFK]
06:01 Typherix is now known as Typh|offline
06:18 ErikMesoy|sleep is now known as ErikMesoy
06:46 Xon [Xon@9C034E.A7474E.446F1A.DEA144] has quit [[NS] Quit: ]
06:54
<@Azash>
[R]: About that instanceof user thing
06:54
<@Azash>
Java is pretty anal about recasting Objects
06:55
<@Azash>
Most of the time you need to be in a situation where it is certain that something supports the cast in question, iirc
06:58
< [R]>
I figgured
06:58 Xon [Xon@9C034E.A7474E.446F1A.DEA144] has joined #code
06:58
< [R]>
I just dropped the User other = (User) o; line and made the return start with ((User)o)
07:02
< [R]>
Because I don't like having a single-use variable unless it significantly shortens a line.
07:18
<@Tarinaky>
I don't mind single-use variables as long as they're tightly scoped.
07:19
<@Tarinaky>
They can increase readability beyond just shortening the line.
07:31
< [R]>
That one didn't do much IMO
07:32
<@Azash>
The only thing I really used single-use variables for so far is switching children in AVL balances and such
07:32
<@Tarinaky>
It's good for self-documenting code.
07:32
<@Azash>
Of course, in Real Languages you just switch the pointers with XOR.. :P
07:32
<@Tarinaky>
There's no point doing it if you're just going to call the variable a or x or something.
07:32
<@Tarinaky>
But if you can give it a meaningful name..
07:52 Turaiel is now known as Turaiel[Offline]
08:10 Kindamoody is now known as Kindamoody|out
08:11 Harlow [Harlow@Nightstar-4eeab464.il.comcast.net] has quit [Connection closed]
08:37 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!]
08:54 Reiv [NSwebIRC@Nightstar-95746c1f.kinect.net.nz] has quit [Ping timeout: 121 seconds]
09:20 ktemkin is now known as ktemkin[awol]
10:46 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [Ping timeout: 121 seconds]
11:01 You're now known as TheWatcher
12:02 Karono [Karono@Nightstar-03f66622.optusnet.com.au] has joined #code
12:53 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
14:53 celticminstrel [celticminst@Nightstar-8403057e.dsl.bell.ca] has joined #code
14:53 mode/#code [+o celticminstrel] by ChanServ
15:19
<&ToxicFrog>
Oh man, vstruct doesn't cope well at all with input tables that aren't isomorphic to the format string
15:54
< [R]>
For some reason I'm tempted to add support to mIRC-compatable scripting to this IRC lib...
15:54
< [R]>
I wonder why no-one has done it, since it seems pretty obvious.
16:02
<&ToxicFrog>
Because the mIRC scripting language is an affront to both god and man
16:02
<&ToxicFrog>
And I'm not sure it even has a formal spec anywhere
16:02
< Syka>
and several animals too
16:10
< [R]>
Such as?
16:11
< ErikMesoy>
Elephants.
16:11
< Syka>
they never forget
16:11
< Syka>
but they wish they could
16:19 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
16:19 mode/#code [+o Alek] by ChanServ
16:23
<@celticminstrel>
What IRC lib?
16:23
< [R]>
A very gutted pircbot
16:26
<&ToxicFrog>
[R]: if you do add it, implement it as a library that other projects can use
16:27
<&ToxicFrog>
But I suspect the README will look like an excerpt from the Necronomicon~
16:27
< [R]>
Well yeah
16:27
< [R]>
That's the entire point of adding it to the lib.
16:28
<&ToxicFrog>
I mean a library other projects can use to embed a mIRCscript interpreter (e.g. into other IRC libraries or clients)
16:28
< [R]>
Oh
16:28
< [R]>
That'll be a massive PITA.
16:29
< [R]>
Hmm
16:29
< [R]>
Actually, might be possible.
17:11 Karono [Karono@Nightstar-03f66622.optusnet.com.au] has quit [Client closed the connection]
17:12 Karono [Karono@Nightstar-03f66622.optusnet.com.au] has joined #code
17:52 Turaiel[Offline] is now known as Turaiel
17:54 Typh|offline is now known as Typherix
18:00 AnnoDomini is now known as Alex
18:08 Tarinaky is now known as Rodney
19:09 Turaiel is now known as Turaiel[Offline]
20:13 Karono [Karono@Nightstar-03f66622.optusnet.com.au] has quit [[NS] Quit: ]
20:51 Alex is now known as AnnoDomini
20:52 Rodney is now known as Tarinaky
21:11 Kindamoody|out is now known as Kindamoody
21:24 Kindamoody is now known as Kindamoody[zZz]
21:34 Derakon[AFK] is now known as Derakon
21:46 Typherix is now known as Typh|offline
21:55 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [Ping timeout: 121 seconds]
21:55 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
21:55 mode/#code [+o Alek] by ChanServ
22:20 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:29 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Client exited]
22:30 Typh|offline is now known as Typherix
22:37 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:37 mode/#code [+qo Vornicus Vornicus] by ChanServ
22:42 Typherix is now known as Typh|offline
22:50 ErikMesoy is now known as ErikMesoy|sleep
22:51 AnnoDomini is now known as Bob
22:55 Turaiel[Offline] [Brandon@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
22:56 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
23:15 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
23:20 Turaiel[Offline] [Brandon@Nightstar-7dc8031d.mi.comcast.net] has joined #code
23:20 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has joined #code
23:41 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
23:42 Turaiel[Offline] [Brandon@Nightstar-7dc8031d.mi.comcast.net] has quit [Ping timeout: 121 seconds]
23:43 jeroud [uid10043@Nightstar-7fd75919.irccloud.com] has quit [Connection closed]
23:45 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has joined #code
23:46 Turaiel[Offline] [Brandon@Nightstar-7dc8031d.mi.comcast.net] has joined #code
23:48 Typh|offline is now known as Typherix
--- Log closed Sat Jul 06 00:00:02 2013
code logs -> 2013 -> Fri, 05 Jul 2013< code.20130704.log - code.20130706.log >

[ Latest log file ]