Reputation
1,165
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
8 13
Newest
 Yearling
Impact
~56k people reached

  • 0 posts edited
  • 0 helpful flags
  • 345 votes cast
Feb
3
comment Company PC refresh, laptop or desktop?
@Carra: And I've been to meetings where having a laptop was the only reason it wasn't a complete waste of two hours.
Jan
26
comment When to use C over C++, and C++ over C?
@Mankarse: Since my experience in 2007 when I tried running a Linux system with 1 GB RAM and no swap, almost all desktop software fails in horrible awful ways when memory allocation fails anyway.
Jan
25
comment When to use C over C++, and C++ over C?
@DeadMG: You do have to know STL (rather, C++ Standard) implementation in some cases. Such as when debugging a multithreaded crash caused by std::string reference counting in earlier versions of GCC. These kinds of things would be very important in an OS kernel.
Jan
25
comment When to use C over C++, and C++ over C?
@Mankarse: If you compile with the options to disable exceptions, allocators either abort the program or merrily proceed to use a null pointer, depending on the library implementation.
Jan
24
comment What's the benefit of avoiding the use of a debugger?
@ZJR: Which is why assert is so great. Check your assumptions. Check them often.
Dec
5
comment Do computer glasses work?
@Lohoris: Production vs. reflection only matters for color reproduction. The total amount of light coming off the paper or an LCD screen can be the same amount. What then is the difference? There is no difference.
Dec
5
comment Do computer glasses work?
@Lohoris: Turning down the brightness is not a workaround, it is the correct way to set the monitor. Paper is bright too. The trick is that paper is always less bright than the surrounding room light.
Dec
2
answered Multithreaded file copy
Nov
29
comment Do computer glasses work?
@Lohoris: White backgrounds are bad only when combined with excessive brightness. Sadly, most people have their LCD set far too bright. I run my laptop screen at only 20% while indoors and my desktop monitor at 15%.
Oct
19
comment Is object pooling a deprecated technique?
And I would add that it is a good idea to avoid GC whenever the objects are long-lived enough that they've moved into the older generation.
Oct
11
awarded  Yearling
Oct
10
comment Is garbage collection necessary?
Of course mistakes in a GC language still result in bugs, such as many Java programs which continue to consume memory until they crash, because of programmers that retain live references to unneeded objects.
Oct
6
comment Are operators just “special” methods?
sizeof could be a function if the language supported type arguments. sizeof(a) would cast a to a Type object, then the sizeof function would return x.bytes. For example. Of course you are right that this cannot be done in C.
Sep
30
comment Harmful temptations in programming
@Merlyn: If you find yourself writing an instruction simulator so that you can force a context switch in just the right places, then you've probably gone way too far in your concurrency testing. :)
Sep
30
comment Why don't all companies buy developers the best hardware?
You switched from laptops to desktops? I just don't understand some people. I'd much rather have the laptop. It goes to meetings with me where I have everything at my fingertips to answer questions and make quick notes. I can easily work at home without spending time configuring two work environments. It's also a free second monitor.
Sep
30
comment Should I bother to develop for JavaScript disabled?
Be sure to consider your target audience. If your target is tech-savvy, security conscious people a much larger majority of your readers will be running NoScript. If they are like me, when they hit a site through a search link and that site offers nothing useful without javascript, I immediately hit Back and look at the next site on the list.
Sep
13
awarded  Good Answer
Sep
9
awarded  Nice Answer
Aug
30
comment Are compilers used outside of development?
@Jan: Running Gentoo Daniel was using a compiler as an end user just as a Windows end-user is using a compiler when installing .NET software which is compiled from CIL to machine code during installation.
Aug
30
comment Are compilers used outside of development?
@IronMensan: It's also possible for a .NET compiler to have slipped onto an XBox at one time or another. I believe there is a .NET game development environment, and there are .NET language compilers that can be included as modules (often used for dynamic languages to implement eval), so...