How To Connect To CVS Via Proxy ServerFebruary 10th, 2007 CVS is commonly used by open source project to provide access to their source code. Here is a simple way how you can connect to CVS server from behind a proxy server.
Sun Open Sources Java (April Fool)April 1st, 2006 In a significant (read earth shattering for Java community worldwide) move Sun has announced their decision to open source Java technologies. The JCP will be disbanded in favor of open source bazaar model.
How To Change Java Compiler in Ant on Fedora Core / LinuxJune 22nd, 2007 Fedora Core team, in its infinite wisdom, decided to ship a so-called "free" (but essentially useless and crappy; pardon my French) JVM (read gcj) with its installation. Not only that this "free" JVM is integrated with java softwares from Fedora repositories making them pretty hard to use too.
Update On Super Simple Java ORM Replacement in 80 LinesSeptember 13th, 2006 I have been inundated with emails after my article Java Database Framework (ORM Replacement) in 80 Lines of Code, asking for the source code of the framework or if I could release it as open source. I haven't been yet able to individually reply to all of them, sorry.
How To Install JDK 6 / Java SE 6 (+ Tomcat) in Fedora Core 6 / Fedora 7 in 5 MinutesAugust 7th, 2007 Fedora Core developers make it rather hard to install and properly configure Sun's JVM. All said and done Sun's JVM (comes with JDK) is the best JVM implementation out there; not to mention that it is the reference implementation.
Core Java: How To Get Java Source Code Line Number & File Name in CodeSeptember 8th, 2008 While debugging code Java programmers often use System.out.println(). It is important to write separate message in each System.out.println() so you can understand from the output where the problem lies.
How to Compile Java Source within Java ProgramMarch 26th, 2009 This small trick will tell you how you can compile a java source file from another java file on the go. You do not need to run it on a different page and compile it there and then get back to this program.
Top 10 Java Features (or What Makes Java Great)May 3rd, 2006 Here is a list of top 10 java features I constantly use and highly recommend; features which makes Java great as a language and platform. JSP & Servlets - Most of java development today is arguably done on JSP & Servlets.
Open Source Java Months Away Says Sun ExecutiveJune 29th, 2006 Simon Phipps, chief open-source officer for Sun, said the Sun is "months" away from releasing its trademark Java programming language under an open-source license. He said Sun is ruminating over two major issues: how to keep Java compatible and ensure no particular company uses market forces as muscle for its own implementation, a move that would threaten Java's "write once, run anywhere" mantra.
How To Clean Subversion DirectoriesJune 15th, 2006 When you checkout a repository from subversion it creates a .svn directory (with subdirectories) for every directory (and subdirectory) checked out. The .svn directory contains information about the repository and files in the directory and allows you to run svn commands without having to authenticate yourself in future.
Open Source J2Se is an absolute must for Java developers; All hail Apache HarmonyMay 9th, 2005 Which JVM do you want to use today?
Sun Open Sources Sun Java Studio Enterprise - Enterprise-Class Java EE Development ToolApril 12th, 2006 Java Studio Enterprise provides a complete solution for architecting and implementing large-scale enterprise applications in Java EE. Sun plans to open source major elements of the Sun Java Studio Enterprise as a project on NetBeans.org - NetBeans Enterprise Pack.
Sample Code: Making Robots in Java (JRobot)April 20th, 2006 I talked about JRobots, an extremely addictive Java game where you develop robots in java to fight against other JRobots in a monthly battle royale. Today I will present you with a simple sample JRobot to encourage you to participate in this contest.
GCJ is Dangerously BuggyJune 13th, 2007 GCJ 1.4.2 which was forcefully bundled with Fedora Core 6 (and has been updated from their repository to the latest available version) must not be used with any enterprise product, nay for any Java project at all. I know it is being used in OpenOffice, which I think is a serious mistake.
5 FaceBook Source Code SecretsAugust 15th, 2007 I glanced over the Facebook source code for both index and search pages. As an enterprise developer of some experience, source code is always interesting to me as it provides an insight into the health of a company.
December 7th, 2007 at 9:19 pm
OHH NO, Another plugin
Don’t we already have plugins that do that ?
Also, It seem’s to check for two things only (complexity and coverage)
Anyway,I don’t know anybody who wants their code to be called crap. But it’s a nice way to get our attention for their plugin.
I use IntelliJ IDE and most of what I do is web developement (JSP,javascript and form handlers).
My experience tells me that spending a little time in the beginning to think through the problem will go a long way in writing quality code and you don’t need as my test cases(especially trivial ones).
Coming back to IntelliJ , the IDE has many inspections by default that it can run on your code and I went back to check for this and found it.
The inspection say’s this :
This inspection reports any instances of methods that have too high a cyclomatic complexity. Cyclomatic complexity is basically a measurement of the number of branching points in a method. Methods with too high a cyclomatic complexity may be confusing and difficult to test.
Another reason for me to love it
BTW, your spam guard kicked me out twice when using Opera. Iam trying this with FF.Let’s see
December 9th, 2007 at 9:42 am
> Anyway,I don’t know anybody who wants their code to be called crap.
I have seen code worse than crap. However as you said nobody would like to call their own code crap.
> My experience tells me that spending a little time in the beginning to think through the problem will go a long way in writing quality code and you don’t need as my test cases(especially trivial ones).
While it may be true for the experienced programmers, even they can benefit from good unit testing. As for the rest unit tests go a long way in creating reusable quality code.
I have sent you an email wrt. your problem with our comment protection.
December 9th, 2007 at 11:48 am
In my first comment I said ‘Not another plugin’. I did that because often times I question the motives behind what some of the OSS guys are upto.
My suggestion for anyone coming up with an open source product is to provide justification for it by 1) Telling what they are doing.
2) What’s out there in the market (both free and commercial) that does the same thing(or similar).
3) If there are any OSS products, why did they choose to create this one instead of contributing to the other.
3) Why is their product different.
I think, lot of people , who wasted countless hours evaluating these products can relate to what Iam saying.
Another metric I apply to OS products is this: If it costed x dollars would I buy it?