IRC log for #arl on 20090812

00:00.41*** join/#arl Repo (n=supybot@repos.curseforge.net)
00:00.41*** mode/#arl [+v Repo] by ChanServ
00:49.45*** join/#arl nicoli_s (n=nsinkule@69.73.16.202)
00:50.36*** join/#arl Repo (n=supybot@repos.curseforge.net)
00:50.36*** mode/#arl [+v Repo] by ChanServ
01:05.35*** join/#arl Repo (n=supybot@repos.curseforge.net)
01:05.35*** mode/#arl [+v Repo] by ChanServ
01:10.26*** join/#arl ckknight__ (n=ckknight@c-68-62-175-169.hsd1.al.comcast.net)
03:29.17*** join/#arl Torhal (n=callahan@74-132-207-20.dhcp.insightbb.com)
03:29.17*** mode/#arl [+o Torhal] by ChanServ
04:30.19*** mode/#arl [+o Ackis] by ChanServ
04:30.29*** topic/#arl by ChanServ -> 3.2 Version released to major sites. | Database being updated and minor bugs being squashed for 1.0 release | ARL Stats! Claim you commits: http://tinyurl.com/kpnzk2 | WoWInsider review: http://bit.ly/HwKXO | http://ackis.myminicity.com/env | http://ackis.envony.com
05:22.04*** join/#arl Speeddymon (n=chatzill@209.33.85.62)
09:35.22*** join/#arl Torhal (n=callahan@74-132-207-20.dhcp.insightbb.com)
09:35.22*** mode/#arl [+o Torhal] by ChanServ
09:39.37ZhinjioTorhal: ping
09:44.57TorhalZhinjio: pong
09:45.21Zhinjioquick question for you if you have a moment?
09:45.29TorhalIf I'm awake enough to formulate an answer :)
09:45.39Zhinjioheheheee
09:46.03ZhinjioI'm thinking about the addons I have that have multiple tooltips
09:46.06Zhinjiowhich is to say
09:46.11Zhinjiomultiple things to display
09:46.16Zhinjioalthough only one at a time
09:46.22TorhalOk
09:46.42Zhinjiolets assume for the moment (again) that setautohidedelay to something
09:46.49Zhinjioand that releases will happen automatically
09:46.59Zhinjioupon hiding
09:47.02TorhalAye
09:47.06Zhinjiook
09:47.15Zhinjioso given all that
09:48.15Zhinjiois there new thinking on which is a better method... a) maintaining 2 (or more) separate tooltips that just get hidden/showed when flipping through (not allowing release??) ? or b) letting everything rebuild every time
09:49.03TorhalI don't understand what you mean by "rebuild".
09:49.30Zhinjiowell, do all the funky setcell's on demand every time.
09:49.35Zhinjioespecially if the content is static
09:49.59TorhalMemory-wise, releasing is the way to go. If you're worried about CPU usage re-drawing the whole thing, I gotta wonder what kind of freaky tooltips you're using that building them is an issue.
09:50.11Zhinjiohehehee
09:50.12Zhinjioyeah
09:51.08Zhinjiook
09:51.21Zhinjioso then...
09:51.29Zhinjioif (like say, in Broker_extractor)
09:51.42ZhinjioI want to redraw the tooltip with new contents on a clickl
09:51.49Zhinjiowhat is the best method to do so?
09:51.54ZhinjioI mean, based on that thinking
09:52.03ZhinjioI want to release, re-acquire, redraw, and show
09:52.22TorhalOn a click where?
09:52.33Zhinjioon the LDB icon, most likely
09:52.37TorhalOk
09:52.41Zhinjiowell, in my case(s) so far
09:52.46ZhinjioI have two that do that
09:54.02TorhalI don't see the need to release and re-acquire when you already have a tooltip being displayed, and hiding is probably unnecessary since - unless you're doing freaky stuff - the tooltip will be rendered before the user actually sees it cleared.
09:54.43TorhalHell, with Revelation, I do a bunch of shit and the only indication the user has that the tradeskill window was even open is the sound.
09:54.54Zhinjionods.
09:55.15Torhal...uh...
09:55.19ZhinjioI guess to me the "hide/show" is more just.... being through
09:55.21Zhinjiothorough
09:55.21Torhal"Basically my idea is this: A small, lightweight addon that announces that you are dead."
09:55.27Torhal...
09:55.28Torhal..
09:55.30Torhal..
09:55.34Zhinjiohahahaha
09:55.50Torhal:)
09:56.04Zhinjiogah, I need to be in bed.
09:56.07Zhinjiowtf am I doing up
09:56.43Zhinjioextractor works fine. I'll probably just do whatever I did there in bgc.
09:56.46Zhinjiothanks.
09:56.55ZhinjioI'm gonna head to bed
09:57.08TorhalG'night, man :)
09:57.13TorhalBGC?
09:57.15Zhinjiopeace.
09:57.26ZhinjioBetterGuildControl
09:57.31TorhalAaaah, nice
09:57.32Zhinjiomisc project that never erally took off
09:57.41Zhinjiobut I don't like leaving things hanging
09:57.50Zhinjioso I'll put some more work into it
09:57.59Zhinjioanyway, g'night
09:58.09TorhalSeecha :)
13:00.19*** join/#arl robotusch (n=robotusc@50A2D989.flatrate.dk)
14:18.12*** join/#arl nicoli_s (n=nsinkule@69.73.16.202)
14:41.34*** join/#arl ckknight (n=ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight)
18:18.55*** join/#arl pompy (n=Mike@c-68-38-45-3.hsd1.nj.comcast.net)
18:18.55*** mode/#arl [+o pompy] by ChanServ
18:25.04Zhinjiowhy does lua scoping pain me so
18:25.07Zhinjiocries.
19:14.24*** join/#arl pompy1 (n=Mike@c-68-38-45-3.hsd1.nj.comcast.net)
19:39.11TorhalZhinjio: It shouldn't. The only thing that pains me about it, in WoW, is that there's no #include mechanism so you have to go global.
19:45.14pompy1in lua..no... in wow (c++) yeah ;) lol.
19:50.10Torhalpompy1: ?
19:53.25pompy1oh nothing
19:53.26pompy1lol
19:54.54Torhalpompy1: Put. The. Crack. Pipe. Down.
20:06.50ZhinjioTorhal: well, it does. I end up having to rethink *every time I do it* about when things get defined, when my db values are available, when I can create my frames vs. reference, etc.
20:06.59Zhinjioits mostly me being thick-header
20:07.02Zhinjioheaded
20:07.23Zhinjiobut the way its implemented is just painful and unintuitive to me
20:07.24TorhalZhinjio: You've done cross-object coding in MUSH, aye?
20:07.25Zhinjio*shrugs*
20:07.36Zhinjioyes, of course. as well as a dozen other languages.
20:07.52TorhalFucking Vicodin. Analogy just eluded me.
20:08.07nicoli_sill trade you some analogies for some vicodin
20:08.12Torhalnicoli_s: Haha
20:08.24TorhalZhinjio: Anywho: What, specifically, is giving you headaches?
20:08.25Zhinjiomaybe I just don't remember where all my scoping is defined well enough to just feel it out intuitively
20:08.31Zhinjionah, its all good now.
20:08.39Zhinjioits just a matter of sequencing everything in the right order
20:08.46Zhinjioand I need to remember the right order every time.
20:08.54TorhalScoping is just like in C/C++ except that everything is global by default.
20:09.03Zhinjioso let me give you an example
20:09.10TorhalAnd do blocks are un-named namespaces.
20:09.14Zhinjiolets say I have ... oh... 3 files
20:09.27Zhinjioone that is going to create my frames
20:09.32TorhalOk.
20:09.46Zhinjioone that is going to define oft used global functions
20:09.48Zhinjioand the main addon.lua
20:10.08TorhalThe interface between the three must be in the global scope for interoperability.
20:10.19Zhinjiopatience, Daniel-san.
20:10.32Zhinjiolemme finish
20:10.35TorhalOk - you type, I'll fix my nicotine craving.
20:11.00Zhinjioso first, I need to define the addon itself ... nothign goes anywhere without the NewAddon call to get things fired up
20:11.07Zhinjioso whatever file is laoded first in the toc needs to do that
20:11.13Zhinjiothe rest can just GetAddon
20:11.39Zhinjiothats nuance #1 .... the interaction between the ordering of files in the TOC (load order) and where things are defined vs. referenced.
20:11.44Zhinjioalright, next
20:12.04ZhinjioI need to remember that until OnInit and OnEnable are called, I don't even *HAVE* a reference to my addon.db stuff
20:12.23Zhinjioso for example, if I want to define a procedure in Function.lua file
20:12.35Zhinjioit has to be absolutely sure to either a) not use any references to addon.db at all
20:12.52ZhinjioOR, I need to make sure that ANY call to those functions happens AFTER oninit
20:12.55Zhinjiooninit/onenable
20:13.00Zhinjioso... as an example
20:13.17Zhinjiomy CreateFrames call is gonna happen in oninit (also before I have access to my db
20:13.34Zhinjioso my createframes can't actually SET any values in the GUI, its just going to create objects
20:13.49Zhinjioa subsequent call to UpdateFrames will make sure all values in the frames match my db values
20:13.54Zhinjioand won't happen until AFTER OnEnable
20:13.58Zhinjioetc etc etc etc
20:14.04Zhinjioall this shit is just a fucking hassle
20:14.13Zhinjioits not LUA scoping, per se
20:14.38Zhinjioits the way everything loads, and the ordering, and being very careful about what is and is not yet defined when you call procedures.
20:14.49Zhinjioblah blah blah bitch qvetch.
20:14.59TorhalThat's all WoW semantics, which I agree sucks.
20:15.04Zhinjionods.
20:15.08Zhinjioso I mispoke.
20:15.18Zhinjioits not lua, its the way wow handles all the load ordering blah
20:15.20TorhalOtherwise, ordering and scoping is similar to any other language.
20:15.26Zhinjionods.
20:15.43TorhalAnd WoW keeps fucking changing the shit.
20:15.57Zhinjioyup
20:16.04TorhalI have to re-write shit that worked fine with OnInitialize to use OnEnable since 3.2
20:16.12Zhinjioexactly
20:16.50Zhinjiook, another question.
20:16.51Zhinjioum
20:17.06Zhinjioso in nearly all my addons, I sort of "disable" control over ace3 profiles
20:17.18Zhinjioand just force the player to use db.factionrealm["playername"]
20:17.29Zhinjioits a bit restrictive
20:17.31ZhinjioI admit
20:17.38Zhinjiobecause you can't do all the nifty copying and such
20:17.40Zhinjiosharing profiles
20:17.43Zhinjioshrugs.
20:17.45Zhinjioanyway
20:17.55Zhinjiothis addon, however, I need something very specific
20:18.12ZhinjioI want settings to be shared across all toons that are IN THE SAME GUILD
20:18.33Zhinjiois that even possible, or do I just need to open up full ace3 profiling, and trust them to not be jackasses?
20:18.40Zhinjiooooo.
20:18.44ZhinjioI just got an idea.
20:18.51TorhalEasy. Use factionrealm { guild = { data here } }
20:18.56Zhinjiodb.factionrealm["GUILDNAME"]
20:19.00TorhalAye
20:19.04Zhinjiohmmmm
20:19.11Zhinjiowhat an excellent idea.
20:19.18Zhinjiothinks about potential downsides.
20:19.33Zhinjioah
20:19.43Zhinjiojoining/leaving guilds is gonna make that a pain in the ass.
20:19.51Zhinjiohowever, the addon should disable if you gquit
20:19.53Zhinjiohmm
20:20.07Zhinjiointeresting.
20:27.27Torhal:D
20:27.43TorhalYou could keep track of it with a current_guild variable
20:28.11TorhalAnd if there's a gquit, do: db.factionrealm[current_guild] = nil
20:30.15Zhinjioyeah
20:30.23Zhinjiowell, I don't want to delete the daat
20:30.24Zhinjiodata
20:30.33Zhinjios/he may have other toons still in that guild.
20:31.01Zhinjioand if I join a new guild, I need to... yeah, this is doable.

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.