2010年5月10日 星期一

關於我自己

我覺得,網誌是明確一點的分類比較好。
但是,又不想再開一個又一個荒廢下去的站了…
所以囉,只好繼續用下去了。


關於我自己 v3 (2012.04.01)

一隻好奇心很重的羊,平日還好,一但被引起好奇心就一發不可收拾。 
認為Google是世上重要的發明之一,樂見網上更多有趣的工具誕生。
職場新鮮人,處處都是誘惑,但為了荷包著想,只好四處研究優惠囉!



關於我自己 v2 (2010.05.10)
一隻好奇心很重的羊,平日還好,一但被引起好奇心就一發不可收拾。
認為Google是世上重要的發明之一,樂見網上更多有趣的工具誕生。
快將畢業,打算趁自己還算年輕力壯時去國外闖闖看!

關於我自己 v1 十分不擅於寫程式,但因要交畢業習作而和程式博鬥中,經常被一堆小小的程式問題給逼瘋。

比一般人更常遇到奇奇怪怪的電腦問題。orz

2010年3月11日 星期四

漫畫的尺寸及書套的挑選

依常見的書籍尺寸及市面買得到的書套配合大小。


菊32 約為A6大小
(150 x 105 mm)
ex. 文庫大小的書籍
挑選書套:15.0cm


36k 即台灣一般小本漫畫的尺寸
(170 x 115 mm) 
挑選書套:17.0cm

日本36k規格為177 x 115 mm
挑選書套:17.7cm


32k 即一般中型漫畫的尺寸
(185 x 130 mm)
挑選書套:18.5cm

冬水社在幾年前授權大然之單行本為188 x 130 mm左右,也就是B6大小。
挑選書套:18.8cm


25k 是為菊16既A5大小
(210 x 148 mm)
ex. 一般小說、狂龍出版之漫畫,即為25k
挑選書套:21.0 cm


16k' (小)16開本之意
(255 x 187 mm)
ex. 一般港版的彩色漫畫,或是一般同人誌的大小
挑選書套:26.0 cm


16k 即B5大小,平時少有人稱16k 多稱為B5判
(260 x 187 mm)
ex. 小本畫冊類、設定集…etc


16k變型 即B5變型判(B20取判)
寛度或高度合B5大小,但規格特殊型
ex. 白泉社出版的高屋奈月キャラクターブック フルーツバスケット…etc
變型判的書籍,要找書套不易,多半都是要自己做。


菊8 即A4大小
(297 x 421 mm)
ex. 一般畫冊的大小,或是雜誌puff…etc
挑選書套:29.0~30.0cm


菊8變型 即A4變型判
比菊8在略微高、寛點的大size
ex. 超出A4不到B4尺寸的大型畫冊
挑選書套:31.5cm以上


資料來源/參考資料:
【the Box Wisdom】漫畫的尺寸及書套的挑選
http://blog.yam.com/kyanite/article/438456

如何從Flash影片元件存取場景上的變數?

花了好幾個小時才找到答案,答案果然…很簡單!但不會的話就是不會!
var varInMc:Number = MainTimeline(root).varInTimeline;

紅色的是重點,籃色部分隨意改囉!
同時適用於function,亦可延伸至movie clip裡的movie clip!
枉我試了一堆都不對的:root, root1, this.parent, parent, stage, MainTimeline


重點摘錄:
'root' returns a DisplayObject instance.
DisplayObject Class does NOT contain a property names "varInTimeline" but Your DocumentClass does, usually called: "MainTimeline".


來源(其實解答也很精簡):How to access Main Timeline variable from Movie Clip? 

P.S. 標題用中文看上去好怪喲!

2010年3月1日 星期一

內容管理系統 Content Management System (CMS)

甚麼是內容管理系統? Content Management System (CMS) 看Wikipedia的定義
內容管理系統是把一個網站的內容(文字,圖片,等等)與網站的組件分離開來,可以將各個頁面連接到一起,可以控制頁面的顯示。通過這個系統,可以方便的管理,發布,維護網站的內容,而不再需要硬性的HTML代碼或手動建立每一個頁面。  (出處)
即無需任何網頁知識,亦能用所見即所得的文字編輯器來更新網站內容。

1. Joomla!
它使用PHP語言加上MySQL資料庫所開發的軟體系統,可以在Linux、Windows、MacOSX等各種不同的平台上執行。
除了安裝容易,有許多套件可以使用,在內容上也有針對搜尋引擎優化,更重要的是,它在台灣有活躍的開發社群,因此在中文相容以及想找支援或客製都較為容易。
參考資料:http://www.joomla.org.tw/
 
2. Vignette
一套強大的內容網站管理系統
使用Vignette的網站:中時電子報

3. drupal
drupal與Joomla!同樣是最近備受關注的開源CMS
在臺灣也有中文社群,drupal Taiwan正體中文支援站drupaltaiwan.org
drupal跟Joomla比一比
使用drupal的網站:美國有名的商業雜誌Fast Company


http://www.cmsmatrix.org/
寫出所有 CMS 的比較表,可以用自己的觀點去配對

 
http://en.wikipedia.org/wiki/List_of_content_management_systems
這篇文章六七年前就有了,一直有人在補完

http://www.cmsreview.com/
CMS review,但可能不太合適初學者

http://www.steptwo.com.au/papers/kmc_evaluate/
這個有 PDF 可以下載,困難度也不高可以參考

 
 在台灣最大宗的話大概是:
  1. phpnuke
  2. xoops
  3. drupal

Reference: IT邦幫忙>架網站哪家CMS比較好?用CMS有什麼優缺點?

2010年2月25日 星期四

100 Action Words for IT Resumes

  1. achieved better database performance by tuning memory area.
  2. adapted Rational Unified Process (RUP) for software development project.
  3. adjusted data retrieval query for optimized performance in data analysis and reporting.
  4. administered multiple instances of Oracle Server Enterprise Edition on Windows NT platform.
  5. analyzed business rules and user requirements.
  6. assembled mold detection devices on PCs.
  7. assessed wireless network implementation impacts.
  8. audited enterprise-wide network systems security policy and implementation.
  9. budgeted corporate financial management system integration project.
  10. coded C++ programs for image processing.
  11. computed total expenditure for performance budget forecasting.
  12. conducted SQL Server database performance tuning.
  13. configured MAXIMO Asset Management System on Windows 2000 Server.
  14. converted historical data in ASCII test files to XML format.
  15. created FTP-based file transfer utility on UNIX platform.
  16. cut IT cost by 10%.
  17. defined project scope and system use case.
  18. delivered high-quality software and services on schedule.
  19. designed a web-based inventory tracking software application.
  20. detected network performance bottlenecks.
  21. developed a Java SWING desktop application.
  22. diagnosed agency-wide WAN network performance issues.
  23. differentiated data presentation from business processing logic.
  24. distributed a .NET Mobile application to over 200 Palm handheld users.
  25. documented user requirements and business logic.
  26. eliminated software defect in production by QA enhancement.
  27. enforced industry standard methodology in software development projects.
  28. enhanced user authentication and security module for the existing application.
  29. established enterprise-wide software development and deployment framework.
  30. expanded VPN network to more users in remote locations.
  31. extracted online store transaction data from Oracle data warehouse.
  32. fixed bugs in existing software.
  33. formulated expenditure calculation in contract management system.
  34. identified memory leak and connection pooling problems in current C++ application.
  35. implemented Struts Framework in web-based application on JBoss.
  36. increased customer satisfaction by improved user interface.
  37. initiated software development quality control and assurance.
  38. integrated inventory management process into PeopleSoft system.
  39. interacted with customers to define functional requirements.
  40. introduced MVC architecture into web application projects.
  41. installed Maximo Asset Management System with WebLogic and SQL Server.
  42. invented automatic dust control system for coal preparation plants.
  43. investigated network security failure and operating system configuration defects.
  44. led SAP ERP implementation projects.
  45. made data standardization and classification policy.
  46. maintained Oracle data warehousing database for business banking data.
  47. managed multiple IT projects concurrently.
  48. minimized the risk of data lose by implementing stand-by database replication.
  49. modeled e-commerce transaction data.
  50. modified user interface.
  51. monitored LAN network performance.
  52. negotiated new contract for current project extension.
  53. operated mainframe database server machines in corporate data center.
  54. obtained hands-on skills in Cisco network equipment installation.
  55. optimized SQL query plan for faster data transaction.
  56. oversaw project planning and management.
  57. performed Oracle database backup and recovery tasks.
  58. piloted a prototype project for migrating a PowerBuilder application to J2EE platform.
  59. planned IT department projects and budgeting.
  60. prepared agency-wide LAN network wiring and configuration.
  61. processed historical accounting data.
  62. programmed ETL scripts to covert SSA data into data warehousing database.
  63. provided consulting solutions and technical support.
  64. proposed agency-wide financial system integration.
  65. published white papers on web services implementation topics.
  66. recommended backup & recovery procedures to improve user data availability.
  67. redesigned application's interface to improve end user experience.
  68. reduced network installation costs.
  69. reengineered enterprise-wide human resource management process.
  70. repaired Cisco switches and routers.
  71. researched data sorting algorithm for complicated data structures.
  72. resolved user authentication conflicts in the current system.
  73. restored Oracle instance from backup files.
  74. restructured the business tier for a J2EE web application.
  75. reviewed functional and technical documentations.
  76. revised functional specifications and technical specifications.
  77. served the State of California as an IT professional for 8 years.
  78. serviced clients on-site for database administration and performance tuning.
  79. simplified software license tracking process in IT department.
  80. solved SSL and client certificate authorization problems in web applications running on Tomcat.
  81. specified end user requirements and business logic.
  82. standardized data classification procedures.
  83. started business process reengineering project as the team leader.
  84. strengthened enterprise wide network security policy.
  85. studied grid computing impacts on database engine performance.
  86. summarized system requirements and specifications for new software development projects.
  87. supervised the QA team in software testing.
  88. tested the system's functionalities and performance.
  89. transformed ETL tasks from script-based process to Informatica implementation.
  90. trained the Java developer team to migrate to .NET technology.
  91. traveled worldwide to provide on-site data management services for international clients.
  92. troubleshot LAN network connection problems.
  93. updated company's operating system from Windows NT to Windows XP Server.
  94. upgraded database server from Oracle 9i to Oracle 10g.
  95. used Visual Basic to develop a client/server application.
  96. utilized PDFLib library to generate PDF reports in Java applications.
  97. verified system design and architecture assumptions in IV&V projects.
  98. wired LAN network and installed switches and routers.
  99. won several new contracts for GIS projects from State of New York.
  100. wrote proposals in response to customer's RFP. 

2010年2月17日 星期三

我的aNobii書櫃

其實想弄在右下角,但怎麼弄就是弄不上…T^T

2010年2月15日 星期一

AMFPHP教學


最愛這樣有線上Demo的,但source就只有fla檔,其餘的php檔可於網頁上copy & paste。
有兩個版本,第1版是PHP,第2版才是AMFPHP,在還沒成功用到AMFPHP找到好感動!
一直用這個作為範本,正打算和另一個合併時才發現,這是AS2.0,並不是AS3.0!哭!

執行前需要到發佈設定修改路徑,否則會有以下的錯誤:
"建立SWF影片檔案時發生錯誤。
目標目錄不存在。請更改您的發佈設定。"

簡單又實用,無source檔,但說明清晰。
重要的是有ArrayCollectionDP.as提供,能把AS3 ArrayCollection轉成dataprovider

Create an image gallery with AMFPHP
source檔死link,看上去很不錯,但又很複雜。
有thumbnails作法,但Flash方面好像很複雜…


2010年2月14日 星期日

Error #2044: 未處理的 NetStatusEvent:。 level=error, code=NetConnection.Call.BadVersion

我快被這個Error搞瘋了!
code=NetConnection.Call.BadVersion 只想run tutorial裡的東西都做不到!


收集解決方法中…!未解決,我的問題還是未解決呀!


解決了!解決了!高興的想歡呼!!


答案是
因編碼出現的問題,這裡4樓
這裡也有個解答。
我之前好像試過卻沒不知為甚麼沒成功…
或許妀錯編碼或是改到php.ini去了吧!
但現在沒事了,耶耶耶!解決方法只是修改1行而已,無奈啊!

要把amfphp中的gateway.php文件第127行代碼改為相關編碼,如:
$gateway->setCharsetHandler( "mbstring","UTF-8", "UTF-8" );



其他解答:


這裡第20&21樓的人說:


If you get the NetConnection.Call.BadVersion answer, the following could be wrong

1) The AMFPHP install is not correct and the gateway cannot find the libraries
check this by pointing your browser at your gateway url
for example: http://localhost/amfphp/gateway.php
If any PHP errors appear, the gateway is not correctly installed. Follow the PHP errors

2) Your service has "Parse" errors. Check your service to be sure that it has correct syntax

3) "extra data" is being send... Check that your PHP code does not contain any characters (spaces, empty lines) before AND after the code in your Service.
This may result in sending this characters to the client, before the actual AMF packet is sent.

4) Make sure that your PHP code starts with "?php" instead of "〈?" . If your server is configured not to use php_short_open tags, the "?" will fail and give and will not be accepted as PHP open statement.


5) We also put the full path to the flashservices include files in gateway.php.
The include_path on our server is "", or null, so we _must_ put the full path to included or required files.


註:amfphp 1.9不能用php5.3版本,只能用以下的版本。否則在gateway.php就會有Error!
我是用AppServ 2.6.0,php版本剛好是5.3或以上,只好裝回AppServ 2.5.10,雖然gateway.php有給正常回應給我,但在Flash還是會有#2044的問題,氣死我了!


另外,為甚麼這裡的"<"&"?" 不能共存…!?
害我修改了N篇,還丟了部分資料…
不停發現有小錯誤也改了N篇,還好沒有RSS訂閱的人,不然應該收到十多個更新通知…= ="