86,276 reputation
19195343
bio website
location Lancaster, CA
age
visits member for 4 years, 3 months
seen 23 hours ago

enter image description here


1d
comment How to code a one-sided virtual economy
You could try WorldBuilding.Stackexchange.com. They talk about things like this all the time. But check their Help Center/On-Topic article first.
1d
comment How to code a one-sided virtual economy
Very often, the answer to questions like this is "use your best judgment."
1d
comment The Better Parts and Delegation: Is Crockford Too Extreme?
Never say never. You learn the rules so that you know when it is appropriate to break them. That way, you can use your own judgment, and don't have to depend on some old codger to tell you how to think.
2d
comment Term to describe pre-canned objects for use in testing
Collections of pre-created objects for testing purposes are variously called stubs, fakes and mocks (depending on their specific use).
2d
comment How early does a hashable type need to become immutable?
there will be a point in time at which the hash() of our instance changes. When should that happen, exactly? -- Before the rest of your program has a chance to read the hash.
Dec
17
comment Web Service To Upload Data And Expose As API
Well, given that it is not your intention to write something that does this, I would focus on some sort of ETL process, for which tools are available.
Dec
17
comment Web Service To Upload Data And Expose As API
Does it need to be done only once, or several times on an ongoing basis?
Dec
17
comment Algorithm to test file equivalence
OK, so what is your question? Are you just asking for our blessing? OK, you have our blessing. Checking the MD5 of the first and last 4K of the file seems like a reasonable approach to me. Congratulations for exercising some creativity, and not just assuming that there's a "standard approach" to every possible programming problem. (that would be stupefyingly boring, wouldn't it?)
Dec
17
comment What is a good word for the current “state” of a state machine?
en.wikipedia.org/wiki/Finite-state_machine uses current state, but "step" should work.
Dec
17
comment adding model specific CRUD operation web api endpoints
There's no compelling need to map the names of you endpoint methods precisely to the HTTP verbs. Use names that best describe their function.
Dec
17
comment Can a process that needs 15 MB run given a machine with 10 MB of physical memory and 10 of virtual?
All memory frames don't have to be in memory at the same time. That's why they call it a swap file. You should have a look at the Wikipedia article for Virtual Memory; it describes the process pretty well.
Dec
17
comment Can a process that needs 15 MB run given a machine with 10 MB of physical memory and 10 of virtual?
In general, virtual memory allows a memory space to be available to the process that's larger than the physical ram. What motivates you to ask a question this detailed about the "frames?" One of the other benefits ofvirtual ram is that the details of frames are abstracted away, so that you don't need to know about them.
Dec
17
comment Can a process that needs 15 MB run given a machine with 10 MB of physical memory and 10 of virtual?
When you say virtual memory, are you referring to the kind of memory that, say, the Windows Swap File provides?
Dec
17
comment Line wrapping with variable number of lines… almost there!
We don't accept troubleshooting questions here, sorry.
Dec
16
comment install tesseract on visual studio 2012
Have you examined the actual errors, and attempted to follow their advice, or made any attempt at debugging?
Dec
16
comment Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?
@mouviciel: Flagging for migration is a cumbersome process. An alternative is to delete the question and repost it on the correct site.
Dec
16
revised Is this a pattern? If so, which one? (Contexts, Requests and Responses)
added 143 characters in body
Dec
16
answered Is this a pattern? If so, which one? (Contexts, Requests and Responses)
Dec
16
comment Is this a pattern? If so, which one? (Contexts, Requests and Responses)
@AakashM: Are context objects typical of SOA?
Dec
15
comment Where can I download a (Windows) app made with pyQt?
Notable applications made with PyQT. It's the first match in a Google Search for "Open Source PyQT Applications"