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 - nend
76
Features / Re: Disable animation on mobile devices
« on May 23rd, 2012, 04:48 PM »
The stock browser isn't that good in Android, it is pretty good but Opera is better. Wish I can have Firefox or Chrome but my CPU being a ARMv6 doesn't help.

I guess it is the mobile page you are working in. My device is spoofed as a Desktop so no problem I guess. :eheh:
77
Features / Re: Disable animation on mobile devices
« on May 23rd, 2012, 06:42 AM »
Haven't had any trouble with animations. I am running CM7 on a Samsung GTI5500 @ 600mhz with 187mb RAM and Android 2.3.7 using Opera Mobile.

My setup though is heavily modified from what you would find in a traditional 2.3.7 CM7 installation.
78
Features / Re: Aeme features.
« on May 19th, 2012, 04:48 AM »
How about playlist that work all the way.

Playlist work fine only for uploaded content. I tried making playlist for embed content and for some reason it doesn't work. I haven't tried in a while or haven't looked in the sources in that section but something there is a miss. I keep forget to bring it up, I don't know if the bug is present here though. :sob:

Getting off topic here, this may belong in the support boards at Aeva. :whistle:
79
Quote from Arantor on May 18th, 2012, 01:34 AM
The quick search defaults based on where you are - if you're in a topic, it defaults to that topic, if you're in a board - default to that board, otherwise search the whole forum.
That automatically thinking for a user might be a pain though. What if I want to search the entire forums for something while I am in the post.

I haven't done much searching here so I haven't notice the search behavior. I can see myself if I didn't know this information like "WTF, the search isn't searching right" lol.

But I was referring to the saying. :D
80
Hmm, I never heard that one. I must of never been a newbie. :niark:
81
Archived fixes / Re: Long cache keys make the cache fail.
« on May 16th, 2012, 06:24 PM »
I am keeping it though because it solves the problem with the cache keys, but no performance gain. Just disappointing that is all I can get from it.

Here is the thing, the first cache hits start out slower than the file cache system. As the cache hits keep going SQLite gets faster and faster until at the end it has surpassed the file cache system in speed.

It seems the initial connection is the hardest. My theory though is SQLite on first connection continues to load the database, sort of a read ahead and loads the database into memory while PHP is doing its work. If it hasn't got into memory yet then a file request is needed, this can explain the slow queries in the beginning. Theory though, I can't find any documentation on how SQLite loads.
82
Archived fixes / Re: Long cache keys make the cache fail.
« on May 16th, 2012, 06:07 PM »
I guess I can update on my alternative solutions, SQLite3 Cache.

After a while of tinkering and optimization, I am sort of bummed. I guess I was expecting to make a system that would surplus the file cache system, not the case though, but a alternative it is. While not surpassing the file cache it is almost equal to it, sometimes slower, sometimes faster, so equal.

I got this idea from a Word Press cache that used either the popular memory cache systems, SQLite or file cache.

I don't know what else I can do, totally bummed about the outcome of it. A simple script though so didn't waste too much time into it, but still... :(
83
Other software / Has SMF Gotten Slower?
« on May 14th, 2012, 06:33 AM »
Will I was visiting a old forum I have, a 1.1.x branch forum. This forum is packed with tons of data and modifications but for some reason it seems to be outperforming a newly installed 2.0.x branch with light modifications.

It has been a while though since I dabbed into a 1.1.x source code, but what has changed to make SMF 2.0.x slower than its predecessors? Is SMF 2.0.x database layer the source? :whistle:
84
Other software / Re: Shutdown Functions
« on May 12th, 2012, 04:04 AM »
I reported a but to php.net. I am 100% sure my code is not to blame and this is a PHP bug. Something to do with how PHP interacts with SQLite.

What a pain though, I can't continue to develop something that isn't going to be able to work in all scenarios. :heck:
85
Other software / Re: Shutdown Functions
« on May 11th, 2012, 12:30 AM »
Nothing in the error logs, :hmm:
86
Other software / Re: Shutdown Functions
« on May 10th, 2012, 11:46 PM »
None, just exits without any output.
87
Other software / Re: Shutdown Functions
« on May 10th, 2012, 11:32 PM »
It is a PHP bug, this is the first time I found a PHP bug that wasn't well known or known at all.

Test script, the output is never delivered. If you remove the sqlite db code it is displayed.
Code: [Select]
<?php
ob_start
('callbackfunc');
echo 
'test test test test test test test test test ';
function 
callbackfunc($buffer) {
$DB = new SQLite3('db');
$DB->exec('CREATE TABLE test (one int, two text);');
$DB->exec('INSERT INTO test VALUES (10, \'some text\')');
return $buffer;
}
?>
88
Other software / Re: Shutdown Functions
« on May 10th, 2012, 11:23 PM »
What is a real pain it just exits without displaying any errors or anything not even the HTML of the site.

I am going to have to run this small scale to see if it is a problem with SMF or the ob_start callback. If it is in the callback then it has to be a PHP bug, if not then it is a SMF bug.
89
Other software / Re: Shutdown Functions
« on May 10th, 2012, 11:11 PM »
More troubles, I found out there is no shutdown functions, there is ob_start('ob_sessrewrite'); in Subs.php which is called at the end to rewrite the output buffer. Function ob_sessionwrite is in QueryString.php, however trying to connect to a SQLite DB in the callback function fails, but however trying to connect to a MySql DB in this function succeeds.

This is also where Pretty Urls does the rewrite, so I am trying to get my SQLite cache to store the topic urls but cannot use a SQLite DB in the callback function.

Go figure, you can write to a file or use a MySql DB in the callback function but not a SQLite DB. Is this a PHP bug?
90
Other software / Re: Shutdown Functions
« on May 10th, 2012, 09:04 PM »
You probably explain a reason why ob_flush quit working on a script I made on my site a while back. Yeah it seems to line up when I enabled gzip compression in php.ini.

Black magic is right though, you would think they would get it work on all configs. :cool: