Reputation
9,801
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
16 38
Newest
 Nice Answer
Impact
~222k people reached

1d
comment Send more data, or do client processing?
How large are these arrays? If it's under 200 in most instances, let the client do it. A minor optimization isn't worth the increase in program complexity.
1d
comment Send more data, or do client processing?
So the conundrum is lumping necessary information in the same request as your Faults, Warnings and Locations or having a separate request for that information even if you'll need both?
Aug
24
comment How to make sure people call methods in the right order?
ORMs are notably complex and for good reason. You could manage a simple subset, but sql queries can be very complicated indeed. I concur with Eterm to simplify the interface as much as possible. You could also assume "and" relationship and require that "or" be represented by passing several conditions as a parameter.
Aug
21
comment Meteor allow users to extend application
You want to ensure that code run on the server is safe to run? That's no small feat. There's so much you could overlook that it is hardly worth trying. If it is client-side code, then that is doable so long as you make sure that the server can never run it by mistake.
Aug
21
comment How to calculate number of indirect dependencies of a class?
Simple and accurate. I couldn't have written it better myself.
Aug
18
comment Gradle Flavors vs. App Projects
For what concerns technical problems, count on there being them. It would be silly to think otherwise. I can't help you anymore than that though.
Aug
18
comment Gradle Flavors vs. App Projects
Good man. If nothing else, you've learned how to be diplomatic. ;)
Aug
18
comment Gradle Flavors vs. App Projects
Is he your colleague or your boss? If he is your colleague, try to get him to see reason. Show him an example, show why your way would be better. If he still doesn't see reason, then you can tell your boss that your way would be better. Just be prepared to back up that statement. If he is your boss and not your colleague, best of luck. ;)
Aug
18
comment Gradle Flavors vs. App Projects
In my experience, most programmers think that the technologies and languages that are familiar to them are the best. That may even be true, but it certainly doesn't help those of us that don't. In any case, pushing technology on you that you're not familiar with means its your colleague's responsibility to make you "get it," not yours.
Aug
18
comment How do you sync changes to the data in your database?
Maybe I misunderstood your problem. You mean to ask how to distribute database changes associated with changes to the program?
Aug
18
comment How do you sync changes to the data in your database?
Can you not just switch where your application points to in order to use another developer's database? It seems like a much more straightforward solution without the hassle of importing or exporting. If you're worried about damaging the other developer's database, perform a backup prior.
Aug
18
comment Pre-calculate values or not on Raspberry Pi
cmath uses CORDIC for table lookup of trigonomic functions.
Aug
18
comment Comparing the Java language to non-Java JVM languages
Was there a particular reason why you didn't like groovy? I find it to be the easiest solution to the verboseness of Java, and you can also precompile time-sensitive classes so it isn't even so much slower.
Aug
17
answered Pre-calculate values or not on Raspberry Pi
Aug
17
comment An anti-piracy technique that locks software to a specific computer?
@Ouroborus Even if it meant performing the autopsy on a living entity?
Aug
17
comment Feeling like all my code is very poor quality and slowly built
A lot can be said for experience. No programmer starting out, and I mean no programmer, was capable of writing code with confidence. Those that have invested time and effort are the ones that show confidence, and it takes a lot more than half a day. But those with their resolve shaken should take heart: it is only a question of when.
Aug
17
comment An anti-piracy technique that locks software to a specific computer?
As these things usually go, knowing how it works makes it easier to crack and thus useless to anyone who would use that technique in the future.
Jul
31
comment A secondary “type system” for references?
I see your point. The only thing you'd have to hardcode would be the possibility to get a reference from a non-reference and a non-reference from a reference.
Jul
30
comment A secondary “type system” for references?
@jco The conversion method responsible for converting types would handle that, with types with reference modifier returning a pointer and types without reference modifier returning a copy instead
Jul
30
answered A secondary “type system” for references?