Reputation
8,620
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
19 47
Newest
 Nice Answer
Impact
~391k people reached

18h
comment Foreign currency processing
Did you ask your company lawyer first?
Jul
25
comment Protecting a new file format?
+1 for Brandin. Throw in a bit of DRM, and it might qualify for some of the DMCA protections. There is a reason why DRM is the vogue nowadays, because the DMCA clause offered impenetrable protection to things it was never thought to protect. (IANAL; this is not a legal advice.)
Jul
22
comment Does every developer need an MSDN subscription?
You can find this in the fineprint. Under "Additional Offerings", you can read "... are the primary offerings in the Visual Studio 2015 lineup. Additional offerings include ...", which then refers to fineprint point 5, which says"Visual Studio Professional 2015 standalone license, for customers interested in a non-subscription, IDE-only option".
Jul
21
comment Image recognition in ios/android app using swift/java
allaboutbirds.org/guide/browse
Jul
21
comment Image recognition in ios/android app using swift/java
Search for bird image species classification. Note that this is an advanced topic, so it may be well above your knowledge level. (I wouldn't know how to implement one either.) What this means is that "best and easiest option" might not exist, or is out of reach. Some other suggestions: consider crowdsourcing (or mechanical turk) where pictures are uploaded first, and then volunteers (who have been trained to correctly use descriptions of bird features) will classify the birds at a later time.
Jul
20
comment rand() gives same numbers again for a small range
@RabeezRiaz If you have a larger map, you will have some grid-based data structure (a grid consisting of some area of cells, and every item inside that cell is stored in a list). If your map is yet larger, you will implement rect-tree.
Jul
18
comment WPF and data in the cloud
If they have a poor internet connection, cloud will also be problematic. I guess what they want to see (given their lack of technical know-how) is an old-style, single application (like the PC era of the 1990's) where data is stored locally, and occasionally backed up onto USB drives or "the cloud, whatever". If anything happens to the computer, they will lose the result of their work since the last backup. Backup and synchronization are not the same concept.
Jul
18
revised Proper way of serving local images with Scalatra backend/react frontend
added 679 characters in body
Jul
18
answered Proper way of serving local images with Scalatra backend/react frontend
Jul
17
comment What are known approaches to graphing algebraic expressions?
The Wikipedia article has a link to another algorithm: Operator-precedence parser
Jul
16
revised C code to object oriented
added 179 characters in body
Jul
16
answered C code to object oriented
Jul
16
comment Is using up 'too much' storage space a practical concern when storing only text in a database in 2015?
It depends on whether your users will abuse the system. Example: while one megabyte of compressed text written by a human (in prose form) is a lot, software programs routinely generate log files at a very fast rate. That means your users can be sending in one GB of compressed log files in your way, unless you stop them. Later, they may learn to Base64-encode their images, DB backups, VM images in your way too. Monitoring and quotas are going to be necessary, and should be considered before other nifty tricks.
Jul
15
comment Behaviour of Thread sleep in a single core processor machine?
@PauloMadeira : Originally I thought this question would be deleted soon, so I try to keep my initial answer short. (Also, I'm not sure if my description of the topic is accurate or not. The description is too much simplified from the perspective of today's OS versions.)
Jul
15
comment Do commercial statistical calculators calculate with a high degree of arbitrary precision or just floating point precision?
There are two parts. Using 64-bit FP (with 52 or 53 bits significance) is one part of it. For example, if one uses 64-bit FP to represent distances on the Earth, its accuracy would be better than the millimeters (and even micrometers). The second part, which tends to be ignored more often, is the numerical analysis. A very superficial way of saying (from an outsider point of view) is that mathematical operations on finite-precision computers typically need to be rearranged in order to give valid results. Thus, copying a pen-and-paper formula into code does not guarantee correctness.
Jul
15
comment Behaviour of Thread sleep in a single core processor machine?
This is called preemptive multi-tasking. The OS will set a time-slice (usually between 1 - 10 milliseconds), during which exactly one thread will be executing exclusively. When that time-slice is up, the OS will stop it, save the "execution context" of the thread in memory, and then give the next time-slice to another thread. When a thread performs a Thread.Sleep operation, it tells the OS that (1) it will give up its remaining time-slice, and (2) it will not need another time-slice until that sleep time has passed. Therefore, the OS will give time-slices to other threads.
Jul
15
revised Behaviour of Thread sleep in a single core processor machine?
deleted 11 characters in body
Jul
15
answered Behaviour of Thread sleep in a single core processor machine?
Jul
15
comment Is there a standard way to indicate that a function returns a new pointer?
Just a remark on the concern of "confusion". It is equally important that the caller takes proper care of the returned object. Smart pointers can make this effortless (by making memory management a mechanical habit rather than a continuous exertion of mental effort), but if the caller doesn't have any clear policy or coding standard or notion of hierarchical "object ownership", eventually it will still run into trouble. In some cases, junior programmers might even try to circumvent the unique_ptr by calling its release() function, and use the raw pointers like the old ways.
Jul
14
revised Integer Map Algorithm
added 609 characters in body