Lubos Programming Blog

Lubos Blog about Programming (mainly Java) and Computers

Archive for the ‘tools’ Category

Facebook API notes

Posted by lubosp on May 22, 2010

 

Posted in tools, web | Tagged: | Leave a Comment »

Using Git SCM

Posted by lubosp on May 22, 2010

Following post is just a collection of links I collected while started using Git source control system:

Posted in tools, vcs | Tagged: | Leave a Comment »

Test of the Microsoft Live Writer

Posted by lubosp on October 8, 2006

This is the first blog created by using MS Writer.

  • list1
  • list2
  • list3
  1. number1
  2. number2
  3. number3

Heading1

Heading2

Heading3

Heading4

Heading5
Heading6

Posted in tools, windows | Leave a Comment »

Excelent web testing tool Selenium IDE

Posted by lubosp on February 7, 2006

Excelent web testing tool Selenium IDE http://www.openqa.org/selenium-ide/.
It is possible to develop JUnit tests in Selenium
http://www.openqa.org/selenium/driven.html,
but it is not straightforword as it is with JMeter which allows you to record tests (albeit more cumbersome them Selenium by using proxy), and execute test from Ant or from JMeter UI.
But JMeter does not have ability to debug the test scripts as Selenium has. I have heard about Selenium at NoFluffJustStuff
http://www.nofluffjuststuff.com/index.jsp conference I have attended in November.

Posted in testing, tools, web | 1 Comment »

StatCVS offers a view into CVS repository activity…

Posted by lubosp on February 26, 2005

StatCVS offers a view into CVS repository activity

StatCVS is a handy utility for creating charts of a Concurrent Version System (CVS) repository’s activity. In this article, developer Tom Copeland explains how to install and run StatCVS, gives an overview of the reports generated, and then explores generating reports for multiple repositories, StatCVS internals and limitations, and more.

[via IBM developerWorks Java technology zone]

Posted in tools, vcs, web | Leave a Comment »

RSS Feed Reader / News Aggregators Directory :: hebig.org/blog

Posted by lubosp on January 3, 2005

RSS Feed Reader / News Aggregators Directory :: hebig.org/blog

Posted in tools | Leave a Comment »

Vincent Massol Think Tank – Top build-breakers

Posted by lubosp on January 1, 2005

Vincent Massol Think Tank – Top build-breakers

Posted in tools | Leave a Comment »

Home Page of Jad – the fast Java decompiler

Posted by lubosp on December 31, 2004

Pretty good Java decompiler, get the FrontEnd Plus UI for JAD decompiler

Home Page of Jad – the fast Java decompiler

Posted in java, tools | Leave a Comment »

Nice tools for Java developers

Posted by lubosp on December 31, 2004

Nice tools for Java developers [Java Java Proxy]
This time a collection of links to various tools that can easen our burden a little bit.

First, PDF and Excel creation using pure Java. This may seem unnecessary to small projects, but turns out to be quite handy, especially as more and more technical literature and external communications are written in PDF. We shouldn’t forget about Excel also: altough this is “we love to hate” Microsoft product, but one must agree that it gives the end user the time of his life creating the slice charts.

The following two packages allow reading and writing PDF and Excel files from Java:

  • PDF – IText from here
  • Excel – JExcelAPI from here

Pay particular attentions to the example that explains how to create a dynamic PDF which is sent to the web-based client from the servlet. This doesn’t involve creating the PDF on the web-server file system. The resulting stream is treated by the client automatically based on the content header and then associated with the corresponding plugin.

In addition, Jakarta POI project allows manipulating OLE2 Microsoft format used for all Office formats. Currently supported is – full support for Excel, simple capabilities for Word. More open-source for PDF can be found here

And now to the more prosaic world of memory profiling. This beast starts to raise its ungodly head when you suddenly find out that the garbage collection can get you so far. This much appraised mechanism makes our lives much easier, freeing us from both dreaded UNIX segmentation faults and elaborate C++ mechanism of virtual destructors; on the other hand we grow sloppier every day in forgetting to “free” objects that are no longer needed. This is referred to as unintentional retention.

I’ve experienced this one lately: there’s a massive computation performed by some object. This object creates a series of graphs, each having hundreds of thousands of nodes, and eventually splits these graphs. The result is a very compact segmentation of some input space which later is reused. As this computation is spread through several functions, i’ve decided to store these graphs in a member list variable. In the outer classes i store a reference to this object for reuse of the result. Guess what? The intermediate results are stored as long as this object lives, because I didn’t nullify them

So here a few tools (only one of them was actually run by me) that are collectively known as heap profilers:

  • hprof, not a tool on itself, more of a utility supplied with JDK. Detailed explanation is provided in this article from Sun
  • HAT, Heap Analysis Tool that works with Java 5.0 and provides a web-based GUI (in your browser of choice). Make sure though that you update the hat.bat to use -Xmx512M: for an hprof file of 46Mb, the JVM running Hat takes over 303Mb.
  • HUP, Heap Usage Profiling available here
  • HeapAnalyzer available from IBM (after they force you to tell them everything about yourself in a 10-page web form)

So, the next time you complain to your boss about that 1GB RAM that doesn’t meet your needs anymore, use these. The GC itself will thank you.

Enjoy
Kirill

[via java.blogs Day’s Entries]

Posted in java, tools | Leave a Comment »

Are you blogging at work? [Blogging Roller] Weblog…

Posted by lubosp on December 28, 2004

Are you blogging at work? [Blogging Roller]

Weblogs have been appearing all over the intranet where I work and I keep hearing about behind-the-firewall blogs at other companies. I’ve heard of… [151 characters]

[via java.blogs Day’s Entries]

Posted in tools, web | Leave a Comment »