8,104 reputation
73145
bio website zopatista.com
location Cambridge, United Kingdom
age 42
visits member for 2 years, 11 months
seen 6 hours ago

Invisible framework coding ninja


Apr
21
reviewed Reviewed Is this a race condition?
Apr
21
comment Is this a race condition?
A race condition is a situation where parallel processes can produce different outcomes depending on how they are interleaved. Who's last to the post is only part of that process.
Apr
16
reviewed No Action Needed Time-complexity of nested for loop
Apr
16
reviewed Reviewed Entire webpage obfuscation
Apr
16
revised Entire webpage obfuscation
Remove spam magnet.
Apr
14
comment Using Operations on a List in Python and Aggregating Results in New List
Look at where you are creating newnumbers. Think about what that means each loop iteration.
Apr
11
revised How do auto generated stories/news articles work?
edited tags
Apr
11
reviewed No Action Needed Client-Server Application Object with child Objects
Apr
10
reviewed No Action Needed Can multiple CPU's / cores access the same RAM simutaneously?
Apr
10
comment Tips on Converting a C program to Pure Python
Sorry, I am doing what? I didn't vote, I gave feedback. I know CPython is not the same thing as Cython. Cython is a extension that lets you compile Python code, with some additional annotations and syntax, to machine code. I'm not sure anymore what you think I am saying here.
Apr
10
comment Tips on Converting a C program to Pure Python
The majority of Python users are not aware of there being any other implementations. Pure Python usually means: only written in Python, without using any C extensions. The OP even qualifies it as such here (not to Cython, IronPython, etc.). That they lumped IronPython with Cython here is sorta-interesting in that they seem to think the latter is some form of non-pure-python.
Apr
10
comment Tips on Converting a C program to Pure Python
But the bulk of your answer is about memory management for variants of Python other than CPython. If your point was that you don't have to worry about memory allocation you certainly managed to distract from that.
Apr
10
comment Tips on Converting a C program to Pure Python
So how does this apply to the C code that the OP is converting?
Apr
10
reviewed Reviewed Tips on Converting a C program to Pure Python
Apr
10
comment Tips on Converting a C program to Pure Python
This doesn't adresses any of the questions about reading the C application, though. While IronPython and Jython object creation strategies are interesting, I doubt they have any bearing on this specific scenario; it is almost certain that the OP is using CPython as otherwise they'd have known to mention they don't.
Apr
7
reviewed No Action Needed Why does a proportional controller have a steady state error?
Apr
4
reviewed No Action Needed elevator algorithm and implementation
Apr
1
awarded  Enlightened
Mar
31
reviewed No Action Needed How can a statically typed language support duck typing?
Mar
29
reviewed Reviewed How come javascript, being a prototype based language, doesn't have an easy way to access the prototype?