|
'sup?
Nov 22, 2007 17:16:39 GMT
Post by Martin Ljung on Nov 22, 2007 17:16:39 GMT
Hoi, barbie, what's a good database engine that doesn't require any running services so you can upload it anywhere, and which works with asp? Something file-based, I'm guessing.
I only ever really used MySQL and ISQL online, and those require services/servers and stuff.
Been looking at SQLite and JET, but I don't really know much about how they work.
|
|
|
'sup?
Nov 22, 2007 23:35:28 GMT
Post by JPaul on Nov 22, 2007 23:35:28 GMT
i have a girlfriend as of an hour ago. ;D Mon the Hoops.
|
|
|
'sup?
Nov 23, 2007 13:52:15 GMT
Post by barbarella on Nov 23, 2007 13:52:15 GMT
Hoi, barbie, what's a good database engine that doesn't require any running services so you can upload it anywhere, and which works with asp? Something file-based, I'm guessing. I only ever really used MySQL and ISQL online, and those require services/servers and stuff. Been looking at SQLite and JET, but I don't really know much about how they work. Sorry fellah, I haven't really got the foggiest idea - it's not something that we do :¬\ All our stuff connects back to the SQL server
|
|
|
'sup?
Nov 24, 2007 2:02:40 GMT
Post by Martin Ljung on Nov 24, 2007 2:02:40 GMT
<!doctype html public "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"> <html> <head> <title>Unfinished game wot I made</title> <script type="text/javascript" language="JavaScript"> var sekunder = 0; var timerID = null; var korTimer = false; var wurd = ""; var wurds = new Array; //array containing words. wurds[0] = "antidisestablishmentarianism"; wurds[1] = "biomorph"; wurds[2] = "cellar door"; wurds[3] = "dirigible"; wurds[4] = "equilibrium"; wurds[5] = "equinox"; wurds[6] = "finicky"; wurds[7] = "gargantuan"; wurds[8] = "hallowed"; wurds[9] = "iridescent"; wurds[10] = "luminescent"; wurds[11] = "machiavellian"; wurds[12] = "nimrod"; wurds[13] = "orb"; wurds[14] = "quintessential"; wurds[15] = "raucous"; wurds[16] = "soma"; wurds[17] = "scintillating"; wurds[18] = "solenoid"; wurds[19] = "xenomorph"; function SkapaTimer() //starts a timer, if one isn't already running. { if(!korTimer) { p = Math.round(19*Math.random()); wurd = wurds ; //puts a random word in wurd. document.Spel.svaret.focus(); //puts focus() on the answer field. sekunder = 0; StoppaTimer(); //stops and restarts. StartaTimer(); } } function StoppaTimer() //Stops the timer if it's running. { if(korTimer) { tehBody = document.getElementsByTagName("body")[0]; tehBodyElements = tehBody.getElementsByTagName("p"); messageSlot = tehBodyElements[0] message = document.createTextNode(wurd+ " " + (sekunder - 1) + ", "); messageSlot.appendChild(message); //The word and the time is inserted. document.Spel.svaret.value = ""; //Empties the answer-field. clearTimeout(timerID); korTimer = false; } } function StartaTimer() { document.Spel.Tid.value = sekunder; //shows the timer. document.Spel.ordet.value = wurd; //puts a word in the word-field. sekunder = sekunder + 1; korTimer = true; timerID = self.setTimeout("StartaTimer()", 1000); } function JamforSvar(tangent) //compares the answer to wurd. { var enter; if(window.event) { enter = tangent.keyCode; } else { enter = tangent.which; } if(enter == 13) //...when you've pressed enter. { if(document.Spel.svaret.value == wurd) { StoppaTimer(); window.alert("Next word!") sekunder = 0; p = Math.round(19*Math.random()); wurd = wurds ; StartaTimer(); } else { window.alert("Wrong answer, continue") } } } </script> </head> <body bgcolor="white"> <form name="Spel" action="#"> <center> Copy the word exactly and press enter. <br /> <input type="text" name="ordet" size=50 readonly="readonly"> <br /> <input name="svaret" size=50 onkeypress="javascript:JamforSvar(event);"> <br /> <input type="button" value="Start new game" onclick="SkapaTimer();"> <input name="Tid" size=5 readonly="readonly"> <input type="button" value="Stop the game" onclick="StoppaTimer();"> <br /> <input type="button" value="Reset results" onClick="window.location.reload();return false;"> <p></p> </center> </form> </body> </html>
|
|
|
'sup?
Nov 24, 2007 2:03:25 GMT
Post by Martin Ljung on Nov 24, 2007 2:03:25 GMT
^no reason, like.
Made that for a lab assignment the term before last, I reckon it could be turned into something fun, like.
|
|
|
'sup?
Nov 24, 2007 11:24:37 GMT
Post by Lord Bluminghall on Nov 24, 2007 11:24:37 GMT
Yay, I actually partly understand that, that means I'm learning.
That's a really nasty way of filling an array like, what language is that?
|
|
|
'sup?
Nov 24, 2007 13:28:06 GMT
Post by Martin Ljung on Nov 24, 2007 13:28:06 GMT
Javascript, and html DHTML, if you will. You can copy the entire code into a txt-file, and change the extension to htm or html, if you'd like to try it. I was just starting to learn it at that point, though I'm not sure their's a better way of filling one without the aid of a loop, a database grid, and a more flexible language, like. Also, nowadays I'd probably have put the javascript in its own file, out of habit, if nothing else.
|
|
|
'sup?
Nov 25, 2007 1:30:59 GMT
Post by Martin Ljung on Nov 25, 2007 1:30:59 GMT
'k, that was a dirty lie that was, I think you can fill one doing something like "var wurds = ['antidisestablishmentarianism', 'biomorph'..." and so forth. I did no know that worked in js then, though.
I didn't know you could fill arrays with arrays either, but apparently you can, meaning that you can pretty much make multidimensional arrays even in javascript, which is pretty hawt. And, apparently Javascript works the same as Java when it comes to object references and memory, which pwns.
|
|
|
'sup?
Nov 26, 2007 11:06:54 GMT
Post by barbarella on Nov 26, 2007 11:06:54 GMT
<!doctype html public "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"> <html> <head> <title>Unfinished game wot I made</title> <script type="text/javascript" language="JavaScript"> var sekunder = 0; var timerID = null; var korTimer = false; var wurd = ""; var wurds = new Array; //array containing words. wurds[0] = "antidisestablishmentarianism"; wurds[1] = "biomorph"; wurds[2] = "cellar door"; wurds[3] = "dirigible"; wurds[4] = "equilibrium"; wurds[5] = "equinox"; wurds[6] = "finicky"; wurds[7] = "gargantuan"; wurds[8] = "hallowed"; wurds[9] = "iridescent"; wurds[10] = "luminescent"; wurds[11] = "machiavellian"; wurds[12] = "nimrod"; wurds[13] = "orb"; wurds[14] = "quintessential"; wurds[15] = "raucous"; wurds[16] = "soma"; wurds[17] = "scintillating"; wurds[18] = "solenoid"; wurds[19] = "xenomorph"; function SkapaTimer() //starts a timer, if one isn't already running. { if(!korTimer) { p = Math.round(19*Math.random()); wurd = wurds ; //puts a random word in wurd. document.Spel.svaret.focus(); //puts focus() on the answer field. sekunder = 0; StoppaTimer(); //stops and restarts. StartaTimer(); } } function StoppaTimer() //Stops the timer if it's running. { if(korTimer) { tehBody = document.getElementsByTagName("body")[0]; tehBodyElements = tehBody.getElementsByTagName("p"); messageSlot = tehBodyElements[0] message = document.createTextNode(wurd+ " " + (sekunder - 1) + ", "); messageSlot.appendChild(message); //The word and the time is inserted. document.Spel.svaret.value = ""; //Empties the answer-field. clearTimeout(timerID); korTimer = false; } } function StartaTimer() { document.Spel.Tid.value = sekunder; //shows the timer. document.Spel.ordet.value = wurd; //puts a word in the word-field. sekunder = sekunder + 1; korTimer = true; timerID = self.setTimeout("StartaTimer()", 1000); } function JamforSvar(tangent) //compares the answer to wurd. { var enter; if(window.event) { enter = tangent.keyCode; } else { enter = tangent.which; } if(enter == 13) //...when you've pressed enter. { if(document.Spel.svaret.value == wurd) { StoppaTimer(); window.alert("Next word!") sekunder = 0; p = Math.round(19*Math.random()); wurd = wurds ; StartaTimer(); } else { window.alert("Wrong answer, continue") } } } </script> </head> <body bgcolor="white"> <form name="Spel" action="#"> <center> Copy the word exactly and press enter. <br /> <input type="text" name="ordet" size=50 readonly="readonly"> <br /> <input name="svaret" size=50 onkeypress="javascript:JamforSvar(event);"> <br /> <input type="button" value="Start new game" onclick="SkapaTimer();"> <input name="Tid" size=5 readonly="readonly"> <input type="button" value="Stop the game" onclick="StoppaTimer();"> <br /> <input type="button" value="Reset results" onClick="window.location.reload();return false;"> <p></p> </center> </form> </body> </html> Cool!
|
|
|
'sup?
Nov 29, 2007 18:48:12 GMT
Post by Martin Ljung on Nov 29, 2007 18:48:12 GMT
you know, in many ways I now have liek the bestest job in the world.
I can code wherever the hell I want to, whenever I want to (usually at home, until four in the morning), the salary per hour's not bad, and I like the people I'm wurking with, and they're are no deadlines. If only I could do this full-time, like, I'd never want to do owt else.
|
|
|
'sup?
Nov 30, 2007 9:31:57 GMT
Post by barbarella on Nov 30, 2007 9:31:57 GMT
It sounds like the sort of thing I'd have liked at your age Well done, mate.
|
|
|
'sup?
Nov 30, 2007 12:57:45 GMT
Post by Lord Bluminghall on Nov 30, 2007 12:57:45 GMT
I wish I had your a job right now. I've reached that stage where I just feel like dropping out of uni, just because I have to do this bollocks piece of coursework with Director, this usually happens every couple of weeks, when I get another Coursework deadline. The stupid tickling thing just crashes every 2 minutes, and I'm getting nowhere with it.
I'm actually too furious to work now, so I'm venting at the moderation. I'll probably spend the rest of the day watching Curb Your Enthusiasm.
|
|
|
'sup?
Dec 3, 2007 10:59:27 GMT
Post by Martin Ljung on Dec 3, 2007 10:59:27 GMT
How to tick me off, like:
I've been doing some stuff off and on, wurk-wise, this weekend. Since I'm sort of in charge of the other bloke, delegating stuff to him and that, I made sure he had the right software, and I had to solve this big utf8-related problem and whatnot on friday, which screwed up my rhytm a bit, so I've been keeping odd hours and that, and did some late night programming.
But I've got this intervju in a bit over an hour, and thus I made sure I'd have enough sleep before then. Set my alarm to go off right about now.
Only, around nine-ish, like, some woman from the university calls me up and asks me to come to an intervju over their, which is kewl, thus far. But since I'm a bit confused, what with having been woken up I, politely, asks her to send me an e-mail saying when she wants me to come around and when (when you're half asleep it's easy to get things wrong, and being a computer-related gig, you'd think they knew how to handle that sort of thing), not to much I'm thinking. And on top of that, it gives them a chance to tell you owt they forgot to say/I forgot to ask.
Only, first of all, they wanted my application in paper form, so I guess she hasn't got my e-mail in the system like. But seeing as how it's on the line below my number on my papers, that ought not be a problem, only "she hasn't got my papers", but she says "sure" and asks for it, nonetheless, so we're ok thus far.
But I figure that I owe her an explanation, what with her taking the time to do that (although it really ought not be a problem), so I sa I've been programming late, and that she woke me up (no recriminations or nowt, mind).
Only first she gets defensive, then she says she had no idea I was keeping those kinds of hours, with disdain, like. That pretty much woke me up, and pissed me off, not that I let that show, though.
And now she's not sent me any mail.
I'm picking my employer as much as they pick me, I say (the current climes on the job-market means their's about to be a shortage of people with my qualifications, for one thing), and I don't like what I've seen thus far.
|
|
|
'sup?
Dec 3, 2007 19:40:03 GMT
Post by Martin Ljung on Dec 3, 2007 19:40:03 GMT
They'd better serve me cocktails when I get their is all I'm saying.
|
|
|
'sup?
Dec 3, 2007 23:07:29 GMT
Post by JPaul on Dec 3, 2007 23:07:29 GMT
:lol:
They better be wearing party frocks as well.
That's just the guys like.
|
|
|
'sup?
Dec 4, 2007 9:15:41 GMT
Post by Lord Bluminghall on Dec 4, 2007 9:15:41 GMT
and Party Rings!
|
|
|
'sup?
Dec 11, 2007 23:38:50 GMT
Post by Martin Ljung on Dec 11, 2007 23:38:50 GMT
function checkLength(id) { document.getElementById("textCounter").value = document.getElementById(id).value.length + " chars. Descriptions with over 255 chars won't be submitted."; }
Pretty effing useful ftw. So incredibly simple to write too. Too bad half the internets hasn't figured out to do it in real-time, like. 'snot as if it's hard to setInterval on it on focus, or at least run it onKeyPress.
|
|
|
'sup?
Dec 12, 2007 14:26:12 GMT
Post by Lord Bluminghall on Dec 12, 2007 14:26:12 GMT
Stop posting Javascript, I don't know it, like.
texture scene; sampler sceneSampler = sampler_state { Texture = (scene); ADDRESSU = CLAMP; ADDRESSV = CLAMP; MAGFILTER = LINEAR; MINFILTER = LINEAR; MIPFILTER = LINEAR; };
float xcenter = 0.5; //center of the screen float ycenter = 0.5; float blurIntensity; float4 PixelShader(float2 texCoord : TEXCOORD0) : COLOR0 { float4 color = tex2D(sceneSampler,texCoord);
float2 coord = texCoord; for( int i=0; i<6; i++) { coord.x -= blurIntensity * (coord.x - xcenter) / 30; coord.y -= blurIntensity * (coord.y - ycenter) / 30; color +=tex2D(sceneSampler,coord); } color = color / 7; return color; }
technique { pass { PixelShader = compile ps_2_0 PixelShader(); } }
I don't really know how that works, but it does a radial blur or something.
|
|
|
'sup?
Dec 12, 2007 15:44:19 GMT
Post by barbarella on Dec 12, 2007 15:44:19 GMT
What language is that?
|
|
|
'sup?
Dec 12, 2007 16:04:03 GMT
Post by Martin Ljung on Dec 12, 2007 16:04:03 GMT
Is that some openGL-thing, like?
|
|
|
'sup?
Dec 13, 2007 9:42:14 GMT
Post by Lord Bluminghall on Dec 13, 2007 9:42:14 GMT
High Level Shader Language apparently, I don't really know.
|
|
|
'sup?
Dec 15, 2007 4:19:37 GMT
Post by Martin Ljung on Dec 15, 2007 4:19:37 GMT
I've seen code a bit like it, when my brother did a course with open GL, pretty orsum stuff.
I'd like to learn one of them languages some time.
|
|
|
'sup?
Dec 15, 2007 10:07:57 GMT
Post by Lord Bluminghall on Dec 15, 2007 10:07:57 GMT
I'm learning C# with XNA at the moment. It's quite brilliant because it's so completely hand-holdy. All the tutorials pretty much tell you exactly how to make any game, and Visual Studio tells you almost all the code as you type it.
I wish I had learnt how to use the debugger thingie for C++ last year.
Microsoft's documentation is complete bollocks though.
|
|
|
'sup?
Dec 30, 2007 17:22:29 GMT
Post by Martin Ljung on Dec 30, 2007 17:22:29 GMT
|
|
|
'sup?
Jan 7, 2008 6:34:42 GMT
Post by Martin Ljung on Jan 7, 2008 6:34:42 GMT
Just realised that that tag thing on fst ought to be pretty abusable.
O hai, bittorrent invite section.
|
|