code logs -> 2015 -> Sun, 29 Mar 2015< code.20150328.log - code.20150330.log >
--- Log opened Sun Mar 29 00:00:49 2015
00:19 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
00:50 Turaiel[Offline] [Brandon@Nightstar-olc20d.resnet.mtu.edu] has quit [Ping timeout: 121 seconds]
00:52 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
02:08 Checkmate [Z@Nightstar-484uip.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?]
02:16 Turaiel[Offline] [Brandon@Nightstar-olc20d.resnet.mtu.edu] has joined #code
03:07 celticminstrel [celticminst@Nightstar-gmujup.dsl.bell.ca] has joined #code
03:08 mode/#code [+o celticminstrel] by ChanServ
03:37 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
04:00 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
05:19 Derakon is now known as Derakon[AFK]
05:54 Turaiel[Offline] is now known as Turaiel
06:20 Kindamoody[zZz] is now known as Kindamoody
06:58 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
08:05 celticminstrel [celticminst@Nightstar-gmujup.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
08:10 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
08:10
< kourbou>
Hey!
08:12 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
08:17 Kindamoody is now known as Kindamoody|afk
08:20 Turaiel is now known as Turaiel[Offline]
08:25 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [NickServ (RECOVER command used by kourbou_)]
08:25 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
08:25 kourbou|phone [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
08:41 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Got to go. Bye.]
09:33 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: Quit]
10:43
<&McMartin>
Success!
10:43
<&McMartin>
http://michaelcmartin.github.io/megaforge/
10:50
<&McMartin>
(still no range checking)
12:14 kourbou|phone [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection closed]
12:24
<@froztbyte>
nice
--- Log closed Sun Mar 29 13:09:11 2015
--- Log opened Sun Mar 29 13:15:00 2015
13:15 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
13:15 Irssi: #code: Total of 37 nicks [19 ops, 0 halfops, 0 voices, 18 normal]
13:15 mode/#code [+o TheWatcher] by ChanServ
13:15 Irssi: Join to #code was synced in 36 secs
13:20 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
13:22 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
13:22 mode/#code [+o himi] by ChanServ
14:11 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
14:11 mode/#code [+o Checkmate] by ChanServ
16:25 celticminstrel [celticminst@Nightstar-gmujup.dsl.bell.ca] has joined #code
16:25 mode/#code [+o celticminstrel] by ChanServ
16:41 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
16:45 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:45 mode/#code [+qo Vornicus Vornicus] by ChanServ
18:42 Kindamoody|afk is now known as Kindamoody
18:58 kourbou|phone [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
19:25 Derakon[AFK] is now known as Derakon
20:19 kourbou|phone [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection closed]
20:48 Derakon is now known as Derakon[AFK]
20:52 kourbou|phone [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
20:54 kourbou|phone [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Bye]
20:54 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
20:59 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection closed]
21:45
<&jerith>
Hey, I vaugely recall there are people in here who know Scala.
21:47
<&jerith>
I've signed up for https://www.coursera.org/course/reactive and I should probably learn the basics of the language first.
22:06 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
22:19
<&McMartin>
...
22:19
<&McMartin>
Congratulations, JavaScript
22:19
<&McMartin>
You have just convinced me that I should use Systems Hungarian when naming my variables.
22:20
<@Tamber>
Mnagled something into something that Really Should Not Be?
22:21
<&McMartin>
So, I'm doing numeric work based on <input type="number"> elements
22:22
<&McMartin>
It's in the DOM, though, so everything I pull out of the DOM is strings, and everything I write into it should be strings.
22:22
<&McMartin>
But to actually *do work with them* I need numbers
22:22
<&McMartin>
So, nValue, nMin, nMax, etc.
22:22
<&McMartin>
(Which are parseInt'd at the top of the function)
22:23
<&McMartin>
(You could make a case that this is actually Apps Hungarian. In JS the line is admittedly a little fuzzy)
22:23
<@Tamber>
Because of all the drinking?
22:23
<&McMartin>
I've both seen and done worse in my day~
22:32
<&McMartin>
This code overall has not been awful, though I'm also not being super-ambitious here.
22:41
<&ToxicFrog>
jerith: I have scala'd in the past, but my knowledge is three years outdated.
22:44 * McMartin updates http://michaelcmartin.github.io/megaforge/ to make it more polite
22:52
<@Shiz>
ew, hungarian
22:57
<&McMartin>
I was uncomfortable with var max, global max, and this.max all being different types, what can I say~
22:58
<&McMartin>
(This is actually the first even halfway significant program I've written in JS. I have no idea how good or bad what I'm doing is, stylistically.)
23:02
<@TheWatcher>
McMartin: for bare JS? You're doing nicely.
23:03
<&McMartin>
Yeah, I'm also aware that the pro way to use JS is to not actually use it directly
23:03
<&McMartin>
But that's also the pro way to use assembler and I like to know how the layer down is supposed to work, etc
23:03
<@TheWatcher>
I mean, shit, there's actual useful comments in there. That's fucking gold standard stuff >.>
23:04
<&McMartin>
I have Opinions about comments, and I have yet to find anyone that puts forth a doctrine on them I follow. I need to write a manifesto or something.
23:04
<@TheWatcher>
I would be interested to hear it, certainly.
23:05
<&McMartin>
Basically, public API at the top, and inside the program text, the focus should be on why, not what.
23:06
<&McMartin>
The stated reason for that is that "why" comments don't get outdated when people maintain the code, and if the code needs to be refactored to the point that they *would* drift, you can just nuke the whole comment block and move on.
23:06
<&McMartin>
"Public API at the top" is problematic in terms of tool integration, though, since it's contra Doxygen and, well, literally everyone
23:07 * TheWatcher nod
23:08
<&McMartin>
But I like just having to fire up less in a terminal window >.>
23:09
<@TheWatcher>
Fair enough!
23:10
<@TheWatcher>
(Also, you can actually do that in doxygen. just needs a bit of effort and use of \fn)
23:10
<&McMartin>
Right
23:10
<&McMartin>
But in the end we're still talking toolchain
23:10
<&McMartin>
(Also I often work in Python, so it's Docstrings for API docs there)
23:11
<&McMartin>
But as a rule I think comments should be big-picture on implementation strategy when you're in a routine; my threshold for stuff functionally equivalent to "++i; // increment i" comments is definitely broader than the norm
23:21 * McMartin eyes Fedora
23:21
<&McMartin>
/usr/local/lib doesn't appear to be part of the default library path.
--- Log closed Mon Mar 30 00:00:04 2015
code logs -> 2015 -> Sun, 29 Mar 2015< code.20150328.log - code.20150330.log >

[ Latest log file ]