irclog2html for #wowi-lounge on 20060201

00:00.00TemWhat I'm more concerned about is that the tooltip methods don't use SetText
00:01.24Maldiviawell, it would be very ineffecient, if it had to go to the lua layer for every line of text...
00:01.26IrielYou'll have to do some cleverness there
00:03.52TemI'd rather not hook every method of the tooltip again
00:03.54Temthat's a pain
00:06.01TemIn a regex how do you group things together?
00:06.17Temsay I want to match  -\\d{5} conditionally
00:07.04Cidewhat do you mean with "group"?
00:07.17TemI want both those things together
00:07.31Cidesurround them with parenthesies?
00:07.36Cideparenthesises
00:07.40Temthat would be a match, no?
00:07.40TemI
00:07.44Tem'm not looking to match them
00:07.48Cidewell
00:07.59Cidethey should match together "by default"
00:08.02Temer, a capture
00:08.07Cideif you want to do "match this OR that", use |
00:08.34Tembut how do I tell it to match XY OR Z
00:08.50TemI think that XY|Z would just match X followed by Y or Z
00:08.52CideI would do (XY|Z)
00:09.02Cidewhich would capture it, but I'm not sure how else you would do it
00:09.38TemI guess captures are fine, I don't really need them, but It won't kill me
00:11.19IrielTem: You can't for lua regexps, they're only character by character
00:12.48Maldivia<PROTECTED>
00:13.14IrielBut lua regexps dont do that.
00:13.37Maldiviacorrect... that is perl/posix/whatever regex
00:18.52IrielAsk for http://lrexlib.luaforge.net/
00:18.53Iriel8-)
00:20.42TemIriel, I'm messing about in java atm
00:21.41IrielTem: Ah, so your RE question was likely answered 8-)
00:21.43TemI got it working using captures
00:21.47Tembut I'm going to try removing them
00:21.53Corrodiasyou know
00:22.03Corrodiasnymbia's perl unitframes could use a tad bit of documentation
00:22.34Temno, that blew up
00:22.39Irielyou can use (?:X) for a non-capturing group
00:22.42TemI think the captures will stay
00:22.45Irielso (?:red|green|blue)
00:22.50Temoh
00:22.51Temperfect
00:22.58Temthanks Iriel
00:27.09Irielhttp://java.sun.com/j2se/1.4.2/docs/api/index.html
00:27.16Maldiviahmm...
00:27.19IrielHm, let me give you a better link
00:27.27Irielhttp://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
00:29.46MaldiviaHmm, anyone knows if there's a bug in the engine, so FontStrings ignore some if it's xml-parameters, if it inherits from a virtual FontString ?
00:36.20TemIriel, I was actually at that exact page, but had overlooked that stuff at the bottom
00:36.24IrielI've always found inherit/override attributes a bit strange.
00:37.13MaldiviaI have a FontString inherits="GameFontNormal" outline="NORMAL" justifyH="CENTER" justifyV="TOP"... outline is being ignored
00:37.41Maldiviaif I use font="Fonts\bla.tff" instead of inherits, it works fine
00:38.10IrielMaybe outline 'merges' rather than overrides
00:39.15Maldiviahmm... annoying
00:40.20Maldiviameans I can't use the normal font with an outline, without specifying font="Fonts\FRITQT__.TTF" -- which makes ClearFont and like users unhappy
00:40.31IrielCan you just fix it in an OnLoad?
00:41.05Maldiviahmm, need to check the wiki
00:41.20Maldiviawell, doesnt help
00:41.30Maldivianeed to call SetFont, which requires a path to a font file
00:41.45IrielYou have GetFont
00:41.49Irielso you can find your path
00:42.01Maldiviaohh yeah... I do now in 1.9
00:43.56MaldiviaWoot, that works :)
00:44.00Maldiviaugly hack
00:46.42Maldivialooking forward to 1.10... 1 call instead of 135...
00:47.11Maldiviawith Font objects
00:54.34KtronSo, 1.10 is eliminating xml, right?
00:54.39IrielNo.
00:54.45Irielit's eliminating EDITS to FrameXML
00:55.23KtronIe, any edits to game frames must be done with LUA, but xml for your addons frames is still good to go
00:55.32Ktronright?
00:55.35IrielYes
00:55.51IrielI'd recommend sticking with it for anything where dynamic allocation doesn't make MORE sense than xml
00:55.52KtronHeh, I wonder how many addons will break with 1.10
00:56.03IrielI suspect very few, from that
00:56.54MaldiviaI have a mod that creates 15 frames "just in case"
00:57.12Maldiviaalthough usually only 5-9 of them are used
00:57.27IrielSo that'
00:57.36Irielthat'd be a perfect candidate for dynamic frames
00:58.26Wob<PROTECTED>
00:58.47Maldiviaalso, with dynamic frames, I wont have to set a hard cap
00:59.07MentalPowerGatherer's XML file will be significantly reduced (it creates 600+ frames)
01:00.00MaldiviaIriel: btw, running a MC now, with secretsauce memoize :)
01:00.44Irielheh, I like remeta better myself, for cleanliness 8-)
01:03.11*** join/#wowi-lounge RedcXe (i=L@cpe-72-225-168-185.si.res.rr.com)
01:03.55*** join/#wowi-lounge RedcXe (i=L@cpe-72-225-168-185.si.res.rr.com)
01:05.40*** join/#wowi-lounge Kaelten (n=Kaelten@68.63.3.183)
01:05.45*** mode/#wowi-lounge [+o Kaelten] by ChanServ
01:05.48Kaeltenhello everyone
01:06.00Cairennhi Kaelten
01:11.25*** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-164-255.dhcp.mrqt.mi.charter.com)
01:11.31Kaeltenhow you doing it cair?
01:11.49Cairenncan't complain, you?
01:12.12Kaeltentrying to figure out why my "straight forward" math isn't working right
01:12.18Cairennheh
01:17.54Kaeltenanyone got a min to help me figure out if my math functions are working right?
01:18.17Irielsure
01:18.34KaeltenI'll pastebin em real quick
01:19.32Kaeltenhttp://pastebin.com/533119
01:20.38IrielYou do know about wow.pastebin.com, right? 8-)
01:20.53Kaeltenhmm, I think so,b ut forgot
01:21.00IrielCute, I wrote standard deviation and error limits in SauceTest last night
01:21.46*** part/#wowi-lounge Ratbert_CP (n=KCummins@204.128.192.37)
01:21.57Kaeltenlol
01:22.09Kaeltenwell thats convienent
01:22.24KaeltenI just redid it at http://wow.pastebin.com/533121
01:25.24Corrodiasi think i've decided to switch to Perl unitframes
01:25.46Corrodiasthe number have greater visibility than those in CT's unitframes
01:26.43Kaeltenthats basically what I'm wanting to do get the avg of all values within 1.5 Standard deviations of the original set.
01:27.22KaeltenI like perl, but last I used it it had lag issues in groups
01:28.02Corrodiason the other hand, if i DO use it, i'll have to move my monkeyspeed, pvp cooldown, and druid bar frames... >:/ hmm
01:29.59Irielhttp://pastebin.com/533134
01:30.11IrielI put in some comments
01:30.15IrielAnd highlighted them
01:30.35Irielline 42: I meant 'local dv' not 'dv'
01:30.42Corrodiasthere's something to be said for the simplicity of ct's unitframes. i just wish the values to the right had a background!!
01:32.13IrielI dont think it's really a weighted average either, (the weights are 0 and 1, so maybe it is)?
01:33.31IrielKaelten : You also run the risk of having NO result for 2 samples
01:33.39IrielKaelten : And maybe even more than that
01:33.50Kaeltenno result for 2 samples?
01:33.52IrielKaelten : But your Avg method doesn't handle that properly
01:33.56Kaeltenhmm
01:33.58IrielYes, imagine {0,10}
01:34.02Irielor {0,0,10,10}
01:34.21Kaeltenthe reason I'm asking for help is that while it 'works' it doesn't give me good info.
01:34.25KaeltenI'm trying to fix that.
01:34.51Kaeltenhmm
01:35.47IrielYou may want to reconsider that 1.5, I dunno
01:36.20Cairennhttp://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=311875&p=1&tmp=1#post311875 - someone wanna confirm for me that most of what he's asking for can't be done?
01:36.34IrielKaelten : I'm not actually sure you can get no results, now that I re-think stddev
01:37.04IrielKaelten : That curve method is going to be more or less useless for small numbers of samples (say, <20 or 30)
01:37.27Cairennthis guy went to all the trouble of looking up my server and guild name, made a character on my server, did a /who on my guild name to find someone who might know me, to get them to get in touch with me so I would log in, so he could ask me to help
01:37.50Ktron|afkCairenn, you need keystrokes at minimum for spells, so he'd at minimum need to be sending keystrokes to the other window (of any kind)
01:38.09Ktron|afkCairenn, so I think that's my way of saying that what he's asking for can't be done
01:38.32Kaeltentrue it is going to be fairly useless for small amount of results,  I'm getting frustrated at my math functions.
01:39.14IrielYour math functions looked fine, except for over-paranoia (checking variables YOU create for nil), and string.format, which is TERRIBLE
01:39.39Ktron|afkAlso, I don't think there's anyway to establish that a character is facing a target, and I definitely think it's impossible to 'move' to a target
01:40.08IrielWith a factor of 1.5 you're going to reject any data that's not within a 86% (or so) confidence interval of the mean.
01:40.12Cairenn*nod*
01:40.22Kaeltenhmm
01:40.45IrielBut at that point, I'm not sure if discarding those and re-averaging really buys you much.
01:40.53Cairennthanks Ktron, I knew it, but decided I wanted it confirmed
01:40.55Kaeltenwhat kinda factor do I need to stay with ~95% of all data.
01:40.58IrielKtron | Correct, you dont know where, or in what direction, your target is.
01:41.22Iriel1.96, apparently
01:41.26Irielhttp://www.statsoft.com/textbook/sttable.html
01:41.33IrielAssuming a normal distribution
01:41.39KtronI think you can 'tell' another account that set up properly to target something, assist somethign, and follow something, but that's it
01:42.05KtronI wonder how hard it is to pass 'keypresses' to WoW from another program
01:42.28Kaelteneh well its auction house data
01:42.29KtronGranted, I know it's territory that WoW is way way way against
01:42.58Kaeltenso I'm not sure how normal it really would be.
01:47.08IrielI think for the kind of data you're working with, the standard deviation stuff likely isn't that meaningful
01:48.34Cairenn<PROTECTED>
01:49.05Cairennnow, I don't know jack about it, so can someone here tell me wth they are talking about?
01:49.30IrielI've received that also, I think it's the result of a quest turnin.
01:49.37IrielMaybe one of the ZG ones?
01:52.11Cairennthanks Iriel
01:57.26CodayusIt is given when smeone turhns in the heart of hakkar - which comes from killing the end boss of zg.
01:58.15Codayusit is very similar to the rallying cry of the dragonslayer, which is given when someone turns the head of onyxia (or nefarion, I think) in to the right npc in SW or Org.
01:59.49CodayusBoth buffs hit everyone in the zone.
02:07.35IrielBut, if linen used to always sell for 1s, and now the only linen for sale a week later is at 5g, what do you do?
02:07.39IrielAck.
02:07.44IrielIgnore that, unless you're Kaelten 8-)
02:09.28Corrodiaswho the hell packed these Gypsy addons?
02:09.51Corrodiasthe path structure in the archive goes \Desktop\Interface\<name>
02:10.01Kaeltena gypsy?
02:11.21CodayusHeh
02:11.55*** join/#wowi-lounge Kolth` (n=amoeba@c-24-20-128-54.hsd1.or.comcast.net)
02:12.02Cairennwho packed them?
02:12.18Cairennprobably Mondinga, you know, the mod author, the guy here in channel with us? yeah, him
02:12.53Cairennwould you like some ketchup to go along with your foot?
02:13.11Corrodiasreally? maybe he could give some insight into his reason for packing them up that way o.o
02:23.28TainIf I had to venture a guess I would say it would probably fall under the category of, "accident."
02:26.21*** join/#wowi-lounge Parak (n=profi@user-12hdr8d.cable.mindspring.com)
02:36.26Corrodiasyeah, probably
02:40.34*** join/#wowi-lounge Guillotine (n=Guilloti@ns.motek-services.com)
02:45.40Cairennlater Iriel
02:47.52Corrodiashmm. CT's bar mod might almost be tolerable... i like how it can remove the menu bar art and stuff
02:48.49cladhaireI can give you standalone code to do that
02:48.50cladhairelol
02:48.59Corrodiasunfortunately, it doesn't move the chat box, so it appears behind my shapeshift bar..
02:49.16Cairennhttp://www.chipx86.com/blog/?p=143
02:50.46cladhaire=)
02:53.17Cairennmakes me laugh
03:00.44TainI'm actually ... on Draka.
03:00.55Cairenn*gasp*
03:01.36*** join/#wowi-lounge Gryphen (n=masked@c-67-183-238-150.hsd1.wa.comcast.net)
03:01.37AnduinLothari'd join you but i think my mage is lvl 10
03:02.28TainAnd almost got killed by the first thing I came across because I evidently don't remember how to fight.
03:03.18AnduinLothardruid seems to be the only class still desired most places in endgame
03:03.23AnduinLotharmaybe priest
03:03.37cladhairehehe
03:03.43cladhairei have a rogue, a druid and a priest =)
03:04.05cladhairemy rogue has been hiding since January of last year
03:04.34AnduinLotharnobody wants rogues either
03:04.37AnduinLotharor pallies
03:04.51AnduinLotharwar's only if you're good
03:05.30weabwtf
03:23.18CairennI have a hunter, a hunter, a hunter, a hunter, a hunter and a mage
03:29.23*** join/#wowi-lounge Gryphen (n=masked@c-67-183-238-150.hsd1.wa.comcast.net)
03:44.24AnduinLotharomg this low lvl druid is boring
04:09.46*** join/#wowi-lounge Stylpe (n=Stylpe@185.84-48-169.nextgentel.com)
04:15.03*** join/#wowi-lounge Iriel (n=daniel@adsl-66-123-190-42.dsl.sntc01.pacbell.net)
04:18.45MentalPowergood night folks
04:19.36Cairennnight MentalPower
05:01.14TainNow once I got to the auction house it all started coming back to me.
05:05.12*** join/#wowi-lounge RedcXe (i=L@cpe-72-225-168-185.si.res.rr.com)
05:08.25Osagasuhehehe
05:08.26Osagasuawesome
05:08.33Osagasuthey're putting in weather in 1.10
05:09.41Cairennoh?
05:10.03Osagasuyep
05:10.09OsagasuRain and snow patterns
05:10.14Osagasuthey even have short trailers
05:10.22Cairenncool
05:10.24Osagasuhttp://www.1up.com/do/download?cId=2015259 has them
05:14.52OsagasuWait--is this?  It looks like they're adding notice of set bonuses into the tooltips when youdon't have the armor equipped
05:20.40Kaeltendoes lua have a modal operator?
05:20.47Irielmath.mod ?
05:21.12Irielor do you mean math.abs ?
05:25.10Irieldo you want math.mod(12, 10) == 2 ?
05:25.10Irielor math.mod(-12) = 12 ?
05:25.10Iriels/mod/abs/
05:25.12OsagasuI'm drooling over those caster pants on the 1up screenshot
05:25.12Osagasuhehe
05:25.12OsagasuIts the 5 man quest gear
05:25.12Osagasunight
05:25.12Cairennnight Osagasu
05:25.14AnduinLotharmod ~= abs
05:26.31KaeltenI was looking for mod
05:26.34Kaeltenthanks
05:26.45AnduinLotharmod gives remainder :)
05:27.09AnduinLotharomg this systems engineering class is THE most boring class ever
05:27.25AnduinLotharit's like business for tech geeks
05:32.08Cairennhey AnduinLothar, did you hear anything back from Blizz yet?
05:32.24AnduinLotharnah. they're taking their sweet time
05:32.40AnduinLotharand i dont have any contact info so i cant call and bug them
05:32.54Cairennwell, at least you haven't gotten a "don't call us, we'll call you" ...
05:33.49Tem|MCAnyone have a minute to help me with some simple math
05:33.54Tem|MCI'm a little distracted with MC
05:33.57Tem|MCand a little tired
05:33.58AnduinLothar2+2=5
05:34.06Kaelten5 / 2 = x
05:34.15Tem|MCI have an integer
05:34.19Tem|MCany number of digits
05:34.21AnduinLotharX!
05:34.30Tem|MCI only care about the ones digit
05:34.42Tem|MCwhat's the easiest way to pull that out?
05:34.43Irielmath.mod(integer, 10)
05:34.53IrielI had that typed before your last line 8-)
05:35.23Tem|MCgreat
05:35.39Tem|MCthanks Iriel I figured it would be math.mod, but I'm way braindead
05:35.54Tem|MChrm, Java mod?
05:35.57Tem|MC% ?
05:36.02Iriel% in java, for integers
05:36.37Tem|MCthanks Iriel
05:36.40Tem|MCthanks Cairenn
05:36.43Tem|MCI'm an easy target atm
05:36.45Cairenn;)
06:07.27*** join/#wowi-lounge lon_gone (n=lhh@nat-pool-bos.redhat.com) [NETSPLIT VICTIM]
06:07.27Kaeltennight guys
06:15.20TemIriel, you around?
06:15.25IrielI am
06:15.36Temmind another set of simple java questions?
06:16.16Irielnot at all
06:16.36TemI have this array
06:16.37Temprivate static String[] map = {"||:::",":::||","::|:|","::||:",":|::|",":|:|:",":||::","|:::|","|::|:","|:|::"};
06:16.47Temand I need to make the reverse of it
06:16.57Irielas another static member?
06:17.02Temright
06:17.13Temso, how do I programatically define a static member?
06:17.25Irielprivate static String[] revMap;
06:17.39Tem(by reverse I'm taking about a HashMap)
06:17.40Irielstatic { revMap = new String[map.length]; ... }
06:17.48IrielAh, well, whatever
06:17.53IrielYou use a static { ... } block
06:17.58Irielit's executed at construction time
06:18.22Temhmm, you mean this?
06:19.02IrielI should clarify that by 'construction' time i mean 'class load' time, not construction time
06:19.47Temhttp://wow.pastebin.com/533367
06:20.35CairennTem: do your own homework instead of getting Iriel to do it for you! OMG I am so teling mom!
06:20.41Temlol Cairenn
06:21.10TemI'm only asking language questions
06:21.23Cairennsuuuure ... I'm SO telling on you
06:21.32TemThis is my first non-"hello world" java app
06:21.41Temso I'm a little fuzzy on the syntax
06:22.10Irielhttp://wow.pastebin.com/533369
06:22.57TemThanks Iriel
06:23.17Temnow I've just got to decide if I want to hardcode it or programatically generate like that
06:23.23IrielI made your Map private
06:23.32IrielI didn't think you wanted it public, public things are bad.
06:23.33Temyeah, it will be in the actual implementation
06:23.47TemI was just typing to see if I understood the syntax
06:23.51IrielThough Collections.unmodifiableMap(revMap) is handy
06:24.00Irielif you want to make something public but read only
06:24.20IrielThe Collections and Array utility classes should be required reading (It may be Arrays, I dont recall offhand)
06:24.30TemIt probably was
06:24.33TemI skipped a class
06:24.37TemIt*
06:24.53Tem(or 3 ><)
06:25.06IrielWell, read them 8-)
06:25.10IrielTheir javadocs at least
06:25.14IrielCollections is nifty
06:26.02TemOne of those take a normal array as in it's constructor?
06:26.35Temnevermind
06:26.35IrielProbably not, it's more about 'special case' objects
06:26.50Iriellike singletons, and unmodifiable wrappers
06:27.01TemI'm really going to enjoy this class
06:27.05Tem(no pun)
06:28.41TemThe teacher at one point was maintaining a part of gcc
06:28.48Temor maybe it was g++
06:28.55IrielOh really? What's the teacher's name?
06:28.55Temnot sure exactly
06:29.02TemDon't remember ><
06:29.25Temit's a foreign name and I can't pronounce it
06:30.03TemHe was talking about his extensions today in class and how much of a pain it was to debug
06:30.14Temalso how scarily written gcc is
06:31.55TemI need to change my font,  I keep reading 't' as 'f' and thinking I've made a silly typo
06:33.11SP|Sorrenanyone here have experience with visual studio?
06:33.17IrielI used to have a support contract with cygnus for g++
06:33.21Irielthose guys were _GOOD_
06:33.34Temoh cool
06:34.00IrielI reported 3 issues, 2 were my misunderstanding strange exceptions in the spec
06:34.05Temgah I wish I could remember the version numbers that he said his code was in
06:34.11Irieland one was a real bug, but in HP's linker, not their compiler
06:34.15Corrodias"public things are bad"
06:34.25Corrodiasyet in LUA, there is no private data and we get along just fine
06:34.47Temsure there is
06:34.57Temyou just have to jump through flaming loops to create it
06:35.07IrielI protect data all the time
06:35.14Corrodiaswhy would you bother to do that?
06:35.15Irielfile local variables FTW
06:35.28IrielBecause there's NO reason for anyone else to get at them
06:35.38IrielAnd plenty of bad stuff that happens if they do
06:35.42Corrodiasexcept to read them, and maybe to change them
06:36.03IrielI provide accessor methods to everything interesting
06:36.14Corrodiasit just chafes at me the same way games that make you "unlock" stuff do
06:36.23SP|Sorrenhm, so when you say have a file and do local blahblah, theres no way to get at the blahblah?
06:36.29Corrodiasit's the developer telling you how to play, or how to use their stuff
06:36.32IrielSP|Sorren Correct, from outside the file
06:36.38SP|Sorrenthat explains much.
06:36.47IrielWell, that's my perogative as a developer, i'd hope if you ever use code i've done that in, you dont feel that way about it
06:36.58IrielI think long and hard about what I make public and what I dont
06:37.13Corrodiasi don't see the -point- of making data private, is all
06:37.30IrielWell, it's often more not making it public
06:37.32Corrodiasif somebody makes an addon that screws up because it changes the wrong thing, well, that's his own fault and nobody will try to use it
06:37.36Irielno need to pollute the global namespace
06:38.49IrielA good 50% of the code I write is utility frameworks
06:38.59Irielthey generally require that the caller follows certain protocols
06:39.08IrielI provide methods to follow those protocols, and make it 'hard' not to
06:39.13TemCaptain Planet, he's our hero
06:39.13TemGonna take pollution down to zero
06:39.17IrielI believe firmly in making sure the easiest path is the RIGHT path
06:39.30IrielIt's not always possible, but when it is I try to do it
06:39.59IrielBut also, in the grand scheme of things, most of the code I write is for things other than WoW, so it's an ingrained habit
06:40.15Irielas a 'user' you've always got the option to edit my code
06:42.44Corrodiasi see
06:44.15Temwow.  Pastebin's java highlighting is actually useful
06:44.35AnduinLotharthe default lua colors are horid
06:44.38Temit links you to a google search that almost always has the api doc as the first
06:44.47Temyeah, the lua one is ghastly
06:46.02Corrodiaswhy does pastebin have a wow section? can you browse it?
06:46.15AnduinLotharyou can make any section you want
06:46.22IrielIt makes the 'Recent Posts' bit useful
06:46.30Corrodiasooo
06:46.31IrielOr 'more useful', anyway
06:46.35Temhmm.  Iriel:  I just noticed that you used a decrementing counter in that.  Any particular reason?
06:46.37*** join/#wowi-lounge dukeku_ (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net)
06:47.01AnduinLothardecrementing means you dont have to have two variables in general cases..
06:47.33TemI don't follow you
06:47.42IrielSo I only call .length once
06:47.43Temyou still need to know the max and min
06:47.51Irielrather than each iteration
06:47.56Temah ok
06:48.03Irielsometimes I just assign it to a local variable instead
06:48.06Temit's finite, so I will hardcode it
06:48.08AnduinLotharnah decrementing if you set it right you only need to know max and assume min is 0
06:48.11Irielif there's a reason to want to go up
06:48.13IrielDO NOT hard code it
06:48.19IrielYou should be ashamed of yourself!
06:48.25Temwhy?
06:48.31Temit's a postal code
06:48.34Temit doesn't change
06:48.42IrielBecause if you go back and add a new value for WHATEVER reason, your code would break
06:48.49IrielThere's no reason to hard code it, really
06:48.57AnduinLotharmeow
06:49.01Iriel.length is fast enough, and it's a good habit to get into
06:49.24TemI spose
06:49.29Irielheh, sorry, I do code reviews as part of my job 8-)
06:49.42Temno no, good habits are good
06:49.48Tem^^ wow
06:49.56TemI'm more tired than I thought.
06:50.55SP|Sorrenbrew more coffee
06:51.03SP|Sorrenthats what my roommates seem to do.
06:51.10TemI don't do coffee
06:51.17TemI don't really need to be awake
06:51.21SP|Sorrenim sure they'll be making another pot in another 10 minutes ;o
06:51.25Temdon't need to finish this right now
06:51.54Tembut... I'm compulsive about certain types of assignments.  I do all of it (or nearly all of it) the day I get it.
06:51.57SP|Sorrenhey iriel you're knowledgable w/ c++ right :P
06:52.48IrielYeah, a bit rusty but still ok
06:53.35SP|Sorrenif i have a class that has an int* member, and in the constructor i initialize it to say int[4], do i need to explicitly delete it later?
06:54.05SP|Sorrenor will it delete when i delete an instance of the class?
06:54.10Irieldepends how you initialize it, do you use new[] ?
06:54.34SP|Sorrenone sec
06:55.02SP|Sorrennew int[blahsize];
06:55.16Irielthen yes, you need to delete [] it in the destructor
06:55.22IrielUnless you've passed the responsibility off to something else
06:55.47SP|Sorrenooh i forgot the []
06:55.58SP|Sorrenbooo
06:56.45SP|Sorrenin fact, im doing it completely wrong, thx :D
06:57.00IrielGlad I could help, I think 8-)
06:58.51*** join/#wowi-lounge [MoonWolf] (n=moonwolf@ip51ccaa81.speed.planet.nl)
06:59.08SP|Sorrenwhat does delete(something) do?
06:59.15SP|Sorrenis it the same as delete something?
06:59.31SP|Sorrenthe compiler didnt seem to mind when i had it as delete(blahblah)
06:59.49Irieldelete and delete[] are the standard and array forms of delete
06:59.56Irielto match the standard and array forms of new
07:00.15IrielIn some implementations they're interchangable, in others they aren't
07:00.28Irielit gets a bit wacky, actually, because you need to know how you allocated it
07:00.40SP|Sorrenwell, i had it written as delete(mypointer);
07:01.13SP|Sorrenim not sure if that's the same as delete mypointer or whether it was doing something else entirely :O
07:01.39IrielAHA! I found my bug in SauceTest!
07:02.03SP|SorrenSauceTest?
07:02.38IrielThe test portion of SecretSauce
07:03.36SP|SorrenI'm very confused ;O
07:03.44SP|Sorren:)
07:04.50SP|Sorrenthanks for your help, btw ;)
07:05.51Temwhat was it Iriel ?
07:06.13Temsomething simple?
07:06.45AnduinLotharusually is
07:06.47IrielI'd screwed up my test case generator, so it was testing methods that didn't exist
07:06.52IrielI had a misplaced parent
07:07.01Irielinstead of type(value[X]) == "function"
07:07.07IrielI had type(value[X] == "function")
07:07.23AnduinLotharthat would do it
07:07.24Irielparen, not parent
07:07.53Irieland since all my approaches cache HITS not MISSES, it wasn't very fair
07:08.35Temaha
07:09.15Temis there anything like "lua -i" with java?
07:09.29IrielNot exactly
07:09.33TemI'm spoiled on interactive mode
07:09.36IrielI believe some people have written that kind of thing
07:09.43Irielthere's one that emacs uses, err, beansomething
07:10.13AnduinLotharJavaBeans
07:10.34TemI'll check it out, thanks.
07:10.44Irielnot JavaBeans
07:10.50AnduinLotharno?
07:10.50Irielthat's a standard
07:10.56Irielactually, 2 standards, just to be annoying
07:11.01IrielJavaBeans and Enterprise JavaBeans
07:13.10Irielhttp://www.beanshell.org/
07:13.16IrielThat may be along the right lines
07:14.49Temthis looks fun
07:15.35Temhrm
07:15.59TemScanner.hasNext("\\d{4}")
07:16.05Temwell
07:16.29Tems.hasNext("\\d{4}")  //s is a java.util.Scanner
07:16.59Temreturns false given the string "1111222233334444"
07:17.02Temwhy?
07:17.40*** join/#wowi-lounge Elkano (i=Elkano@pool010.vpn.uni-saarland.de)
07:18.00ElkanoGood (whatever) :)
07:18.15Temhmm .de
07:18.24Tem+9ish hours...
07:18.28TemGood Morning to you
07:18.29IrielHeh, memoize is 6800% faster than normal frames, that's more like it
07:18.39AnduinLotharO.o?
07:18.40Temhaha!
07:18.43AnduinLotharfaster doing what?
07:19.49IrielIndexing frame functions
07:20.40TemAny thoughts on the Scanner?  I must be overlooking something either in the regex or the hasNext method.
07:21.02Elkanohow is the sauces thing going?
07:21.03IrielI'm not sure how you're using it
07:21.05IrielCan you pastebin the code
07:21.10Temsure
07:21.16IrielThe sauce is going well, I foundout why my test results were wacky
07:21.17Temhttp://wow.pastebin.com/533394
07:21.19IrielI had a bug in my test code
07:21.24Temthis is just an example
07:21.43IrielOut of random interest
07:21.57Irielwhy new String("1111222233334444") and not just = "1111222233334444"
07:22.03TemReally I just want an easy way to iterate through groups of 5 characters
07:22.15TemIriel, because I'm sleepy?
07:22.45Temoh I remember
07:23.17Tembecause it's new String(str) in the real code
07:23.52IrielWell, I think your problem is that Scanner is for delimited text
07:25.00Temok, I'll look around for something more suitable
07:25.35IrielCan't you just use Pattern?
07:25.36Temmaybe just a Pattern can do what I want
07:26.07IrielCool, so I can re-do all my sauce tests now.. On the bright side it has a 'gui' of sorts
07:26.29Irieland does its work on an OnUpdate now
07:26.35Irielso i dont lock up my client completely
07:27.03SP|Sorrenif i delete an array of pointers does it delete what those pointers are pointing to as well?
07:27.27IrielSP|Sorren : No
07:27.31IrielSP|Sorren : Just the array
07:27.39SP|Sorrenhm, tks
07:31.47TemWhat's the difference between "X?" "X??" and "X?+" ?
07:32.35IrielX? is greedy
07:32.37IrielX?? is not
07:33.10IrielI'm not sure about the 3rd, let me see
07:33.28IrielAh X?+ is greedy with no backoff
07:34.50Irielso "h?+.ello"
07:35.00Irielwould match "hxello"
07:35.10Irielwould not match "hello"
07:35.22Irielwould match "xello"
07:35.51Temhow can a zero or one match be greedy?
07:36.03IrielWell, it can't really
07:36.16Irielat least, sort of cant.. here..
07:36.53Iriel"(h??)(.?)" and "(h?)(.?)"
07:37.12Iriela single "h" matches the 2nd capture in the first string, and the first in the second one, I think
07:37.39TemOh, I see.
07:37.46TemThanks.
07:37.59Irielgreedy being 'eat as much as you can before moving on'
07:38.45Temso then what would be the point of ??
07:38.49Temwhen would you use it?
07:38.58IrielI think it's there for consistency
07:39.01Irielwith the other operators
07:39.09IrielThough i'm sure there's a case where you would use it
07:39.13IrielI just can't think of one 8-)
07:39.14Temoh, because it would capture something when there isn't something before of after that could
07:39.14*** join/#wowi-lounge krka|work (n=kristofe@66.217.181.62.in-addr.dgcsystems.net)
07:39.24IrielOh, actually I can
07:39.48Iriel"\\((.??)\\)"
07:40.07Irielmatches 0 or 1 characters between ()'s
07:40.54Temand \\((.?)\\) would match?
07:41.28IrielWell, if you had input of "x())"
07:41.42Irielthen the first would capture "", the second would capture ")"
07:41.53Temooh I see
07:42.04Temso the pattern wouldn't match
07:42.16Tembut with .?? it won't steal the )
07:42.29IrielIt would match, but wouldn't eat the ), yes
07:42.48IrielAND
07:43.00Irielif you had "\\((.?+)\\)"
07:43.11Irielthen the pattern would NOT match "x()"
07:43.23Irielbecause it would eat the ) and not leave it available for the closing match
07:43.28Iriel(and would not allow backtracking)
07:44.26TemString parsing can be a bitch
07:45.46Temthis is annoying I just need  for _,_,str in string.gfind("(....)") do ... end
07:46.20IrielCan't String.split do it?
07:46.22Temwell
07:46.38TemString.split wants a regex
07:46.46Temto match stuff to throw away
07:47.14Temie String.split("A:B:C",":") = {"A","B","C"}
07:47.38Temunless...
07:47.56IrielHang on
07:48.07Irielcan't you just use a Matcher, and call find a few times?
07:48.37Temprobably
07:48.50TemI'm just not comfortable with it's use yet
07:49.18krka|workwhat'cha discussing?
07:49.55Temoh I see it now
07:51.09krka|workoh right, lua has some stack automat behaviour in matching
07:53.12TemLua has a toy regex implementation
07:53.25Temit's only about 400 lines
07:53.39TemWhich is kinda nice in that it's fast.
07:53.58TemBut as I'm seeing, you give up a lot of functionality.
08:00.31IrielJava's RE library is pretty advanced
08:00.38IrielI think to make up for the fact they didn't HAVE one for a while
08:02.40krka|workI love java's re
08:03.17Temoh this is insane
08:03.36Temthere has to be a better way
08:03.54IrielWhat exactly are you trying to DO anyway?
08:04.06Temsomething that I could do with String.substring
08:04.25IrielSo use string.substring 8-)
08:04.29Temno!
08:04.41krka|workwhy not?
08:05.04TemI may end up using it in the final thing, but right now I'm more interested in making this work
08:05.15Temso I'll keep digging
08:05.37krka|workwhat are you trying to make work?
08:07.18Teman easy way to split a string into 5 character groups
08:07.31Temwithout using String.substring
08:07.55krka|workcan you give me a specific example of what the input string is and how you want the output to be?
08:08.26[MoonWolf]tem, why not use substring...
08:08.29Temthe input string would be something like "|::||:|:|:::||:|::|:||:|:::|:|"
08:08.59Tem[MoonWolf], because I'm weird like that
08:09.10[MoonWolf]okay
08:09.13krka|workand the output?
08:11.01Temkrka|work, to be more specific the input string is exactly 30 characters of mixed ":" and "|"
08:11.15Temand I want an easy way to iterate through it
08:11.21Temin 5 character chunks
08:12.16krka|workfor _, _, match in string.gfind(input, "(.....)") do             or something like that
08:16.56IrielThese saucetest results are far more interesting (and useful)
08:17.30Irielhttp://forums.worldofwarcraft.com/thread.aspx?ForumName=wow-interface-customization&ThreadID=312431
08:17.33IrielThere's the first set
08:18.38[MoonWolf]interesting
08:18.53Temkrka|work, yeah, that would be fine if I was in Lua
08:19.07krka|workoh.... java?
08:19.43Temaye
08:19.52[MoonWolf]We demand practical use for this stuff. iriel
08:20.18krka|workMatcher.find then?
08:20.35krka|workPattern p = Pattern.compile("(.....)");
08:20.41krka|workMatcher m;
08:20.51Temright I was just looking at that
08:21.02Tembut I have to repeat m.find for each match
08:21.03krka|workm = p.matcher();
08:21.04krka|workyes
08:21.10krka|workyou did say _iterate_ :P
08:21.26Temoh god I'm out of it
08:21.33krka|workwhile (m.find()) { String s = m.group(1); }
08:21.39Temyeah
08:21.41Tempretty much
08:21.53TemI don't think you need the 1
08:21.58krka|workah, true
08:22.01Temm.group() would do it
08:22.10krka|workyup
08:22.26Temwow.. thanks for helping me through a several hour brain-fart
08:22.29krka|workprobably wouldn't need the () in the pattern
08:22.49krka|workgroup() should always give the full match
08:23.41*** join/#wowi-lounge id` (n=tom@gateway.is.remotion.nl)
08:24.42Temit does
08:24.56krka|workhmm.. now I know what you mean by memoizing
08:25.04krka|worki just call that lazy evaluation and caching
08:26.43Irielyeah, me too, before i heard the memoizing term
08:26.52IrielHey, SetTexCoord has the number-of-args issue too
08:27.32krka|workwhat issue?
08:28.54id`¯\(º_o)/¯
08:29.07id`morning
08:31.42krka|workmorning
08:40.33id`im trying out IE7
08:40.46id`Very positive about it
08:46.29IrielSo, Tem, I can get a 50% boost on frame method call time without breaking the shared metatable rule
08:46.56TemIriel, and the memoizing is stored somwhere else?
08:47.07Temso it's completely transparent
08:47.13IrielYes, indexed by the frame table
08:55.01IrielOk.. bedtime for me
08:55.05IrielThe latest sauce is uploaded
08:55.11IrielI've added more commentary to the thread
08:56.35Temnight Iriel
08:56.48Temwhen I'm more awake I'll take a look at the new sauce
08:56.49IrielGoodnight
08:57.14Temnight now all I'm good for is finishing this thing up
08:57.24Tems/night/right/
10:47.09*** join/#wowi-lounge stray`laptop (n=astrayca@adsl-67-121-136-30.dsl.scrm01.pacbell.net)
11:21.38*** join/#wowi-lounge Lebannen (n=Snak@i-83-67-218-74.freedom2surf.net)
11:21.51*** part/#wowi-lounge Lebannen (n=Snak@i-83-67-218-74.freedom2surf.net)
13:29.56*** join/#wowi-lounge Wob (i=Wobin@adsl-59-86.swiftdsl.com.au)
13:53.47*** join/#wowi-lounge Beladona (n=sluster@josephpartners.com)
13:53.47*** mode/#wowi-lounge [+o Beladona] by ChanServ
14:28.49id`http://wowace.com/forums/viewtopic.php?t=1038
14:37.58sarf|sleepYour hooking makes no sense.
14:38.01sarf|sleepIs it a part of Ace?
14:38.43sarf|stuffAnd why do you create multiple functions runtime?
14:38.50sarf|stuffIs it some perverse need you have? ^^
14:39.57krka|workdo you know it creates multiple functions?
14:40.08krka|workah... there
14:41.45krka|workhow does Ace hooking work?
14:41.55krka|workwhat are the argument types?
14:43.01sarf|stuffDude, this code, it... it... haunts me...
14:43.25sarf|stuff1:st error: you reference self.abbreviations in expandAbbreviations
14:44.17sarf|stuff2:nd, as krka said, what the does Hook require for parameters?
14:44.23sarf|stuff*what the heck
14:45.04sarf|stuffOh
14:45.10krka|workthat's stored as an upvalue there sarf
14:45.13sarf|stuffYeah
14:45.20krka|workso it should work
14:45.24sarf|stuffbad coding habit!
14:45.26krka|workcan't really think of another way to do it
14:45.27sarf|stuffRefactoring...
14:45.52sarf|stuffreturn self.Hooks[getglobal('ChatFrame'..i)].AddMessage:orig(text, red, green, blue, id)
14:45.57sarf|stuffthis is klutzy
14:45.59sarf|stuffwhat is self?
14:46.02sarf|stuffwhy do you use self?
14:46.11sarf|stuffand more importantly, why are people so scared of static references?
14:46.15krka|workstop playing with your self so much
14:46.16sarf|stuff<shrugs>
14:46.20sarf|stuff^^
14:46.23krka|workstatic references?
14:46.58krka|workself:Hook(getglobal('ChatFrame'..i), 'AddMessage', 'expandAbbreviations')
14:47.08krka|workAceHook:Hook
14:47.08krka|workself:Hook("functionName", ["handlerName" | handler])
14:47.08krka|workself:Hook(ObjectName, "Method", ["Handler" | handler])
14:47.30krka|work'expandAbbreviations' is a string, not a reference to an actual handler
14:47.46krka|workdon't see a global defined as expandAbbreviations
14:47.54krka|workno wait, there it is
14:48.48krka|workno wait, there it isn't!
14:49.39sarf|stuffNono
14:49.50sarf|stuffhis hook redirects one function in an object to another
14:50.06sarf|stuffI've replaced his evil hook with a new, Ace-free hooking thingy
14:50.55krka|workbut expandAbbreviations isn't found anywhere
14:51.04krka|work(globally)
14:51.52sarf|stuffTheeere we go
14:52.08sarf|stuffno, hence why he sets "self.expandAbbreviations" to a function
14:52.14krka|workhm... the hooking looks inside the object
14:52.19krka|workace is weird :)
14:52.32sarf|stuffthen redirects the AddMessage thingy to the new "expandAbbreviations" function
14:52.45sarf|stuffCheck out my new, Ace-hooking-independent solution
14:53.02krka|workneed to read the ace hooking code to understand what's supposed to be done
14:53.19sarf|stuffBasically:
14:53.43sarf|stuff1. Set field x to field y.
14:53.57sarf|stuff2. Put old x value into a table somewhere
14:53.59sarf|stuff3. Profit!
14:56.35Tainself is your friend.
14:57.54sarf|stuffMy self is *my* friend, get your own self ^^
14:58.54Tainhttp://wiki.wowace.com/index.php/AceHooks   - explains why Ace Hooks is.
14:59.42id`okokok guys
14:59.46id`got comments on the post?
14:59.47id`reply
14:59.50id`im at work
14:59.54sarf|stuffI've replied to it
14:59.56id`all this help will get lost :(
15:00.24sarf|stuffA new hooking mechanism, refactoring so it does not create new functions all the time
15:00.53id`create new functions?
15:01.04id`oh
15:01.04id`well
15:01.12id`i need i, and the function keeps changing
15:01.17id`-s
15:01.32sarf|stuffNot anymore it doesn't.
15:02.25id`you see, i'm hooking 7 chatframes, not 1
15:02.38id`so i need to call the original function of whatever chatframe hooked
15:03.04id`there is no way i can pass the name of the chatframe to my function, because i'm hooking with that function
15:03.10id`so i needed it to be inside the loop
15:03.15id`to be able to use i
15:03.55krka|workyou replaced self with this?
15:04.09id`uh, where?
15:04.11Tainid can you put the full code up somewhere?
15:04.17id`sure
15:04.53krka|worki give up, too complicated :)
15:05.27id`http://digigen.nl/~Industrial/idChat.zip
15:07.01*** join/#wowi-lounge Ktron (i=Khamer@student2a-64.unh.edu)
15:07.28id`post altered
15:07.53sarf|stuffid`> dude, whenever X:AddMessage is called, my code will automatically call X:OldAddMessage
15:08.04sarf|stuffso, there's no need for my function to know what X is.
15:09.23id`that's not my debate, thats clad|Work 's :P:P
15:09.39id`http://wiki.wowace.com/index.php/AceHooks
15:10.14*** join/#wowi-lounge Ktron (i=Khamer@student2a-64.unh.edu)
15:10.52TainI think you're getting an error because the loop with return self.Hooks is running before you actually ever hook the frame.
15:11.11*** join/#wowi-lounge Ktron (i=Khamer@student2a-64.unh.edu)
15:11.29id`Then i honestly don't know how to use AceHooks :-)
15:11.35krka|workhmm... how would that be possible?
15:12.15id`because self.expandAbbreviations gets assigned before hooking
15:12.23id`maybe if i flip them around...
15:12.45id`but I'm at work now, ill look in 60 minutes :-)
15:13.01id`(wich illustates how hard i'm working *cough*)
15:13.04sarf|stuffkrka|work> I doubt that is what is happening
15:13.15TainYes but self.expandAbbreviations gets set after the first iteration of the loop.
15:13.26krka|workexpandAbbreviations would only get called when the original function would get called
15:13.31sarf|stuffas cladhaire points out, id` is using a malformed "call old function" thingy
15:13.47sarf|stuffid`> you weren't sending "this" to the old AddMessage function
15:14.00sarf|stuffwhich makes AddMessage use text as "this" object
15:14.11sarf|stuffwhich is a mildly "bad thing (tm)"
15:15.01TainThe first time you run your loop id, self.expandAbbreviations is not set.
15:15.40TainOh I see how you're trying to do it.
15:15.55id`you are right about the malformed .orig()
15:15.59id`i was messing around last night
15:16.12id`it didnt work either with a correct one
15:16.53sarf|stuffid`> thank clad|Work, not me :)
15:17.23TainYou should pull the expandabbreviations function definition out of the loop entirely.   Make it a separate function.
15:17.33sarf|stuff... check his post and see my reply ;)
15:18.55id`Tain: how do i know what object's method to call if i don't have i and i can't pass anything other then object.AddMessage()'s arguments?
15:18.59id`http://lezorg.dev.remotion.nl/templates/mercury.asp?page_id=1558
15:19.04id`behold my form-from-db-app
15:19.21sarf|stuffid`> See my reply to your post, id`
15:19.24id`in the backend a user gets to 'add a new item' and apply rulesets and stuff
15:19.34id`sarf|stuff: but that's without acehooks
15:19.43sarf|stuffYes.
15:20.10sarf|stuffNote the supreme lack of ["GAHOOOGA"..variable]["oink?"]["spex"]["qwe!"]["foo!"]["bar?"]
15:20.18id`but acehooks isnt there for no reason, and if there's something wrong, or i am doing something wrong; i'd like to know :P (hence the thread)
15:20.31sarf|stuffAceHooks does stuff that I don't understand
15:20.35id`--^
15:20.37id`:p
15:20.40*** join/#wowi-lounge Gryphen (n=gryphon@71-35-116-25.tukw.qwest.net)
15:20.44id`http://lezorg.dev.remotion.nl/templates/mercury.asp?page_id=1558
15:20.46sarf|stuffI dislike redundant code that can be made easier
15:20.48id`behold my form-from-db-app
15:20.48id`:p
15:21.16sarf|stuff^^
15:21.17id`yes the colors of the datepicker are wrong
15:21.23id`but that's not my job
15:21.24id`huzzah!
15:21.24sarf|stuffBut anyhow
15:21.25id`:p
15:21.47TainIt isn't redundant, and has reasons.
15:21.53sarf|stuffThere should be an AceHooks "CallOldFunction" function that allows you to call the function you have hooked
15:22.02id`sarf|stuff: heh
15:22.08Tainsarf|stuff: there is.
15:22.10id`there is
15:22.12sarf|stuffI'm sure it does, Tain, but currently it added complexity.
15:22.20id`return self.Hooks[getglobal('ChatFrame'..i)].AddMessage:orig(text, red, green, blue, id)
15:22.22TainIt adds safety.
15:22.23id`this i need i
15:22.25krka|workhm, i think ace handles the calling of old functions automatically
15:22.27id`thus*
15:22.32krka|workthus, such a function would not be neede
15:22.38id`return self.Hooks[getglobal('ChatFrame'..i)].AddMessage:orig(text, red, green, blue, id)
15:22.39krka|workunless you want to disable the call
15:22.39sarf|stuffTain> Yep. The reason why id` didn't use it eludes me, however.
15:22.50id`people, ive posted it here twice
15:22.52id`:P
15:22.58id`i AM using it
15:23.00sarf|stuffThat's not a fucntion
15:23.00id`but i need I
15:23.03id`it is
15:23.06id`.orig()
15:23.06sarf|stuffthat's a fricking table lookup
15:23.10id`.orig()
15:23.19sarf|stuffif you do a Hook(thingy)
15:23.22TainThe original calls are all stored in a talb.e
15:23.25sarf|stuffI expect a CallHook(thingy)
15:23.32sarf|stuffNot a gargantuan table lookup
15:23.36krka|workdon't really see why hooks should be object oriented
15:23.43sarf|stuffme neither
15:23.49sarf|stuffbut to each their own
15:23.52id`sarf|stuff: http://wiki.wowace.com/index.php/AceHooks
15:23.55krka|worklooks extremely complex
15:23.58TainA gargantuan table lookup?
15:24.08sarf|stuffYep
15:24.09sarf|stuffself.Hooks[getglobal('ChatFrame'..i)].AddMessage:orig
15:24.13id`its just self.obj.meth.orig()
15:24.26id`its just self.Hooks.obj.meth.orig()
15:24.28id`:p
15:24.33sarf|stuffYeah
15:24.35TainTable lookups are what Lua does.
15:24.40id`isnt that pretty?
15:25.16id`gah i wanna be home so i can test :9
15:25.27*** join/#wowi-lounge digix (n=digix@66-90-145-10.dyn.grandenetworks.net)
15:25.29id`been writing javascript all day
15:25.35TainAnyway, no need to argue.  The explainations of why are there. :)  It doesn't mean everyone agrees of course, and that's the joy of coding.
15:25.38id`DOm makes me agitated atm
15:25.39id`:p
15:26.00sarf|stuffI have no argument with the examples
15:26.56sarf|stuffHowever, when adding object-oriented hooking, creating new functions on-the-fly, adding them to *another* object, hooking with a third party utility, using a strange parameter called self everywhere
15:27.02sarf|stuffyou end up with loads of complexity
15:27.06sarf|stuffcomplexity makes stuff go wrong
15:27.09TainNope!
15:27.18id`self is part of lua
15:27.25id`this is the XML object
15:27.28id`self is the LUA object
15:27.30TainYeah actually that's one thing I'm not quite getting, self isn't strange.
15:27.49sarf|stuffBut why is it used as a specific parameter in id`s code?
15:28.02id`object oriented coding :)
15:28.13sarf|stuffall fine and dandy
15:28.15id`example:
15:28.38sarf|stuffhowever, as you have so eloquently showed, object orientation + object orientation is not always equal to increased productivity
15:28.55sarf|stuffwith increased complexity, minor errors cause more complex faults
15:28.55id`thats because im doing it wrong
15:28.58id`and its not finished
15:29.15sarf|stuffYeah
15:29.20id`obj={a=function(self) print self.b end, b='foo'} obj:a() obj.a(obj)
15:29.25id`this should explain self
15:29.40krka|workself is just sugar
15:29.41sarf|stuffHence why I reduced the complexity to be able to see what is actually (supposed to be) happening
15:30.14id`if i stick two thing sin a table of wich one is a function, and one needs to access the other, i need self to reference to the current object to access the other
15:30.29id`lua is so pretty
15:30.35sarf|stuffyes...
15:30.52id`way cooler then ecmascript :P
15:30.58id`(my job/internship)
15:31.12Corrodiasself ref..what
15:31.17sarf|stuffI am just wondering why you are runtime adding a new function to idChat
15:31.39id`note though
15:31.43sarf|stuffthen you are redirecting ChatFrameX.AddMessage to ChatFrameX.expandAbbreviations (or so it seems)
15:31.46id`if not self.expandAbbreviations
15:31.50sarf|stuffYEs
15:31.52id`oh wait
15:31.54id`ha
15:31.59id`i just discovered my error
15:32.05sarf|stuff*one* of your errors
15:32.09id`no
15:32.17id`only thing wrong besides the faulty callhook is
15:32.19sarf|stuff:orig
15:32.22sarf|stuffyeah
15:32.32id`self.expandAbbreviations needs to be
15:32.49id`self['ChatFrame'..i..'AddMessage']
15:32.52id`huzzah!
15:32.53id`:D
15:33.09sarf|stuffand when is that nil?
15:33.37id`true, ill add a loop do disableAbbreviations
15:33.40id`to*
15:33.49id`to nil it out
15:33.56sarf|stuffIn any case, I have found the number of situations when I want to *unhook* stuff (which is what all this hooplah is about) to be virtually nil.
15:34.10sarf|stuffYou are going to... nil out... AddMessage?
15:34.13sarf|stuff...
15:34.20id`yes
15:34.25sarf|stuffOoooookay.
15:34.37sarf|stuffWell, I hope I've helped to solve some issues :)
15:34.38id`idChat.ChatFrame1AddMessage
15:34.40id`:-)
15:34.50sarf|stuffNow, TV Shows, soda and chips.
15:35.00id`:P~~~
15:35.20id`Tain: see my error? :-)
15:40.13TainActually I don't think that's right.  I think it is supposed to be self['ChatFrame'..i].AddMessage
15:41.23id`can you assign a nested table?
15:41.33id`a={} a.b.c='lol
15:41.34id`?
15:42.00Corrodiasi'm not aware you even need to say a={} first.
15:42.10TainIf a.b.c exist already yes.  Ace Hooks stores them like that.  self.Hooks[Object][method]
15:42.25id`yes but this is just part of my pobject
15:42.50id`essentially im just hooking 7 functions and storing them in my own object
15:42.50TainSo all methods for ChatFrame1 would be stored under [ChatFrame1]
15:43.01id`s/functions/methods/
15:43.37id`you're just adding an extra table :-)
15:43.41id`but...
15:43.46id`yes it will change ;)
15:43.49TainI'm not, that's how Ace Hooks does it.
15:44.09id`i'm storing it in self, not in self.Hooks
15:44.21id`although that would be a nice option :P
15:44.24TainOh I'm looking at the wrong thing then.
15:44.46id`yes, as i said, ill be home soon hehe
15:45.18*** join/#wowi-lounge Cide (i=Cide@81-226-233-223-no60.tbcn.telia.com)
15:47.52*** join/#wowi-lounge ForgottenLords (n=Forgotte@059.216-123-195-0.interbaun.com)
15:55.21Beladonaglad I wasn't here for that whole self thing
15:55.48id`self is easy
16:15.19*** join/#wowi-lounge Maldivia (n=the_real@62.61.134.59.generic-hostname.arrownet.dk)
16:15.40MaldiviaMorning
16:21.35*** join/#wowi-lounge Shouryuu (n=Shouryuu@75.239.97-84.rev.gaoland.net)
16:21.40Shouryuurawr
16:21.45Gryphenono i esceared of teh rawr! i need a huggle.
16:21.57Ktronhey Maldivia, Shouryuu
16:23.05Shouryuuw00t I'm basicly on holidays!
16:26.23Shouryuu~afaik
16:26.27purl[afaik] some kind of acronym...but nobody knows what it means, as far as I know.
16:26.46Maldiviahehe'
16:26.55Shouryuudamn I need to remember those :p
16:27.36Maldiviathe acronym that has always caused me trouble is iirc
16:28.48Maldivia~iirc
16:28.50purlrumour has it, iirc is "if I recall correctly"
16:31.01Maldiviahmm, Blizzard is getting weird with their character transfers...
16:32.02Ktronmy favorite acronyms that aren't too common are 'iwd' and 'fbofw'... the first I just say to one friend because I used to say 'I'll wander down' all the time, the second people might be able to guess
16:33.52Maldiviafinally figured out how to auto-select area for area spells... and it was so easy :|
16:38.26*** join/#wowi-lounge subsonic (n=SubSonic@64.17.250.94)
16:42.55sarf|stuffMaldivia> Oh?
16:43.22Maldivia<PROTECTED>
16:43.28sarf|stuffAha
16:43.34sarf|stuffNeeds a keypress I'd guess?
16:43.56Maldiviawell, a macro like: /script CastSpellByName("Blizzard") CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop()
16:44.02sarf|stuffOooh
16:44.04sarf|stuffNo keypress
16:44.06sarf|stuffNeato!
16:44.07Maldiviaand it autostarts casting at the spot your mouse is at
16:44.26Maldiviaworks with items (grenades, ets) aswell
16:44.32Maldiviaetc*
16:44.32sarf|stuffCool beans
16:45.00*** join/#wowi-lounge Osagasu (n=Kronus@rhhe10-109.2wcm.comporium.net)
16:45.02sarf|stuffThanks :)
16:45.21sarf|stuffMy mage friend will be thankful for that... as will my Warrior and Hunter
16:45.40Maldiviahmm, rogues for Blind...
16:48.32sarf|stuffBlind is not AoE
16:48.39sarf|stuffTargeted effect
16:49.01MaldiviaDoesn't blind has the area-select circle...
16:49.05sarf|stuffNope.
16:49.09sarf|stuffDistract does
16:49.11Maldiviaahh
16:49.13sarf|stuff:)
16:49.19Maldiviawell, I'm not a Rogue :)
16:49.43Maldiviawell, then Rogues and Distract ;)
16:51.13Maldiviahmm, what do warriors have for area-selection - unless they are engineers?
16:54.47KtronI don't think anyone
16:55.13sarf|stuffMe neither
16:55.23Ktrons/anyone/anything
16:55.31Ktrongah, again I forgot the last slash
16:56.09Ktronsomeone needs to make an addon that 'lets' xchat/another client run in a WoW text thing
16:57.14Maldivia*cough*
17:01.50sharkhatI KNOW
17:01.54sharkhati thought about that
17:03.45KtronMaldivia; what was the cough about?
17:04.31Maldiviayou want to have IRC inside WoW?
17:04.36Ktronsure
17:04.40KtronI bet we'd use it
17:05.08Ktronand most importantly, the history has to be constantly saved so that if you reload your ui, you don't wipe the convos
17:06.10MaldiviaIRC requires a constant stream to the IRC server, meaning either WoW API has to allow real-time communication with the "outside" world, or you need to make a program to inject the text into WoW
17:06.16*** join/#wowi-lounge Ratbert_CP (n=KCummins@204.128.192.4)
17:06.24KtronMaldivia; the latter of course
17:06.32KtronMaldivia; since the former is impossible
17:06.40Maldiviaand the latter is agains the TOS
17:06.47id`not in the netherlands
17:06.49id`huzzah!
17:06.50id`:P
17:06.55Ktronit is?
17:07.03id`im bound the license i ought it with
17:07.07id`to the*
17:07.15Ktronwhat about all the 'this is song is now playing' addons? against the TOS?
17:07.27id`how did they work?
17:07.28Maldiviathey dont work anymore
17:07.36Maldiviathey used a loophole in the keybindings saving
17:07.42id`oic
17:07.44Ktron?
17:07.55Maldiviawhich was being saved in real time, not just on reloadui
17:09.09MaldiviaFor it to be truely real-time, you have to hook into the WoW memoryspace, and inject events/commands directly that way... while possible, and not that hard to do, it's against the TOS
17:09.24id`altering the wow's memory spacE?
17:09.28Maldiviayep
17:09.30id`but its not their property
17:09.44KtronSo they disabled seeing changes in the addons files except on reloadui?
17:10.35Ktronwhat about like savedvariables? what if I alter those while the game is running?
17:10.58Maldiviahave no effect, whne you reloadui, they will be overwritten
17:11.20Maldiviayou can ofcourse change an addon file, but it still requires a reloadui to read the changes
17:12.10Ktronheh... I didn't know that
17:15.30KtronMaldivia; and yeah, i can understand why they don't want people editting WoW's memory... what about the 'video' overlay addons?
17:15.46id`sure they dont want
17:15.49id`but hoiw can they
17:15.50Maldiviathat's a different story
17:15.56Ktronnvm.... even if those still work you can't get info out of WoW
17:16.04Maldiviadoesn't interfere with wow at all
17:16.28id`my memory is not related to blizzards product other then that my operating system lends it to the game
17:16.41*** join/#wowi-lounge krka (i=krka@c80-216-103-22.cm-upc.chello.se)
17:16.43Maldiviawell, you can easily make an overlay program, that with a keypress takes focus, so you enter data to that instead of wow
17:16.49id`how can they legally claim i can not modify my own product
17:17.09krkaDMCA?
17:17.10krkaEULA?
17:17.12Ktronthey can legally claim that you can't use your modified product to your servers
17:17.29id`hmmm
17:17.30id`k
17:17.34Ktrons/your/their/
17:17.44id`Maldivia: make squares with colors and make a macro program detect the colors
17:17.47id`insta-bot
17:17.50id`;p
17:17.58Ktronpurl messed up...
17:18.11id`you messed up :-)
17:18.14Maldiviano, you messed up
17:18.17krkayeah, that's pretty easy to do
17:18.41Ktronbut different than what I had in mind
17:18.44Maldiviawell, it's a lot easier to just hook the memoryspace, than create a vision program to scan the screen for patterns
17:18.56TainThere's already color scanning apps like that out there.
17:19.14Maldiviaif people want to bot, it's easy...
17:19.43TainIt isn't "easy"
17:19.47TainIt's possible.
17:19.50Ktronheh, regardless, if you're going to do stuff like that, make a program that passes like the '`' being pressed every single onupdate or something, and then the UI can automate everything
17:19.58TainEasy means thousands of people do it.
17:20.01Ktronsave from aiming
17:20.12TainTens of thousands.  Like were banned last year.
17:20.18MaldiviaTain: no, easy means thousands of poeple CAN do it
17:20.45Ktronalright, I have a meeting, take care Tain Maldivia id`
17:20.50Ktronpurl, you too
17:20.57Maldiviaand the majority of wow users can open a browser, and enter some quries into google, to find a bot
17:21.01Maldivialater krka
17:21.04TainInstead of now where there's probably only hundreds botting, instead of the tens of thousands.
17:21.07Maldivias/krka/Ktron/
17:21.24TainMaldivia, the majority of WoW useres can't install an addon correctly.
17:21.41Maldiviahehe, that's true :)
17:22.23Maldiviaor well, don't know about the majority, but there are some... less fortunate... people out there...
17:23.36TainIt isn't really worth it though, in my opinion.  Botters still can be identified by the repetative behavior, and/or the amount of time they do it.
17:23.51TainSo to not get caught you have to do it less, and change what you're doing a lot.
17:23.51Maldiviaall I'm saying is, if people want to bot, they can find a bot pretty easily... it's probably/hopefully get them banned though
17:24.31TainAnd if you have to spend as much effort to not get caught as you do to actually play, it is a bit of a waste.
17:24.57TainOther than to say that you do it, which I think is motivation enough for some. :)
17:26.24Maldiviathe problem with running a bot in a MMORPG like WoW, is the random element other players add
17:26.30Maldiviaespecially the PvP element :)
17:26.59id`botting is childs play
17:27.13id`made a fishbot with autoit (vbscript sort of macro program)
17:27.13TainYeah, getting away with running a bot successfully on a pvp server would be somewhat impressive just in itself.
17:27.37id`fishing 100 in like notime
17:27.38id`:p
17:27.49TainAnd how did you locate the bobber to have the click execute?
17:27.58id`pixel color
17:28.06id`i went for the red bobber
17:28.15Maldiviafinding a 7-year old brother/nephew/son/whatever is a better fishing bot :)
17:28.15id`er, feather
17:28.22id`lol :p
17:28.32id`thats evil :>
17:28.38id`i like it :>
17:28.51id`anyway, i stick to wow because of the addons
17:28.56id`id so be cheating if there were no addons
17:29.12id`no, i wouldnt, it would be in the trash 1 month after i bought it
17:29.18Maldiviawell, 7 might be a year or two too old... but who else can find it constantly amusing to look for a bubbler...
17:29.22id`s/\<i\>/it/
17:29.38TainI do it for the chicks.
17:29.43id`lern2vimregex
17:29.44id`:p
17:30.05Maldiviawhat did you try to replace?
17:30.09id`Maldivia: retartd house
17:30.15id`the first i
17:30.28Maldivias/i/it/ would have done that for you :)
17:30.29id`in vim \< and \> mark the beginning and end of what vim recognizes as a word
17:31.16Maldiviayeah
17:31.33Maldiviawell, I'm more used to perl/posix regex
17:31.49Tain~vim
17:31.51purlsomebody said vim was better than emacs
17:31.56Maldivianever used replacements that much in vim
17:32.09Maldiviasomebody was right...
17:32.13id`:-)
17:32.17id`i use vim for everything
17:32.20id`every day..
17:32.30TainOnly in as far as apples being better than oranges. :)
17:32.39id`then*
17:32.41Maldiviawell, I do have a vim open right now :)
17:32.42id`*cough*
17:32.55id`me too, i'm editing idChat.lua
17:32.55id`:p
17:33.22Maldiviawell, I have my aq.data file open... simple file with 2 lines :)
17:33.25id`http://digigen.nl/~Industrial/stuff/
17:34.47Maldiviahehe...
17:34.48Maldiviamap :W :w
17:34.48Maldiviamap :Q :q
17:34.50Maldivia:)
17:35.35id`:p;
17:35.40id`darn fast hands :>
17:36.07id`in the zip is all my custom setting, plugins etc included
17:37.24id`:h holy-grail
17:37.26id`:p
17:54.26*** join/#wowi-lounge Natasem (n=Natasem@63.197.112.216)
17:58.34id`how do i get output other then the chatframe?
17:58.45id`i just want true false foo and bar..
17:59.15id`the chatframe is kinds incapitated right now but until what i've done is undone i have no way of checking that what i've done is done
17:59.18id`understand?
17:59.19id`:p
17:59.28Maldiviashow a popup... message("Hello World")
17:59.35id`no way :O
17:59.41id`wewt :D
18:00.02id`did nothing
18:00.05id`o wait
18:00.20id`nope, nothing
18:00.24id`~lart Maldivia
18:00.38Maldiviawell, then you've disabled it in some way or another
18:00.58Maldiviamessages shows the popup used when there's code-errorrs etc
18:02.02id`bet its !ImprovedErrorFrame
18:02.07id`evil :|
18:02.07Maldiviaprobably
18:02.13id`~lart AnduinLothar
18:02.33TainYeah IEF is evil.  You should be using BugSack. ;)
18:02.42Maldiviaor you could just hook chatframe2-7, and send to chatframe1 :)
18:02.46id`but bugsack is anoying
18:02.53id`if an error occurs and i view it
18:02.56id`and it occurs again
18:02.58id`im not notified
18:03.09TainYou can be if you want to.
18:03.17id`hmm
18:03.20id`*download*
18:03.32*** join/#wowi-lounge lon (n=lhh@nat-pool-bos.redhat.com)
18:03.33MaldiviaI should probably install one of those mods some day..
18:03.35TainThe default sound it plays on an error is annoying.
18:03.43TainBut I got rid of that a long time ago.
18:03.44id`ill change that
18:03.50id`i have alot of 'plum' sounds
18:03.59id`google does too
18:04.00id`;)
18:04.11Maldiviaso far, the default error message (or well, with a small modification) has been enough for me
18:04.55Maldiviawhat I find really annoying is, that you can hook the _ERRORMESSAGE function, making errors call your function instead...
18:05.20AnduinLotharwtf am i getting shot for in my sleep
18:10.05id`http://simplythebest.net/sounds/WAV/WAV_files/TV_show_WAV_files/alf_wrong.wav
18:10.08id`:p
18:10.39MaldiviaAnduinLothar: do you know when the reference for _ERRORMESSAGE is stored by the client ?
18:11.05id`http://simplythebest.net/sounds/WAV/events_WAV/event_WAV_files/compute.wav
18:11.18AnduinLotharwhat refrence?
18:12.24Maldiviathe client stores the reference for the _ERRORMESSAGE function at some point, ie doesn't do a global lookup for the function when errors occurs
18:13.03Maldiviameaning, you have to hook the function before the reference is stored, for it to use your function instead of the default
18:13.24Cairenn"Funny, I never got the impression that Zeus was into MILFs." hahahhaha
18:14.09AnduinLotharmeh? onload?
18:14.13id`http://simplythebest.net/sounds/WAV/WAV_files/movie_WAV_files/houston.wav
18:14.20id`LOL Cairenn
18:14.47id`cair im pasting error beeps to use with bugsack
18:14.48id`:p
18:15.25MaldiviaAnduinLothar: well, I thought you might know, from ImprovedErrorFrame...
18:15.59AnduinLothari haven't looked at that code in ages
18:16.04Cairennwhatever floats your boat, id`
18:16.48Maldiviaok... for instance, if I at runtime do /script _ERRORMESSAGE = nil  I still get all error messages etc
18:16.52AnduinLotharbut i know you can unhook _ERRORMESSAGE in IEF (rather unsafely) and it reverts to normal functionality
18:17.11Maldiviaonly thing that doesn't work is /script message(..) or /script _ERRORMESSAGE(...)
18:18.22AnduinLothardoes ImprovedErrorFrame.disable() restore the orig?
18:18.49id`right i know what
18:18.55id`im gunna look at IEF
18:18.56id`:p
18:19.04id`cause i like it
18:19.05id`but
18:19.09id`it needs changes
18:19.33MaldiviaAnduin: haven't tried..
18:19.42id`i'd prefer 'error log' functionality
18:19.46id`so i can look back
18:19.57id`(only current session ofcource)
18:20.36MaldiviaAnduinLothar: but from my observations without IEF, it wont, even though you restore the _ERRORMESSAGE reference... it will only affects /script message(..) calls
18:20.37id`:P
18:22.13AnduinLotharerror log isn't hard.. just have to stop the deletion of old messages
18:23.38AnduinLotharactually.. they're not deleted
18:23.48AnduinLothar<PROTECTED>
18:24.15Corrodiaswowooo...
18:24.23Corrodiasi think the hot salsa on my quesadilla may have been a mistake
18:26.16id`AnduinLothar: then please update IEF to have a frame that is way more sexy
18:26.20id`I'm thinking TinyPad
18:26.27AnduinLotharif you wanna see all errors this macro might work..
18:26.28AnduinLotharfor i = 1, table.getn(ImprovedErrorFrame.errorMessageList) do ImprovedErrorFrame.errorMessageList[i].status == IEF_MSG_SHOWN; end
18:26.29id`that is an error log
18:26.29id`:p
18:26.53AnduinLotharer, one =
18:27.04id`clad|Work: you here? >_>
18:28.08id`AnduinLothar: k, but it still looks rather ugly :P
18:28.26id`AnduinLothar: why do you have IEF_MSG_SHOWN btw, what use has this name?
18:28.45AnduinLotharto differentiate from IEF_MSG_VIEWED
18:29.10id`ImprovedErrorFrame.MessagesShown
18:29.13id`ImprovedErrorFrame.MessagesViewed
18:29.24id`?
18:29.24id`:p
18:30.09AnduinLotharand then swap tables? nah
18:30.13AnduinLotharless functional
18:30.16id`huh?
18:30.36id`then what are IEF_MSG_SHOWN and IEF_MSG_VIEWED ?
18:30.36AnduinLotharwaste of space
18:30.44AnduinLotharjust global strings
18:31.58AnduinLotharstop whining about pointless things. i didn't code that part
18:32.07id`anyway i'd have a 'message' object and two indexed tables to list viewed/unviewed message objects :P
18:32.10id`hey im not whining
18:32.12id`:D
18:32.45AnduinLotharsure sounds like whining to me
18:33.04id`only whning was the ugly frame vs sexiness of TinyPad's frame part
18:35.20AnduinLotharwhat's so hot about tiny frame..
18:36.44id`small text movable nice colors no red big button and you can drag it smaller-bigge
18:36.47id`r
18:37.29AnduinLothardoes it resize or just rescale?
18:38.03id`resize
18:38.16AnduinLotharresizing is a bitch and a half
18:38.18id`try it
18:38.21id`its wicked
18:38.21id`;p
18:38.48AnduinLothari made telltrack resizable a year ago and i've never bothered again
18:40.46*** join/#wowi-lounge Iriel (n=daniel@adsl-66-123-190-42.dsl.sntc01.pacbell.net)
18:42.39AnduinLotharwhee Thottbot updated from my mac:
18:42.42AnduinLotharhttp://www.thottbot.com/?p=Anduinlothar.Kil%27Jaeden
18:42.58AnduinLotharthat's my healadin gear
18:43.08AnduinLotharin case it wasn't blatently obvious
18:43.28AnduinLotharit should color the enchants..
18:43.36*** join/#wowi-lounge Shouryuu (n=Shouryuu@75.239.97-84.rev.gaoland.net)
18:43.43Shouryuuumm
18:43.45Shouryuujust took a 2 hour nap
18:43.47Shouryuuahhh
18:45.29AnduinLotharneed a mindtap..
18:48.37Shouryuuare those hard to get?
18:48.50*** join/#wowi-lounge Kolth (n=amoeba@c-24-20-128-54.hsd1.or.comcast.net)
18:53.19NatasemGood info in this thread  http://forums.worldofwarcraft.com/thread.aspx?ForumName=wow-off-topic&ThreadID=1261045
18:56.25*** join/#wowi-lounge Kolth` (n=amoeba@c-24-20-128-54.hsd1.or.comcast.net)
19:09.14Natasemheheh http://forums.worldofwarcraft.com/thread.aspx?fn=wow-off-topic&t=1260904&p=1&tmp=1#post1260904
19:09.16IrielMaldivia : Dunno if you're there but, I fixed my test and got results similar to yours, I dont know if you saw the thread.
19:09.29Maldiviareading it right now :)
19:10.29Maldiviathe results (fram actual calls) looks a lot like what I got
19:11.34Irielyeah, I felt a lot happier once I was consistent with your results, as I noted yesterday, the huge variatoin seemed very fishy
19:11.47Irielvariation, that is.
19:13.54MaldiviaIriel: about the userdata swapping in memoframe - can't you just use the userdata as the index instead of the table ?
19:15.04IrielMaldivia
19:15.14IrielThat's what the userdata test does
19:15.17Irieland it is SLOW
19:15.23Maldiviaohh... hehe
19:15.49IrielI could make a slightly faster one by using a memoized subtable, but it'd still be painful
19:16.09Maldiviamust admit, havent looked through all the different sauces
19:16.09IrielI'm guessing it's something to do with how userdata is hashed, but i'm not sure.
19:18.48krkai have to admit i have no idea how your code works iriel, totally crazy stuff
19:18.55Maldiviayeah, cant see what else, beside the aditional table lookup with frame[0]
19:19.10krkahmm... actually, it's very little of any of your code i could understand :)
19:19.12id`http://wowace.com/forums/viewtopic.php?p=16527#16527
19:19.50Irielkrka - I'd hope it's all understandABLE, it just make take a bit of 'reading time' if you're not familiar with what it's trying to do.
19:20.22IrielMaldivia : yeah, short of minute optimizations here and there I think it's about as compact as I can make it
19:21.42MaldiviaIriel: ok, on a different not, do you know when the reference _ERRORMESSAGE is being saved in the client for later use when scripting errors occur? :)
19:21.46Maldivianote*
19:22.02IrielI have no idea, do we even know if it's saved?
19:22.30krkawell, all i could gather was that it rewrote the uiparent somehow, and then all the other frames change too?
19:22.51Irielkrka: I just use UIParent to find the common frame metatable
19:22.54Irielthey all share the same one
19:22.58krkaah i see
19:23.13krkaand the common frame metatable is somehow slow so you replace it?
19:23.22MaldiviaI have a .lua file in an addon, the last line reads: _ERRORMESSAGE = RUF_ERRORMESSAGE;  but /script sldghsd  still calls the original _ERRORMESSAGE defined in BasicControls.xml
19:23.40CorrodiasUIParent = somethingElse? >_>
19:24.00Irielkrka: The __index method is pretty slow, so yes, I replace it.
19:24.56krkado we have some way of knowing how it works or is it internal c?
19:25.07Maldiviainternal C
19:25.16IrielMaldivia : My next guesses would be "first time it got called" or "when FrameXML is done loading"
19:25.31Irielkrka: It's internal C++, there was some discussion of its functioning a while back when I first noticed it was slow
19:26.09MaldiviaIriel: well, no error occur during load, and "when FrameXML is done", then mods like ImprovedErrorFrame wouldn't work...
19:26.39MaldiviaIriel: IEF hooks _ERRORMESSAGE, but tries to be the first mod to load (by prefixing the foldername with !)
19:30.35BeladonaPublic IE7 preview is out
19:30.53Maldiviaand can't be uninstalled, if you install it... just a warning
19:30.53MentalPowerlink?
19:31.12MentalPowergood warning
19:31.16krkajust delete your wine directory
19:31.18Beladonahttp://www.betanews.com/article/Microsoft_Releases_Public_IE7_Preview/1138730039
19:31.19Maldiviahttp://www.microsoft.com/windows/IE/ie7/tour/default.mspx
19:31.51BeladonaI don't care if I can't install it
19:31.54Beladonauninstall
19:32.00Beladonause firefox anyway, jsut curious
19:32.06MaldiviaI agre... I don't if I can't install it :)
19:32.21Beladonalast I heard they caved in and moved the tab bar below the menu bar, like firefox has it
19:32.23MentalPowerthat was for krka
19:33.04Maldiviahmm... *tried to install a spellchecker into the fingers, and fails*
19:34.29krkayou can probably run wine in windows
19:34.36krkause cygwin or something
19:35.03Maldiviawell, then you might aswell just use VMWare or similar...
19:35.17krkaemulators are slower
19:35.43Maldiviaso, you dont think Windows -> Cygwin -> X-Window -> Wine is slow ?
19:35.57Beladonayes
19:36.31Beladonahowever Windows -> wipe -> X-Windows -> wine is fast
19:36.35Beladonalol
19:37.54Corrodiaswipe? >_>
19:38.01Corrodiasi must examine!
19:38.45Corrodiasi am not finding this as a product
19:39.20Beladonawipe, the process, not the product
19:39.28krkawhy would it be slow?
19:39.33krkano emulation
19:39.51Corrodiasprocess? like... a running .exe, or a way of doing things?
19:40.01BeladonaI MUST ask this
19:40.10Beladonawhy the hell are you trying to run wine on windows anyway?
19:40.26Corrodiasmaybe he's trying to divide by zero
19:40.30krkadont think anyone is, it was just a suggestion
19:41.00BeladonaI mean, that is like wearing a rain coat, over your rain coat, to keep your first rain coat from getting wet
19:44.25id`get on irc
19:44.26id`:p
19:44.48id`lol @ my scorpion growling
19:45.11id`i name my pets rapizzle scorpizzle etc :p
19:45.36krkawell, wine is probably a lot safer than windows
19:45.37CorrodiasONE thing the alliance has an advantage in is the comparatively smaller size of their warriors
19:45.42krkacould use it to try unsecure programs
19:45.47krkamaybe, not sure :)
20:06.28*** join/#wowi-lounge dukeku__ (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net)
20:06.49Ktron|afkheh, quick, horde, replace all the human race models with tauren's scaled up if possible and make their textures magenta
20:11.27*** join/#wowi-lounge qwxyr (n=qw@201.80-202-198.nextgentel.com)
20:14.54id`no, do it for gnomes
20:14.55id`:p
20:17.56Maldiviagrr
20:18.04Ktron|afks/human/alliance/
20:18.38id`http://wowace.com/forums/viewtopic.php?p=16537#16537
20:20.09Ktron|afkwhat does it do? replace 'lol' with '{Lauging out Loud}'?
20:20.40Beladonamakes curly fries
20:20.48Ktron|afkand I'm not sure if I follow the regex well enough to understand... some method of returning the date upon something I think ;)
20:20.49Beladonawith optional soda
20:20.53Ktron|afkwoo woo
20:21.03Ktron|afkdo I get well fed buff?
20:21.28BeladonaI am writing a guide "Writing a wife in LUA: Part 1"
20:21.32Beladonaoh
20:22.13*** join/#wowi-lounge Kolth (n=amoeba@c-24-22-31-104.hsd1.or.comcast.net)
20:33.10*** join/#wowi-lounge stray`laptop (n=astrayca@adsl-67-121-136-30.dsl.scrm01.pacbell.net)
20:35.44MaldiviaAhh... finally know why IEF works...
20:36.01IrielDoes it hook the stuff that _ERRORMESSAGE _calls_ instead?
20:36.27Maldiviaot hooks it etc... but what makes it work, is that it overwrites ScriptErrors.Show
20:37.28*** join/#wowi-lounge Kirkburn (n=Kirkburn@81-174-44-137.f5.ngi.it)
20:41.34Maldiviait just annoys me, that I can't hook _ERRORMESSAGE... :)
20:41.56IrielWell, you CAN hook it, but it doesn't do you any good, which is likely more annoying 8-)
20:42.05Maldiviayeah, ok...
20:42.07IrielAt least if it said "You can't hook that" you'd feel better
20:42.17*** join/#wowi-lounge qwxyr (n=qw@201.80-202-198.nextgentel.com)
20:42.51Maldiviawell, I know hooking the SetText or Show on ScriptErrors can be used as a "work around"... but it's not nearly as nice, as just hooking the lua function
20:44.27IrielYou know, if you dont wan tot hook ScriptErrors...
20:44.43IrielYou could use setfenv on _ERRORMESSAGE so it calls those methods on an object of your choosing
20:45.33MaldiviaI'm not quite following..
20:46.14Irielenv = { ScriptErrors = YourCaptureObject, debuginfo = debuginfo }
20:46.20Irielsetfenv(_ERRORMESSAGE, env)
20:47.52MaldiviaAhh yeah... but I'll still have to hook the SetText or Show function, just on my own frame now instead...
20:48.34IrielWell, your object wouldn't be a frame
20:48.42Irielit'd be an object with simple methods
20:48.56Irielso you would be IMPLEMENTING the methods, not hooking other ones
20:49.03Maldiviayeah ok :)
20:51.10IrielYou could even do
20:51.18Irielenv = { ScriptErrors = YourCaptureObject }
20:51.31Irielsetmetatable(env, { __index = getfenv(0) })
20:54.05IrielOr better still
20:54.13Irielsetmetatable(env, { __index = getfenv(_ERRORMESSAGE) })
20:54.21IrielWhich is essentially environment hooking 8-)
20:56.20Maldiviawell, I don't really see why it's necessary to have this "static" reference to _ERRORMESSAGE, instead of just looking it up when needed
20:56.41TemHey Iriel, remember all that garbage last night with regexes?
20:57.00IrielTem: yes
20:57.00Temafter forever of making it work
20:57.00TemI'm using string.substring
20:57.02IrielMaldivia : Possibly performance, or security, or something
20:57.22IrielTem: The 'right' choice for the problem at hand, but I understand your rationale for wanting to know how to do it the other way
20:57.27Maldiviawell, performance... it's an error message, and if coded right, the function should never be called...
20:58.00IrielMaldivia : I figured it may be using the same 'subsystem,' of the C++ code that gets hold of other global references
20:58.53Maldiviaare there other such static references ?
20:59.14Irielthe game client fiddles with GameTooltip
20:59.20Irielbut it may do that ENTIRELY in c++ land
20:59.45Maldiviahmm... I think Tem (or Tain) proved it was entirely in C++ land
21:00.01IrielHow? that's unprovable without disassembling the code
21:00.07Maldiviaby hooking the SetText function on the TextLeft/Right#, and it was never called
21:00.14IrielI'm not talking about that
21:00.20IrielThat part IS in c++ land tho
21:00.25IrielI mean for in-world-object mouseover
21:01.11IrielThe client also dereferences global format strings, does it do those on-the-fly or do they 'stick' ?
21:02.12Maldiviawell, setting ITEM_CREATED_BY to "", maked the Made by <name> not appear on tooltips on crafted items
21:02.42Maldiviaso that's read from lua when the C++ generates the tooltip
21:03.37IrielYou know, that has great implications for 'robust' tooltip parsing
21:04.09*** join/#wowi-lounge elemaIaway (n=ele_ma@p548AF098.dip.t-dialin.net)
21:04.15elemaIawayhy guys
21:04.33MaldiviaYou can feed wrong data to tooltip that way - is that what you're thinking of ?
21:04.35Cairennhi elemaIaway
21:04.55IrielWell, you can tag the format strings, so there's no doubt about which line is which
21:04.57elemaIawaywhere the hell si the localisation of the blizzard'ish script files done?
21:05.32IrielThey just get a different GlobalStrings.lua
21:05.59elemaoh I see
21:06.03elemathanks
21:06.25Maldiviahehe... /script ITEM_CREATED_BY = "%s %s %s %s %s %s %s"... hover mouse over a crafted item = crash :)
21:06.30elemahui 5000 lines of code ;)
21:06.46*** join/#wowi-lounge Depherios (n=Deph@67.189.88.161)
21:06.59IrielMaldivia - trying to be the next Tem?
21:07.00CairennBeladona: dolby response
21:08.12MaldiviaIriel: it wasn't on purpose... :| heh
21:08.26IrielI'm sure Tem claims the same
21:09.14Cairennrofl
21:10.51Maldiviaactually pretty interesting... all the item-tooltip text, is generated from constants in GlobalStrings
21:11.46IrielSo in theory you could prefix each line with something
21:11.52Irieland then parse the tooltip much more soundly
21:12.05Maldivianot just in theory
21:12.35Maldivia<PROTECTED>
21:12.50Maldiviaand wupty, no more spirit in tooltips :)
21:22.22Tem|WoWuh oh
21:22.26Tem|WoWI just crashed too
21:22.48Tem|WoWIf you put things it doesn't expect in the format string
21:22.53Tem|WoWthe C end doesn't like it
21:23.08Maldiviayeah :)
21:23.15Tem|WoWyay! I haven't made a crash wow post in a while
21:23.29Tem|WoWor would you prefer to do it?
21:23.32Maldiviayes yes... just take all the credit*sob* hehe
21:23.42*** join/#wowi-lounge Shouryuu (n=Shouryuu@75.239.97-84.rev.gaoland.net)
21:23.45Shouryuurawr?
21:23.51Cairenn*purr*
21:23.57Maldivia*growl*
21:24.02Shouryuu*cower*
21:24.18Shouryuuanyone here seen Wonderful Day?
21:25.39AnduinLotharmoo
21:25.48Cairenn*purr*
21:29.33*** join/#wowi-lounge zespri (n=andrews@202-180-118-60.jetbuster.co.nz)
21:30.28*** join/#wowi-lounge ChanServ (ChanServ@services.)
21:30.28*** mode/#wowi-lounge [+o ChanServ] by irc.freenode.net
21:30.33*** join/#wowi-lounge wowguru-9950 (n=wowguru-@dpclt034222.direcpc.com)
21:31.06Corrodiasi want an addon titled Magnesium
21:31.28Shouryuulol
21:31.33Shouryuumaybe Food or something
21:32.17Beladonameow
21:32.30Beladonafinally, a break from the hell that is work
21:32.38Corrodiasgreat! make me a Magnesium addon.
21:32.44Beladonaehh?
21:34.33Corrodiasan addon named "magnesium". GO GO GO
21:34.44Cairenn*purr*
21:35.21MaldiviaTem: did you post, or should I ?
21:35.32Beladonaerr, maybe an Addon that does something for Alchemists?
21:35.35Beladonalol
21:36.00IrielHm: Magnesium : Shiny when polished but goes dull real fast?
21:36.42AnduinLotharreasts with water
21:37.02IrielMagnesium doesn't react with water
21:37.17IrielYou're thinking one a little further down the chart
21:37.19Corrodiasi think it reacts with HCl
21:37.33Corrodiasor is that O2 when burned...
21:38.37IrielIt does react with steam tho
21:38.55Iriel(if the magnesium is heated)
21:39.11MaldiviaMagnesium reacts with water, if it in powder form (larger surface)
21:40.11Irielit oxidises, but I dont think it's a vigorous reaction is it?
21:40.24Corrodiasah, it burns with nitrogen!
21:40.28Corrodiashttp://en.wikipedia.org/wiki/Magnesium
21:41.15MaldiviaIriel: Mg powder explodes in water
21:41.30Tem|WoWIt burns nicely :)
21:41.43Tem|WoWAla hindenburg
21:41.43AnduinLotharthat's what i was thinking..
21:41.54Depherioslol
21:41.59Tem|WoWMaldivia, I hadn't posted yet, but I will
21:42.16IrielBurning or molten magnesium metal reacts violently with water.
21:42.18MaldiviaOK, I'll reference the post in a post I'm writing right now :)
21:42.30IrielCOLD it just oxidises
21:42.45Maldivia"Magnesium powder is an explosive hazard"
21:43.11Irielit does ignite readily if you have a heat source around
21:43.42Corrodiasi don't know about you, but that gives me absolutely no ideas for an addon.
21:43.50Corrodiasexcept something that reacts violently with Sea
21:44.28ShouryuuLOL
21:44.30Shouryuuwhoops
21:44.31Shouryuucaps
21:44.32IrielIt used to be used for flash photography, maybe something dealing with screenshots
21:44.47Shouryuumake it an acronym :P
21:45.05IrielOr a hindenburg joke, it could say "Oh the humanity!" every time you observe more than X kills in a given time period
21:45.21Depheriosor when the zep glitches and you fall in the ocean?
21:45.27Shouryuulol
21:45.35*** part/#wowi-lounge Ratbert_CP (n=KCummins@204.128.192.4)
21:46.13*** join/#wowi-lounge Natasem (n=Natasem@63.197.112.216)
21:46.57id`http://www.wowwiki.com/HOWTO:_Use_Regular_Expressions
21:47.01Depheriosmy new favorite macro... auto uses Troll berserking when I mount
21:47.02id`how do i use atoms
21:47.06*** join/#wowi-lounge wowguru-5623 (i=WoWGuruJ@82.26.230.0)
21:47.25wowguru-5623Hey
21:47.30Shouryuuwhat does the new berserker do?
21:47.31Shouryuuhello
21:47.39Cairennhi
21:47.43Depheriosspeeds up cast time by 10-30% depending on health
21:47.46Gryphenheya
21:47.50Depheriosanything with a casting bar
21:47.54wowguru-5623how do i change me Nick? lol i am new here
21:48.04Depheriosincluding mining, opening chests, hearthstone, or flag caps XD
21:48.08Cairenn<PROTECTED>
21:48.11Shouryuutype /nick nick
21:48.16CorrodiasMAGNESIUM - Maury's Addon that Now Enhances Some Interfaces, Usually Mine
21:48.17Shouryuuyeah
21:48.21Shouryuucair makes more sens
21:48.24id`nononono dont do /nick
21:48.26Neraphwee ^^ ty peole
21:48.26id`http://www.irchelp.org/irchelp/rfc/
21:48.28Shouryuulol
21:48.28id`read this
21:48.42Depherioslol id
21:48.44Shouryuucor - My english teacher is called Maury =(
21:48.46id`:B
21:48.52Tem|WoWh'ok
21:48.53Tem|WoWposted
21:48.59id`'hokhay
21:49.04NeraphAnyone here from Darksorrow?
21:49.08id`me
21:49.13id`im on all servers
21:49.14Shouryuudarksorrow?
21:49.14Neraphnice :)
21:49.16id`(EU)
21:49.16id`:p
21:49.21Shouryuuahhh
21:49.35Neraphcool... i gots my warrior there :)
21:49.49id`next game i buy with an actualy community will be US
21:49.50id`:|
21:49.54id`-y
21:49.56Neraphhorde or allied?
21:50.01id`horde, duh :>
21:50.09Depherioslol!
21:50.19Neraphwhats your name in game... i'll wave if i see ya :P
21:50.30id`me eat pointy ear girlie girls for breakfast
21:50.34id`Industrial
21:51.13Neraphas you can guess my name in game is Neraph... i'll wave when/if i see you :)
21:51.17id`(yes sorry my character isn't so bright.. you know that accident with the kodo...)
21:51.42Depheriosoh crap
21:51.44Depheriosthat reminds me
21:51.46id`(in her childhood)
21:51.59DepheriosAV started the last time I was dragging a Lost Barrens Kodo to OG XD
21:52.15NeraphNive dep :)
21:52.18Neraphnice*
21:52.22zespriGetGuildRosterInfo() not returning group any more - anybody knows why is that and if there is a workaround?
21:52.24Shouryuuwhy do you drag kodos to org?
21:52.31id`she got trampled by a kodo, and ended up in this wheelchair... but her strong will made her survive
21:52.36Depheriosbecause tehy make clompy noises
21:52.37id`she started walking...
21:52.46id`now, 10 years later
21:52.52id`you BETTER NOT cross her path
21:52.56id`:p
21:53.02Shouryuuthat's what they all say..
21:53.04Neraphhehe nice
21:53.12id`i just made it up
21:53.13id`*cough*
21:53.16id`back to work >_>
21:54.03zespriAnd is it possible to find out if a given person already in a group or not? (without trying to invite her)
21:54.05NeraphIndustrial her name is yes? i'll look out for you... i have been grinding in badlands foreverrr
21:54.19Neraph*badlands stinks*
21:54.20*** join/#wowi-lounge zeeg (n=wguru@63.147.183.47)
21:54.31Tem|WoWzespri, no, it was removed in 1.9
21:54.38*** join/#wowi-lounge Ratbert_CP (n=KCummins@204.128.192.4)
21:54.47Tem|WoWzespri, presumably to prepare for the new LFG interface they sort of promised
21:55.13zespriis there a post anywhere about it being removed?
21:55.17zesprithank you, Tem
21:55.24Tem|WoWprobably not
21:55.33Tem|WoWoh maybe in the 1.9 changes thread
21:56.06id`Tem|WoW: centralized LFG ?
21:56.20Shouryuuyeah they're working on a new LFG system
21:56.29Tem|WoWid`, yeah they're working on one
21:56.39id`if the'yd only kill the chat channels and forbid any LFG or WTS chatter on the general channel...
21:56.52Natasemwell it look slike FireFox 1.5 is still faster than IE 7 Beta Public Prieview 2  by about 5 seconds
21:56.59id`not
21:57.00id`:p
21:57.06id`IE7b2 is so much faster
21:57.07id`:>
21:57.10Corrodiashmmm
21:57.14Tem|WoWid`, I don't have high hopes, but I'm going to be optomistic
21:57.18id`but ok, i server my FF with lots of extensions
21:57.21Depheriosit;s still IE though... isn't it??
21:57.32Tem|WoWDepherios wins a prize
21:57.42id`i cant use FF without extensions, its just like IE to me then
21:57.48id`but then IE is faster
21:57.57Corrodiasan LFG interface that lets you sign up for instances, quests, or "custom objectives" and see other available candidates...
21:58.08id`custom fails
21:58.09Depheriosso... CTA XD
21:58.10id`:p[
21:58.12Corrodiasthat would be most welcome. no more whining in cities
21:58.24Natasemhttp://www.24fun.com/downloadcenter/benchjs/benchjs.html
21:58.43Natasemjust did a bent test against FF 1.5 and IE7b2
21:58.45Corrodiaswell, those "custom things" would most likely be best picked up in chat, still
21:59.01Corrodiaslike "looking for one or two rogues/druids to sneak with me into <somewhere> and <do one little thing>"
21:59.15Depheriosif it works like CTA... you won't need to
21:59.19*** join/#wowi-lounge ForgottenLords (n=Forgotte@059.216-123-195-0.interbaun.com)
21:59.24NatasemCorrodias you are describeing Call To Arms
21:59.26Corrodiaswhat is CTA?
21:59.52Tem|WoWlol!
21:59.53Tem|WoWhttp://pi.ytmnd.com/
21:59.59Depherioshttp://www.wowinterface.com/downloads/fileinfo.php?id=4020
22:00.06Corrodiascall to arms? i've not heard of it. i will now read about it.
22:00.18Natasemhttp://www.wowinterface.com/downloa...nfo.php?id=4272
22:00.33Natasemmine is  the newest version
22:00.36Natasem=P
22:00.46Depheriosyours is a broken link
22:00.51Corrodiasit's a 404 because you truncated it
22:00.52NeraphSo what combo of UI has everyone got then?
22:00.56Depheriosyah
22:01.00Natasembah wtf
22:01.09Natasemhttp://www.wowinterface.com/downloads/fileinfo.php?id=4272
22:01.11Cairennrofl, funny channel to ask that in, Neraph
22:01.13sarf|stuffSarf UI 2.328
22:01.15Shouryuutem - I actualy learned the 50 first decimals of Pi once...
22:01.16Corrodiasi like the sound of CTA... but a lot of people would have to have it. :(
22:01.22Cairennmost of the folks in this channel are mod authors
22:01.25Natasemalot of people do have it
22:01.36Neraphcool :)
22:01.37DepheriosEven if they don't
22:01.47Neraphi love Nurfed it rocks
22:01.47Cairennthis is primarily a dev channel
22:01.49Shouryuunat - 2 people have it on my server. Me and someone else
22:01.52id`sarf ui? ewww i bet that's one of those icky compilation things
22:01.55Depheriosit finds, and broadcasts LFG pessages
22:01.56Tem|WoWShouryuu, be ashamed of yourself
22:01.58id`heh oh hey sarf|stuff ...
22:02.02Natasemabout 100 people on my server have it
22:02.10Natasemand that is alliance alone lol
22:02.17krkai use krka UI 0.9 beta
22:02.18Depheriosnobody ever makes a CTA party... but everybody broadcasts
22:02.25Corrodiasthen i'll try it
22:02.27krkavery broken ui though, wouldn't recommend it
22:02.34id`lol krka
22:02.37sarf|stuffToo many slash commands .)
22:02.44Tem|WoWoh Maldivia, did you see my post?
22:02.46Depherioslol sounds like DephUI XD
22:02.54id`i have n ui
22:03.04Depheriosi don't even have slash commands though ^_^
22:03.04id`everything i make is independantly usable removable etc
22:03.16id`its just not alot
22:03.22MaldiviaTem, yes - and linked it from my post (end of 1.10 changes=
22:03.24id`(3 things that do really different things)
22:03.25id`lmao
22:03.55DepheriosI realized today, that only one of my Titan Panel plugins isn't modified (not counting the built ins)
22:04.17TainBuilt-ins are the devil!
22:04.34Depherioslol, I removed most of them... most especially Rider *shudders*
22:04.51TainI made them all plugins.
22:04.53id`Tain: did you redo titan or was it tem
22:04.58id`good
22:05.01MaldiviaTem: hmm, knowing a bit about how printf works, should actually make you able to scan the stack with tooltips...
22:05.04id`was gunna pm to ask you
22:05.19TainYeah, I just haven't gone back to clean it up more.
22:05.23Depherioslol
22:05.24id`sometimes i switch Tem and Tain :<
22:05.31Depheriosditto :P
22:05.39Shouryuuman I really need to clean up my add-on
22:05.42Natasemthere are so many different version of Titan, it's hard to tell what one is the best
22:05.49id`Tain's
22:05.49Shouryuuthe code is just... sad
22:05.50id`the end
22:05.51id`:p
22:05.51Natasemor what wone works the best
22:06.02id`mine works the best
22:06.04id`none
22:06.10zesprikrka, you don't play =)
22:06.14id`</lame mood>
22:06.15DepheriosI don't even remember what one I have, but it's modified, a ton XD
22:06.24Neraphive got nurfed, titanbar and flexbar at the mo
22:06.50krkayeah, i play a bit
22:06.53*** join/#wowi-lounge Shouryuu (n=Shouryuu@75.239.97-84.rev.gaoland.net)
22:06.59Shouryuudamm internet
22:07.01Neraphwb sho
22:07.28Depheriosit's taken me like... 32 days so far to level my Priest to 51... I spend all my time coding, fixing, modifying XD
22:07.33Shouryuulol thanks
22:07.53Depheriosoop 33 days actually
22:08.11MaldiviaTem: hehe... <quote>Don't do that</quote>
22:08.45Tem|WoWyeah I just saw it
22:09.15Tem|WoWso I wonder if that means he's not going to fix it
22:09.24Shouryuudamn where I can find that macromedia plugin for WoW... I think bela uploaded one on WoWI but I can't remember...
22:09.42Tem|WoWShouryuu, what are you talking about?
22:09.49Cairennmacromedia?
22:10.03Shouryuudreamweaver?
22:10.09id`*twitch*
22:10.12Cairenndo you mean dreamweaver? it's in dev tools, duh :p
22:10.13Cairennhttp://www.wowinterface.com/downloads/fileinfo.php?id=3971
22:10.21Shouryuudanke
22:10.23Tem|WoWlol!
22:10.27id`*die*
22:10.29Maldiviahmm, Iriel do you know how much an overhead there is, looking up (from C++)a global var in the lua enviroment ?
22:10.34Tem|WoW"Or possibly +X Ninja for agi, and +X Pirates for Str."
22:10.48Cairennlol, slouken ... "don't do that"
22:10.53Tem|WoWMaldivia, there are people in #lua that could tell you that
22:11.18Neraphbye bye peeps maybe back in a minnutey thing
22:11.29Maldiviawell, Iriel is a lua-guru, and usually knows such stuff :)
22:11.43Maldiviabut yeah - #lua might be a good place for such questions
22:11.53Tem|WoWMaldivia, the lua devs frequent #lua
22:12.30Tem|WoWand there is one guy rici... he seems to know the innards of lua like the back of his hand.  It's kind of scary
22:12.33MaldiviaWas just thinking, that it can't be that effecient to lookup a format-string in lua, for each line in a item-tooltip
22:13.14Natasemgawd darn IE stole all the idea's from FF,  i was treating IE7 the same way i treat FF and every command is the same
22:13.36Tem|WoWheyas cladhaire
22:13.47Cairennhey cladhaire :)
22:13.54MaldiviaNatasem: including the RSS icon
22:14.03Natasemyep
22:14.25TemCairenn, did Dolby break WoWI's favicon?
22:14.37Cairennshouldn't have ...
22:14.41TemIt doesn't appear for me anymore
22:14.45cladhaireMaldivia: You assume that the tooltip handling isn't coded in pure lua =)
22:14.56Cairennweird
22:14.59Maldiviacladhaire: it isn't
22:15.04Cairennpost it in the bugs forum
22:15.08cladhaireHow can you be sure?
22:15.11Cairennplease :)
22:15.18Temcladhaire, trust me
22:15.21Temcladhaire, we know
22:15.21cladhairelol
22:15.22Maldiviacladhaire: because the format strings are printf-format, not string.format
22:15.28cladhairethat's all i was asking =)
22:15.40Temcladhaire, http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=312708&s=new&tmp=1#new
22:15.45cladhaire*nod*
22:15.59KirkburnNatasem, everyone 'steals' from everyone, it's progress. FF is open source, too
22:16.42id`all i have made is stolen
22:16.44id`and improved
22:16.45Natasemya i know
22:16.53id`to my opinion ofcource
22:16.56KirkburnI must comment that the IE7 beta does have bugs, noticeable ones, so only install if you have a backup, like FF, installed
22:17.14id`notice the 'Beta' in 'Beta;
22:17.17KirkburnI just had to put FF on myself
22:17.20Natasemi just love my FF and hate IE
22:17.21id`xD
22:17.58Kirkburnid, well yes. But the bugs do render a very few pages weirdly.
22:18.05Beladonatime to go home and play =D
22:18.15KirkburnNatasem, I have to say when IE7 somes out they'll be on a par for a while
22:18.40Natasemi know
22:19.08KirkburnI don't think u have to be that upset, most web devs will be cheering when it goes public
22:19.11Beladonayeah, finally transparent gifs will work
22:19.19KirkburnAnd FF will have to get even better
22:19.20Beladonaand I will feel better about using hackless png
22:19.32KirkburnTransparent gifs?
22:19.40KirkburnYou meant png?
22:19.41BeladonaI meant transparent pngs
22:19.44Beladonasorry
22:19.47Beladonaalpha channels
22:19.48Kirkburnheh
22:20.06Beladonasupposedly beta2 has it now
22:20.10KirkburnI does
22:20.10id`Kirkburn: or the pages were made with IE6 css hacks and IE7 fixes itself and the hacks fuck up IE7
22:20.11Beladonahaven't checked
22:20.17KirkburnIt does, even
22:20.35Kirkburnid, the hacks have been removed
22:20.41id`*shrug*
22:21.08KirkburnI'm pretty certain they shouldn't break the sites using them currently though
22:21.36Kirkburnit's nice to finally be able to subscribe to rss feeds
22:21.48Beladonano the hacks will still work
22:21.55Beladonathey just won't be necessary
22:23.00Natasemeh i always root for the under dog
22:23.17Natasemand FF was / is the underdoog
22:23.43KirkburnSo's netscape
22:23.46KirkburnAnd safari
22:23.49Temmy biggest issue with IE is that it takes them too long to fix security holes
22:23.53Kirkburnetc, etc
22:24.02BeladonaI doubt IE7 will bring the masses back that much
22:24.21BeladonaIE7 would need to provide something FF doesn't have
22:24.21Kirkburn'the masses' by which you mean the 10% that changed?
22:24.30Temand IMO something that is built into the OS, should be so secure it's retarded
22:24.31KirkburnWell the tabs are better implemented
22:24.44Beladona10%? I doubt that is accurate
22:24.51Tembetter implemented than what?
22:25.01KirkburnTem, the vista version of IE will be very well integrated, specifically into the security section of windows
22:25.12ForgottenLordsIs there any way to hook <OnClick> code in the XML files?
22:25.17Beladonahow are the tabs better implemented
22:25.29KirkburnOh and it'll be incredibly 'restrictive' for anything wanting to affect your system
22:25.42Kirkburn10% is pretty accurate. It's the current FF market share
22:25.53Corrodiasoverall, 10% is probably right
22:26.01Corrodiasas for specific domains, it depends on what sort of place it is
22:26.03Beladonathat doesn't count the people who switched away from IE to OTHER browsers
22:26.16KirkburnIe market share is currently about 85%
22:26.45Beladonaonly because people are still ignorant about their options
22:26.51KirkburnTabs have a close button on the tab, you click next to the last one to open a new tab
22:27.02KirkburnBeladona, that was totally irrelevant :p
22:27.06BeladonaI don't like that feature
22:27.18BeladonaI thought it was pretty crappy
22:27.19KirkburnWhat feature?
22:27.21Temneither do I
22:27.30Beladonathe x per tab, and the new tab button
22:27.39KirkburnHow is that crappy?
22:27.46Temcrouds the tab
22:27.59Beladonanot to mention the tabs being over the menu bar, although that is supposedly changing
22:28.02Corrodiasin my firefox, i use the middle mouse button or mouse gestures to close tabs
22:28.05KirkburnOh and the tab preview page, click the button to see a tiles view of all your open tabs with images of the open pages
22:28.22Beladonathose are little things that I really don't care about
22:28.29Corrodias4chan appears to be accessed 60% by firefox and 30% by IE
22:28.33KirkburnYou asked me how tabs were better implemented ...
22:28.41Beladonawould rather my browser be lightweight and fast than have hover previews and smell like cheese
22:28.47Corrodiasof course, that's a very particular subset of internet-enabled people
22:28.57Beladonathose are really just "fluff" features
22:28.59KirkburnIE7 is very fast in my current experience
22:29.03Temturan posted that wowace had 60% FF visitors as well
22:29.07Kirkburnoh, right ... fluff.
22:29.21Beladonabetter implementation is purely opinion on that part
22:29.25cladhaireKirk: Does it still not implement the http standard correctly, by half-closing sockets?
22:29.28KirkburnI think better measures would be news sites
22:29.46Kirkburncladhaire, not sure what you mean
22:29.48TemI disagree
22:29.57TemI think something like google would be a better measure
22:29.58Corrodiashttp://www.4chan.org/blog/2005/12/02/some-stats/
22:30.05Beladonawhen I heard better implmeneted, I was thinking the backend implementation such as memory utilization and rendering
22:30.06cladhairethe reason IE is quick.. is because it takes short-cuts that are against the Http standard
22:30.12KirkburnOk, news and search sites
22:30.25Temnot news sites
22:30.28KirkburnI can't say how much better IE7 works
22:30.32KirkburnIn fact I have an idea
22:30.37KirkburnI'm gonna try the acid test
22:30.46Beladonathere are sites with thorough checks
22:30.49Beladonathat you can run
22:30.55KirkburnGive me one
22:31.00Beladonabased on http standards
22:31.24Kirkburnya
22:31.48Beladonahere is a simple one for the png bug
22:31.50Beladonahttp://www.w3.org/Graphics/PNG/
22:31.56BeladonaI have more just gotta find em
22:32.50KirkburnAcid test is better than IE6, still not as good as FF yet
22:33.09KirkburnWhen I say better then IE6 I mean WAY better. And actual recognisable circle
22:33.13KirkburnThe png test is fine
22:33.27NatasemBlizzard To Run New Servers on Opterons http://www.dailytech.com/article.aspx?newsid=576
22:33.29Beladonayou went through alpha and gamma too?
22:33.54KirkburnYup
22:33.56KirkburnPerfect
22:34.15cladhaireinteresting
22:34.35Kirkburnand good :)
22:35.07KirkburnWhat were they running on before?
22:35.52Kirkburn1,500 servers, probably also for EU
22:35.58Beladonaoh and on a side note
22:36.10KirkburnI'm right in thinking 2 servers for each realm?
22:36.29Beladonathe IE7 lead developer said himself that IE7 will not fully support the latest CSS standard
22:36.37Depheriosoi
22:36.50Beladonait will fix the major bugs
22:36.55KirkburnCSS 3.0? Pretty much no-one does yet
22:37.04cladhairequirks mode is ridiculous
22:37.04Beladonanot talking about that
22:37.13cladhaireKirk: no IE has every supported ANY versino of css correctly
22:37.20BeladonaI am talking about full CSS2 standards compliance
22:37.47KirkburnWhere's the page with the standards compliance of each browser? I forget how FF fares
22:37.58Beladonaoh and get this
22:38.12BeladonaI’ve seen a lot of comments asking if we will pass the Acid2 browser test  published by the Web Standards  Project when IE7 ships.  I’ll go ahead and relieve the suspense by  saying we will not pass this test when IE7 ships
22:38.15Kirkburncladhaire, 'quirks' mode?
22:38.25Beladona.....
22:38.25KirkburnFF doesn't pass the test either
22:38.35Beladonaright
22:38.43Beladonabut it comes a hell of a lot closer
22:38.48KirkburnBut it is better then IE7
22:39.03KirkburnI'm testing on the beta two preview, remember
22:39.08Beladonawhat makes me laugh
22:39.11cladhaireKirkburn Yes.. CSS issues on ie
22:39.14Beladonathey list what they are fixing
22:39.21Beladonabut not what they are NOT going to support
22:39.29Beladonadevelopers get to find that out on their own
22:39.32Beladona=D
22:40.06KirkburnEr ... surely that would be assumed by knowing what's there now, and what's listed as fixed?
22:40.19cladhaireYou'd think
22:40.28cladhaireif you had any idea the hoops web developers have to jump through
22:40.36IrielI see slouken's response to Tem/Maldivia was the expected one 8-)
22:40.43cladhairehehe
22:41.05KirkburnDev don't publish lists of what they're not gonna do, cos that kind of stuff changes
22:41.30KirkburnMuch easier to publish lists of what they've done already
22:41.32MaldiviaIriel: yeah... I just think it's risky having access to the printf format string in lua
22:41.56IrielIf you can feed it arbitrary values, it will be
22:42.07Irielon the other hand, it's handy for us
22:42.08KirkburnBut anyway I think we can all agree that IE7 is a big leap for IE, but FF still outperforms it in certain areas
22:42.49BeladonaI coulda waited on the IE tabs, if they would just meet or beat other browsers in compliance
22:42.55KirkburnIs there a mod for the +Ninja thing yet?
22:43.40DepheriosI admit, I like I.E's filter effects...as in ALPHA
22:44.12*** join/#wowi-lounge cladhaire (n=jnwhiteh@cpe-24-59-51-225.twcny.res.rr.com)
22:44.16Shouryuushould this be a proper scrolling function?http://pastebin.com/534567     I've been having a few poeple saying that they couldn't scroll through my add-on frame...
22:44.20Shouryuu*would
22:44.41KirkburnDepherious, was that sarcasm?
22:46.13BeladonaIE's filter affects are one of the major issues web developers have
22:46.28Beladonadue to the fact they are IE only, and are not part of the web standard
22:47.24KirkburnWhat do they do/not do?
22:47.55Grypheniframes werent standard either..
22:48.21Beladonathe filter effects are also an attempt to extend scripting into CSS, which is insecure.
22:49.02KirkburnA good impartial view on IE7: http://www.winsupersite.com/reviews/ie7_beta2.asp
22:49.07DepheriosI said I liked them, I didn't say I like how they did 'em XD -- they're fun to play with
22:49.08Beladonayeah I read that
22:49.12Beladonaand I agree with him
22:49.15Depheriosbut I don't use IE
22:49.26Beladonait is a huge leap forward, but as he states, he won't be making the switch yet either
22:49.51KirkburnWonder if they'll add in the inline search by release
22:49.55BeladonaI will test it though
22:50.17Beladonaespecially since I do a lot of web development, so I gotta know what IE supports and doesn't
22:50.51KirkburnGood idea. My sites are too crappy to be affected (just look at the one that comes with my addon ...)
22:51.41KirkburnNo one answered about the current situation on a +Ninja addon?
22:52.01ShouryuuI doubt it
22:52.14Shouryuuthe ninja add on that is
22:52.27Shouryuunot the fact that someone has answered your question
22:53.13IrielShouryuu : I can't follow your code well enough to figureo ut what it's trying to do
22:53.21Shouryuulol sorry
22:53.38ShouryuuI'm going to rework it durring the holidays
22:53.56ShouryuuI;m just trying to keep track of the number of time someone presses scroll up or scroll down
22:54.19krkahaha, great response from slouken
22:54.23Shouryuuso I know which names to show
22:54.24IrielShouryuu : I'm concerned that those two functions look VERY different in terms of what they do at the top
22:54.51Shouryuuat the top as in? The first if?
22:56.05IrielShouryuu one calls GetLeviLoto_EditBox_Values(), one doesn't
22:56.28IrielAnd why you're tracking number of scrolls in each direction, rather than just where in the list you're at is odd.
22:56.35KirkburnCan I just say thanks for a constructive conversation about IE7, it's nice to be away from flame wars :)
22:56.36IrielAnd likely the source of your problems
22:57.09Shouryuuactualy they both do
22:59.02krkagood thing I wasn't active here when you talked about IE7 then!
22:59.02Shouryuuman I need to rework my code
22:59.10ShouryuuI don't understand half of what I'm doing...
22:59.13IrielMaldivia : Heh, I win with "performance"
22:59.57krkai only understand my code up to 2 hours after I write it
23:00.01Shouryuulol
23:00.12cladhaireI understand mine until I'm sober
23:00.17krkait ends up so obfuscated and efficient it's unreadable
23:00.25Temlol!
23:00.35Tem/this is probably not needed but what the hell
23:00.58Tems/\//\/\//
23:00.58id`haha neat the bells of the church... 00:00
23:01.02MaldiviaIriel: well, I did get two new nice API functions out of it :)
23:01.14id`s/^\///
23:01.16id`:p
23:01.23Tem<PROTECTED>
23:01.33id`purl needs it
23:01.34Temif(!this) return;
23:01.40id`~lart kergoth
23:01.54krkadailywtf?
23:01.54id`he needs to make it run through vim with a shell command
23:02.07id`that'd be ownage
23:02.08id`:p
23:02.36krkaif (!this) { } // this is very bad
23:02.47Temdailywtf indeed
23:04.44Shouryuuwell rawr out
23:06.41Temrofl
23:06.53Temit's been too long since I visited this site
23:07.04cladhaireDoes it kill anyone else when people spell their subject in the forums wrong?
23:07.16cladhaireand it sits there all day long, and gets bumped.. til its 19 pages
23:07.34KirkburnWell, does the subject include a gun which shoots you in the head?
23:07.46KirkburnCos then in might kill me
23:07.48cladhaire.. hrm.. sometimes!
23:08.20KirkburnI want to use purl ... for a correction it'd be s/in/it ?
23:09.05cladhaires/times/toons/
23:09.52Kirkburnpurrfect
23:10.05Kirkburns/purr/per
23:10.46KirkburnIf there's one thing that annoys me, it's that the ui.worldofwar feed doesn't work in IE7
23:11.02cladhaireclosing /
23:11.05KirkburnI'm guessing I forgot the final / then
23:11.09Kirkburn:D
23:11.40Kirkburns/:D/:(/
23:11.40Tem<PROTECTED>
23:11.41Tem<PROTECTED>
23:11.48Tem>< lol!
23:11.54TemFIVE = 4
23:12.23KirkburnIs this some obscure monty python joke?
23:12.42Temno it's a dailywtf
23:12.57KirkburnAh so some obscure nerd joke
23:13.06Temwell look at it
23:13.22Temsomeone set a variable named "FIVE" to be equal to 4
23:13.56KirkburnOh, er, I knew that! I was just ... testing
23:15.40CodayusHmmm.
23:15.41IrielSomeone needs to go beat Fortessian into being (a) polite and (b) less frickin' lazy
23:15.57CodayusWhat language is that?
23:16.10Iriellooked like lua bytecode
23:16.16krkareference Iriel?
23:16.17Temnot sure Codayus
23:16.27CodayusI don'tunderstandit.
23:16.57TemI got it in an IM
23:17.02TemI shall ask him
23:17.32Temlol it is Lua bytecode
23:17.46TemOh I see.  The original was in cobol
23:17.59Tembut he couldn't find it
23:18.45Irielluac -l SecretSauce.lua is fun to read
23:18.49CodayusHmmm, lua bytecode is confusing if you don't know it. :-)
23:19.33TemIriel, that seems like a terrible idea
23:20.24krkalua bytecode is quite similar to java bytecode, so i find it easy to read
23:20.50IrielIt can be interesting to see how much work you're actually doing
23:21.23Temhaha check this one out
23:21.26Temif (totalGlue > EIGHT) totalGlue = EIGHT;
23:21.26Tem/ burried in a header file ...
23:21.26Tem#define EIGHT 16
23:22.26krkayeah... people who use "and" and "or" in lua to do weird things instead of using if-statements for instance
23:22.35krkait translates to the same bytecode in the end
23:22.46krkabut if-statements are probably almost always more readable
23:29.27*** join/#wowi-lounge cladhaire_ (n=cladhair@cpe-24-59-51-225.twcny.res.rr.com)
23:29.44IrielI dont agree with that statement
23:30.09Irielhttp://wow.pastebin.com/534629
23:31.31IrielAnd http://wow.pastebin.com/534632
23:33.22Maldiviasize isn't everything... *hides*
23:34.26krkawell... didn't mean that that's unreadable
23:34.32krkathough the bytecode seems pretty much equal
23:35.00krkai meant stuff like x = (y or 0) and (q or (5 and z))
23:35.17krkawhere it's not just booleans
23:38.55Irielwell, that one would be silly
23:39.08Iriel(y or 0) is always true
23:39.18Irielso it's just x = q or (5 and z)
23:39.21Irieland since 5 is also tru
23:39.22Irielx = q or z
23:39.42krkano
23:39.49krka(y or 0) either returns y or 0
23:39.59krkaif y is false or nil, it returns 0
23:40.01krkaotherwise y
23:40.09IrielYes, but you're passing it into 'and'
23:40.12Irielso that's irrelevant
23:40.25krkamaybe it was a bad example
23:40.34Irielit was, and i'm just picking on you
23:40.38krkaa real example would be x = (x or 0) + 1
23:41.37krkahmm... or: x = (((type(x) == "number) and x) or 0) + 1
23:41.57krkathat good enough for you? :)
23:42.18krkai'd prefer to see: if type(x) == "number" then x = x + 1 else x = 1 end
23:42.51TainThankfully everyone gets to do it the way they like. :)
23:43.39AnduinLotharah, but it looks like you're a leet coder to use inline uberness
23:44.05krkamy original point was that I suspect that some people use that kind of obfuscated lines thinking they're making it more efficient
23:44.26krkalooking at the lua bytecode would be a better estimate
23:44.46TainI don't assume that though.  There are simply different ways different people code.
23:45.02TainYou'd really have to ask someone why they do it that way.
23:45.47IrielI usually go for single lines when I want to keep the code size down
23:45.56IrielIn .lua, that is
23:46.08krkawhy do you want to keep the source size down?
23:46.14krkaless typing or less reading?
23:46.23krkaor smaller zips to distribute :)
23:47.08IrielClearer reading
23:47.12IrielI find something like...
23:47.25Iriely = someStructure(x or "default");
23:47.27Irielis easier than
23:47.34Iriellocal nx = x;
23:47.48Irielif (not x) then nx = "default"; end
23:47.54Iriely = someStructure(nx)
23:48.06krkafor that example i agree
23:48.12IrielYour 2nd example was much better by the way
23:48.16TainBesides, if someone uses a 30 condition if statement on a single line for no other reason than they think it looks cool, then that's really all the reason they need.
23:48.21krkai know
23:48.27Irielhttp://wow.pastebin.com/534652
23:48.29krkathat was actually thought out
23:51.14krkahmm
23:51.17krkathat looks wrong
23:51.23krkalet me edit
23:51.59krkahmm, no wait, have to recompile then
23:52.05krkayou mixed up x and o anyway
23:52.09krka<PROTECTED>
23:52.11krkashould be
23:52.19krka<PROTECTED>
23:52.28IrielAh, I wasn't sure what you were going for is all
23:52.51krkasomething that made sense ;)
23:53.20IrielWell, mine made sense also, just different meaning
23:53.47krkanot sure how you would interpret it
23:53.52KirkburnCan I just mention that I've just found this wonderful program: http://tixu.scribe.free.fr/
23:54.12krkawe are all happy for you!
23:54.34KirkburnAm I to assume you've had a look and thus realised why I posted it?
23:54.50Irielhttp://wow.pastebin.com/534667
23:54.52krkano
23:54.59krkabut i looked now :P
23:55.06IrielThat's been around for ages
23:55.08TainI usually don't look at links unless someone gives me an idea of what it is.
23:55.29KirkburnIriel, I know, but I only just found it :)
23:55.33TainAll that extra clicking is bound to give me wrist issues.
23:55.35IrielIt's the wow cartography program
23:55.37KirkburnTain, good point
23:56.55krkai just focus really hard with my eyes on the link
23:57.36TainI am however currently extremely annoyed at how messed up the Windows registry gets when different programs register things in different ways.
23:58.18KirkburnDoes your registry need some conforting?
23:58.49TainAnd more than extremely annoyed that Adobe Acrobat installed and then specifically removed write access to the file association keys.
23:59.46TainFor the stuff it associated itself with.  Which took me quite a while to figure out since the last thing I was expecting was an installer to change permissions on my home PC.
23:59.49TainVery annoyed.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.