Shared posts

17 Jul 12:10

An unexpected journey

by Martin Gräßlin

Since my last post quite some progress has been made in getting KWin working on top of a Wayland compositor. My main focus of work has been on the input stack. This is something I am not really familiar with as so far we did not have to care about it.

As some might know input handling in X11 is very insecure. Every application is able to listen to every key event. And in the KDE workspaces we obviously make use of these “features”. For example the global shortcut handling is implemented as a kded module listening to all key events and notifying the application via D-Bus that the shortcut got triggered. In a post-X11 world this will not work any more: applications are no longer able to listen to all key events.

One of the important tasks therefore is to not send all input events to the
X-Server but just to the window which should get it, or to handle the input events inside KWin and discard them without passing to the applications. My current branch already supports activating screen edges and using fullscreen effects like Present Windows completely without passing the input events through X. This means that some of the longstanding issues are automatically resolved. We no longer “steal” the screen edges from applications and starting the screen locker should be possible even if present windows is active (not tested and still needs some screen locker support in KWin).

But this also means that features like the global shortcut handling start to break. Mostly because kded is not listening on my virtual X but that’s just detail ;-) So I also had to start working on global shortcut support inside KWin – otherwise I would have had a hard time to use some of the important features like switching desktops or using Alt+Tab. At the moment the latest code only supports KWin’s internal shortcuts, but global support for kglobalacceld will have to follow. We had some ideas on how to improve global shortcut handling in general anyway.

When the infrastructure was in place I couldn’t resist the temptation to work on features which had been requested for a long time and were not really possible to do with X11 (or only with huge hacks): mouse shortcuts. Ctrl+Alt+left click activates desktop cube. But that’s not enough. While sitting in the Kubuntu Developer Summit I added also mouse wheel support which allows us to ctrl+alt+wheel to switch desktops and also to use the zoom effect. This work can be found in branch kwin/global-shortcuts on my personal workspace clone.

I hope that we will soon have a decision on the “what’s master” discussion and I can start merging the changes in. Once this is done I plan to switch focus to the Qt 5 port and concentrate on this for the next few weeks.

Nevertheless this should not be a reason to stop the work on the Wayland efforts. There are so many small things which can be done and lots of low hanging fruit. I will try to setup a trello board with a few tasks, so that interested developers could start picking up some easy tasks and get their hands dirty. Once something is in place I’ll write another post.

16 Jul 23:54

Linus Torvalds defends his right to shame Linux kernel developers

by Jon Brodkin
Linus Torvalds will never get a job in HR.

Profanity and insults have long been management tactics of Linux creator Linus Torvalds. He once memorably gave the middle finger to Nvidia; separately, he announced that he would not change Linux "to deep-throat Microsoft." Torvalds has also shown no qualms about being rude to those who disagree with him.

When Torvalds is fighting for the open source way against proprietary software companies, his abrasive style may elicit cheers. But developers who volunteer to improve the Linux kernel and find themselves on the receiving end of a Torvalds tirade might prefer a different management style. One developer is now calling out Linux's leader for turning the world of open source kernel development into a hostile working environment.

“Keep it professional”

The Linux "workplace" is primarily a mailing list in which developers discuss changes to the kernel. The criticism of Torvalds came yesterday from developer Sarah Sharp, a software engineer at Intel who has made numerous contributions to the Linux kernel in the past seven years. Sharp wrote:

Read 14 remaining paragraphs | Comments

    


16 Jul 07:10

Chiari segnali che un posto è all’altezza: i piatti spia

by Massimo Bernardi
eggs benedict

Ogni settimana, spendo alcuni euro per leggere sull’iPad una nuova guida. Gli hamburger di Londra, i vini Slow, le cose buone, Roma, i vinaini di Firenze, le pasticcerie di Parigi. Ogni settimana, quasi ogni giorno della settimana, benedico la spesa (pare che alle guide i miei euro non bastino, ma vabbe’).

Questo mese, oltre a benedire Londra di Time Out, stavo per fare la ola. E’ gratis, e dal mare magnum carnoso-enfatico sulla città suddetta emergeva solitario un eccellente consiglio, Honest Burger a Soho. 

È estate, e si esce di più la sera. Oltre alle guide esistono altri modi per scoprire come si mangia nel pizza-e-champagne appena aperto o nel fast-food del fritto buono raccomandato dai più vertiginosamente competenti tra i miei amici.

Andarci. E prima di ogni altra cosa fare la prova del piatto spia.

Già, ma quale? Vi dico i miei poi voi fate altrettanto.

Ristorante di pesce. Oggi tra operazioni di re-branding, e tentativi di rendersi simpatici e patinati e pop, vedi fast-food della mazzancolla, interpretare i segnali lanciati da un ristorante di pesce non è così immediato. Ma nessuno può mentire alla prova del fritto. Vero, una digestione da danni ambientali impedisce di inseguire i tuoi sogni al colesterolo ma non è obbligatorio mangiarlo tutto. Benchmark di riferimento: il fritto della Capanna di Eraclio a Codigoro, vicino Ferrara.

Bar. Cambiamo radicalmente scena: il bar si misura dall’espresso. Beviamone un sorso senza zucchero, se non è buono quello, il resto come volete che sia.

Gelateria. Il primo cono in una nuova gelateria è solo e sempre alla crema. Se certe gelaterie aggiungono al gusto crema il loro nome mica è per caso.

Cucina romana. Atteniamoci ai dati di fatto: non esiste cucina romana senza cacio e pepe. Il termine di paragone resta quella mantecata a freddo di Felice a Testaccio, e credetemi, non è (solo) un cliché.

Cucina romana kosher. Così come non esiste cucina romano-kosher senza carciofi alla giudia. E siccome nel ghetto abbondano i ristoranti turistici, prima si prova quello di Nonna Betta, Via del Portico d’Ottavia, poi si giudicano gli altri.

Hamburgheria. Così come i colori del semaforo non sono suggerimenti discrezionali, in una hamburgheria iniziare dalle patate fritte significa rispettare le regole. Sono tagliate a mano, croccanti, poco unte e non ammazzate dal sale? Le possibilità che tutto il resto si all’altezza aumentano.

Sushi. Da amante del cotto che ogni tanto mangia sushi, il classico sushipirla insomma, faccio il test del sashimi per capire la freschezza del pesce. Sbaglio?

Brunch. Se prendete seriamente il brunch domenicale perché vi piacciono le favole o perché lo trovate semplicemente comodo, il piatto spia sono le uova in camicia su muffin all’inglese con salsa benedettina, anche detta olandese. Almeno salsa e uova richiedono una certa perizia.

Pizza. La margherita come prima scelta in una nuova pizzeria più che un’opzione è legge.

Ristorante cinese. Mentre prima di avventurarsi in un ristorante cinese di Milano, buonsenso vuole che si siano provati i ravioli al vapore di Lon Fon, in via Lazzaretto, sobrio e poco orientaleggiante, con una cucina autentica e molto curata.

Questi i primi piatti spia che mi sono venuti in mente. Ora concentriamoci su di voi, siamo tutti ansiosi di conoscere la variabile lettori. Aggiungete altre categorie, se credete.

[Crediti | Link: Time Out, immagine: Luxirare]

09 Jul 07:14

116. CAITLIN MORAN: We’re all dying

by Gav

116. CAITLIN MORAN: We’re all dying

Caitlin Moran (1975-) is a British author, TV presenter, music critic, journalist and outspoken advocate for women’s rights. She currently writes a variety of columns (most of which are hilarious) for The Times UK.

Moran was something of a child prodigy. After being home-schooled (she left school after a few weeks when she was 11) she had her first book published at 15, had columns running in the Observer and Guardian at 17 and got her gig at The Times when she was 18.

This quote is taken from her best-selling memoir How to be a Woman. Her new book, Moranthology, has just been released.

Unlike Moran, I went to Catholic School for 12 years where my head was filled with all kinds of fanciful stories that I blindly accepted. Only when I left high-school and starting reading more books about science and evolution (mainly by Carl Sagan) did I begin to re-evaluate what I had been taught for all those years.

RELATED COMIC: Make the most of this life.

- Caitlin Moran’s official website.
- Thanks to Barclay for submitting this quote.

09 Jul 06:49

Ecco il Papa, per esempio…

by Paguri

Ok Ecco il Papa, per esempio...

Un buon esempio vale più di mille parole.

Questo deve aver pensato il buon Papa Francesco, stamattina, quando ha preso armi e bagali ed è partito alla volta di Lampedusa.

Sì, perché dopo decine di Papi che, negli ultimi anni, non facevano che ripetere i loro appelli ad pianificare partenze intelligenti, evitare i giorni di maggior traffico e guidare con prudenza (al punto che simili inviti erano ormai diventate vuote formule di rito capaci, tutt’al più, di portare a una bella tastata di coglioni), Papa Checco ha finalmente dato il buon esempio, mettendosi in discussione ed esponendosi in prima persona.

Egli ha infatti deciso di partire per Lampedusa non di sabato o di domenica, ma di lunedì mattina, evitando così il traffico dei tradizionali barconi di villeggianti che, dalle coste del Nordafrica, da anni prendono d’assalto le belle spiagge dell’isola siciliana.

Un nuovo grande gesto di coraggio e umiltà di Papa Francesco in grado di dargli un’ulteriore spinta nella sua scalata alla classifica dei papi più buoni.

Però sempre e comunque papi.