O HAI THIS BLOG PURPZIEZ 2 B UZED AZ MAH PLESIOUS MEM. :)

2006/04/24

State Machine + ALU == CPU

加算が出来た.
今度はアセンブラを作らねばならんなー. :P
[This is add instruction waveform.
Hmm, I should code its assembler? :P]

2006/04/22

Oversleep, State Machine, MacBook Pro

いつかやらかすだろうと思ってはいたが,
二度寝して会社に遅刻した. :P
やはり携帯のアラームだけではダメなのかもしれない.
[Well, I've overslept today.
Umm, only use phone-alarm is not so safe, though.]

PCB設計用のCADを主に使っている先輩の仕事が佳境に入ったらしく,
今度はVHDLの課題を与えられる.
RTLなFFを一つだけこなした後に,いきなりステートマシンですか.
流石にスパルタだ,すぐ終わったけど. :P
[A boss who mainly use the CAD for PCB design looks like so busy.
So, my boss gave me some VHDL subjects.
I've coded for a Flip-Flop as RTL model, then next was a state machine.
Sounds like so Spartan education, though I've done it. :P]

ModelSimのライセンスサーバを上司の方がモニョっている間に,
PowerBook上のGHDL + GTKWaveでムニャっていたら,
「何でシミュレーション出来てるの?」と訊かれた.
「これはGCC technologyを使ってエラい人が作ったFreeな...」
と少し説明,std_logic*な信号しかダンプ出来無いので色々癖が有る事も.
「ModelSimのライセンスが高過ぎるし,勉強にはそれを使っても良い」
との許しが出たので,
PCB設計用のCADに戻るまではGentoo上で生活出来そう. :P
[When my boss poked floating license server which for ModelSim,
I've code it on my PowerBook with GHDL and GTKWave.
So, my boss asked me "Why you can do the simulation without ModelSim?",
I've answered "There is a VHDL simulater using GCC technology, it's free...",
I've explained about it can only dump std_logic* signals and known some restrictions.
Finally, my boss said to me "To tell the truth, ModelSim's license is so expensive.
So, if you can use it, education use is OK."
Kay, sound like working on Gentoo is OK,
until restart edu of PCB design CAD. :P]

次のブツを下調べ.
やはりMacBook Proか.
評判も悪くないしDRIも行けそうだ
おまけにTriple Bootまでついてくるらしい.
問題は,12"モデルが無い事と何処から資金を調達するかだなー. :(
[Sneaky way for next things.
Hmm, MacBook Pro is.
Sounds like not so bad, DRI will work,
and then it can triple boot, though.
My PITA is no 12" model, and no money. :(]

2006/04/19

Squash my bugs, PCB, wmii-3 will come

一通り終わりかと思いきや,
ちょこちょこ要望が出るわ,しょぼいbugが見つかるわで,
少しずつ例のPythonスクリプトを弄っていました. :P
[I've had tweaking/fixing my stupid python script
for some requests and to squashing bugs.]

で,その合間にPCB設計用のCADを弄くっていろとのお達しで,
英語のヘルプを読みつつ弄ると,
流石に商品なだけあって色々良く出来ている.
でも,
単一のアプリケーションに独自に作り込んだデータベース機能とか,
パスワード設定とか他のアプリケ−ションとは相容れないし,
慣れるまで時間がかかりそうですなー.
*NIX系に作り込めば色んな機能やらライブラリやらが再利用出来るし,
何より一々同じ機能の為にそのアプリケーション独自の使い方や作法を
覚えなくて済むのだなー,と有り難みと息苦しさを同時に感じる.
...むー,作るかって? :P
[BTW, I've poke the CAD which for designing PCB or so.
I've skimed its help file which is written in English.
It seems work fine as product level software.
But almos its features implementations smells itselfish.
E.g. Database storage, password mechanism...
It seems make me lost a time.
If it was implemented in *NIX env,
some features and mechanisms already have been, though.
And I have, otherwise I would.
Anyway,
to learn the use for same feature/mechanism for only one app
is so bad idea for me, IMHO.
Umm, it means I'll make it? :P]

さぁ,4月中にはwmiiのversion 3が!
一足先に20060414のsnapshotをムニャってみたが...
相変わらず良い仕事するねー. ;)
[K, in April, wmii version 3 will come!
I've tried the snap 20060414...
Well, I should say "ah, nice work." ;)]

2006/04/17

Office.Nomikai++; VB + redirect == bad;

新入社員歓迎会と言う事で金曜日の夜は飲み会をして頂きました.
でも,最初の乾杯のビール一杯と少しで回って仕舞い,
その後は,コーラでお付き合い.
飲み屋,飲み屋,カラオケ,飲み屋と巡って朝五時に帰宅.
で,気付いたら日曜日の昼でした.
色々ムニャムニャ語って仕舞って先輩達に,
「キミは新入社員っぽくないねー」と言われた. :P
[At last Friday, I've attended the welcome party.
But, I couldn't get second beer.
So, I've taken with many cola. :P
IZakaYa, IZakaYa, Karaoke, IZakaYa, then,
I've returned my home at about 5:00 AM.
got some Z's, awoke at noon of Sunday.
Some seniors said to me like that
"You look like not a fresh man, though." :P]

で,嫌々やっていたVBのコーディングですが,
一応それっぽくなったので早々に終了する.
ハマッたのはVB内部から外部の実行ファイルをコマンドラインに含めて実行,
その標準出力をリダイレクトして任意のファイル名を付ける部分.
調べた結果,VB内部からリダイレクトを直接使う事は仕様上不可能で,
一時的にバッチファイルをOpen()やらPrintやらで記述して,
その後にこいつをShell()かCreateProcess()で叩くと言う意味不明な仕様... :(
[BTW, about my stupid VB coding.
It looks like kinda working.
The PITA was to execute external executable binary inside VB.
According to some VB gurus stuffs,
VB cann't handle to execute external executable binary
with any redirections, directly.
So, it should do like that,
1. create temporary batch file with Open() or Print.
2. execute it by Shell() or CreateProcess().
Umm, so awkward... :(]

2006/04/13

New PC, coding in Python

会社から与えられた``にゅーまっしーん''は
Celeron D + Intelの新しいonboard graphic chipなブツで,
DRIはそこそこな感じなのだが,Frame bufferと激しく相性が悪い... :S
XenもVTが有効にならないし,qemuはCADを使うには遅過ぎるので,
クロスプラットフォームなアプリケーションのテスト環境,
及び仕事の為のメール端末と言う事にした.
仕方無いので,Gentoo on PowerBookと共に出社しております.
シェルと端末エミュレータが無いと何も出来無い体になってる,ヤバい. :S
[I got new PC which for office working
It's constructed with Celeron D + new Intel onboard graphic chip or so.
So, DRI works and it seems not so bad,
but the frame buffer is sometimes mess... :S
Xen didn't work with VT feature, qemu is not so fast when use a CAD.
So, I decided its use is for only test cross-platform apps
and e-mail terminal for office working.
Meanwhile, I'm working with Gentoo on PowerBook, still now.
Hmm, no {shell, terminal-emulater} is no life for me. :S]

一昨日からやって一段落ついたお仕事は,
HDLの設計で或る作業の為に使うコードジェネレータの作成.
会社としてはこれが2bit幅の信号もマトモに処理出来無い(明らかにバグ!)
30万円位する購入を検討していたWindows専用ソフトの代わりらしい.
簡単な仕様を頂いて,三日間一人でPythonを使ってコーディングしたら,
それっぽいCUIなブツが出来て仕舞い,こっちを使うとか言われた. :P
py2exeでWindows用の実行バイナリを作成して
ソースコードと一緒に会社のサーバにぶち込んでおいた. :)
[ATM, My DONE is coding a HDL code generater.
Like a boss said,
it's for a replacement of the closed Windows centric software
which will cost about 300,000 yen,
and then, it won't work for a simple 2bit signal analysis, BUG!
I got an easy spec for it, coded in Python for 3 days or so.
My stupid CUI script seems work, and a boss decided used it. :P
So, I made it as executable binary by using py2exe.
I've stuffed it with its sources on office server. :)]

次はGUIを被せるとか何とか.
「要らないと思うんですが」と生意気にも意見すると
「いや,便利でしょ?」とか,
「あとでGUIは無いのか?と訊かれるよ」と言われたので,
「じゃあ,PyGTKでやります」と言ったら
「ダメ,次はVBで作って」と言われた. :/
理由は他人がメンテナンス出来無いからだとか,
GUIをメンテナンスしてどうするんだろうか...
と言うか,コアはPythonのままで良いのかな...
[Next is coding GUI front-end for it.
So, I've said "GUI is not so sane for it", IMHO,
then a boss said "No, no, just for useful"
otherwise "you will be asked by others why GUI isn't, everytime."
Then, I've said "Okay, PyGTK is", IMHO,
then a boss said "No, use VB". :/
According to a boss said,
that's why others can/cann't maintain it.
But why maintain GUI front-end by others?
And then, the core is written in Python is OK?]

何れにしても,
Write Once Run Anywhre
はこう言うモノにはあんまり重要じゃないのですなー.
なるほど,
ヤッツケ仕事なら或る意味クロスプラットフォーム性より重要ですな.
と言うか,仕様を頂いた上司も監督役の上司もPythonの存在すら知らなかったらしい.
「Pythonって今まで他の会社とかで実績があるのか?」と訊かれて
「そんな事は考えた事無いです」と答えた. :P
だが,知らないだけに不安だ...やはりマイナーなのか? :S
[Anyway, it's not so important "Write Onece Run Anywhere" for its use.
I see, like my stupid coding, that's more important than cross-platform app.
Unfortunately,
a boss who gave me a spec and a boss who is a hardware guru haven't known Python is.
They asked me like "Python has so many past records?",
then I've said "Dunno." :P
Umm, coding in Python is so minority? :S]

2006/04/03

My first working... and beyond sources.

初出社,やはり社内はNDAでガチガチであった.
この御時世なので,社長直々に「Winnyは使ってないよね?」と訊かれて,
「Gentooしか使っていません」と答えた. :P
ハードウェア寄りの上司に教えを垂れて頂いて,
暫くは通信工学の基礎から勉強しつつ,
Gigabit Ethernet関連の開発に巻き込まれそうな感じ..
[Today is my first working. And in the office, many NDA restrictions are.
My boss said to me "haven't you use Winny?",
I've answered "I use only Gentoo", yay. :P
I'll re-study about basis of comminucation engineering
with the hardware guru as my chief in the development of Gigabit Ethernet.]

更に,仕事で使うツールはWindows上でのみ動くブツらしいので,
Xenかqemuで暮らす事になるケド,
どちらにするかはこれから支給されるマシンのスペック次第.
それよりも日報がExcelで書かれている.
OpenOffice.orgをコンパイルせにゃならんのか... :S
[Umm, the tools for the development can be used on only Windows platform.
So, I should do it with Xen or qemu.
The selection of virtualization/emulation tools depends on new PC which is given as dev env.
Unfortuantely, the daily report is written by Excel.
So, I must compile OpenOffice.org. :S]

全然関係無いが,beyond sourcesに期待. :)
[Hmm, it's completely non-related things, though.
beyond sources is appreciated for me. :)]

2006/04/02

Open AP?

あらら,接続出来ちゃった. :P
[Well, it seems open, though. :P]

引っ越しは終了...取り敢えず,筋肉痛. :(
あと一週間位はゴタゴタしそうな感じ.
[Erm, the moving done... umm, I have muscle ache.
I'm busy until this weekend.]