Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Arantor
6271
Plugins / Re: Hooking up data loading
« on September 26th, 2011, 09:06 AM »
Since when was UNION used in display?
6272
The Pub / [Archive] Re: Logo Madness
« on September 26th, 2011, 08:57 AM »
Which makes that the heart because the liver's further down IIRC.

I'm a software, not a wetware, guru :P
6273
Off-topic / Re: Post count fever
« on September 26th, 2011, 08:50 AM »
No, that easter egg was removed in Wedge. Don't know about here though :P
6274
The Pub / [Archive] Re: Logo Madness
« on September 26th, 2011, 08:49 AM »
Well, I'm no biologist, but I thought the thing behind the 'heart' was the stomach...?
6275
Development blog / Re: The saga of the Add-on Manager
« on September 26th, 2011, 08:48 AM »
That's the beauty of it, because more and more add-ons don't do file edits, add-ons just need to be enabled rather than complex chains of scary looking instructions...
6276
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 11:39 PM »
I still don't think it's about speed, it's more about not running out of memory.
6277
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 11:31 PM »
Not sure, to be honest.
6278
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 11:07 PM »
Well, the old last parameter was for stating keys; that's not needed in MySQL as far as I know if the table is set up properly, so I don't see why not off-hand.

The reason is less for pure performance and more memory: displaying 20 posts at a time is potentially heavyweight if you have to hold them all in memory at once, so they iterate that way to avoid shunting that data about in memory, and on the side, less processing effort.

What I find curious is that print-page does not do that.
6279
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 10:49 PM »
I'm tempted to say that INSERT/REPLACE should not be extended in this way but have the parameter list and rows passed to a hook instead to be manipulated (there are no raw INSERTs carried out in the source, they are all done by wesql::insert, and I'd suggest we leave it that way - it is cleaner to do that by not having add-on authors having to deal with the queries' parameterisation)


Also, prepareDisplayContext is pretty unique, everywhere else just processes rows into an array of some form. getBoardIndex is atypical, though, but it's still ultimately running a query and pulling rows into an array.
6280
Off-topic / Re: Post count fever
« on September 25th, 2011, 10:40 PM »
You know the solution to that, right? :lol:
6281
Features / Re: Template skeleton!
« on September 25th, 2011, 09:36 PM »
It might help to know what calls are placed in case there's something wrong (and also SVN rev)
6282
Off-topic / Re: Post count fever
« on September 25th, 2011, 03:53 PM »
I can find a solution for most things but not that, I'm afraid...
6283
Off-topic / Re: Post count fever
« on September 25th, 2011, 03:42 PM »
You know how to fix that, right?
6284
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 03:19 PM »
There's really no rush, I'm on my iPad now until Sunday due to family stuff, so unlikely to sit down in front of a desktop before then.
6285
Plugins / Re: Hooking up data loading
« on September 25th, 2011, 03:09 PM »
Well, it's all interrelated, so I'd love to see both, though I'm conscious that I won't be able to really try it out yet.