1,163 reputation
1811
bio website
location Umeå, Sweden
age 30
visits member for 2 years, 11 months
seen 4 hours ago

C++ developer at heart, loves to play around with graphics APIs.


Sep
21
comment Using a GPL game engine
The GPL doesn't prevent you or anyone else from selling things, but it requires you to provide access to the source and all modifications to it, as well as requiring you to ensure that all source that touches it has a compatible license.
Sep
4
answered Is Operator Overloading supported in C
Aug
30
comment What should developers know about Windows executable binary file compression?
It's also not always lossless. Several popular compressors fail miserably at TLS callbacks, which is quite a bummer if you ever happen to have them. If you ever incorporate one into your build process, make sure you test the resulting binary.
Aug
10
comment hash with file instead of array
If you have an algorithm that works within a single slab of linear memory, you have something can be translated to a random-access file. You're going to have a hard time if you have variable-width records, handling collisions, rehashing, etc. You can implement a rudimentary system, but I would strongly recommend looking at a lightweight solution like SQLite3, leveldb (or possibly Berkley DB if you can accept copyleft).
Aug
9
comment Where Should I Put Configuration Files?
If you're going to use environment variables to construct paths, at least use %LOCALAPPDATA%. There's nothing that guarantees that the path you constructed there from the user profile actually points out the local appdata. If you've got Win32 bindings, prefer Known Folders.
Aug
5
comment Make use of design patterns in C?
Languages like C need design patterns even more, as one of the primary reasons why they exist at all is because of inadequacies of the underlying language.
Aug
2
comment OAuth2 flow - does the server validate with the Auth server?
About important parts, it might be worth reading this blog post for some background on the priorities for OAuth2.
Jul
31
comment Why should I push if I'm working alone in a local repository?
There's one significant lack of understanding in the question that's worth pointing out: if you haven't pushed anything remotely, all your work is in the local on-disk repository. Lose your machine, lose everything you ever did.
Jul
28
comment What does the term “Payload” mean in programming
The framing/overhead would be the stuff that's wrapped around the payload to get it where it needs to be, labelled as what it needs to be identified as. You can contrast it with a web request, which results in a bunch of headers that identify things about the actual page like the encoding, the size, the format, and so on. The payload is the actual page, which comes after the headers that enables the recipient to make sense of it.
Jul
26
awarded  Enthusiast
Jul
25
comment Compiler Linking: How to handle circular references?
I don't quite see what this has to do with the traditional meaning of the word linking. You might want to use a term that belongs to the compile phase, as linking has a strong connotation of being after every module or translation unit has been compiled.
Jul
24
comment Pair Programming and ISO 27001
I'd reckon that most people who employ pair programming practices think that all that ISO does is the date format and character encodings.
Jul
22
awarded  Commentator
Jul
20
awarded  Civic Duty
Jul
19
awarded  Critic
Jul
19
awarded  Teacher
Jul
19
comment Why isn't the arrow operator in C++ just an alias of *.?
C++03 24.1/1 requires that any iterator where (*i).m is valid must support i->m with the same semantics.
Jul
19
answered Why isn't the arrow operator in C++ just an alias of *.?
Jul
11
awarded  Citizen Patrol
Jul
8
comment Functional Programming, JavaScript and UI - some neophyte questions
The bit about the IRC channel has no place in an objective question. Keep the drama llamas away.