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.


Monday
24 November, 2014


face

¡Desde la comunidad de openSUSE del lejano oriente me llegan estos regalos! Gracias por ello!! ;)

Geeko in the free world

Ya por fín un seguidor de openSUSE como yo, puede estar satisfecho cuando ha conseguido un pequeño peluche de Geeko la simpática mascota de esta distribución de GNU/Linux.

El pasado mes de octubre, en la ciudad China de Beijing se celebró la primera conferencia de openSUSE en Asia. Es esta una manera de extender y dar a conocer las opciones de GNU/Linux y más concretamente openSUSE y SUSE.

Fue un fin de semana histórico ya que era la primera vez que se celebraba una evento así en Asia y por ende en China. El evento aunó a profesionales y entusiastas no sólo de openSUSE, si no de GNU/Linux en general.

Yo como colaborador de openSUSE, hice alguna labor de difusión, etc, y colaboré con una idea para el logo oficial, que finalmente no fue la escogida.

No fue mucha la labor de promoción que realicé y por supuesto siempre desinteresada, la gran labor es siempre la realizada de manera local, organizando y llevando a cabo todo el evento de manera satisfactoria, para que todos salgan con buena impresión.

Pero finalizado el evento, uno de los organizadores, tuvo a bien, tanto a mi como a Manu Gupta (otro gran usuario implicado en mil y un temas) enviarnos un pequeño detalle que habían repartido entre los voluntarios que habían participado en el evento.

Así que dicho y hecho desde el lejano oriente, más concretamente desde Beijing me llegó un pequeño paquete con unos cuantos detalles. Entre ellos una chaqueta serigrafiada con el logo de openSUSE y el logo del evento

Sudadera_1

sudadera_2

Una pequeña cajita con un llavero, bolígrafo y tarjetero serigrafiado con el logo de openSUSE.

detalle

Un pequeño librito en inglés y chino sobre conceptos básicos del proyecto de openSUSE

librito_2

Y un pequeño camaleón de peluche del que mi gato ya se ha hecho amigo!!

Geeko y Bisho

Desde luego el Geeko de peluche ya se ha cogido una posición privilegiada en mi sitio! y vigila que openSUSE funcione de maravilla!

Agradecer de veras a la comunidad de openSUSE Asia, por tomarse la molestia de enviarnos estos pequeños detalles a quienes colaboramos esporádicamente de manera desinteresada!!

Thanks a lot and… have a lot of fun!!

——————————————————————–



face

In September I visited Akademy in Brno. It was close and sounded interesting (and it was). I met there Bruno and Francoise and tried to help them a little bit with openSUSE booth they organized. It was cool, wasn’t sure how many people I will know there, but I met Cornelius on my way to the venue and when we arrived there, there was already openSUSE booth – really great surprise :-) But getting to the point of this post (which is not the Akademy), there was a lottery where people could won Raspberry Pi. I already have better ARM board at home, but as I depend on that one as a home server so I can’t play with it that much anymore, I joined anyway. And to my surprise I won! As I had to leave before the draw, I have to thank Bruno and Francoise for fetching it up and sending it to me, so big thanks to them for everything!

I played with it, found out that getting video output running is super easy, openSUSE 13.2 runs there nicely, so I decided to put it into one specific use right now :-)

Getting smart TV

TV & RPiI live in rented flat, which was already equipped with TV when I rented it. It is the old CRT one. One of the advantages of Raspberry Pi contrary to the most of the boards out there is that it supports video output even for those legacy technologies. So let’s make some use of it and convert dumb CTR into something that can play movies and streams available online.

First obvious thing I tried was mpv. Didn’t managed to get framebuffer output working, didn’t managed to get wayland working, resolved to the X11 and found out that it can’t play movies smoothly. I was playing with some options, frame dropping and such but didn’t helped. So I started googling how to use hardware acceleration. And I found one disturbing piece of information.

There is hardware acceleration in Pi, but some of the codecs are locked out and you have to pay license fee to unlock functionality your device was shipped with. That sounds crazy. You get a device where parts of it are intentionally locked out so they can ask you for more money to allow you to use hardware you already bought. I understand that problem isn’t the foundation selling Raspberries, but legal protection against stupid patent laws mainly in US, nevertheless, it is silly. Luckily, h264 codec is enabled by default and codecs that you have to unlock this way are only mpeg, which almost noone uses nowadays, and some VC-1 I never heard about before and doubt that anyone ever used. So to get my Raspberry to be Smart TV, I didn’t have to give in to the patent trolls extortion.

So after a little ranting, how do I use that hardware acceleration? I was searching for some vaapi/vdpau abstraction, but


face

No solemos hablar mucho de juegos libres en el blog, aunque eso no significa que no existan y que no sean buenos. De hecho, cada vez hay más y mejores, sobre todo gracias al gran impulso de Steam y su tienda de juegos online. Hoy quiero comentar un juego de carreras de calidad y de [&hellip


face

Introduction


Rubocop is a Ruby static code analyzer which looks for common code smells and checks the coding style.

Installation

The installation is quite easy, just run "sudo gem install rubocop" command (assuming you have Ruby alredy installed).

Initial Run and Creating the Config File

If there is no .rubocop.yml file in your project root then Rubocop uses the default configuration.

It is a good idea to let Rubocop generate the project default for you, simply run "rubocop --auto-gen-config". This will create .rubocop_todo.yml file which can be used as a template for your initial config file.

The default generated config file disables all checks which fail. That means if you run Rubocop with this config file (or if you remove the _todo suffix) it will report success.

Fixing the Issues

Now you can go one by one disabled check in the created template, enable each check and see where the problem is and whether it's a valid issue according to your style or preferences.

There are basically these solutions how to fix an error reported by Rubocop:

  • Fix the issue according to the suggestions reported by Rubocop
  • Let Rubocop to fix it for you (does not work for all issues found, but majority of coding style issues, like indentation or white space usage, can be fixed automatically), just add "-a" or "--auto-correct" option. You should manually check the changes done ("git diff") after auto correction, just to be sure the fix was correct and had no side effects.
  • Change the expected style (e.g. the default Rubocop style is single quoted string literals, if you prefer double quoted strings in your project then set the different default in the config), see the possible options in the default configuration.
  • Disable the check locally in the code (e.g. the rule is valid, but the specific place in the code is an exception where breaking the rule is correct, for example you prefer ".nil?" over "== nil", but in a test you want to check your operator= definition correctly handles nil comparison)
  • Disable the check globally

Using Rubocop in CI

To ensure that the coding style is honored during development it is a good idea to run Rubocop at CI (Continuous Integration) server like Travis or Jenkins.

Rubocop in Yast

I tried to start with Rubocop in the Yast registration module which is written from scratch and should not contain ugly code parts introduced by YCP to Ruby conversion.

Initially it reported almost 3000 (!) offenses, but many of them were false positives caused by different coding style defaults (e.g. single quote vs. double quote string literals). After adapting the config style (and relaxing some metric checks which would require non-trivial refactoring) the number of issues was decreased to just about 900.

Majority issues were harmless and related to white space, but some of the checks found really bad code, like this "private" modifier issue.

Thanks to the nice auto correction feature the majority of the issues (~830 which is

face

Postado por Edivaldo
Blog do Edivaldo - Um blog que fala sobre carreira, software, dá dicas e informações do mundo da tecnologia da informação e ainda descomplica o Linux

Quer conhecer um pouco mais o OpenSUSE 13.2 KDE Edition? Então faça um passeio pelo sistema através de um vídeo e de alguns screenshots

Quer conhecer um pouco mais o OpenSUSE 13.2 KDE Edition? Então faça um passeio pelo sistema através de um vídeo e de alguns screenshots.

Leia o restante do texto "Conhecendo melhor o OpenSUSE 13.2 KDE Edition" Continue Reading

Leia o texto original em: Conhecendo melhor o OpenSUSE 13.2 KDE Edition, no site Blog do Edivaldo.
© 2014 Blog do Edivaldo. Todos os direitos reservados.
O conteúdo deste site pode ser divulgado, desde que a fonte (www.edivaldobrito.com.br) seja citada.
O conteúdo textual original desta página está disponível sob a licença GNU FDL 1.2.
Todas as marcas citadas pertencem aos seus respectivos proprietários. Os direitos autorais de todas as ilustrações pertencem aos respectivos autores, e elas são reproduzidas na intenção de atender ao disposto no art. 46 da Lei 9.610 - se ainda assim alguma delas infringe direito seu, entre em contato para que possamos removê-la imediatamente.


face

Jak se jmenuješ?

Ferdinand Galko

Odkud pocházíš?

Pochádzam zo slovenskej dediny Horné Srnie pri hraniciach s ČR. Po svadbe som sa pred pár rokmi presťahoval do susedného mestečka Nemšová.

Kolik je ti let?

39 let

Představ se nám vlastními slovy prosím.

Výzorom normálny slovenský chlap, ženatý, 1 manželka, 2 dcéry (12 a 4), vysokoškolské vzdelanie so zameraním na výkonové polovodičové systémy, mám rád cyklistiku – rekreačne a veľké notebooky. Sám používam 17 palcový.

Jaké jsou tvé povinnosti v openSUSE? (opensuse.cz předpokládám :-))

Žiadne, všetky moje aktivity sú dobrovoľné a voľné.

Co děláš v reálném životě?

V súčasnosti pracujem v jednej elektrotechnickej spoločnosti ako komponentový inžinier. Zjednodušene povedané, mám na starosti agendu spojenú s elektronickými súčiastkami.

Co přesně děláš pro openSUSE?

Zatiaľ nič-moc. Mimo dvoch (článek 1 článek 2 ) uverejnených článkov na opensuse.cz. Nezastávam žiadnu konkrétnu pozíciu. Ale aktívne sa snažím pracovať vrámci slovenského lokalizačného týmu prostredia KDE.

Používáš přezdívku nebo nick?

ferri

Píšeš nějaký blog? Pokud ano dal bys nám odkaz?

Nie

Co tě motivuje k práci na openSUSE?

Nechcem byť len parazitom, ktorý si užíva prácu iných a kritizuje ju. Chcem sa im takto aspoň čiastočne odvďačiť za ich čas a energiu.

Jak bys popsal openSUSE třemi slovy?

Najlepšia linuxová komunita

Potkal jsi někdy někoho známého z openSUSE?

Neviem, ako veľmi je známy, ale osobne som sa stretol s Brunom Friedmannom tento rok v Brne na KDE Akademy 2014.

Vypínáš počítač při bouřce?

Ako revízny technik elektro by som asi mal.

Kdy si začal používat openSUSE distro?

Musím sa priznať, že úplne som na openSUSE prešiel až začiatkom tohto roku. Predtým som pekných pár mesiacov osciloval medzi Kubuntu, Fedora (s prostredím KDE) a openSUSE. Vôbec som si nevedel vybrať tú „svoju“ distribúciu. A bol som z toho dosť nervózny. Časom som z viacerých dôvodov vylúčil Kubuntu. Ostali teda už len dve distribúcie. Napokon postupne zvíťazila openSUSE, hlavne kvôli výbornej komunite okolo tejto distribúcie. Podľa môjho názoru je fórum na opensuse.org zo všetkých medzinárodných fór linuxových distribúcií asi na najvyššej úrovni.

Bez jakých aplikací nebo programů si nemůžeš představit život?

Nakoľko používam počítač ako bežný používateľ, prakticky žiadny nejaký význačný program/aplikáciu ani nemám. Možno Krusader – dvojpanelový správca súborov pre KDE.

Zkus vymyslet nové motto pro openSUSE


Sunday
23 November, 2014


face

Pada tutorial sebelumnya : Instalasi VM Windows pada Proxmox Menggunakan Virtio Driver, sudah dibahas mengenai persiapan dan setting awal VM Windows Server 2008 R2 64 bit yang diinstall diatas Proxmox VE versi 3.3. Tutorial kali ini akan berlanjut dengan proses instalasinya.

LANGKAH 3 : MENAMBAHKAN CD/DVD VIRTUAL VIRTIO DRIVER

Sebelum menjalankan VM, tambahkan 1 buah CD/DVD ROM, pilih iso dan set agar merujuk ke file iso virtio (virtio-win-0.1-81.iso) :

vavai-proxmox-simulasi-windows-2008r2-64-9

vavai-proxmox-simulasi-windows-2008r2-64-15

vavai-proxmox-simulasi-windows-2008r2-64-16

Posisi saat ini, ada 2 buah CD/DVD yang ada dalam VM, yaitu 1 DVD virtual untuk installer Windows 2008 R2 dan 1 DVD virtual berisi virtio driver.

LANGKAH 4 : INSTALASI WINDOWS VM

Pada tahap ini, langkahnya cukup mengikuti wizard sebagaimana proses instalasi Windows Server secara normal.

vavai-proxmox-simulasi-windows-2008r2-64-10

vavai-proxmox-simulasi-windows-2008r2-64-11 vavai-proxmox-simulasi-windows-2008r2-64-12

Pilih model instalasi Custom/Advanced saat ditanyakan pilihan tipe instalasi

vavai-proxmox-simulasi-windows-2008r2-64-13

Saat melakukan deteksi hardware, kemungkinan besar Windows installer tidak mendeteksi adanya harddisk. Tidak apa-apa, karena kita perlu melakukan load driver virtio.

vavai-proxmox-simulasi-windows-2008r2-64-14

Pilih menu Load Driver, kemudian pilih Browse dan masuk ke folder ke folder CD/DVD ROM,  Win7, AMD64. Saat memilih folder, sesuaikan dengan versi Windows yang digunakan. Untuk Windows Server 2012 misalnya, pilih folder WIN8 karena Windows Server 2012 usia release-nya sama dengan Windows 8, minimal mereka berdua seumuran :-P

vavai-proxmox-simulasi-windows-2008r2-64-17

vavai-proxmox-simulasi-windows-2008r2-64-18

Pilih seluruh driver yang ada dengan cara menekan tombol SHIFT dan memilih driver yang tersedia, setelah beberapa saat, semestinya Windows installer bisa mendeteksi harddisk berbasis Virtio driver, termasuk network cardnya.

vavai-proxmox-simulasi-windows-2008r2-64-19 vavai-proxmox-simulasi-windows-2008r2-64-20

Lanjutkan proses instalasi sebagaimana mestinya proses instalasi Windows Server dilakukan, hingga selesai.

vavai-proxmox-simulasi-windows-2008r2-64-21 vavai-proxmox-simulasi-windows-2008r2-64-22

Jika sebelumnya pernah menggunakan VM berbasis Windows pada Proxmox versi awal, semestinya cukup appreciate pada perkembangan Proxmox saat ini karena VM Windowsnya berjalan secara responsif dan cepat. Ini berarti Proxmox lebih dari cukup dan sangat memadai untuk dijadikan sebagai host virtualization baik untuk VM berbasis Windows maupun VM berbasis Linux.

Iklan : Bagi rekan-rekan yang tertarik untuk mempelajari Proxmox, Excellent memiliki schedule training di bulan Desember 2014 : Training Mastering Proxmox VE (iSCSI/NFS/DRBD Cluster & High Availability), 13-14 Desember 2014 


face

Beberapa tahun yang lalu-saat masih memakai Proxmox versi 1.4-1.5-performa Windows VM diatas Proxmox rasanya tidak terlalu memuaskan. Performanya masih kalah dibandingkan dengan VirtualBox. Apalagi jika dibandingkan dengan VMware vSphere.

Masa dan tahun berlalu, kini performa VM Windows server diatas Proxmox VE lebih trengginas. Saya sempat kaget saat beberapa hari yang lalu memberikan special class training Proxmox dan melakukan simulasi Windows Server 2008 R2 64 bit, hasilnya responsif dan berjalan dengan cepat.

Bagi rekan-rekan yang hendak mencoba implementasi Windows Server/Desktop diatas Proxmox, berikut adalah beberapa tips yang bisa digunakan :

  1. Pilih Bus/device Virtio untuk Storage
  2. Pilih Virtio/Paravirtualized untuk Network Card
  3. Pilih Cache : Write Back
  4. Pilih Tipe Storage : Raw

Berikut adalah proses pembuatan VM berbasis Windows Server 2008 R2 diatas Proxmox, sengaja saya buatkan dalam bentuk screenshot agar mudah dipahami.

 LANGKAH 1 : PERSIAPAN

  1. Install 1 buah server Proxmox. Tutorial ini menggunakan Proxmox VE versi 3.3 yang diinstall diatas HP server Proliant ML-370 G5
  2. Installer Windows 2008 R2 64 bit, bisa berbentuk DVD atau bisa juga dalam bentuk ISO. Sesuaikan dengan lisensi yang dimiliki
  3. Driver virtio dalam bentuk .iso, bisa didownload dari sini : http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/. Tutorial ini menggunakan file iso driver virtio-win-0.1-81.iso yang bisa digunakan hingga Windows 8 atau Windows 2012 Server

LANGKAH 2 : PEMBUATAN VM

Buat 1 buah VM berbasis Windows 7/2008, set memory, socket/core dan harddisk sesuai dengan keinginan.

vavai-proxmox-simulasi-windows-2008r2-64-1vavai-proxmox-simulasi-windows-2008r2-64-2

Untuk installer bisa menggunakan iso installer Windows Server 2008 atau bisa juga menggunakan DVD installer yang ditempatkan pada DVD ROM server Proxmox.

vavai-proxmox-simulasi-windows-2008r2-64-3

Jangan lupa pilih Bus/Device : VIRTIO dengan format RAW disk image untuk harddisk. Cache bisa pilih Writeback  atau bisa juga pilih default Proxmox (tanpa cache)

vavai-proxmox-simulasi-windows-2008r2-64-4vavai-proxmox-simulasi-windows-2008r2-64-5vavai-proxmox-simulasi-windows-2008r2-64-6

Pilih network card model VirtiO (paravirtualized) untuk network card. Contoh berikut menggunakan skema bridge network default.

vavai-proxmox-simulasi-windows-2008r2-64-7

Berikut adalah tampilan default VM saat pertama kali baru dibuat.

vavai-proxmox-simulasi-windows-2008r2-64-8

Tahap berikutnya kita akan menambahkan 1 buah CD/DVD ROM untuk dijadikan sebagai CD/DVD virtual yang memuat driver virtio. Tutorialnya akan berlanjut pada : Instalasi VM Windows pada Proxmox Menggunakan Virtio Driver Bagian 2

Iklan : Bagi rekan-rekan yang tertarik untuk mempelajari Proxmox, Excellent memiliki schedule training di bulan Desember 2014 : Training Mastering Proxmox VE (iSCSI/NFS/DRBD Cluster & High Availability), 13-14 Desember 2014 


face

Ya hablamos hace un tiempo de la ventana Acerca de KDE de Plasma 5, una ventana  en la que se resume de forma clara y sencilla algunos aspectos clave del desarrollo de KDE. Esta ventana define el gran proyecto Plasma, pero cada aplicación tiene su propia ventana Acerca de…, una ventana un poco desconocida pero [&hellip


Saturday
22 November, 2014


face

Una de las metas de la Comunidad KDE es la de crear Software que se adapte a cualquier dispositivo, es decir, que este optimizado para su uso en todo tipo de pantallas y modos de interacción. Ya se hicieron sus primeros pasos con Plasma Active y Krita Gemini pero ahora se ha realizado el gran [&hellip


Friday
21 November, 2014


face

Salah satu virtual server OwnCloud yang digunakan oleh Excellent mengalami kendala saat mengirimkan email notifikasi, misalnya notifikasi untuk informasi share dokumen. Saat dicheck via Apache status, hasilnya adalah sebagai berikut :

owncloud-logo

cloud:~ # service apache2 status
apache2.service – The Apache Webserver
Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled)
Active: active (running) since Fri 2014-11-21 11:48:57 WIB; 12h ago
Main PID: 844 (httpd2-prefork)
Status: “Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec”
CGroup: /system.slice/apache2.service
|- 844 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 4183 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 4197 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 4212 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 4248 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 5203 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 5820 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 6610 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|- 6812 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|-11161 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|-11162 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
|-11194 /usr/sbin/sendmail -t -i -oi -fsharing-noreply@cloud.excellent.co.id -t
`-11195 /usr/sbin/postdrop -r

Nov 21 23:51:06 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/846358.11195: Permission denied
Nov 21 23:51:16 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/846622.11195: Permission denied
Nov 21 23:51:26 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/846870.11195: Permission denied
Nov 21 23:51:36 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/847103.11195: Permission denied
Nov 21 23:51:46 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/847342.11195: Permission denied
Nov 21 23:51:56 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/847590.11195: Permission denied
Nov 21 23:52:06 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/847835.11195: Permission denied
Nov 21 23:52:16 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/848106.11195: Permission denied
Nov 21 23:52:26 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/848396.11195: Permission denied
Nov 21 23:52:36 cloud postfix/postdrop[11195]: warning: mail_queue_enter: create file maildrop/848672.11195: Permission denied

Hal ini terjadi karena hak akses postdrop dan postqueue dari engine Postfix tidak memiliki hak akses sebagaimana mestinya. Jika dicheck dengan perintah :

postfix check

Hasilnya adalah :

cloud:~ # postfix check
postfix/postfix-script: warning: not owned by group maildrop: /usr/sbin/postqueue
postfix/postfix-script: warning: not owned by group maildrop: /usr/sbin/postdrop
postfix/postfix-script: warning: not set-gid or not owner+group+world executable: /usr/sbin/postqueue
postfix


face

So someone leaked 2011 era PowerVR SGX microcode and user space... And now everyone is pissing themselves like a bunch of overexcited puppies...

I've been fed links from several sides now, and i cannot believe how short-sighted and irresponsible people are, including a few people who should know better.

STOP TELLING PEOPLE TO LOOK AT PROPRIETARY CODE.

Having gotten that out of the way, I am writing this blog to put everyone straight and stop the nonsense, and to calmly explain why this leak is not a good thing.

Before i go any further, IANAL, but i clearly do seem to tread much more carefully on these issues than most. As always, feel free to debunk what i write here in the comments, especially you actual lawyers, especially those lawyers in the .EU.

LIBV and the PVR.

Let me just, once again, state my position towards the PowerVR.

I have worked on the Nokia N9, primarily on the SGX kernel side (which is of course GPLed), but i also touched both the microcode and userspace. So I have seen the code, worked with and i am very much burned on it. Unless IMG itself gives me permission to do so, i am not allowed to contribute to any open source driver for the PowerVR. I personally also include the RGX, and not just SGX, in that list, as i believe that some things do remain the same. The same is true for Rob Clark, who worked with PowerVR when at Texas Instruments.

This is, however, not why i try to keep people from REing the PowerVR.

The reason why i tell people to stay away is because of the design of the PowerVR and its driver stack: PVR is heavily microcode driven, and this microcode is loaded through the kernel from userspace. The microcode communicates directly with the kernel through some shared structs, which change depending on build options. There are sometimes extensive changes to both the microcode, kernel and userspace code depending on the revision of the SGX, customer project and build options, and sometimes the whole stack is affected, from microcode to userspace. This makes the powervr a very unstable platform: change one component, and the whole house of cards comes tumbling down. A nightmare for system integrators, but also bad news for people looking to provide a free driver for this platform. As if the murderous release cycle of mobile hardware wasn't bad enough of a moving target already.

The logic behind me attempting to keep people away from REing the PowerVR is, at one end, the attempt to focus the available decent developers on more rewarding GPUs and to keep people from burning out on something as shaky as the PowerVR. On the other hand, by getting everyone working on the other GPUs, we are slowly forcing the whole market open, singling out Imagination Technologies. At one point, IMG will be forced to either do this work itself, and/or to directly support open


face

I bought my wife a "new" old Thinkpad (T400, Core2 duo) to replace her old compaq nc6000 (Pentium M Dothan). Of course I installed it with openSUSE 13.2. Everything works fine. However, we soon found out that it takes ages to boot, something around 50 seconds, which is much more than the old machine (running 13.1 on an IDE SSD vs 13.2 on a cheap SATA SSD in the T400).
Investigating, I found out that in 13.2 the displaymanager.service is now a proper systemd service with all the correct dependencies instead of the old 13.1 xdm init script.
At home, I'm running NIS and autofs for a few NFS shares and an NTP server for the correct time.
The new displaymanager.service waits for timesetting, user account service and remote file systems, which takes lots of time.
So I did:

systemctl disable ypbind.service autofs.service ntpd.service
In order to use them anyway, I created a short NetworkManager dispatcher script which starts / stops the services "manually" if an interface goes up or down.
This brings the startup time (until the lightdm login screen appears) down to less than 11 seconds.
The next thing I found was that the machine would not shut down if an NFS mount was active. This was due to the fact that the interfaces were already shut down before the autofs service was stopped or (later) the NFS mounts were unmounted.
It is totally possible that this is caused by the violation in proper ordering I introduced by the above mentioned hack, but I did not want to go back to slow booting. So I added another hack:

  • create a small script /etc/init.d/before-halt.local which just does umount -a -t nfs -l (a lazy unmount)
  • create a systemd service file /etc/systemd/system/before-halt-local.service which is basically copied from the halt-local.service, then edited to have Before=shutdown.target instead of After=shutdown.target and to refer to the newly created before-halt.local script. Of course I could have skipped the script, but I might later need to add other stuff, so this is more convenient.
  • create the directory /etc/systemd/system/shutdown.target.wants and symlink ../before-halt-local.service into it.
And voila - before all the shutdown stuff starts, the nfs mounts are lazy unmounted and shutdown commences fast.

face

I was never very fond of dracut, but I did not think it would be so totally untested: openSUSE Bug #906592. Executive summary: hibernate will most likely silently corrupt (at least) your root filesystem during resume from disk.
If you are lucky, a later writeback from buffers / cache will "fix" it, but the way dracut resumes the system is definitely broken and I already had the filesystem corrupted on my test VM, while investigating the issue, so it is not only a theoretical problem.

Until this bug is fixed: Do not hibernate on openSUSE 13.2.

Good luck!


face

Postado por Edivaldo
Blog do Edivaldo - Um blog que fala sobre carreira, software, dá dicas e informações do mundo da tecnologia da informação e ainda descomplica o Linux

pale-moon-25-1-0

Foi lançado recentemente o Pale Moon 25.1.0, o navegador que é o Firefox mais rápido que o Firefox. Se você quiser experimentar essa versão, veja a seguir como instalar o Pale Moon 25.1.0 no Linux.

Leia o restante do texto "Como instalar o Pale Moon 25.1.0 no Linux " Continue Reading

Leia o texto original em: Como instalar o Pale Moon 25.1.0 no Linux, no site Blog do Edivaldo.
© 2014 Blog do Edivaldo. Todos os direitos reservados.
O conteúdo deste site pode ser divulgado, desde que a fonte (www.edivaldobrito.com.br) seja citada.
O conteúdo textual original desta página está disponível sob a licença GNU FDL 1.2.
Todas as marcas citadas pertencem aos seus respectivos proprietários. Os direitos autorais de todas as ilustrações pertencem aos respectivos autores, e elas são reproduzidas na intenção de atender ao disposto no art. 46 da Lei 9.610 - se ainda assim alguma delas infringe direito seu, entre em contato para que possamos removê-la imediatamente.


face

¿Quieres conocer las noticias y eventos de la Fundación de Software Libre? Entonces sigue leyendo

FSF_logo

La Fundación para el Software Libre o Free Software Foundation (FSF) es una organización creada en Octubre de 1985 por Richard Stallman y otros entusiastas del software libre con el propósito de difundir este movimiento.

La Fundación para el software libre (FSF) se dedica a eliminar las restricciones sobre la copia, redistribución, entendimiento, y modificación de programas de computadoras. Con este objeto, promociona el desarrollo y uso del software libre en todas las áreas de la computación, pero muy particularmente, ayudando a desarrollar el sistema operativo GNU.

Además de tratar de difundir la filosofía del software libre, y de crear licencias que permitan la difusión de obras y conservando los derechos de autorías, también llevan a cabo diversas campañas de concienciación y para proteger derechos de los usuarios frentes a aquellos que quieren poner restricciones abusivas en cuestiones tecnológicas.

Mensualmente publican un boletín (supporter) con noticias relacionadas con sus campañas, o eventos. Una forma de difundir sus proyectos, para que la gente conozca los hechos, se haga su propia opinión, y tomen partido si creen que la reivindicación es justa!!

El trabajo de traducción del boletín inglés fue realizado por Esteban Mesa, Marc Meseguer, Erbeth, y un servidor de Uds. Realizando labores de recopilación, traducción, y revisión.

Perdón por el retraso, el equipo de traductores teníamos preaparada desde el día 5 de noviembre la edición traducida y revisada, pero problemas ajenos a nosotros han retrasado la salida de la edición en español.

 no_privacy_without_free_software

Puedes ver todos los números publicados en este enlace: http://www.fsf.org/free-software-supporter/free-software-supporter

Aqui te traigo un extracto de algunas de las noticias que ha destacado la FSF este mes de octubre de 2014:

.- Matthew Garrett se une a la junta de directores de la Fundación Para el Software Libre

Del 16 de octubre

Matthew Garrett se une a la junta de directores de la Fundación Para el Software Libre. Matthew Garrett ha ofecido generosamente su tiempo y experiencia para asesorar a la FSF en muchos temas en los últimos años, especialmente en Restricted Boots (Arranque Restringido) y otras tendencias desconcertantes en la intersección de hardware y la distribución de software privativo.

.- Una victoria del software libre sobre el “impuesto de Microsoft”

Del 24 de octubre

La corte suprema de Italia (Corte di Cassazione) ha emitido una sentencia que prohíbe el “impuesto de Microsoft”, una práctica comercial que desalienta a los usuarios de convertir sus PCs a GNU/Linux u otros sistemas operativos libres


face

I had an idea for a long time. Well, my ubunt-o-friends always tell me that Ubuntu is easier because it has Software Center.
Well, I tell them that we have YaST and everything we do, it's through YaST. If something isn't there, there's always the magic URL:

http://software.opensuse.org/find

So I thought why don't create a cool "search engine" with goodies? Since I'm not the perfect guy to do it, I tried to create something using epiphany. As far as I know, epiphany has the feature to save a URL as Web application. So what I did was that:

1. Open this URL



2. Save as web application.




3. Save the icon and the name you prefer. I saved it as market.



4. Now search for market.



5. Search what you want and install it using the feature one click install that YaST provides us.



face



This is an attempt to make a list of things that someone-group of people can follow to develop a healthy community or team. This post is an overview of what I did with Kostas for the Greek openSUSE community.
A small detail is that we were only 2. So we took decisions fast. We didn't have to vote or something.
We had an "advantage" because we have an awesome global community and we asked for something we weren't sure how to proceed.

Let's start:

0. Have a clear goal. What you want to do. Have a big goal that some parts aren't "visible" when you start.
1. Web page: This is the web page-blog that will show information about community, the distro or the project. Make it visible on planets. BE CAREFUL. Don't focus on how to make a great site-blog using personal wordpress, drupal etc. Set it up on blogger and start post articles. You want CONTENT (write an article every other day). Don't spend time to maintain or secure your web page.
2. Mailing list: Ask the project if they can setup for you. If not, then try to find alternatives such as google groups.
3. IRC Channel
4. Forum: Prefer to ask from the project to setup a section for your language. If your project doesn't have forum, then ask a LUG or tech forum to use their's. Do not have your forum setup in your host for the same reasons as before. Don't spend time to maintain or secure the forum.

The above list is the MUST have to start.
A key to everything is to try to have all information in your language, so it'll be "attractive" to people who like the idea of open source but they don't speak English. What's the role of such people? They can organize local events.

Next step is to advertise the whole project-distro. This can happen:
1. Write to blogs-forums (technological or not).
2. Create Facebook group/page and advertise your attempt to other groups/pages.
3. Create Twitter account and tweet news about your community.
4. Create Google Plus Profile/Community.
5. Contact press. First contact local and then national press.
6. If you have a newsletter or weekly magazine, it's good to translate it (or a piece of it), so the open source community in your country will learn about you and your projects.

Before deciding what social media accounts to create, be aware that you have to maintain them. So search the web, what social media is more famous to users. For "tech" users, Google Plus Communities is the perfect place. It also can be used instead of Forums.



A distro or project, it's not all about write code. It's have fun. So advertise it.
1. Release parties. When a new release is out, it's time to party.
2. Meet ups. A good place to organize them is http


face

I'm happy to announce the release of mylvmbackup version 0.16. The source package is now available for download from http://lenzg.net/mylvmbackup/ and https://launchpad.net/mylvmbackup.

Installation packages for a number of platforms can be obtained from the openSUSE Build Service.

Version 0.16 adds support for sending out SNMP traps in case of backup successes or failures. I'd like to thank Alexandre Anriot for contributing this new feature and his patience with me.

Please see the ChangeLog and bzr history for more details.


face

Postado por Edivaldo
Blog do Edivaldo - Um blog que fala sobre carreira, software, dá dicas e informações do mundo da tecnologia da informação e ainda descomplica o Linux

google chrome 39

Foi lançado recentemente o Google Chrome 39, que vem com um monte de mudanças para todas as plataformas. Se você quiser experimentar essa versão, veja aqui como instalar ela no Ubuntu, Linux Mint, Pinguy OS, Elementary OS, LXLE, Linux Lite, Peppermint, Deepin, Debian, Crunchbang, SparkyLinux, Fedora, CentOS, OpenSUSE, Mageia e OpenMandriva.

Leia o restante do texto "Como instalar o Google Chrome 39 no Linux" Continue Reading

Leia o texto original em: Como instalar o Google Chrome 39 no Linux, no site Blog do Edivaldo.
© 2014 Blog do Edivaldo. Todos os direitos reservados.
O conteúdo deste site pode ser divulgado, desde que a fonte (www.edivaldobrito.com.br) seja citada.
O conteúdo textual original desta página está disponível sob a licença GNU FDL 1.2.
Todas as marcas citadas pertencem aos seus respectivos proprietários. Os direitos autorais de todas as ilustrações pertencem aos respectivos autores, e elas são reproduzidas na intenção de atender ao disposto no art. 46 da Lei 9.610 - se ainda assim alguma delas infringe direito seu, entre em contato para que possamos removê-la imediatamente.


face

Richard Stallman recorre el mundo dando conferencias, dando a conocer el software libre y los beneficios de este frente al software privativo.

Ese imparable ciclo de conferencias le trae de nuevo a España este mes de Noviembre y Diciembre de 2014, si tienes la oportunidad, no te lo pierdas!

Según podemos leer en la web de la FSF donde se recoge la agenda de las próximas charlas de Richard Stallman, comprobamos que en su periplo “evangelizador” del software libre de nuevo pasa por España, estas son las fechas:

Si estás cerca y tienes la oportunidad te recomendaría asistir y ver a uno de los grandes del mundo de la informática. La mayoría de las charlas que realizará serán en torno al tema “Por una Sociedad Digital Libre” una charla no técnica de acercamiento a las bases del software libre y porque este es importante para mantener la libertad del usuario, frente al software privativo.

Aqui tienes una muestra de una de sus charlas en España, si no puedes asistir, este puede ser un pequeño reemplazo para sacarte la espinita!

Al igual que memorable es su celebérrimo San iGNUcio de la iglesia de Emacs

—————————————————-



face

KDE tým se nyní zaměřuje na opravování Bugů a dolaďování.
Počítáme s uživateli při hledání bugů a jejich včasné rozmáčknutí.
Vývojáři zkrátka sami nemůžou otestovat všechny možné konfigurace počítačů.
Zvažte proto, že se přidáte do týmu tím, že si nainstalujete betu a budete reportovat každý bug.

Instalace KDE aplikací 14.2 Binárních balíčků

Někteří linuxoví distributoři vřele poskytli binární balíčky KDE aplikací 14.12 Beta 3 (interně 14.11.95) pro některé verze svých distribucí a v dalších případech to udělali dobrovolníci z komunity. Dodatečné binární balíčky stejně jako updaty balíčků jsou už k dispozici, nebo budou k dispozici v následujícíh týdnech. Pro aktuální seznam dostupných balíčků navštivte prosím Community wiki.

Kompilace KDE aplikací 14.2 Beta 3

Kompletní zdroj kódu pro KDE aplikace 14.12 Beta 3 lze volně stáhnout. Instrukce ke kompilaci a instalaci na této info stránce.

Podpora KDE

KDE je svobodný software, který existuje a rozvíjí se díky práci a snažení mnoha dobrovolníků. KDE má zájem o nové dobrovoníky a přispěvovatele at už pomůžou při kódování, hledání bugů, psaní dokumentace, překladů či dalších věcí. Za všechny přispěvovatele jsme velmi vděčni. Staňte se členem KDE tím, že se přidáte k naší nové iniciativě "join the game."

KDE

KDE software existuje v šedesáti jazykových mutacích. Aplikace běží nativně na systémech Linux, Solaris, Windows i Mac OS X.
O prostředí KDE bylo také napsáno v našem průvodci na tomto portále. Mrkněte (česky) ZDE
Originální článek ze kterého bylo čerpáno (anglicky) ZDE


Thursday
20 November, 2014


face

On nokia n900, pulseaudio is needed to have a correct call. Unfortunately that piece of software fights back.

pavel@n900:~$ pulseaudio --start
N: [pulseaudio] main.c: User-configured server at {d3b6d0d847a14a3390b6c41ef280dbac}unix:/run/user/1000/pulse/native, refusing to start/autospawn.
pavel@n900:~$

Ok, I'd really like to avoid complexity of users here. Let me try as root.

root@n900:/home/pavel# pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
N: [pulseaudio] main.c: User-configured server at {d3b6d0d847a14a3390b6c41ef280dbac}unix:/run/user/1000/pulse/native, refusing to start/autospawn.

Ok, I don't need per-user sessions, this is cellphone. Lets specify --system.

root@n900:/home/pavel# pulseaudio --start --system
E: [pulseaudio] main.c: --start not supported for system instances.

Yeah, ok.root@n900:/home/pavel# pulseaudio --system
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set!
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.

Totally my fault that someone forgot to document this pile of code. Thanks for blaming me. I'd actually like to read what is wrong with that, except that the page referenced does not exist. :-(.


Michael Meeks: 2014-11-20: Thursday

21:00 UTCmember

face
  • Into Cambridge, meeting with Lauren, Laura & Rob. Quarterly mgmt meetings, snatched lunch, board meeting; poked about in the server room; caught up with Daniel and discussed OpenGL funkiness.
  • Train home, stories, dinner, unscrewed various bits, heated the car bumper with a hair dryer (with the air inlet covered to reduce airflow & increase temperature) to make the plastic malleable; pushed out the worst of the dents, glued up the reflectors: much better. Bed.


face

This is my fourth post on Service Design Patterns in Rails. These posts have been inspired by the Service Design Patterns book by Robert Daigneau.

The previous posts were:


The Web Service Evolution patterns talk about what to do to make the API evolve with the minimum breaking changes. What that means? It means that changing your API should not break clients that consume it, otherwise said, that your API is backward compatible.

From this chapter, three patterns apply to the Rails framework:

  • Tolerant Reader
  • Consumer driven contract
  • Versioning

Tolerant Reader refers to the client. It means that if you write a client, you should be "tolerant" on what you get as a response. Rails provides the ActiveResource object. This object will get the response and create an object from it. This object per se is very tolerant.

However, only using that object does not make you tolerant reader. ActiveResource will create a model object like ActiveRecord does. For example, you can have a Product object that inherits from ActiveResource, the same way you would with ActiveRecord

  class Product < ActiveResource
  end

ActiveResource will create an attribute for each attribute found in the response. Thus if you expect a "name" attribute, you would try:

  Product.find(1).name

However, what if name is not in the response? Then, if you really want to be tolerant, you should do

  p = Product.find(1)
  if p.respond_to?(:name)
    p.name
  end

Thus, with little effort you can have a tolerant reader, even thought Rails per se does not fully implement it.
 
Consumer driven contract means testing. Actually, it means having a test suite provided by your consumer on what it expects from the service. Testing is a common good practice in Rails and Rails provides you with a lot of resources for that (rspec, factory girl, stubs, mock ups). You only need to use them to specify what you expect from the API, or what a consumer should expect, depending on whether you are writing the producer or the consumer.

And finally, versioning. Versioning is a very good practice for an API. How you can implement versioning is very well explained on this rails cast, better than I could do myself, so I'd recommend you watching it, to see how to use namespaces in the routes file and in the controller implementation:

 
 
Web Service Evolution patterns are partly implemented on Rails. However, it needs you to do some implementation in order to follow them, because the typical example (the one you would generate with "rails generate") does not implement them, but give you the tools or the base so that you can do it.
 
For example, versioning is not implemented when you generate a new rails application, but you can easily do it with namespacing; tests are not implemented but rails gives you the tools to do so; tolerant reader can be implemented by using ActiveResource and respond_to


face

The last days I played with lcms‘ unbound mode. In unbound mode the CMM can convert colours with negative numbers. That allows to use for instance the LMS colour space, a very basic colour space to the human visual system. As well unbound RGB, linear gamma with sRGB primaries, circulated long time as the new one covers all colour space, a kind of replacement of ICC or WCS style colour management. There are some reservations about that statement, as linear RGB is most often understood as “no additional info needed”, which is not easy to build a flexible CMS upon. During the last days I hacked lcms to write the mpet tag in its device link profiles in order to work inside the Oyranos CMS. The multi processing elements tag type (mpet) contains the internal state of lcms’ transform as a rendering pipeline. This pipeline is able to do unbound colour transforms, if no table based elements are included. The tested device link contained single gamma values and matrixes in its D2B0 mpet tag. The Oyranos image-display application renderd my LMS test pictures correctly, in opposite to the 16-bit integer version. However the speed was decreased by a factor of ~3 with lcms compared to the usual integer math transforms. The most time consuming part might be the pow() call in the equation. It is possible that GPU conversions are much faster, only I am not aware of a implementation of mpet transforms on the GPU.


face

For quite some time I was pretty confident that Weblate will need some UI rewrite at some point. This is always problematic thing for me as I'm no way an UI designer and thus I always hope that somebody else will do that. I've anyway spent few hours on train home from LinuxTag to check what I could do with that.

The first choice for me was to try Twitter Bootstrap as I've quite good experience with using that for UI at work, so I hoped it will work quite well for Weblate as well. The first steps went quite nicely, so I could share first screenshots on Twitter and continue to work on that.

After few days, I'm quite happy with basic parts of the interface, though the most important things (eg. the page for translating) are still missing. But I think it's good time to ask for initial feedback on that.

Main motivation was to unite two tab layout used on main pages, which turned out to be quite confusing as most users did not really get into bottom page of the page and thus did not find important functions available there. So all functions are accessible from top page navigation, either directly or being in menu.

I've also decide to use colors a bit more to indicate the important things. So the progress bars are more visible now (and the same progress bar now indicates status of translation per words). The quality checks also got their severity, which in turn is used to highlight the most critical ones. The theme will probably change a bit (so far it's using default theme as I did not care much to change that).

So let's take a look at following screenshot and let me know your thoughts:

Number of applications over time

You can also try that yourself, everything is developed in the bootstrap branch in our Git repository.

Filed under: English phpMyAdmin SUSE Weblate | 4 comments | Flattr this!


Michal Čihař: Weblate 1.9

16:00 UTC

face

Weblate 1.9 has been released today. It comes with lot of improvements and bug fixes and with experimental Zen mode for editing translations.

Full list of changes for 1.9:

  • Django 1.6 compatibility.
  • No longer maintained compatibility with Django 1.4.
  • Management commands for locking/unlocking translations.
  • Improved support for Qt TS files.
  • Users can now delete their account.
  • Avatars can be disabled.
  • Merged first and last name attributes.
  • Avatars are now fetched and cached server side.
  • Added support for shields.io badge.

You can find more information about Weblate on http://weblate.org, the code is hosted on Github. If you are curious how it looks, you can try it out on demo server. You can login there with demo account using demo password or register your own user. Ready to run appliances will be soon available in SUSE Studio Gallery.

Weblate is also being used https://l10n.cihar.com/ as official translating service for phpMyAdmin, Gammu, Weblate itself and others.

If you are free software project which would like to use Weblate, I'm happy to help you with set up or even host Weblate for you.

Further development of Weblate would not be possible without people providing donations, thanks to everybody who have helped so far!

Filed under: English phpMyAdmin SUSE Weblate | 0 comments | Flattr this!


face

Same as in past year, I'm attending FOSDEM 2014. This is the best opportunity to meet with free software world in Europe and get in touch with people you know only from mailing lists.

If you want to meet me in person and discuss anything, just get in touch with me and we'll arrange it.

Filed under: English phpMyAdmin SUSE Weblate | 0 comments | Flattr this!

Older blog entries ->