code logs -> 2006 -> Wed, 13 Dec 2006< code.20061212.log - code.20061214.log >
--- Log opened Wed Dec 13 00:00:03 2006
00:15 * Vornicus accidentally pressed "h", and discovered that it's more than up/down/pgup/pgdn/q
00:19
< MyCatOwnz>
Eh? You mean like how control-H = backspace? Or something else?
00:19
<@Vornicus>
no, just h.
00:19
<@Vornicus>
I pressed the h key in less, and got the help screen.
00:25 * MyCatOwnz stares at his keyboard.
00:25
< MyCatOwnz>
Also, try "ZZ" "j" and "k"
00:26
< MyCatOwnz>
Basically, the designers of less took every imaginable keybinding and put them all in.
00:27
< MyCatOwnz>
It responds to vi keys, it responds to emacs keys. Handily, vi tends to use nekkid keys and emacs tends to use control characters and escape sequences, so there's almost no conflict. ^_^
00:51 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Quit: Sleeping. Nini.]
01:53 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has quit [Quit: ]
02:14 Mischief [~34534@Nightstar-2942.ashbva.adelphia.net] has joined #code
02:45 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:45 mode/#code [+o Chalcy] by ChanServ
02:46 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
02:49 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:49 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
02:50 Vornicus-Latens is now known as Vornicus
02:51 Vornicus is now known as NSGuest-653
02:52 NSGuest-653 is now known as Vornicus
04:06 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has quit [Ping Timeout]
04:07 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
04:35 Vornicus is now known as Vornicus-Latens
06:16 Mahal [~Mahal@Nightstar-12600.worldnet.co.nz] has joined #Code
06:16 mode/#code [+o Mahal] by ChanServ
06:44 AnnoDomini [~fark.off@Nightstar-29728.neoplus.adsl.tpnet.pl] has joined #Code
06:57 bagel [~gabe@Nightstar-10197.dsl.irvnca.pacbell.net] has joined #Code
06:57
< bagel>
http://gh.ffshrine.org/soundtracks.php?r=39299 has mp3s of music for nearly every game ever!
06:57 bagel [~gabe@Nightstar-10197.dsl.irvnca.pacbell.net] has quit [Client exited]
07:48 ReivWork is now known as Reiver
08:19 Serah [~Shemhazai@Nightstar-28403.proxy2.balk.dk] has joined #Code
09:10 ChalcyGone is now known as Chalcedon
09:49 Reiver is now known as ReivZzz
10:00 You're now known as TheWatcher[wr0k]
10:08 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: bed!]
10:18 MyCatOwnz [~rb6822@Nightstar-23319.cs.bris.ac.uk] has joined #code
10:57 MyCatOwnz [~rb6822@Nightstar-23319.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!]
11:45 MyCatOwnz [~rb6822@Nightstar-23831.cs.bris.ac.uk] has joined #code
12:02 AnnoDomini [~fark.off@Nightstar-29728.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
12:08 AnnoDomini [~fark.off@Nightstar-29594.neoplus.adsl.tpnet.pl] has joined #Code
12:21 Thaqui [~Thaqui@Nightstar-11814.jetstream.xtra.co.nz] has quit [Quit: Leaving]
13:04 MyCatOwnz [~rb6822@Nightstar-23831.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!]
13:54 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
13:59 MyCatOwnz is now known as MyCatBreaksComputers
14:03 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
14:07 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
14:07 mode/#code [+o ToxicFrog] by ChanServ
14:10 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
14:11 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
14:11 mode/#code [+o ToxicFrog] by ChanServ
14:14 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
14:16 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
14:16 mode/#code [+o ToxicFrog] by ChanServ
15:22 You're now known as TheWatcher
15:49 MyCatBreaksComputers is now known as MyCatOwnz
16:59 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Ping Timeout]
17:20 You're now known as TheWatcher[afk]
17:29 ReivZzz is now known as Reiver
17:40 Reiver is now known as ReivWork
17:53 Serah [~Shemhazai@Nightstar-28403.proxy2.balk.dk] has quit [Ping Timeout]
17:54 Serah [~Shemhazai@Nightstar-28403.proxy2.balk.dk] has joined #Code
17:59 Serah [~Shemhazai@Nightstar-28403.proxy2.balk.dk] has quit [Quit: Don't try to read the quit message, that is impossible. Instead only realize the thruth; "there is no quit message" and you will see it is not you who read the quit message but the quit message who reads you.]
18:06 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has joined #code
18:06 mode/#code [+o Vornicus] by ChanServ
18:10 * ToxicFrog eyes this joke his sister just sent him
18:11
<@ToxicFrog>
How do you escape the Spanish Inquisition?
18:11
<@ToxicFrog>
Spanish\ Inquisition
18:11
<@Vornicus>
:(
18:42 You're now known as TheWatcher
19:05 Thaqui [~Thaqui@Nightstar-11814.jetstream.xtra.co.nz] has joined #code
19:55 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
20:09 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Quit: Leaving]
20:20 Mischief [~34534@Nightstar-2942.ashbva.adelphia.net] has quit [Quit: ]
20:24 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
20:24 mode/#code [+o Chalcedon] by ChanServ
20:24 * ToxicFrog proceeds to do some truly twisted sed-fu
20:27
<@Vornicus>
Show us!
20:30 Thaqui [~Thaqui@Nightstar-11814.jetstream.xtra.co.nz] has quit [Ping Timeout]
20:31
<@ToxicFrog>
It's not done yet.
20:32
<@ToxicFrog>
But the short version, I'm reading this:
20:32
<@ToxicFrog>
<script language='javascript'>
20:32
<@ToxicFrog>
function decode(s) {
20:32
<@ToxicFrog>
var output = s;
20:32
<@ToxicFrog>
output = output.replace(/##x/g,'h');
20:32
<@ToxicFrog>
output = output.replace(/##r/g,'t');
20:32
<@ToxicFrog>
output = output.replace(/##v/g,'p');
20:32
<@ToxicFrog>
output = output.replace(/##i/g,':');
20:32
<@ToxicFrog>
output = output.replace(/##c/g,'/');
20:32
<@ToxicFrog>
output = output.replace(/##z/g,'w');
20:32
<@ToxicFrog>
output = output.replace(/##g/g,'.');
20:32
<@ToxicFrog>
document.write(output);
20:32
<@ToxicFrog>
}
20:32
<@ToxicFrog>
document.write('Here\'s your link: <a href="');
20:32
<@ToxicFrog>
decode('##x##r##r##v##i##c##cd3##gffs##xrine##gorg##csound##rracks##cSonic & Knuckles-Sonic ##r##xe Hedge##xog 3 Remix##c03-flying_ba##r##rery##gm##v3');
20:32
<@ToxicFrog>
document.write('">click here</a>.<br><br>');
20:32
<@ToxicFrog>
And turning the output.replace() calls into a set of arguments to sed which will decode the string being passed to decode()
20:35
<@Vornicus>
...it's... ...a...
20:35
<@Vornicus>
a filename unstomper?
20:35
<@ToxicFrog>
Yes.
20:35
<@ToxicFrog>
The arms race between me and GH continues.
20:36
<@Vornicus>
Impressive.
20:36
<@ToxicFrog>
Updating their scripts to randomly select link names didn't stop me, so now they generate the link at load time using JavaScript.
20:36
<@ToxicFrog>
They think that will stop me, those fools.
20:36
<@ToxicFrog>
But I'll show them!
20:36
<@ToxicFrog>
I'LL SHOW THEM ALL!
20:37
<@Vornicus>
Especially those fools at the institute?
20:38
<@ToxicFrog>
Quite.
20:50
<@ToxicFrog>
Ok, it's done.
20:51
<@ToxicFrog>
filter=`cat /tmp/$$.link \
20:51
<@ToxicFrog>
| egrep -o 'replace\(.*\);' \
20:51
<@ToxicFrog>
| sed -r 's~replace\(/([^/]+)/g,'"'(.*)'"'\);~-e s_\1_\2_g~g' \
20:51
<@ToxicFrog>
| escape`
20:51
<@ToxicFrog>
link=`cat /tmp/$$.link \
20:51
<@ToxicFrog>
| egrep -o 'decode\(.*\);' \
20:51
<@ToxicFrog>
| sed -r -e 's~decode\('"'(.*)'"'\);~\1~' $filter`
20:52 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has quit [Ping Timeout]
20:52 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has joined #code
20:52 mode/#code [+o Vornicus] by ChanServ
20:53 Thaqui [~Thaqui@Nightstar-26015.jetstream.xtra.co.nz] has joined #code
20:56
<@ToxicFrog>
Wow, I blew up Vorn's connection.
20:56 ReivWork [~reaverta@IRCop.Nightstar.Net] has quit [Ping Timeout]
20:57
<@Vornicus>
Heh
20:57
<@Vornicus>
The whole office went out.
20:57
<@Vornicus>
Last thing I saw you say was "Quite."
20:57
<@Vornicus>
(but I lasted ten minutes longer on Freenode)
20:58
<@ToxicFrog>
filter=`cat /tmp/$$.link \
20:58
<@ToxicFrog>
| egrep -o 'replace\(.*\);' \
20:58
<@ToxicFrog>
| sed -r 's~replace\(/([^/]+)/g,'"'(.*)'"'\);~-e s_\1_\2_g~g' \
20:58
<@ToxicFrog>
| escape`
20:58
<@ToxicFrog>
link=`cat /tmp/$$.link \
20:58
<@ToxicFrog>
| egrep -o 'decode\(.*\);' \
20:58
<@ToxicFrog>
| sed -r -e 's~decode\('"'(.*)'"'\);~\1~' $filter`
20:58
<@ToxicFrog>
It is done.
20:58
<@Vornicus>
...twisted
20:58
<@Vornicus>
what's $$ again?
20:58
<@ToxicFrog>
PID.
20:58
<@Vornicus>
aha
20:59
<@ToxicFrog>
When making temporary files it is a good way to make sure you don't collide with anything.
20:59
<@Vornicus>
it's a good idea
20:59
<@ToxicFrog>
It should be possible to run arbitrarily many copies of ghdl at once, and indeed I have tested this with up to three at a time.
20:59 * Vornicus ponders if /tmp is a good candidate to put on a ramdisk.
21:00
<@ToxicFrog>
Yes.
21:00
<@ToxicFrog>
It sees a lot of use and doesn't need to be persistent.
21:00
<@ToxicFrog>
Just, umm.
21:00
<@ToxicFrog>
If you're playing around with CD/DVD burning software.
21:00 * Vornicus is more concerned with how big it is.
21:01
<@ToxicFrog>
Make sure it doesn't try to put its ~4.5GB intermediate images in /tmp
21:01
<@ToxicFrog>
If I'm /not/ burning, mine has yet to rise above 8MB.
21:01
<@Vornicus>
ok
21:01
<@ToxicFrog>
Wait, no, I lie.
21:01
<@ToxicFrog>
The one on the laptop is up to 9.6MB
21:01
<@Vornicus>
ok
21:01
<@ToxicFrog>
(and 345 files)
21:02
<@ToxicFrog>
New version LJposted.
21:02
<@Vornicus>
sweet
21:04
<@ToxicFrog>
And now, r0xx0r
21:05
<@Vornicus>
Those fools at the Institute!
21:08
<@Vornicus>
I have Donkey Kong Country music stuck in my head.
21:08
<@ToxicFrog>
I have Sonic & Knuckles music stuck in my head.
21:08
<@ToxicFrog>
For, like, the past month and a half.
21:08
<@Vornicus>
Heh
21:08
<@Vornicus>
It's been that and Booster Tower from Mario RPG most of my month.
21:09
<@ToxicFrog>
Act 2 Boss is unbelievably cracktastic.
21:15 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
21:41 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
21:55 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, et les jouets de me, fait naître Clairvoire.]
22:06
<@Vornicus>
gnarg.
22:06
< AnnoDomini>
Writing a short heroic fantasy story, Vornicus?
22:06
<@Vornicus>
..wtf?
22:07
< AnnoDomini>
Grignr. Gnarg.
22:10 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
22:11
< Takyoji>
What is a work around from the "Click here to active this control" thing in Flash files?
22:13
< MyCatOwnz>
Takyoji: Flashblock plugin for Firefox. No more flash files, therefore no more problem. ^_^
22:14
< Takyoji>
I mean, on a developer end, not a clients end
22:15
< Takyoji>
developer's*
22:15
<@ToxicFrog>
Don't use Flash.
22:15
< Takyoji>
Well, there's that
22:15
<@ToxicFrog>
I'm quite serious.
22:15
<@ToxicFrog>
Flash is not in fact a solution, it is a problem in its own right.
22:15
< MyCatOwnz>
Takyoji: Frog was actually understating the problem.
22:16
<@ToxicFrog>
The "click here to activate this control" problem is actually just one facet of the larger problem, to wit, "this page is using Flash"
22:16
< MyCatOwnz>
Takyoji: on behalf of your users: please don't use Flash. Except for cartoons à la albinoblacksheep, please, don't use Flash.
22:16
< Takyoji>
k
22:17
< Takyoji>
alternate idea then?
22:17
< Takyoji>
Stick to plain HTML/ and or CSS?
22:17
<@ToxicFrog>
HTML, CSS, JavaScript.
22:18
< MyCatOwnz>
In that order.
22:18
< MyCatOwnz>
Use HTML with a sprinkling of *simple* CSS if you can get away with that.
22:18
<@Vornicus>
HTML and CSS are always good.
22:18
<@ToxicFrog>
(be careful with the javascript, though - the page should be usable without it. For example, if you have cascading JS menus, the <noscript> default should be all menus expanded, not contracted; it'll look like ass, but it will be usable, whereas the converse requires the user to dig through your source and figure out where the links went.)
22:19
<@ToxicFrog>
MCO: CSS is generally awesome.
22:19
< MyCatOwnz>
Use HTML with crazy CSS is you absolutely need it. Avoid using Javascript at all if you can get away without it.
22:19
< MyCatOwnz>
*if
22:19
<@Vornicus>
CSS can be tricky getting right across browsers, but IE7 is a bit nicer about it than previous versions.
22:23 TakyojiClone [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
22:24 TakyojiClone2 [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
22:25 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Ping Timeout]
22:26 TakyojiClone [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Ping Timeout]
22:33
<@Vornicus>
(also you can finally use partially transparent PNGs!)
22:34
< MyCatOwnz>
Vornicus: amen to that.
22:37
< TakyojiClone2>
Although a handful of browser still don't support transparency masks for PNGs...
22:37
< TakyojiClone2>
which sux..
22:37
<@Vornicus>
lynx, for instance.
22:37
<@Vornicus>
:P
22:37
< TakyojiClone2>
I wish it were implemented at the start
22:37
< TakyojiClone2>
Anyway, how'd a person be able to make a table version of this? http://www.dynamicdrive.com/style/csslibrary/item/thick-padding-tabs/
22:37
< EvilDarkLord>
Transparent ascii for lynx, perhaps? =)
22:38
< MyCatOwnz>
EvilDarkLord: there's actually a special ASCII code for that.
22:38
< MyCatOwnz>
0x20.
22:39
< MyCatOwnz>
TakyojiClone2: you couldn't, without resorting to Javascript abuse.
22:40
< MyCatOwnz>
TakyojiClone2: however, since it *can* be done with CSS and without JS, in my book, such abuse of JS is vertboten! Therefore I'd go for your solution.
22:42
< TakyojiClone2>
so there's no way to imply CSS into a table?
22:42
< TakyojiClone2>
with a background image as the cells?
22:42 AnnoDomini [~fark.off@Nightstar-29594.neoplus.adsl.tpnet.pl] has quit [Quit: Some people find sanity a little confining.]
22:42
< TakyojiClone2>
Or just have javascript change the background image on hover
22:42
< MyCatOwnz>
TakyojiClone2: oh, good idea! But that'd make the effect dependant on the pixel size of the user's screen. Nicht so gut.
22:43
< MyCatOwnz>
TakyojiClone2: and JavaScript ist vertboten, dammit!
22:43
< TakyojiClone2>
oh well
22:44
< TakyojiClone2>
I am against Javascript, but in this type of situation is just a small detail that it can work with or without with ease
22:44
<@ToxicFrog>
Umm. Is there any reason why that /wouldn't/ work in a table?
22:44
< TakyojiClone2>
I mean, to have the background image change when the cursor is hovering it
22:45
< TakyojiClone2>
would I have to use HTML DOM for that?
22:45
<@ToxicFrog>
I mean - correct me if I'm wrong here, my understanding of CSS is kind of fragmentary - you bind it to <td> instead of to <ul>
22:45
< TakyojiClone2>
oh duh,
22:45
< TakyojiClone2>
that should work
22:45
<@ToxicFrog>
Something like:
22:45
<@ToxicFrog>
#thicktabs ul:hover {
22:45
<@ToxicFrog>
background-image: foo.png
22:45
<@ToxicFrog>
}
22:45
<@ToxicFrog>
Err.
22:45
<@ToxicFrog>
td:hover
22:46
< TakyojiClone2>
ahh k
22:47
<@ToxicFrog>
Bear in mind I don't know CSS, so this code probably won't work out of the box.
22:48
< TakyojiClone2>
Yea, I actually just changed "ul" to "td" in an existing script
22:51 Chalcedon is now known as ChalcyAFK
22:52 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Ping Timeout]
22:53 TakyojiClone [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
22:54 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has quit [Ping Timeout]
22:54 ReivWork [~reaverta@IRCop.Nightstar.Net] has joined #Code
22:54
< TakyojiClone>
aaaand I can't get it to work
22:55 TakyojiClone2 [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Ping Timeout]
22:55
< TakyojiClone>
so, 'tr' instead?
22:59
<@ToxicFrog>
I don't know!
22:59
< TakyojiClone>
sorry
23:00
<@ToxicFrog>
Oh, hang on.
23:00
<@ToxicFrog>
where are you putting the id=?
23:01
< TakyojiClone>
actually holdon for another second
23:07 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
23:10
< TakyojiClone>
I've tried it in the 'tr','td', and 'table'
23:10
< TakyojiClone>
tags
23:10
<@ToxicFrog>
Ok, so try this.
23:11
<@ToxicFrog>
Put it in the <table> tag and make the CSS name: #thicktabs table tr td:hover
23:11
< TakyojiClone>
oh
23:12
<@ToxicFrog>
Alternately, try putting it on #thicktabs table tr td a:hover
23:12
<@ToxicFrog>
And thus putting the background image on the links rather than on the table cells.
23:15
< TakyojiClone>
I'm trying to use this: http://pastie.caboo.se/27475 (before editing)
23:16
< TakyojiClone>
I've tried changing it to "table tr td" instead of "li" and it doesn't work
23:16
< TakyojiClone>
with the id set in the table tag
23:17 * ToxicFrog shrugs
23:18
<@ToxicFrog>
You will need to speak to someone who knows CSS, then.
23:18
< TakyojiClone>
oh k
23:19
< TakyojiClone>
woah, one of the scripts I tried using before which didn't work, works now
23:20
< TakyojiClone>
just having it set to 'td' and having the id set in the table tag works
23:21
< TakyojiClone>
glad that works
23:25
< TakyojiClone>
otherwise, wouldn't it be wiser to record the hostname of visitors to see where they're from? Because of the state prefix in the name, and also getting the IP address?
23:28
< TakyojiClone>
I'll be back in a moment
23:32 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
23:33
<@ToxicFrog>
TakyojiClone: (1) the hostname would be derived from the IP address anyways via reverse lookup.
23:34
<@ToxicFrog>
(2) The state prefix in the name is an artifact of our IRC server configuration, not part of their reverse DNS and not part of most DNS entries.
23:51
< TakyojiClone>
ohh..
23:53
< TakyojiClone>
I mean, is this considered a hostname?: 71-82-141-6.dhcp.roch.mn.charter.com
23:53
< Ev3>
That is a hostname, yes,.
23:55
<@ToxicFrog>
Yes.
23:55
< TakyojiClone>
Actually, what would be a better solution for finding where people are from PHP?
23:55
<@ToxicFrog>
There is no truly reliable way. All you have is their IP address.
23:55
< TakyojiClone>
I guess
23:56
<@Vornicus>
There's are internet atlas things, but those are alternately perfect or useless depending on the IP.
23:56
<@ToxicFrog>
From that you can get their reverse DNS and WHOIS information, which will include the location of the owner of that IP block, which may have nothing to do with the location of the actual IP.
23:56
<@ToxicFrog>
You can use the ICBM address, if you can find a reliable lookup system for it, but that only works for some IPs.
23:57
<@ToxicFrog>
Generally you can narrow it down to a single continent, but anything further than that is hit and miss depending on the IP in question.
23:57
< TakyojiClone>
ahh
--- Log closed Thu Dec 14 00:00:03 2006
code logs -> 2006 -> Wed, 13 Dec 2006< code.20061212.log - code.20061214.log >