Everything posted by samm
-
new monitor
Me no speak english, apparently... What I meant to say was: "Turn off dynamic contrast and overdrive, you might be less disappointed than with these "quality improving" features enabled"
-
new monitor
20'000:1 and 2ms? Turn off dynamic contrast and overdrive, you might be less disappointed then without that "quality improving" features. Tfts are always a thing to read A LOT about before buying.
-
Judge reviewing Pirate Bay judge for bias is himself removed for bias
More mafia techniques: This news came out because one of the accused wrote it in his blogs. This will not be allowed in the future, as the accused are not allowed to speak about the trial anymore until the final sentence - how can such an inhibition be legal? Meanwhile, Sony, EMI and Warner are appealing for higher compensations and a cease and desist order.
-
The Music Thread
Killing Joke - Invocation Sometimes, youtube music videos are just sooo fitting
-
What you did today
Finally proved a bit more resistant to whiskey on thursday, even if I didn't drink any alcohol for quite a while. And how glad I was, fearing the worst after past experiences of sleeplessness and sickness. Today, I had my longest day of work ever, 8am to midnight, with no lunch break, after a night of four hours. How lucky then that the semester is over soon, don't know how healthy such a 'life'style would be in the long run... It's good to know that I can survive exceptions like this without immediate consequences. It's an intense learning period for me of late anyway. A lot about relationships, trust, but also stuff like math and programming (looking at numerical methods again to solve interpolation, integration, ode, ..., and implementing an evolutionary algorithm in a very restricted (compared to my normal programming environment) hardware base (512 byte rom, atmega8 controller, has to react on sensory input in real time etc.)), tight schedules, responsibility and whatnot, and all the while keeping in touch with old friends and ... wasting time on the internet
-
Questions about website development
Things that might help you: http://www.ajaxf1.com/tutorial/ajax-php.html?page=2 and mainly http://www.pixel2life.com/forums/index.php?showtopic=29905 If your file is a php file already, you can use the action attribute of the form tag (not action tag ) to redirect to the file itself, and catch all the post stuff in it. But I suppose you only want one div or something to reload, not the entire page, and use AJAX for that purpose.
-
What you did today
You got a Duncan (or not ) and me probably able to teach you Today would have been a day off, but, as usual, the robot took up all the time left until the evening, and now I had to read several norms on software quality for an examn on monday I think I'll be unable to remember one word of what abstract sh**load of terminology I just tried to stuff in my head...
-
The Music Thread
Collide Faith and the Muse - The Silver Circle
-
Planescape Torment mods!!!
Tried setting the affinity to one core?
-
How well does Integration of Immigrants work in your country?
Ain't it obvious
-
The Music Thread
Hm, thanks for the answer, even if it confirms what I heard so far The Eden House - Play Dead
-
Unusual Names
Wha - you're called Bug Henry? Pair of mean parents you got there.
-
Online Database Security
Sure, no problem, I like to share stuff I (think I) know
-
What you did today
taks, , but that's not true in my case (both) - I'm engaged to marry, and the rest has already once been censored on these boards because it would corrupt innocent children's minds or something
-
The Music Thread
How is it? Looked too friggin mainstream and reviews sounded that way too - is there anything to it? Dark Tranquillity - Indifferent Suns
-
What you did today
Woohoo! 14 hours of work (interrupted by travel time between university and home and buying something to eat) over Let's see if it's a date tomorrow or just more work. Probably a bit of both
-
Online Database Security
They will only see whatever the php script outputs. Puts out. Well, you know what I mean As an example, look at the source of this forum. No php tags visible Hehe, sure, maybe I can already offer some explanations on point 4 in advance (I'm bored / overworked, so I take my time): If someone posts comments, they have to be caught in the PHP script, and assigned to a variable, like $comment. You can then use "$comment = strip_tags($comment)", which will delete all HTML-Tags from a comment, to prevent entering <script>-Tags and stuff. Or you can use htmlspecialchars to convert < to < etc., so it will be shown in the comment instead of removed, but it won't be interpreted by your browser. I assume that's what they do on these boards, as I could write <script> and it is still readable Then you can use "$comment = mysql_real_escape_string($comment)", which escapes ", ' and the like to \", \' etc., so SQL injection attacks are more difficult. (When later on displaying comments containing escaped characters, you may have to use strip_slashes on them first to remove the escapes again.) On preparing a statement for mySql: See here. I.e. you'd use $stmt = $mysqli->prepare("CALL sp_insert_comment(?)") $stmt->bind_param('s', $comment); $stmt->execute(); $stmt->close(); I hope that will help you when you're implementing
-
Online Database Security
So... If anyone can access the PHP and read the script, you have either done something seriously wrong, or they have broken into the server anyway, so who cares if they can read the DB's password? PHP is ALWAYS interpreted before the user sees anything of it. Just make sure that the hoster doesn't display error messages to the public, or they can guess some about the internal structure of the server and about your script in case of an error. Anyway: Four steps: 1. If they only need to enter comments, don't let them write to the database. 2. Create a new user, grant him EXECUTE on the ONE table used for comments (and nothing else!). 3. Create two stored procedures - one that SELECTs the comments, one that INSERTs them. 4. For the first one - just call it. For the second one: Filter the comments by using mysql_real_escape_string and strip_tags, than use a prepared statement with the entered comment as argument to execute the SQL command that EXECUTEs the second procedure. That's about as safe as it will get, I think. PM me with anonymized code (no real Passwords or paths in it) if you've got detailed questions you don't want to share openly.
-
Pictures of your games
Looks interesting, probably because these are photographs from a screen Gives them such a realistic touch.
-
What you did today
Was she, by chance, a target to bullying? Because I know such violent reactions to seemingly small things from people that were subject to constant teasing.
-
Unusual Names
Sometimes a foreign name alone, no matter if it sounds anything like a word in a more usual language, is a heavy burden to carry. Kids with extraorinary names are targets immediately.
-
Unusual Names
I was aware of that one, but that wouldn't rule out Jack being short for Jacob, too. See the Rich / **** issue, Will / Bill, Rob / Bob etc., why not Jack / Jake.
-
The Music Thread
Lamb - Sweet What ever one can call that (drum'n'bass infested something), it's great
-
Microsoft expanding to ARM architecture?
With netbook sales slowing, and Intel "marketing power" (aka. "we pay you if you exclusively use our chips") possibly broken here in Europe, who knows
-
Unusual Names
Thanks for the info on Jack! And yeah, Adrian Wanker another player was called Mark Streit (quarrel). I also find indian names amusing, like Tharamakulasingam Submaraniam (random name found on google), they remind me of dragon names in DnD. Then there are poor people like Uwe Schwanz-Nagel (Uwe d***-nail), or lucky ones like Fabienne H