539 reputation
28
bio website odesk.com/users/…
location Kitwe, Zambia
age 31
visits member for 2 years, 11 months
seen 2 days ago

I'm a Canadian Ruby/Java/C developer, currently living in Kitwe, Zambia.


Dec
12
comment Why GCC does this?
@RobertHarvey: I'm not sure, I am just surmising based on what the OP says. Incidentally, I have read a book on C which recommends always specifying the desired C standard when running gcc.
Dec
12
comment Why GCC does this?
@RobertHarvey, it probably doesn't like the declaration of int i inside for (), rather than at the top of a function.
Nov
30
answered Is there an alternative to instanceof when filtering a Java stream by class?
Nov
30
comment Why aren't there code overviews for open-source projects?
Why? Because there are few projects whose maintainers want to invest the effort to write and maintain high-quality documentation, and often they may not understand the benefits either.
Nov
6
comment What drawbacks are there to condition-based scope?
The "problem" the OP describes here could be resolved much more simply if variable scope was shared across an entire method definition.
Nov
6
comment How to deal with clients that only gives you huge flow of “how to do this”, but can't say “what and why” they need?
+1. In my experience, after you "just do what they say", and it doesn't work, such clients will blame you rather than themselves. If you are really just being paid to "do what they say", the client needs to understand that you do not guarantee that anything will actually work.
Oct
10
answered How does the CPU access the values of stack-allocated variables?
Oct
9
comment Choosing a Programming Language Systematically
"This ceremony also provides a visible structure that wouldn't otherwise be readily apparent"... Wonderfully put! +1
Sep
2
answered Start reading Ruby (on Rails) code
Aug
17
comment FFmpeg: Can I replace libx264 with OpenH264 in order to go LGPL?
I believe that using a GPL-licensed program to process your videos does not mean the videos themselves must be provided to viewers under specific licensing terms. So the question disappears.
Aug
13
comment Old Browsers and Polyfills
Why don't you let the clients use their old IE when accessing their old, internal web apps, and ask that they use an up-to-date version of Chrome for your nice, new web app? Chrome is so much nicer to work with than even the newest version of IE.
Aug
2
comment Uses for System.gc() in Java
@JeroenVannevel, the answers depend completely on the details of your JVM's implementation. I don't know if this "trick" will make test results more consistent on current, popular JVMs, but I have used it with a different programming language, and it did help. In any case, I am really just trying to show that there are special, rare situations where something like this might actually make sense, depending on how your JVM handles it.
Aug
1
comment A container only assets in Rails
I think what you did is fine. Posting 4 separate answers would clutter this page up too much.
Aug
1
answered Uses for System.gc() in Java
Jul
31
answered How does a CLI-oriented programmer's workflow differ from a GUI-oriented one?
Jul
23
comment Started wrong with a project. Should I start over?
More along the same lines: teamten.com/lawrence/writings/norris-numbers.html
Jul
23
comment Using some kind of version control when working alone and with small projects?
@Rook: the point of using it with images is that if you edit an image, you can always go back to the old version if you need to.
Jul
23
comment Started wrong with a project. Should I start over?
"I did not know how to build software THE RIGHT WAY": you still don't. Nobody does. As you gain more experience, learn more tools and techniques, and discover (often by trial and error) where using each tool is appropriate, the "ceiling" of complexity and scale which you can deal with and still deliver working software will get higher and higher. But nobody's ceiling is infinity. Nobody has figured out how to build software so well that it can't be improved.
Jun
28
comment Advice on designing web application with a 40+ year lifetime
Unfortunately, using a schemaless database doesn't mean that restructuring and reorganizing data has zero cost.
May
13
awarded  Yearling