Understanding Java: Simplified Hello World for Socket ProgrammingApril 15th, 2006 In my experience much of the complexities a newcomer faces in the Java world is understanding extraneous stuff like handling exceptions or formatting data etc. Today I was requested for the nth time (n -> infinity) how to write a simple socket client and server (actually debug one).
How To: Server Socket Hijacking in JavaJune 6th, 2006 Overview
Socket hijacking allows you to override a server socket opened on the same port by a different process. There are several good uses of socket hijacking like developing a port blocker application (poor man's firewall) and some bad uses too.
Java / J2EE Needs to Add Ease of Use (Redundant) MethodsApril 15th, 2006 Java / J2EE (Java EE) API development should now focus on adding ease of use methods to the API. Often such methods will be redundant.
Server Security: How To Prevent Socket Hijacking on WindowsJune 14th, 2006 You can forcibly bind to the same address and port to which there is an open server socket by using SO_REUSEADDR option (ServerSocket.setReuseAddress(boolean on) in Java). Such reuse can be exploited by malicious applications to disrupt the functioning of the original server application and worse.
How to See Linux TCP/UDP Network and Socket informationSeptember 19th, 2009 After configuring services on the network in Linux system, it's important for you to keep tabs on the ports that are actually listening on the system's network interfaces. This is all more important because open ports are evidence of an intrusion.
3 Minute Guide To Configuring NFS & NIS ClientsMay 15th, 2007 Let us assume that you have already setup your NFS and NIS server. Now you need to configure your clients.
MySQL Tip: MySQL Server Has Gone Away Or Lost connection to server during query FixJuly 24th, 2007 A much dreaded MySQL error message during queries is "MySQL server has gone away". An alternative message is "Lost connection to server during query".
9 Important Tips for Selenium Remote Control (Java client) - Test ToolApril 16th, 2008 Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in many programming languages against any HTTP website using any mainstream JavaScript-enabled browser. Selenium RC is a powerful and simple framework for running (scheduled or manually) automated UI centric regression tests for web applications / services.
Solving pppoe: Timeout waiting for PADO packetsJune 6th, 2007 Our DSL link, provided by BSNL (aka World's crappiest broadband service), was down yesterday causing enormous hardship. However today when it came back up, I could connect it using Windows (yeah, we still have couple of spare laptops lying around) but not on Linux.
HitTail Website Goes For Tailspin - SolutionsJune 24th, 2006 HitTail is a nifty utility to get suggestions for writing your blog entries following the long tail model. All throughout the day I couldn't login to their site, proving once again - If it sounds too good to be true...
How To: ICMP Ping in Java (JDK 1.5 and above)January 6th, 2007 Programatically using ICMP Ping is a great way to establish that a server is up and running. Previously you couldn't do ICMP ping (what ping command does in Linux/Unix & Windows) in java without using JNI or exec calls.
Thin Client for Java Developers?October 24th, 2008 Would you give a thin client to your Java developers? My friend is trying to have 8+ Java developers working on thin clients running Eclipse. He is using a 8-way big iron with 8 GB RAM.
How To Address Translator Pro WarningsNovember 12th, 2007 We are having 2-3 reports of users seeing warnings (not error) using Translator Pro with the latest version of WordPress while posting a comment or publishing a post:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in .../wp-content/plugins/translator/translator.php(15) : eval()'d code on line 1080
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in .../wp-content/plugins/translator/translator.php(15) : eval()'d code on line 1080
Warning: Cannot modify header information - headers already sent by (output started at .../wp-content/plugins/translator/translator.php(15) : eval()'d code:1080) in .../wp-includes/pluggable.php on line 391
Paul Hartrick, one of our valued client, discovered that this was caused by Arne Branchold's XML Sitemap generator plugin. You can fix this issue by activating MySQL standard mode for XML Sitemaps plugin.
Linux / Fedora Core: How To Use rdiff-backup To Pull BackupsMay 26th, 2007 rdiff-backup is a popular, free, open source mirroring and incremental backup system for posix based operating systems like linux & Mac OS X. It uses rysnc algorithm through librsync but it doesn't use rsync.
How To Speedup Java Over 100%August 26th, 2007 Java is used either for long running server side applications / application servers or for running short scripts. Let's look at how you can speed-up both these type of applications.