Friday, March 4, 2011

How about Html5 vs Flash ?!

    The manner in which most videos are currently played through browsers these days is through a Flash plugin. This works pretty well but Flash unfortunately requires a lot of computing power. A new web standard HTML5 is trying to change that.

    HTML5 has been designed with audio and video codecs which should take less processing power than an equivalent Flash player. Independent tests have shown that this is generally so although not entirely across the board. As with most new technologies, things are not always clearcut. However even with improvements in processing efficiency from HTML5, it should not be assumed that it will completely replace Flash or even have a significant impact, especially on rich web content. Flash still has many advantages such as:

~ Better sub pixel resolution and anti aliasing
~ It’s good excellent developer tools (far more extensive than HTML5)
~ Flash has a vast array of good looking and impactful fonts

    At this point, graphic artists and game developers still love Flash. And though they certainly like the idea of being able to operate with less computing overhead, they want to get the most control and ability to generate outstanding results.However for many simpler video playback application such as in YouTube, HTML5 has the ability to quickly surpass Flash as the video/audio player of choice in browsers.
 At this point, the development of the YouTube HTML5 supported player is still in its early phases and a lot more tweaking and refinement must be done. It also needs more support to work properly with other browsers and extensive testing to work out instability and incompatibility issues. However since it’s on an open platform, there are many people working through these issues so it is just a matter of time. But many people feel that this process could easily take years. There are still many issues to work through.
    This gets down to some parts of the HTML5 specification which are viewed to be controversial by many critics. And the fact still remains that HTML5 is not compatible with all browsers and many users are resistant to changing to another browser. As far as the average computer user is concerned, if it works ok for them they are not interested in moving to another browser. For example, Intenet Explorer is largely criticized for its instability and security flaws. Yet many people steadfastly hold on that browser and are very reluctant to change to something like Firefox or Chrome.        
    So be aware that even with the potential efficiencies which HTML5 can bring, don’t expect rapid deployment or changes away from Flash.
Read rest of entry

Tuesday, March 1, 2011

[share] python script for uploading file via ftp

Okay, my friends, see you again. Today i will share to you the simple python script for uploading file via ftp (file transfer protocol). This script is very simple and tiny file. Just Copy and paste this script to your notepad or text editor, and edit with your ftp server address, username and password, after that just save with *.py in case i save it with ftp.py name.
Okay so let me show you the script,
 
#!/usr/bin/python 
# usage: python ftp.py filename

import os,sys
from ftplib import FTP

server = 'ftp.domain-example.com'
username = 'your-username'
passwd = 'your-pass'
filename = sys.argv[1]
ftp = FTP(server)
ftp.login(username,passwd)
fp = open(filename, 'rb')
ftp.storbinary("STOR "+filename, fp)
ftp.quit()

for use it just type on your command line (terminal) with this command :
$python ftp.py filename
Change "filename" with your filename that you want to upload it to your server.
Its DONE!
Read rest of entry

Monday, February 28, 2011

[How to] keep and maintain phone with 8 ways

The phone is no longer a luxury item, almost everyone in all walks have this communication tool with a variety of interests. By phone, we can be contacted and contact anyone, anytime and anywhere. Practicality of communication which is the main choice why someone uses a mobile phone.


With an increasingly dominant role of mobile phones today, it is no wonder if we should treat these things as possible so that its effectiveness maintained. Quoted from Computerfreetips, Monday (03/31/2008), there are eight ways to maximize their mobile phones and all devices in it.

1. Caslah battery fully and immediately refill your battery if it has run out. Charging the phone battery when the battery power is only slightly reduced or not fully discharged battery will cause the fast is broken.

2. Enable mobile access as a PIN code that is in the SIM Card or Phone code-Lock to avoid the meddling hands of less responsible for who can use your phone illegally.

Even with the number International Mobile Equipment Identity (IMEI) phones, we can block the stolen mobile phone so as not to be used by irresponsible parties. The IMEI number can be used to determine whether the handset is damaged, as well as to follow up on complaints against mobile phone theft. Therefore, there is nothing wrong note the IMEI number so that when you lose your phone, you can report it to the operator. Thus, the operator can trace the existence of the lost cell phone and blocking them.

3. Turn on the phone keypad lock to prevent unplanned calls to certain numbers.

4. Select the official battery quality assured. Although expensive, the official battery more durable and secure than the fake batteries are often sold at prices much cheaper. Wearing a fake batteries are less durable will force us to do the extravagance with frequent charging.

5. Use a soft cloth to clean the phone, do not ever try to clean the phone with liquid chemicals and other cleaning fluid as it will damage the phone.

6. Use protective gloves such as mobile phones, and other plastic wrap to prevent the phone from dust, dirt including scratches.

7. Put your phone in a dry and safe. Avoid the use of mobile phones in places that are prohibited because it would cause dangerous electrical currents and other threats.

8. Always carry the phone in a place with stable temperature and normal so there is no cell phone damage due to condensation and the temperature is too high or low.
Read rest of entry

[lyric] music hiphop too phat - Alhamdulillah feat Yasin [english]

Today i will share for u about my favorit music right now that is too phat - Alhamdulillah,
i love this song 'cause i can get many benefit from this song. i always thankfull to ALLAH for everything i have, so i will give u the lyrics, lets check it out.. 

[lyric] Too phat - Alhamdulillah feat Yasin

Chorus
Ult li albi bissaraha (I'm opening up my heart with honesty)
Hayya nab'idil karaha (Let’s avoid the hated and hatred)
Syakkireena a' kulli ni'ma (Let's remain thankful with what we have)
Ba' ideena anil fattana (Let's avoid all lies and sins)

Verse 1
I feel the heat
From these 4 candles burning
As I'm staring out the window
In solitude I look at life
From different angles
Thoughts strangled
My mind is suffocatin'
In this truth quest
A greed law
That we abide by is ruthless
Enough will never satisfy
Until we toothless
Filthy millionaires
Are gamblin' until they muflis
A sad fact of life
But mankind approved this
I gotta call Him
Sajadah is where the booth is
I'll make it clear that
I ain't even tryin' to preach ya
By sharing thoughts I hope
To find a little peace here
I thank Allah for blessing me
To be creative
So here's a diss for me
For bein' unappreciative
Wanted a perfect life
Yeah smile then die old
Fame, money, women
Phat cribos and white gold
Drive my own Beemer
Before I hit two six
A straight pink bitin' toothpicks
Who walk around town wit' two chicks
And doin' new hits to woo tricks....
Now that's wrong
Pleasure from partyin'
And bullshit don't last long
A lotta yuppies sneakin'
Cars out when dad's gone
Crackin' bottles in clubs
Frontin' designer fashion
But I ain't about
To trade happiness for a Jag
So stop smilin' with your ragtop down
Cause for a fact
I don't care about your money
Or how slick your car
'Cause no matter how rich and big you are
It's still Allahuakbar...

Chorus
Ult li albi bissaraha (I'm opening up my heart with honesty)
Hayya nab'idil karaha (Let’s avoid the hated and hatred)
Syakkireena a' kulli ni'ma (Let's remain thankful with what we have)
Ba' ideena anil fattana (Let's avoid all lies and sins)

Verse 2
I know that all this
Ain't the right thing
Partying, chasing moneys
And material things
Flying high
Think nobody gonna
Clip my wings
I'm lying to myself
Knowing that
I've been neglecting
Responsibilities
As a healthy Muslim
Riches and loot
Ain't nothing
We frontin'
Diamonds and scrilla
But forget to say
Alhamdulillah
Made my album a killer
Plan B
Now 2-3 droppin'
And I wish to
Ask for forgiveness
Your guidance
Protection and strength
For humbleness and faith
To make me a better man
Success in foreign lands
Never dreamt of that
I remember being 18
When we started Too Phat
Now let's go back
Three years before that
Sometimes I forget
Me and my parents
Took a trip with granddad
I remember '95
While performing Umrah
Made my wish in Mecca
Right in front the Kaabah
Dear God
You made it possible
When facing obstacles
Please let me do good
Before I pass on
In the hospital
And keep reciting
The Testimony of Faith
And find the right way
Out of this life's maze

Chorus
Ult li albi bissaraha (I'm opening up my heart with honesty)
Hayya nab'idil karaha (Let’s avoid the hated and hatred)
Syakkireena a' kulli ni'ma (Let's remain thankful with what we have)
Ba' ideena anil fattana (Let's avoid all lies and sins)

Verse 3
Ay yo…
Two candles go out
That's when
I feel the wind blow
I haven't met Fatim
For two years
Been livin' like I'm single
Evaluatin' all the friendships
Relationship
The reason it's the tenth year
Is 'cause she's a patient chick
And as far as friends are concerned
Many I've had it all
From those who cried for my pain
To those who plotted my fall
I learned to differentiate
Fakes from the great
Mates from the snakes
Apes wanna beef
Hate's all it takes
For me to blow
A diss song for you
Not even worthy
As an album filler
So now it's smiles
And Alhamdulillah
Yeah, love me
Or hate me
This who I am
Look at the past at times
I wish that I was born again
So I can rectify mistakes
And my wrong doings
Attempts on minimizing my sins
Before my story ends
I ain't no Eddie Murphy
Tryin' to sound as a holy man
But if I tried to be a better person
Now I prolly can
(Wait...)
Who am I to advise you
I ain't been the best
Of God's slaves
Just a poet writin'
What my thought says
A little house
A little car
A little sweet girl
Thank you Lord
I'll try to slow it down
On the cheap thrills
This song will prolly stir
A little controversy
At least I ain't be rappin'
Bout the stuff
As tho' I'm born in Jersey
Stage name is Malique
And lost name is Cairel
Mama told me
Stop complaining too much,
So I will...

Chorus
Ult li albi bissaraha (I'm opening up my heart with honesty)
Hayya nab'idil karaha (Let’s avoid the hated and hatred)
Syakkireena a' kulli ni'ma (Let's remain thankful with what we have)
Ba' ideena anil fattana (Let's avoid all lies and sins)

if you like this song u can download here
Read rest of entry

Friday, February 25, 2011

[ How to ] Creating good feeling everyday [joke]

okay my friends, today i just wanna share n show u how to create good feeling every day,
u just follow me step by step, ok?
ok, let me show u :P
Prepare :
1. Connection
2. A cup of Coffe :P
3. Motivation from SomeOne :)

ok, lets start ;

myself>create database heart;

myself>show databases;
+--------------------+|
                Database        
|+--------------------+|
| information_schema            |
| heart                                        |
| myself                                      |
 +--------------------+
3 rows in set (0.00 sec)

myself>use heart;
Database changed

myself>create table everyday (  
-> id char(5) NOT NULL PRIMARY KEY, 
-> feeling varchar(12),  
-> description varchar(200));
Query OK, 0 rows affected (0.01 sec)

 myself>describe everyday;
+-------------+--------------+------+-----+---------+-------+
| Field       | Type         | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
|  id           | char(5)      | NO   | PRI | NULL    |       |
| feeling   | varchar(12)  | YES  |     | NULL    |       |
| description | varchar(200) | YES  |     | NULL    |      |
+-------------+--------------+------+-----+---------+-------+
3 rows in set (0.00 sec)

myself>insert into everyday values ('1','Good Day','This is a good for me coz i wanna make her happy and feeling good always ;)');
Query OK, 1 row affected (0.00 sec)

myself> select * from everyday;
+----+----------+----------------------------------------------------------------+
|    id    |     feeling       |                                              description                                                                                    |
+----+----------+----------------------------------------------------------------+
|    1     |   Good Day    | This is a good for me coz i wanna make her happy and feeling good always ;)          |
+----+----------+----------------------------------------------------------------+
1 row in set (0.01 sec)

myself> To Be Continued :D

ok, i hope we can continue it in other chance n time :D
hope u know and get something usefull from this lesson :P
thank you very much for your attention,
forgive all my fault n fool, see u..
bye bye..

Thank for SomeOne Spesial my luvly nabila and U :D
*this is just for fun! :P
Read rest of entry
 

About Me

My Photo
just4shareIT
Just4ShareIT is my way to share what i know and what i did.Hope u can get somethings from my notes on this blog..
View my complete profile

Statistic

free counters Ping your blog, website, or RSS feed for Free Free web Counter Log Counter powered by  http://www.myusersonline.com

Followers

Just4shareIT Copyright © 2011 | Powered by Blogger