6,539 reputation
1438
bio website
location
age
visits member for 3 years, 4 months
seen yesterday

Feb
7
comment What is stopping people from copy-pasting open-sourced codes into their own projects and releasing only the compiled binaries?
"Our company would never knowingly use code contrary to its license, and this was specified in the contract. " I have actually had that happen. Someone used a GPL'd tool for internal testing which accidentally ended up in a distribution archive. A few weeks later we ourselves discovered it, cleaned up the archive, and redistributed to our customers. No harm intended, internal procedures for such things were tightened. The tool was never called inside the system, btw, it just ended up in the automated build because of a misconfiguration.
Feb
7
comment What is stopping people from copy-pasting open-sourced codes into their own projects and releasing only the compiled binaries?
just because it does the same thing doesn't mean it's a copy. Multiple code paths can lead to the same binary, multiple binaries can lead to the same decompiled code. And 2 people can have the exact same solution to a problem independently of each other. Same with those string literals. If I'm writing an FFT engine, the String literals I'd come up with would likely be (largely) identical to those of the next guy simply because the terminology is so well defined.
Feb
7
comment What is stopping people from copy-pasting open-sourced codes into their own projects and releasing only the compiled binaries?
@DXM most often such things are NOT done by company policy but by "rogue" employees taking shortcuts in contravention of company policy. And sometimes those very same rogue employees are later the ones "coming clean about my employer" and telling how they were forced to do it by "unscrupulous managers".
Feb
7
comment Are (mostly) client-side JavaScript web apps slower or less efficient?
@Carson63000 a client centric application would request tons of data, then filter it on the client, rather than sending the search criteria to the server and having that filter it.
Feb
7
answered Are (mostly) client-side JavaScript web apps slower or less efficient?
Feb
6
comment How to convince my company (operating in the financial sector) to switch from PHP to Java
@JamesSnell numbers please? Or are you simply a religious fanatic rooting for his favourite toy here (which would put you in the same boat as OP)? But yes, once it has been decided that the current infrastructure no longer meets business requirements, all alternatives need to be considered and weighed on merits. Which will likely lead to a selection of Cobol as the tool of choice for the future, it performs well, has been stable and well supported for decades (important to financials), and is well integrated with IBM hardware and AIX (which most financials run still) :)
Feb
6
comment How to convince my company (operating in the financial sector) to switch from PHP to Java
@AlexT financial plan? If those 20 Java coders each cost 3 times what one of those PHP coders was costing before you're still in the red. And the risk of critical people being lost increases as team size is reduced. Thus the risk towards business continuity goes up, which is a strong counter argument against reducing team size which a lot of financials will have in mind.
Feb
6
comment How to measure that a team is doing Test Driven Development
the person doing the reviews can't know whether you wrote the test before or after the code it's testing, only that both exist. And oh, most teams will use checked in code for their code reviews.
Feb
6
comment How to measure that a team is doing Test Driven Development
If I checked in failing tests in my job I'd have 3 angry managers on the side of my desk within half an hour because the automated build for the development environment failed. Tests are committed with the source they're testing. And THAT might be tracable from log analysis of your source control system logs if you have strict naming conventions.
Feb
6
comment What is stopping people from copy-pasting open-sourced codes into their own projects and releasing only the compiled binaries?
@ratchetfreak reverse engineering the binaries can't tell you if it were copy-paste or reimplementing the same algorithm in the same way (which is likely to happen, often there's not many obvious ways to implement something).
Feb
6
answered What is stopping people from copy-pasting open-sourced codes into their own projects and releasing only the compiled binaries?
Feb
6
comment How to convince my company (operating in the financial sector) to switch from PHP to Java
@DougM but it's not a valid business case as there are other programmers (and they already work there most likely...) whose personal preference is PHP.
Feb
6
comment How to convince my company (operating in the financial sector) to switch from PHP to Java
" But you should be aware that most of the people (at least most of the most noisy people) complain bitterly about Java" which is a vanishingly small minority of Java programmers, mostly people with an agenda towards pushing some personal favourite whatever (library, language, JSR). The rest are happily coding away.
Feb
5
comment FizzBuzz - really?
@Brian nonsense. People are rejected without programming ever coming up. Age is a major factor, in my experience job hunting over the years I KNOW I won't get the job if the person interviewing me is under 40 and/or female for example. There's just this idea in IT that people over 25 don't make good programmers, so if you have a few grey hairs and/or aren't built like an athlete you're at a serious disadvantage. I've been rejected for being too nervous ("you're obviously hiding something") and for not being nervous enough ("you're clearly not really passionate"), even for being single, etc.
Feb
5
comment Why Java does not allow function definitions to be present outside of the class?
and that shows you both don't understand people nor Java. You can use the same name for interface and implementation, as long as they're not in the same package.
Feb
5
comment Why Java does not allow function definitions to be present outside of the class?
@ErikReppen typically, the interface (or header file in C) is the thing that customers get in user readable form to write their solutions to, the rest being provided in binary form only (of course in Java, there's no need to provide the sources of the interfaces, classfiles and javadoc will do).
Feb
5
comment Why Java does not allow function definitions to be present outside of the class?
@Eugene in Java, they are classes. Packages are roughly the equivalent of C++ namespaces in Java.
Feb
4
comment Why is it hard to make a Java program 'appear native'?
maybe some people at Sun, but that sentiment was mutual. If you're developing exclusively for a single platform, a native tool for that platform is ALWAYS the prefered option, this has nothing to do with corporate politics. If you choose your tools based on "I hate Sun" or "I hate Microsoft" that reflects very poorly on your professional attitude. I've mostly used Java, but alongside that I've also used Delphi, C#, Ruby, C++, C, Progress, whatever was the best for the job at hand. And more often than not that will end up being a hybrid solution.
Feb
4
comment Why is it hard to make a Java program 'appear native'?
"Sun did everything in their power to make it hard to write java software that integrated in with an OS, " wrong. They simply put no great effort into making it easy. "Sun killed Java on the desktop by shafting all programmers that used the Microsoft java based systems" wrong, the mutual enmity between Microsoft and Sun caused Microsoft to create a version of the AWT libraries that wasn't compatible with Sun's requirements, causing the infamous Sun/MS lawsuits.
Feb
3
answered Is it okay to make coding style changes on an open source project that doesn't follow best practices?