Welcome to Planet openSUSE

This is a feed aggregator that collects what openSUSE contributors are writing in their respective blogs.

To have your blog added to this aggregator, please read the instructions.


Friday
19 September, 2014


face

Esta entrada es un poco especial. No voy a hablar de ningún lanzamiento de KDE, ni de su futuro ni de la Comunidad. Tampoco de alguna extraordinaria aplicación, de algún tema de iconos  ni de ningún evento. Hoy hablaré del mundo de la blogsfera, un mundo al que creí que nunca formaría parte y del [&hellip


face
2014IT鐵人賽-05-基礎指令練習-建立檔案, 觀察檔案內容

今天一樣使用 EasyCloud  雲端簡單龍的帳戶, 那就登入 https://gemini.nchc.org.tw/ 來開始練習openSUSE 基礎指令吧.


今天練習建立檔案, 觀察檔案內容


筆記部份:


touch 指令可以建立空的檔案(大小為0) 或是改變檔案的時間
touch  不存在的檔案名稱 <建立檔案>
touch  已存在的檔案名稱 <更新時間>

cat 及tac 可以列出檔案的內容
cat 列出檔案的內容
tac 以反序的方式列出檔案內容

但是如果檔案的內容太多, 可以透過 more 或是 less 來一頁一頁慢慢看
more page by page 的方式列出檔案內容
less page by page 的方式列出檔案內容

另外我們可以透過 df 以及  du 來觀察系統的可用空間
df 列出系統的可用空間(partition為基準)
du 系出磁碟使用量(Directory 為基準)

如果只想取出檔案的部份呢? 利用 head 或是 tail 吧
head 列出檔案的前幾行
tail 列出檔案的後幾行


如果要處理的程序不只一個呢? 利用  |  pipe 來連續處理吧
指令1 | 指令2
| pipe 會把指令1處理完的結果丟給指令2繼續處理

開始練習吧


Lab: touch

# cd   /home/max/ <切換至使用者max家目錄練習>
# /bin/ls <觀察資訊,目錄內無test檔案>
# touch  test <建立空檔案test>
# /bin/ls
test

# /bin/ls  -l <請觀察時間部份>
總計 0
-rw-r--r-- 1 root root 0  8月  8 09:25 test

# touch  test <因檔案已存在,故touch會更新時間>
# /bin/ls  -l
總計 0
-rw-r--r-- 1 root root 0  8月  8 09:26 test

# touch  -t  200608011200   test <指定test的mtime,-t 時間>
# ls -l
總計 0
-rw-r--r-- 1 root root 0  8月  1 12:00 test

# ls  -l  /bin/ls
-rwxr-xr-x 1 root root 93876  2月 11 14:43 /bin/ls

# touch  -r  /bin/ls   test <參考/bin/ls的時間, -r 參考>
# ls -l
總計 0
-rw-r--r-- 1 root root 0  2月 11 14:43 test



Lab: cat,tac,less,more,df,du
# cat   /etc/passwd <列出/etc/passwd內容>
# tac   /etc/passwd <以反序方式列出/etc/passwd>
# less  /etc/passwd <以by page方式列出/etc/passwd>
# more   /etc/passwd <以by page方式列出/etc/passwd>
# df  -h <列出系統可用空間,-h 人類可閱讀方式>
# du  -sh  /etc <小計/etc 使用量, -s 小計>
# du  -h  --max-depth=1   /home <統計使用者於家目錄的使用量>


Lab:head,tail
# head  /etc/passwd <顯示/etc/passwd檔案的前幾行>
# head  -n  2   /etc/passwd <顯示/etc/passwd檔案的前2行>
# tail  /etc/passwd <顯示/etc/passwd檔案的後幾行>
# tail  -n  3   /etc/passwd <顯示/etc/passwd檔案的後2行>


Question: 請列出 /etc/passwd 第 11 到 20行
#nl   /etc/passwd        <------ 顯示行號


Ans:
if there are 26 lines in /etc/passwd
#head -n 20 /etc/passwd   |   tail
#tail -n 16 /etc/passwd   |   head




Fun with Day 5 ~


face

After installing current openSUSE Factory in a VM, I found that the old GRUB option was removed from YaST2. I knew this from the mailing list, but now I actually realized that this happened. I still prefer GRUB over GRUB2, because for me it is easier to manage. But being lazy, I just went with the default.
Everything went well, until I added a customized kernel (I had installed the VM to do some kernel experiments after all). The boot menu suddenly was not very useful anymore. After selecting "advanced options", I got the following:

Well, which one of the four is now my hand-built, brand new kernel?
There is no such thing as in old GRUB where "Esc" got you out of gfxboot mode and into text mode. The command keys, like "e" for editing the current selection and "c" for a GRUB2 shell (something even more hellish than the old GRUB shell apparently) work, but you really need to know this, as there is no indication of that.

So I wanted to get rid of the gfxboot stuff. I don't need fancy, I need it usable.
Booted the VM, logged in. "zypper rm grub2-branding-openSUSE" followed by "grub2-mkconfig > /boot/grub2/grub.cfg". Much better:
But still it is in graphics mode, which I do not care about now, but once I have to deploy this stuff on something like an HP server where you can get a text console via SSH, but only if it is in plain VGA mode, I will not be amused. So boot that VM again, and look further. Finally, the solution is in /etc/default/grub: "GRUB_TERMINAL=console". The comment above says just uncommenting the original "gfxterm" setting would be enough, but it is not. After recreating the config file and rebooting, it looks quite useful:
And it is not even missing information, compared to the gfxterm version... no idea why this stuff is default.

Now that "Distribution" string in there looks completetly redundant, so getting rid of that will help, too.
Again, it is in /etc/default/grub, variable GRUB_DISTRIBUTOR. I see that in the grub2 rpm package, there is only "openSUSE" instead of  "openSUSE Factory Distribution", so it might be put into the config by the installer or something. I'll change it to just "Factory" (to distinguish between other openSUSE installations). After grub2-mkconfig, it looks almost good:
Now the important information (Kernel version) is completely visible. Much better than the original "bling bling" screen, which had no useful information at all...
Just fixing the Factory string would probably have helped also, but it still would fail the server test, so plain console will stay my favorite for now.



face

To share a bit more about this long trip but worth to made it.
You can now enjoy the video clip made during this event.



Was a real pleasure to meet so numerous openSUSE users.


face

Zde jse jednoduchá, jednoúčelová aplikace KColorChooser.(z odkazu lze přímo stáhnout pro openSUSE)
K výběru barev lze použít několik způsobů - velmi užitečné je kapátko, paleta barev, nebo také ukládání vlastních barev.
Můžete dokonce vybrat jakoukoliv barvu z plochy.

Obdobných aplikací lze sehnat nespočet i na jiné platformy. Představuji vám jednu, která vám umí dost ulehčit a zrychlit práci v KDE prostředí.

Při tvorbě webových stránek jsem aplikace tohoto typu často používal, jsou jednoduché,malé, nenáročné a rychlé, proto není potřeba spouštět graf. programy jako je Gimp.
Užitečná věcička je hexadecimální zápis barev, který se používá při tvorbě webových stránek. Určení barvy v RGB (červená, zelená, modrá ) a také nechybí HSV Hue-Saturation-Value.

Ve zkratce Vám proto představuji KColorChooser
kde-kcolorchooserdee.png KDE odkaz na appku je také ZDE

Pokud často používáte jinou podobnou apku, nebo právě tuto, prosím o komentáře třeba by stálo se o ní zmínit.


Thursday
18 September, 2014


face

Un año más llega el Software Freedom Day 2014, es decir, el Día del Software Libre. Un evento mundial especial en el que simpatizantes del Software Libre se reúnen para promocionar los Proyectos Libres que pueblan nuestro planeta.   Software Freedom Day 2014 Aunque supongo que muchos de vosotros lo sabréis nunca está de más [&hellip


face
2014IT鐵人賽-04-基礎指令練習-切換目錄以及觀察目錄下的物件

今天一樣使用 EasyCloud  雲端簡單龍的帳戶, 那就登入 https://gemini.nchc.org.tw/ 來開始練習openSUSE 基礎指令吧.
今天來練習如何切換目錄以及觀察目錄下的物件


筆記部份:


FHS Linux 檔案系統架構
Filesystem Hierarchy Standard


在 Linux 內所有的路徑起始點都是  /  ( 唸做 root )根目錄開始
路徑描述
  • 絕對路徑: 從 根目錄 / 開始描述
  • 相對路徑: 從 現在目錄 開始描述
    • . 目前的目錄
    • .. 上一層目錄


cd 切換工作目錄
  • cd  - 回到上次工作目錄
  • cd  ~ 切換到家目錄
  • cd  ~max 切換到使用者 max 的家目錄


pwd 顯示目前的工作目錄


在shell 內可以使用
  • ctrl + c 中斷
  • ctrl + l 清除螢幕


ls 列出目錄下的物件


開始練習吧


Lab: cd

task1: 切換到/etc/samba
#whatis  pwd
#pwd <列出目前目錄>
#cd  /etc/samba 或是 #cd  ../etc/samba <切換到/etc/samba>
#pwd <列出目前目錄>

task2:由/etc/samba 切換回到/root
#cd  /root <絕對路徑>

#cd  ../../root <相對路徑>

#cd

#cd  - < -:上次工作目錄>

#cd  ~ <~: 家目錄>


Lab: ls
#cd   /home/max
#ls <列出目錄下檔案>
#ls  -l <long listing詳細顯示>
#alias <請觀察系統別名>

因為系統會加上 -A --color=tty 的選項, 所以會顯示出隱藏檔
此時可以利用 \  ( back slash )來取消系統所賦予的alias
或是直接輸入絕對路徑 /bin/ls

#/bin/ls  -al
#/bin/ls  /
#/bin/ls  -R   / < -R 遞迴;連同子目錄都要列出來>
#\ls  -l   /root
#\ls  -lt  /root < -t 以時間排序>
#\ls  -F   /root < -F 顯示File type>


Fun with Day 4 ~


face

Un gestor de fotografías como digiKam es el mejor ejemplo del extraordinario  tipo de aplicaciones que se pueden llegar a crear utilizando la filosofía de Software Libre.  Así que no es de extrañar que la Comunidad KDE se complazca en anunciar con orgullo que ha sido Lanzado digiKam Software Collection 4.3. Veamos sus novedades. Lanzado [&hellip


face

Oracle Linux Advanced 認證終於要釋出了,這也是  Oracle Linux 的 OCP 認證考試科目,目前預計 9/20 可以開放登記 Beta 考試,由於因應考試的關係該科課程內容也進行大量調整,將 KVM 與 XFS 加入了訓練項目中,詳細資訊如下,有興趣的朋友可以前往瀏覽:

https://blogs.oracle.com/linux/entry/coming_soon_new_oracle_linux


Wednesday
17 September, 2014


face
2014IT鐵人賽-03-基礎指令練習


申請完 EasyCloud  雲端簡單龍的帳戶, 那就登入 https://gemini.nchc.org.tw/ 來開始練習openSUSE 基礎指令吧.


有關於登入的方式已經在上一篇有提到, 今天就再提一次吧.


1. 使用 圖形界面
點選左下角的操作介面圖示
就可以看到 VNC 的登入畫面, 然後點選自己的帳號, 並輸入剛剛自行設定的密碼
即可登入 openSUSE 的使用環境.


螢幕快照 2014-09-16 上午12.33.39.jpg

點選左上方的概覽
然後輸入 term 就可以找到 GNOME 終端機
點選GNOME 終端機, 就可以開啟終端機了. ( 建議可以用滑鼠右鍵來加入喜好 ^^)
2014-09-17 18:28:29 的螢幕擷圖.png


2. SSH連線方式
點選左下角的SSH圖示
這邊就會出現連線的主機還有連接的 port


螢幕快照 2014-09-16 上午12.38.47.jpg


接下來使用  putty 之類的 SSH 連線軟體, 或是 Mac 內部的工具程式終端機
就可以進行連線的動作


接下來可以開始練習基礎指令了


筆記部份:

指令語法如下
指令   [ - ]   [ -- ]   [ TARGET ]
short option long option   對象

指令與 option 或是 Target 是以空白鍵來進行分隔
  • 一個空白鍵或是多個空白鍵都代表分隔
  • 使用一個 - 為 short option, 簡短的方式, 例如 -a
  • 使用兩個 - 為 long option, 完整的方式, 例如  --all


可以使用 TAB 按鍵 或是 Ctrl + i 來使用檔案名稱/命令補齊


man 指令可以看指令的說明.
MAN section 是針對不同的用途可以指定想看的用途, 常用的 man section 如下
  • 1 User commands 使用者指令
  • 5 Configuration file and formats 設定檔及格式
  • 8 System administrator commands 管理者指令

開始練習吧


Lab: man, info 及文件說明


#whatis  ls <查看指令ls的說明>
#man ls <查看指令ls的說明>
q 離開


#man  -k  samba <搜尋關鍵字為samba的說明>
#apropos  samba <搜尋關鍵字為samba的說明>


#man -aw passwd <列出passwd所有man文件路徑>
#man passwd
#man 1 passwd <請觀察資訊>
#man 5 passwd <請觀察資訊>
#man -a passwd <請觀察資訊>


#ls  /usr/share/doc/packages <請觀察資訊>
#info ls <請觀察資訊>
#ls --help <請觀察資訊>


另外有關於 Linux 的文件也可以參考以下的網頁
The Linux Documentation Project

Fun with Day 3 ~


Jakub Steiner: Making of GNOME 3.14

14:50 UTCmember

face

The release of GNOME 3.14 is slowly approaching, so I stole some time from actual design work and created this little promo to show what goes into a release that probably isn’t immediately obvious (and a large portion of it doesn’t even make it in).

Watch on Youtube

I’d like to thank all the usual suspects that make the wheels spinning, Matthias, Benjamin and Allan in particular. The crown goes to Lapo Calamandrei though, because the amount of work he’s done on Adwaita this cycle will really benefit us in the next couple of releases. Thanks everyone, 3.14 will be a great release*!

* I keep saying that every release, but you simply feel it when you’re forced to log in to your “old” GNOME session rather than jhbuild.


face

Dear openSUSE Community,

As you might be aware, SUSE’s parent entity, the Attachmate Group has entered into an agreement to merge into Micro Focus, a UK-based enterprise software company. As the primary sponsor of the openSUSE Project, SUSE’s President and General Manager, Nils Brauckmann has contacted the openSUSE Board to share the following key points

  • Business as Usual: There are no changes planned for the SUSE business structure and leadership. There is no need for any action by the openSUSE Project as a result of this announcement.

  • Commitment to Open Source: SUSE remains passionately committed to innovation through Open Source. This has always been the foundation of our business and that will continue as we grow and innovate in new areas.

  • Commitment to openSUSE: SUSE is also fully committed to being a sponsor and supporter of an open, highly independent and dynamic openSUSE community and project. We are proud of openSUSE and greatly value the collaborative relationship between SUSE and the openSUSE community.

The combination of the Attachmate Group and Micro Focus creates a larger, global enterprise software entity, operating at a greater global scale. This provides an even stronger foundation for the continued investment in SUSE and our continued innovation through Open Source.

The openSUSE Board would like to thank Nils and SUSE for this reassuring statement. The Board is enthusiastic about the benefits the merger may bring to SUSE and ultimately also to our openSUSE Project.

If anyone has any questions, there will be an opportunity to raise them at todays (Wednesday 17th Sept) regular openSUSE Project Meeting at 15:00 UTC in #opensuse-project on the Freenode IRC network.

Regards,

The openSUSE Board


face
2014IT鐵人賽-02-建立自己第一個openSUSE Linux

15244784812_79682e5536_b.jpg

申請完 EasyCloud  雲端簡單龍的帳戶, 那就登入 https://gemini.nchc.org.tw/ 來建立自己練習的第一個 openSUSE 吧.

首先進入到登入畫面
然後點選中間上方的 建立 按鈕

螢幕快照 2014-09-16 上午12.12.55.jpg

接下來輸入虛擬機器的名稱
圖形顯示界面, 點選 VNC
以及輸入要建立VM內的使用者密碼, 請連續輸入兩次

螢幕快照 2014-09-16 上午12.19.13.jpg

接下來選擇範本, 當然要選擇 openSUSE 13.1
點選建立, 建立我們的練習VM.

螢幕快照 2014-09-16 上午12.22.45.jpg

這個時候可以點選右上角的重新整理按鈕來觀察虛擬機器建立的狀態.
大約幾分鐘就可以建立完成. 建立完成之後就點選機器名稱 2014ironman 進入VM畫面.

螢幕快照 2014-09-16 上午12.23.32.jpg螢幕快照 2014-09-16 上午12.23.42.jpg
進入VM機器畫面之後
接下來就是後面我們練習的操作方式.

螢幕快照 2014-09-16 上午12.30.18.jpg

1. 使用 圖形界面
點選左下角的操作介面圖示
就可以看到 VNC 的登入畫面, 然後點選自己的帳號, 並輸入剛剛自行設定的密碼
即可登入 openSUSE 的使用環境.

螢幕快照 2014-09-16 上午12.33.39.jpg

2. SSH連線方式
點選左下角的SSH圖示
這邊就會出現連線的主機還有連接的 port

螢幕快照 2014-09-16 上午12.38.47.jpg

接下來使用  putty 之類的 SSH 連線軟體, 或是 Mac 內部的工具程式終端機
就可以進行連線的動作

接下來就可以準備開始練習了
:-)

Fun with Day 2 ~


Tuesday
16 September, 2014


face

Si estás interesado en aprender a programar Javascript, este interesante juego de calabozos puede hacer que el aprendizaje sea mucho más entretenido. Aunque requiere un nivel básico de entendimiento de programación, es un proyecto de código abierto, así que está en constante mejora, y puede resultar bastante productivo para dominar varios lenguajes que ofrecen en su página principal: http://codecombat.com/

Me aventuré a hacer una prueba rápida del juego y publiqué un pequeño vídeo en nuestro canal de YouTube.

En cada uno de los niveles debes programar para conseguir un objetivo específico: recoger un hongo para crecer y matar un ogro gigante, mover a los soldados por el calabozo, entre otros. Además, cada “lección” tiene un nivel de dificultad, de modo que iremos mejorando y haciendo misiones más complicadas a medida que vas aprendiendo.

Esto es sólo el principio, ya que el proyecto se hizo de código abierto recientemente y los programadores han contribuido reportando errores, añadiendo mejoras, etc. Yo lo he probado en Firefox y funciona perfectamente.

¿Probaste el juego? Deja un comentario con tu opinión y experiencia al respecto.

Fuente: alt1040


face

The standard method to access z/VM is using a 3215 terminal with a terminal emulator. With linux, the x3270 package provides a free emulator for these terminals.

One of the features of z/VM is, that you can define several consoles for a guest. This is very helpful if there are problems with a guest that affect the network connectivity. With z/VM you can even define multiple consoles that allow direct logon to the running guest.

By default, only one terminal is defined for z/VM guests. To define three additional 3270 consoles on a guest at the addresses 0020-0022, use the following commands:

cp define graf 20
cp define graf 21
cp define graf 22

These consoles can also be created online from linux, provided that you got sufficient privileges on the guest. To issue cp commands from linux, use the command vmcp instead of cp.

With SLES 12, several additional steps are needed to activate these consoles.

First, the devices must be made available to the system. This a twofold process:

  1. Remove the devices from the cio ignore list with the command
  2. cio_ignore -r 0.0.0020-0.0.0022
  3. Add the devices to /boot/zipl/active_devices.txt to make this change persistent.
    # cat /boot/zipl/active_devices.txt
    ...
    0.0.0020-0.0.0022

The system automatically detects those devices. The corresponding serial devices are found below /dev/3270/tty[123]. Next, tell systemd to run a getty on these devices:

systemctl enable serial-getty@3270-tty1.service
systemctl enable serial-getty@3270-tty2.service
systemctl enable serial-getty@3270-tty3.service
systemctl start serial-getty@3270-tty1.service
systemctl start serial-getty@3270-tty2.service
systemctl start serial-getty@3270-tty3.service

To use the new consoles on a machine called LINUX065, direct the 3270 terminal emulator at z/VM. Instead of logging on as regular user, move the cursor to the COMMAND line and enter the following command:

dial linux065

To redisplay the logon prompt, you might want to press enter once.

When trying to logon to this console as root, you will find that it won’t let you. The reason for this is, that root logon is only allowed on previously defined consoles. The configuration file for this is /etc/securetty. Add the following lines to the end of this file:

3270/tty1
3270/tty2
3270/tty3

After this, you can directly logon to the linux guest without the need for z/VM credentials.

If you want to avoid the need to redefine the consoles after a logoff of the guest, add the definition to PROFILE EXEC A of the guest.

 



face

Používám openSUSE ve verzi 12.3 na testovacím stroji a nazval bych openSUSE nejhezčí a nejvypilovanější Linuxový systém.
OpenSUSE je o mnoho víc než se zdá být, můžete openSUSE přeměnit na mocný media server ke streamování vaší muziky, filmů i fotek do tabletů, stmartfounů, televizorů i PC.
Existuje mnoho media server aplikací, některé jsou open source a některé svobodné nejsou.
Pokud hledáte dobře vypilovanou apku, která obsahuje mnoho fíčur, tak teď jste ji právě našli.
Plex je ideální řešení, které je z části open source.

Nejenom že vám Plex dovolí streamovat vaše data, ale také nabízí obsah třetích stran skrze free kanály, které můžete přidat z webového rozhraní.
Plex umí překódovat různé formáty videí, atak se nemusíte vůbec strachovat jaký formát videa použít.

Jak nainstalovat Plex na openSUSE

Stáhněte si plex z tohoto odkazu (vyberte rpm verzi) a nainstalujte pomocí install/remove, nebo v terminálu spuštěním tohoto příkazu:
sudo zypper install /PATH_TO_PLEX.rpm
Po nainstalování, spusťte Plex pomocí tohoto příkazu
sudo systemctl start plexmediaserver.service
Po spouštění tohoto příkazu, se spustní Plex při zavádění systému.
sudo systemctl enable plexmediaserver.service
Jak se Plex nastartuje, otevřete webový prohlížeč s touto adresou
localhost:32400/web/index.html
snimek_obrazovky_2014-09-16_v_13.24.16.png

Ujistěte se však, že Firewall neblokuje tento port, protože je jistá šance ,že openSUSE Firewall bude blokovat právě tento port. Nezapoměňte na přesměrování portů pro TCP a UDP 32400
Budete přivítáni atraktivní Plex obrazovkou, klikněte na next a pojmenujte server, aby jste si ho v síti poznali.


Přidání Médií


Můžete přidat zakoupená videa, TV pořady nebo různá domácí videa, muziku i obrázky, které můžou být streamovány v lokální síti.
K přidání složek do Plex, klikněte na Add Section tlačítko, vyberte typ médií, které chcete přidat, najděte si složku s daným obsahem pak klikněte na „Add the folder“ Ten samý krok opakujte pro různé typy médií (fotky, videa, muziku)

Ujistěte se, že nespojujete složku videí s muzikou. Obsah se nemusí zobrazit na serveru.
Po přidání složek uvidíte náhledy vašich dat, můžete také instalovat kanály, které Plex nabízí. Najdete zde Apple trailers, NPR nebo také TEDa.

Další okno nabízí možnost vytvoření Plex účtu. Pomocí účtu budete schopni streamovat váš obsah do mobilních zařízení i když nejste ve vaší lokální síti.

Nyní jste připraveni se připojit k vašim datům z vašich zařízení, které jsou na síti. M


Monday
15 September, 2014


face

Logo od tohoto autora bylo vybráno jako Oficiální Logo summitu.
logo-300x300.png
openSUSE Asia community děkuje všem účastníkům soutěže za jejich čas a snažení, stejně jako lidem za hlasování, kteří se právě svým hlasováním postarali o aktivní účast.
Výsledky soutěže můžete shlédnout ZDE

News.opensuse.org
12. září 2014 Manu Gupta


Sunday
14 September, 2014


face

Banner300.going

If running a booth is, for sure, an investment of time, energy and money (even if TSP contribute to help you), We often forget to say
how much it’s important for our community and project.

Booths makes openSUSE alive in all open source events! and it’s a great experience to live, for any of us.

Feel the beat!

I strongly believe that openSUSE has be to visible on events like KDE Akademy, Scale, Fosdem, Guadec.
It’s not a question of "Bang for the buck", than a simple obviousness:

  • Fosdem : the biggest open source event in Europe (perhaps in the world) with more than 5000 hackers visiting.
  • Scale : biggest event in North America with more than 3000 attendees
  • Guadec : The annual conference of Gnome Hackers with lot of worldwide attendees
  • KDE Akademy : This year with around 150 active contributors coming from all over the world.

The obviousness is: if openSUSE has no booth there, you just see Ubuntu and Redhat, and let’s add Debian, Mageia etc for Fosdem or Scale.
openSUSE-lizard0b

You all know how much I like our Geeko community. And when Akademy staff proposed us to run a booth, I said yes, great I will be there!
After comparing ways to go to Brno, the Geeko’s car was the less expensive, and allow me to pick the demo touch screen at SUSE Headquarter.
So I took a full week off and drive 2000 kilometers to make it happens.

openSUSE-lizard2

Open the Fun can

Running a booth is not that hard. You will find flyers in the booth box presenting openSUSE and related tools.
There’s goodies like several kind of stickers, pens, USB flash keys, beer mate.
About the poster, if not allowed on walls, let’s your creativity soar. Use boxes, a pen can also fix that big banner around the guard-rail.

On the human part, I would say than 3 persons is not too much. For example at Brno, the booth was very calm during the talks, but when the break
arrives, you just see 30-50 people coming all at the same time in your direction.Don’t run away!
Organize yourself! For example one of the staff is delegated to spread swag, and drive attendees to the next expert.

Try to give as much as possible short-quality answers.

No matter if you are not at all technical guru, the priority is to welcome visitors and listen to them.

If you have a demo computer, organize a bunch of bookmarks related to the conference subject inside the openSUSE community.
At Brno, we were essentially demoing live factory with kde stable 4.14 and Factory with plasma5 and Frameworks 5, and all related web pages about kde on obs, wiki.
Our moto was What openSUSE can offer to KDE developers and contributors.

It’s rarely on a booth that we can resolve a bug, but that’s where a beginning of a social interaction starts.

Don’t worry if you can’t awnser directly, offer



Saturday
13 September, 2014


face

Twice recently we have had “fun” trying to get things using HK2 (Jersey), to place nicely with code built using Guice and Spring. This has renewed my appreciation for code written without DI frameworks.

The problem with (many) DI frameworks.

People like to complain about Spring. It’s an easy target, but often the argument is a lazy “I don’t like XML, it’s verbose, and not fashionable, unlike JSON, or YAML, or the flavour of the month”. This conveniently ignores that it’s possible to do entirely XML-less Spring. With JavaConfig it’s not much different to other frameworks like Guice. (Admittedly, this becomes harder if you try to use other parts of Spring like MVC or AoP)

My issue with many DI frameworks is the complexity they can introduce. It’s often not immediately obvious what instance of an interface is being used at runtime without the aid of a debugger. You need to understand a reasonable amount about how the framework you are using works, rather than just the programming language. Additionally, wiring errors are often only visible at runtime rather than compile time, which means you may not notice the errors until a few minutes after you make them.

Some frameworks also encourage you to become very dependent on them. If you use field injection to have the framework magically make dependencies available for you with reflection, then it becomes difficult to construct things without the aid of the framework – for example in tests, or if you want to stop using that framework.

Even if you use setter or constructor injection, the ease with which the framework can inject a large number of dependencies for you allows you to ignore the complexity introduced by having excessive dependencies. It’s still a pain to construct an object with 20 dependencies without the framework in a test, even with constructor or setter injection. DI frameworks can shield us from the pain that is useful feedback that the design of our code is too complex.

What do I want when doing dependency injection? I have lots of desires but these are some of the most important to me

  • Safety – I would like it to be a compile time error to fail to satisfy a dependency
  • Testability – I want to be able to replace dependencies with test doubles where useful for testing purposes
  • Flexibility – I would like to be able to alter the behaviour of my program by re-wiring my object graph without having to change lots of code

It’s also nice to be able to build small lightweight services without needing to add lots of third party dependencies to get anything done. If we want to avoid pulling in a framework, how else could we achieve our desires? There are a few simple techniques we can use which only require pure Java, some of which are much easier in Java 8.

I’ve tried to come up with a simple example that might exist if we were


face

A new gem

A new gem has started in the world. Youtube_helper is not just another Youtube gem. It’s the helper gem. What it does? The Youtube_dlhelper gem downloads a youtube video from a defined space, creates the needed directories and transcodes the filde from *.m4a to *.mp3. Read the full README for using the gem.

Where is it?

You can find it there: https://github.com/saigkill/youtube_dlhelper (It goes directly to the README).

Ho to use?

Just run it with: youtube_dlhelper.rb YourUrl The new file is shown inside your $Musicfolder/Groupname/Youtube-Music or if you have choosen a Interpret it goes to $Musicfolder/Surname_Firstname/Youtube-Videos.

Have a lot of fun :-)


Sascha Manns: Welcome

01:30 UTCmember

face

Welcome

Hello and welcome to my new Jekyll Bootstrap Page. Because of some Bandwidth problems i moved my blog out to Github.


Sascha Manns: Jekyll Introduction

01:30 UTCmember

face

This Jekyll introduction will outline specifically what Jekyll is and why you would want to use it. Directly following the intro we’ll learn exactly how Jekyll does what it does.

Overview

What is Jekyll?

Jekyll is a parsing engine bundled as a ruby gem used to build static websites from dynamic components such as templates, partials, liquid code, markdown, etc. Jekyll is known as “a simple, blog aware, static site generator”.

Examples

This website is created with Jekyll. Other Jekyll websites.

What does Jekyll Do?

Jekyll is a ruby gem you install on your local system. Once there you can call jekyll --server on a directory and provided that directory is setup in a way jekyll expects, it will do magic stuff like parse markdown/textile files, compute categories, tags, permalinks, and construct your pages from layout templates and partials.

Once parsed, Jekyll stores the result in a self-contained static _site folder. The intention here is that you can serve all contents in this folder statically from a plain static web-server.

You can think of Jekyll as a normalish dynamic blog but rather than parsing content, templates, and tags on each request, Jekyll does this once beforehand and caches the entire website in a folder for serving statically.

Jekyll is Not Blogging Software

Jekyll is a parsing engine.

Jekyll does not come with any content nor does it have any templates or design elements. This is a common source of confusion when getting started. Jekyll does not come with anything you actually use or see on your website - you have to make it.

Why Should I Care?

Jekyll is very minimalistic and very efficient. The most important thing to realize about Jekyll is that it creates a static representation of your website requiring only a static web-server. Traditional dynamic blogs like Wordpress require a database and server-side code. Heavily trafficked dynamic blogs must employ a caching layer that ultimately performs the same job Jekyll sets out to do; serve static content.

Therefore if you like to keep things simple and you prefer the command-line over an admin panel UI then give Jekyll a try.

Developers like Jekyll because we can write content like we write code:

  • Ability to write content in markdown or textile in your favorite text-editor.
  • Ability to write and preview your content via localhost.
  • No internet connection required.
  • Ability to publish via git.
  • Ability to host your blog on a static web-server.
  • Ability to host freely on GitHub Pages.
  • No database required.

How Jekyll Works

The following is a complete but concise outline of exactly how Jekyll works.

Be aware that core concepts are introduced in rapid succession without code examples. This information is not intended to specifically teach you how to do anything, rather it is intended to give you the full picture relative to what is going on in Jekyll-world.

Learning these core concepts should help you avoid common frustrations and ultimately help you better understand the code examples contained throughout Jekyll-Bootstrap.

Initial Setup


Friday
12 September, 2014


face

We are pleased to announce that the winner of our Logo Design contest is the No.8 candidate authored by *W.H*!

Congratulations, *W.H*! W.H’s logo has been chosen as the official logo.

openSUSE Asia Summit 2014

openSUSE Asia Summit 2014

 

A heartfelt thanks from the openSUSE Asia community to all the logo designers for their time and effort, as well as the voters who took care of the active voting! You made this happened!

 

Results of the voting contest can be seen here.


face


Xplanets


Je aplikace, která dovolí uživatelům experimentovat s dynamikou solárního systému.
Tento program pouze simuluje fyziku. Planety a jejich měsíce nemají žádné vlastnosti, kromě velikosti, pohybu a hmotnosti.
xplanets.png


Stellarium

Je simulátor pohledu na hvězdy. Kde uživatel je v nějakém venkovském prostranství a dívá se na oblohu. Uživatelé můžou simulovat různé druhy dalekohledů a teleskopů. Lze také nastavit i čas, viditelné objekty i různé štítky. Stellarium je primárně využíván pro vzdělávací účely. Stellarium je možno používat na mobilních zařízeních Android, iOS a dalších mobilních systémech. http://www.stellarium.org/. Zde můžete sehnat i pluginy a další užitečné informace.
stelar1.png
stelar2.png
stelar3_0.png
stelar4.png

Kstars

Kde uživatelé si můžou také užít Kstars, což je aplikace podobná Stellarium.
http://edu.kde.org/kstars/


Celestia


je detailní 3D simulátor, který dovoluje uživatelům prozkoumávat vesmír a to včetně jiných solárních systémů.
Uživatelé můžou cestovat různými vesmírnými cíli. Stisknutím tlačítek se můžete pohybovat nebo si prohlédnout celý objekt.
Grafika je velmi detailní.
Obvyklé využití této aplikace se najde ve vzdělání, nebo využití najdou také amatéři.
Domovská stránka aplikace je http://www.shatters.net/celestia/
tady jsou nějaké addony http://www.celestiamotherlode.net
celestia1.png
celestia2.png
celestia3.png


OpenUniverse


je také dost podobná aplikaci Cellestia. Obě dvě aplikace mají podobné rozhraní a sadu fíčur, to záleží na vašich preferencích a na tom která aplikace vám bude víc vyhovovat. Takže dopoučuji si zkusit obě, aby jste viděli která se vám líbí víc.
http://www.openuniverse.org/
openu1.png


Digital Universe


Je další opensource planetárium, které může uživatelům víc vyhovovat než Celestia nebo openUniverse.
(http://www.amnh.org/our-research/hayden-planetarium/digital-universe/)


Xephem


Zase další kousek planetárního software pro Linux. Nicméně tento program je patentovaný.
(http://www.clearskyinstitute.com/xephem/)

Pro ty co mají rádi Vesmír a fikci je tu

veřejný simulátor vesmíru

.
(http://www.galaxiki.org/)
Server poskytuje pouze jeden vesmír, který je veřejný. Tato hra můžu lidem pomoc pochopit vesmír tím, že ho uživatelé vytvářejí a manipulují s ním.

Hvězdné mapy mohou být vytvářeny softwarem zvaným PP3 (http://pp3.sourceforge.net/)
Mapy jsou ukládány ve formátech pdf, posrscript, nebo LaTeX.

Můžete také studovat povrch měsíce s „

Virtual Moon Atlas

“ domovská stránka je zde.
http://ap-i.net/avl/en/start.

Objekty hlubokého vesmíru softwarem zvaným “

where is my M13

“ tento software je ka nalezení na
http://www.thinkastronomy.com/M13/index.html.

Pro ty kteří se hodně zajímají o astronomii, je tu přímo Linuxová

distribuce


face

Have you ever dreamed making your own unique font set. You get on it and seek for decent cheap or open source alternatives for making Truetype fonts  and  probably you find at least Fontforge. You are very happy and make you mind I’ll do my fonts with Fontforge. After a while you realize Fontforge is a Swiss army knife for making fonts in open source but you just wanted to create TTF, EOT or SVG font set. Weep no more you can use Birdfont.
Birdfont in Ubuntu

Birdfont free font editor

Birdfont is developed by one man army Johan Mattsson. First it was hobby project now it has evolved pretty nice font editor  and it while ago it hit version 1.0 (actually now it’s already version 1.1). Biggest driver create Birdfont even though there is superior editor available was create grid based editor rather than exact coordinates system used in Fontforge. So in Birdfont you can snap to grid.

Birdfont is very stable and available native in Windows, Mac OS X and of course various Linux distributions (counting in openSUSE). Those who care it’s written in Vala and even though it’s GPL code although developer asks you to donate couple of $ or € before downloading binary. If you ask me it’s worth every dime but of course you can download source and make your own build.

Workflow

You can create font or font set all in Birdfont (Which has very nice gird editor) or one can use free of choice vector editor that can export SVG and import glyphs in. After import you can edit imported glyphs because used curve math ain’t same in TTF than it’s SVG but Birdfont tries to make this part easy for you. You can also edit kerning and font location to make more complex fonts come true.

After you are satisfied with font. Just edit properties and export your font in TTF, EOT or SVG format.

So if Fontforge is too much and you just want to hop on  making fonts Birdfont can be what you are seeking for.


Thursday
11 September, 2014


face

OpenSUSE uživatelé vždy přemýšleli jak se dostat k aktuálnímu software a aktuálním aplikacím.
Vědí že systém Ubuntu má něco co se nazývá PPAs což dovoluje uživatelům dostat se k nejnovějším balíčkům, které ještě nejsou v oficiálních repozitářích. Stejný případ je u Arch Linuxu díky AUR. Ale existuje něco takového pro uživatele openSUSE?
Jistě že ano!
OpenSUSE má službu která se jmenuje OBS nebo openSUSE Build Service, služba pomáhá nejenom openSUSE uživatelům, ale také jiným projektům k jednuduché kompilaci pro své uživatele. OBS nevytváří balíčky pouze pro openSUSE, ale vývojáři mužou a vytvářejí balíčky pro jiné distribuce, například pro Ubuntu.
Mnoho předních projektů používá OBS ke kompilaci balíčků.
OBS také dovoluje nezávislým vývojářům a projektům, aby nabídli své poslední balíčky openSUSE uživatelům skrze své vlastní repozitáře.
Je to podobné jako PPA v Ubuntu.
OpenSUSE má online nástroj pro vyhledávání, ve kterém lze najít software podle jména.
V mém případě, jsem chtěl update pro LibreOffice na verzi 4.3 – poslední verzi.
Navšivte software.opensuse.org a nejděte si balíček.
Defaultně se vám zobrazí stabilní verze z hlavního repozitáře, skrolujte níž a klikněte na „other versions“
1other.jpg

Otevře se stránka, na které uvidíte seznam dostupných verzí LibreOffice z jiných repozitářů.
2other.jpg

Klikněte na verzi LibreOffice, kterou používáte a pak na „unstable packages“ ukáže se sice varování, ale klikněte na pokračovat „continue
4other.jpg

Teď uvidíte jaké verze aplikací jsou dostupné. Klikněte na tlačítko indikující instalaci pomocí jednoho kliku. Otevře se YaST softwarový správce. Automaticky se přidá repozitář do vašeho systému. Díky tomu váš software bude vždy aktuální tím, že novější verze budou ke stažení z repozitáře.

Od chvíle co se bavíme o přidávání nových repozitářů. Pokud chcete odinstalovat software, který jste instalovali pomocí OBS repozitáře třetí strany.
Jděte na YaST Control Center> Software repository
Zde vyberte repozitáře, které chcete odstranit a klikněte na tlačítko „delete“.
5other.jpg
Jedna důležitá poznámka: pokud používáte repozitáře třetích stran (Jako třeba KDE current, přidávejte nové repozitáře, způsobem, který je výše uveden a povolte změnu prodejce vždy ve správci software.
Ušetříte čás tím že nebudete muset měnit prodejce při každém konfliktu mezi oficiálním repozitářem a OBS repozitářem
7other.jpg
Když už jednou povolíte změnu prodejce, openSUSE atomaticky vybere OBS místo defaulního


face

Listaller-Logo (with text)It is time for another report on Listaller, the cross-distro 3rd-party package installer, which is now in development for – depending how you count – 5-6 years. This will become a longer post, so you might grab some coffee or tea ;-)

The original idea

The Listaller project was initially started with the goal to make application deployment on Linux distributions as simple as possible, by providing a unified package installation format and tools which make building apps for multiple distributions easier and deployment of updates simple. The key ideas were:

  • Seamless integration of all installation steps into the system – users shouldn’t care about the origin of their application, they just handle all installed apps with the same tool and update all apps with the same interface they use for updating the system.
  • Out-of-the-boy sandboxing for all 3rd-party apps
  • Easy signing and key-validation for Listaller packages
  • Simple creation of updates for developers
  • Resource-sharing: It should always be clear which application uses which library, duplicates should be avoided. The distribution-provided software should take priority, since it is often well-maintained and receives security updates.

The current state

The current release of Listaller handles all of this with a plugin for PackageKit, the cross-distro package-management abstraction layer. It hooks into PackageKit and reads information passing through to the native distributor backend, and if it encounters Listaller software, it handles it appropriately. It can also inject update information. This results in all Listaller software being shown in any PackageKit frontends, and people can work with it just like if the packages were native packages. Listaller package installations are controlled by a machine policy, so the administrator can decide that e.g. only packages from a trusted source (= GPG signature in trusted database) can be installed. Dependencies can be pulled from the distributor’s repositories, or optionally from external sources, like the PyPI.

This sounds good on paper, but the current implementation has various problems.

The issues

The current Listaller approach has some problems. The biggest one lies in the future: Soon, there will be no PackageKit plugins anymore! PackageKit 1.0 will remove support for them, because they appear to be a major source for crashes, even the in-tree plugins cause problems. Also, the PackageKit service itself is currently being trimmed of unneeded features and less-used code. These changes in PackageKit are great and needed for the project (and I support these efforts), but they cause a pretty huge problem for Listaller: The project relies on the PackageKit plugin – if used without it, you loose the system-integration part, which is one of the key concepts of Listaller, and a primary goal.

But this issue is not the only one. There are more. One huge problem for Listaller is dependency-solving: It needs to know where to get software from in case it isn’t installed already. And that has to be done in a cross-distributional way. This is an incredibly complex task, and Listaller contains lots of workarounds for various quirks. It contains so much hacks for


face
Yesterday Vignesh asked me if I could give some guidance to a college junior of mine who wants to start with Kernel programming. Being a filesystem developer on Novell for a while now, I thought I could share some things that I have learned. I wrote a somewhat long reply which I am reproducing below (with minor edits for clarity) in the hope that it may be useful to someone.

Since it was originally intended to be a mail, it is a little more verbose than a blog post. My advice is based on the situation on my college when I studied a decade ago. Things would have probably changed and the recommendations may need tweaking based on the context.

---

The most important quality that you need to inculcate if you want to do any kernel space programming is "Patience" (or persistence if you will). Though it is a good quality for any large scale project, it is a fundamental requirement for kernel programming. It is very easy to see progress and make an impact on userspace projects, but even simple changes in the kernel core will take a lot of time to get accepted, and will often require multiple rewrites. But fear not, as there are plenty of people who have conquered this mountain and it is not something to be worried about.

The starting steps will be:

1) Try to understand how to use git. We were (are ?) not taught to use a version control system in our college and it is such a fundamental thing. So start using git for college assignments and get the hang of it.

2) Start writing a lot of C programs and get experienced with pointers, memory allocation, threading. You can start implementing things like Stack, Queue, Trees etc. (whatever you study in datastructures) in a simple, thread-safe way. Do not focus on how you can visualize these datastructures but how you can effectively implement their functionality and thread safety. Use pthreads for threading. Do not use any library (like Glib) for giving you convenient datastructures (like Strings). Implement each of the things on your own. (But when you are writing code for a product, use a standard library always instead of re-inventing the wheel)

Write these C programs on Linux and compile using gcc. In our college days we were using turboc on windows and I hope things have changed. Use a linux distro (fedora, debian, openSUSE, Gentoo etc.) exclusively; Do not use Windows (at least for a while) to make yourself aware of the sysadmin, shell-scripting parts of linux, which will come in handy.

3) Grab a (any) book on Operating Systems theory and read it. The dinosaur book by Silberschatz et. al. is a good start.

4) Without hesitation buy, Robert Love's Linux Kernel Programming book. It is one of the best beginner material and start reading it parallel to the OS book. This is easier to read than the previous one and more practical. But the previous

face

I read an article today about how expensive the new iPhone 6 will be if you buy it off contract.  I admit, it's a lot of money but it's actually less money than what you'll pay if you buy it with a contract.

I recently switched back to AT&T from Verizon because they introduced a new plan called the Mobile Share Value plan that offers non-subsidized pricing if you own your phone.  There are two rates for each line on this plan. If you own your phone the rate is $15/month for the line.  If you buy a "contract price" phone that rate is $40/month for the line and you have a 2 year contract.


In case you didn't get that, they will charge you and extra $25/month for 2 years to pay for the rest of that phone.  Over 24 months that ends up being $600.
With that, here are the actual iPhone 6 Plus costs:

Contract Prices:
iPhone 6 Plus 16GB: $899
iPhone 6 Plus 64GB: $999
iPhone 6 Plus 128GB: $1099

Non-Contract Prices:
iPhone 6 Plus 16GB: $749
iPhone 6 Plus 64GB: $849
iPhone 6 Plus 128GB: $949 

The other thing to consider is with non-contract plans you don't have a 2 year contract.  I know that seems obvious but let me just say it once again... you don't have a 2 year contract.  You are free to terminate your service any time you want with no cancellation fees.

Older blog entries ->