Category: Software development

Reading Time: 2 minutes I am starting a series of “Sustainable software development” blog posts. Like many series I did in the past, it could be a series of one and only, or it could be a true fall classic (WS series). Back to the topic, I have been doing software development for almost 15 years, been through many

May 2, 2015

Reading Time: < 1 minute A collection, I will add my comments later. Symptom: PermGen run out of space Memory leak Overview (Mark Thomas) Memory leak happened in multiple deployment (more likely happens in development) Tomcat 7 (Mark Thomas) quote… Application or library code that can trigger this situation include: JDBC driver registration Some logging frameworks Storing

April 4, 2015

Reading Time: 2 minutes I have been doing programming for over 14+ years, and from time to time I did pair programming (mostly debugging problem). Since early last year I have been doing more pairing, mostly due to the hints from above. I have mixed feeling on this, mostly along the lines of advantages of disadvantages talked about here

February 7, 2015

Reading Time: 2 minutes I did an experiment recently trying to move my wordpress website from a shared hosting site to Amazon aws ec2 micro instance (t1). The migration was mostly successful, I did not make the move eventually due to some technical and non-technical reasons. Nonetheless, I would like to share some of the lesson I learned from

November 29, 2014

Reading Time: 2 minutes We all know updating sqlite database on an existing iOS app could be tricky, esp. with any schema (table) changes. In the good old days when I was developing in-house app, I found out the app would crash when I added a column to the sqlite database, after merely updating the app. The problem was,

July 7, 2014

Reading Time: 2 minutes I have thought about this topic for a long time. I remember seeing at one place that an exceptional developer can do work usually done by 10 developers. Or in other words, he/she is a rockstar developer. Besides productivity, I think rockstar developer has the following traits: 1) Willing to share the knowledge with fellow

June 19, 2014

Reading Time: 2 minutes This is a continuation of my earlier post of Tree, recursive function and my dumb mistake. As I said in my last post, my solution was to create hash maps (singleton) to store those for the session. The main motivation was to help out the performance. But I found out it backfired on me, a

May 28, 2014

Reading Time: 3 minutes Or am I? 🙂 I think I’m a pragmatic programmer. Note this is also a book title I read, by pragmatic (note not agile), I think it’s about balance between software quality, effort and delivery date. It’s also about releasing software with known risks (including bugs) 🙁 I thought about this as I started practicing

May 8, 2014

Reading Time: < 1 minute So I was able to fix that performance problem I mentioned in my previous post. But I inadvertently introduced a new problem in my previous fix. And here is the gist of how I did: while (some condition) { if(some other condition) { … return; } } Guess what, I was able to put it

April 28, 2014

Reading Time: < 1 minute Tree data structure is fairly common in software development, and luckily I have quite a bit experience working on those in my career. I started working on this as I was working for UGS/Siemens PLM Software, and I was involved in the development of XML based data adapter for CAD data exchange, a key piece

April 26, 2014
Follow Us
Google Ads
Recent Comments
Recent Posts