Reputation
2,865
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
11 16
Newest
 Enlightened
Impact
~128k people reached

Aug
29
comment Is there any practical trick to remember the difference between big-endian and little-endian?
@JoonasPulakka Big-endian and Little-endian really started out as machine-oriented specifics, rather than as "Pure Theoretical CS notions", so I guess I could argue this both ways. Unless we're looking at bit-level transmissions, I guess the endian-ness of octets very rarely matter on most modern machines.
Aug
29
answered Is there any practical trick to remember the difference between big-endian and little-endian?
Aug
8
comment How should I structure these Python classes?
There's nothing stopping you from writing an "abstract service base class" that does this through-wiring for you, but whatever lets you express what you want, with the minimum maintenance hassle 2-3 years down the line.
Aug
6
answered How should I structure these Python classes?
Jul
22
comment Why is String immutable in Java?
Technically, Common Lisp has mutable strings, for "string-like" operations and symbols with immutable names for immutable identifiers.
Jul
2
answered Understanding Abstract Data Types (ADTs)
Jun
12
revised Why do programs use call stacks, if nested function calls can be inlined?
Fixed a code block error, harmonised "Function"/"function" to just "function".
Jun
9
comment To which extent can one take ideas from programs under GPL in developing a commercial app?
@Trilarion The way you do it if you're "sufficiently paranoid" and "have enough resources" is having one team studying the source code and provide API documentation to another team that don't look at the source and write your code.
Jun
9
answered How does a network load balancer work with session affinity?
May
22
awarded  Enlightened
May
22
awarded  Nice Answer
May
22
answered Resetting vs. re-sending forgotten passwords
May
1
comment Why is negative zero important?
If the particular example is "1 / 0.0" / "1 / -0.0", 0 is a branch cut for 1/x and the limit depends on if you approach it from below or above.
Feb
19
answered c++11 random: why different range of int and real?
Dec
27
answered How did programming work when programmers used punchcards?
Dec
1
answered Is generating a large random number more unique than generating each digit in that number?
Nov
11
revised Reference counting & GC in LISP
added 46 characters in body
Nov
11
comment Reference counting & GC in LISP
It only can with weak references, which is a higher cognitive load on the programmer.
Nov
11
revised Reference counting & GC in LISP
Added atomic refcount update to the list of concerns.
Nov
11
comment Reference counting & GC in LISP
But that means you need to have two types of references, where a single type of reference would have sufficed, with a more advanced (and not necessarily any slower) GC. Remember that updating a reference count MUSt be lock-protected, so any "reference or de-reference any other object" is suddenly a lock acquisition, instead of amortised at GC time.