00:06.44 | Repo | New project: http://war.curseforge.com/projects/tscc/. Tortall's Simplified Combat Chat. tortall (Manager/Author). Approved by Aiiane. |
00:07.04 | tortall | Aiiane, I was about to ask you to approve that. Thanks! :) |
00:07.44 | Aiiane | ckknight: ping |
00:15.14 | tortall | Aiiane, could you approve the file now? :) |
00:29.03 | Deadhawk | Just hit Christmas day here. Have a good one all! |
01:44.09 | *** join/#waruidev Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
01:44.09 | *** mode/#WARUIDev [+o Cairenn] by ChanServ |
02:03.28 | art3mis | aii: i mean without the webpage |
02:03.41 | art3mis | @project phantom |
02:03.52 | art3mis | @project xhud |
02:04.07 | art3mis | i uess it's just the way the author formats the description |
02:04.21 | art3mis | some of them have a short blurb on what it doe |
02:04.23 | art3mis | does |
02:04.37 | Aiiane | like what? |
02:04.50 | art3mis | well if it would answer i'd show ya ;) |
02:05.29 | Aiiane | it's odd, the bot's answering, just not curseforge requests |
02:05.48 | Aiiane | hmm... I suppose it'd help if *curseforge* was answering |
02:05.53 | art3mis | heh |
02:06.02 | art3mis | the ghost of xmas past! |
02:06.55 | art3mis | usually theres a short blub on it if yoy do the project command something like "url" title "reformats chat" |
02:06.59 | art3mis | that type of thing |
02:07.16 | art3mis | its mostly useful for the repo commits where it's just the name though |
02:07.45 | art3mis | and it used to whisper so as not to spam the channel |
02:18.28 | Repo | art3mis: http://war.curseforge.com/projects/phantom/. Phantom. Game: WAR. Aiiane (Manager/Author). Updated: 4 days ago. Tickets: 1/1 |
02:18.29 | Repo | art3mis: http://war.curseforge.com/projects/xhud/. xHUD. Game: WAR. talvinen (Manager/Author). Updated: 9 days ago. Tickets: 11/39 |
02:19.09 | Aiiane | there it goes |
02:33.15 | *** join/#waruidev encaitar1 (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
04:14.02 | *** join/#waruidev narcissism (n=narcissi@208.176.157.252) |
04:36.17 | tortall | Happy Holidays all. |
04:36.36 | Aiiane | still 25 minutes to midnight here :) |
04:36.50 | Aiiane | but happy holidays indeed :) |
05:54.14 | art3mis | hrm what a cool app |
05:54.33 | art3mis | http://www.formatoz.com/ |
05:54.53 | art3mis | lets you convert all media to and from other formats including ipod/phone/psp/blackberry etc |
05:55.41 | art3mis | and its rpetty quick |
05:55.57 | art3mis | converted a whole divx movie to itouch format in about 30mins |
05:57.56 | art3mis | welp bed time for me |
05:58.04 | art3mis | good loot hauls to y'all |
06:52.07 | *** join/#waruidev smcn (i=smcn@75-164-153-84.ptld.qwest.net) |
07:25.53 | *** join/#waruidev Haloperidol (i=8n238218@p57A0FE5D.dip.t-dialin.net) |
07:28.17 | *** join/#waruidev Haloperidol (i=ii710g87@p57A0DE45.dip.t-dialin.net) |
08:44.00 | *** join/#waruidev Haloperidol (i=jbm5q488@p57A0DE45.dip.t-dialin.net) |
09:04.22 | *** join/#waruidev Haloperidol (i=fkxd7p60@p57A0DE45.dip.t-dialin.net) |
09:06.19 | *** join/#waruidev amirabiri2 (n=chatzill@bzq-79-176-242-203.red.bezeqint.net) |
09:08.33 | amirabiri2 | Does anyone know how curse determines the summary popup text on mouseover for an addon in search results? |
09:08.39 | amirabiri2 | I'm getting gibberish |
09:09.07 | *** join/#waruidev Haloperidol (i=8p024x26@p57A0FF52.dip.t-dialin.net) |
09:12.00 | ckknight | amirabiri2: it's the first part of your description |
09:12.25 | amirabiri2 | yeah I notice now that everybody who use wikimarkup get gibberish |
09:12.39 | amirabiri2 | curse is taking the TOC it produces itself as "first part" |
09:12.44 | amirabiri2 | instead of the description |
09:13.32 | amirabiri2 | Is there an alternative way of supplying curse with the popup text ? |
09:19.20 | ckknight | no, the way the syncer works it just gets the first part of the description |
09:23.26 | amirabiri2 | hmm |
09:23.30 | amirabiri2 | That needs to change |
09:23.42 | amirabiri2 | it needs to ignore the TOC it generated itself when doing that |
09:23.52 | amirabiri2 | the result is gibbeish |
09:24.07 | amirabiri2 | I'll submit a ticket to curse |
09:28.57 | amirabiri2 | erm.. can't find where to do that |
09:29.50 | amirabiri2 | hmm foudn it |
09:30.03 | amirabiri2 | in the KB... no link otherwise..? |
09:30.27 | amirabiri2 | OK the link was there all along... o.O |
09:30.42 | amirabiri2 | <-- ... |
09:35.41 | ckknight | there's a link? |
09:35.54 | ckknight | note: curse â curseforge |
09:40.15 | amirabiri2 | I meant curseforge |
10:03.55 | ckknight | yea |
10:03.59 | ckknight | that just means I'll get a ticket |
10:04.39 | ckknight | :-P |
10:20.20 | amirabiri2 | well you got one :-) |
10:20.32 | amirabiri2 | at your service :-) |
11:21.06 | *** join/#waruidev tortall (n=kvirc@adsl-75-42-96-214.dsl.sfldmi.sbcglobal.net) |
12:44.19 | *** join/#waruidev Aiiane_ (n=Aiiane@static-64-83-15-85.dsl.cavtel.net) |
13:04.18 | amirabiri2 | Is there a lib that deals with timers? |
13:04.41 | amirabiri2 | i.e setting a function to be called after a certain amount of time elapsed, throtling, etc? |
13:14.29 | xd | like libtimer? |
13:18.39 | amirabiri2 | yes |
13:18.49 | amirabiri2 | I can't find a LibTiber on curse... |
13:29.19 | ckknight | xd: your name confuses my IRC client |
13:29.30 | ckknight | all I see is the emoticon :-P |
13:55.29 | *** join/#waruidev Haldol (i=6zgipkx6@p57A0FF52.dip.t-dialin.net) |
13:58.51 | *** join/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
14:01.36 | *** join/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
14:02.48 | *** part/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
14:03.19 | *** join/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
14:38.18 | *** mode/#WARUIDev [+o Aiiane] by ChanServ |
14:49.55 | amirabiri2 | So is there LibTimer? |
14:50.06 | amirabiri2 | And while we're there, is there LibEvent? |
14:50.15 | amirabiri2 | I'd love to write these two right now |
14:50.16 | *** join/#waruidev agon (n=agon@gar31-4-82-240-198-22.fbx.proxad.net) |
14:50.26 | amirabiri2 | I just wouldn't want to rewrite the wheel... |
14:50.37 | amirabiri2 | Well as long as it's round of course... |
14:52.27 | Aiiane | I think I already discussed libraries about events with you, didn't I? (*hazy memory*) |
14:52.56 | Aiiane | there are multiple timer libs |
14:54.33 | amirabiri2 | Yes we discussed the idea of creating a library for events |
14:54.33 | Aiiane | acetimer's been ported to WAR, there's ztimelib, both of those are set-and-fire timer implementations |
14:55.02 | Aiiane | I told you that CallbackHandler already existed as part of the ace3 port |
14:55.21 | amirabiri2 | I don't remember that part... |
14:55.39 | amirabiri2 | OK I'll check ace then |
14:55.57 | amirabiri2 | I was reluctant to use a framework for something as simple as a small addon |
14:56.04 | amirabiri2 | but if everything is already there... |
14:57.28 | Aiiane | ace3 is modular |
14:57.35 | Aiiane | you only use the parts you need |
14:57.55 | Aiiane | (unlike ace2 which was far more condensed) |
15:11.31 | amirabiri2 | I'm looking at Ace's files now |
15:11.39 | amirabiri2 | They indeed look lightweight |
15:21.35 | amirabiri2 | OK I'm a little confused... |
15:21.58 | amirabiri2 | I've checked the online documentation, and downloaded an example but it's only more confusing. |
15:22.50 | amirabiri2 | Is there documentation anywhere of how you are supposed to include, let's say CallbackHandler-1.0 |
15:23.40 | amirabiri2 | I've downloaded the files and it doesn't seem like they take care of their loading, hence I'd want to load LibStub and then the lib myself |
15:24.04 | amirabiri2 | However I've downloaded lootlink and it seems to have .mod files, which I can't find in the Ace download |
15:26.23 | *** join/#waruidev Haloperidol (i=78ec969o@p57A0FF52.dip.t-dialin.net) |
15:34.22 | *** join/#waruidev Aiiane_ (n=Aiiane@static-64-83-15-85.dsl.cavtel.net) |
15:37.04 | *** mode/#WARUIDev [+o Aiiane] by ChanServ |
15:40.56 | agon | is there a way to "skin" the psistatus bars ? |
15:41.03 | agon | i mean changing the gradient style |
15:42.05 | agon | and suqred can display AP bar for partys/wb ? :x |
15:51.34 | Zedde | is there a mod that you can change the hotbar as you like ? |
15:51.46 | Zedde | and the map ? |
16:11.42 | *** join/#waruidev LilenaDOK (i=HydraIRC@adsl-66-140-108-248.dsl.lbcktx.swbell.net) |
16:22.32 | *** join/#waruidev Repo (n=supybot@69.57.184.216) |
16:22.33 | *** mode/#WARUIDev [+v Repo] by ChanServ |
16:23.43 | Repo | 10rv_adap: 03gutgut * r4 / (4 files in 3 directories): - modified target & mouseover windows |
16:23.49 | Repo | 10rv_adap: 03gutgut 04v2.0 * r5 : - modified target & mouseover windows |
16:24.18 | Repo | New project: http://war.curseforge.com/projects/talismanwillard/. TalismanWillard. Onni_x (Manager/Author). Approved by Aiiane. |
16:24.40 | *** join/#waruidev Repo (n=supybot@69.57.184.216) |
16:24.40 | *** mode/#WARUIDev [+v Repo] by ChanServ |
16:27.17 | *** join/#waruidev LilenaDOK (i=HydraIRC@adsl-69-149-121-182.dsl.lbcktx.swbell.net) |
16:29.52 | *** join/#waruidev TigerCR1200 (i=HydraIRC@adsl-68-92-100-77.dsl.lbcktx.swbell.net) |
16:37.41 | *** join/#waruidev beatrixkiddo (i=b@75-11-36-159.lightspeed.kscyks.sbcglobal.net) |
16:51.46 | *** join/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
16:53.56 | amirabiri2 | Is there any place I can find documentation of the Ace3 API in ? |
16:57.19 | *** part/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
17:04.46 | *** join/#waruidev gutgut (n=Aes@p5B0A631E.dip.t-dialin.net) |
17:25.44 | *** join/#waruidev Nechckn_V2 (n=N@WoWUIDev/Norganna/PRManager/Nechckn) |
17:33.20 | gutgut | hmm my new repo svn://gutgut@svn.curseforge.net/war/ttstatic/mainline/trunk won t found since hours :P maybe there is an error |
17:48.33 | amirabiri2 | I'm banging my head against the wall here with CallbackHandler... is there any documentation of it anywhere ? |
17:53.05 | Repo | 10cmap: 03gutgut 044.1 * r17 : - added border config |
17:53.09 | Repo | - added general offset config |
17:53.15 | Repo | 10cmap: 03gutgut * r16 / (3 files in 1 directory): - added border config |
17:53.19 | Repo | - added general offset config |
18:23.03 | amirabiri2 | Has CallbackHandler ever worked..? |
18:23.27 | amirabiri2 | I can't find the point where the callbacks are supposed to be called.. |
18:24.22 | *** join/#waruidev beatrixkiddo (i=b@75-11-36-159.lightspeed.kscyks.sbcglobal.net) |
18:28.08 | *** join/#waruidev smcn (i=smcn@75-164-153-84.ptld.qwest.net) |
18:31.04 | tortall | What is it supposed to do? |
18:32.05 | amirabiri2 | call the callbacks.. |
18:37.47 | *** join/#waruidev Haloperidol (i=hj4h8195@p57A0FF52.dip.t-dialin.net) |
18:39.47 | tortall | callbacks for what? |
18:43.29 | ckknight | your mom's callbacks |
18:44.02 | amirabiri2 | OK, CallbackHandler is not calling anything as of 3.0.4... |
18:44.12 | amirabiri2 | I've just added the calling code myself... |
18:44.39 | ckknight | lol |
18:45.06 | amirabiri2 | ..? |
18:45.22 | ckknight | I think it's funny. |
18:45.26 | amirabiri2 | IT'S NOT FUNNY!!! <tears own hair out) |
18:45.29 | ckknight | that is all |
18:45.33 | ckknight | Ace3 has horrid docs |
18:45.47 | ckknight | but people think it's hot shit because it's Ace |
18:45.48 | ckknight | ;-) |
18:46.08 | amirabiri2 | No no.. let's not beatify things: Ace3 has *NO* docs... |
18:46.25 | ckknight | are there none in the WAR version? |
18:46.27 | ckknight | hrm |
18:46.36 | amirabiri2 | No. I've used the WOW docs |
18:46.40 | ckknight | le sigh |
18:46.56 | ckknight | well, at least I added automated documentation to curseforge now |
18:47.09 | ckknight | which'll push people to document their shit |
18:47.14 | amirabiri2 | Did you resolve *my* ticket? (me me me!) |
18:47.19 | ckknight | which ticket was this? |
18:47.31 | amirabiri2 | the thing with removing the TOC from the mouse over tooltip |
18:47.42 | tortall | I still don't even see what CallBackHandler is supposed to do. |
18:47.59 | ckknight | amirabiri2: I can't fix that, that's a curse issue. I have to work with that team, at least |
18:48.16 | ckknight | basically, I need to add another field to the xml sync |
18:48.20 | ckknight | and then we wait like 2 months |
18:48.26 | ckknight | and they implement it on their end |
18:48.31 | amirabiri2 | ckknight: I was just teasing.. don't take me too seriously :-) |
18:48.55 | ckknight | (btw, I'm frustrated with the slow pace of Curse.com implementing things for me) |
18:49.03 | *** join/#waruidev Haldol (i=n3w55p1q@p57A0FF52.dip.t-dialin.net) |
18:49.04 | ckknight | (despite working in the next room from them) |
18:49.13 | amirabiri2 | Sorry Tor that was me being thick with the DCC there |
18:49.38 | amirabiri2 | tortall: CallbackHandler is a library that supplies event handling for an addon |
18:50.00 | amirabiri2 | How many developers and sysadmins are working in Curse? |
18:50.02 | tortall | What events, though? |
18:50.22 | amirabiri2 | Events defined by the addon |
18:51.04 | amirabiri2 | Where I work we are about 60 devs and sysadmins, and I tell you it's a nightmare |
18:51.47 | tortall | Oh. So other addons use CallbackHandler to register for your events, and when you trigger them, the callbacks are called? |
18:52.14 | ckknight | amirabiri2: me and Kaelten on curseforge/wowace. Two other guys (three if you count the supervisor, but he has his own projects and doesn't work on it full-time) on Curse.com. Two who work on the curse client. The supervisor who is actually a dev and does little supervising, he makes WARDB and a bunch of services. One other guy who works on the DB sites. |
18:52.35 | ckknight | there's 6 in the office as-is |
18:52.39 | ckknight | one is coming soon |
18:52.49 | amirabiri2 | yes, except CallbackHandler is LibStub'ed, which means that its existence is transparent to other addons. From their point of view they are only calling methods in the addon that is using CallbackHandler. |
18:53.25 | tortall | Neat. I looked at LibStub briefly, but didn't catch what it was really doing. |
18:53.54 | ckknight | LibStub holds libraries and keeps a version number for them |
18:53.54 | tortall | I haven't delved much into metatables. |
18:54.01 | ckknight | metatables are ftw, though |
18:54.43 | amirabiri2 | ckknight: Well that's not a large number of devs, the Curse team is either understaffed, incompetent, there is a prioritization problem, or your stuff just isn't a priority :-) |
18:54.57 | ckknight | understaffed. |
18:55.08 | ckknight | and prioritization problems |
18:55.10 | tortall | How much do you pay? :D |
18:55.16 | ckknight | are you a .NET developer? |
18:55.28 | ckknight | and willing to transfer to Huntsville, AL? |
18:55.33 | ckknight | and already a US resident? |
18:56.04 | amirabiri2 | tortall: LibStub allows you to "embed" a library into your addon so that you can ship it with you addon without requiring the user to download it separately, but without casuing collisions with other addons that may be using it either |
18:56.12 | amirabiri2 | lol |
18:56.19 | amirabiri2 | Well I'm a PHP team lead |
18:56.26 | amirabiri2 | I live in London |
18:56.35 | amirabiri2 | And I'm currently on a UK work permit :-) |
18:56.42 | ckknight | lua> fib = setmetatable({[0]=0,[1]=1}, {__index=function(self,key) self[key] = self[key-2] + self[key-1]; return self[key] end}); return fib[100]; |
18:56.43 | lua_bot | ckknight: 3.5422484817926e+20 |
18:56.45 | tortall | no, but I could be. Maybe, and Yes :) |
18:56.48 | amirabiri2 | Although the irony is that I'm looking to move to C# |
18:56.56 | ckknight | fibonacci sequence with metatables |
18:57.22 | ckknight | I think the role of C# is overblown. CurseForge is all python, we make do. |
18:57.55 | amirabiri2 | All of this and no PHP ? |
18:58.05 | amirabiri2 | Wouldn't it be the natural choice? |
18:58.12 | ckknight | why is PHP the natural choice? |
18:58.16 | amirabiri2 | BTW is that django or plain Python? |
18:58.18 | ckknight | Python > PHP |
18:58.19 | ckknight | :-P |
18:58.28 | ckknight | amirabiri2: used to be django, then we tore out that shit |
18:58.31 | ckknight | well, I tore out that shit |
18:58.34 | ckknight | it was holding us back |
18:58.42 | amirabiri2 | I heard horrible things about it.. |
18:58.44 | ckknight | now we're threadsafe and 10x faster |
18:59.02 | ckknight | amirabiri2: http://www.curseforge.com/kb/technology |
18:59.14 | amirabiri2 | I wouldn't be quick to state that Python > PHP... |
18:59.28 | amirabiri2 | There is a reason why the majority of web apps out there are based on PHP |
18:59.37 | amirabiri2 | And WOWHEAD is also based on PHP :-) |
19:01.15 | amirabiri2 | "an in-house open source project that ties together Werkzeug, WTForms, Jinja2, and SQLAlchemy." |
19:01.16 | ckknight | it's because PHP is a "safe" choice that comes with most systems |
19:01.19 | ckknight | and it's C-like |
19:01.35 | ckknight | amirabiri2: yea, it's basically a glue project. You can get the source if you want |
19:01.46 | amirabiri2 | http://www.jaisenmathai.com/blog/2008/04/17/why-everyone-should-write-a-framework-and-never-use-it/ |
19:02.03 | amirabiri2 | No it's not :- |
19:02.05 | ckknight | actually our framework is used by more than just us |
19:02.26 | amirabiri2 | I am a PHP developer for the past 8 years mate, current a team lead and working in a team of 60 devs |
19:02.42 | ckknight | your lack of namespaces angers and confuses me |
19:02.48 | ckknight | :-P |
19:02.52 | amirabiri2 | I know a thing or two about PHP, and while I a very vocal critic of it who is much looking to move on from it, it has many advantages |
19:02.56 | ckknight | also, Python lacked WSGI for a while, which really hurt it |
19:03.03 | ckknight | now that it has it, it's really easy to do deployments |
19:03.07 | amirabiri2 | many things in PHP anger and confuse me :-) |
19:03.14 | ckknight | hehe |
19:03.23 | ckknight | WSGI is a standard interface for python web apps |
19:03.25 | ckknight | btw |
19:03.25 | tortall | So, if the Tome says "Complete a specific task" for an unlock, what does it mean? |
19:03.59 | amirabiri2 | What do you mean by standard interface ? |
19:04.12 | amirabiri2 | BTW PHP 5.3 / 6.0 will have namespaces |
19:04.14 | ckknight | amirabiri2: standard API |
19:04.31 | amirabiri2 | Is it a framework ? |
19:04.35 | ckknight | no, it's an API |
19:04.44 | ckknight | amirabiri2: basically by having WSGI, various third parties can support that API rather than a specific framework |
19:04.48 | ckknight | such as apache's mod_wsgi |
19:05.01 | ckknight | as long as you implement the expected API, you're WSGI-compliant |
19:05.11 | ckknight | amirabiri2: is PHP still horrid wrt unicode? |
19:05.40 | amirabiri2 | 6.0 will have full built-in unicode support |
19:06.19 | amirabiri2 | How do you compare Python to Ruby BTW ? |
19:06.24 | amirabiri2 | Just out of curiosity |
19:07.00 | ckknight | I like em both |
19:07.03 | ckknight | personally, I prefer Ruby |
19:07.10 | ckknight | cause I like abusing closures |
19:07.25 | ckknight | I came to work on curseforge after working on ruby stuff |
19:07.33 | *** join/#waruidev encaitar (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
19:07.37 | ckknight | I still pine for each { |x| blah } |
19:07.41 | ckknight | :-P |
19:07.47 | ckknight | and such |
19:07.55 | ckknight | it's far harder to build DSLs in Python |
19:08.00 | ckknight | to the point where it's just not done because of it |
19:08.26 | ckknight | and Ruby 1.9 brings it up to speed in a lot of respects (including performance) to the likes of Python and PHP |
19:09.13 | amirabiri2 | I have also studied Ruby in the past year |
19:09.25 | ckknight | I like that I can do functionalesque programming in it |
19:09.33 | ckknight | (near-impossible in python) |
19:09.39 | amirabiri2 | Actually in the past two years I've studied almost everything out there... o.O |
19:09.44 | amirabiri2 | I'm very keen on moving on |
19:09.49 | ckknight | Erlang ftw |
19:09.50 | ckknight | :-P |
19:09.54 | amirabiri2 | However I wasn't entirely fond of Ruby |
19:09.58 | ckknight | why's that? |
19:09.59 | amirabiri2 | I liked it a lot |
19:10.01 | amirabiri2 | it's fun |
19:10.02 | amirabiri2 | but |
19:10.08 | ckknight | I wasn't at first either, but I grew to like it a lot |
19:10.12 | amirabiri2 | open classes give me the shivers |
19:10.15 | ckknight | hehe |
19:10.26 | ckknight | I think they're useful |
19:10.37 | ckknight | but I think it could've been done better |
19:10.50 | ckknight | proper namespacing like LISP or Erlang or C# wrt extension methods |
19:14.04 | amirabiri2 | ugh now you're really drifting away for me... lol |
19:14.10 | amirabiri2 | LISP - ugh! |
19:14.15 | amirabiri2 | Erlang - ugh! |
19:14.46 | ckknight | ugh? |
19:14.57 | amirabiri2 | ugh == yuck |
19:15.08 | amirabiri2 | ugh == bah |
19:15.12 | ckknight | yea |
19:15.13 | ckknight | but why. |
19:15.30 | amirabiri2 | Lost in a See of Parenthesis rings any bells ? |
19:15.44 | amirabiri2 | :-) |
19:16.09 | amirabiri2 | I have to use Scheme in the "introduction to CS" course in uni |
19:16.12 | amirabiri2 | <PROTECTED> |
19:16.21 | ckknight | my other car is a cdr. |
19:16.43 | amirabiri2 | I still wake up covered with cold sweat from it... |
19:16.58 | ckknight | so wanna see something cool I did in lua? |
19:17.03 | amirabiri2 | I would shoot myself before taking on any larger than small project with LISP |
19:17.11 | ckknight | http://www.curseforge.com/paste/38-functional-lua/ |
19:17.11 | amirabiri2 | yes of course :-) |
19:17.41 | ckknight | let it be remembered that I did it for the lulz. |
19:17.59 | ckknight | it's functional programming in lua |
19:18.03 | ckknight | nearly everything is tail-recursive |
19:18.16 | amirabiri2 | lol |
19:18.25 | amirabiri2 | Python dev brought to lua |
19:18.29 | tortall | tl;dr |
19:18.31 | tortall | :p |
19:18.35 | amirabiri2 | the lua interpreter is redefined |
19:18.43 | ckknight | it's not python dev |
19:18.45 | ckknight | it's Erlang-style |
19:18.56 | ckknight | python's not functional |
19:18.59 | ckknight | at least not in a good way |
19:19.23 | amirabiri2 | I'm referring to the Tuples |
19:20.00 | ckknight | ah |
19:20.19 | ckknight | well, I was referring to the proposed lua tuple implementation |
19:20.20 | ckknight | not python's |
19:20.25 | ckknight | (5.2 or 5.3 lua) |
19:20.53 | ckknight | also, tuples are a mathematical construct. |
19:22.04 | ckknight | they're tuples because they're immutable (and also cacheable because of it) |
19:23.38 | amirabiri2 | Yes I've only encountered them until today as "Tuples" in Python |
19:24.17 | ckknight | well, we had tons of tuples in Computational Theory :-P |
19:24.25 | ckknight | accursed Turing. |
19:24.54 | ckknight | :P |
19:25.07 | amirabiri2 | :-) |
19:25.17 | amirabiri2 | Anyway going back I'm trying to understand what you've done there |
19:25.27 | amirabiri2 | I have very little lua experience |
19:25.39 | amirabiri2 | does lua have magic stuff under __x ? |
19:26.14 | ckknight | in its metatables, yes |
19:26.22 | ckknight | but that's separate from the tables themselves |
19:27.01 | amirabiri2 | and what's _G ? |
19:27.09 | ckknight | the global table |
19:27.28 | ckknight | all globals are assigned and retrieved from it by default |
19:27.40 | amirabiri2 | isn't that the default if the symbol isn't found in the local symbol table ? |
19:27.44 | ckknight | lua> x = 5; print(_G.x); _G.y = 6; print(y) |
19:27.44 | lua_bot | ckknight: 5, 6 |
19:28.04 | amirabiri2 | lua> _G.x = x; print( x ) |
19:28.05 | lua_bot | amirabiri2: nil |
19:28.14 | amirabiri2 | ahm |
19:28.15 | ckknight | well, the initial x was nil |
19:28.18 | ckknight | lua> local proxy = newproxy(true); getmetatable(proxy).__call = function(self) print("Ur mom has magic stuff") end; proxy() |
19:28.19 | lua_bot | ckknight: Ur mom has magic stuff |
19:28.22 | amirabiri2 | lua> _G.x = 1; print( x ) |
19:28.23 | lua_bot | amirabiri2: 1 |
19:29.57 | amirabiri2 | OK so where's WarAce's SVN rep ? |
19:30.11 | ckknight | @project war/ace3 |
19:30.12 | Repo | ckknight: http://war.curseforge.com/projects/ace3/. Ace3. Game: WAR. Kaelten (Manager/Author), Aiiane (Author), pwerelds (Author). Updated: 61 days ago. Tickets: 2/2 |
19:30.26 | ckknight | hehe, it's Hg, not SVN |
19:30.27 | ckknight | http://hg.curseforge.net/war/ace3/mainline |
19:31.32 | amirabiri2 | You lie ! |
19:31.39 | amirabiri2 | root@bytemark.abiri.org [dbg:off] /root> |
19:31.41 | amirabiri2 | root@bytemark.abiri.org [dbg:off] /root>svn ls http://hg.curseforge.net/war/ace3/mainline |
19:31.43 | amirabiri2 | svn: PROPFIND request failed on '/war/ace3/mainline' |
19:31.44 | amirabiri2 | svn: PROPFIND of '/war/ace3/mainline': 200 Script output follows (http://hg.curseforge.net) |
19:32.03 | ckknight | you can't do svn ls on that. |
19:32.19 | ckknight | it'll return bad data |
19:32.43 | amirabiri2 | well where does the trunk/branches/tags start ? |
19:33.17 | ckknight | that's not how hg works |
19:33.32 | amirabiri2 | oh crap I just realized what you're saying... |
19:33.35 | amirabiri2 | it's not svn... |
19:33.38 | amirabiri2 | ugh |
19:34.16 | ckknight | the default branch is 'default' |
19:34.20 | ckknight | that's like trunk |
19:34.24 | ckknight | you can have other branches, though |
19:34.30 | ckknight | and tags are just pointers to a certain ref |
19:36.00 | amirabiri2 | does mercurial have a gui ? |
19:36.03 | amirabiri2 | like tortoise ? |
19:36.14 | ckknight | TortoiseHg |
19:37.02 | amirabiri2 | Suprise suprise |
19:38.53 | amirabiri2 | need to restart... o.O |
19:38.56 | amirabiri2 | Hate restarting |
19:39.01 | amirabiri2 | got everything open dammit |
19:39.06 | ckknight | yea |
19:39.10 | ckknight | I use a mac... |
19:39.11 | ckknight | :-P |
19:39.31 | encaitar | You know why this is just eating my first character instead of replacing it? task = wstring.gsub(task, L"%w", function (s) return wstring.upper(s) end, 1) |
19:39.48 | ckknight | hrm... |
19:40.05 | ckknight | oh |
19:40.09 | ckknight | L"(%w)" |
19:40.25 | encaitar | Without a match it should take the whole strnig |
19:40.39 | encaitar | but i've tried both ways |
19:40.44 | ckknight | like a bisexual |
19:41.18 | amirabiri2 | lol |
19:41.22 | amirabiri2 | jesus |
19:41.24 | ckknight | I dunno |
19:41.29 | amirabiri2 | you've got one mouth on you kid don't you ? |
19:41.33 | amirabiri2 | lol |
19:41.46 | ckknight | that reminds me of your mom's mouth on me last night |
19:41.58 | amirabiri2 | yup that's what I meant :-) |
19:42.03 | ckknight | ...hehe |
19:42.13 | ckknight | you must learn to embrace the "your mom" joke |
19:42.16 | ckknight | make it a part of you |
19:42.24 | ckknight | well, that and a cowboy hat |
19:42.58 | amirabiri2 | If you do not make friend with the "your mom" joke, it is an enemy to be feared.. |
19:43.09 | tortall | encaitar, s is not defined, so it's replacing it with nil, or an empty string. |
19:43.10 | amirabiri2 | Now kid, I'll give you two points if you spot the reference |
19:43.22 | ckknight | tortall: false. |
19:43.30 | ckknight | tortall: s is defined in the function params |
19:43.51 | ckknight | I don't know why you people love doing wstring.gsub instead of like task:gsub, though |
19:43.56 | ckknight | and s:upper() works just as well |
19:44.43 | encaitar | tortall, it's supposed to pass the matches into the function |
19:44.53 | amirabiri2 | encaitar: your regexp is wrong |
19:45.05 | amirabiri2 | it only grabs the first character of the string |
19:45.11 | encaitar | That's all I want |
19:45.17 | encaitar | Just making first char uppercase |
19:45.38 | amirabiri2 | yes, but you want to return the rest, don't you ? |
19:45.51 | ckknight | amirabiri2: irrelevant, that's not how gsub works |
19:46.09 | ckknight | task:gsub(L"(%w)", wstring.upper) |
19:46.12 | ckknight | try it, encaitar |
19:46.22 | encaitar | ok .. |
19:46.41 | ckknight | lua> task = "ur mom"; return task:gsub("(%w)", string.upper) |
19:46.42 | lua_bot | ckknight: UR MOM, 5 |
19:46.45 | ckknight | hrm... |
19:46.52 | ckknight | lua> task = "ur mom"; return task:gsub("(%w)", string.upper, 1) |
19:46.52 | lua_bot | ckknight: Ur mom, 1 |
19:47.01 | ckknight | yea, I guess you need the 1 at the end |
19:47.05 | ckknight | or ... |
19:47.10 | ckknight | lua> task = "ur mom"; return task:gsub("^(%w)", string.upper) |
19:47.11 | lua_bot | ckknight: Ur mom, 1 |
19:47.17 | ckknight | there we are. |
19:47.25 | ckknight | alternatively: |
19:47.40 | ckknight | lua> task = "ur mom"; return task:sub(1, 1):upper() .. task:sub(2) |
19:47.41 | lua_bot | ckknight: Ur mom |
19:49.09 | ckknight | anybody get the subtle joke that "ur mom" is a task? |
19:49.14 | amirabiri2 | ckknight: encaitar's original line works for me with string instead of wstring |
19:49.22 | amirabiri2 | lol |
19:49.27 | ckknight | well, the luabot has no wstring support |
19:49.34 | ckknight | so that's how I showed it |
19:49.36 | amirabiri2 | you haven't spotted the reference yet |
19:49.43 | ckknight | what reference? |
19:49.54 | amirabiri2 | <amirabiri2>If you do not make friend with the "your mom" joke, it is an enemy to be feared.. |
19:50.10 | amirabiri2 | I am betting you are too young.. |
19:51.32 | encaitar | task:gsub doesn't kill my first letter but it doesn't make it upper either. |
19:51.57 | ckknight | here's my guess: their shittily written custom gsub doesn't accept functions as the third argument properly. |
19:52.28 | Repo | New project: http://war.curseforge.com/projects/bankalarm/. BankAlarm. curious_jp (Manager/Author). Approved by Ackis. |
19:52.33 | encaitar | Could be. Guess I'm using sub |
19:53.06 | ckknight | does concat with wstrings work? |
19:53.52 | encaitar | yeah |
19:54.20 | ckknight | imo, WAR's handling of unicode strings is pretty shoddy |
19:54.35 | amirabiri2 | I was gonna say the same thing |
19:54.47 | amirabiri2 | replacing everything with string instead of wstring works |
19:54.53 | amirabiri2 | so it looks like a bug in wstring |
19:55.12 | ckknight | sometimes the black box is broken ;-) |
19:55.25 | amirabiri2 | yes |
19:56.20 | encaitar | Well, at least it's not me overlooking something obvious :) |
19:59.17 | amirabiri2 | OK who's Paul? |
19:59.23 | amirabiri2 | That's the bastard |
19:59.25 | amirabiri2 | it's all him |
19:59.50 | ckknight | Paul? |
20:00.34 | amirabiri2 | root@bytemark.abiri.org [dbg:off] /root/ace3/CallbackHandler-1.0>hg log CallbackHandler-1.0.lua |
20:00.36 | amirabiri2 | changeset: 18:c98220407364 |
20:00.37 | amirabiri2 | tag: 3.0.4 |
20:00.39 | amirabiri2 | user: Paul |
20:00.40 | amirabiri2 | date: Sun Oct 19 14:24:12 2008 +0200 |
20:00.42 | amirabiri2 | summary: Small fix. |
20:00.43 | amirabiri2 | changeset: 16:482b16decc27 |
20:00.45 | amirabiri2 | user: Paul |
20:00.47 | amirabiri2 | date: Fri Oct 17 09:19:59 2008 +0200 |
20:00.48 | amirabiri2 | summary: Code cleanup, AceAddon fix. |
20:00.50 | amirabiri2 | changeset: 15:b758ef6b6ccb |
20:00.52 | amirabiri2 | user: Paul |
20:00.53 | amirabiri2 | date: Thu Oct 16 22:20:48 2008 +0200 |
20:00.55 | amirabiri2 | summary: Adding AceDB-3.0 AceDBOptions-3.0 and CallbackHandler-1.0 to the list of ports that should work. Keep in mind to prefix each of these with WAR- just like the previous ports. |
20:05.12 | *** join/#waruidev art3mis_ (n=art3mis@ool-457b5a3d.dyn.optonline.net) |
20:05.12 | *** join/#waruidev tortall (n=kvirc@adsl-75-42-96-214.dsl.sfldmi.sbcglobal.net) [NETSPLIT VICTIM] |
20:05.16 | *** join/#waruidev encaitar (n=James@c-71-205-106-209.hsd1.mi.comcast.net) [NETSPLIT VICTIM] |
20:05.16 | *** join/#waruidev Zedde (i=mircwars@87.96.219.172) [NETSPLIT VICTIM] |
20:06.55 | ckknight | hrm |
20:06.55 | ckknight | dunno |
20:06.55 | ckknight | I don't know any Paul |
20:06.55 | ckknight | wonder who that is... |
20:06.56 | *** join/#waruidev Repo (n=supybot@69.57.184.216) [NETSPLIT VICTIM] |
20:06.56 | *** mode/#WARUIDev [+v Repo] by irc.freenode.net |
20:07.00 | ckknight | does it not say their email? |
20:07.02 | art3mis | hrm not a bad swag day |
20:07.02 | art3mis | got boondocks compelte series |
20:08.13 | art3mis | monopoly, an rc heli, and some uber comfy hoodies |
20:08.53 | ckknight | hehe |
20:08.53 | amirabiri2 | listen, that Paul guy simply commented out the line that actually does what CallbackHandler is all about, and you guys pushed that into a production release... |
20:08.53 | art3mis | oh and Wall-E special edition |
20:08.53 | art3mis | adn weeks of peace and quiet since i got wifey Fable 2 ;) |
20:08.54 | art3mis | got her 3months gold and left 4 dead too |
20:08.54 | art3mis | that should be fun |
20:08.54 | *** join/#waruidev Repo (n=supybot@69.57.184.216) |
20:08.54 | *** mode/#WARUIDev [+v Repo] by ChanServ |
20:08.54 | ckknight | amirabiri2: I'm not involved with Ace3 |
20:08.54 | amirabiri2 | argh! I've just spent a whole day cuz Aiiane spanked me about re-inventing the wheel with CallbackHandler and it's completely broken ! |
20:08.54 | amirabiri2 | I hate you all. I'm going home |
20:08.55 | encaitar | reinventing the wheel is OK as long as you invent a better wheel. |
20:08.55 | amirabiri2 | yes |
20:08.55 | amirabiri2 | OK I'm gonna reinvent a better wheel |
20:08.55 | ckknight | I'd suggest fixing CallbackHandler instead |
20:12.22 | *** join/#waruidev Aii (n=Aiiane@knuth.cs.hmc.edu) |
20:12.22 | *** join/#waruidev TC-Away (n=TC@cpe-76-169-229-41.socal.res.rr.com) |
20:12.22 | *** join/#waruidev sysrage (i=sysrage@cpe-069-134-058-172.nc.res.rr.com) [NETSPLIT VICTIM] |
20:12.23 | *** join/#waruidev Kaelten (n=Kaelten@WoWUIDev/WoWAce/WoWIFA/CurseStaff/kaelten) |
20:12.23 | *** join/#waruidev norgs (n=ken@WoWUIDev/Norganna/Administrator/Norgs) |
20:12.23 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) [NETSPLIT VICTIM] |
20:12.23 | *** join/#waruidev lua_bot (n=lua_bot@li37-84.members.linode.com) |
20:12.23 | *** join/#waruidev Dotoff (i=Dotted@bureaucrat.wowwiki.dk) |
20:12.23 | *** join/#waruidev knix (n=knix@unaffiliated/knix) [NETSPLIT VICTIM] |
20:12.23 | *** mode/#WARUIDev [+o Aii] by irc.freenode.net |
20:12.23 | amirabiri2 | sigh... |
20:12.24 | ckknight | hrm? |
20:12.24 | amirabiri2 | I guess you're right |
20:12.24 | amirabiri2 | I don't like it much |
20:12.24 | ckknight | does WAR provide loadstring yet? |
20:12.24 | amirabiri2 | For start, its name doesn't start with Ace |
20:12.24 | amirabiri2 | No but there is a way around that |
20:12.24 | ckknight | it's not part of Ace3, actually, Ace3 just uses it |
20:12.24 | ckknight | it's semi-Ace3 |
20:12.24 | ckknight | semi. |
20:12.46 | art3mis | ckk |
20:13.17 | art3mis | port yer chat over to WAR |
20:13.17 | ckknight | art3mis |
20:13.17 | ckknight | chat? |
20:13.17 | art3mis | or was that silvs? |
20:13.17 | amirabiri2 | So why don't I just port AceEvents instead ? |
20:13.26 | ckknight | art3mis: that was syl's |
20:13.27 | *** join/#waruidev Repo (n=supybot@69.57.184.216) |
20:13.27 | *** mode/#WARUIDev [+v Repo] by ChanServ |
20:13.36 | art3mis | yezh sylv sorry |
20:13.37 | ckknight | amirabiri2: AceEvent uses CallbackHandler |
20:13.46 | ckknight | amirabiri2: it's just a thin wrapper over it |
20:14.19 | amirabiri2 | I see. So where he hell is the original? |
20:15.01 | ckknight | on wowace |
20:15.01 | ckknight | @project wow/ace3 |
20:15.01 | Repo | ckknight: http://www.wowace.com/projects/ace3/. Ace3. Game: WoW. Kaelten (Manager/Author), hyperactiveChipmunk (Author), Antiarc (Author), Nevcairiel (Author/Maintainer), Ammo (Author), mikk (Author), Nargiddley (Author). Updated: 6 days ago. Tickets: 7/13 |
20:15.38 | amirabiri2 | yes I found it |
20:15.38 | amirabiri2 | OK let's see now |
20:17.03 | amirabiri2 | OK now I understand your question... |
20:17.04 | amirabiri2 | loadstring() |
20:17.04 | amirabiri2 | so basically it has never worked in WAR |
20:17.13 | amirabiri2 | Aiiane lied to me! |
20:17.14 | amirabiri2 | he lied! |
20:17.36 | ckknight | especially about being male |
20:17.41 | ckknight | since Aiiane's female |
20:17.48 | ckknight | ...though I haven't checked recently |
20:17.56 | amirabiri2 | You think it changes ? |
20:18.00 | amirabiri2 | Jeez |
20:18.12 | ckknight | it can |
20:18.29 | amirabiri2 | Last I heard the chop is a one way street |
20:18.38 | amirabiri2 | I don't think it can change back |
20:18.41 | ckknight | not since the late 80s |
20:19.02 | ckknight | there are FTM surgeries now |
20:19.07 | ckknight | quite successful ones |
20:19.15 | amirabiri2 | I knew I don't want to know |
20:19.44 | Zedde | is there a mod that you can change the hotbar as you like ? ( formation) |
20:20.05 | encaitar | vertigo I think |
20:20.53 | Zedde | Thanks :) |
20:21.39 | Zedde | and a good mod for map ? |
20:22.32 | Zedde | nm found the one I was looking for |
20:28.37 | *** join/#waruidev beatrixk (i=b@75-11-36-159.lightspeed.kscyks.sbcglobal.net) |
20:35.45 | amirabiri2 | well basically there is no more need for the loadstring, as the lua version has advanced and we now have ... |
20:35.54 | amirabiri2 | * function blah ( ... ) |
20:48.38 | amirabiri2 | ckknight: this syntax is doing my head in |
20:58.38 | tortall | syntax for what? |
21:02.26 | amirabiri2 | for CallbackHandler's dispatcher's staff |
21:13.21 | Zedde | Aiiane: http://www.warhammeralliance.com/forums/showthread.php?t=202828 in that post you talk about save-settings-per-character where do I finde that settings ? I have looked all over it |
21:14.45 | Zedde | maybe someone ells can answer that question |
21:24.52 | tortall | I wish I could. I only know it's possible, but have never cared to know how. |
21:35.10 | *** join/#waruidev Bloodwalker (n=none@CPE001ee55ab1f9-CM0012254086ac.cpe.net.cable.rogers.com) |
21:39.00 | Zedde | ok |
21:54.41 | encaitar | There's something in the usersettings file. |
21:55.46 | encaitar | Yeah, in user/usersettings.xml ... |
21:56.06 | encaitar | In the interface element there's an attribute save_settings_per_character |
21:56.31 | encaitar | which defaults to false |
22:06.18 | amirabiri2 | I think he's referring to something else |
22:06.55 | amirabiri2 | I think he's referring to an addon's ability to save settings on a per character basis regardless of what the user has set for the UI globally, and without requiring him to change that. |
22:28.26 | amirabiri2 | Are you seriously telling me that CallbackHandler is the standard event handling lib for addon authoring in WOW and WAR ?? |
22:28.35 | amirabiri2 | It's not working! |
22:28.57 | tortall | Never used it |
22:29.23 | tortall | Don't really see any point when writing your own mechanism is so simple. |
22:30.54 | amirabiri2 | Not re-inventing the wheel. Save development time. Not do copy-paste programming. |
22:31.05 | amirabiri2 | I'm all for libs, just ones that work.. |
22:31.21 | tortall | if it doesn't work, it's not saving you much time :) |
22:33.09 | amirabiri2 | never a truer word spoken... o.O |
22:33.21 | tortall | It sounds as if you'd have saved time and frustration by writing the 20 lines of code yourself. |
22:34.29 | amirabiri2 | which is what I'm doing right now... |
22:35.23 | amirabiri2 | I want to say it's all Aiiane's fault for pointing me towards CallbackHandler , but she in fact first told me I'm better off writing my own mechanism... |
22:35.25 | amirabiri2 | argh |
23:02.13 | *** join/#waruidev Deadhawk (n=kvirc@79-65-155-223.dynamic.dsl.as9105.com) |