88 items tagged “java”
2007
Why Tamarin instead of... Justification for Tamarin in Mozilla over Mono and the JVM. It mainly comes down to license compatibility and overall size.
Erlang fits all the characteristics of an OO system, even though sequential Erlang is a functional language, not an OO language
Java’s Fear of Commitment (via) How Java culture emphasises interfaces and layers of abstraction over solving problems directly.
NestedVM. Provides binary translation from a GCC compiled MIPS binary to a Java class file, letting you run anything supported by GCC on the JVM with no source changes.
Mac OS X Leopard: UNIX. Leopard ships with DTrace, and it’s been hooked in to Java, Ruby, Python and Perl.
google-diff-match-patch (via) Robust algorithms to perform the operations required for synchronizing plain text, in Java, JavaScript and Python.
I'd like to ask readers of this site which you're more interested in, Sun's JavaFX or signing up for TissueWorld 2008, the Premiere Exhibition and Conference for the International Tissue Industry.
Just because Java was once aimed at a set-top box OS that didn't support multiple address spaces, and just because process creation in Windows used to be slow as a dog, doesn't mean that multiple processes (with judicious use of IPC) aren't a much better approach to writing apps for multi-CPU boxes than threads.
Full Java Stack In Ubuntu. JDK6, Glassfish, NetBeans and Java DB are all available in the Multiverse repository for Ubuntu 7.04.
The promise [of J2EE] was that of infinite scalability based on tooling, which assumes that designing scalable systems is a general case problem. I now firmly believe that this is flawed reasoning. Frameworks don't solve scalability problems, design solves scalability problems.
Quercus: PHP in Java (via) A “fast, open-source, 100% Java implementation of the PHP language”, built to run on top of Resin. Claims to be compatibly with MediaWiki, Drupal, Wordpress, Gallery2 and DocuWiki.
JPC (via) Pure Java emulation of an x86 PC, running at 10% native speed. No code to download yet, but there’s a neat applet that lets you play Lemmings (and other games) running on FreeDOS.
Automated Translation of Java to Python. java2python can translate most Java code in to non-idiomatic Python, using ANTLR for the heavy lifting.
Two hosts are considered equivalent if both host names can be resolved into the same IP addresses [...] Note: The defined behavior for equals is known to be inconsistent with virtual hosting in HTTP.
Mr. Gosling—why did you make URL equals suck?!? Wow, the behaviour of java.net.URL.equals is completely idiotic.
In Which I Think About Java Again, But Only For A Moment. Convincing argument as to why desktop applications written in Java rarely have decent user interfaces.
Groovy 1.0 is done. They finally got to 1.0!
2006
Why do so many reddit users hate java? The answers provide a good overview as to why Java has fallen out of favour with the alpha-hacker crowd.
Java SE 6 Released. “Script engines” (like JavaScript, Jython and JRuby) become a first class citizen.
Bayeux. Comet might just make Java relevant for web development again.
2005
IBM to Free Java—Next Week? The question mark means it’s a rumour.
2004
EclipsePlugins (via) Eclipse is the only IDE I’ve ever used that has actually increased my productivity.
2003
Clearout
- Tristan Louis’ RSS to Necho convertor puts paid to the idea that the success of one format will be detrimental to the usefulness of the other.
- O’Reilly’s RegExp Power series (part one and part two) demonstrate some powerful tricks for use with Perl compatible regular expressions.
- Norman Walsh explains Content Negotiation and some of the pitfalls with modern browser implementations.
- So that’s what happened to Digitiser. See also a Digitiser Tribute and a Mr Biffo interview from 2001 for background information. I cuss you bad.
- George Orwell: Politics and the English Language
- Clay Shirky: A Group Is Its Own Worst Enemy. The title is misguiding; this is an essay about how online groups behave and how to look after them.
- A Java HttpClient Class.
- Some good stuff on Boxes and Arrows: Ten Quotable Moments: Challenges and Responses for UI Designers and Views and Forms: Principles of Task Flow for Web Applications (Part 1).
- Inside our notions of “document” and Inside our documents II—the Runoff model.
- 5 days worth of XSLT observations from Simon St. Laurent: One, Two, Three, Four, Five.
- Windows programming with open source tools: Minimalist GNU For Windows and Win32 Programming with GNU C and C++.
More Java
Simon Brunning has a great selection of online Java resources. I should really give it its own category.
Jython as a learning tool
In Jython Is Just Too Useful, Joey Gibson shows how Jython can be used to quickly demonstrate Java class libraries interactively, including using Python’s dir()
builtin to inspect available methods of Java classes. I used Jython last year while learning Swing for a piece of University coursework and found that being able to interactively create and manipulate Swing components (and see them appear on the screen as I typed) sped up the learning process a great deal.
Python for Java programmers
Python and Jelly: Scripting Power for Java and XML incorporates an excellent introduction to Python and Jython for Java programmers, with a whole bunch of comparative code samples and comprehensive coverage of differences between the two languages.
2002
JSP bits and pieces
I’ve been reading up on the Jakarta Struts MVC framework, courtesy of Simon Brunning. Struts, an open-source MVC implementation is a great starting point, and the ONJava JSP/JSTL series (also found via Simon) were very informative as well.
Java GUI Builder
One of the things I really like about PythonCard is that it enables (and in fact actively encourages) you to completely separate the GUi of your application from the program logic. In PythonCard you design your GUI by adding and dragging elements around in the resource editor, then create a simple Python class with event handlers to define what should happen when your GUI is interacted with. Now, thanks to the Java GUI Builder (spotted on Small Values of Cool), you can do the same thing in Java.
[... 229 words]