--- Log opened Thu Oct 15 00:00:37 2009 |
00:21 | < gnolam> | Hmm. I should probably learn how to maintain different forks in SVN. |
00:22 | < Namegduf> | First, you install git. |
00:25 | < Derakon[work]> | Say I want to run a general hardware check on a Windows computer, searching for problems that could cause a program to crash. |
00:25 | < Derakon[work]> | Aside from memtest, what should I use? |
00:30 | < gnolam> | Namegduf: :P |
00:31 | <@ToxicFrog> | Namegduf++ |
00:31 | < gnolam> | Quoth an Anonymous Coward on Slashdot: "I despise answers that randomly suggest competing products without really answering the question. It's like "My lawnmower won't start" and "Well, if you had goats, then you could feed them a different feed to make them more motivated." Try to advertise less and answer the frakking question more, MMkay?" |
00:32 | < gnolam> | I already have a working SVN repo. And last I checked, Git and Windows didn't get along. |
00:32 | < Derakon[work]> | Gnolam: my favorite version of that is here: http://www.xkcdb.com/?5088 |
00:32 | < Derakon[work]> | It's admittedly lengthier, though. |
00:32 | <@ToxicFrog> | Well, in that case: SVN doesn't have branches. SVN has directories, which some SVN frontends represent as a sort of weak faux-branches that don't work all that well. |
00:33 | <@ToxicFrog> | Git not only has branches, but can interface with SVN repos and translate SVN directories into Git branches and back again. |
00:33 | <@ToxicFrog> | (although tbqh I've never tried this on any serious project) |
00:34 | <@ToxicFrog> | Also, I've never had any problems with git on windows, and I understand there's even a TortoiseGit now. |
00:35 | < Namegduf> | gnolam: Last you checked was way back, then. |
00:35 | | * Namegduf has used git on Windows to test a project's compilation on it. |
00:36 | <@ToxicFrog> | If the question is more "I have an SVN repo and client with forks, what do I do" I can't help you; sorry. Trying to manage same was one of the reasons I switched to Git in the first place. |
00:39 | <@ToxicFrog> | And if it wasn't in fact a question but just general commentary, disregard all of the above :) |
00:42 | < gnolam> | Thanks. It /was/ more general commentary, but I still get annoyed when people do the goats thingy. :) |
00:43 | | Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [[NS] Quit: Leaving] |
00:48 | < Namegduf> | gnolam: I was joking, for the record. :P |
00:59 | < gnolam> | Poe's Law works for all kinds of fundamentalism. :P |
01:17 | | Derakon[AFK] is now known as Derakon |
02:33 | | Vornicus-Latens is now known as Vornicus |
02:39 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
02:41 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #Code |
02:41 | | mode/#code [+o Vornicus] by Reiver |
02:41 | <@ToxicFrog> | Fuck libjeg. |
02:41 | <@ToxicFrog> | *libjpeg. |
02:45 | < gnolam> | Why? |
02:45 | <@ToxicFrog> | All I want to do is decompress from memory, to memory. |
02:45 | <@ToxicFrog> | It should not be this difficult. |
02:45 | <@ToxicFrog> | The whole library appears to be written around decompressing from a FILE* to a FILE* |
02:46 | < gnolam> | ... that should be the #1 priority of an image format library, yes. |
02:46 | < gnolam> | Decompress from memory to memory I mean. |
02:46 | < gnolam> | Not loading from disk. |
02:47 | | * gnolam stabs un-timestamped website updates. |
03:06 | | AnnoDomini [farkoff@Nightstar-ba4d0b41.adsl.tpnet.pl] has joined #Code |
03:06 | | mode/#code [+o AnnoDomini] by Reiver |
03:09 | | Attilla [The.Attilla@FBC920.65CFFF.E56E70.387AF5] has quit [[NS] Quit: ] |
03:27 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
04:16 | | AnnoDomini [farkoff@Nightstar-ba4d0b41.adsl.tpnet.pl] has quit [[NS] Quit: Don't trust the skull.] |
04:51 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:02 | | Syloqs-AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has quit [Connection reset by peer] |
05:06 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
05:06 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:16 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
05:16 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:23 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
05:24 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:25 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Connection reset by peer] |
05:25 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:31 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Connection reset by peer] |
05:32 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:38 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Connection reset by peer] |
05:39 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:44 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Connection reset by peer] |
05:44 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:45 | <@McMartin> | [python] BrenBarn | There are 10741 occurences of ): or :( in our source code and only 2 occurrences of :) or (:. Not what you would expect from a language named after a comedian. |
05:46 | <@Derakon> | So that's the source of the name. |
05:46 | <@McMartin> | That's also why the editor it ships with is named IDLE. |
05:46 | | * Derakon facepalms. |
05:46 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
05:47 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:47 | <@McMartin> | (And why the optimization rewrite is named "unladen swallow".) |
05:50 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
05:51 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:52 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
05:53 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
05:54 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Connection reset by peer] |
06:42 | | Chi [omegaboot@Nightstar-32f25247.emhril.sbcglobal.net] has joined #Code |
06:43 | | Alek [omegaboot@Nightstar-32f25247.emhril.sbcglobal.net] has quit [NickServ (GHOST command used by Chi)] |
06:43 | | Chi is now known as Alek |
06:49 | | Alek [omegaboot@Nightstar-32f25247.emhril.sbcglobal.net] has quit [[NS] Quit: ] |
07:02 | | Derakon is now known as Derakon[AFK] |
07:21 | | Alek [omegaboot@Nightstar-02457fcc.emhril.sbcglobal.net] has joined #Code |
07:42 | | Chi [omegaboot@Nightstar-02457fcc.emhril.sbcglobal.net] has joined #Code |
07:42 | | Alek [omegaboot@Nightstar-02457fcc.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
07:42 | | Vornicus is now known as Vornicus-Latens |
07:56 | | Chi is now known as Alek |
08:59 | | Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited] |
10:08 | | You're now known as TheWatcher |
10:11 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #Code |
10:15 | < gnolam> | Woot, moar jorb for me! |
11:28 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has joined #Code |
11:29 | | Attilla [The.Attilla@FBC920.65CFFF.E56E70.387AF5] has joined #Code |
11:29 | | mode/#code [+o Attilla] by Reiver |
11:31 | < gnolam> | (Well, assuming there's still funding, of course) |
11:31 | | AgentIchiro [Smith@Nightstar-b2eb5154.cable.rogers.com] has quit [Client closed the connection] |
15:39 | | Derakon[AFK] is now known as Derakon |
15:45 | | You're now known as TheWatcher[afk] |
15:56 | | crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [Connection reset by peer] |
15:57 | < MyCatVerbs> | McMartin: and why Python's equivalent to CPAN was originally called "The Cheese Shop". |
16:02 | | crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #Code |
16:05 | | Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #Code |
16:07 | | Syloqs_AFH is now known as Syloqs-AFH |
17:01 | | Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #Code |
17:02 | < SmithKurosaki> | MCV: The Cheese Shop? |
18:53 | < gnolam> | Referring to the Monty Python sketch, I presume. |
18:57 | | Vornicus-Latens [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ] |
19:06 | | MyCatVerbs [mycatverbs@Nightstar-492e7e67.co.uk] has quit [[NS] Quit: BRB, charset is wrong.] |
19:07 | | MyCatVerbs [mycatverbs@Nightstar-492e7e67.co.uk] has joined #Code |
19:07 | | mode/#code [+o MyCatVerbs] by Reiver |
19:15 | | ilf_atuni [santros_vexan@Nightstar-420d62dd.ga.frontiernet.net] has joined #Code |
19:17 | | * ilf_atuni needs help with making a java program. Has no idea where to start. Professor is horrible. Book is missing. API confuses me at what I need. Assignment says program is difficult. And I'm pretty sure I don't know how to do it, too. |
19:17 | < ilf_atuni> | Here's what the professor wants: http://pastebin.starforge.co.uk/24 |
19:18 | <@Derakon> | Okay, you've done classes before? |
19:18 | < ilf_atuni> | Yes. |
19:18 | < ilf_atuni> | And polymorphic classes. |
19:18 | <@Derakon> | Do you understand what an interface is? |
19:18 | < ilf_atuni> | Kind've. I may've bullshitted my way through them before. |
19:19 | <@Derakon> | An interface is simply a guarantee that a class has a certain function. |
19:19 | <@Derakon> | In this case, any class that implements the Shape interface must be able to draw itself. |
19:19 | | * ilf_atuni nods |
19:20 | <@Derakon> | A "polymorphic array" in this case just means an array that has multiple different objects that all implement the Shape class. |
19:20 | <@Derakon> | So if you made the Square, Circle, Triangle, and Dodecahedron classes, and shoved one of each into the array, that'd count. |
19:21 | <@Derakon> | I don't know what the deal is with FigurePanel, nor do I know the specifics of the graphical library you're using. |
19:21 | | * ilf_atuni nods |
19:21 | < ilf_atuni> | so it'd be an array of type Shape, but because Square circle and etc extend shape, they work just fine, right? |
19:22 | <@Derakon> | Something like that, yeah. |
19:27 | < ilf_atuni> | Urf. How do I make a signature, again? |
19:28 | <@Derakon> | The signature of a function is simply its return type and the types of its arguments. |
19:28 | <@Derakon> | So for example, the function "int add(int a, int b)" has the signature "int(int, int)". |
19:29 | < ilf_atuni> | Ah. |
19:29 | < ilf_atuni> | so making a Draw Signature...? |
19:29 | < ilf_atuni> | or, well, signature draw/ |
19:30 | <@Derakon> | All that means is that the Shape interface specifies a function with a specific signature. You need to implement a function with an identical signature and name. |
19:30 | <@Derakon> | It probably looks something like "void draw(Surface surface)". So your Square class will need a function "void draw(Surface surface)" as well. |
19:32 | | * ilf_atuni nods |
19:34 | | ilf [santros_vexan@Nightstar-420d62dd.ga.frontiernet.net] has joined #Code |
19:34 | | ilf is now known as ilf_unihere |
19:37 | | ilf_atuni [santros_vexan@Nightstar-420d62dd.ga.frontiernet.net] has quit [Ping timeout: 121 seconds] |
19:42 | < ilf_unihere> | Urf. Can you walk me through using paintComponent? |
19:42 | < ilf_unihere> | i've not a clue how to use it, but it's supposed to be the best thing to use here, I think. |
19:43 | <@Derakon> | I'm not intimately familiar with painting in Java... |
19:43 | < ilf_unihere> | ah. |
19:43 | <@jerith> | Neither am I. |
19:44 | <@jerith> | To they give you a skeleton to start with? |
19:44 | < ilf_unihere> | NOpe! |
19:44 | < ilf_unihere> | Just the assignment. |
19:44 | | * ilf_unihere headdesks. |
19:45 | <@Derakon> | Yeah, having trouble with this class is a reflection on the class, not on you. |
19:45 | < ilf_unihere> | well, that's wonderful. |
19:46 | < ilf_unihere> | And I can't retake the class with a different professor because there isn't a different professor. |
19:47 | < ilf_unihere> | bleh. One of my friends is gonna get here soon, maybe he's made some progress. |
19:48 | < ilf_unihere> | Not, mind, that he'd let me see his code if he did. His first programming professor was very clear on the fact that copying code, even your old code, is bad, and you should feel bad, and letting people copy your code for any reason is a cardinal sin, because it is your code and if they want it they can make their own. |
19:56 | | * ilf_unihere throws his hands up. |
19:57 | <@McMartin> | "copying code, even your old code, is bad" |
19:57 | <@McMartin> | Forget this lesson immediately after you leave this class |
19:57 | < ilf_unihere> | oh, i never learned that lesson. |
19:57 | <@Derakon> | Any worthwhile programmer builds on his own work and the work of others. |
19:57 | <@Derakon> | That is not the same thing as copying others' work, though. |
19:58 | < ilf_unihere> | my *friend*, who took a different class for his first programming into class, leanred that. |
19:58 | < ilf_unihere> | And I wouldn't rip it off--i'd see what he's doing *right*, see if he's doing right what I'm doing wrong, and work from there. |
19:59 | < ilf_unihere> | is anyone in here familiar with painting in java? |
19:59 | <@jerith> | ilf_unihere: How long have you been learning this stuff? |
20:01 | < ilf_unihere> | jerith: it'll be a full year from my first java class come late janurary or early feb. |
20:02 | <@jerith> | Hrm. |
20:02 | <@McMartin> | "Painting" as in the AWT? |
20:03 | <@jerith> | That should be about right for doing this kind of thing from scratch if you've been introduced to all the tools. |
20:03 | < ilf_unihere> | McM: well, awt and swing. |
20:04 | <@McMartin> | I vaguely recall that paint* takes a Graphics object which is where all the fun stuff is |
20:04 | < ilf_unihere> | I'm not sure which one i'm using right now, but I have both imported. |
20:04 | < ilf_unihere> | jerith: Bear in mind hte past half-semester has been with the same professor |
20:04 | <@jerith> | But I'm completely unfamiliar with them myself. |
20:05 | | * jerith nods. |
20:06 | <@McMartin> | Swing is built on top of AWT |
20:09 | < ilf_unihere> | okay |
20:09 | <@McMartin> | If Swing has something for this - which I bet paintComponent is - then that's probably what you want. |
20:10 | <@McMartin> | Check the official tutorials for "painting custom widgets" or whatnot |
20:11 | | * ilf_unihere nods |
20:12 | < ilf_unihere> | Urf. I hav ea headache, and I really just want to take a break. |
20:12 | < ilf_unihere> | but this program is due before midnight, and now's really the only time I have to work on it. >< |
20:12 | < ilf_unihere> | I should've started it a long time ago. |
20:19 | | ilf_unihere [santros_vexan@Nightstar-420d62dd.ga.frontiernet.net] has quit [Client closed the connection] |
20:23 | | ilf_atuni [santros_vexan@Nightstar-420d62dd.ga.frontiernet.net] has joined #Code |
20:23 | < ilf_atuni> | I am half-tempted to just draw the four shapes and hope he just runs the program to see if it works, instead of going thorugh the source code. Because it's not even the professor that grades it, it's a grad student that's not even getting paid for it. but then I'd feel bad. |
20:36 | | ilf_atuni [santros_vexan@Nightstar-420d62dd.ga.frontiernet.net] has quit [Client closed the connection] |
21:24 | | You're now known as TheWatcher |
22:25 | | Alek is now known as Ionas |
22:27 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #Code |
22:27 | | mode/#code [+o Vornicus] by Reiver |
23:15 | | GeekSoldier [Rob@Nightstar-e86e3e0d.ip.cablemo.net] has joined #Code |
23:50 | | Ionas is now known as Alek |
--- Log closed Fri Oct 16 00:00:51 2009 |