2007年1月13日 星期六

寫個轉檔程式好了

用了JetKTV之後

Jet大大 有規定csv格式 可以透過他的程式批次的將歌加入資料庫
因為csv檔案要自己處理 有點辛苦

來寫個程式 把我硬碟裡面的檔名 都轉成符合Jet大大要求的格式好了

發現一個問題 原始檔名的命名 好像很重要
是不是一定要規定成 [KTV]-歌名-歌曲名.mpg 我寫程式才會比較輕鬆呢?
答案當然是肯定的

但是如果要推廣這套程式的話 一定要用到簡單 不要使用者還要自己去處理一些不符合規定格式的部份
才會容易推廣
那就代表我的程式要寫的較彈性嚕

如果今天一個檔名為 ktv-鍾志均_超愛老婆.mpg or [ktV]__鍾志均+-國語--超愛老婆.mpg 或 鍾志均--ktv__=+超愛老婆.mpg 是其他更奇怪的檔名
我應該要怎麼處理怪異的檔名呢???

傷腦筋
如果要使用者使用這套程式之前 把他的檔名先處理過一遍 會困擾使用者
如果不事先處理檔名 我程式的演算法 需要更彈性
但是這樣彈性的演算法 How to write it?

難道要作市場調查 看看一般大家的檔名如何命名
先符合一般性 在做最佳化
嗯嗯
在繼續思考.....

透過Facebook分享

2007年1月12日 星期五

閱讀Oreilly Building Embedded Linux Systems (second edition)

第1.2章 論述 Real Life and Embedded Linux Systems 講到幾個問題

  • What types of embedded systems are built with Linux?
  • Why do people choose Linux?
  • What issues are specific to the use of Linux in embedded systems?
  • How many people actually use Linux in their embedded systems?
  • How do they use it?
從小到大 很少認真去思考一個問題
這幾個問題 值得我好好去深思是否有必要踏入Linux的領域
予其這樣 到不如說 是否可以找出吸引我的地方
現在對我來說 Linux就像大象 我就像一個瞎子
我很有興趣的是 我不懂Linux 但是 我想要搞懂它
這就是我的鬥志

就從這裡開始吧
好好去思考

透過Facebook分享

2007年1月10日 星期三

示波器的操作

工具:Tektronix TDS 1012

開機按鍵:在上方 按下去就會開
語言選擇:右邊面板上 靠作左邊 最下面第五個鍵 可以調整語言 調整完之後按任意鍵 開啟
調整位置:Vertical -> position可以調整垂直位置
VOLTS/DIV 可以調整振幅
Hirozontal -> position 可以調整水平位置
SEC/DIV 可以調整週期
Trigger的部份 如果波形閃的太快 可以用 Trigger -> LEVEl來調整

透過Facebook分享

線上UC Berkeley課程

http://video.google.com/ucberkeley.html
很讚
我喜歡這個課程 Search Engines: Technology, Society and Business

透過Facebook分享

GNU C Library - Wikipedia, the free encyclopedia

GNU C Library - Wikipedia, the free encyclopedia: "GNU C Library
From Wikipedia, the free encyclopedia
(Redirected from Glibc)
Jump to: navigation, search
GNU C Library
Developer: GNU Project
Latest release: 2.5 / September 29, 2006
OS: Cross-platform
Use: Runtime library
License: LGPL
Website: GNU LibC

The GNU C Library, or glibc, is GNU's C standard library. It is free software and is available under the GNU Lesser General Public License. Originally written by Roland McGrath, the library's development is overseen by a committee, with Ulrich Drepper as the lead contributor and maintainer.[1]

In addition to providing the functionality required by Unix98, Single UNIX Specification, POSIX (1c, 1d, and 1j) and some of the functionality required by ISO C99, Glibc also provides extensions which have been deemed useful or necessary while developing GNU.

Glibc is used in systems which run many different kernels and different hardware architectures. Its most common use is in Linux systems on x86 hardware, but officially supported hardware includes: x86, Motorola 680x0, DEC Alpha, PowerPC, ARM, ETRAX CRIS, MIPS, s390, and SPARC. It officially supports the Hurd and Linux kernels, although there are heavily patched versions that run on the kernels of FreeBSD and NetBSD (from which Debian GNU/kFreeBSD and Debian GNU/NetBSD systems are built, respectively). I"

透過Facebook分享

Avahi (software) - Wikipedia, the free encyclopedia

Avahi (software) - Wikipedia, the free encyclopedia: "Avahi (software)
From Wikipedia, the free encyclopedia
Jump to: navigation, search
For other uses, see Avahi.
Avahi Avahi-logo.png
Developer: The Avahi Project
Latest release: 0.6.16 / December 29, 2006
OS: Cross-platform
Use: Networking
License: LGPL
Website: avahi.org

Avahi is a system for multicast DNS service discovery. It allows programs to publish and discover services and hosts running on a local network with no specific configuration. For example you can plug into a network and instantly find printers to print to, files to look at and people to talk to. It is licensed under the GNU Lesser General Public License (LGPL).
Architectural overview of the Avahi software framework.
Architectural overview of the Avahi software framework.

Avahi is an implementation of the Zeroconf specification. Other implementations include Apple's open source Bonjour framework and Howl, a framework which is no longer actively maintained.

Avahi provides a set of language bindings (Python, Mono etcetera) and ships with many Linux and *BSD distributions. Because of its modularized architecture, Avahi is already integrated in major desktop components like GNOME's Virtual File System or KDE's input/output architecture."

透過Facebook分享

2007年1月9日 星期二

fon的二次測試

今天比較早下班

針對 fon ap
Model NO: FON2100E
再做一次測試


這次測試的距離更遠 大概多十公尺有
前幾天我測試的距離 是家裡到巷子口
這中間 隔了10戶人家 每戶人家的房子寬算3.5m 那麼三角形的底 就有35m
高為三樓算25m
這樣子 斜高就為43.0116263m的距離嚕

今天 測的距離更遠
用步行來測 走了120步 每步經過測量為45cm = 0.45m
那麼三角形的底為54m
高一樣為25m
行高的距離 用google來算 sqrt(54^2+25^2) 為59.5063022m

charles說 最高距離 還可以到100m

我測到這個部份 訊號已經差不多到臨界點了
哇!!真的有遠

透過Facebook分享

2007年1月8日 星期一

如何把gmail icon放在網頁上 且具有連結的功能

  1. 去http://services.nexodyne.com/email/index.php產生一個icon
  2. 去版面配置->加入網頁元素->HTML/JavaScript->加入blog
  3. 在內容中 加入

範本:
http://www.divshare.com/download/33353-d35

就會有我blog右邊的效果了


透過Facebook分享