Fix for unexplainable common crashes of IBM Notes with Eclipse

IBM introduced with Lotus Notes Version 8.x the Eclipse-based extension that comes with many new featurelotusnotess and functions.  A world of new opportunities for software failures appears.

Lotus Notes present a Fault Reports database that made it easier to gather crash information, but doesn’t provide any tools for fixing the issues or identifying the cause of many errors in the Eclipse configuration information that is stored in the \Workspace directory located in the Notes data directory.

It could present a variety of errors from the client closing as soon as it is launched to crashing whenever the user tries to send an email with an attachment.

Read the rest of this entry »

Android Pro tip : Toolbar title font

You have an awesome app with some awesome design elements, the last step in making your app really stand out is typography. The fonts you use in your app can make a really big impact so, naturally,  you choose and apply some awesome fonts and then you realize:  there’s one part of your app that doesn’t quite match the style – that’s right – the text from the Toolbar. Keep reading to find out how to fix this Read the rest of this entry »

Tags: 

Android Pro tip : tools namespace

If you have ever designed an XML layout, I am certain that you used some hard coded values at least once. How many times have you forgotten to remove those values and they ended up in your final product ? Yeah, I don’t like that answer either !  Continue reading if you want to know how to avoid this pitfall… Read the rest of this entry »

Tags: 

ETL concepts

Over the years large amounts of data have been stored for business purposes. To turn this data into consistent and accurate information for a specific use, it somehow needs to be transformed.

And so we get to the ETL concept …

Read the rest of this entry »

SQL : Updating Oracle table with data using subquery

In Oracle Database 11g , when you need to update values of certain records from one table,  and the value and the records to update are determined by a second table, you can use a subquery in the update statement to achieve the update.

Using “EMPLOYEE”  and “EMPLOYEE_STAGING”  tables as an example , we want to update field “SALARY” – table “EMPLOYEE” with the values from field  “SALARY” – table “EMPLOYEE_STAGING”.

Read the rest of this entry »

How to install Yii Framework on XAMPP for Windows

Yii-logo-transparent

 

Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as “Yee” or [ji:] and it’s an acronym for “Yes It Is!

The first thing you need in order to use the Yii Framework is access to a Web server with PHP installed, of course. But if you’re reading this, I’m going to assume you have access to a PHP-enabled server. Note that the Yii Framework does require PHP 5.1 or above.

Installing Yii framework

Get the Yii framework from the site http://www.yiiframework.com/download/

Extract the compressed files into XAMPP htdocs folder, e.g. C:\xampp\htdocs\yii.

Read the rest of this entry »

SQL Injection. How to prevent it from happening in PHP.

SQL injection as a matter of security can be approached from multiple angles. One must first be sure that the targeted application has a confidential database structure, since this is the main thing that makes SQL injection possible.

Also, it’s important to notice that SQL injection is not something that happens arbitrary or from time to time, it takes place on most known websites. In figure 1 are illustrated the results of a study realized by Ponemon Institute about the intensity at which SQL injection takes place on most websites (year 2013):

articol-1

(Source: http://securityaffairs.co/wordpress/24094/cyber-crime/ponemon-sql-injection-attacks.html)

Read the rest of this entry »

Android product flavors (part 2)

Hey there ! Welcome to the second part of the Android product flavors tutorial. In the first part we learned how to setup our project to use product flavors, and how to add custom icons and resources to the flavors. The second part will cover using custom layouts and adding custom code to the product flavors. Read the rest of this entry »

Android product flavors (part 1)

By now, every Android developer has heard of product flavors. We all know they allow us to add small customization to our application, for example, we could change the app icon or the app colors. This sounds great, imagine all the things you could do ! But what if you’ve never had the chance to use product flavors before ? Don’t worry, we got you covered, the following tutorial provides an introduction to product flavors and what you can do with them. Read the rest of this entry »

Android signing configuration tutorial

Android Studio has introduced a lot of new features that make our lifes a lot easier. One of those features is generating signed apks using Gradle. The basic idea is that you provide all the required properties (keystore password, alias and alias password) in the build.gradle file of the application you want to sign. But what happens if you don’t wan’t to add the keystore and/or credentials in the Version Control System (VCS) ? The following tutorial presents a solution to this problem. Read the rest of this entry »

Tags: