Posts

Data types and Identifier in JAVA

Data Types in Java Java language has a rich implementation of data types. Data types specify size and the type of values that can be stored in an identifier. In java, data types are classified into two catagories : Primitive Data type Non-Primitive Data type 1) Primitive Data type A primitive data type can be of eight types : Primitive Data types char boolean byte short int long float double Once a primitive data type has been declared its type can never change, although in most cases its value can change. These eight primitive type can be put into four groups Integer This group includes  byte ,  short ,  int ,  long byte :  It is 8 bit integer data type. Value range from -128 to 127. Default value zero. example:  byte b=10; short :  It is 16 bit integer data type. Value range from -32768 to 32767. Default value zero. example: short s=11; int :  It is 32 bit integer data type. Value range from -2147483648 to 214748...

VirusTotal Lets Apple Fans Play With Fire In The Malware Sandpit

Image
Google’s VirusTotal has begun running Mac apps in  Sandpit  environments to test for malware and malicious activity. The move has come not a moment too soon for many Apple users. Malware, and especially adware is at an all-time high. A report released in October by  Bit9,  claimed that more malware had been discovered on Apple operating systems in 2015, than had been found in the previous five years in total. Enter VirusTotal VirusTotal, owned by Google, is an online virus scanner. It is popular with both everyday users, and industry professionals, and is free to use. The  VirusTotal website  allows users to upload suspicious files and have them be scanned by 54 different antivirus products. Big Names Among the antivirus scanners utilized are some big industry names, including: Avast Avira ESET Panda McAfee Having the ability to scan any file you deem ‘dodgy’ by 54 of the world’s leading anti-malware companies is reassuring to mos...

Germany To Use Trojan Software To Monitor Citizens

Image
The German Federal government has  approved  the use of a “federal Trojan” for investigative purposes by state intelligence and security agencies, according to an announcement made by a spokesman for the German interior ministry. The news was announced on Monday that the usage of Trojans had been authorized to monitor suspected citizens, and it could be put to use as early as this week. According to the Federal Data Protection Commissioner,  Andrea Vosshof f, testing of the software has already been completed and will be used to follow and monitor the actions and movements of suspected criminal and terrorist groups and individuals. Trojan software?  Isn’t that supposed to be bad news? Yes, it is normally. I suppose it’s approval by the  Interior Ministry  can either be viewed as a reasonable common sense law enforcement initiative, or a Big Brother like overreach encroachment into the everyday lives of German citizens. Whatever your viewpoin...

More To The Locked iPhone Story Than Meets The Eye

Image
With varying news reports swirling across the internet, it’s hard to get a full grasp on the now-infamous locked iPhone case. Some reports have indicated that the FBI is the one that  accidentally locked  the San Bernardino shooter’s phone and reset the password by trying too many login attempts. More telling reports have stated the local government agency who issued the phone was actually  paying a monthly service charge  for remote access to the phone (since it was not the gunman’s personal property, but was issued by his employer) but never got around to setting it up. Would-be politicians have even weighed-in, with US Presidential candidate and media circus favorite Donald Trump calling for a boycott of Apple products until the company complies with the court order. One thing is for certain, though, and that’s the reaction from consumers. It’s easy to envision millions of customers scrambling to get the content out of their phones on the off-chance that the...

CCleaner: Fast, Powerful, Essential

Image
CCleaner has been around for a long time, and over that length of time, has managed to carve out a solid reputation for itself. This is one of the few programs that has a permanent space reserved for itself on all of my machines. There’s not really a lot that I can add to that. It takes a few seconds to download, doesn’t hog all your system resources once its installed, and has been designed with ease of use in mind. CCleaner is one of the best tools available for optimizing your system. The nice thing about that statement is that although there are 2 pay-to-use versions available, the free version that we’re talking about today, is still better than pretty much most of the other paid versions out there. Not only that, as the years go by, the devs at Piriform just keep on making it better. Right. But how does it work? Despite what Microsoft would have you believe, Windows isn’t perfect. The OS collects unused files, documents and general bits of garbage here and there, that o...

Ransomware Attacks Are Life And Death

Image
In today’s installment of “straight out of Hollywood” (literally and figuratively), a Los Angeles hospital was nearly crippled by a ransomware attack on its network. Hollywood Presbyterian had to revert to paper medical records and registration for admitted cases, while emergency room patients were actually diverted to other hospitals, potentially causing life-threatening delays in trauma treatment. What’s so horrible about a little computer glitch that would keep a hospital from treating a critically ill  patient? Everything. Ransomware, as the name implies, is malicious software that infects a network and roots around, often  disabling critical systems and bringing business to a halt. In exchange for meeting the hacker’s demands,  a clean-up option is offered in order to restore network function. In this hospital’s case, the details are  murky  while the FBI still investigates, but some reports uncovered by ArsTechnica claimed that the hospital’s ...

MySQL CONSTRAINT

Description MySQL CONSTRAINT is used to define rules to allow or restrict what values can be stored in columns. The purpose of inducing constraints is to enforce integrity of database. MySQL CONSTRAINTS are used to limit the type of data that can be inserted into a table. MySQL CONSTRAINTS can be classified into two types - column level and table level. The column level constraints can apply only to one column where as table level constraints are applied to the entire table. MySQL CONSTRAINT are declared at the time of creating a table. MySQL CONSTRAINTs are : NOT NULL UNIQUE PRIMARY KEY FOREIGN KEY CHECK DEFAULT CONSTRAINT DESCRIPTION NOT NULL In Mysql NOT NULL constraint allows to specify that a column can not contain any NULL value. MySQL NOT NULL can be used to CREATE and ALTER a table. UNIQUE The UNIQUE constraint in Mysql does not allow to insert a duplicate value in a column. The UNIQUE constraint maintains the uniqueness of a column in a table. More th...