CIPWTTKT&GC V0x0F (v15): Scoot and Deeps Drama Diaries
25,625 replies, posted
I am in line at target freezing!
[QUOTE=4RT1LL3RY;33426418]So speaking of hard drives, SSDs, and their performance.
I found a benchmark from an old Ramdisk I did in XP, its only 1GB and its from DDR2-667mhz. What speed does a DDR3 1600mhz Ramdisk get, we'll find out next week when I upgrade my system to that.
[IMG]http://i25.photobucket.com/albums/c82/Jjlugnut/ramdisk.png[/IMG][/QUOTE]
Now you can boot up and crash IE6 even faster!
[QUOTE=Shadaez;33426191]usps isn't subsidized[/QUOTE]
Really? I thought it was.
[editline]25th November 2011[/editline]
[QUOTE=4RT1LL3RY;33426418]So speaking of hard drives, SSDs, and their performance.
I found a benchmark from an old Ramdisk I did in XP, its only 1GB and its from DDR2-667mhz. What speed does a DDR3 1600mhz Ramdisk get, we'll find out next week when I upgrade my system to that.
[IMG]http://i25.photobucket.com/albums/c82/Jjlugnut/ramdisk.png[/IMG][/QUOTE]
I ran this once on my DDR3 1600 dual channel ramdisk.
[img]http://puu.sh/9hLx[/img]
[IMG]http://i.imgur.com/ajrRO.png[/IMG]
This confuses me.
[QUOTE=Shadaez;33424502][img]http://puu.sh/9hdB[/img]
success
awesome deal, buy it if you need a new mouse[/QUOTE]
I have a G500 too but I broke clicking the mousewheel out of rage. :v:
That was easily worked around though, since I could just bind pushing the mousewheel left/right and the button next the mouse4/5 to mouse3.
Me, Shroom, Wingless, and Pepper played some Dead Island, was pretty fun.
[editline]25th November 2011[/editline]
Word of advice, don't let Wingless or Pepper Drive.
[QUOTE=SpartanV2;33427945]Me, Shroom, Wingless, and Pepper played some Dead Island, was pretty fun.
[editline]25th November 2011[/editline]
Word of advice, don't let Wingless or Pepper Drive.[/QUOTE]
Is it worth the amount they ask for it?
[QUOTE=Dr. Deeps;33427961]Is it worth the amount they ask for it?[/QUOTE]
We all got it for free, there was some free keys going around in the chat. I was going to post them but they all got used. It's fun though, just never trust Austrailians, you turn around and then all the sudden they've thrown explosives at you and ran off.
If anyone knows how to subtract or add a number with PHP and SQL easily in the way I need, now would be a good time to spill the beans.
I have a table with information from a database query.
Item name, item number, quantity, shelf location etc.
They want a plus and a minus sign next to the quantity so you can click that and it changes it.
I can think of a few ways to do it, I can redirect them to another .php script and handle it there and then redirect them back to the original page, but that's fucking stupid.
How I have it setup right now:
<td><a href="sub.php?id=<?=$items[$i]["itemid"]?>">-</a> <?=$items[$i]["kpl"]?> <a href="add.php?id=<?=$items[$i]["itemid"]?>">+</a> </td>
Feel free to ask anything.
[QUOTE=nikomo;33428440]If anyone knows how to subtract or add a number with PHP and SQL easily in the way I need, now would be a good time to spill the beans.
I have a table with information from a database query.
Item name, item number, quantity, shelf location etc.
They want a plus and a minus sign next to the quantity so you can click that and it changes it.
I can think of a few ways to do it, I can redirect them to another .php script and handle it there and then redirect them back to the original page, but that's fucking stupid.
How I have it setup right now:
<td><a href="sub.php?id=<?=$items[$i]["itemid"]?>">-</a> <?=$items[$i]["kpl"]?> <a href="add.php?id=<?=$items[$i]["itemid"]?>">+</a>*</td>
Feel free to ask anything.[/QUOTE]
Why not use GET to do that?
[url]http://www.w3schools.com/php/php_get.asp[/url]
e.g. totallylegit.com/cart.php?action=add&itemid=5836
Oh my God.... Browsing any site on a PS3 is extremely fucked up. Thank lord I had an extra keyboard just so I could type without wanting to kill myself.
Anyways, anyone know of a good way to use WLM with a PS3?
eBuddy refuses to log in properly, Meebo just loads a blank page, and I can't even find the hotmail inbox and sign in from there. Woulda asked in the questions thread but every time I enter it the browser shits the bed.
If you want my reasons you'll have to PM me.
I'm thinking I'll just do a Javascript function that runs an update query (update quantity = quantity - 1) when you press the button.
The button then says like javascript:doAdd(4) and pressing on it runs function doAdd, which runs the update query on ID 4 in the database.
[editline]25th November 2011[/editline]
But I need to refresh the page so the user sees the change, but doing that will either wipe out the search result, or cause that fucking resubmit shit thing to pop-up that browsers have.
Fucking hell.
[QUOTE=1solidsnake2;33428511]Why not use GET to do that?
[url]http://www.w3schools.com/php/php_get.asp[/url]
e.g. totallylegit.com/cart.php?action=add&itemid=5836[/QUOTE]
From a functional viewpoint, what I'm going to do is almost the same but it suffers from the same problem (wipes out the search result)
[editline]25th November 2011[/editline]
...............................................................................
I'm thinking I'm going to have to use jQuery
<input type='button' value='-' id='minus'/><input type='text' value='0' id='value' READONLY>
<script>
$(document).ready(function(){
$('#minus').click(function(){
$('#value').val((this).val()-1);
});
});
</script>
Something like that would do I think.
Don't use Javascript for core functionality, as it will break if you get the odd user who has disabled their Javascript.
I won't have users who have disabled their Javascript, trust me.
[editline]25th November 2011[/editline]
What if I just iFrame the fucking quantity thing in entirety somehow? Then I can refresh the iframe.
I just need to disable the iFrame borders somehow, I remember being able to do that.
[editline]25th November 2011[/editline]
So I have to transfer the quantity SQL reading shit from my itemlist.php to another .php and do it all there.
That honestly sounds a hell of a lot more easy.
[editline]25th November 2011[/editline]
I just realized that wouldn't work, I can't just display a random iframe, it needs to pass the ID from the main page to the iframe somehow because of the search functionality. Is that possible?
[QUOTE=nikomo;33428784]I won't have users who have disabled their Javascript, trust me.
[editline]25th November 2011[/editline]
What if I just iFrame the fucking quantity thing in entirety somehow? Then I can refresh the iframe.
I just need to disable the iFrame borders somehow, I remember being able to do that.
[editline]25th November 2011[/editline]
So I have to transfer the quantity SQL reading shit from my itemlist.php to another .php and do it all there.
That honestly sounds a hell of a lot more easy.
[editline]25th November 2011[/editline]
I just realized that wouldn't work, I can't just display a random iframe, it needs to pass the ID from the main page to the iframe somehow because of the search functionality. Is that possible?[/QUOTE]
<iframe src="myURL" width="300" height="300" frameBorder="0">
[img]http://i.imgur.com/IOIwV.png[/img]
[QUOTE=nikomo;33428650]From a functional viewpoint, what I'm going to do is almost the same but it suffers from the same problem (wipes out the search result)[/QUOTE]
Just include the search result in the GET data.
totallylegit.com/cart.php?action=add&itemid=4746&search=linux+download
I'm an idiot, using iframe=kpl.php?id=<?=$items[$i]["itemid"]?> should work
[editline]25th November 2011[/editline]
[QUOTE=1solidsnake2;33428876]Just include the search result in the GET data.
totallylegit.com/cart.php?action=add&itemid=4746&search=linux+download[/QUOTE]
Just an FYI, here's how the search works.
[code]<td width="80">Varaosakoodi: </td>
<td width="100"><input type="text" name="itemno" value="<?=$_REQUEST["itemno"]?>" size="20"></td>[/code]
[code]$sql = " select * ";
$sql .= "from item ";
if ($_REQUEST["itemno"]) {
$sqlw .= "and itemno like '%".$_REQUEST["itemno"]."%' ";
}
if ($sqlw) $sql .= " where ".substr($sqlw, 3);
$sql .= "order by itemname ";
$items = DBFetchAll($sql);
[/code]
There's 3 fields, if request used for all of them.
Right, I pass the value to the iFrame as GET data and... error 500.
Fucking hell.
Had to
[editline]25th November 2011[/editline]
mergebreak
Nevermind, 500 was me being a retard with syntax.
It theoretically works now.
Now I just have to code all the shit.
[QUOTE=Warship;33428921][img]http://s3.amazonaws.com/kym-assets/photos/images/original/000/128/418/sm%20wtf%20is%20this%20nerd%20shit.jpg?1306745792[/img][/QUOTE]
Sadly have to agree, programming and coding never really clocked with me. Networking and Photoshop is more my thing
So I've been looking to expand my desk and bought all the stuff at IKEA awhile ago. I measure my room for the 50th time and mock it up in photoshop with my measurements.
[img]http://puu.sh/9imO[/img]
I finally understand why a programmer would commit suicide.
[QUOTE=nikomo;33429222]I finally understand why a programmer would commit suicide.[/QUOTE]
I can program VB, C#, C++, JS, Java, PHP (SQL), BASIC, Bash, Assembly, LUA and probably more that i forgot, and i don't see your problem.
[editline]25th November 2011[/editline]
NXC and NQC too :v:
[QUOTE=Goz3rr;33429234]I can program VB, C#, C++, JS, Java, PHP (SQL), BASIC, Bash, Assembly, LUA and probably more that i forgot, and i don't see your problem.
[editline]25th November 2011[/editline]
NXC and NQC too :v:[/QUOTE]
You've not coded in [url=http://en.wikipedia.org/wiki/Brainfuck]Brainfuck[/url] then have you? :smile:
[QUOTE=1solidsnake2;33429265]You've not coded in [url=http://en.wikipedia.org/wiki/Brainfuck]Brainfuck[/url] then have you? :smile:[/QUOTE]
Why would you even want to code with Brainfuck.
[QUOTE=Goz3rr;33429289]Why would you even want to code with Brainfuck.[/QUOTE]
Because you could brag about how you could code with Brainfuck.
Sorry, you need to Log In to post a reply to this thread.