工程師的職涯發展上,存在著兩種人

工程師有兩種,一種是做產品的人,另一種是搞技術的神。

今天和公司的前輩聊了下天,內容大致是我未來會想成為的工程師的長相。根據他現在約三十歲,工作總資歷接近十年的經驗來看,通常會遇到的工程師有兩種:一種是做產品的,另一種是技術之神。

閱讀全文《工程師的職涯發展上,存在著兩種人

Copia beta (clipboard helper) Byebye

I love a app called Copia, and there are also some media introduced it.

But I found it disappear now.

Mercifully, my friend, ettoolong, backuped it before.

And now I decide to shared it to you all.

If you are the ownner of Copia and you don’t want it appear here.

Please send an email to me. (wildsky at moztw.org)

Or you could just tweet to @wildskyf

閱讀全文《Copia beta (clipboard helper) Byebye

error: could not install smartsocket listener: Address already in use

I like to flash my smartphone. There are two tools we should use when flashing: adb and fastboot. But I met a problem:
I want to run new adb server, but it keep showing this message:
error: could not install *smartsocket* listener: Address already in use
and I gave a command ps aux | grep adb, then I got: Readmore

Preparation for building Firefox under Fedora

Today, I want to build Firefox myself. So I found this post: Simple Firefox build, and there is a link, which could help me setup the prerequisites. The link is Linux Build Prerequisites. But when I followed the instruction and input this command:

wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O bootstrap.py && python bootstrap.py

Something weird happened!! It sayed that:

Your version of Mercurial (3.5.1) is not modern enough.
Traceback (most recent call last):
  File "bootstrap.py", line 159, in <module>
    sys.exit(main(sys.argv))
  File "bootstrap.py", line 150, in main
    dasboot.bootstrap()
  File "/tmp/tmpTdL9Pv/mozboot/bootstrap.py", line 137, in bootstrap

  File "/tmp/tmpTdL9Pv/mozboot/base.py", line 316, in ensure_mercurial_modern
TypeError: upgrade_mercurial() takes exactly 1 argument (2 given)

But no matter how many times I give sudo dnf update -y to my Terminal, it kept tell me that:

Last metadata expiration check performed 0:14:52 ago on Tue Mar  1 22:23:25 2016.
Dependencies resolved.
Nothing to do.
Complete!

So my Mercurial should be up-to-date.

But I found that the offical website of Mercurial shows the lastest version of Mercurial is 3.7.1, and mine is 3.5.1!

I found a copr, which provide newer version of Mercurial: nbecker/mercurial-3, and try this:

sudo dnf copr enable nbecker/mercurial-3 && sudo dnf update

now I have 3.2.1 …. though this is not the really newest version of Mercurial, it won’t get wrong when I give wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O bootstrap.py && python bootstrap.py to my Terminal!

I don’t know why it is fixed up, but it allow me to move on, so I think it’s a solution for people who use Fedora & want to build Firefox but face the not-new-enough-version problem.

Good luck!

試用 Electron 的心得

因為昨天在讀學徒模式,裡面提到了「建造可拋棄式玩具」這個模式,所以我就依循他的建議, 做了一個圈圈叉叉遊戲,目前只有弄出 Linux 和 Mac 版,Windows 版聽說比較麻煩, 所以等改天心情好了再做。

來講講這幾個小時的心境轉折。

閱讀全文《試用 Electron 的心得

移除 ubuntu & Windows 開機修復 (error: no such partition. grub rescue)

前言

繼之前的 這篇文章 裝了 Ubuntu + windows 雙系統後,又會覺得好像空間變太少了,想要把 Ubuntu 移掉。
原本想說移掉感覺很簡單,就把切給 Ubuntu 的分區清掉,然後還給 Windows 不就好了?

做下去之後重開機,你就發現不是如此,電腦直接卡住,只看到一個好像很可怕的訊息:

error: no such partition.
grub rescue>
閱讀全文《移除 ubuntu & Windows 開機修復 (error: no such partition. grub rescue)

Android 4.2.2 無法使用 morelocale 2

會寫這篇文章是因為我妹的手機(HTC SV)不是台灣買的,沒有台灣中文 ,因而需要變更語系&所在地。

按照過往經驗,我就習慣性地載了 morelocal 2,結果居然不能使用!

上網問問 Google 大神後發現,是因為 Android 4.2.2 的某個權限有所更改,所以不能直接更動。

HTC 的 root 我沒有把握,不想把我妹的新手機弄壞。所以就選擇另一個比較簡單的方法 (adb),幫她弄好了以後 就決定要寫下一篇網誌幫助更多的人來解決這個問題 !

下面就來介紹一下我的流程。

閱讀全文《Android 4.2.2 無法使用 morelocale 2