September 28th, 2003 by Adam Iser
I’ve fixed a bug in the new message view code that was killing performance. It should feel a couple thousand times faster now 🙂
I’ve fixed a bug in the new message view code that was killing performance. It should feel a couple thousand times faster now 🙂
I just realized the last three of my posts have been links to something dealing with the Adium project. (The RSS feed, CVS Stats, and this one).
I’ve added a Wiki FAQ page. It’s rudimentary right now, needs to be integrated either into the tabs or something, and needs some structure/authentication. You can get to it at http://adium.sourceforge.net/faq/. There is documentation and such at http://adium.sourceforge.net/faq/index.php/PmWiki/PmWiki
If you click the green duck, it goes to the help page.
It uses a Wiki engine from http://www.pmichaud.com/wiki/PmWiki/PmWiki.
I’d like it to authenticate againsst something, so you can track who made what changes.
On the SQL front, evands has install the SQL Logger, and capacity tried. Both ran into problems with DBD::Pg. Since DBD::Pg is only used once (to load old logs), I’m looking into another solution. Right now kind of thinking Java.
Edit: switched URL
I’ve created a fun new service plugin that makes it easy to flood Adium with tons of messages or buddy events 🙂
Just add a ‘Stress Test’ account, and in the provided message window use any of the listed commands. First send a ‘create 400’ to set yourself up some fake buddies. At this point, you can send ‘online 400’ to make all of them sign on instantly!… or try you hand at a ‘msgin 100 20 Hello!’, which will make 20 of the fake buddies send you the message ‘Hello!’ 5 times each, all at once 😀
But wait, there’s more! Evan hinted that 160 windows might be possible at once… but have you ever seen 160 Adium message windows in action?!? You’ll never forget the horrifying experience of a ‘msgin 160 160 Amazing!’ 😉
When you have that many events happening at once, it’s easy to see where the bottlenecks are. (Don’t try the 160 windows unless you’re prepared to force quit Adium :-))
Two windows? Let’s see.. I think I’ve got about 160 people on my buddy list… erm, excuse me, contact list. So one hundred and sixty windows, potentially. 🙂
I’ve been doing some small bug fix type things, trying to hunt down some of the random quits – got the biggest one, which was my own fault in the first place through the multiple window mode. Next on my list, of course, is drag & drop of the message tabs, and probably some optimizations in that department. This week has apparently been for away messages; implemented autoresponse settings for stored away messages (like the old Fake Away option in the community builds), and I’ve spent today reworking the Quick Away window interface.
I suppose I should update everyone on what I’ve been working on…
I’ve been doing some thing very arcane, very boring, and very very frustrating.
For the past week or so, I’ve been attempting to get Adium to honor the timestamp format the user set in the global prefs. This means I have to read the immense global prefs, not something you want to do every couple of seconds (which could happen), so I’ve implemented, in an NSDate addition, a method to return the timestamp the user wants, w/ or w/o seconds. It’s a pain in the arse, because I first check the modification date of the file, then if that differs, I compute the CRC checksum of the file (really speedy with an inline function and a C Macro), and if THAT differs, I read in the Global Prefs.plist file, and then do some creative parsing work on it.
It’s a huge pain in the butt, because it has to be extremely fast. Really, it’s a PITA.
So i’ve been getting quite distracted from Adium due to procrastination. Also, this week is Layout week for the School Newspaper, so I’m getting home around 7PM every day (which is pretty late).
I was working on single window mode, but that area really needs to be cleaned up a bit. Some of the common stuff should be moved in to AIUtils, and it should be a bit more abstracted. Until then, we’ll have to make do with two windows 😉
Alright, I know you’re bored of hearing me type, so I’ll end this. Another update when I feel like it 😛
New message view is up in the cvs, along with some other changes:
– Decreased the ‘hold’ time required to initiate a drag
– Improved targeting when selecting text (It should feel ‘correct’ now)
– The view now scrolls when trying cialis canadian pharmacy to select text below/above it
– Added support for double/tripple click selecting to select by word or line
– Resolved some aditional issues making the view feel non-standard
It feels pretty good right now. Still need to hookup the mad preferences and clean up a few things though 🙂
So…I only have to increase my commits by a factor of about 30 to pass Adam? Watch out Iser! Your days are numbered.
I ran across a CVS statistics (StatCVS) program today, and it generates interesting output.
I’ve got the output at http://www.visualdistortion.org/adium/stats/. It autogenerates every hour.
(In case anyone was wondering, Adam has the most commits. Hope I didn’t surprise anyone too badly.)