Hiromi's Sonicbloom - Time Difference
Dirty laundry, chickenpox and chrysanthemum. In case of Amnesia: Mr.Harmonies Memory Database.
Khamis, 17 April 2014
Selasa, 8 April 2014
Rabu, 2 April 2014
#96: Adobe AIR 4.0 on Linux.
Calm down Linux users! Adobe AIR 4.0 applications boleh berjalan dengan smooth di platform Linux. Ambe menggunakan Apache Flex 4.5 dan telah deploy satu aplikasi AIR Captive. Dengan mendeploy sebagai AIR Captive, anda tidak lagi perlu untuk install Adobe AIR kerana AIR runtime telah dipakejkan bersama aplikasi anda. Ini bermakna program anda tidak lagi mempunyai dependency luaran dan boleh berjalan sendiri.
Walaupun native Adobe AIR 4.0 untuk Linux tidak lagi boleh didapati, aplikasi yang menggunakan AIR 4.0 untuk Windows dapat dijalankan dengan baik dibawah WINE (Windows Emulator) dibawah sistem operasi Linux. Di bawah ini adalah contoh aplikasi yang menggunakan SDK AIR 4.0 dijalankan melalui WINE versi 1.4.1:
Walaupun native Adobe AIR 4.0 untuk Linux tidak lagi boleh didapati, aplikasi yang menggunakan AIR 4.0 untuk Windows dapat dijalankan dengan baik dibawah WINE (Windows Emulator) dibawah sistem operasi Linux. Di bawah ini adalah contoh aplikasi yang menggunakan SDK AIR 4.0 dijalankan melalui WINE versi 1.4.1:
Windows targeted Captive Adobe AIR 4.0 application runs smoothly under Mint Linux using WINE 1.4.1. |
Selasa, 1 April 2014
#95: RDA/RIA development with Apache Flex
Apache Flex |
Flex adalah projek yang ambe tunggu-tunggu untuk menjadi OpenSource dan akhirnya menjadi realiti setelah Adobe bersetuju untuk meletakkan Flex di Apache Foundation. Jadi sekarang Adobe Flex dikenali sebagai Apache Flex. Sebelum menjadi OpenSource, bayaran lebih $10k dikenakan untuk satu lesen Flex. Bayangkan tools yang sebelum ini bernilai $10k untuk 1 lesen dan direka dengan begitu sofistikated/lengkap diberikan percuma kepada pengaturcara yang begitu admire Adobe Flex yang sangat mahal itu, sudah tentu akan berasa sangat teruja kan?
Rich Internet Application example. Audiotool is a powerful online music production studio right in your browser |
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:flexlib="http://code.google.com/p/flexlib/" layout="vertical" > <mx:Script> <![CDATA[ [Bindable] public var prefix: Array = [ {label:"Mr.", data:1}, {label:"Mrs.", data:2}, {label:"Ms.", data:3} ]; ]]> </mx:Script> <flexlib:AdvancedForm id="myForm" undoHistorySize="5"> <mx:FormItem> <mx:ComboBox id="titles" dataProvider="{ prefix }" selectedIndex="0" /> </mx:FormItem> <mx:FormItem label="First and Last Names" required="true"> <mx:TextInput id="firstName" /> <mx:TextInput id="lastName" /> </mx:FormItem> <mx:FormItem label="Department"> <mx:TextInput id="dept" text="Biology" /> </mx:FormItem> <mx:FormItem label="Other"> <mx:NumericStepper id="age" value="25" minimum="1" maximum="100" stepSize="1" /> <mx:CheckBox id="like" label="Do you like this code?" selected="true" /> <mx:RadioButtonGroup id="survey"/> <mx:RadioButton id="rd1" groupName="survey" label="It is Okay" selected="true" /> <mx:RadioButton id="rd2" groupName="survey" label="Normal" /> <mx:RadioButton id="rd3" groupName="survey" label="It can use some work" /> </mx:FormItem> </flexlib:AdvancedForm> <!-- Validation --> <mx:Validator id="vldrFirstName" source="{ firstName }" property="text" required="true" /> <mx:Validator id="vldrLastName" source="{ lastName }" property="text" required="true" /> <mx:HBox> <mx:Button click="mx.controls.Alert.show( 'Submit Data', 'Alert' )" label="Submit Data" enabled="{ myForm.isValid }" /> <mx:Button click="myForm.resetForm()" label="Reset Form" /> </mx:HBox> <!-- <mx:TextArea id="debug" width="600" height="300" /> --> </mx:Application>Walaubagaimanapun, ambe agak kecewa kerana Adobe telah tidak lagi mengeluarkan update untuk Adobe AIR (Adobe Integrated Runtime) bagi platform Linux. Hanya Adobe AIR SDK versi 2.6 kebawah sahaja ada untuk pengguna Linux (versi terbaru Adobe AIR setakat hari ini adalah 4.0). Banyak fungsi-fungsi terbaru Adobe AIR tidak dapat digunakan di Linux kerana versi 2.6 sudah jauh ketinggalan. Dengan Adobe AIR, aplikasi yang dihasilkan dengan Flex akan dapat dipasangkan di desktop seperti aplikasi native yang lain. Adobe AIR boleh menghasilkan aplikasi native untuk desktop Windows, Mac OSX, Linux (setakat versi 2.6) serta mobile untuk platform BlackBerry, Android dan iOS, serta beberapa device lain seperti TV dan lain-lain.
Adobe Photoshop Express developed using Flex |
Skinning dan styling melalui Flex juga mudah. Kebanyakan komponen Flex boleh di "skin"kan terus melalui MXML menggunakan CSS. Komponen visual baru juga boleh direkabentuk dan library ActionScript sudah berkembang dan matang, boleh dimasukkan kedalam projek dengan mudah. MXML sebenarnya di translate ke ActionScript sebelum dicompile kepada fail SWF. Penetration Adobe Flash Player kepada semua komputer di seluruh dunia adalah lebih 90%, meliputi operating system Windows, Mac OSX, Linux, Haiku dan lain-lain.
Tags:
adobe,
apache,
flash,
flex,
mxml,
RDA,
RIA,
rich desktop application,
rich internet application
#94: The Man Who Does'nt Talk Much
Agak unfair utk judge seseorang hanya pandai post di internet tapi bila berdepan jadi pendiam. Dalam psikologi ada 2 jenis perwatakan manusia, extrovert dan introvert. Berbanggalah orang extrovert kerana perwatakan ini lebih bersikap terbuka, mesra, banyak cakap etc. Berbanggalah juga orang introvert kerana mereka ini lebih byk berfikir dengan lebih dalam walaupun kurang bercakap secara fizikal. Oleh sebab ini introverts mungkin lebih memilih utk menulis berbanding bercakap.
Introversion mengikut Wikipedia adalah "the state of or tendency toward being wholly or predominantly concerned with and interested in one's own mental life". Some popular writers have characterized introverts as people whose energy tends to expand through reflection and dwindle during interaction. This is similar to Jung's view, although he focused on mental energy rather than physical energy. Few modern conceptions make this distinction.
The common modern perception is that introverts tend to be more reserved and less outspoken in groups. They often take pleasure in solitary activities such as reading, writing, using computers, hiking and fishing. The archetypal artist, writer, sculptor, engineer, composer and inventor are all highly introverted. An introvert is likely to enjoy time spent alone and find less reward in time spent with large groups of people, though he or she may enjoy interactions with close friends. Trust is usually an issue of significance: a virtue of utmost importance to introverts is choosing a worthy companion. They prefer to concentrate on a single activity at a time and like to observe situations before they participate, especially observed in developing children and adolescents. They are more analytical before speaking. Introverts are easily overwhelmed by too much stimulation from social gatherings and engagement, introversion having even been defined by some in terms of a preference for a quiet, more minimally stimulating external environment.
Introversion is not the same thing as shyness but it is often mistaken as such by extraverts. Introverts prefer solitary to social activities, but do not fear social encounters like shy people do.
Introversion mengikut Wikipedia adalah "the state of or tendency toward being wholly or predominantly concerned with and interested in one's own mental life". Some popular writers have characterized introverts as people whose energy tends to expand through reflection and dwindle during interaction. This is similar to Jung's view, although he focused on mental energy rather than physical energy. Few modern conceptions make this distinction.
The common modern perception is that introverts tend to be more reserved and less outspoken in groups. They often take pleasure in solitary activities such as reading, writing, using computers, hiking and fishing. The archetypal artist, writer, sculptor, engineer, composer and inventor are all highly introverted. An introvert is likely to enjoy time spent alone and find less reward in time spent with large groups of people, though he or she may enjoy interactions with close friends. Trust is usually an issue of significance: a virtue of utmost importance to introverts is choosing a worthy companion. They prefer to concentrate on a single activity at a time and like to observe situations before they participate, especially observed in developing children and adolescents. They are more analytical before speaking. Introverts are easily overwhelmed by too much stimulation from social gatherings and engagement, introversion having even been defined by some in terms of a preference for a quiet, more minimally stimulating external environment.
Introversion is not the same thing as shyness but it is often mistaken as such by extraverts. Introverts prefer solitary to social activities, but do not fear social encounters like shy people do.
Tags:
extrovert,
introvert,
personality,
psychology,
speak less
Langgan:
Catatan (Atom)