Programmer... some quite outdated infos on my website (that is abandonware because I've yet to find a way to create time, so I had to take decisions instead).
|
2d
|
|
comment |
const * const * member variable initialization c++ this question is fantastic :-) ... +1 |
|
2d
|
|
comment |
Recursive function that takes the sum of odd integers @Marichyasana: I think this is more readable. Of course it's a matter of taste and in some case indeed I prefer using just a comment // else before the last part (or just setting a result var and keeping a single exit point with return result;).
|
|
2d
|
|
comment |
Recursive function that takes the sum of odd integers @Ben: thanks, fixed. I also changed to p to avoid adding to confusion between pointers and arrays.
|
|
2d
|
|
revised |
Recursive function that takes the sum of odd integers array -> p, added comment |
|
2d
|
|
answered | Recursive function that takes the sum of odd integers |
|
May
20 |
|
comment |
How to go through an unknown number of quotes randomly without repeating @theintellects: I've thought about this problem while running because the random shuffle of my N1 android phone was truly terrible. I think the algorithm is "as next one pick a random song and play it" and this, thanks to an horrible PRNG, was really bad. |
|
May
20 |
|
answered | How to go through an unknown number of quotes randomly without repeating |
|
May
19 |
|
comment |
Little Endian - Memory content/address @DavisApanasova: endian-ness is about multibyte i.e. about how to store atomically values that are too big to fit in a single byte and the two standard choices are most important bits first (big-endian) or least important bits first (little-endian). It doesn't affect how the machine stores values that fit in a byte. Strings are processed one character at a time and storing an ASCII string is not affected by endianness. |
|
May
19 |
|
answered | Calling same function in multiple object's context? |
|
May
19 |
|
revised |
Little Endian - Memory content/address added 172 characters in body |
|
May
19 |
|
answered | Little Endian - Memory content/address |
|
May
18 |
|
answered | JS Change class of element |
|
May
18 |
|
comment |
Is an empty list in Lisp built from a cons cell? @ChrisJester-Young: agree about the illusion; discussing mutability of list in CL is nonsense because lists are not objects. However much of the Lisp idea doesn't need to depend on this approach and you can build a lisp dialect where list is a first class object. For example I've built a lisp compiler targeting javascript that uses js array objects to represent lists (there's no CAR and no CDR and sharing is possible only at element level and not at tail level). So far I'm quite happy with this solution.
|
|
May
18 |
|
revised |
Get x,y from 2d list and pass on added 471 characters in body |
|
May
18 |
|
comment |
Get x,y from 2d list and pass on I exhausted daily amount of the magic power of reading source code without seeing it that I'm allowed to use on a Saturday morning. I will not tell what is the error in public unless you show everyone the source code. |
|
May
18 |
|
answered | Is an empty list in Lisp built from a cons cell? |
|
May
18 |
|
answered | Get x,y from 2d list and pass on |
|
May
18 |
|
comment |
Get x,y from 2d list and pass on Given how the loop is written I'd say its len(orglist), not len(orglist[0]).
|
|
May
17 |
|
comment |
What Constitutes Asynchronous JavaScript? I added an explanation on a possible implementation strategy for timer events (using an heap for pending timed callbacks). I'm not sure I understand what is the part that you don't understand :-) |
|
May
17 |
|
revised |
What Constitutes Asynchronous JavaScript? added 869 characters in body |