Go Go Go!!

 

加個油吧?

肯尼斯‧藍‧湯普遜 Kenneth Lane Thompson,小名為肯‧湯普遜Ken Thompson ,生於美國紐奧良,計算機科學家與軟體工程師。他與丹尼斯‧里奇齊名同為一九八三年圖靈獎得主。……二零零七年時,湯普遜他和 Robert GriesemerRob Pike 在 Google 共同創造 Go 語言︰

Ken Thompson states that, initially, Go was purely an experimental project. Referring to himself along with the other original authors of Go, he states:

When the three of us [Thompson, Rob Pike, and Robert Griesemer] got started, it was pure research. The three of us got together and decided that we hated C++. [laughter] … [Returning to Go,] we started off with the idea that all three of us had to be talked into every feature in the language, so there was no extraneous garbage put into the language for any reason.

The history of the language before its first release, back to 2007, is covered in the language’s FAQ.

在此介紹一本《 An Introduction to Programming in Go. 》線上書,有興趣的讀者也可以看看《 Learning Go(lang) 》之文,或有是因為『 docker client 』而來的,歲末年終何不各適其意的呢?

問︰有人講 Go 是 C++ 的 Python,是真的嗎?

答︰未必然吧!它固能『 Hello, 世界』,可是?

問︰可是什麼??

答︰它會『反重力』── import antigravity ──的嗎??

 

python

 

 

 

 

春雷早發︰樹莓派 2 Model B ︰ 牝馬篇

200px-Jason_Pelias_Louvre_K127
Golden Fleece

根據 WiKi 所載︰在希臘神話中,金羊毛是一隻會飛、會說話的名叫克律索馬羅斯的公羊的毛。……而後,展開了英雄尋取金羊毛之歷險,贏得芳心的一段愛情故事……

因為『 SD 卡相容性的問題』,偶入『 Debian 8.0 Jessie 』之森林,雖有迷途風險,不知前方旅程…或許正如《易經‧坤卦》所講︰

 

元,亨,利牝馬之貞。 君子有攸往,先迷后得主,利西南得朋,東北喪朋。 安貞,吉。

彖曰:至哉坤元,萬物資生,乃順承天。 坤厚載物,德合無疆。 含弘光大,品物咸亨。 牝馬地類,行地無疆,柔順利貞。 君子攸行,先迷失道,后順得常。 西南得朋,乃與類行﹔東北喪朋,乃終有慶。安貞之吉,應地無疆。

想知道當紅docker 』是什麼嗎??也許最簡單的辦法就是先雲端docker‧docker 】一番!或者也能自己安裝!!

root@jessie-rpi:~# apt-get install docker.io
正在讀取套件清單... 完成
正在重建相依關係          
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
  aufs-tools cgroupfs-mount git git-man libapparmor1 liberror-perl
  libnih-dbus1 libnih1 makedev mountall patch plymouth rsync
建議套件:
  btrfs-tools debootstrap lxc rinse git-daemon-run git-daemon-sysvinit git-doc
  git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
  ed diffutils-doc plymouth-themes
下列【新】套件將會被安裝:
  aufs-tools cgroupfs-mount docker.io git git-man libapparmor1 liberror-perl
  libnih-dbus1 libnih1 makedev mountall patch plymouth rsync
升級 0 個,新安裝 14 個,移除 0 個,有 0 個未被升級。
需要下載 8,247 kB 的套件檔。
此操作完成之後,會多佔用 34.5 MB 的磁碟空間。
Do you want to continue? [Y/n] 
下載:1 http://ftp.debian.org/debian/ jessie/main makedev all 2.3.1-93 [42.6 kB]
下載:2 http://ftp.debian.org/debian/ jessie/main plymouth armhf 0.9.0-9 [166 kB]
下載:3 http://ftp.debian.org/debian/ jessie/main libnih1 armhf 1.0.3-4.3 [123 kB]
下載:4 http://ftp.debian.org/debian/ jessie/main libnih-dbus1 armhf 1.0.3-4.3 [96.2 kB]
下載:5 http://ftp.debian.org/debian/ jessie/main mountall armhf 2.54 [68.1 kB]
下載:6 http://ftp.debian.org/debian/ jessie/main patch armhf 2.7.1-6 [90.3 kB]
下載:7 http://ftp.debian.org/debian/ jessie/main aufs-tools armhf 1:3.2+20130722-1.1 [91.6 kB]
下載:8 http://ftp.debian.org/debian/ jessie/main cgroupfs-mount all 1.1 [4,572 B]
下載:9 http://ftp.debian.org/debian/ jessie/main libapparmor1 armhf 2.9.0-3 [57.8 kB]
下載:10 http://ftp.debian.org/debian/ jessie/main docker.io armhf 1.3.3~dfsg1-2 [3,078 kB]
下載:11 http://ftp.debian.org/debian/ jessie/main liberror-perl all 0.17-1.1 [22.4 kB]
下載:12 http://ftp.debian.org/debian/ jessie/main git-man all 1:2.1.4-2.1 [1,266 kB]
下載:13 http://ftp.debian.org/debian/ jessie/main git armhf 1:2.1.4-2.1 [2,763 kB]
下載:14 http://ftp.debian.org/debian/ jessie/main rsync armhf 3.1.1-2+b1 [376 kB]
取得 8,247 kB 用了 24s (334 kB/s)                                              
選取了原先未選的套件 makedev。
(讀取資料庫 ... 目前共安裝了 78239 個檔案和目錄。)
Preparing to unpack .../makedev_2.3.1-93_all.deb ...
Unpacking makedev (2.3.1-93) ...
選取了原先未選的套件 plymouth。
Preparing to unpack .../plymouth_0.9.0-9_armhf.deb ...
Unpacking plymouth (0.9.0-9) ...
選取了原先未選的套件 libnih1。
Preparing to unpack .../libnih1_1.0.3-4.3_armhf.deb ...
Unpacking libnih1 (1.0.3-4.3) ...
選取了原先未選的套件 libnih-dbus1。
Preparing to unpack .../libnih-dbus1_1.0.3-4.3_armhf.deb ...
Unpacking libnih-dbus1 (1.0.3-4.3) ...
選取了原先未選的套件 mountall。
Preparing to unpack .../mountall_2.54_armhf.deb ...
Unpacking mountall (2.54) ...
選取了原先未選的套件 patch。
Preparing to unpack .../patch_2.7.1-6_armhf.deb ...
Unpacking patch (2.7.1-6) ...
選取了原先未選的套件 aufs-tools。
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_armhf.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
選取了原先未選的套件 cgroupfs-mount。
Preparing to unpack .../cgroupfs-mount_1.1_all.deb ...
Unpacking cgroupfs-mount (1.1) ...
選取了原先未選的套件 libapparmor1:armhf。
Preparing to unpack .../libapparmor1_2.9.0-3_armhf.deb ...
Unpacking libapparmor1:armhf (2.9.0-3) ...
選取了原先未選的套件 docker.io。
Preparing to unpack .../docker.io_1.3.3~dfsg1-2_armhf.deb ...
Unpacking docker.io (1.3.3~dfsg1-2) ...
選取了原先未選的套件 liberror-perl。
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
選取了原先未選的套件 git-man。
Preparing to unpack .../git-man_1%3a2.1.4-2.1_all.deb ...
Unpacking git-man (1:2.1.4-2.1) ...
選取了原先未選的套件 git。
Preparing to unpack .../git_1%3a2.1.4-2.1_armhf.deb ...
Unpacking git (1:2.1.4-2.1) ...
選取了原先未選的套件 rsync。
Preparing to unpack .../rsync_3.1.1-2+b1_armhf.deb ...
Unpacking rsync (3.1.1-2+b1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for dbus (1.8.12-3) ...
設定 makedev (2.3.1-93) ...
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
設定 plymouth (0.9.0-9) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
設定 libnih1 (1.0.3-4.3) ...
設定 libnih-dbus1 (1.0.3-4.3) ...
設定 mountall (2.54) ...
設定 patch (2.7.1-6) ...
設定 aufs-tools (1:3.2+20130722-1.1) ...
設定 libapparmor1:armhf (2.9.0-3) ...
設定 docker.io (1.3.3~dfsg1-2) ...
Adding group `docker' (GID 118) ...
Done.
設定 liberror-perl (0.17-1.1) ...
設定 git-man (1:2.1.4-2.1) ...
設定 git (1:2.1.4-2.1) ...
設定 rsync (3.1.1-2+b1) ...
Processing triggers for dbus (1.8.12-3) ...
設定 cgroupfs-mount (1.1) ...
Processing triggers for initramfs-tools (0.116) ...
update-initramfs: Generating /boot/initrd.img-3.18.0-trunk-rpi2
flash-kernel: installing version 3.18.0-trunk-rpi2
‘/boot/vmlinuz-3.18.0-trunk-rpi2’ -> ‘//boot/firmware/kernel7.img’
Processing triggers for libc-bin (2.19-13) ...
root@jessie-rpi:~#

root@jessie-rpi:~# apt-get install golang-go

root@jessie-rpi:~# docker version
Client version: 1.3.3
Client API version: 1.15
Go version (client): go1.3.3
Git commit (client): d344625
OS/Arch (client): linux/arm
Server version: 1.3.3
Server API version: 1.15
Go version (server): go1.3.3
Git commit (server): d344625
root@jessie-rpi:~#