hstoerr

Delaware

stoerr.net

Age: 42

1d
awarded Yearling
Dec
15
revised If immutable objects are good, why do people keep creating mutable objects?
added 4 characters in body
Dec
15
awarded Famous Question
Dec
9
comment If immutable objects are good, why do people keep creating mutable objects?
@gnat Which of the previous answers makes the point that most mainstream languages do not decently support immutability? I think that point simply has not been made (I checked), but this is IMHO a quite important obstacle.
Dec
9
revised If immutable objects are good, why do people keep creating mutable objects?
added 132 characters in body
Dec
9
answered If immutable objects are good, why do people keep creating mutable objects?
Dec
6
comment Aging eyes, screen size and resolution
To set the computer to a lower resolution does reduce the quality of the image since sometimes a pixel is mapped to one and sometimes to two screen pixels. So it is probably a better idea to change the font sizes and display scaling technet.microsoft.com/en-us/magazine/ff629368.aspx . Note however that some badly written programs have trouble with that.
Dec
2
awarded Nice Question
Nov
28
comment What is a sensible prime for hashcode calculation?
@corsiKa As I said, for current desktop machines this doesn't seem to be an optimization anymore - the time is the same. Even worse: on my machine multiplying with 31 was a little slower - maybe the JVM tried to "optimize" it by calculating x << 5 - x, and this is actually slower than using the hardware multiplier.
Nov
25
comment Are ceramic heaters more efficient than convection heaters?
Arguably the ceramic heater is less efficient, since it warms up a section of the wall, which increases losses.
Nov
24
accepted After git-svn migration: migrate unmigrated branch later?
Nov
23
comment After git-svn migration: migrate unmigrated branch later?
Would that also create proper information what was already merged into the (already migrated) trunk?
Nov
21
revised After git-svn migration: migrate unmigrated branch later?
edited tags
Nov
21
asked After git-svn migration: migrate unmigrated branch later?
Nov
21
accepted Opposite of tail: all lines except the last n lines
Nov
10
awarded Notable Question
Oct
28
comment Did the US Government invent ebola to test bioweapons in Africa?
Not exactly a proof, but a sanity check: what would be a point of a biological weapon that takes months to infect a significant number of people? And you'd better have a cure, since it now threatens to affect all countries, much faster than we'd like to imagine.
Sep
30
revised Clearest way to combine two lists into a map (Java)?
speling; clarification
Sep
29
accepted How to use multiple arguments with a shebang (i.e. #!)?
Sep
24
awarded Yearling
1 2 3 4 5