Print log4j logs from jUnit tests
A short code snippet showing how to configure log4j to print logs to the console during JUnit test runs.
A short code snippet showing how to configure log4j to print logs to the console during JUnit test runs.
Gives an ffmpeg command for converting MP4 video files into AVI format playable on Panasonic TVs.
Software Engineering (10 years +)
A recap of talks and takeaways from Delhi BarCamp5, covering Python web frameworks, scalable architecture, the global financial crisis, and entrepreneurship.
An announcement previewing the upcoming Delhi BarCamp5 unconference, its venue, schedule and expected sessions.
An introduction to Kwippy, an Indian startup that aggregates IM status messages into a microblogging-style service built on Python, Django and Nginx.
Celebrates receiving a certificate for contributing to Firefox’s world record for most downloads in a day.
Describes using Python to analyze Java performance logs and visualize the timing improvements with the Google Chart API.
A personal recap of Delhi Barcamp 4 (2008), covering talks on entrepreneurship, Rails apps, and NLP, with the takeaway to build simple, value-adding products.
A Java programming trick for printing to the console without using a semicolon, by exploiting an if-statement expression.
Explains how Collections.synchronizedList can still throw thread-safety exceptions under multiple threads, and how block-level synchronization fixes it.
Shares an awk one-liner that analyzes shell command history to humorously reveal procrastination habits.
A technical post comparing Lisp, Python, and Java implementations of a simple SICP exercise on summing squares of the two largest numbers.
A short share of the humorous XKCD ‘Python’ comic about the import antigravity joke.
Details adding sorting and CSV/Excel/PDF export functionality to JSP tables using the Display Tag open-source library.
Warns against static synchronized methods for database access due to performance bottlenecks and recommends the DAO pattern instead.
Shares SQL*Plus spool scripts for exporting Oracle database tables to Excel spreadsheets, including a multi-table shell script.
Introduces using the Display Tags library to add pagination to JSP pages instead of writing custom pagination logic.
Describes fixing an Oracle ORA-12519 listener error by increasing the PROCESSES setting via ALTER SYSTEM.
Explains switching from System.out.println debugging to log4j for configurable, file-based Java logging, including setup within JBoss.
A step-by-step guide to configuring a JBoss datasource to connect to Oracle 10g Express Edition.
Ubuntu is one cool linux distro’s available these days , and they are shipping it free to your doors for promotional purposes. I requested it a month ago and it arrived yesterday to my place. i installed it on my machine as it came. ubuntu is an African word meaning ‘Humanity to others’, or ‘I am what I am because of who we all are’. To be frank ubuntu rocks and beats windows in every aspect as user friendliness is its key USP.