Profile

Cover photo
Richard Hughes
Attended University of Surrey
Lives in London, England
2,201 followers|498,466 views
AboutPostsPhotosYouTube

Stream

Richard Hughes

Shared publicly  - 
 
My task for this evening: Opening ~25 bugs against random fonts that are misusing TT_NAME_ID_PREFERRED_FAMILY -- this allows GNOME Software to group them together without resorting to piles of hacks.
12
Patryk Zawadzki's profile photoRichard Hughes's profile photoAlexander Patrakov's profile photo
4 comments
 
Okay, 6 emails, 2 Google+ messages, 2 Google group posts, 1 bug and three contact forms later, I'm done for this evening!
Add a comment...

Richard Hughes

Shared publicly  - 
 
 
> It was made in a rush

No, it wasn't. Not sure what makes you think so.

And while I'm critizising: it would be great if you would call software you write about by its actual name, gnome-software, instead of making up your own.
7
1
alex diavatis's profile photoDavi Souza's profile photoJasper St. Pierre's profile photoMohamed Touhami MAHDI's profile photo
15 comments
 
+Richard Hughes To be fair, your username is rhughes :P
Add a comment...

Richard Hughes

Shared publicly  - 
 
Some good news: 15% of desktop applications in Fedora rawhide now ship AppData. It seems to be going up by about a percentage point every 6 weeks, although it's slowing now.

If you're an upstream author please read the spec and spend 5 minutes writing a file so your application looks good in the GNOME software center. A lot of popular applications already ship the files, and applications without them look, well, fugly.
10
1
Richard Hughes's profile photoDaniel Berrange's profile photoJiří Eischmann's profile photoTobias Jakobs's profile photo
10 comments
 
+Daniel Berrange Yes, that's a good idea indeed, although I don't know how many packagers would be interested. I'm trying to push as much of this upstream as possible, but I agree that the packagers are often the ones pushing things upstream as well as consuming downstream, so may work well.
Add a comment...

Richard Hughes

Shared publicly  - 
 
Dear lazyweb. If I do gdk_pixbuf_get_pixels() on a GtkImage and modify the image data, how do I tell GTK that it needs to repaint the widget? Or am I being evil?
1
Mukund Sivaraman's profile photoRichard Hughes's profile photoAlexander Larsson's profile photoRay Strode's profile photo
5 comments
 
re-setting the pixbuf should work. Just queueing a draw doesn't work any longer since we now cache the cairo surface for faster redraws.
Add a comment...

Richard Hughes

Shared publicly  - 
 
Dear lazyweb. Is there a way to make a program wait for all the tasks in a GThreadPool to finish? Using g_thread_pool_free() means I have to recreate it if the pool is needed again, and g_thread_pool_unprocessed() seems to not return the tasks being processed. Ideas?
1
Add a comment...
Have him in circles
2,201 people

Richard Hughes

Shared publicly  - 
 
 
Something I never thought about: the chemical trick which modern laundry detergents use to "brighten whites" actually depends on the light spectrum emitted by incandescent bulbs - and in particular, on the amount of UV light they emit. LEDs don't do that, and so (barring a new approach) white clothes will, once again, gradually become yellow and dingy over time.

And even as I type this, I am realizing that people will draw political inferences and/or life lessons from this bit of science. Please troll creatively.

Via +Alex Scrivener
12
2
Will Crawford's profile photoGordon McLellan's profile photoMartin Langhoff's profile photo
 
The OBAs I've seen in detergent , paper and printer ink all responded well (brightly) to the royal blue component of phosphor converted white LEDs, however I have not experimented with remote phosphor bulbs.
Add a comment...

Richard Hughes

Shared publicly  - 
 
The appstream-glib library used in gnome-software already supports nearly all the features in AppStream API version 0.6, and I'll be switching AppData to the new schema in the next few months. Don't worry though, all the existing AppData files will be supported for basically forever. Cross-distro collaboration FTW :)
 
I just released AppStream 0.6 with many improvements and a major libappstream rewrite!
You can find the release announcement here: http://lists.freedesktop.org/archives/distributions/2014-April/000698.html
There will highly likely be a 0.6.1 release soon, to fix the fallout of this release (to adress questions about the specs and fix quirks in the library), so if you have questions, poke me :-)
The new libappstream brings better support for screenshots, support for releases, provides and special components like fonts and inputmethods, so it's a good idea to port applications to the new API.
13
Add a comment...

Richard Hughes

Shared publicly  - 
 
People, 3.12.1 tarballs are due! Get packaging! #GNOME
16
2
Javier Jardón's profile photoIgor Gnatenko's profile photo
Add a comment...

Richard Hughes

Shared publicly  - 
 
Sooooo. cairo_surface_map_to_image() doesn't work when using CAIRO_SURFACE_TYPE_XLIB as the source surface. cairo_image_surface_get_data() on the new image surface returns junk. Known issue? Am I Doing It Wrong(tm)?
1
Richard Hughes's profile photoIan Zimmerman's profile photo
2 comments
 
+Ian Zimmerman So I found a workaround by just loading the PNG from cairo itself and then painting the surface. I'd love to know how you got cairo_surface_map_to_image() to work.
Add a comment...
 
Thanks to +Daniel Nicoletti Ubuntu and Debian can display updates using gnome-software now :)
40
4
Thomas Bourcey's profile photoMatthias Klumpp's profile photoNeHeMueL García's profile photoLennart Poettering's profile photo
12 comments
 
+Matthias Klumpp No deprecation, but I don't plan to add any new features. I'm happy to maintain it for a few years.
Add a comment...
People
Have him in circles
2,201 people
Work
Occupation
I write open source software
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
London, England
Links
Other profiles
Contributor to
Story
Tagline
I'm an open source hacker who loves to make framework software
Introduction
I'm an electronic engineer who likes to write free software. At some point in my life, I've probably caused a crash on your computer.
Education
  • University of Surrey
    MEng Electronics, 2003 - 2007
Basic Information
Gender
Male