116 reputation
5
bio website red-sheep.de
location
age 25
visits member for 4 years, 2 months
seen Mar 17 at 16:06

Jan
4
awarded  Commentator
Jan
4
comment Why do game developers prefer Windows?
yes. i use the fallback sequence: 1. get from official repos, 2. get 3rd-party packages for your packaging system, 3. get tarball and create package from it 4. repeat all steps with 32 bit version. i currently have 2 32 bit games on my pc (i used to have more)
Jan
4
comment Why do game developers prefer Windows?
i’m using linux exclusively for ~4-5 years and not once have i stumbled upon a 32bit-vs-64-bit issue. stuff just works out of the box, that’s my honest experience.
Jan
3
comment Why do game developers prefer Windows?
jv42, you never actually tried to deploy something on linux, did you? it’s dead easy, as @greyfade said: ship your game with the known working versions of all libs except some system libs like libasound and libGL, and everything will work forever.
Dec
31
comment Why aren't user-defined operators more common?
why did java allow + for string concatenation? because objectA + "stringB" is much more convenient than objectA.toString().concat("stringB"). if you perform an operation all the time in your library, and that operation is conveniently represented as an operator, it makes your code easier even with the added initial 10 second learning time. note that i don’t defend java here: i hate its inconsistency in overloading operators itself but not letting us do the same.
Mar
26
awarded  Teacher
Feb
10
revised Why are shortcuts like x += y considered good practice?
added 8 characters in body
Feb
10
answered Why are shortcuts like x += y considered good practice?
Feb
10
comment Why are shortcuts like x += y considered good practice?
+1 for __iadd__: there are languages where you can create an immutable reference to a mutable datastructure, where the operator += is defined, e.g. scala: val sb = StringBuffer(); lb += "mutable structure" vs var s = ""; s += "mutable variable". the further modifies the content of the datastructure while the latter makes the variable point to a new one.
Aug
15
comment Should UTF-16 be considered harmful?
Yeah, I know. I love it this way: Input gets converted to Strings while reading it and the error happens there (if any), and not anywhere else in the code. Makes us guess less where the fuck it sneaked in. (Just like Scala’s Option keeps Scala programmers from encountering NullpointerExceptions: A implicit, error-prone process is replaced by a deliberate choice I make)
Aug
4
comment Should UTF-16 be considered harmful?
@Mihai there is this advantage. you’ll start noticing it when you don’t do it and get cryptic runtime encoding exceptions nobody can possibly understand nor track back to it’s source. python 3 has made the jump, and guess what: the frequent encoding issues i had in python 2 magically disappeared completely.
Jul
16
awarded  Supporter
Feb
19
comment Why is (Ogg) Vorbis not automatically supported by Windows?
@Daniel: When I build a viewer/player for more than one file format, it is modular enough that you just need one definition File/Class to enable one more. I don’t know, but I guess the DirectShow filters take that part in the Windows world. Am I right? Also I find “This is what we call in the programming world ‘feature creep’.” a little insulting. As if I wouldn’t be in your exclusive “world”.
Feb
14
awarded  Student
Feb
13
comment Why is (Ogg) Vorbis not automatically supported by Windows?
great article, but support for vorbis is not really a one-off feature, but more like one of the three formats to save a music collection. (the other ones being aac and mp3)
Feb
13
awarded  Editor
Feb
13
revised Why is (Ogg) Vorbis not automatically supported by Windows?
added 276 characters in body
Feb
13
comment Why is (Ogg) Vorbis not automatically supported by Windows?
i’m not asking microsoft to develop their own directshow filters, but instead i ask why they don’t invest 5 minutes development time to tweak the XviD-on-demand download code to load them from xiph.org/dshow when a user wants to play a ogg file.
Feb
13
asked Why is (Ogg) Vorbis not automatically supported by Windows?