Java offers eight primitive data types which are not always adequate to store data of all types. There are situations when the specific data type does not fit into any of the primitive data types offered by Java. Thus it is essential to understand the boundaries and restrictions of the primitive data types in Java. In this article, I demonstrate a couple of the scenarios in which the Java data types are not sufficient enough and require substitute approach.
Following is the first article in a series Java for Beginners that shows how to write an application class in Java and introduces the reader to dialog boxes, string to integer conversion and other basics of Java. [Read more…]
Robocopy (aka “Robust File Copy”) is a very useful command-line directory and file replication tool that replaces and enhances the functionality of Xcopy, adding a slew of valuable options, especially when it comes to file synchronizations, mirroring and file backups in general. [Read more…]
In the first post, I have explained how to schedule nightly backups of Amazon Lightsail Instance by leveraging AWS Command Line Interface (CLI). In this post, I’ll show you how to create a bash file that can be scheduled to remove old AWS Lightsail snapshots and retain only a specific number of snapshots in your account.
The following is the Best of YouTube (Most Popular) Videos by Country.
The following article is a step by step guide on how to sync Fitbit data into a Google spreadsheet. [Read more…]
A little bit of research on Browser support for functions keys. The keys marked with OK are available to programmers, the rest is dedicated to the browser specific functionality. [Read more…]
Web administrators transitioning the existing WordPress sites (and image resources) to Amazon S3 have couple of paid plugins to choose from to ease the move to S3. However, most of the WordPress plugins come at a pretty hefty prices, some as high as couple of hundred dollars. The following guide outlines the step by step option that is completely free of charge. [Read more…]
This article is just me thinking loud about creating something better than the simple wordcount.java example that is usually bundled with the Big Data solutions such as Hadoop – which I covered in the previous post. I wanted a script that would be a bit more complex and relate more to a meaningful web indexing. I wrote a Java program that acts as a Web Parser and can programmatically provide the meaning of any website by statistically judging its content. If ran against Google search results, it can also provide AI like answers to complex questions (such as ‘who is the president of some country’), or guess the closest meaning behind the set of keywords (such as ‘gold, color, breed’ will result in the response: ‘Golden Retriever) – see the examples below. Of course, this is just a result of a bit of a spare time. But it’s something that could perhaps be further explored, as a method to derive basic meaning behind the textual content in big data (to get the gist of the content in couple words). Anyhow, in the current form it’s just a further play on Hadoop’s wordcount.java.
In this article I’ll outline my position on AJAX application model and try to provide an answer the following questions:
- Is AJAX just another fad, or will it continue to promote the development of Web-based software?
- Can an application model ever actually be taken seriously when it does not normally allow information storage on the local client or when certain users prefer working in an offline mode?
I’ll also explain whether I think that AJAX will continue to encourage the development of Web-based software or if we should use other technologies instead.
This article is the eighth post in the series that introduces HTML5 to beginners. We’ll design a simple HTML page, that will use AJAX to get a UTC date and time and some other details from a PHP file that will act as a server-side script. [Read more…]
Cross-site Scripting (XSS) and exploiting $_SERVER[‘PHP_SELF’]) is a fascinating topic. Let’s explain it a little. [Read more…]
If you experience a python – Error: That port is already in use, or Apache’s: Port 80 in use by “Unable to open process”, it’s very likely that another program is already using the port. For anyone who ever experiences this kind of issue, or whenever you suspect that something else is using one of the ports, please follow these instructions to resolve the problem and find which program is using a specific Windows port. [Read more…]