code logs -> 2011 -> Wed, 09 Nov 2011< code.20111108.log - code.20111110.log >
--- Log opened Wed Nov 09 00:00:01 2011
00:36<~Vornicus> And Vorn also says hi!
00:38
< Jimmie_the_Guard>
Hi Vornie.
00:39
< Jimmie_the_Guard>
Or were we still discussing Chalcy?
00:39<~Vornicus> Still discussing Chalcy
00:39
< celticminstrel>
I don't think my professor understands the programming language he's teaching. <_<
00:39<~Vornicus> What language?
00:40
< celticminstrel>
JavaScript
00:40<~Vornicus> ...this, to me, beggars belief.
00:41
< celticminstrel>
Not quite sure what that means...
00:41<~Vornicus> Javascript is a very simple language.
00:42<~Vornicus> I mean if you've ever used java, python, perl, or any of a dozen other extremely common languages, js is literally right around the corner.
00:43
< celticminstrel>
Well, he keeps talking as if it had a concept of classes, for example. He didn't know that there was no integer type, either.
00:44
< celticminstrel>
Though, perhaps simplicity is the reason for choosing it; allowing more focus on the actual point of the course, which is software design.
00:44<~Vornicus> It has classes. They're jsut not built the way you might think.
00:44
< celticminstrel>
Technically it doesn't have classes, just objects.
00:44
< Namegduf>
JS is prototyping-based, yeah
00:45
< McMartin>
And hides it in annoying ways, though you can write a three-line utility function to fix that
00:46
< celticminstrel>
Is that the "create" function that I saw somewhere?
00:46
< McMartin>
Yeah
00:47
< McMartin>
function create(o) { var F = function() {}; F.prototype = o; return new F(); }
00:48<~Vornicus> So given an object o, create another object with the same prototype?
00:49
< McMartin>
"Create an object whose prototype is o"
00:50
< McMartin>
JavaScript constructors are probably the single worst thing in the language.
00:51
< celticminstrel>
Eh, I'm not going to bother with that function though, probably.
00:51
< celticminstrel>
At least, not for this project.
00:52
< McMartin>
Hm. Time to update Iodine.
01:00 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
01:11 McMartin [mcmartin@1526F6.649095.892F6E.7061B6] has quit [[NS] Quit: System upgrade]
01:16 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
01:18 Derakon[AFK] is now known as Derakon
01:36 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
01:46 Kindamoody[zZz] is now known as Kindamoody
02:17
< Tamber>
"Do you have a passion for software development? Does your real interest lie with Java?" "Do you dream of writing yet more awful Enterprise software that'll be all over the bugtraq mailing list in a few months because of yet more of the same stupid vulnerabilities? Then /this/ is the job for you."
02:32 mcmartin [mcmartin@Nightstar-dfdb972e.pltn13.sbcglobal.net] has joined #code
02:32 mcmartin is now known as McMartin
02:42 McMartin [mcmartin@Nightstar-dfdb972e.pltn13.sbcglobal.net] has quit [[NS] Quit: Take 3]
02:51 McMartin [mcmartin@Nightstar-dfdb972e.pltn13.sbcglobal.net] has joined #code
03:20
< Eri>
Ah, good lord, I have a midterm tomorrow
03:20
< Eri>
I did not see this coming
03:21
< Eri>
If you had, say, two hours to prepare for a midterm on C++, what would you prioritize?
03:25
< ToxicFrog>
:suicide:
03:25
< McMartin>
The materia covered to date
03:25
< McMartin>
*material
03:29
< sshine>
after three days and 270 lines of Haskell, running it for the first time, it works.
03:31
< Tamber>
Eri, start with a good, hard panic; just to get that out of the way first.
03:31
< McMartin>
Then:
03:31
< McMartin>
- Basic Inheritance mechanics
03:31
< McMartin>
- Basic template syntax
03:32
< McMartin>
- std::vector, std::list, the difference between them, and how to use their iterators (if you've gotten this far)
03:32
< McMartin>
If you don't already have class design and the basic operators down cold, cramming won't save you anyway.
05:00 Vornicus is now known as Vornicus-Latens
05:09
< Tamber>
...I should probably look more into C++; rather than just using it in the same way I do C. (Badly ;)
05:14 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:22
< Eri>
So, I'm looking at an example question about operator overloading.
05:23
< Eri>
I have a class, Vect, and I'm trying to overload +. Is the correct syntax of the function prototype Vect& Vect::operator+ (Vect &b); ?
05:23
< Eri>
Or, do I drop the ::
05:23
< Eri>
It's written without the ::, but I think it may be an error
05:24
< Eri>
Err, hmm.
05:24
< Eri>
Nevermind
05:24
< Eri>
It shouldn't have ::, right?
05:39
< McMartin>
Uh
05:39
< McMartin>
The prototype goes in the class, and doesn't have the Vect::
05:39
< McMartin>
The *definition* goes *outside* the class, and has it.
05:39
< McMartin>
In the normal style.
05:41
< Eri>
Okay. That's what I had figured, in the end. Must be an error in the key, though, because he's got Vect::operator= as a protoype directly under the operator+ prototype
05:41
< McMartin>
Well
05:41
< McMartin>
If it's outside the class - and these can be - then it doe
05:41
< McMartin>
*does
05:41
< Eri>
Nah, he's kept it within the class
05:42
< Eri>
Hey, if I were doing, say, an inline declaration inside the class, would I still need the :: ? Shouldn't, right?
05:43
< McMartin>
No, you wouldn't
05:43
< McMartin>
But don't do that -_-
05:45
< Eri>
Heh. I'm not a fan of it either, but it's kind of getting shoved down our throats in this class. One of the few things I disagree with
06:00 ErikMesoy|sleep is now known as ErikMesoy
06:29 Kindamoody is now known as Kindamoody|out
06:56 AD[Shell] [abudhabi@9D46A2.088371.A474A5.6EEC27] has joined #code
08:17 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
08:38 You're now known as TheWatcher
08:47 AD[Shell] [abudhabi@9D46A2.088371.A474A5.6EEC27] has quit [[NS] Quit: Lost terminal]
08:53 Jimmie_the_Guard is now known as Serah
09:48 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
09:54 Serah [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
10:25 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
11:16 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
11:31 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
11:32 Syloqs_AFH is now known as Syloqs-AFH
12:46 * TheWatcher pushes out Megaphone v0.5 (Edgware Road), crosses fingers it actually works properly on the production server (all the tests seem to, but still >.<;;)
12:47
< gnolam>
Megaphone?
12:48
< TheWatcher>
The message portal system I'm developing in work. Lets staff compose a message once, and it gets pushed out over email, into moodle forums, and will go to twitter when they finally sort out the damned account, with other systems on my todo list.
13:52 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
13:54 EvilDarkLord [jjlehto3@Nightstar-a5db08cc.org.aalto.fi] has joined #code
14:45<~Vornicus-Latens> Bookface
14:45 Vornicus-Latens is now known as Vornicus
14:45<~Vornicus> and flickr. Where it posts a picture of the text of the announcement.
14:46<~Vornicus> ---and youtube, using that, um, that thing that makes robotically voiced animated videos of text.
14:46
< TheWatcher>
Now you're just taking the piss ;)
14:47<~Vornicus> Well yes.
14:47
< TheWatcher>
(note that I wouldn't put it past some of my colleages)
14:47<~Vornicus> Oh, oh, and the pirate bay, it collects all the messages every day and makes a torrent of them.
14:48
< TheWatcher>
(hence why /I could actually do it/ ¬¬)
14:49
< TheWatcher>
(first email I got from the head of the UG school on Monday was "Thought this would appeal to you! http://xkcd.com/974/ " )
14:50<~Vornicus> ( >_< )
14:50<~Vornicus> Also my objection to that comic is that he already has such a system.
14:50<~Vornicus> It's called "his hand"
15:00 * TheWatcher hrms, wonders if there's a way to make doxygen run a command to fill in part of its config, or if he'll have to script a config update
15:03 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
15:55 * TheWatcher eyes git
15:55
< TheWatcher>
I know there should be an easy way to make it show the commit message for the last tag, but I'm buggered if I can work it out
15:59
< ToxicFrog>
...the last *tag*?
16:00
< ToxicFrog>
git tag -l -n1 | head -n1, I think
16:01
< TheWatcher>
Hm. That'd do it, yeah. Thanks!
16:23 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
16:35 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
17:01 Serah [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
17:36 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
17:37 Derakon_ [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has joined #code
17:38
< Derakon_>
This is getting convoluted...
17:39
< Derakon_>
From my OSX laptop, send a file to my desktop/webserver at home, so I can remote desktop onto a Windows 7 box downstairs and download it.
17:39
< Derakon_>
(Since the SMB server on the Windows box managed to wedge itself and I don't know how to fix it).
17:39
< Derakon_>
Then, unpack the downloaded file, put it into the Windows 7 computer's fileshare, and remote desktop from there onto another computer (that isn't accessible to the general network except through this computer) so it can copy that file out of the fileshare.
17:40
< Derakon_>
At which point an error box pops up saying "This page has an unspecified potential security flaw. Would you like to continue?"
17:44
< Derakon_>
...okay, and the copy process stalls on the first file. Argh.
17:54 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Connection closed]
--- Log closed Wed Nov 09 18:13:42 2011
--- Log opened Wed Nov 09 18:13:56 2011
18:13 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
18:13 Irssi: #code: Total of 27 nicks [0 ops, 0 halfops, 0 voices, 27 normal]
18:14
< ToxicFrog>
Dropbox~
18:14 Irssi: Join to #code was synced in 52 secs
18:15
< Derakon_>
TF: the purpose of this all is to deal with the fact that one of the computers in question doesn't have access to the outside network.
18:15
< Derakon_>
The Win7 box is straddling two networks.
18:16
< ToxicFrog>
Aah.
18:18
< TheWatcher>
USB stick~
18:23
< Derakon_>
Would require walking down three flights of stairs, and back up. Or using the elevator but that would be lazy.
18:24
< TheWatcher>
Heheh
18:24
< Derakon_>
(So instead I am lazy by doing everything remotely~)
18:30 Kindamoody|out is now known as Kindamoody
19:04 Kindamoody is now known as Kindamoody[zZz]
19:09
< Derakon_>
...man, why are browser windows even allowed to resize themselves?
19:10
< Tamber>
Because some idiot thought it'd be useful.
19:12 * Derakon_ finds the appropriate Firefox option to disable that "functionality".
19:51 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
20:18 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
20:42 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
21:02 Serah [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:41 Serah [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
21:44 Serah [Z@2C3C9C.B2A300.F245DE.859909] has quit [Client closed the connection]
21:44 Serah [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
21:45 Serah is now known as Stalker
21:53 * McMartin hurls fragmentation clams at himself, as required by ancient tradition.
22:14 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
22:25 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:25 mode/#code [+qo Vornicus Vornicus] by ChanServ
22:29 ErikMesoy is now known as ErikMesoy|sleep
22:48
< celticminstrel>
Fragmentation clams! :O
22:50 You're now known as TheWatcher[T-2]
22:52 You're now known as TheWatcher[zZzZ]
23:00 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
23:27
< McMartin>
Someone was doing generic 16-bit Unicode processing.
23:28
< McMartin>
Nobody else asked, so I had to: whether or not someone had set up him the BOM
23:30
< celticminstrel>
Byte Order Mark?
23:31
< celticminstrel>
I guess that's something to do with being generic...
23:31
< McMartin>
It is also an old and tired Zero Wing reference, hence the fragmentation clams
23:32
< celticminstrel>
Ah.
23:34
< gnolam>
Fragmentation... clam?
23:34
< McMartin>
I'm not actually sure how the mechanics work
23:34
< McMartin>
This was back in 2002 or so, when it had only recently been run into the ground.
23:56 * McMartin installs like 100 packages to turn Iodine back into a dev machine
23:56
< McMartin>
Including the compilers, runtimes, and emacs modes for Gambit, OCaml, and Haskell.
--- Log closed Thu Nov 10 00:00:16 2011
code logs -> 2011 -> Wed, 09 Nov 2011< code.20111108.log - code.20111110.log >

[ Latest log file ]