code logs -> 2009 -> Fri, 02 Oct 2009< code.20091001.log - code.20091003.log >
--- Log opened Fri Oct 02 00:00:31 2009
00:05 You're now known as TheWatcher[T-2]
00:08 You're now known as TheWatcher[zZzZ]
00:26
< SmithKurosaki>
Yay assembler
01:09 AnnoDomini [farkoff@Nightstar-8cfbd9eb.adsl.tpnet.pl] has quit [[NS] Quit: "I just want you to know... I faked all the orgasms." "So? Mine were real." "...asshole."]
01:21 * Vornicus tries to think of an application for a queue.
01:22
<@McMartin>
... I may end up having to learn to hand-write PostScript.
01:23
<@Vornicus>
It's quite refreshing.
01:23
<@McMartin>
Do you happen to know any handy and preferably free references?
01:23
<@Vornicus>
There's the Postscript Language Reference Manual.
01:24
<@Vornicus>
YOu can get a free pdf from Adobe.
01:24
<@McMartin>
Aha, so I can
01:24
<@Vornicus>
http://www.adobe.com/devnet/postscript/pdfs/PLRM.pdf
01:25 Reiv [82d94c4d@Nightstar-b4529b0c.zen.co.uk] has joined #code
01:25 * Reiv pokes Vornicus, and other Excel-fu whiz's
01:25
< Reiv>
(But mostly Vornicus, for I suspect he'd be actually interested in the challenge.)
01:26
< gnolam>
Vornicus: storing error messages? You want to be able to queue up more than one before you can display them, but you don't want to print any of them more than once.
01:26 * Vornicus 's Excel-fu is strong.
01:26
<@Vornicus>
gnolam: I mean standalone.
01:27
<@Vornicus>
For instance I have a stack implementation that I'm using to build a small calculator 'terp, and a sparse matrix implementation that I'm using to build a herd immunity simulator.
01:29
< Reiv>
Vornicus: Try this, then.
01:29 simon` [simon@Nightstar-a12ff716.gjk.dk] has quit [Ping timeout: 121 seconds]
01:30
< Reiv>
I need to come up with some way to be able to print two different columns side by side from an Excel spreadsheet. If there's some wizardry that would allow the two columns to /appear/ side-by-side, this would be even more awesome.
01:31
< Reiv>
Note: These columns will have different row heights.
01:31
<@Vornicus>
Aha.
01:31
< Reiv>
I... that's the bit that I don't know if it's possible, even if you're playing with different worksheets.
01:32
<@Vornicus>
Well the usual way is to make the cells tiny and merge them. There's a 4e character sheet written in Excel that does this.
01:32
< Reiv>
You can merge vertically as well as horizontal?
01:32
<@Vornicus>
Yep.
01:32
< Reiv>
!
01:33
< Reiv>
Is there any way to do this once you've already put an hours work in? ;_;
01:33
< Reiv>
That... would have been just about perfect. >_>
01:33
<@Vornicus>
It's a bit tricky if you need to do a lot of merges.
01:33 * McMartin sets about learning his second programming language in as many days.
01:33
<@Vornicus>
What was your other one, McM?
01:33
<@McMartin>
Apple's bizarre hybrid of Objective-C and C++.
01:34
< Reiv>
What version of Excel do you have, Vorn?
01:34
<@Vornicus>
Also if you want I have some stuff I wrote, though it's built to run off command line options.
01:34
<@McMartin>
Shouldn't be necessary
01:34
<@Vornicus>
Reiv: Excel Mac 2008, and Excel 2007.
01:34
<@McMartin>
I'm trying to bend a Ghostscript device to my will, and so I have plenty of testbed capability.
01:34
<@Vornicus>
Just for some examples. I taught TF some things.
01:34
<@McMartin>
I won't say no if they're handy
01:35
<@Vornicus>
email?
01:35 simon` [simon@Nightstar-a12ff716.gjk.dk] has joined #code
01:36 * Reiv will throw an Excel sheet at you, then, so you can see what he's been doing.
01:37
<@McMartin>
my nick, at gmail
01:38
<@Vornicus>
En route.
01:38
<@McMartin>
Thanks
01:39
<@McMartin>
Oh hey, Notepad++ has a syntax highlighting mode for it
01:41
<@Vornicus>
Reiv: duznanski@gmail.com
01:43
< Reiv>
Oh. I threw it at your nightstar one.
01:43
< Reiv>
Resend?
01:43
<@Vornicus>
Eh. It'll just take a bit, probably.
01:44
<@Vornicus>
Got it
01:44
< Reiv>
Also included the target sheet so you can see what I'm aiming at. And you can see why I'm so hell bent on doing it in general. >_>
01:44
<@Vornicus>
Aha. Ow.
01:44
< Reiv>
(Non-savable PDF character sheets are Not Cool, guys!)
01:45
< Reiv>
(It was a freakin' checkbox when you created it... "Allow saved drafts" or something. Y'know, it would have been a slightly nice feature to have.)
01:46
<@Vornicus>
http://dnd4.com/dd-4th-edition-character-sheet <---- This is the D&D 4e character sheet I used. I'd recommend you do yourself some measuring and so forth.
01:46
< Reiv>
'Measuring'?
01:47
<@Vornicus>
Measure the heights you need.
01:47
<@Vornicus>
See what values you get.
01:47
<@McMartin>
Hm.
01:47
<@McMartin>
Actually, the GS docs are good enough
01:47 * McMartin bends the mswinpr2 device to his will
01:48
<@Vornicus>
gs is /amazing/.
01:49
< Reiv>
Vorn: I can get away with 6px, mostly - I have to shift a couple 11px cells to 12px, and the 20px cells to 18px, but otherwise it'd be fine.
01:49
<@McMartin>
Vornicus: It's being inconsistent about when it respects default printer configurations, and this is filling me with rage.
01:50
<@Vornicus>
Ah.
01:50
< Reiv>
Actually I'm pretty sure 6px would pretty much do it.
01:50
<@McMartin>
Basically, I'm generating a report (in PS), and telling GS to print it to printer X.
01:50
<@McMartin>
If I make this totally non-interactive, it ignores various important settings like duplex mode.
01:50
<@McMartin>
If I have it prompt for printer, it respects them.
01:51
<@McMartin>
If I prepend a "setup-duplex-you-son-of-a-bitch.ps" which just has some setpagedevice commands in it, then it again sets it.
01:51
< Reiv>
I could also do 4px, which lets me do pretty close to all that, tightens up the sheet a little, and gives me 20px as an option too.
01:52
< Reiv>
Yeah, actually, 4px would be ideal.
01:52
< Reiv>
I could do 6px easily enough if it's a hassle to do that many extra boxes, though
01:56
< Reiv>
Vorn: See what I was tryin' to do? :)
01:56
< Reiv>
(Red was 'put info here'; I may change it so that was black.)
01:57
<@Vornicus>
Yeah, I see what you're up to.
01:58
< Reiv>
I also admit that that 4e sheet is /incredible/
01:58
< Reiv>
I assume it's, uh, breaking about six thousand copyright laws?
01:58
<@Vornicus>
Not really. It doesn't say what anything actually does unless it's specifically allowed to. Names are fair game.
02:02
< Reiv>
Mechanics are too?
02:03
<@Vornicus>
Some of it.
02:03
< Reiv>
Huh. Okay den.
02:04 * Reiv will keep that on hand lest he ever get in a 4e game; it's vastly too convinient to ignore~
02:04
<@Vornicus>
You can do a very large amount - practically the only things you can't do /on the sheet/ are put together non-weapon damage.
02:05
< Reiv>
Interestin'. But okay.
02:05
< Reiv>
Thoughts on what to do with /my/ sheet? (I don't hope to be as awesome as the 4e one, but I hope to get something at least usable)
02:06
<@Vornicus>
Not sure!
02:06
<@Vornicus>
I don't know anything about M&M so I can't help too much.
02:06
< Reiv>
I more meant on 'how to get it so I can get that second damn column working right'
02:07
< Reiv>
(I plan to rejig the Powers section once I have the framework in, but that's ... once I've got the framework in.)
02:08
< Reiv>
(And yes, it has a Grapple line. I abhor sheets that don't, nowadays~)
02:08
< Reiv>
("You're grappled." "Oh, okay, been a while since that happen... uh... what's my bonus?" "Er. Hang on, let's work it out...")
02:10
< Reiv>
I can seek advice on how to rejigger matters once I've got the basics down, I figure :)
02:11
< gnolam>
So, I'm writing my specification for this semester's computer graphics project.
02:11
< Reiv>
Also: Is there any clean way to get Excel to let you expand sections? I'm looking at things like the skill section, and Knowledge, Craft, Perform etc
02:11
< gnolam>
I've decided to go with a real-time ocean environment.
02:11 Kazriko [kaz@teela.arkaic.com] has joined #code
02:11 mode/#Code [+o Kazriko] by Reiver
02:11
< Reiv>
It'd be nice to say 'I want an extra line here please' and let the column stretch without breaking everything.
02:13
<@Vornicus>
Unfortunately no.
02:14
< Reiv>
Awh. Maybe I'll go for the Why Did No-One Think Of This Before route, then - a row of blank boxes at the end~
02:14
<@Vornicus>
Pfff.
02:14
< Reiv>
Seriously! So v. useful.
02:15
< Reiv>
Afterall, if someone has a Crafty sorta character, they'll /know/ it's Crafty, and have all the Crafts at the bottom
02:15
< Reiv>
If it's a knowledge monkey, ditto. Etc, etc
02:15
< Reiv>
Simple solution. Works well. <3
02:17
< Reiv>
Sooooo... I'm to go through and add/merge rows by hand, Vorny?
02:17
< gnolam>
So far, I've added dynamic wave geometry generation, Fresnel surface reflection with realtime environment mapping and dynamic weather to the list of "shall do" items. Anything big you guys feel is missing? :)
02:17
< gnolam>
(Refraction is on the "may do" list.)
02:19
< gnolam>
(For the simple reason that I have no idea if how hard it would be to implement)
02:19
< gnolam>
-if
02:23
<@Vornicus>
Reiv: yep.
02:23 * Reiv cries
02:23
<@Vornicus>
I know that Ruby and VB both have Excel APIs. Dunno how good Ruby's is.
02:23
< gnolam>
Oh, and it's only a preliminary specification so there's room for change down the road. (Since it's only preliminary, I fully intend to give it the title "Specification for [CLEVER PROJECT NAME HERE]")
02:24 * Reiv tries to think. In that case, 6px it is, if only so it's less painful to do by hand~
02:28 * gnolam adds time of day to the list.
02:29
<@McMartin>
Flocking?
02:29
<@McMartin>
schools of fish, &c
02:29
< gnolam>
Hmm. Well, seagulls would go together well with the dynamic reflection. :)
02:29
<@McMartin>
Not big, just shiny.
02:29
< Namegduf>
gnolam: "Shiny Wet Thing"
02:30
< Namegduf>
When in doubt, be descriptive.
02:30
<@McMartin>
Also, you could have a master control algorithm, the Beachside Access Mother Flocker
02:30
< gnolam>
I won't get any extra points for flocking /per se/ since it's been part of one of the labs though.
02:30
<@McMartin>
or BAMF for short.
02:30
< gnolam>
Hah.
02:30 * gnolam adds "Cthulhu" to the "May do" list.
02:30
<@McMartin>
Time of day: 03:14
02:30
<@McMartin>
Stars: Wrong
02:30
<@McMartin>
*click*
02:30
<@McMartin>
Stars: Right
02:31 * gnolam laughs.
02:31
< Namegduf>
Implement a simulation of the effects of climate change on your fake ocean.
02:33
< gnolam>
Or icebergs and passenger liners.
02:35
< gnolam>
... and now I have to listen to "Carol of the Old Ones". Damn you, McMartin! ;)
02:35
< Namegduf>
Include a laptop sitting on a beach, which is running the simulation.
02:35
< Namegduf>
Recursively.
02:37
< gnolam>
No beaches. I'm limiting myself to deep ocean waves.
02:37
<@McMartin>
Nuclear submarines
02:38
<@Vornicus>
Namegduf: that is a hilarious idea.
03:10 Attilla [The.Attilla@FBC920.65CFFF.37C84B.137EA7] has quit [[NS] Quit: ]
03:11 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:12 Reiv [82d94c4d@Nightstar-b4529b0c.zen.co.uk] has quit [[NS] Quit: CGI:IRC (EOF)]
03:52 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
03:53 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
03:53 mode/#Code [+o Vornicus] by Reiver
04:29 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
04:54 Derakon[AFK] is now known as Derakon
05:02 Syloqs-AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has quit [Connection reset by peer]
05:09
<@McMartin>
[C++] Hjalfi says, "#define new(...) is evil. Don't do it."
05:12
<@Derakon>
:(
05:13
<@Vornicus>
:( :(
05:49 Netsplit *.net <-> *.split quits: @Derakon, crem, Rhamphoryncus, @McMartin, Thaqui, Alek, @jerith, @ToxicFrog, @Kazriko, @Reiver, (+3 more, use /NETSPLIT to show all of them)
05:50 Netsplit over, joins: ~Reiver, @jerith, dmlandrum, @Kazriko, @McMartin, Thaqui
05:50 Netsplit over, joins: Reivthia, @ToxicFrog, @Derakon, crem, SmithKurosaki, Alek, Rhamphoryncus
05:58 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
07:20 Derakon is now known as Derakon[AFK]
07:28 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
07:30 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:30 mode/#Code [+o Vornicus] by Reiver
08:15 Vornicus is now known as Vornicus-Latens
08:20 AnnoDomini [farkoff@Nightstar-8cfbd9eb.adsl.tpnet.pl] has joined #code
08:20 mode/#Code [+o AnnoDomini] by Reiver
08:58 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:02 You're now known as TheWatcher
10:50 Attilla [The.Attilla@FBC920.65CFFF.37C84B.137EA7] has joined #code
10:50 mode/#Code [+o Attilla] by Reiver
11:08
<@AnnoDomini>
So, in this class, we're supposed to set up some kind of server on Linux/Windows and be able to access it from the other system. Or something.
11:09
<@AnnoDomini>
I said that for my project, I'd like to do a charsheet database.
11:09
<@AnnoDomini>
The teacher said that it's fine.
11:09
<@AnnoDomini>
Any suggestions for the specific technology to do this in?
11:20
<@TheWatcher>
I'm guessing that you can't just make a webapp? ¬¬
11:23
<@TheWatcher>
I'd be tempted to suggest that on the server side you have mysql + apache + (php|perl|whatever) that processes SOAP requests over HTTP, and on the client side you have an application that presents some UI and communicates with the server for the data it shows...
11:28
<@AnnoDomini>
I think I could just make a webapp. I'll have to ask next week.
15:44
<@jerith>
Avoid SOAP if you can. XML-RPC isn't too bad, though.
16:04 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #code
16:05 Syloqs_AFH is now known as Syloqs-AFH
17:03 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
17:48 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
18:58 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has joined #code
19:17 SmithKurosaki [Smith@Nightstar-ab52522f.dsl.teksavvy.com] has quit [Client closed the connection]
19:34 SmithKurosaki [Smith@Nightstar-ab52522f.dsl.teksavvy.com] has joined #code
19:42 Attilla [The.Attilla@FBC920.65CFFF.37C84B.137EA7] has quit [Ping timeout: 121 seconds]
19:43 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has joined #code
19:54 Derakon[work] is now known as Derakon[AFK2]
20:03 Attilla [The.Attilla@FBC920.92E3D3.A1255C.1D7478] has joined #code
20:03 mode/#Code [+o Attilla] by Reiver
20:05
<@McMartin>
MyCatVerbs: http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/
20:13
<@jerith>
"The application VLC quit unexpectedly after it was relauched."
20:13
<@jerith>
That's not unexpected. You relaunched it, you silly OS.
20:13
<@jerith>
In the middle of my bloody episode of Dexter, too.
20:13
< Finale>
aw
20:15
<@jerith>
You'd think it would ask politely before restarting in the middle of playing something.
20:15
< Finale>
you'd think.
20:18 McMartin [mcmartin@Nightstar-2b2c1a9b.pltn13.sbcglobal.net] has quit [Ping timeout: 121 seconds]
20:20 AnnoDomini [farkoff@Nightstar-8cfbd9eb.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
20:20 McMartin [mcmartin@Nightstar-2b2c1a9b.pltn13.sbcglobal.net] has joined #code
20:20 mode/#Code [+o McMartin] by Reiver
20:26 AnnoDomini [farkoff@Nightstar-4d85beeb.adsl.tpnet.pl] has joined #code
20:26 mode/#Code [+o AnnoDomini] by Reiver
21:15 Derakon[AFK2] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [[NS] Quit: Leaving]
21:35 Finale is now known as Nathia
21:46 * simon` has a course that is so boring we had to see how much we could mention Hitler before someone got kicked off.
21:46
< Nathia>
O_o
21:47
< simon`>
e.g. last week assignment involved drawing stick figures to represent use case scenarios
21:48
< simon`>
I was told that my stick figurettes were drawn sexist because I differentiated genders by drawing boobs.
21:48
< Nathia>
pfft
21:49
< Nathia>
can draw a skirt.
21:49
< simon`>
yes, assuming that all women wear skirts is not sexist. :)
21:49
< simon`>
I could also place the stick figure next to a stove, but I don't see how that improves anything.
21:50
< Nathia>
ahahah
21:50
< simon`>
essentially it boils down to whether it is "positive/negative" differentiation, and apparently boobs are offensive.
21:53
< simon`>
now I'm doing a usability analysis of websites that sell plane tickets. this stuff is duller than hand-executing bruteforce algorithms.
21:57
< Nathia>
you could give the male stick figures a "third leg" >_>
22:03
< Rhamphoryncus>
naw, be more subtle. If it's hand drawn just make it look like an extra line, part of the real leg, just slightly sticking out
22:04
< Nathia>
ahaha
22:10
< simon`>
heh :)
22:10
< simon`>
all my stick figures were hailing, and one of them were real angry and had a small moustache.
22:11
< simon`>
also, a third of all dialogs were in Esperanto to simulate use cases with foreign students.
22:12
< simon`>
(one use case was with students with language barriers. apparently, nobody speaks Esperanto.)
22:12
< simon`>
*sigh*
22:13
< simon`>
basically, they dumped the course Advanced Algorithms and replaced it with this one.
22:14
< Nathia>
...
22:14
< simon`>
isn't that crazy?
22:14
< simon`>
Advanced Stick Figure Drawing
22:15
< simon`>
(its actual name is Human-Computer Interaction)
22:16
< simon`>
we have a mailing list thread where we collect mad quotes from the course book. one is this: ... but usability tests have fewer participants (maybe as few as three) ... -- what kind of scientific number is three? :)
22:18
< Nathia>
prime.
22:19
< simon`>
I mean, how did they derive it. perhaps f(x)=3x+2?
22:19
< gnolam>
simon`: It's usability.
22:20
< simon`>
gnolam, certainly. does that imply anything to you?
22:20
< gnolam>
"Usability" is a word meaning "a tiny core of good, important stuff surrounded by tonnes of factoids pulled out of the ass of overpaid consultants".
22:21
< simon`>
gnolam, in academia, s/consultants/"researchers"/g
22:23
< simon`>
tomorrow is the Danish National Computer Programming Championship. some of the first-year students I know are attending. one was taking a Java crash course today. it sounded quite exciting. :)
22:24
< simon`>
so I gave them the Google Tech Talk featuring the Java Puzzlers. (i.e. the one where they present a very little Java program and ask what the audience thinks it does from four choices.)
22:26 Nathia is now known as Finale
22:43 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
22:47 Reiver [reaverta@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
22:53 Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code
22:53 mode/#Code [+qo Reiver Reiver] by ChanServ
23:19 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has joined #code
23:51 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
23:58 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client closed the connection]
23:58 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
--- Log closed Sat Oct 03 00:00:45 2009
code logs -> 2009 -> Fri, 02 Oct 2009< code.20091001.log - code.20091003.log >