Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
6
Newest
 Critic
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 59 votes cast
Jan
27
comment What's the point of running unit tests on a CI server?
Read javacodegeeks.com/2013/02/… appropriately titled "Breaking build is not a crime"
Nov
21
comment What is a good security practice for storing a critical database on developer's laptops?
I agree with the first point, but not the second. If you are not storing your password in plaintext where are you storing it (1) ciphertext or (2) your brain. If (1) then where are you storing the password for the cipher (infinite loop detected). If (2), then I hope you like waking up at 2:00AM to type in the password to restart the service.
Nov
21
comment What is a good security practice for storing a critical database on developer's laptops?
@dan1111 devs can add data to their dev database. This is more agile than trying to predict what data they will need.
Nov
21
comment What is a good security practice for storing a critical database on developer's laptops?
I really don't see why it is necessary to generate sensible imaginary data. I go out of my way to generate senseless imaginary data. If my dev database, only had sensible data, I would miss out on a bunch of weird edge cases.
Nov
18
comment Is client-side validation really all that important, always?
@RichardTingle That is a good reason to truncate the password. Let the user enter a 1,000 digit password and client side truncate it to 100 digits. If the user bypasses the client side truncation truncate it server side. From the client's POV, there is no maximum password length.
Nov
18
comment Is client-side validation really all that important, always?
@PaĆ­loEbermann Suspend your disbelief and pretend that there is a reason to restrict passwords to a maximum length - which there isn't. If the password field on the account creation page silently truncates and the password field on the signin page does not, then copy/paste would allow the user to create an account for which his/her password is invalid. If you don't understand why the two password fields don't have the same behavior, keep drinking beers until you have the same intelligence as the people who think passwords should have a max length.
Aug
21
comment Automatically reverting commits that fail the build
Please read nurkiewicz.com/2013/02/breaking-build-is-not-crime.html "I want to break the build whenever I want! When I'm done and my new tests pass, I just want to commit/push my new stuff and let CI server perform full testing. I hope everything flies but if not, I don't want to feel guilty. I don't want to stay late or apologize my team-mates. I will fix these unexpected problems when I can. It's not production, it's just my experimental new feature failure that no one cares."
Jul
23
comment private method that uses no instance members - better static?
@davidarno I used to think as you do. Then I discovered clojure - a functional language on the jvm. Now I still think as you do, I just use better tools.
Jul
7
comment Bad practice - switch case to set environment
@user61852 "I guess I am not wrong to say that hard-coding environment values is downright bad practice under any light." parses to "hard-coding environment values is always bad practice" If it is always bad practice, then it should always be possible to identify at least one problem that hard coding environment values will cause.
Oct
9
comment Algorithms: How do I sum O(n) and O(nlog(n)) together?
@Emrakul actually I think the reasoning is theoretically sound as well as practical. O(n) is a proper subset of O(n log(n)). So if f(n) belongs to O(n) it also belongs to O(n log(n)).
Sep
21
comment Why don't developers make installation wizards on linux?
I think everything depends on what you are used to. I am used to Linux. When I am on Windows, I wonder why installing programs is so user-unfriendly.
Jun
19
comment What would be the Impact of P=NP?
@ArthurB so if P=NP and the reduction algorithm is O(n^99999999) is P=NP still such a big deal?
Jun
16
comment What would be the Impact of P=NP?
@ArthurB fascinating. Assuming that P=NP, what is the order of the algorithm?
Jan
5
comment At what point is version control needed?
This is very weak. It is unlikely that a shop does not need version control, but if a shop truly does not need version control and a candidate refuses to work for a shop without version control, then it probably is not a good match. That being said, I don't believe in the existence of shops that don't need version control.
Sep
19
comment Is it appropriate for interviewers to ask candidates for their Stack Exchange user name?
@jwg You can have multiple accounts. Use one to ask your dumb questions. Use another to write your brilliant answers. Use a third, fourth, fifth, ..., if the hoi polloi are not upvoting your brilliance enough. Wash, rinse, repeat.
Sep
13
comment Is over-engineering a warning sign?
"What is 2+2?" 4 versus "Let's see how creative you are. What is 2+2?" The limit of the sequence 3.9, 3.99, 3.999, 3.9999, ...
Aug
27
comment Is there a term for reusing code by retyping it?
@gnat if you didn't feel that way about reviewing your own code, then that would mean you have not grown intellectually. It is a good sign.
Aug
21
comment Does an Open Source license exist that allows me to retain rights to revoke usage of software/source at any time, for any reason, and without warning?
This is my understanding of how things worked. However, if the open source has multiple authors then it is no longer your decision alone.
Jul
14
comment Is it legitimate to ask co-workers to use specific browser in an intranet website?
Keep calm and close IE -- sd.keepcalm-o-matic.co.uk/i/keep-calm-and-close-ie.png
Jul
10
comment Is the List interface a leaky abstraction?
There is an even more general interface that is often sufficient in functionality: Iterable.