1d
comment Structure padding and structure packing
Does first member have to come first? I thought arragement is totally up to the implementation, and cannot be relied upon (even from version to version).
Jul
24
awarded Famous Question
Jul
22
comment What's the difference between the index, cached, and staged in git?
@ScottBiggs What's "added"?
Jul
22
revised Why are receivers pass by value in Go?
added 3 characters in body
Jul
22
comment Type of an expression
I always knew C/C++ integers would drive me crazy...
Jul
22
comment Type of an expression
I just tried this with very surprising results: cpp.sh/72ew . Based on my understanding of this answer, I would have expected the first result to be >= 5 because the -1 gets "converted" (whatever that means) to unsigned; and I would have expected the second result to be < 256, since the result is supposed to be of type uint8_t, which supports values no greater than 255. What's going on here? Have I gone mad?
Jul
20
awarded Yearling
Jul
9
awarded Notable Question
Jul
9
reviewed Approve suggested edit on Load imageView from Xcassets using Switch statement
Jul
9
reviewed Approve suggested edit on How to get all CSS of element
Jul
9
reviewed Approve suggested edit on Setup c# web api in vb.net Website
Jul
9
reviewed Approve suggested edit on Parsing the text in a file
Jun
8
awarded Good Question
May
26
comment Does Erlang have methods?
That seems like a cool feature. Shame that it was cut out :(
May
8
awarded Supporter
May
6
awarded Good Answer
Apr
10
comment python script hangs when calling cursor.fetchall() with large data set
Sounds like you already know of a way to get the result you want. Why don't you just do that? Clearly, trying to load a large amount of data all at once is hard. Why do you insist on doing that when you already have a solution that a) works b) does not load such a large amount of data at once?
Apr
10
revised Read a line store it in a variable and then read another line and come back to the first line. Python 2
Formatting was messed up. I think I've gotten the intended formatting, but I'm not sure. Please, take a careful look.
Apr
10
asked Does Erlang have methods?
Apr
2
comment why would load_module be called if the module is already in sys.modules?
@martineau: that sentence does not explain. Read my question: the Python import system could (but does not) detect that such behavior is required and skip calling load_module entirely.
1 2 3 4 5