code logs -> 2011 -> Tue, 29 Nov 2011< code.20111128.log - code.20111130.log >
--- Log opened Tue Nov 29 00:00:18 2011
00:01 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has quit [[NS] Quit: leaving]
00:13 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has quit [[NS] Quit: leaving]
00:21
< McMartin>
quasiquote, you are my only friend
00:21
< Alek>
Skyrim forums: "A lightning bolt will disintegrate my opponent, how am I supposed to loot him then?" "Re-integrate him." "Ah. Finally I'll be able to apply my calculus knowledge!!!"
00:25
< McMartin>
Think differentiable.
00:26 * Vornicus applies the the minkowski question-mark function to all involved.
00:31
< Alek>
speaking of functions.
00:33
< Alek>
what language would I use, and how, to script graphical functions? like screensavers?
00:33 You're now known as TheWatcher[T-2]
00:33
< Alek>
and visual transitions?
00:36 You're now known as TheWatcher[zZzZ]
00:38 Derakon[AFK] is now known as Derakon
00:38<~Vornicus> Anything that can talk to openGL works.
00:38<~Vornicus> Even better if you can write shaders in it.
00:39
< Derakon>
You can do simple stuff with the SDL though.
00:39
< Derakon>
Which doesn't even require OpenGL.
00:39
< Derakon>
It just won't be as performant, and it can't do 3D.
00:42<~Vornicus> gnah, deep loops are madness.
00:43
< kwsn>
madness?
00:43
< kwsn>
THIS
00:43
< kwsn>
IS
00:43
< kwsn>
#CODE
00:43 * Derakon boots KWSN out the airlock. Intoa furnace.
00:43 * kwsn has no regrets
00:44<~Vornicus> I have an 8-deep nested loop, no function boundaries in between.
00:44
< kwsn>
...
00:44
< kwsn>
Vornicus: .... why?
00:46<~Vornicus> The iterable for each loop is constructed in the for statement, it's some lovely set math that happens to take up around 80 characters all by itself.
00:46
< kwsn>
also, what language?
00:46<~Vornicus> python.
00:46
< kwsn>
ah
00:48<~Vornicus> This is Project Euler problem #43: "find a ten digit number abcdefghij such that each digit is distinct and abc is divisible by 1, bcd is divisble by 2, cde is divisible by 3, def is divisible by 5, and so on through the primes"
00:48<~Vornicus> Well, actually, "find all such ten-digit numbers"
00:48
< kwsn>
fun
00:50<~Vornicus> So each loop nesting there is iterating one of the digits, and has to construct its search space on the fly from the digits I've already used in earlier digits.
00:59 * Alek has some ideas for transition code to approach randomness while keeping speed. wishes to try them out.
01:00 * Alek shrugs.
01:04<~Vornicus> Alek: what kind of transitions are you looking at?
01:12
< Alek>
one variant: using prime stepping within the range of the display's pixel count, less primes that are factors of the display dimensions. try various ones to see the effects.
01:14
< Alek>
another variant: create an array equal to the display size. change random pixels, initialize the appropriate array values. at every random pick, check to see if value is already initialized, and if so, instead of changing the pixel, traverse the array until you find an uninitialized one, change that instead.
01:16 * Alek misses programming on his TIs. would have tried there, but doesn't have them currently. :/
01:18
< RichardBarrell>
Alek: if you are in some kind of real damn hurry to just blit something to screen with minimal code then a web browser with <canvas> 2d context support is fairly easy to draw onto.
01:19
< RichardBarrell>
Alek: e.g. http://robarr.co.uk/1/1d_cel.html
01:20 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
01:21
< Alek>
nice.
01:21
< RichardBarrell>
You just fill out the contents of an ImageData object (array of 4-tuples of bytes) and then call context.putImageData(buffer, 0, 0) to throw it on.
01:21 * Alek needs to get the HTML5 book from the library again, then. >_>
01:21
< RichardBarrell>
Don't bother, you can pick this up from tutorials.
01:22
< Alek>
I could, but I need a deep html refresher too. as well as the other new tags.
01:22
< RichardBarrell>
The HTML5 APIs are really very orthogonal with almost no inter-dependencies, which means that you can just learn the one that you're interested in for the thing that you want to do right now.
01:23
< RichardBarrell>
The new tags aren't even interesting. :)
01:23
< Alek>
they are to me. <_<
01:23
< RichardBarrell>
Half the crap on that page is just me messing with the CSS3 "transform" property anyway. :)
01:24
< Alek>
and I definitely need a CSS refresher. badly.
01:24
< RichardBarrell>
Try rule #153 in that thing.
01:24
< RichardBarrell>
Or 161.
01:25
< RichardBarrell>
89 is good too. :)
01:26
< RichardBarrell>
Rule #34 is tragically boring.
01:26
< Alek>
169
01:28 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
01:36 * ToxicFrog upreads
01:37
< RichardBarrell>
Alek: neat.
01:37
< ToxicFrog>
Alek: in general, any binding to SDL or OpenGL or GDI/X will do. In specific, I highly recommend Pygame (python, SDL); Love2d (lua, SDL); or if performance is less important than flexibility, GTK's Cairo API in any language you please.
01:37
< ToxicFrog>
I believe there are also TI simulators kicking around, but then you're stuck with TI-BASIC and the TI's really crappy screen.
01:38 * Alek nods.
01:39
< Alek>
you can actually get a TI simulator from TI themselves. XD
01:39
< Alek>
iirc.
01:39
< Alek>
or you could, some years ago. :/
01:41
< ToxicFrog>
(or z80 asm and the TI's really crappy screen, I guess~)
01:43
< ToxicFrog>
(it's amazing how TI took until 2011 to release a calculator that didn't have a low-res monochrome LCD screen)
01:44
< Alek>
and HP and Casio were putting out color screens in the 90s.
01:45
< ToxicFrog>
Yeah.
01:46
< ToxicFrog>
Fuck, so was Sega~
01:46
< ToxicFrog>
But, yeah. My personal preference for graphical stuff is love2d, but in general <your language of choice> + <your preferred GUI library that has a canvas element> will do for noodling around.
01:47
< ToxicFrog>
Assuming that such a combination exists, of course.
01:55 RichardBarrell [mycatverbs@Nightstar-86656b6c.cable.virginmedia.com] has quit [Connection closed]
02:06 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:18 Kindamoody[zZz] is now known as Kindamoody
02:40 * McMartin installs the Windows Driver Kit on his new work machine.
02:43 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
03:03 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
03:49
< celticminstrel>
Oh heh, there was a discussion of canvas and I missed it.
03:49
< celticminstrel>
On the other hand, I got my canvas working now.
05:08 [Tamber] [tamber@86.112.105.67] has quit [[NS] Quit: GN de Tamber 73 SK]
05:21 ErikMesoy|sleep is now known as ErikMesoy
05:43 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
06:31 Kindamoody is now known as Kindamoody|out
06:34 Derakon is now known as Derakon[AFK]
07:08 You're now known as TheWatcher
07:43 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has joined #code
07:51 Reiver [orthianz@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
07:56 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
08:06 You're now known as TheWatcher[afk]
08:25 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has quit [Client closed the connection]
08:28 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has joined #code
08:28 AD[Shell] [abudhabi@Nightstar-27c18c44.adsl.inetia.pl] has joined #code
08:39 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!]
09:09 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
09:23 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
09:32 You're now known as TheWatcher
09:38 You're now known as TheWatcher[d00m]
09:58 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
10:34 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
10:34 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
11:59 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
12:12 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
12:47 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has quit [Client closed the connection]
12:51 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has joined #code
12:56 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
13:06 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has quit [Ping timeout: 121 seconds]
13:08 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has joined #code
13:47 You're now known as TheWatcher
14:39 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
14:41 * kwsn buries herself in VxWorks again :<
14:51 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Client closed the connection]
14:52 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:04 You're now known as TheWatcher[afk]
15:11 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
15:24 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
15:33 Bob_work [Bobsentme@Nightstar-1f391862.udmercy.edu] has joined #code
15:34
< Bob_work>
fucking java instructor. Sure, give an assignment with hints and don't explain a damn thing. >.>
15:35
< Bob_work>
I've got to create a GUI with a text field, button, and list box. I know how to handle the text field, I've written the code to make the button work when clicked....but I have no idea how the frak java creates a text box.
15:35
< Bob_work>
errr...list box.
15:35
< Bob_work>
And my google-fu is contridcting instructor's "hints"
15:35
< kwsn>
using an IDE?
15:36
< Bob_work>
Netbeans, yes.
15:37
< Bob_work>
My problem is that I have to populate the list box from a text file. I've read about listmodels and jlists, but am totally lost.
15:39
< kwsn>
ah
15:44 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!]
15:46
< Bob_work>
alriht, I'm frakked. I can't figure the logic out behind this at all.
15:47 * Bob_work wanders off to rant incoherently at instructor
15:47 Bob_work [Bobsentme@Nightstar-1f391862.udmercy.edu] has quit [[NS] Quit: Leaving]
15:59 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:01 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
16:11 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
16:24 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
16:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:28 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
16:37 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has quit [Ping timeout: 121 seconds]
16:39 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has joined #code
17:02 EvilDarkLord is now known as Maze
17:02 ErikMesoy is now known as Harrower
17:47 You're now known as TheWatcher
18:12 Kindamoody|out is now known as Kindamoody
18:21 Red_Queen [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
18:21 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Client closed the connection]
18:21 Red_Queen is now known as Stalker
18:26 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Client closed the connection]
18:26 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
18:29 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Client closed the connection]
18:29 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
18:55 * kwsn blarghs
19:07 Kindamoody [Kindamoody@Nightstar-5507a6b5.tbcn.telia.com] has quit [Connection closed]
19:08 Kindamoody|out [Kindamoody@Nightstar-5507a6b5.tbcn.telia.com] has joined #code
19:08 Kindamoody|out is now known as Kindamoody
19:17 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has quit [Ping timeout: 121 seconds]
19:23 Kindamoody is now known as Kindamoody[zZz]
19:27 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has joined #code
19:46 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has quit [Client closed the connection]
19:48 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has quit [Ping timeout: 121 seconds]
19:48 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has joined #code
19:51 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has joined #code
19:52 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has quit [Ping timeout: 121 seconds]
19:57 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has joined #code
20:03 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has quit [Ping timeout: 121 seconds]
20:04 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has joined #code
20:05 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
20:07 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has quit [Ping timeout: 121 seconds]
20:17 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has joined #code
20:18 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
20:18 Maze is now known as EvilDarkLord
20:18 Harrower is now known as ErikMesoy
20:33 ErikMesoy is now known as Harrower
20:40 RichardBarrell [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
20:44 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has quit [Ping timeout: 121 seconds]
20:45 AnnoDomini [annodomini@Nightstar-9b1ccdbf.9.getinternet.no] has joined #code
20:52 AnnoDomini [annodomini@Nightstar-9b1ccdbf.9.getinternet.no] has quit [Ping timeout: 121 seconds]
21:00 AnnoDomini [annodomini@Nightstar-9b1ccdbf.9.getinternet.no] has joined #code
21:22 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
21:44 Harrower is now known as ErikMesoy
21:45 AnnoDomini [annodomini@Nightstar-9b1ccdbf.9.getinternet.no] has quit [Ping timeout: 121 seconds]
21:46 AnnoDomini [annodomini@Nightstar-6087d4dc.94.getinternet.no] has joined #code
21:50 AnnoDomini [annodomini@Nightstar-6087d4dc.94.getinternet.no] has quit [[NS] Quit: leaving]
22:08 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
22:12 ErikMesoy is now known as ErikMesoy|sleep
22:14 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
22:14 kwsn is now known as kws-not-here
22:15 Syloqs_AFH is now known as Syloqs-AFH
22:25 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
22:31 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
22:32 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
22:33 Syloqs_AFH is now known as Syloqs-AFH
22:43 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
22:45 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
22:48 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
22:50 Syloqs_AFH is now known as Syloqs-AFH
23:02 Noah [maoranma@D5CC77.617194.A3A306.4C2769] has quit [Ping timeout: 121 seconds]
23:06 maoranma [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has joined #code
23:07 maoranma is now known as Noah
23:20
< gnolam>
Ok, let's see what this soldering station can do.
23:20
< TheWatcher>
Burn you nastily~
23:26
< RichardBarrell>
Programmers wielding screwdrivers and soldering irons aren't scary.
23:26
< RichardBarrell>
Programmers wielding hammers are terrifying. :)
23:28
< Noah>
The only way to code
23:34 kws-not-here is now known as kwsn
--- Log closed Wed Nov 30 00:00:33 2011
code logs -> 2011 -> Tue, 29 Nov 2011< code.20111128.log - code.20111130.log >

[ Latest log file ]