160 reputation
11441
bio website sourceforge.net/projects/…
location Stockholm, Sweden
age 41
visits member for 4 years, 2 months
seen Mar 9 at 21:08

Author of my own spaceworld. Enthusiastic about computer systems for business, technical applications and the unanswered questions. Interested in special effects, computer graphics and operating systems.
I am nerdier than 99% of all people. Are you a nerd? Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


Jan
28
comment Should an Http API always return a body?
+1 for "fetch only what is needed (and not more)"
Jan
1
comment What if anything should I do if a developer died and his github account is unchanged?
@JörgWMittag I can try fix the question more about technician's working conditions around passing away. I both want to know the procedures and I'm not expected us to solve a legal dispute here. I could try and narrow the question down to just the fact the the guy is dead and not asking about the scam and hoxes he was involved with, though the scams and hoxes make me think that there are risks for the accounts being misused or being left in a way that is neither the will of the dead guy nor what should be done if he was witness or had information about scams.
Jan
1
comment What if anything should I do if a developer died and his github account is unchanged?
@BasileStarynkevitch The case is not solved. Not legal and the illegal right is being used this week. The user is not likely to have violated github's terms. He was however an accomplice in a scam / hoax of a large amount of money, threats and ugly gangster activities. Github is not likely to care about off-github activities of the user. I for one wil lmake arrangements with my attorney to delte my github account if I by accident or illnes unexpectedly die so that my attorney can protext my stuff from being misused, change licenced from non-profit to profit or similar.
Dec
10
comment Why not use the word bug instead of exception?
@ThePopMachine Because I like huge bounties for questions other people might find interesting. I'm reqrding my "popular" questions and answer as much a I can. I've had much help from the good and fun questions and answers. I'm also preparing a new question about error handling and error codes for this programmers..that is not specific how to write code but how to handle errors in a limited and hopefully standardized way for exmple for webapps that can return a limited number of error codes, how deafults are good and naming of code parts.
Sep
27
comment Are long compiles a thing of the past?
A recent large project took me 40 minutes to compile (40 000 source code files compiling with Maven). The workaround is to paralliize the compilation on many CPU cores.
Mar
30
comment Algorithm for base-conversion in C?
Thanks. I updated my question with a function that seems good.
Feb
24
comment How to write camel case for words like “phonenumber”, “motorcycle”, “wavelength”, etc
But phoneNumber looks as wrong as passWord and setUp. Shouldn't it be phonenumber since its a word of its own and not a concatenation like motorcycleColor" or phoneColor` ?
Feb
22
comment How to encapsulate method parameters in Java?
I want to know what is a good Java ADT for a parameter list. If I first have updateMethod(String s1, String s2) and then need one more parameter for a third parameter updateMethod(String s1, String s2, String s3) then its like a varargs and with all strings that would be Map<String, String> or Map<K, V> for any types. So I wonder if I can have just an updateMethod(Map<K, V> map> for any number of parameters of any types.
Oct
13
comment Why does the instruction “do” require a “while”?
What we're trying to program in an instuction that does do foreverand I think that could be just do { ... } but that is mostly not allowed.
Sep
3
comment Why would one transform a checked exception to an unchecked exception?
@Kemoda I knew I didn't know. Now I must know why not.
Sep
3
comment What is the one or the few major changes from Java 6 to Java 7, couldn't JBoss do that already with Java 5?
Thank you. That looks very good.
Aug
25
comment Is Perl outdated for CGI and FCGI?
@ott-- That was interesting, can you elaborate? My colleague next door was a 100 % Cobol programmer. I like C, Java is too large.
Aug
24
comment Is Perl outdated for CGI and FCGI?
@StevenBurnap My Government still codes in COBOL, yes.
Jul
22
comment Can we illustrate a CPU pipeline with a UML sequence diagram?
@RobertHarvey Ok...But it's still not strictly UMl and I'd like to be clear about what's data and what's time. In this illustration data is just flowing back and forth and propagating, there is no easy way to follow time like an UML sequence diagram has.
May
1
comment Did I answer this correctly and concisely?
@Mat Thank you for the comment. I understand what you say and I'd like to add that these very broad generalizations might actually be good prep for typical interview question from large companies when they hire programmers the companies might very well ask the candidate check questions that are just like comparing two languages e.g. "What is the difference how dynamic memory is allocated in C and C++" is an interview question that I've verified that other programmers were also asked.
Mar
7
comment Is there a constant for “end of time”?
@JimG.I updated the question with an example I just saw. A blogger wants to write a welcome page.
Feb
4
comment What's a good way to explain the need for pointing to a pointer?
@Brian I agree that the example you put in is very good since it's common. It's one I've seen.
Dec
10
comment How many bits' address is required for a computer with n bytes of memory?
Nice answer, many thanks.
Dec
10
comment How many bits' address is required for a computer with n bytes of memory?
OK so for 512 Mbyte RAM the equation is 512*1024²=2^x(?) Thanks a lot for the prompt answer.
Dec
3
comment How is a switch statement better than a series of if statements?
But don't you think that a decent compiler can and should perform this optimization since a) switch statements are more difficult to read than if..else and b) the syntax for switch statements is difficult to remember.