425 reputation
27
bio website
location
age
visits member for 3 years, 7 months
seen 7 hours ago

Jun
1
awarded  Yearling
Feb
24
comment Design pattern for syncing data in android
@AkashRamani I don't see a reason why you shouldn't use GCM/Parse for this case. However, GCM is free while Parse bills you beyond a certain point. If your updates are well within 4096 bytes, then you can send the update directly. If your score updates are very frequent, then polling might be a good idea instead of GCM(say, for cricket scores). I would suggest to test/profile both polling and GCM for latency and CPU/battery consumption.
Dec
12
comment What is 'code skew'?
It's a good example, but the analogy is skewed from the concept. In the analogy, the paste creates a different copy, while in the actual concept, the copy is same, but is not synchronized, hence causing the skew.
Dec
6
comment Is this a correct implementation of an Immutable class in Java?
@ratchetfreak what do you mean by good coding? and what does a final field have to do with thread safety? Enforcing by using the final keyword is the fail proof way.
Dec
6
comment Is this a correct implementation of an Immutable class in Java?
Came to comment about same thing - even the field should have the final modifier. All the fields should have. This will ensure that you won't modify it accidentally. If you do, the compiler will complain. This also means, every time a field changes, you should create a totally new object, thus immutable.
Dec
5
answered Design pattern for syncing data in android
Dec
5
comment How do I evaluate an IDE?
One more thing I couldn't find in any IDE is REPL READ, EVAL, PRINT, LOOP . When I write code, I constantly do REPL over and over, I would like it to be part of IDE. Of course, the IDE needs to be very intelligent for this to work in large projects, but it will be great for smaller projects to have this. lighttable.com aims at solving this. It's still under dev.
Dec
5
comment How do I evaluate an IDE?
@xenoterracide 1-4 are all additional factors you will want to consider and like you said, they all generally apply to all software. The important factor is your productivity. For example, I find I am more productive on IntelliJ IDEA because it offers suggestions automatically and intelligently and I don't need to save my file after every change. It also keeps a history of my changes locally. Compared to Eclipse, you will have to explicitly request suggestions(Ctrl+Space) and do explicit saves. That's more keystrokes that can be saved.
Nov
27
awarded  Yearling
Aug
28
awarded  Excavator
Jun
23
comment APIs that deal with logins
Why the downvote? Please leave a comment so the OP can correct or improve the question.
Jun
23
awarded  Informed
Jun
23
answered APIs that deal with logins
Mar
20
comment Getting non-programmers to understand the development process
This is a bad idea IMO. It is like handing a mop to the client to show him how hard it is to clean a wet floor.
Mar
20
awarded  Critic
Mar
20
answered Getting non-programmers to understand the development process
Feb
8
comment When do you 'speak' C++ fluently?
Perhaps the same thing they mean when they say 'speak English(or whatever language) fluently' - to be able to express your thoughts without trouble. In this context, it would be bringing algorithm to implementation without struggle. Perhaps you reach there with more practice.
Feb
5
comment If I own an open source project why would I not host it on Github?
Thanks! I use Github, I will give BitBucket and Assembla a try
Feb
4
awarded  Commentator
Feb
4
comment If I own an open source project why would I not host it on Github?
what are the other, perhaps better, alternatives to Github?