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

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


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
9
comment Choosing a Programming Language Systematically
"This ceremony also provides a visible structure that wouldn't otherwise be readily apparent"... Wonderfully put! +1
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.
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
4
comment Choosing name for open-source project — how to view existing trademarks/names used for other programs?
@JörgWMittag, point well taken. But naming an open-source or other personal programming project is a problem that many programmers face. Few individuals have to name cars, phones, or tissues. I feel that a good answer to this question will likely benefit many other users of this site.
Feb
1
comment Does Lisp still have any special feature which has NOT been adopted by other programming languages?
@NicolaMusatti, a "spaghetti stack" is a common implementation strategy for Scheme-like continuations (which can be called after the function which created them has returned).
Jan
26
comment How do programs generally get information from the OS?
Good point about the standard command line utilities, like ls. The OP seems to think that ls is part of the Linux core -- it's really just a program like any other program.
Jan
17
comment Why do we still use floats?
@JorgWMittag, you have a good point there. Perhaps the "non-intuitive" behavior of FP is because we write the numbers as decimals in our source code -- if we had to write them out as binary numbers with a decimal point, there would be nothing "non-intuitive" about them. I'm not seriously suggesting that would ever be a good idea, of course.
Oct
3
comment Why was Rails written in Ruby?
@BSeven, more like "Perl on Packhorses" or "Perl on Palanquins". Maybe "Perl on Paleontologists" if he was in a really strange mood.
Aug
9
comment How to implement interactive programs (like games/simulations) using logic programming?
Great! This is what I was looking for. I do feel that including operations with side effects (like write) in a "logical predicate" seems to bend the concept rather far.
Sep
23
comment What limitations does the JVM impose on tail-call optimization
Good point. But to tail-call optimize a self-recursive function, all you need is a GOTO within the same method. So this limitation doesn't rule out TCO of self-recursive methods.
Jan
26
comment Will giving new recruits a separate subproject from experienced developers help the newbies ramp up more quickly?
If that is the case, perhaps rather than aiming to double your development pace in one step, maybe you can try to "ramp up" over a period of time.