146 reputation
4
bio website star-hope.org
location United States
age 36
visits member for 2 years, 10 months
seen Sep 4 at 16:19

Videogame and simulations programmer.

Lisper, JAPH, and MOS-65xx hacker, among other things.


Feb
6
comment How to shorten the case statement from hades?
Do these methods rely on a lot of local lexical state, or could you generalize them to a common interface?
Jan
28
comment Is it a bad idea to return different data types from a single function in a dynamically typed language?
Not mentioned, but there are many examples (even in Java Generics) of functions that take a return-type as a parameter; e.g. in Common Lisp we have (coerce var 'string) yields a string or (concatenate 'string this that the-other-thing) likewise. I've written things like ThingLoader.getThingById (Class<extends FindableThing> klass, long id) as well. And, there, I might only return something that subclasses what you asked for: loader.getThingById (SubclassA.class, 14) might return a SubclassB that extends SubclassA ...
Jun
11
comment Should I use parentheses in logical statements even where not necessary?
… not to mention the difference in C++ and Perl between && || and "and" "or" …
Oct
18
comment Is distributing patches in compliance with the GPL?
every GNU/Linux distribution generally provides a mirror network to obtain sources, at least some of which are their own, even for things where the upstream clearly does so. EG: I can download Fedora's .src.rpm for Firefox via "yum"... similarly for Debian/Ubuntu, ...
Oct
18
comment Incorporating GPL Code in my Open Source Project
the GPL (and even most BSD licenses) just say you have to both give credit, and take blame, if you will; if you just tweaked a few lines or added a certain feature, I'd suggest "Copyright 1974-2011 John Doe, Copyright 2012 Rutherford" and explain which bit(s) you've altered briefly. If it turns into more of a total rewrite or port, I usually put something like, "may contain code from..." or "based upon code from..." in a comment. I tend to think of it as the difference between attribution and plagiary.
Oct
17
answered Incorporating GPL Code in my Open Source Project
Dec
28
awarded  Student
Dec
28
comment How to trim emails for just the body, when using email as input to an external system?
The "-- " is used because eMail software usually discards trailing spaces, so it should only occur as a .sig delimiter. As with HTML and MIME in general, YMMV, but I haven't run across accidental occurences of this in practice. Among other things, Evolution and Gmail do the "-- " parsing.
Dec
28
answered What is an effective way to convert a shared memory-mapped system to another data access model?
Dec
22
awarded  Teacher
Dec
22
comment Form screenshot for legal proof of clicking one of the checkboxes?
iPhone: Hold down the LOCK button for a few seconds. Android: Rootkit the phone and pray. (I get the point you were making, just sayin'…)
Dec
22
answered Form screenshot for legal proof of clicking one of the checkboxes?
Dec
14
comment How can I find own replacement when the company wants someone far less experienced?
After all, what are they going to do, fire you? :-)
Dec
8
comment Alternatives to Professional Version Control
I have a tendency to present these "adjustments" to management in the form of the budget for their proposed changes. "Sure, we can avoid their using (git,…). We'll need to hire a secretary to do it for them. Sign here and I'll start interviews on Monday."
Dec
8
awarded  Supporter
Nov
29
awarded  Autobiographer