Investigating both of these. Thanks V :)
Logan Black
Posts
-
Suggestions for Free Open-Source bug tracking tools -
Suggestions for Free Open-Source bug tracking toolsHi Dave, Very useful link, than you very much for your help! Logan
-
Suggestions for Free Open-Source bug tracking toolsHi Guys, NOTE: I am aware there is a free tools discussion area, but that forum has the heart beat of an egyptian mummy... Currently I use JIRA and Confluence, which are Atlassian products, and they are fantastic, but i am looking for an open source, clean and pretty UI alternative that provides tracking and gant style overviews. I have used musopen.com for many years for free, public domain performances of classical music, mostly for remixing etc, but a lot for listening also. The creator of that website has developed a web based, free and open-source bug tracking and project management tool, called bugkick.com which they have used only for themselves up until now. They intend to release it for free as open source. It is currently HERE[^] on Kickstarter.com, and only has a short video of the UI, but it gives a general impression of the ease of use a bug tracking interface can have. This is not a call for funds for the project (unless of course you are interested in the project), as I do not know the guys through any personal degree of separation, but instead I am looking for opinions on this and other web-based open-source free bug trackers like this that provide similar UI and gant chart abilities Cheers for any help you can afford me, Logan --Apologies for any problems posting this in the Lounge..
-
Open Source Free Bug Tracking UI'sHi Guys, At the moment I use JIRA and Confluence, which are Atlassian products, and they are fantastic, but i am looking for an open source, clean and pretty UI alternative that provides tracking and gant style overviews, that I can potentially further develop to plug in to JIRA, most likely to take JIRA data and output into the bug tracker for a nice UI for clients and my managers. I have used musopen.com for many years for free, public domain performances of classical music, mostly for remixing etc, but a lot for listening also. The creator of that website has, with his crew, developed a web based, free and open-source bug tracking and project management tool, called BugKick - bugkick.com - which they have used only for themselves, up until now. They intend to release it for free as open source. It is currently HERE[^] on Kickstarter.com, and only has a short video of the UI, but it gives a general impression of the ease of use a bug tracking interface can have. This is not a call for funds for the project (unless of course you are interested in the project), as I do not know the guys through any degree of separation, but instead I am looking for opinions on this and other web-based open-source free bug trackers like this that provide similar UI and gant chart abilities. Cheers for any help you can afford me, Logan
-
How to debug PHP Memory LeakOk, I have added to it and resolved the problem. The problem was two fold. 1 - I wasn't using ob_flush() inside the while loop. I added that in and it appeared to free up a lot of memory, enabling larger downloads, but not unlimited. For example, with memory_limit = 128M i could now download more than 40mb, in fact i could now get up to around 200mb. But this is where it failed again. First memory issue problem solved though. LESSON 1: Flush your objects! 2 - I was using mysql_query to retrieve the results for my SQL Query. The problem is that it buffers these results, and this was adding to my memory limit issue. I ended up using mysql_unbuffered_query instead and this now works flawlessly. This does however come with some limitations, that it locks your table while reading results. LESSON 2: Don't buffer mysql results if not required! (within programmatic limitations) FINAL LESSON: All of these fixes work, however, it requires some more testing to ensure that there is no problems with the combination of them. Also, I have learned a lot more about objects and php memory allocation, I just wish there was a way to visually debug the process a little better than what xdebug offers. If anyone has any ideas on how xdebug could have actually shed some light on this process, please let me know in the comments. Hope this helps someone else out in the future.
-
How to debug PHP Memory LeakI have partially solved this problem. I was told on another forum to add ob_flush(); to the While loop where I am echoing out my file nodes. This appears to work in part; it allows me to download a 140mb file with only 128M memory_limit directive set in php.ini However, when I attempt to download a 250mb file the error is thrown again:
[31-Oct-2011 11:46:01] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 132392961 bytes) in /root/htdocs/file_manager/file_manager_download.php on line 125
[31-Oct-2011 11:46:01] PHP Stack trace:
[31-Oct-2011 11:46:01] PHP 1. {main}() /root/htdocs/file_manager/file_manager_download.php:0
[31-Oct-2011 11:46:01] PHP 2. ob_flush() /root/htdocs/file_manager/file_manager_download.php:125As you can see, it is getting within 2mb of the limit and then failing, and I can actually see it streaming the file to the browser, it gets to about 200mb of the 250mb file, and fails. The while loop looks like:
while ($row_GetFileDataBlobs = mysql_fetch_array($result_GetFileDataBlobs)) {
echo $row_GetFileDataBlobs["FileData"];
ob_flush();
}so it appears to be working better than before, but that REALLY large files dont work. The question is then, do I need to increase my memory_limit directive, or should it be streaming effectively with the limit of 128M but I still have a problem with my code and the way it is, or is not, trashing the memory it doesn't need. Cheers Mick
-
How to debug PHP Memory LeakHi guys, using MAMP v2.0 on Mac ____ Apache/2.0.64 (Unix) -- PHP/5.3.5 -- DAV/2 mod_ssl/2.0.64 -- OpenSSL/0.9.7l -- MySQL 5.5.9 I have a script I am trying to run and It appears to be giving me major memory leaks, which I have attempted to debug and cannot work out how to fix. Basically, the script is part of a file manager module. It processes the download of a file when given an ID. The entire file is stored in a database table, as a BLOB, in 64kb chunks (per record), and is streamed down to the client on request.
Database: file_management
Tables: file_details, file_data
file_details:
FileID - int(10) AUTO_INCREMENT
FileTypeID - int(10)
FileType - varchar(60)
FileName - varchar(255)
FileDescription - varchar(255)
FileSize - bigint(20)
FileUploadDate - datetime
FileUploadBy - int(5)file_details:
FileDataID - int(10) AUTO_INCREMENT
FileID - int(10)
FileData - BLOBThe error I am actually getting is this one (from php error log): [31-Oct-2011 09:47:39] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 63326173 bytes) in /root/htdocs/file_manager/file_manager_download.php on line 150 Now, the actual function of downloading works if the file is small enough, in this case, less than 40mb, however once it goes over that, like the 60mb file in the error above, it fails. All it does is download a 0kb file. Obviously, 134217728 bytes is more than 63326173 bytes (128mb vs 60mb). the Allowed memory size of 134217728 bytes is the directive in php.ini: "memory_limit = 128M ; Maximum amount of memory a script may consume" If I set this to 256M, it allows me to download that 60mb file, as well as up to about an 80mb file. Also, if I set this to 1024M it allows me to download a 260mb file and possibly bigger. So you can see that the problem is a leak somewhere in the script that is eating up all the memory. Here is the download script:
-
Relating to my earlier post...Man I love that movie - best ever! It's not right that inanimate objects should cause so much frustration and grief. That's why I feel sorry for all the people in my organisation using the system I developed for them! :laugh: ahaha take that corporate accounts!
-
Funny looks in ShanghaiMycroft Holmes wrote:
when the reality check kicks in you have my sympathy.
when the green card clears, i'll have my freedom once more.
-
Just seen a couple of really bright meteorssomething something something Triffids...
-
Funny looks in ShanghaiPlease don't break this stereotype... it is my only hope for long term happiness! Korean/Japanese/Chinese/Malaysian/Thai women LOOOVE the fat, white, balding men in track pants. It is a known fact! I don't know if it is the junk in our trunks, or that they think we are all executives of major corporations, but it works! Sooo hot, want to touch the Yoko, AARROOOOO!!!
-
Walk a Mile in my Shoes@streamcap That's a really good question, and as far as I am concerned, this behaviour is directly related to what I like to refer to as "Residual Attitude Syndrome" (I just made that up). I have seen it in every workplace, in every role I have ever held, and it is the neck-breaker of many businesses; you can have a successful product and a heavily desired service, but when staff have the incorrect attitude to their work or co-workers, the entire thing can fall apart instantly. For example: Jenny, Jane and Julia are all employees at XYZ Pty Ltd. They all work in the same department, and have just welcomed a new staff member, Jessica. Jessica doesn't really know how to perform in her new role, so she watches the three girls and learns quickly, VERY QUICKLY! She learns that it is ok to take that extra ciggy break when the boss is not on site. She learns that it is expected that she joins in on the bitching sessions, lest she becomes the one bitched about. She learns that it's normal to just do as much as she needs to get by, and that leaving at 5pm, no matter the workload, is the way it works here. This situation can be scary, because if you repremand one person in the group, you risk alienating your staff from your managers even further, you risk isolating individual staff members from each other and you can watch as they tear each other apart passive agressively. All of this is extreme compared to your situation, but the fundamental solution is the same. You need to transform the attitude of your workplace to one of a respectful and harmonius nature. This doesn't mean painting the walls green and aligning furniture from north to south. No feng sheui needed! It is about these simple rules: 1. DO NOT EVER act condescending, or disrespectful to your co-workers, even if you are responding to the same behaviour from them. Reacting is NOT the way to move forward. Targeting someone will NOT fix the problem, it will drive you further from them. If you have to repremand someone for their behaviour or attitude, do it on the sly, away from others, and explain to them that this is not an attack on them alone. 2. Life feeds on life, as attitude feeds on attitude. This means that if the majority of the office is happy, the rest will soak this up. Attitude is completely contagious. 3. Don't be afraid to sever the troubled workers, even if it is your most important worker. If you have to fire the main instigator of negative behaviour, then DO IT! Just make sure they don't have an opportuni
-
Why big Corporate/Enterprise IT departments Really SuckAnd possibly for a good reason[^]. I don't think your model is affected[^], however. In any case, go with the industry standard[^], and impress all your friends/co-workers/Japanese-girlfriends. [edit: blah]
-
Why big Corporate/Enterprise IT departments Really Suck[^] BYO components. That's basically our IT departments policy. [edit: bad link]
-
"Bad"If you look at his CV[^] you will notice that, just below where it says "Personal Information's", and just above where he has written "My hoppy are reading, investigating, searching and team leading." you will find that he has graded himself as English Language: Reading, Writing, Speaking, Listening - All Excellent. So, having contradicted himself on the first few pages of his own CV, it is clear to me that his opinion, given for anything ever, is nullified by his obvious lack of intelligence, and his overwhelming idiocy. LB
-
What are the intractable problems in software? [modified]That is a really interesting question, one which I ponder often. I already feel that using a mouse and keyboard is so incredibly outdated and redundant. It's the same with coding. I constantly think of how developing software will change over time; say 20 years from now, we will have entirely new and different methods of programming and coding. The idea of an intuitive programming language framework that can be applied in a straight forward and bug free way is really appealing, so much so that sometimes I feel stupid that I am still actually typing out code. Imagine just being able to TALK to the computer and tell it what you want it to perform, or more importantly what you DON'T want it to do. Imagine the computer being able to not only interpret your instructions, but make suggestions or corrections based on its previous producitons. Imagine a framework that can learn from mistakes and bugs that have been made in previous releases, not just from your work, but from other peoples works around the world. Imagine a pool of code and resources that arent available for YOU to browse and download, but are there for the FRAMEWORK itself to extract and use, and possibly alter or update, depending on it's requirements. Imagine calling this framework HAL... ;P We all know the elements of a good development cycle, but unless we are completely anal, we probably don't follow it to the letter. I'm sure most of us realise the importance of relaying a bug in code to the correct channels and following the right procedures, but on a Friday afternoon taking the 5 mins to fix the bug is a lot more appealing that taking 15 mins to fill out the appropriate forms. My point is that even the best of us can have an off day, or get bored with what we are doing, and as long as we are human, we can stray from the path of 'perfect programming'. The intrinsic problem with programs is the PEOPLE THAT PROGRAM THEM. As long as humans are designing and developing software there will always be intractable problems with the product. Obviously if you had some intelligent system developing the programs for you, someone would have had to program the intelligent system in the first place, leaving anything it creates open to issues from the get go. The more complex a system becomes, the higher the chances of something bad happening. x+y=z is a simple formula. Put a string in there and something goes wrong, but it's much easier to identify the problem. Complicate the formula and there are more and
-
I saw this and titteredThis was one of the suggested videos to watch. Don't mess with my Kung-Fu Monkey!!![^]
-
You know you're having a bad day when...When we set up our custom error pages we made every single error code (404, 403, etc) the same thing, i think it was 404, to stop script kiddies and others from finding any information about the site. Obviously we have error logs to tell us the real errors, but as far as the outside world is concerned, its all just a missing page! Anyone with brains could get past this though..
-
You know you're having a bad day when...:laugh: :laugh: :laugh: that's hillarious!
-
Time to Fire the Customer?We 'fire' several customers a year, even if they are a larger customer. We tag them as 'Do Not Call' or 'Avoid' so that our employees can identify them and act accordingly. We have absolutely no problem telling our customers to PISS OFF if they have been rude or aggressive to ANY of our employees. We do not want to deal with them in any way ever again, and they become the ones left out in the cold. You should see them come crawling back, but it's often too late! ahahaaa!! It is a zero tolerance policy as far as arrogant and beligerant customers are concerned, with NO thought to loss of income for the company; we are a family (100+ employees) and it is absolutely necessary to keep this as our policy. As for your customer, it appears as though they don't deserve to be fired, really. I am assuming because they are running WinME that they are not a terribly large business, and have not had the resources to upgrade to something better. I would be a bit more understanding to their plight. Maybe you could offer them some sort of solution as far as an upgrade is concerned. If they cannot upgrade, the only thing to do is refuse support, unless they are prepared to sign a different and more costly support agreement, which, if you do not want to honour regardless, you could raise the price through the roof. :-\ Poor bastards! lol