--- Log opened Tue May 22 00:00:26 2007 |
00:02 | < Takyoji> | Hmm.. isn't working.. I'm trying a substituted version such as: (100-0)*sqrt(5^2-(x-5)^2/100+0 |
00:03 | <@gnolam> | You're missing a parenthesis. |
00:03 | < Takyoji> | At the end? |
00:03 | <@gnolam> | And... I apparently told to divide by b instead of s. |
00:03 | <@gnolam> | (b-a)*sqrt(s^2-(x-s)^2)/s+a |
00:03 | < Takyoji> | ahh |
00:03 | <@gnolam> | (Told you I was hung over) |
00:04 | | * gnolam googles up a suitable plotter to actually try it out. |
00:05 | < Takyoji> | Yay, it works! |
00:05 | < Takyoji> | I used a graphing calculator to check it |
00:06 | <@gnolam> | Aww. And I just found http://www.walterzorn.com/grapher/grapher_e.htm . |
00:07 | < Takyoji> | Good work though |
00:08 | < Takyoji> | Now I can finally use this in my script.. |
00:19 | | Derakon[AFK] is now known as Derakon |
00:54 | | Chalcedon [~Chalcedon@Nightstar-1216.ue.woosh.co.nz] has joined #code |
00:54 | | mode/#code [+o Chalcedon] by ChanServ |
00:56 | | Mahal [~Mahal@Nightstar-12512.worldnet.co.nz] has joined #Code |
00:56 | | mode/#code [+o Mahal] by ChanServ |
01:19 | | Thaqui [~Thaqui@Nightstar-25913.jetstream.xtra.co.nz] has joined #code |
01:19 | | mode/#code [+o Thaqui] by ChanServ |
01:48 | < Takyoji> | Argh, JavaScript is annoying... I can't figure out what is wrong with this script: |
01:48 | < Takyoji> | <script> |
01:48 | < Takyoji> | var pattern = "/\d/i"; |
01:48 | < Takyoji> | var replacement = 20; |
01:48 | < Takyoji> | var subject = "filter:alpha(opacity:60)"; |
01:48 | < Takyoji> | var result = subject.replace(pattern,replacement); |
01:48 | < Takyoji> | document.write(result); |
01:48 | < Takyoji> | </script> |
01:49 | <@ToxicFrog> | Well, what error does it throw? |
01:49 | <@ToxicFrog> | That should give you some clue. |
01:49 | < Takyoji> | It doesn't throw any error |
01:49 | < Takyoji> | It just results in: filter:alpha(opacity:60) |
01:49 | < Takyoji> | When instead it should be 20 |
01:50 | <@ToxicFrog> | That's a very odd looking pattern. |
01:50 | < Takyoji> | \d means digit |
01:50 | <@ToxicFrog> | Shouldn't it be something like "/\d+/"? |
01:50 | < Takyoji> | \D means not digit |
01:50 | < Takyoji> | oh, I'll try that |
01:50 | <@ToxicFrog> | Or, if JS uses \escapes, "/\\d+/"? |
01:51 | < Takyoji> | I tried the slash escape as well |
01:51 | <@ToxicFrog> | Also, replacement should probably be "20", not 20. |
01:51 | < Takyoji> | All of the suggestions still aren't making it work ironically |
01:52 | < Takyoji> | Now its: |
01:52 | < Takyoji> | var pattern = "/\\d*/i"; |
01:52 | < Takyoji> | var replacement = "20"; |
01:52 | < Takyoji> | var subject = "filter:alpha(opacity:60)"; |
01:52 | < Takyoji> | var result = subject.replace(pattern,replacement); |
01:52 | < Takyoji> | document.write(result); |
01:52 | < Takyoji> | I also tried various flags for the RegEx which didn't help |
01:53 | <@ToxicFrog> | ... |
01:53 | <@ToxicFrog> | Ok, here's a big problem. |
01:53 | <@ToxicFrog> | Regexes in JS are their own types. |
01:53 | <@ToxicFrog> | "/\d+/" is a string. |
01:53 | <@ToxicFrog> | /\d+/ is a regex. |
01:53 | < Takyoji> | I looked over: http://www.evolt.org/article/Regular_Expressions_in_JavaScript/17/36435/ |
01:53 | < Takyoji> | oh |
01:54 | < Takyoji> | heh, well that's very unorderly for browsers to read ;P |
01:54 | <@ToxicFrog> | Indeed, what you want is probably something like: |
01:55 | <@ToxicFrog> | var result = subject.replace(/\d+/, "20") |
01:55 | < Takyoji> | ahh k |
01:55 | <@ToxicFrog> | Or /\d+/i, although I'm not sure what the i does. |
01:55 | < Takyoji> | i just means "Ignore Case" |
01:55 | <@ToxicFrog> | (or expand it: var pattern = /\d+/; var result = subject.replace(pattern, etc...) |
01:55 | <@ToxicFrog> | ...\d is, by definition, not affected by case. |
01:56 | < Takyoji> | yay, it works now |
01:56 | < Takyoji> | I know it was useless |
01:56 | <@ToxicFrog> | This is, I note, explained very clearly on the very page you linked. |
01:56 | < Takyoji> | oh, sorry |
01:56 | < Takyoji> | I guess I don't read the fine print well.. |
01:57 | <@ToxicFrog> | Also, what does the browser have to do with it? The browser isn't responsible for parsing any JS code, it just extracts the code and passes it to the JS engine. |
01:57 | < Takyoji> | So there's a seperate library for parsing JS? |
01:58 | < Takyoji> | In which all browsers use? |
01:58 | <@ToxicFrog> | ...not in the sense you mean. |
01:58 | <@ToxicFrog> | Sorry, I guess I shouldn't have said "browser" |
01:58 | <@ToxicFrog> | The HTML rendering engine isn't responsible for parsing JS code. |
01:58 | <@Vornicus> | The Bit That Displays |
01:58 | < Takyoji> | ahh |
01:58 | <@Vornicus> | Only in fancier terms than I use. |
01:59 | | Vornicus is now known as IanMusgrave |
02:03 | < Takyoji> | So the way to calculate the interval between frames is: fps / Duration ? |
02:04 | < Takyoji> | Erm, sorry, I guess that was to simple of a question.. |
02:04 | <@IanMusgrave> | 1 second / fps = seconds per frame. |
02:04 | < Takyoji> | oh |
02:21 | | ReivZzz is now known as Reiver |
02:25 | | Serah [~Z@87.72.36.ns-26407] has joined #Code |
02:25 | | mode/#code [+o Serah] by ChanServ |
02:56 | < Takyoji> | Now I'm having another problem.. |
02:59 | < Takyoji> | <script> |
02:59 | < Takyoji> | function changeColor( elementID ) |
02:59 | < Takyoji> | { document.getElementById(elementID).style.color="#FF0000"; } |
02:59 | < Takyoji> | </script> |
02:59 | < Takyoji> | <p onMouseOver="changeColor(tester)" id="tester">Test</p> |
02:59 | < Takyoji> | In FireFox it says "elementID" doesn't have any properties |
02:59 | < Takyoji> | I mean: In FireFox it says "'elementID' doesn't have any properties" |
03:00 | < Takyoji> | For that script |
03:00 | < Takyoji> | And here's what I'm trying to work from: http://www.w3schools.com/htmldom/prop_style_color.asp |
03:01 | < Takyoji> | Except I want a function parameter to indicate the ID of what element it's changing the color of for example |
03:02 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?] |
03:08 | <@Derakon> | I note that their example does not work for me. |
03:08 | <@Derakon> | Or, wait, it does. Whoops. |
03:08 | < Takyoji> | :P |
03:09 | <@Derakon> | I thought it was an onMouseOver. Silly me. |
03:09 | < Takyoji> | I just want to substitute elementID with the desire ID of a tag |
03:09 | < Takyoji> | But it's not allowing me to do so.. |
03:09 | < Takyoji> | As far as I can notice |
03:11 | <@Derakon> | Ach. I don't have a Javascript debugger on this browser. |
03:12 | < Takyoji> | Which browser? |
03:12 | <@Derakon> | Safari. |
03:12 | < Takyoji> | ahh |
03:13 | | * Derakon downloads WebKit, which should have it. |
03:13 | < Takyoji> | And actually I just realized that it's actually a toolbar in FireFox that's telling me the errors, not actually something built in |
03:15 | <@Derakon> | Sorry; I'm just not having any more luck than you are. |
03:16 | < Takyoji> | hmm |
03:31 | < Takyoji> | ugh, this script is impossible to limitations of JS.. |
03:31 | < Takyoji> | JavaScript should be replaced with C#! ;P |
03:33 | < Takyoji> | Unless if anyone has intelligent way to reference an element through a Javascript function started by onHover, onClick, onMouseOver, etc |
03:33 | <@IanMusgrave> | It's not that hard, I don't think. |
03:34 | < Takyoji> | I've tried getByElementId |
03:34 | < Takyoji> | getElementById* |
03:35 | <@Derakon> | I've done plenty of onClick stuff to hide/unhide content. |
03:35 | <@Derakon> | I don't know why changing the color isn't working for you. |
03:36 | < Takyoji> | I mean just anything for making it do a function when a certain elements are hovered, but do it to ONLY the one the called the function |
03:36 | < Takyoji> | one that called* |
03:36 | <@Derakon> | That's what I meant... |
03:36 | < Takyoji> | yea |
03:37 | < Takyoji> | FireFox and Internet Explorer just hate me I guess.. |
03:37 | < Takyoji> | I mean for certain I can just type document.getElementById("TheIDofTheElement") but can't use a variable like: document.getElementById(variableName) |
03:38 | < Takyoji> | gah, let me fix my grammar |
03:38 | < Takyoji> | "I can certainly type document.getElementById("TheIDofTheElement") but can't use a variable like: document.getElementById(variableName)"* |
03:39 | < Takyoji> | Which is restrictiing it all from working as desired |
03:40 | < Takyoji> | Then can you show me a script of yours for hiding/unhiding content? |
03:45 | <@IanMusgrave> | You should be getting the element passed to the function. |
03:45 | < Takyoji> | But how though? |
03:47 | < Takyoji> | How would you reference to it? |
03:49 | <@IanMusgrave> | I don't recall |
03:50 | < Takyoji> | The 'this' reference wouldn't be it, would it? |
03:50 | < Takyoji> | Although, that's for use in methods of class definitions, right? |
04:04 | <@Serah> | I need a function to make me feel loved. |
04:04 | <@Derakon> | var serah = getElementById("Serah"); serah.style.loved = true; |
04:04 | < Takyoji> | bah; |
04:04 | <@Serah> | Nono, I don't need to be loved. |
04:04 | <@Serah> | I just need to feel like if I were. |
04:05 | <@Derakon> | Actually being loved should do the trick though, no? |
04:06 | <@Serah> | No. |
04:06 | <@Serah> | It's just like you can win without feeling like you've won. |
04:07 | <@Serah> | If you win in the lottery but owe that exact amount too. |
04:07 | <@Serah> | You wouldn't feel very winning. |
04:07 | <@Serah> | But I am sidetracking discussion. |
04:07 | <@Serah> | And #code is not a channel to discuss love. |
04:07 | <@Serah> | Or feelings. |
04:07 | < Takyoji> | Ahh here we are: |
04:07 | < Takyoji> | using Emulator; |
04:07 | < Takyoji> | namespace App { |
04:07 | < Takyoji> | public class Main { |
04:07 | < Takyoji> | function Main() |
04:07 | < Takyoji> | { |
04:07 | < Takyoji> | Emulator default = new Emulator(); |
04:07 | < Takyoji> | default.emulateLove(Serah); |
04:08 | < Takyoji> | } } } |
04:09 | < Takyoji> | Kinda depressed or just feel a little lonely? |
04:10 | | * Takyoji pokes Serah |
04:10 | | * Serah is poked. |
04:10 | <@Serah> | Lonely. |
04:12 | < Takyoji> | So if it's a stupid question but wat gender are you? |
04:12 | < Takyoji> | what* |
04:13 | <@Serah> | All people on IRC are sweaty old middle aged perverts. |
04:13 | <@Serah> | Why should I be any different? |
04:14 | <@Serah> | Besides, as we all know. There are no girls on the internet. |
04:14 | <@Serah> | And with all that aside, since we'll never meet anyway, why does it matter? |
04:17 | < Takyoji> | I don't know how to say it |
04:17 | < Takyoji> | ..Sweaty old middle-aged perverts xD |
04:18 | < Takyoji> | So I take it that I'm uber-young here? |
04:18 | < Takyoji> | Not suprising I suppose.. |
04:19 | <@Serah> | No, you're also a sweaty old middle aged pervert. |
04:20 | <@Serah> | And you're currently eating KFC. |
04:20 | < Takyoji> | Holy crap, how'd you know? |
04:20 | < Takyoji> | j/k ;P |
04:21 | < Takyoji> | Sorry if this may scare you but.. |
04:21 | < Takyoji> | I'm 15! ;O |
04:21 | | * Serah doesn't really care. |
04:21 | <@Serah> | And it doesn't matter. |
04:22 | <@Serah> | You can be 9 and still be a middle aged pervert eating KFC, and having grease stains on your white shirt. |
04:22 | < Takyoji> | Ageism is one of the things that REALLY annoys me |
04:22 | <@Serah> | Having a bed, all by myself, really annoys me. |
04:22 | < Takyoji> | But what if it's McDonalds instead of KFC |
04:22 | < Takyoji> | ahh |
04:23 | < Takyoji> | Been single for while? |
04:23 | < Takyoji> | Hell, I've always been single |
04:24 | <@ToxicFrog> | Yeah, but if you're 15 you haven't really had a lot of time in which to -not- be single, so. |
04:25 | < Takyoji> | And I also don't live in my own house |
04:26 | < Takyoji> | I suppose it would be worse if I just lived alone in a little house or apartment |
04:26 | < Takyoji> | Then always paying bills, etc |
04:27 | < Takyoji> | I own no car, |
04:27 | < Takyoji> | I have enough money to pay for a car but don't really need it at the time.. |
04:27 | < Takyoji> | Anyway, night folks. |
04:28 | | Takyoji [~Takyoji@Nightstar-25812.dhcp.roch.mn.charter.com] has quit [Quit: Leaving] |
04:45 | | Reiver is now known as ReivClass |
05:59 | | AnnoDomini [~farkoff@Nightstar-29058.neoplus.adsl.tpnet.pl] has quit [Quit: The screams are not loud enough.] |
06:12 | | Mahal is now known as MahalOUT |
06:23 | | IanMusgrave is now known as Vornicus |
06:36 | | ReivClass is now known as Reiver |
06:44 | | AnnoDomini [~farkoff@Nightstar-29058.neoplus.adsl.tpnet.pl] has joined #Code |
06:44 | | mode/#code [+o AnnoDomini] by ChanServ |
06:45 | < Reiver> | I think he rather missed the point. |
06:49 | | MahalOUT is now known as Mahal |
06:49 | | AnnoDomini [~farkoff@Nightstar-29058.neoplus.adsl.tpnet.pl] has quit [Quit: Sometimes you burn with the Art, and other times, the Art burns you.] |
06:55 | | AnnoDomini [~farkoff@Nightstar-29058.neoplus.adsl.tpnet.pl] has joined #Code |
06:55 | | mode/#code [+o AnnoDomini] by ChanServ |
07:14 | | Derakon is now known as Derakon[AFK] |
07:56 | | MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has joined #code |
08:11 | | You're now known as TheWatcher |
08:53 | | KBot [~karma.bot@Nightstar-29660.neoplus.adsl.tpnet.pl] has joined #Code |
08:54 | | KarmaBot [~karma.bot@Nightstar-29058.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
08:54 | | KBot is now known as KarmaBot |
08:54 | | AnnoDomini [~farkoff@Nightstar-29058.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
09:00 | | AnnoDomini [~farkoff@Nightstar-29660.neoplus.adsl.tpnet.pl] has joined #Code |
09:00 | | mode/#code [+o AnnoDomini] by ChanServ |
09:17 | < MyCatVerbs> | >> |
09:17 | < MyCatVerbs> | Could you abuse pixel shaders in a vaguely GPGPU-ish manner to render voxels? |
09:18 | < MyCatVerbs> | Heightmaps, too? |
09:22 | <@Vornicus> | You could do that. |
09:22 | <@Vornicus> | But why would you want to? |
09:26 | | Chalcedon [~Chalcedon@Nightstar-1216.ue.woosh.co.nz] has quit [Quit: Gone] |
09:26 | < MyCatVerbs> | Vornicus: well, say I want to render a really freakin' haiUUUUUUUUGE outdoor scene, in realtime. I *think* voxel rendering on the CPU is more than fast enough for that (is always seems to be really fast in the games I've seen it used in, albeit rather inaccurate), but I'm not actually entirely certain. |
09:29 | < MyCatVerbs> | An', since they're more or less high-end DSPs in funny packaging, the shaders could probably perform so ridiculously well at it that you could even throw away a few of the accuracy-for-time tradeoffs you usally make, to get a nicer picture. |
09:30 | <@Vornicus> | Voxels are the 3-d pixels used in, like, Nova Logic games, right? |
09:31 | < MyCatVerbs> | Not familiar with Nova Logic. They are 3d pixels, yes. |
09:32 | <@Vornicus> | Delta Force is the main game they did. |
09:32 | < MyCatVerbs> | Apparently heightmaps are a similar/related/identical or somethine concept, which some games use for ridiculously fast terrain rendering. I think the Torque-based Tribes games might. |
09:33 | < MyCatVerbs> | Pretty likely then, considering Delta Force's target machines and outdoorsy environments. |
09:35 | <@Vornicus> | many, many, many games use heightmaps. |
09:35 | < MyCatVerbs> | Vornicus: and the question pretty much just popped fully formed into my head, "What if I wanted to render the surface of, uh, Earth?" |
09:35 | <@Vornicus> | Usually you just use a texture and a bump map. |
09:36 | <@Vornicus> | or a texture and a normal map, but the normal map for Earth is epically flat. |
09:36 | < MyCatVerbs> | Oook? Isnae bump mapping for something else entirely? |
09:37 | <@Vornicus> | Bump maps are essentially heightfields you can use like textures. |
09:37 | < MyCatVerbs> | I thought they were usually tiny. Like, fine detail stuff. Millimeter adjustments on top of metre-high textures. |
09:38 | <@Vornicus> | Well, yes |
09:38 | <@Vornicus> | But, uh |
09:38 | <@Vornicus> | The earth is smoother than a marble. |
09:39 | <@Vornicus> | a 24 bit bump/heightmap can specify from Challenger Deep to Everest, in millimeter scale. |
09:39 | < MyCatVerbs> | XD |
09:39 | <@Vornicus> | SupComm uses 16 bit heightmaps. |
09:41 | < MyCatVerbs> | Vornicus: per-point resolution isn't the scaling problem I'm thinking of here. More a question of an insanely high resolution in terms of quantised-points-per-steradian. |
09:41 | <@Vornicus> | (in contrast, 24 bits of latitude specifies about 1.2 meters per step) |
09:42 | <@Vornicus> | (all this conveniently adds up to a bit better than the detail used by USGS) |
09:42 | < MyCatVerbs> | Like, pack as much heightmap data as you physically can and still have enough scratch space for the frame buffers themselves and neccessary working store into a 512meg video card. |
09:43 | <@Vornicus> | All right. |
09:44 | <@Vornicus> | You've got two to planet-wide textures now - color data, height data, and maybe ambient and specular. |
09:44 | <@Vornicus> | s/two to/two to four/ |
09:45 | <@Vornicus> | Height is 2-3 bytes per thing, color is 3, ambient is 3, specular is 1-2. |
09:45 | < MyCatVerbs> | Which'd come out to something like... uhhh. |
09:46 | <@Vornicus> | Adds up to 10 bytes per texel. |
09:46 | | * MyCatVerbs tries to work out the resolution on a 150 megapixel image. |
09:46 | < MyCatVerbs> | Wait, no, make that 250. 24 bit heighmapping isn't neccessary. |
09:47 | < MyCatVerbs> | Vornicus: nah, I'd rather brute force sheer quantity-of-pixels resolution. =D |
09:47 | <@Vornicus> | Okay, so that's 5 bytes per pixel, which gives you 100 Mpx, which is (using standard planetary textures) 7kx14k |
09:48 | < MyCatVerbs> | Vornicus: wait, why do I need 5 B/pxel? I'm only using a 16bit heightfield. |
09:49 | < MyCatVerbs> | Maybe 24bpp, but that's an outside value as you pointed out. I don't -really- want to map the Earth with millimeter vertical precision at the cost of low angular precision. |
09:51 | <@Vornicus> | well, if you use 24bpp, you get 89Mpx, 6.5kx13k |
09:52 | < MyCatVerbs> | Ehh? |
09:53 | <@Vornicus> | I'm asking Google how big your images can be. |
09:53 | <@Vornicus> | ...now, if you're using OpenGL, there's a limit to how big it can be, you must use powers of 2. |
09:53 | < MyCatVerbs> | Vornicus: given I'm starting from a half a gigabyte here and rendering into a 1600x1200 framebuffer with double buffering if I'm feeling *extravagant*. Where's the figure of 89Mpx coming from? |
09:54 | <@Vornicus> | 512 megabytes |
09:54 | <@Vornicus> | divided by 6 bytes per pixel |
09:54 | <@Vornicus> | is 89 megapixels. |
09:54 | <@Vornicus> | now, that said |
09:54 | < MyCatVerbs> | Uhhhhh |
09:54 | < MyCatVerbs> | Where the Heck did six bytes per pixel come from? |
09:54 | <@Vornicus> | 3 bytes color, 3 bytes heightfield. |
09:55 | < MyCatVerbs> | Ahhhh. I was assuming a total lack of interest in wasting memory on colour. =) |
09:55 | <@Vornicus> | ah |
09:56 | < MyCatVerbs> | Besides, you could get away with sixteen bit colour anyway. The Earth's surface doesn't run to exotic hues, at least not often enough that you'd notice the loss from dithering. =) |
09:57 | < MyCatVerbs> | Four bytes per pixel would perhaps be the best compromise? Like you pointed out, 24bpp heightmaps are excessive, and we wouldn't really need 24 bit colour. A hundred and twenty megapixels I could live with. =D |
09:58 | <@Vornicus> | 4 bytes per pixel gets you 16384x8192 |
09:59 | < MyCatVerbs> | (Plus, most people kinda blanche at you if you present them with a black and white image, eck.) |
09:59 | < MyCatVerbs> | Vornicus: great. We'll be able to zoom in until they notice the JPEG artifacts. ^^ |
10:00 | <@Vornicus> | Conveniently, NASA produces images of earth at higher resolution than that. |
10:01 | < MyCatVerbs> | Well, not bad. Roughly a pixel every three metres longditudinally and one every sixish latitudinally. |
10:01 | <@Vornicus> | (but not by much) |
10:01 | <@Vornicus> | um |
10:01 | < MyCatVerbs> | Vornicus: ...did I at least get that down to within an order of magnitude? >> |
10:02 | <@Vornicus> | try one every 1.22km in both directions on the equator. |
10:02 | < MyCatVerbs> | Fuck, three out. |
10:03 | < MyCatVerbs> | Vornicus: wait, what 40Mm by sixteen kibipixels gives me 2441 metres. |
10:03 | <@Vornicus> | ...ah, yes, that is because i got the damn numbers backwards. |
10:03 | < MyCatVerbs> | Can't *quite* see my house from there, but still. Moore's law in another two decades maybe. |
10:05 | <@Vornicus> | There's a reason Google Earth uses dynamic loading of this stuff. |
10:05 | < MyCatVerbs> | Vornicus: how does that get us identical resolution north-south to east-west, though? The circumference is /roughly/ the same both ways around and we've twice the pixels "horizontally" |
10:05 | <@Vornicus> | Right, but it's only halfway around the world from the north pole to the south pole |
10:06 | | * MyCatVerbs facepalm. |
10:06 | < MyCatVerbs> | Danke. |
10:49 | | Vornicus is now known as Vornicus-Latens |
11:10 | | Mahal is now known as MahalSLEP |
11:36 | | GeekSoldier|Sleep is now known as GeekSoldier |
11:38 | | GeekSoldier_ [~Rob@Nightstar-3520.pools.arcor-ip.net] has joined #code |
11:40 | | GeekSoldier [~Rob@Nightstar-4946.pools.arcor-ip.net] has quit [Ping Timeout] |
11:45 | | Thaqui [~Thaqui@Nightstar-25913.jetstream.xtra.co.nz] has left #code [Leaving] |
11:56 | | GeekSoldier_ is now known as GeekSoldier |
12:58 | <@ToxicFrog> | MyCatVerbs: you used 'kibi'. |
12:58 | <@ToxicFrog> | I'm sorry, but you have to die now. |
12:58 | | * ToxicFrog consigns MCV to the flames. |
12:59 | | * EvilDarkLord watches somewhat wistfully, knowing these things have no pretty solution. |
13:39 | | Reiver is now known as ReivZzz |
14:48 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
14:48 | | mode/#code [+o gnolam] by ChanServ |
14:54 | | ReivZzz is now known as ReivSLEP |
15:22 | | ToxicFrog is now known as ToxicFrog|W`rkn |
17:19 | | You're now known as TheWatcher[afk] |
18:42 | | GeekSoldier [~Rob@Nightstar-3520.pools.arcor-ip.net] has quit [Ping Timeout] |
18:44 | | You're now known as TheWatcher |
18:52 | | GeekSoldier [~Rob@Nightstar-6745.pools.arcor-ip.net] has joined #code |
19:00 | | Vornicus-Latens is now known as Vornicus |
19:08 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Quit: Leaving] |
19:08 | | Vornicus [~vorn@67.50.40.ns-3674] has joined #code |
19:08 | | mode/#code [+o Vornicus] by ChanServ |
19:08 | | MahalSLEP is now known as Mahal |
19:59 | | Chalcedon [~Chalcedon@Nightstar-1216.ue.woosh.co.nz] has joined #code |
19:59 | | mode/#code [+o Chalcedon] by ChanServ |
20:17 | <@TheWatcher> | ANyoen recommend a wysiwyg web editor with css editing facilties that isn't dreamweaver and doesn't suck? |
20:17 | <@TheWatcher> | *anyone |
20:20 | <@Vornicus> | From what I have seen, the only web editor that doesn't suck entirely is Dreamweaver. |
20:22 | <@TheWatcher> | This is what I had feared. |
20:23 | <@TheWatcher> | Blegh. |
20:25 | | Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: MyCatVerbs, @Pi, ReivSLEP, EvilDarkLord, GeekSoldier, @Derakon[AFK], @AnnoDomini, @jerith, @Chalain |
20:25 | | Netsplit over, joins: Chalain, jerith |
20:25 | | mode/#code [+o Chalain] by ChanServ |
20:25 | | Netsplit over, joins: EvilDarkLord |
20:25 | | Netsplit over, joins: Derakon[AFK] |
20:25 | | Netsplit over, joins: Pi |
20:25 | | mode/#code [+o jerith] by ChanServ |
20:25 | | Netsplit over, joins: MyCatVerbs, AnnoDomini |
20:25 | | mode/#code [+o Pi] by ChanServ |
20:25 | | Netsplit over, joins: GeekSoldier |
20:25 | | ServerMode/#Code [+o Derakon[AFK]] by Troika.TX.US.Nightstar.Net |
20:25 | | mode/#code [+o AnnoDomini] by ChanServ |
20:25 | | mode/#code [-o Derakon[AFK]] by ChanServ |
20:26 | | jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout] |
20:26 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has quit [Ping Timeout] |
20:26 | | jerith [~jerith@IRCop.Nightstar.Net] has joined #code |
20:26 | | mode/#code [+o jerith] by ChanServ |
20:26 | | * TheWatcher hrms, wonders what restrictions the trial version has |
20:26 | | GeekSoldier [~Rob@Nightstar-6745.pools.arcor-ip.net] has quit [Ping Timeout] |
20:26 | <@TheWatcher> | IF it's just a 30 day limit, I can live with that... |
20:26 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has joined #code |
20:27 | | ReivSLEP [~reaverta@IRCop.Nightstar.Net] has joined #Code |
20:27 | | GeekSoldier [~Rob@Nightstar-6745.pools.arcor-ip.net] has joined #code |
20:27 | | EvilDarkLord is now known as NSGuest-2037 |
20:29 | | NSGuest-2037 is now known as EvilDarkLord |
20:37 | | GeekSoldier is now known as GS|Sleep |
20:41 | | Chalcedon is now known as ChalcyAFK |
20:55 | | Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code |
21:14 | | Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: MyCatVerbs, @Pi, ReivSLEP, Derakon[AFK], @jerith, @AnnoDomini, GS|Sleep, @Chalain |
21:14 | | Netsplit over, joins: Chalain, Derakon[AFK], Pi |
21:14 | | mode/#code [+o Chalain] by ChanServ |
21:14 | | Netsplit over, joins: MyCatVerbs, jerith |
21:14 | | mode/#code [+o Pi] by ChanServ |
21:14 | | Netsplit over, joins: ReivSLEP, GS|Sleep |
21:14 | | mode/#code [+o jerith] by ChanServ |
21:15 | | jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout] |
21:15 | | jerith [~jerith@IRCop.Nightstar.Net] has joined #code |
21:15 | | mode/#code [+o jerith] by ChanServ |
21:16 | | AnnoDomini [~farkoff@Nightstar-29660.neoplus.adsl.tpnet.pl] has joined #Code |
21:16 | | mode/#code [+o AnnoDomini] by ChanServ |
21:38 | | mode/#code [+o gnolam] by ChanServ |
21:57 | < MyCatVerbs> | ToxicFrog|W`rkn: aieee, mine ashes! |
22:20 | | Takyoji [~Takyoji@Nightstar-25812.dhcp.roch.mn.charter.com] has joined #code |
22:22 | < Takyoji> | Does anyone happen to have the equation to find the meaning of life? |
22:23 | | Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, les jouets de me, na?tre Clair enfant voire.] |
22:27 | <@gnolam> | the meaning of life = 42 - the universe and everything |
22:28 | < Takyoji> | 5.125612 * 10^50000000? |
22:41 | | ChalcyAFK is now known as Chalcedon |
22:54 | | Mahal is now known as MahalWork |
23:15 | | TakyojiClone [~Takyoji@Nightstar-25812.dhcp.roch.mn.charter.com] has joined #code |
23:16 | | Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: MyCatVerbs, @Pi, ReivSLEP, Derakon[AFK], @AnnoDomini, @jerith, Takyoji, GS|Sleep, @Chalain |
23:16 | | Netsplit over, joins: Chalain, Derakon[AFK], MyCatVerbs, ReivSLEP, GS|Sleep |
23:16 | | Netsplit over, joins: jerith |
23:16 | | mode/#code [+o Chalain] by ChanServ |
23:16 | | Netsplit over, joins: Takyoji |
23:16 | | mode/#code [+o jerith] by ChanServ |
23:16 | | MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has quit [Ping Timeout] |
23:17 | | jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout] |
23:17 | | mode/#code [+o Pi] by ChanServ |
23:17 | | Netsplit over, joins: Pi |
23:17 | | jerith [~jerith@IRCop.Nightstar.Net] has joined #code |
23:17 | | mode/#code [+o jerith] by ChanServ |
23:17 | | MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has joined #code |
23:17 | | GeekSoldier_ [~Rob@Nightstar-6745.pools.arcor-ip.net] has joined #code |
23:17 | | GS|Sleep [~Rob@Nightstar-6745.pools.arcor-ip.net] has quit [Ping Timeout] |
23:17 | | Takyoji [~Takyoji@Nightstar-25812.dhcp.roch.mn.charter.com] has quit [Ping Timeout] |
23:18 | | Netsplit over, joins: AnnoDomini |
23:18 | | mode/#code [+o AnnoDomini] by ChanServ |
--- Log closed Tue May 22 23:21:24 2007 |
--- Log opened Tue May 22 23:23:04 2007 |
23:23 | | TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
23:23 | | Irssi: #code: Total of 18 nicks [10 ops, 0 halfops, 0 voices, 8 normal] |
23:23 | | mode/#code [+o TheWatcher] by ChanServ |
23:23 | | Irssi: Join to #code was synced in 29 secs |
23:24 | | You're now known as TheWatcher[T-2] |
23:27 | | You're now known as TheWatcher[zZzZ] |
23:31 | <@Chalcedon> | hrm |
23:32 | <@Chalcedon> | If I have a loop, at the start of which I declare: string variable = ""; it should reset to blank (ie "") each time the loop is run, yes? |
23:34 | < TakyojiClone> | A loop should always run no matter what |
23:34 | | TakyojiClone is now known as Takyoji |
23:35 | <@Chalcedon> | thats not what I meant |
23:37 | <@Chalcedon> | the loop runs, but doesn't reset the string variable to "", I can't figure out why. |
23:38 | < Takyoji> | Just paste your script so I can understand a little easier |
23:39 | <@Chalcedon> | it resets the integers but not the strings |
23:39 | < Takyoji> | what not just try: string variable = null;? |
23:39 | <@Chalcedon> | that has the same effect |
23:40 | < Takyoji> | In PHP it doesn't ironically |
23:40 | <@Chalcedon> | at the moment it accumulates all the iterations through the loop in the variable. |
23:41 | < Takyoji> | So you mean it works on integers but not strings? |
23:41 | <@Chalcedon> | yes |
23:41 | < Takyoji> | Hmm, what language? |
23:41 | <@Chalcedon> | C# |
23:42 | < Takyoji> | Ahh yes, I use C# as well |
23:42 | <@Chalcedon> | it is definitely not my favourite language |
23:42 | < Takyoji> | What compiler are you using? |
23:43 | < Takyoji> | Microsoft's? |
23:44 | <@Chalcedon> | yeah |
23:44 | <@Chalcedon> | we don't have any choice on that one |
23:44 | <@Chalcedon> | (it's for a course) |
23:45 | | * Takyoji shrugs |
23:45 | < Takyoji> | Just paste the portion that's giving you trouble on http://pastie.caboo.se/ |
23:45 | | * Chalcedon shakes her head |
23:45 | < Takyoji> | Why not though? |
23:46 | <@Chalcedon> | I don't like putting stuff in there, call me weird if you like. |
23:46 | <@Chalcedon> | I /know/ the loop is correct, I just can't figure out why the hell it wont reset the bloody variable to "" |
23:46 | < Takyoji> | Have a webserver? |
23:46 | < Takyoji> | one second, I'll brb |
23:47 | <@Chalcedon> | no. |
23:47 | <@Chalcedon> | never mind, I'll fix it myself. |
23:52 | < Takyoji> | DAMNIT.. My focus lens on my Nikon D50 in jammed... |
23:52 | < Takyoji> | $300 lens |
23:52 | < Takyoji> | Apparently my brother doesn't know shit on how to keep it in a safe location... |
--- Log closed Wed May 23 00:00:42 2007 |