|
|
comments (0)
|
To import other system list of SAP logon to SAP 7.20 logon. Here are the steps:
1. Go to my computer and search for the environment variables
2. Click new on the box: System Variables and then click new to add a new System Variable:
3. Fill the following field with this value:
Variable name: SAPLOGON_INI_FILE
Variable value: Any directory on which you placed your saplogon.ini (for.e.g. //MyLogons)
4. After hitting ok, then you may now restart your logon and will be able to see all the systems ![]()
|
|
comments (0)
|
Project Study for Central Repository Storage
Proposal # 1
I was asked to generate study/assumption on how much file size will be needed for Central Repository Storage.
This also applies for Image File Size Calculation. The concept comes from the study of images and its format.
Let's say 2 case studies, max of 2 projects and 3 exams (2 departmental and 1 finals)
We will calculate this in terms of bytes. Before we discuss this, we need knowledge on how image is interpreted in based on its dimension.For example: if an image dimension is 1440x960. We can imagine that each pixel is a cell in a table while the image itself is a table as a whole. This means that there will be 1440 rows with 960 columns of cell in this table.
Now that we understand how pixels are interpreted in an image, we now calculate the data size of the image in terms of bytes. Since its dimension is 1440 x 960 then in order to get all the number of pixels, we multiply 1440 by 960 which is equivalent to 1382400.
Furthermore, multiplying your total resolution will yield your camera's pixel size. 1382400 is 1.3 Megapixel which can be found on your camera's label.
Now as we know that pictures have bit too. Most image file types like JPEG has 24-bit format,moreover 8 bits is equivalent to 1 byte which is why we have 3 bytes each pixels on the image. To calculate for the file size of an image, we now multiply 1382400 pixels (total number of pixels on the file) and 3 bytes (24 bit divided by 8 is equal to 3 bytes) and we get the total file size of 4147200
Case studies pages = 3 - 5 pages
Project paper pages = 5 - 100 pages
Exam paper pages 1 - 5 pages
This will yield, at maximum, 110 pages and we will treat each page as individual image. Therefore, we now have this formula for calculating
how much amount of size we will be using for a span of time:
I - the number of image for a single student ( 110 base on our assumption above)
M - the megapixel of your camera (e.g. 3.1 mp iphone, 5mp SE vivaz pro, 8mp SE xperia x10)
F - the file format bit (e.g. 24-bit, 12-bit)
I x ( M x F ) = total file byte size for a term
take note that this is only for single student
For example: if we implemented this with an iphone camera which has 3.1mp (3100000 pixels) camera and at JPEG format which is a 24bit format (3 bytes) , using this formula will produce:
110( 3100000 x 3 ) = 1023000000 ( 1.023 GB )
This means that each student can consume at least 1.023GB per term.
References:
File Size vs Image Resolution
http://reviews.cnet.com/4520-10166_7-6271235-1.html
Image File Format
http://www.scantips.com/basics09.html
|
|
comments (0)
|
The Android SDK provides a lot of virtual devices. It includes all versions of Android OS and also phone-specific OS such as Samsung's Galaxy Tab and more.
However, the SDK doesn't include Samsung's Galaxy Tab by default during the installation. Here are steps on how to add Galaxy Tab Android Virtual Device.
Step 1 - Go to Android SDK Manager
Step 2 - Select the Virtual Devices menu on the left side
Step 3 - Select the Samsung Galaxy Tab option and press "install selected"
Step 4: Wait and Let the installation finish itself ![]()

|
|
comments (0)
|
Apparently, mobile application will be very dominating this year, Thanks to the
cellphone companies for developing and transcending the capabilities of an ordinary
cellphone. Nowadays, cellphones are also known as smartphones which are capable of
computer-functionalities like internet browsing and gaming.
This led me to invite Android Development to my sideline, Now i have installed Eclipse
and Android Development SDK to my computer. As well as the ADT plugin for Eclipse
which allows as to mimic and emulate the environment of the Android OS for us to
develop and test our created applications.
After installing and updating, i suddenly encountered a problem with Eclipse,
The problem is the "New Project" window which requires as to supply them with
the following fields(as a developer, we are very familiar with these):
* Project name
* Application name
* Package name
* Create Activity
* Contents Panel
* Build Target Panel
Although in Android Project, it seems a little different from other types of project.
The problem lies on the Build Target Panel. The Build Target Panel is where you will
choose which type of platform you will be using (for e.g. Android 1.5, Android 1.6).
Furthermore this will also determine where your application will reside(this means your
applications will be installed, tested and deployed on that version of Android OS).
However after few steps, the Build Target Panel is empty but i have followed the
steps from Android development site properly
So here's the fix
If there are no targets showing on the panel go to
1. (Eclipse Tabs/Menu located on the top) Windows then Preferences
2. Then fill the SDK location where your Android SDK is installed
3. If you didn't change any name on the Android SDK directory, it should be name as:
"C:\Program Files\Android\android-sdk-windows\tools" select and put this location url to the SDK location
4. Hence you'll see the target names because the folder tools contain the targets.
5. Go back and create your android project, you'll notice the target names are now present on the Build Target Panel
Hope i have helped some of you guys, this is only for windows but just make sure that your IDE is looking on the right folder
|
|
comments (0)
|
$("#selecteditemss tr:last").after("
$("a[id=includeitem]").fadeOut();
$("a[id=excludeitem]").fadeIn();
$("tr[id=emptymsgrow]").fadeOut();
$("[id=selectediids[]]").append($("
").val("menu1").html("menu1"));
|
|
comments (0)
|
Basically, InnoDB allows foreign key constraints like ON DELETE CASCADE, ON UPDATE CASCADE and etc. InnoDB engine uses index for foreign keys so that it wont have a hard time scanning the whole table to search for the foreign key but rather it will only use an index to directly access the foreign keys without a sweat.
Create InnoDB tables will definitely test your patience, it has a many requirements before allowing you to accomplish a creating a table, especially when it has relationships(foreign keys) to other tables. Here's some mysteries i was able to uncover after playing out with InnoDB table creation.
1. Primary key constraints should be in not null or else the table with foreign key pointing to the primary key of other table will not be successfully created and will yield an error 1005
2. Before creatiion of table, one must have already mind up his mind with the constraints because alter query will just make your life miserable when modifying InnoDB tables.
3. InnoDB tables relate foreign keys to other InnoDB tables only, if both tables aren't using the engine InnoDB, no relationship will be granted.
My experiment:
mysql> create table human (id int not null, primary key(id)) engine=innodb;
Query OK, 0 rows affected (0.00 sec)
mysql> create table alien (id int not null, fk_human_id int not null, foreign key(fk_human_id) references human(id) ON DELETE CASCADE) engine=innodb;
Query OK, 0 rows affected (0.01 sec)
|
|
comments (0)
|
Select tags are very reliant in representing multiple values as a single object. It functions like an array in scripting languages such as Javascript. Therefore learning how to manipulate options and option's attributes will boost your programming skills and make your life easier than you ever imagine.
Here's how to loop on all selected options inside a select tag:
$('[id=selectedusrs[]] :selected').each(function(i, selected){
usrnames[i] = $(selected).val();
});
* The variable ' i ' in the first parameter in the function serves as the counter variable which increases every iteration is made.
* Make sure that your ' i ' variable was not used before this function executes, it will definitely not start at 0 which will produce error.
|
|
comments (0)
|
Recently, i was asked to enhance a software that generates reports with multiple mapping values. Here's a code block that i programmed in order to remove and add options from drop down menu.
// check if the drop down box is empty
if(document.getElementById('idofselectag').length != 0) {
// get the value of selected index from drop down box and put it at array index nCtr
frsPrint[nCtr] = document.getElementById('itemchoose').options[document.getElementById('itemchoose').selectedIndex].value;
// remove the value that was selected from the drop down box
document.getElementById('itemchoose').remove(document.getElementById('itemchoose').selectedIndex);
// add the remove value to the table cell with form
$("form#formid td#tabledataid").append(" " + frsPrint[nCtr]);
// move to the next index of array
nCtr++;
}
|
|
comments (1)
|

"take control of creatures and also permanents turning creatures as well."
The release of Captivating Vampire will provide more variation to Vampire Decks in standard. A creature with +1/+1 to vampire types while possessing 2/2 power toughness is a package that will surely enhance your Post M11 Aggro Vampire Deck.
The Captivating Vampire's ability has an edge over any other mind controlling cards in standard today. Mind control can only take creatures during the controller's turn because it is an enchanment, this ensures that Mind Control cannot control permanent transforming creatures(thou it may control man-lands if player A activated it during the turn of the player B who has Mind Control in his hand which is a little awkward to do unless you are in a situation of forced to block). On the other hand, Captivating Vampire is a creature ability which means it is as fast as instant speed, providing you with the right of surprising your enemies while preventing him/her of playing MVP creatures in the battlefield. In addition to his greatness, it also gives the controlled creature an additional type which is vampire, as a result the controlled creature is also affected with the static ability +1/+1 to other vampire creatures.
To emphasize the greatness of Captivating Vampires, here are some points to take note of:
POINT # 1: Captivating Vampire steals and turns Gideon Jura to a vampire.
Captivating Vampire presence will prevent players from using Gideon Jura +0 Ability that turns him into a creature. When Captivating Vampire steals a Gideon Jura in creature form that will only last for a turn. However, Gideon Jura remains captivated even if it is not a creature anymore, allowing the player to use other Gideon but by activating the +0 ability it will once again become a Vampire subtype.
From Magic The Gathering Rulebook:
204.1a When an object’s card type changes, the new card type(s) replaces any existing card types. Counters, effects, and damage marked on the object remain with it, even if they are meaningless to the new card type. Similarly, when one or more of an object’s subtypes changes, the new subtype(s) replaces any existing subtypes from the appropriate set (creature types, land types, artifact types, enchantment types, planeswalker types, or spell types). If an object’s card type is removed, the subtypes correlated with that card type will remain if they are also the subtypes of a card type the object currently has; otherwise, they are also removed for the entire time the object’s card type is removed. Removing an object’s subtype doesn’t affect its card types at all.
Sources: source1

"cool isn't?"
POINT # 2: Captivating Vampire steals and turns Man-lands to a vampire.
Just like Gideon Jura, it changes its type when +0 ability is activated. It also applies to man-lands(Celestial Colonnade, Creeping Tar Pit, and etc.). Making the lands turn into creatures will regain back its vampire type and loses it at the end of turn. In addition to these wonders of activating Captivating Vampire stealing ability , the captivated creature remains captivated for the rest of the game which means even if it loses it creature type at the end of turn the permanent will still remain yours for the rest of the game.
POINT # 3: Captivating Vampire supports the existence of Vampire decks by proving himself as a moderate substitute for Vampire Nocturnus .
As we know that Vampire Nocturnus was not able to make it on m11, it is still a not bad substitute for Vampire Nocturnus when it leaves the standard on October. On the other hand, we dont really know if they are going to make a new Vampire Nocturnus or like to the next set which is Scars of Mirrodin. However Vampire Nocturnus is more suitable for any Vampire Aggro Decks because it serves like an Eldrazi Monument for Vampire Decks.
|
|
comments (0)
|
Greetings, It's been a while since i last posted an entry on my blog, now i found a little time to share some of the things happening to my life. Today, i am going to share how i came up with the decision of taking graduate studies.