code logs -> 2013 -> Fri, 27 Dec 2013< code.20131226.log - code.20131228.log >
--- Log opened Fri Dec 27 00:00:15 2013
00:01 Turaiel is now known as Turaiel[Offline]
00:21 Kindamoody is now known as Kindamoody[zZz]
00:40 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
01:00 Araleith_ [Araleith@Nightstar-1p7mum.cable.rogers.com] has joined #code
01:11 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has quit [Ping timeout: 121 seconds]
01:17 * McMartin fires up his retro work again.
01:18
<&McMartin>
These programs are getting harder to link.
01:23 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has joined #code
01:23 mode/#code [+o Orthia] by ChanServ
01:23 * McMartin has some initialization data that has to (a) be 64-byte aligned and (b) live entirely within the first 2KB of program text.
01:45 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has quit [Ping timeout: 121 seconds]
01:46 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has joined #code
01:46 mode/#code [+o Orthia] by ChanServ
02:10 Turaiel[Offline] is now known as Turaiel
02:40
<&McMartin>
Ahaha, progress
02:40 * McMartin gets another trick working the way he wants it to.
02:43
<&McMartin>
Anyone want to see the thing I've been working on?
02:44 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
02:44
<&McMartin>
It is still a Seekrit Projekt for a few weeks until it can get to its final point, so no links in publically available areas, but I wouldn't mind a little feedback as I get into the home stretch.
02:48
< Turaiel>
Oooh, what is?
02:57 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
02:57 mode/#code [+o himi] by ChanServ
03:06
< Syka>
McMartin: wut is it
03:17
< Syka>
McMartin: neat
03:22 * Vornicus wantstosee
03:23
<&ToxicFrog>
showmeshowmeshowme
03:43 * McMartin gets some weird animation flicker, learns that certain X locations are noncontiguous, >_<s
03:55 Derakon [chriswei@Nightstar-4k2ccr.ca.comcast.net] has joined #code
03:55 * Derakon mutters at Pyrel.
03:55
< Derakon>
I'm trying to implement status ailments that interfere with the controls.
03:55
< Derakon>
For example, confusion prevents the player from reading scrolls or casting spells, and causes movement to occasionally send you in random directions.
03:56
< Derakon>
I have an InventoryCommand object which handles interacting with items, including using them but not breaking it down by verb.
03:57
< Derakon>
In fact there are no other, more specific verbs at the moment.
03:57
< Derakon>
I can probably fix that by tagging the base scroll object template with a verb, and then creating a new command input that just maps to the USE_ITEM command by way of that verb.
03:58
< Derakon>
It's not gonna be pretty though...
03:59
< Derakon>
So then the InventoryCommand has to hand off to the actor and let it invoke any Procs associated with that verb; in this case, we've attached a Proc that prints the message "You are too confused!" and then returns False.
03:59
< Derakon>
The idea being that the actor should hit that Proc and then prevent the scroll from being read.
03:59
< Derakon>
I can't help but feel that this is just a somewhat clunky way of hardcoding the specific behavior we want in this instance, though. It doesn't feel very flexible.
04:00
< Derakon>
Bleh.
04:12
<&McMartin>
Hrm, being able to attach procs to inventorycommand seems pretty solid
04:12
<&McMartin>
That any *given* proc is very ad-hoc shouldn't be a problem
04:13
< Derakon>
Yeah, I guess my problems are twofold.
04:13
< Derakon>
First, how do I cleanly associate new verbs with specific item types.
04:14
< Derakon>
Second, how do I cleanly cancel and/or mutate commands as a result of procs.
04:15
< Derakon>
I guess I have to encapsulate the "parameters" for the command and hand them to the procs, which would then be allowed to change them?
04:24 * Derakon takes a moment to be thankful for experience, for he knows that had he tried to solve this problem five years ago he'd have made a complete hash of it.
04:24
< Derakon>
It's amazing how high the skill cap is in programming~
04:32
<&McMartin>
The usual estimation is about a factor of 1000x
04:32
<&McMartin>
And yeah, some of this project I'm working here is recycling ten-year-old code.
04:32
<&McMartin>
And oh man >_<
04:35
< Derakon>
Yeah.
04:35
< Derakon>
I mean, thinking about how I did Jetblade...
04:35
< Derakon>
The code was serviceable, but I'd still do most of it completely differently now.
04:39 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:54 Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code
04:56 Derakon is now known as Derakon[AFK2]
05:10 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
05:13 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
05:39 celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:05 * Vornotron implements the floyd-warshall algorithm, is befuddled at how simple it is.
06:15
< Syka>
hmm.
06:15
< Syka>
which is worse
06:15
< Syka>
skipping a test because you know that the underparts havent been implemented
06:16
< Syka>
or testing that a NotImplementedError had been thrown when you try and use it?
06:16
< Syka>
i guess the latter gives you a note that you need to implement the test once you DO do it
06:16
< Syka>
since the assertIsInstance(result, NotImplementedError) will fail
06:17
<&ToxicFrog>
Yeah, I would say NotImplementedError.
06:19
< Vornotron>
I thought you said underpants
06:20
< Syka>
well
06:20
< Syka>
it doesn't have underpants either
06:31 Araleith_ [Araleith@Nightstar-1p7mum.cable.rogers.com] has quit [Ping timeout: 121 seconds]
06:34 Turaiel is now known as Turaiel[Offline]
06:37 Turaiel[Offline] is now known as Turaiel
06:43
< simon_>
Vornotron, cool.
06:43 Kindamoody[zZz] is now known as Kindamoody
07:08 Kindamoody is now known as Kindamoody|out
07:19 Turaiel is now known as Turaiel[Offline]
09:28 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
10:10 You're now known as TheWatcher
10:41
< AbuDhabi_>
Fuck you, XKCD.
10:42
< AbuDhabi_>
Non-paginated text on the web is superior to pagination.
10:42
< Vornotron>
the problem is that if you navigate away it loses your place
10:43
< AbuDhabi_>
So use a different tab?
10:45
< Vornotron>
Especially for "endless-scroll" things which use js to keep stuff.
10:46
< AbuDhabi_>
That's just another atrocity.
10:47
< ErikMesoy>
http://gatherer.wizards.com/pages/Card/Details.aspx?multiverseid=88803
10:48
< Vornotron>
is this what i think it--nope.
10:48
< ErikMesoy>
What did you think it was going to be?
10:49
< Vornotron>
I was thinking it would be a card named "endless scroll"
10:49
< ErikMesoy>
haha
10:50
< ErikMesoy>
But seriously, I insist that there's no such thing as endless scroll properly speaking, because the internet doesn't have infinite data. It has a lot, though.
10:51
< ErikMesoy>
Which leaves us with the choice of 1) paginate for lots of ad space and clickings, 2) long single page created immediately with huge loading time and data you're probably not going to see, 3) long single page created dynamically which can't keep your place and doesn't answer to Ctrl-F properly and other issues.
10:55
< Vornotron>
or 4) long single page created dynamically with headers that change the url as you pass them.
10:55
< ErikMesoy>
Are you thinking of WordPress? Because that's not really single page.
10:56
< Vornotron>
I haven't seen wordpress do that
10:56
< ErikMesoy>
I've noticed some WordPress blogs pretend to be infinite single page and update the URL to /2, /3 as you scroll down every N posts, loading as you go, but if you click on a post and then click Back, what you actually get back to is posts 2N to 3N-1.
10:57
< Vornotron>
weird
10:57
< Vornotron>
yeah, the principle is approximately that, but... not that sucky
10:58
< ErikMesoy>
"Approximately that, but not that sucky" is a nice design goal for a lot of things. :D Where have you seen 4?
10:58
< Vornotron>
I don't remember anymore.
11:00
<@TheWatcher>
The problem I have with endless scroll is that it simply wastes memory, and can potentially produce every-increasing reflow delays
11:00
< ErikMesoy>
if you're reflowing on an endless scroll, you are doing it wrong :/
11:00
<@TheWatcher>
Yeah, I've seen it done, though
11:13
< Vornotron>
I get grumpy at really long pages where the menu bar or toc is basically inaccessible unless you scroll all the way to the top or something.
11:14 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has quit [Ping timeout: 121 seconds]
11:15
< Vornotron>
I'm looking at you, Python and Lua language documentation
11:17
<&McMartin>
Speaking of #2 on that list, I've got some writeups I should do tomorrow.
11:24
< Vornotron>
Lua's is even worse because the toc is on a different page entirely
11:24 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has joined #code
11:24 mode/#code [+o Orthia] by ChanServ
12:04 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has quit [Ping timeout: 121 seconds]
12:05 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:05 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has joined #code
12:05 mode/#code [+o Orthia] by ChanServ
13:06 Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection closed]
13:07 Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection reset by peer]
13:52 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
14:46 Stalker [Z@Nightstar-ro94ms.balk.dk] has joined #code
15:52 thalass [thalass@Nightstar-bce70i.eastlink.ca] has joined #code
15:57 thalass_ [thalass@Nightstar-bce70i.eastlink.ca] has joined #code
15:57 thalass_ [thalass@Nightstar-bce70i.eastlink.ca] has quit [Connection closed]
16:22 celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has joined #code
16:22 mode/#code [+o celticminstrel] by ChanServ
17:14 thalass [thalass@Nightstar-bce70i.eastlink.ca] has quit [[NS] Quit: blarg]
17:15 Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
18:12 AbuDhabi_ [AbuDhabi@Nightstar-5km4rl.adsl.tpnet.pl] has quit [Connection reset by peer]
18:12 AbuDhabi_ [AbuDhabi@Nightstar-5km4rl.adsl.tpnet.pl] has joined #code
18:34 AbuDhabi1 [AbuDhabi@Nightstar-q2urfa.adsl.tpnet.pl] has joined #code
18:37 AbuDhabi_ [AbuDhabi@Nightstar-5km4rl.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
19:38
<@Alek>
the menu bar/toc/navigation bar are, ideally, in a fixed frame on a side of any given long-page. imho. where side includes top or bottom as well.
19:39
<@Tarinaky>
Typical f***ing thing. My IRC shell decides to put my ip address in hosts.deny at Christmas :/
19:39
<@Tarinaky>
wtf.
19:39
<@Tarinaky>
I hate computers -.-
19:40 * Alek patpats Taki
19:40
<@Tarinaky>
So now I'm having to daisy chain through /another/ shell account and it's all as slow as dishwater.
19:51 Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has joined #code
20:05 Turaiel[Offline] is now known as Turaiel
20:32
<@froztbyte>
Tarinaky: use key auth
20:32
<@froztbyte>
then you never enter a wrong password
20:33
<@froztbyte>
and you never lock yourself out
20:33
<@froztbyte>
(easiest solution possible which can work without having root)
20:33
<@Tarinaky>
froztbyte: Wait, that bypasses hosts.deny?
20:33
<@froztbyte>
no
20:34
<@froztbyte>
it bypasses you landing up in hosts.deny
20:34
<@Tarinaky>
Then it's not really a solution to anything.
20:34
<@froztbyte>
but if you have root on the host, just add the IP to hosts.allow
20:34
<@froztbyte>
it gets checked first
20:34
<@Tarinaky>
I don't have root on the host.
20:34
<@froztbyte>
Tarinaky: I didn't say it solves your problem now. it's a future solution. stop being difficult.
20:35
<@Tarinaky>
I didn't type a wrong password.
20:35
<@froztbyte>
how the hell do you end up blocking yourself out then?
20:35
<@Tarinaky>
I have no idea.
20:35
<@froztbyte>
denyhosts and fail2ban basically only care about those
20:35
<@froztbyte>
unless someone has set up blacklists and pulls them down, and your IP is in that
20:36
<@Tarinaky>
I wouldn't know.
20:36
<@froztbyte>
I guess if you have reaaaaaaaaally bad connectivity and had to retry connecting a couple of times, that might trigger it too
20:36
<@froztbyte>
but you'd have to have uganda-in-2007-bad connectivity for that
20:36
<@Tarinaky>
All I know is the connection got closed sometime around Christmas Eve and I couldn't get back on.
20:41
<@froztbyte>
heh
20:41
<@froztbyte>
anyway, sorry, I'm probably too tired and shouldn't really be on IRC right now
20:41
<@froztbyte>
ask your hostmaster to set up a portknock chain that'll allow you to dynamically feed an IP into hosts.allow
20:41
<@froztbyte>
or somesuch
20:41
<@froztbyte>
(you can do this with both denyhosts and fail2ban, afaik)
20:42
<@froztbyte>
then at least you have a(nother) workaround in future
20:59 Turaiel is now known as Turaiel[Offline]
21:02 thalass [thalass@Nightstar-bce70i.eastlink.ca] has joined #code
21:02 Turaiel[Offline] is now known as Turaiel
21:03 thalass is now known as Thalass|snakey
21:03 Turaiel is now known as Turaiel[Offline]
21:07 Turaiel[Offline] is now known as Turaiel
21:10 Derakon[AFK2] is now known as Derakon
21:10 mode/#code [+ao Derakon Derakon] by ChanServ
21:15 Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code
21:15 mode/#code [+qo Vornicus Vornicus] by ChanServ
22:15 Turaiel is now known as Turaiel[Offline]
22:17 Turaiel[Offline] is now known as Turaiel
23:00 ErikMesoy is now known as ErikMesoy|sleep
23:11 Stalker [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds]
23:30 Turaiel is now known as Turaiel[Offline]
23:33 Turaiel[Offline] is now known as Turaiel
23:34 celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
23:36 Reiv [orthianz@Nightstar-5m8.1ee.224.119.IP] has joined #code
23:36 mode/#code [+o Reiv] by ChanServ
23:37 Reiv is now known as Orth
23:38 Orthia [orthianz@Nightstar-avg.1ee.224.119.IP] has quit [Ping timeout: 121 seconds]
--- Log closed Sat Dec 28 00:00:31 2013
code logs -> 2013 -> Fri, 27 Dec 2013< code.20131226.log - code.20131228.log >

[ Latest log file ]