--- Log opened Thu Apr 16 00:00:03 2009 |
--- Day changed Thu Apr 16 2009 |
00:00 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Client exited] |
00:02 | | ToxicFrog [~ToxicFrog@67.212.0.ns-4438] has joined #code |
00:02 | | mode/#code [+o ToxicFrog] by ChanServ |
00:05 | | ToxicFrog [~ToxicFrog@67.212.0.ns-4438] has quit [Quit: Doing electrical maintenance on the house...] |
00:07 | | ToxicFrog [~ToxicFrog@67.212.0.ns-4438] has joined #code |
00:07 | | mode/#code [+o ToxicFrog] by ChanServ |
00:22 | <@Derakon> | Anyone know how I can track down what processes are performing disk writes? |
00:22 | <@Derakon> | My computer's not doing anything much right now but I can hear the disk going. |
00:23 | <@ToxicFrog> | Hmm |
00:23 | <@ToxicFrog> | lsof will tell you which processes have open files |
00:24 | <@Derakon> | But not if they're doing anything with them? |
00:24 | <@ToxicFrog> | Yeah |
00:24 | <@ToxicFrog> | Your local process manager may have something for IO |
00:24 | <@Derakon> | Activity Monitor will show data read/written, but not which processes are responsible. |
00:39 | | ToxicFrog [~ToxicFrog@67.212.0.ns-4438] has quit [Quit: Doing electrical maintenance on the house...] |
00:40 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
00:40 | | mode/#code [+o ToxicFrog] by ChanServ |
00:48 | | Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code |
00:48 | | mode/#code [+o Vornicus] by ChanServ |
00:56 | | somnolence [~somnolenc@Nightstar-3790.hsd1.ca.comcast.net] has quit [Operation timed out] |
00:56 | | You're now known as TheWatcher[T-2] |
00:58 | | You're now known as TheWatcher[zZzZ] |
01:04 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Quit: Doing electrical maintenance on the house...] |
01:05 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
01:05 | | mode/#code [+o ToxicFrog] by ChanServ |
01:59 | | Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has quit [Operation timed out] |
02:05 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?] |
03:25 | | Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has joined #code |
03:25 | | mode/#code [+o Derakon] by ChanServ |
03:25 | <@Derakon> | I just realized I have the infrastructure needed to put a sane cap on bodies of water now. |
03:26 | <@Derakon> | That being the overlay map that tells me what region a given tile is in. |
03:26 | <@Derakon> | I can just say "If you try to make a body of water and it leaves the region, it's invalid". |
03:40 | | KarmaBot [AnnoDomini@Nightstar-28242.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer] |
03:41 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Connection reset by peer] |
03:41 | | KBot [~karma.bot@Nightstar-28242.neoplus.adsl.tpnet.pl] has joined #Code |
03:41 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code |
03:42 | | mode/#code [+o GeekSoldier] by ChanServ |
03:44 | | KBot is now known as KarmaBot |
05:08 | < Alek> | given x.php and a type="t" name="y" value="z" form item. how do I put it in the address bar? |
05:08 | <@Derakon> | Make the form action be GET instead of POST. |
05:09 | < Alek> | the item gets passed to the script in html normally. but I recall something about it being possible to pass items to scripts via address bar. like google's searches. |
05:10 | <@Derakon> | Parameters in the URL are GET parameters. You can access them via $_GET or $_REQUEST, if I recall my PHP variable names correctly. |
05:15 | < Alek> | given an item formatted as above, what would an example be? |
05:16 | <@Vornicus> | Alek: in the form tag, use method="get" instead of method="post" |
05:16 | <@Derakon> | http://www.w3schools.com/PHP/php_get.asp |
05:16 | < Alek> | if I can't change the code or the script. |
05:16 | <@Vornicus> | And then in the PHP end, you need to use $_GET |
05:17 | <@Vornicus> | Note that the two are seen by PHP or any CGI are sompletely different - you can have overlapping get and post parameters. |
05:18 | <@Vornicus> | s/CGI are/CGI as/ |
05:18 | <@Vornicus> | Indeed there is at least one application out there - the one used by my local library - that gives multiple get vars with the same name. |
05:19 | <@Derakon> | That's not a good idea. |
05:19 | <@Vornicus> | Indeed it actually goes against the spec. |
05:24 | < Alek> | hm. |
05:25 | < Alek> | I have a <form action=script.php><input type=x name=y value=z><input type=a value=b></form> but I want the type x to have a value other than z, and I can't change the code or the script. |
05:26 | <@Vornicus> | Alek: use a web library in a scripting language to construct the request. |
05:26 | | somnolence [~somnolenc@Nightstar-3790.hsd1.ca.comcast.net] has joined #code |
05:26 | < Alek> | according to the linked site, I should be able to put into the address bar script.php?y=!z (as the example seems to be name=value) but it doesn't work. |
05:26 | <@Vornicus> | Alternatively you can learn HTTP and telnet on port 80. |
05:27 | <@Derakon> | Because the script is pulling from $_POST, which ignores values in the address bar. |
05:27 | < Alek> | >_> |
05:27 | < Alek> | hm. |
05:27 | < Alek> | what's the quickest way to bypass it? |
05:27 | <@Vornicus> | Use a scripting language to construct and send the request. |
05:27 | <@Derakon> | Make your own page which does a POST submit and sends the values you want. |
05:28 | < Alek> | pfft. |
05:28 | <@Vornicus> | Or that |
05:28 | | * Alek headdesks. |
05:28 | < Alek> | ok, Derakon has the best idea I've heard. thanks. |
05:28 | < Alek> | good night. |
05:32 | < Alek> | gah. |
05:32 | < Alek> | still no go. |
05:32 | < Alek> | well, I'll give it a night. |
06:01 | | Syloqs-AFH [Syloq@Admin.Nightstar.Net] has quit [Connection reset by peer] |
06:03 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout] |
06:05 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code |
06:05 | | mode/#code [+o GeekSoldier] by ChanServ |
06:20 | | * Vornicus hates his vb homework. So. Much. Boilerplate. |
06:20 | | * Derakon <3 Python. :3 |
06:25 | | * Vornicus wishes he could do his homework in Python! ;_; |
06:28 | <@McMartin> | Use python to autogenerate boilerplate |
06:28 | <@Derakon> | Ahh, metaprogramming. |
06:28 | | * Vornicus is not that good. |
06:29 | | * Vornicus wishes he was that good. |
06:29 | | * jerith creates a tea. |
07:13 | | AnnoDomini [~farkoff@Nightstar-28242.neoplus.adsl.tpnet.pl] has joined #Code |
07:13 | | mode/#code [+o AnnoDomini] by ChanServ |
07:21 | | Derakon is now known as Derakon[AFK] |
08:32 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout] |
08:48 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
08:48 | | mode/#code [+o ToxicFrog] by ChanServ |
09:09 | | Vornicus [Vornicus@Admin.Nightstar.Net] has quit [Quit: ] |
09:11 | | You're now known as TheWatcher |
09:35 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code |
09:35 | | mode/#code [+o Attilla] by ChanServ |
10:31 | | SmithKurosaki [~jess@67.212.0.ns-4438] has quit [Ping Timeout] |
10:53 | | Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus] |
11:06 | | KarmaBot [~karma.bot@Nightstar-28242.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer] |
11:06 | | KBot [AnnoDomini@Nightstar-28242.neoplus.adsl.tpnet.pl] has joined #Code |
11:09 | | KBot is now known as KarmaBot |
12:36 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
12:36 | | mode/#code [+o gnolam] by ChanServ |
12:57 | | SmithKurosaki [~jess@Nightstar-26979.acanac.net] has joined #code |
14:17 | | * gnolam hugs his ISP yet again. |
14:19 | | * ToxicFrog hugs his ISP tight, right around the throat. With fire. |
14:19 | <@gnolam> | A couple of months ago, they very eloquently stated that they would futz with their network to make any official wiretapping requests useless. Now they found a loophole in the draconian DMCA^2 law that was just enacted, and refuse to give out subscriber information. :) |
14:20 | <@ToxicFrog> | Awesome. |
14:20 | <@gnolam> | Also, video tour of their datacenter: http://www.youtube.com/watch?v=qwlATf9xse4 |
14:21 | <@gnolam> | The good stuff begins at ~2.20. |
14:45 | | KBot [~karma.bot@Nightstar-28242.neoplus.adsl.tpnet.pl] has joined #Code |
14:46 | | KarmaBot [AnnoDomini@Nightstar-28242.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
14:48 | | KBot is now known as KarmaBot |
16:04 | | Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code |
16:05 | | Syloqs_AFH is now known as Syloqs-AFH |
16:34 | | Derakon[AFK] is now known as Derakon |
17:47 | | You're now known as TheWatcher[afk] |
18:07 | <@Derakon> | I wonder what the significance of "CGI065" is. |
18:07 | <@Derakon> | Mischan. |
18:20 | | Gruber [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
18:21 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout] |
18:24 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
18:24 | | mode/#code [+o gnolam] by ChanServ |
18:27 | | Gruber [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout] |
18:40 | | Gruber [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
18:41 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout] |
19:17 | | Derakon is now known as Derakon[AFK] |
19:22 | | Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code |
19:26 | | Gruber is now known as gnolam |
19:30 | | You're now known as TheWatcher |
20:08 | | Derakon[AFK] is now known as Derakon |
20:28 | | Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has quit [Operation timed out] |
21:56 | | C_tiger [~cheng@Nightstar-5625.hsd1.ca.comcast.net] has quit [Client exited] |
22:19 | | Syloqs-AFH [Syloq@Admin.Nightstar.Net] has quit [Connection reset by peer] |
22:20 | | Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code |
22:21 | | Syloqs_AFH is now known as Syloqs-AFH |
23:23 | | AnnoDomini [~farkoff@Nightstar-28242.neoplus.adsl.tpnet.pl] has quit [Quit: There is no Dana, only Zuul.] |
23:40 | | You're now known as TheWatcher[T-2] |
23:42 | | You're now known as TheWatcher[zZzZ] |
23:56 | | KBot [AnnoDomini@Nightstar-29073.neoplus.adsl.tpnet.pl] has joined #Code |
23:57 | | KarmaBot [~karma.bot@Nightstar-28242.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
23:59 | | KBot is now known as KarmaBot |
--- Log closed Fri Apr 17 00:00:21 2009 |