Reputation
10,684
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
3 33 45
Newest
 Good Answer
Impact
~135k people reached

Aug
27
comment What is the mathematical base required to master Artificial Intelligence for deep PhD-level research?
Surely it would make more sense to ask this of professors in your department who know what classes at your particular university would be appropriate for you. We have no idea what classes are offered at your university, which professors are particularly good, which prerequisites are really required, etc.
Aug
12
awarded  Good Answer
Aug
11
awarded  Nice Answer
Aug
11
answered Why not just make non-parameterized queries return an error?
Aug
7
awarded  Nice Answer
Aug
7
answered Is it a common practice among professional programmers to avoid the use of raw pointers?
Jul
25
answered Protecting a new file format?
Jun
21
comment Shipping test code. Why wouldn't you?
Why would a unit test in a closed source program (or an open source program that hasn't been modified) ever fail? If your product requires a fair amount of setup and setup issues are often the source of bugs, it might make sense to ship some sort of "validate my configuration" app that does things like validating the database connection, validating connections to any other external services your code depends on, etc. It wouldn't make sense for a unit test to ever fail, though, since you've already validated that the code works.
Jun
8
comment How can Guard Statements and Small Functions coexist?
Trivially, including guard statements increases the size of a method. Whether that makes something "not small" depends on your definition of "small" and how many guard functions you need. If you find yourself needing dozens of guard statements, I would tend to expect that something is wrong with your design. If you have repetitive code in your guard statements, you can obviously factor that out as well.
Jun
1
comment Database view performance - good practice?
Views are not cached in any version of Oracle. Query result caching is a feature that is available but that doesn't depend on whether code is in a view-- a SQL statement coming from an application could just as easily take advantage of query result caching. But that's a niche feature that the vast majority of applications won't be able to meet.
Jun
1
answered Database view performance - good practice?
May
29
answered verify a defect is a production defect or not
May
20
comment What is the best way to protect highly sensitive algorithms in my code?
@cmaster - If you're trying to avoid latency, all the more reason to let the code run on a server you control and can colocate near the exchange(s) you're trading on rather than dealing with whatever latency a random client machine has. But algorithmic trading and high-frequency trading are not the same animal-- plenty of algorithmic trading happens at human time scales where an extra network round-trip isn't going to be important.
May
20
answered What is the best way to protect highly sensitive algorithms in my code?
Mar
13
comment Is using triggers best solution for this scenario
What database are you using? Many have a facility that lets the database build and automatically maintain an aggregate table. Oracle has materialized views, for example, and SQL Server has indexed views.
Jan
18
awarded  Yearling
Dec
10
answered Sending a notification to each participant 3 hours before the meeting starts
Nov
15
comment Optimizations in Compiler Design
@justin - I updated the answer with one example of a complex multi-step simplification that would use various simple transforms such as x=x*1.
Nov
15
revised Optimizations in Compiler Design
added 600 characters in body
Nov
15
answered Optimizations in Compiler Design