Thursday, August 17, 2017

Services Collaborating Openly at Akademy 2017

At the recently concluded Akademy 2017 in the incredibly hot but lovely Almería, yours truly went and did something a little silly: Submitted both a talk (which got accepted) and hosted a BoF, both about Open Collaboration Services, and the software stack which KDE builds to support that API in the software we produce. The whole thing was amazing. A great deal of work, very tiring, but all 'round amazing. I even managed to find time to hack a little bit on Calligra Gemini, which was really nice.

This blog entry collects the results from the presentation and the BoF. I realise this is quite long, but i hope that you stick with it. In the BoF rundown, i have highlighted the specific results, so hopefully you'll be able to skim-and-detail-read your specific interest areas ;)

First, A Thank You In Big Letters

Before we get to that, though, i thought i'd quickly touch on something which i've seen brought up about what the social media presence of the attendees looks like during the event: If you didn't know better, you might imagine we did nothing but eat, party and go on tours. My personal take on that is, we post those pictures to say thank you to the amazing people who provide us with the possibility to get together and talk endlessly about all those things we do. We post those pictures, at least in part, because a hundred shots of a group of people in an auditorium get a bit samey, and while the discussions are amazing, and the talks are great, they don't often make for exciting still photography. Video, however, certainly does that, and those, i hear, are under way for the presentations, and the bof wrapups are here right now :)

Nothing will stop our hackers. And this is before registration and the first presentation!

Presenting Presentations

Firstly, it felt like the presentation went reasonably well, and while i am not able to show you the video, i'll give you a quick run-down of the main topic covered in it. Our very hard working media team is working on the videos at the moment, though, so keep your eyes on the KDE Community YouTube channel to catch those when they're released.

The intention of the presentation was to introduce the idea that just because we are making Free software, that does not mean we can survive without money. Consequently, we need some way to feed funds back to the wildly creative members of our community who produce the content you can find on the KDE Store. To help work out a way of doing this in a fashion that fits in with our ideals, described by the KDE Vision, i laid out what we want to attempt to achieve in five bullet points, tongue-in-cheek called Principia pene Premium, or the principles of almost accidental reward:
  • Financial support for creators
  • Not pay-for-content
  • Easy
  • Predictable
  • Almost (but not quite) accidental
The initial point is the problem itself, that we want the creators of the content on the store to be financially rewarded somehow. The rest are limiting factors on that:

Not pay-for-content alludes to the fact that we don't want to encourage paywalls. The same way we make our software available under Free licenses of various types, we want to encourage the creators of the content used in it to release their work in similarly free ways.

Easy means easy for our creators, as well as the consumers of the content they produce. We don't want either them to have to jump through hoops to receive the funds, or to send it.

Predictable means that we want it to be reasonably predictable for those who give funds out to the creators. If we can ensure that there are stable outgoings for them, say some set amount each month or year, then it makes it easier to budget, and not have to worry. Similarly, we want to try and make it reasonably predictable for our creators, and this is where the suggestion about Liberapay made by several audience members comes in, and i will return to this in the next section.

Finally, perhaps the most core concept here is that we want to make it possible to almost (but not quite) accidentally send one of the creators funds. Almost, because of course we don't want to actually do so accidentally. If that were the case, the point of being predictable would fly right out the window. We do, however, want to make it so easy that it is practically automatically done.

All of this put together brings us to the current state of the KDE Store's financial support system: Plings. These are an automatic repayment system, which the store handles for every creator who has added PayPal account information to their profile. It is paid out monthly, and the amount is based on the Pling Factor, which is (at the time of writing) a count of how many downloads the creator has accumulated over all content items over course of the month, and each of those is counted as $0.01 USD.

Space-age looking crazy things at the Almería Solar Platform. Amazing place. Wow. So science.

Birds of a Feather Discuss Together

On Wednesday, a little while before lunch, it was time for me to attend my final BoF session of the week (as i would be leaving early Thursday). This one was slightly different, of course, because i was the host. The topic was listed as Open Collaboration Service 1.7 Preparation, but ended up being more of a discussion of what people wanted to be able to achieve with the store integration points we have available.

Most of the items which were identified were points about KNewStuff, our framework designed for easy integration of remote content using either OCS, or static sources (used by e.g. KStars for their star catalogues).

Content from alternate locations was the first item to be mentioned, which suggests a slight misunderstanding about the framework's abilities. The discussion revealed that what was needed was less a question of being able to replace existing sources in various applications, so much as needing the ability to control the access to KNewStuff more granularly. Specifically, being able to enable/disable specific sources was highlighted, perhaps through using Kiosk. It might still make sense to be able to overlay sources - one example given was the ability to overlay the wallpapers source (used in Plasma's Get New Wallpapers) with something pointing to a static archive of wallpapers (so users might be able to get a set of corporate-vetted backgrounds, rather than just one). This exact use case should already be possible, simply by providing a static XML source, and then replacing the wallpapers.knsrc file normally shipped by Plasma with another, pointing to that source.

A more complete set of Qt Quick components was requested, and certainly this would be very useful. As it stands, the components are very minimal and really only provide a way to list available items, and install/update/remove them. In particular two things were pointed out: There is no current equivalent of KNS3::Button in the components, and further no Kiosk support, both of which were mentioned as highly desired by the Limux project.

Signing and Security was highlighted as an issue. Currently, KNSCore::Security exists as a class, however it is marked as "Do not use, non-functional, internal and deprecated." However, it has no replacement that i am myself aware of, and needs attention by someone who, well, frankly knows anything of actual value about signing. OCS itself has the information and KNS does consume this and make it available, it simply seems to not be used by the framework. So, if you feel strongly about signing and security issues, and feel like getting into KNewStuff, this is a pretty good place to jump in.

Individual download item install/uninstall was mentioned as well, as something which would be distinctly useful for many things (as a simple example, you might want more than one variant of a wallpaper installed). Right now, Entries are marked as installed when one download item is installed, and uninstalling implicitly uninstalls that download item. There is a task on the KNewStuff workboard which has collected information about how to adapt the framework to support this.

But KNewStuff wasn't the only bit to get some attention. Our server-side software stack had a few comments along the way as well.

One was support for Liberapay which is a way to distribute monetary wealth between people pretty much automatically, which fits very nicely into the vision of creator support put forward in my presentation. In short, what it allows us to do

One topic which comes up regularly is adding support for the upload part of the OCS API to our server-side stack. Now, the reason for this lack is not that simply adding that is difficult at all, because it certainly isn't - quite the contrary, the functionality practically exists already. The problem here is much more a case of vetting: How do we ensure that this will not end up abused by spammers? The store already has spam entries to be handled every day, and we really want to avoid opening up a shiny, new vector for those (insert your own choice of colloquialism here) spammers to send us things we want to not have on the store. Really this deserves a write-up of its own, on account of the sheer scope of what might be done to alleviate the issues, but what we spoke about essentially came down the following:

  • Tight control of who can upload, so people have to manually be accepted by an administration/editors team as uploaders before they are given the right to do so through the API. In essence, this would be possible through establishing a network of trust, and through people using the web interface first. As we also want people to approach without necessarily knowing people who know people, a method for putting yourself up for API upload permission approval will also be needed. This might possibly be done through setting a requirement for people who have not yet contributed in other ways to do so (that is, upload some content through the web first, and then request api upload access). Finally, since we already have a process in place for KDE contributors, matching accounts with KDE commit access might also be another way to achieve a short-cut (you already have access to KDE's repositories, ability to publish things on the store would likely not be too far a stretch).
  • Quality control of the content itself. This is something which has been commented on before. Essentially, it has been discussed that having linting tools that people can use locally before uploading things would be useful (for example, to ensure that a kpackage for a Plasma applet is correct, or that a wallpaper is correctly packaged, or that there is correct data in a Krita brush resource bundle, or that an AppImage or Flatpak or Snap is what it says it is, just to mention a few). These tools might then also be used on the server-side, to ensure that uploaded content is correctly packaged. In the case of the API, what might be done is to return the result of such a process in the error message field of a potentially failed OCS content/add or content/edit call, which then in turn would be something useful to present to the user (in place of a basic "sorry, upload failed" message). 

For OCS itself, adding mimetype as an explicit way to search and filter entries and downloaditems was suggested. As it stands, it could arguably be implemented by clients and servers, however having it explicitly stated in the API would seem to make good sense.

The proposal to add tagging support to OCS currently awaiting responses on the OCS Webserver phabricator was brought up. In short, while there are review requests open for adding support for the proposal to Attica and KNewStuff respectively, the web server needs the support added as well, and further the proposal itself needs review by someone who is not me. No-one who attended the BoF felt safe in being able to review this in any sensible way, and so: If you feel like you are able to help with this, please do take part and make comments if you think something is wrong.

Finally, both at the BoF and outside of it, one idea that has been kicked around for a while and got some attention was the idea of being able to easily port and share settings between installations of our software. To be able to store some central settings remotely, such as wallpaper, Plasma theme and so on, and then apply those to a new installation of our software. OCS would be able to do this (using its key/value store), and what is needed here is integration into Plasma. However, as with many such things, this is less a technical issue (we have most of the technology in place already), and more a question of design and messaging. Those of you who have ever moved from one Windows 10 installation to another using a Microsoft account will recognise the slightly chilling feeling of the sudden, seemingly magical appearance of all your previous settings on the machine. As much as the functionality is very nifty, that feeling is certainly not.

Solar powered sun-shade platform outside the university building. With fancy steps. And KDE people on top ;)

Another Thank You, and a Wish

Akademy is not the only event KDE hosts, and very soon there is going to be another one, in Randa in the Swiss alps, this year about accessibility. I will not delve into why this topic is so important, and can only suggest you read the article describing it. It has been my enormous privilege to be a part of that several years, and while i won't be there this year, i hope you will join in and add your support.

The word of the day is: Aircon. Because the first night at the Residencia Civitas the air conditioning unit in the room i shared with Scarlett Clark did not work, making us very, very happy when it was fixed for the second night ;)

Labels: , ,

Wednesday, December 28, 2016

Peruse 1.2 "The Winter Wonderland Release"

My sister, with a cup of gløgg and some
æbleskiver, reading Wasteland Mutants in Peruse.
Today marks a very interesting day: Near enough to six months after its initial release, this will be the final release (minus any potential minor revision work) of the 1.x series of the comic book reader Peruse.

Why is it the final release, you say? Well, easy - there will be a 2.x series, which will be based upon Kirigami 2, and further have a bunch of new features and behavioural changes which all together makes it sensible to make a big version number change. So, no, this is not the final release of Peruse itself, only the 1.x series - rest assured that there is a very bright future indeed for your favourite comic book reader built by and powered by the KDE community!

Where can I get it?!

Don't want to wait? Well, certainly, don't let me stop you! Hop right over to the Peruse website and grab yourself a copy of whichever version best matches your needs.

What's in this?

While you wait for your download, let's have a look at what you can find in this shiny, new version of Peruse. The same features you found in 1.1 are still there, of course: CBZ, PDF and ePub support, alongside a few other less common ones. A handy continue-where-you-left-off feature with support for multiple books. A collection system with filtering options based on author, title, folder structure and so on. Full screen mode, with both touch and keyboard controls. All that stuff you already know.

As for new things, however, we have done some major overhauling of the PDF and ePub support, which is now considerably more solid, with less glitchy rendering and a more usable view. Still based on Okular, but using a more Peruse-like navigation system, which makes the whole thing feel more at home.

A whole bunch of little annoyances have been ironed out as well, and using Peruse is now more pleasant as a result. Things like using a more natural title for title-less comic book archives, and supporting basic ACBF information will come in handy when browsing your collection, and when reading.

What about shinies?

This version is not all just cleaning and polishing, you also have a preview of things to come: There is now a (very basic) shop, which you can find in the sidebar with the title "Get Hot New Books", which is by no means the final name, and is more alluding to the name of the technology underneath. Clicking on this entry will let you download and read comics from the comic section, which is currently quite low on content - something which the second thing being previewed in this version might help with.

Peruse Creator is a partner application to Peruse Reader, designed to allow the many creative people out there to easily produce comic book archives, for use not only with Peruse, but with any other comic book readers out there. The version shipped with this release is an initial, basic version, a sort of proof of concept. Even then, it already has support for creating comic book archives with ACBF information embedded, including not only titles and other basic information like that, but also genres and the like. Important to note is that comic book archives made using Peruse Creator will, even though they have ACBF information embedded, work just fine with applications which do not support this: They will simply not have the information available, and really just work like any other cbz file you might come across.

What's next?

Bear with me as I go slightly fluffy for a moment: The next step for Peruse is to close the cycle between creation and consumption. We want to make it as easy for the readers and the makers to achieve their goals, which here is, of course, to let the readers read the things the makers make. This is not simply a case of creating a store that people can put things on and get things from, it is about creating the tools which allow the readers to read the content they want to read, in the most comfortable manner possible, and for the makers to make the content they want to make, in the most comfortable manner possible. That all sounds nice and logical, right? But, what, more precisely, does it mean?

For the readers, it means creating a place where they can get that content, the store which is previewed in this version. The version in Peruse now is extremely simple, and really, it would be great to hear what you all want out of it. We have ideas of our own, like showing you what's next in a series where you have downloaded and completed reading a book, and there are more books available on the store. And to show various categories and the like in the store, to let you find things you want to read. Most of all, though, we want to hear what you want to be able to do.

For the makers, it means letting you create comics not only comfortably, but efficiently as well. The creation tool is currently simplistic, but we want to support all the features that ACBF allows for, to allow our makers to make comics which can do things they could not do on paper alone, such as frame based navigation instead of simply page-by-page navigation. Again, we want to hear from you what you want to be able to do.

We in this case are myself and the KDE Visual Design Group, and we would absolutely welcome input from everybody out there, because you are the people we want to be able to make happy. So please, get in touch and we will greatly enjoy listening to your amazing ideas, so we can create the best Peruse possible.

The word of the day is: Boiler. Because we are having a new one installed right now. Have been without heating for over a week now, so getting that sorted is nice ;)

Labels: ,

Tuesday, September 06, 2016

The Past and the Immediate of the Future, For Your Perusal

Why hello there! Gather round, and i shall spin you a tale of sadness and joy and the hard work of many, many proud and capable people.

Once upon a time there was a small community of people who wrote computer code. They had many great pieces of software, and lots of people were excited about them and wanted to make new stuff for them, like icons and templates and extension scripts. They despaired, however, when they realised it was really hard to get these new things to other people. They tried to staple them to trees, or to send floppy disks to people in the mail, but this was just not good enough.

Finally, one decided that this was just not right, and created the website All who saw it were astonished and decided it was really great. The one who made it did not agree, and decided it was not good enough. Together with others, they created the GetHotNewStuff library, which was able to get those hot new things on directly from inside applications, and finally they were satisfied as well.

Many years passed since them, and eventually things grew and became much more than it once was. Many other sites joined the first, and the library expanded into a framework, and the babbling conversation between the website and library turned into a real language, the Open Collaboration Services standard.

The one who built this large amount of lovely stuff then became distracted with vast, new plans of malevolent world domination, trying to help people take back control of their own data, and ended up leaving his previous baby to simply exist on its own. Without the close attention of earlier years, it continued to work but did not grow or change to fit the changing world around it.

This was known by many, and many were sad but unable to do much about it. Attempts were made to at least reproduce functionality, if not content, but even those were not quite the right fit for what was needed. Then, suddenly, not long ago, another found themselves in the right place at the right time, and spoke with the first. Finally, things were moving again, and was born!

Comics For All By All

Why am i talking about this on a blog which is normally more about a comic book reader? Well, this is where you might want to watch the video below, of me on stage at QtCon 2016, talking endlessly and way too fast about the work i am currently doing to be able to get comic books into Peruse.

The gist of that presentation, which expands on the hints dropped in my previous blog about how Peruse Creator is becoming a thing, is that we now, with the new KDE Store site, have an actively developed digital content store again, and that this means the client libraries also need some work again.

Over the last couple of months, ideas were hatched and plans were laid, and finally code was produced, which means we now, in addition to the existing KNewStuff functionality people know as the Get Hot New Stuff star buttons in the wallpaper dialogue and many other places, have the beginnings of a set of Qt Quick components, named KNewStuffQuick, and a core library containing the majority of the non-ui dependent functionality named, cleverly, KNewStuffCore, if neither of the two ui options fit your needs.

In Peruse, what that means is that we are able to show the comic books available on the KDE Store very easily, with very few lines of code. When reading comics that you have downloaded from there, we are also able able to show those comics which are related and in the same series as that comic book, so that when you get to the last page and think you would like to read more of that comic, and there is more of it available, we can show that to you in the list, and let you download it directly from there without having to go into the store and break from your reading, alongside the rating and reviewing options available in the same place.

All in all, this is all (i think) terribly exciting stuff, and we are fast approaching the point at which we need to ask some of those makers of amazing works to help us out, so we can help them more. Nothing like a positive feedback loop to make people happy, when the positivity is both the topic and the function of the loop :)

KDE Store
Peruse ReaderPeruse Creator

The word of the day is: Laptop (because i left mine in England, which was silly when going to a place to do much hacky type stuffs)

Labels: ,

Tuesday, August 16, 2016

Peruse 1.1 "The Cuppa Release"

Slightly later than the 21st of June this year, the inaugural release of the Peruse comic book reader was made, and received with while not wide spread excitement, then certainly with mostly positive comments (and some very good suggestions). If you are a software developer yourself, you will know exactly how much this means to me. If you are not: This is what sustains us, what encourages us to continue working on the things we do. Thank you all very much!

Today marks the day at which some of those suggestions have been turned into reality. Obviously by no means all of them, some will take longer to surface than others, but even then, today marks the official release of Peruse 1.1, entitled The Cuppa Release, because hey, who doesn't like a nice cuppa, with their comics, eh? ;)

Get Peruse Now

What happened?

During the last month or so, a fair few little bits changed in Peruse, but perhaps the biggest change was not Peruse itself, but rather the Kirigami framework on which the user interface in Peruse is based. This has now also had its inaugural release, and the 1.0 release announcement included mentions of Peruse (and a quote from yours truly). Not only that, but decided to use Peruse as the pull-in, and had a screenshot of that as their image. So, you know, that's pretty neat.

Peruse itself, of course, has not sat still while waiting for that to happen. It would not be worthy of a 1.1 version if that were the case, then it would have simply been version 1 with updated libraries. What follows is a condensed list of the changes in Peruse itself, in no particular order (since people of course will consider different things more important):
  • More natural keyboard controls (f to enter full screen, escape to exit, book details closed with escape, and navigation through the book details screen now functions as expected as well with arrow keys changing the book and enter opening the book)
  • Settings page is now a top level page, same as the bookshelves and so on, making it feel much more natural
  • The sidebar now shows which page you are currently on
  • Make the context drawer able to host subitems, and use that for the first view option (Right To Left and Left To Right navigation, aka Manga Mode)
  • Fullscreen enter/exit is now more solid (and ensures the current page is restored when switching, as that would fail sometimes)
  • Fix the page-change animation (which was never stopped like it was supposed to, causing a certain amount of heaviness where none needed to exist)
  • Don't allow dragging the pagestack around when there aren't any controls (as that's simply jarring)

My sister Liv, reading a comic, with a nice cuppa, in mum and dad's garden.
Yup, i'm visiting the parents ;)

And finally, we have another couple of options for people who want to run the application:

Firstly, people asked about packages for Arch, and a it was within the abilities of the Open Build Service to create Arch binaries, we are happy to say that such packages now exist.

Secondly, and perhaps more interestingly for a larger number of people, and part of the reason it has taken so long to get 1.1 out the door: We now have an AppImage of Peruse, available right beside all the other options on the website. Don't want to install Peruse packages, or don't have them available for your distribution? Well, if it's modern enough, you should be able to run Peruse without needing to install anything. And the size? Well, with more space optimisation to be done, and considering the sheer amount of dependencies that Okular brings with it, at 86 MiB, i don't think that it's at all bad.

What happens now?

So, what is next for Peruse? Well, other than making it better, faster, smaller, stronger and all those lovely things that might be considered a bit fluffy, there are still plenty of items on the Work Board over on the project page. One item, however, which is missing from that board right now is a little tool which is slowly taking shape in the git repository, called Peruse Creator.

Having talked with people who make comics (both hobbyists and self published full timers), one thing they've mentioned is that while they would certainly like to make it easy for people to get their comics for use in something like Peruse, and while it is fairly straightforward to create cbz archives (literally just a zip file with pictures in it), the problem remains that it is still not quite point and click easy. So, enter Peruse Creator, a tool which initially just creates those cbz files with a sprinkling of useful metainfo, the format of which is hinted at in this task. Initially that work will not include the viewports - but if we don't build the foundations, castles in the sky tend to fall down rather hard. Since that is where we are headed, let's get that foundation nice and solid, and ready to hold up all our dreams.

So, what happens now? The future? The future is full of speech bubbles and beautiful vistas and tight closeups and, above all, amazing stories told by creators throughout the world. Watch this space (and drop by QtCon if you want to know something more).

The word of the day is: Green (because that's the colour of all the pretty things in my parents' garden i can see through the window i am sat next to ;) )

Labels: ,

Wednesday, June 22, 2016

Peruse 1.0 "The Birthday Release"

One day, about half a year or so ago, it came up in a discussion that while we in KDE have a lovely document viewer named Okular, we don't have something that is well suited to actually reading things, comic books in particular. So, a project was hatched to fix this. I've blogged about it before, and made a few tweets on the topic, but today is special. Today, 1.0 happens.
(Alright, so it technically happened yesterday. But it's still special. At least, i think it's kind of special - it's called the birthday release for a reason, donchaknow ;) )

Meet the Peruse comic book reader. This little application is based on KDE Frameworks 5, and is designed with the same principles as Plasma in mind: It should get out of your way and let you read your comics, comfortably. The user interface was designed and built using the Kirigami components, which the famous diving tool Subsurface also uses, and which is being developed by KDE's Plasma and VDG teams.

The welcome page, where you can pick up reading where you left off last time, or navigate your way through your library in a range of different ways. Or, just open a file the way you might do it in other applications, if you've not got the thing you want in the library locations.

The navigation sidebar you have available when reading your comic. In full screen (click the button in the middle), with the controls hidden (tap the comic view), you can show this by swiping in from the side, or with a hook gesture by swiping up from the bottom (because Windows eats the sideways swipes).

When you reach either end of the comic and tap to try and continue past the end (by tapping the sides of the view), this drawer shows up to let you switch to other books in the same series. Because you don't want to be stuck on that cliffhanger ending, right?

What Lies Ahead

So, what is next for Peruse? Well, apart from fixing bugs which have made their way into the release, and pushing various bits of code upstream that need to be upstream (such as the karchive rar support, which i discussed with the karchive maintainer last week; more on that in a different blog post), there are some big things that need doing (and some not so big things, obviously, as well).

The things which are already planned can all be seen on the Peruse work board, but i feel that i should highlight the task entitled "Get Comics Online". Right now, the way you get comics is that you open your web browser and point it at some website where you happen to know comics can be found, such as's Comic Books and Graphic Novels site, and then download things from there, which you then open Peruse to read. Now, that's all well and good, and that, basically, works. However, it just isn't good enough. The experience is jarring, and it really is just a bit silly when there are ways of making that much more pleasant.

Enter KNewStuff, a library created back in the olden days when the K in KDE still stood for Kool, and KDE was a bunch of software rather than a bunch of people who make software. The library was built to make it possible to get new stuff, specifically Get Hot New Stuff, into your applications, and to do so in a semi-social manner. Fast forward some ten, fifteen years, and we have a framework which, while it certainly functions (every tried getting new wallpapers using that little button in your desktop settings?), has a design which doesn't quite fit with how software tends to be built today. So, the next couple of months is going to be spent turning the functional framework into a modern, modular one which will work for a wider range of use cases and workflows. The work has already begun, and a plan was hatched at the Randa Meetings 2016 for how to proceed.

What does KNewStuff have to do with, though? Well, honestly not a great deal. However, the plan for Peruse is to have a system which will allow you to have both KNewStuff capable sources (such as, which things like Parley and KStars use in various forms), and non-ocs based ones, which will require more intervention in code form by yours truly.'s archive as linked above gives us a nice target for that: Lots of content to get, with licenses that means we can actually suggest people use it (read: it's not illegal content), and it is well structured, but not ocs based. So, having Peruse able to use those two types of sources means we should cover a fairly nice amount ground.

Ideas and Bugs

What if you have more ideas than those on the work board? Well, i would love to hear from you in that case! No idea is too crazy or far out. No, really, they're not - they may just not happen immediately ;) Anything that isn't small should likely not go on the bugtracker, though, but rather directly to me. If you want to catch me, either comment here, or get a hold of me on any number of various platforms, such as freenode irc (where i'm leinir and hang in a fair few channels), or twitter or, or, or... Basically, if you run into someone called leinir out there, it's fairly likely it'll be me.

As with all such first releases, Peruse 1.0 is a bit rough around the edges and there are plenty of features that would be great to have in there - for example, there are no visual clues to suggest you can tap on the sides of the viewport to change pages when reading, and pdf and epub support feels very different to cbr support (and much less comfortable). If you come across any of those issues, please make sure to tell me about them - submit a ticket on the bugtracker for anything you run into that isn't right (though, please, and this goes for reporting on other products as well: check and make sure it hasn't been reported before. Help us help you :) )

Even More Awesomer!

On the note of helping us help you: The final sprint towards the release happened in part at the Randa Meetings 2016, and many other amazing things were achieved there. Not only that, but other sprints that KDE has through the year consistently yield both some heavy, intense coding sessions, and a lot of decisions which are just too difficult to make when you are not face to face with the people you need to talk with. So, if you want us to keep going and make more amazing stuff, click the banner below and donate what you can. If you can't donate, spread the word instead, help us raise enough to have the sprints we need to make KDE's software even better!

The word of the day is: solstice - because this is the longest day of the year and that's pretty neat :)

Labels: ,

Thursday, June 16, 2016

Perusing Progress at Randa Meetings 2016

Over the last couple of days, the 40 or so people here in Randa have been, amongst other things, been learning how to pronounce the name of the village correctly, treated to some lovely food and chocolate, and most importantly, been very, very busy learning from each other and producing great amounts of both code and plans, and as you can see from the picture below, smiles.

One of those who have been learning new things is Chris, aka Makenshi or chaz6, my better half, who has gained KDE developer access, and is now hard at work on adding GDAL support to Marble. As you can see below, it is coming along very nicely! Not only that, the initial version of the plugin has been submitted as a review request.

For my own part, i have been hard at work getting Peruse whipped into shape for release, which has meant the getting the series navigation done more pleasantly, and the addition of translation contexts to all strings in the application. As you can see below, the drawer with book information isn't that pretty, but it works, and it pops up when you try and move past either end of the book you are reading, just like you might recognise it from your ebook reader.

It has also meant building packages for a distribution i have very little experience with. While i may be a fairly proficient user of the open build service, which i have used a great deal for rpm packages over recent years, the creation of deb packages has always been something of a dark art to me. Over the last couple of days, however, that has become much more clear. A painful sort of clarity, certainly, but clarity none the less.

The end result is that i now have, on the Peruse website, a repository of deb packages for Peruse, and for Kirigami and the Okular frameworks branch both of which it depends on, all still built on obs, which means that updating the packages is very, very simple for me, and they're shipped to the users moments after they are built. In the words of Jazz Show host Louis Balfour: Nice.

The word of the day is: peruse - because i'm a silly person who likes that word, and thinks that perusing is the most sensible way of describing the experience of consuming comic books and graphic novels :)

Labels: ,

Monday, June 13, 2016

Randa Meetings 2016 is go!

After a nice, mostly uneventful trip to Randa, which involved picking up David on the way to the airport and then a long train trip on the very pleasant Swiss trains, we are now settled into the computer room and ready to get on with this year's meeting.

So, what will i be doing this year? Well, a few things, really:
  1. Hopefully we (that is myself and my better half Chris Hills, who has come with me this year) will succeed in getting him embedded in one of the teams, which is something we've wanted to do for ages, and this year it just seemed the time to get it under way for reals yo(tm). This is already well under way as i write these words, and that's pretty neat :) Thank you for being such a welcoming community! :D
  2. Get the first real release version done of the Peruse comic book reader app, which is based on KDE Frameworks 5 and the Kirigami Qt Quick 2 UX components
  3. Begin work on the content store support in Peruse.
  4. Hopefully get the Gemini microframework whipped into some semblance of usable shape (it would be nice to be able to use Calligra Gemini 3.0 for writing). This, however, is less critical than the others, for reasons which will become clear in the hopefully not too distant future. Very positive reasons. Keep your eyes peeled ;)
Points 3 and 4 above are... well, if you have followed me since i left university, and in part even during, you will know i've been involved with a fair few of the odd supporting fringe bits of the KDE community, and... it seems like i am going to be able to tie a few of those together into something coherent and functional. So, yes, watch this spot ;)

Now, do you like what we do at these sprints? Help us keep going! Sponsor it with any amount you can, or if you can't spare any funds, spread the word :)

The word of the day is: tea. Because that is totally a thing we can have here :)

Labels: , ,

Wednesday, August 26, 2015

Gemini at Randa 2015

Last year, I wrote a blog entry about the iminent release of Calligra 2.9 and the Calligra Gemini application which became a fully fletched member of the suite. In the latter half of that entry, I touched on what the future might potentially hold, and I mentioned the possibility of extending the concept from the application level to the complete system.

This future has, finally, arrived: We are now approaching the KDE Randa Meetings 2015, whose main topic this year is bringing touch to our software. In the spirit of KDE's software being something which integrates deeply between applications and with everywhere the applications run, the Gemini concept is in my personal, and of course biased, opinion a perfect match. In a world where our software runs on devices which, effectively, fit into three basic categories (that I will outline below), it would seem silly to not attempt this adaptation.

Create, Edit and View Presentations with Calligra Gemini
by Dan Leinir Turthra Jensen

The Gemini Device Categories

On the first, we find what we have become used to calling "the desktop", but which seems to be mostly laptops these days. These are devices where we have very detailed and fine grained interaction available, with a mouse and a keyboard, or some variation on those. In short, these are devices where we can perform intricate motions with a high level of precision; the sort of interaction required to create new content from scratch. These are devices in the Create category. In Plasma terms, this is the Plasma Desktop shell.

On the second, we have our various touch based devices. Recently there has been a great many attempts to create solutions to create content on these devices, but except for a very narrow range of situations, it turns out to be awkward and cumbersome. I am not talking about the attempts where you use a stylus to paint on a tablet screen, or a bluetooth keyboard to write text here. All that does is turn the previously simple-interaction device into a precise-interaction device as described above. What I mean here is a device with only a touch screen available, be it a tablet or a phone. These do not lend themselves well to creation of new content, but what they do lend themselves to is modification of existing content, which puts them very nicely into the Edit category. For Plasma, this would be Plasma Mobile, the shell created for phones, but which runs just fine on larger touch devices as well.

The final category are those devices which have extremely limited interaction available. There are a fair few of them out there, but without getting too deep here, let's say these are devices like an eBook reader (with the slow screen refresh and in some cases very limited input in the form of arrow keys and a select button), or TVs (where we can really only depend on input in the form of numbers and sometimes not even the arrow keys and select button that we might otherwise expect). Fairly obviously, these devices are not suitable for creation of new content, and really they are not well suited to even editing of it. They are, however, uniquely suited to consumption of content. This, in Gemini terms, puts them into the View category. This would be Plasma Media Center in the Plasma world.

What can you do to help?

In essence, as you can tell, we already have the bits available. Plasma is even able to switch its shell at runtime. Thought need to be put into getting the transitioning to work right. Not on a technical level, but on a human level. How can this be done without getting in the way? It is doable, but discussion must happen, and it is exactly the sort of thing which is done best face to face, and with prototypes made with pencils, paper and scissors, not with digital tools, simply because, well, once the code is written, people get attached: Paper is simple, and clearly not supposed to be final. This is why sprints and meetings like those held in Randa are so important.

As other blog entries on Planet KDE and elsewhere have suggested, the most immediately effective way to ensure that we can do this is to help with the fundraiser, which will allow the Randa Meetings and other sprints to happen in the best way possible. As i write these words, we have currently raised €10690 of our €38500 goal, so please, donate what you can, and spread the word far and wide. This year's hash tag is #KDEsprints, if you like that sort of thing - let's try and get this thing trending! I like aiming for the stars, won't you join me? :D

Donate to the KDE Sprints 2015 fundraising campaign

The word of the day is: Donations (because we need them!)

Labels: , ,

Friday, November 21, 2014

Only Tangentially Related To The Stars

It's a scary moment, that time when you reach the conclusion of something which has taken up a considerable chunk of your life for months. Not a bad kind of scary, really, more a sort of exciting, i-wonder-what-others-think kind of scary. For me, this is a moment i've reached now that Calligra Gemini has been merged into the master branch of Calligra, and is scheduled to be shipped with Calligra 2.9. Another reason it's scary is that, given this is sort of my baby, and have found it's something i use actively pretty much every day now, i am now also the official maintainer of that application, which is kind of a new thing for me. If you're wondering what this whole thing is about, there's a rundown of the news over on the Dot.

At the beginning of this project it was a fairly straight forward thing for me, very similar to the Krita Gemini project in which i was sort of a code monkey, with some marketing thrown in for good measure (i produced the videos used to show off Krita Gemini for the Steam Greenlight campaign, which culminated in Krita Gemini being, to our knowledge, the first piece of free/libre software launched on the platform). I had a manager, who did the majority of the liaising with our customer, Intel, and i provided technical commentary and timelining for the features which were suggested for the application.

As the project progressed, however, the manager in charge of the project ended up taking long term ill (the background story for which is all long and sad and not really relevant here), which essentially landed me with his responsibilities as well. This is not to say it was a bad thing, really - the illness obviously was, but me ending up with those responsibilities wasn't. It meant that i became the client liaison, and the person responsible for packaging Calligra Gemini for Windows, using the same WiX based system created by Stuart Dickson and used for Krita Gemini, and for generally just keeping the project running. In short, everything to do with it bar billing the customer for the work. This was also the time during which i decided we needed to tell more people about the project, and so came the idea to OBS our way to that, and produce some packages for openSuse at least - since, well, that is what i've packaged for in the past, and OBS is just so pleasant to work with that it'd be silly not to.

And now, we stand at the point of concluding the project itself. Not completing, not finishing by a long way, this really is just the start of the journey for Calligra Gemini, and but a small step on the journey of the whole Gemini thing. Really, what Gemini is is just an interpretation of the responsive design concept, which describes how your application should fit the device you're on. What we're doing here is implementing, in the real world, applications which don't simply look and feel right, but which will adapt at runtime to changing device conditions.

Where do we go from here?

This is what my interpretation of responsive design is. Not something which looks sort of ok everywhere, but something which adapts the entire experience to give you the options which make sense where you are. For Calligra Gemini that means the three-tiered approach of Create (desktop and laptops), Edit (all touch) and View (minimally interactive devices like televisions and other infotainment style devices), or indeed any of these when the user specifically requests it.

As the world fills with all sorts of strange device form factors, we have to be able to work well on them. Laptops and desktops, phones, tablets, televisions, cars, airplanes, even fridges and all sorts of other places. Another piece of software created by KDE which takes this head on is Plasma. The people behind it have, since some time now, been working on creating a variety of frontends for it which scale to various form factors, and a chat with one developer there a short while ago made me think that well, it would be brilliant to see that adaptability happen at runtime, the way Krita and Calligra Gemini do it.

What he could tell me was that, technically speaking, it was possible to do it, but that the code path had been untested and such. This is something nobody else has done. Other shells have tried to create one thing which fits everything (calling it convergence), where KDE has realised, as a community, that the way forward is to adapt to each, not to work with the assumption that a single size fits everybody.

So, what stars is it this is tangentially related to? Easy, the ones we're shooting for ;)

The word of the day is: writing
(as in, in bed, the way i do the majority of it ;) )

Labels: , ,

Sunday, October 19, 2014

Calligra Gemini - now also for Linux :)

Some people may remember earlier this year when Krita Gemini became (to my knowledge) the first open source software to become greenlit on Steam. For those who don't, yeah, that really happened ;) Krita Gemini was a project created in cooperation between the KDE community's Calligra team, the little software consultancy KO GmbH, and a large semiconductor manufacturer named Intel, who had some devices they needed to be able to show off. Krita Gemini is available on the Steam store, though not yet for Linux (as it turns out, Steam packaging for Linux is even more awkward than building stand-alone installers for Windows, an odd sort of situation for us used to sensible package managers)

Earlier this year (late April 2014) the team from KO and Calligra which built Krita Gemini had a teleconference with the Intel team, and we agreed that other applications would be well suited to a similar attention, and we came up with the idea of building Calligra Gemini, an application which would encapsulate Words and Stage, Calligra's word processor and presentation tool respectively, in the same way that Krita Gemini encapsulates Krita, with automatic switching between the existing desktop UX and a new touch friendly UX created for the purpose. Over the last little while, i've been posting builds on the project minisite (along with release notes and screenshots and such).

So now, with the initial work on that project reaching its conclusion, i decided that it was time to expose a few more people to it than what's been the case so far. So, over the course of this weekend, between making some tasty bread, cleaning and cooking dinner, i have been working on some packages for people who don't run Windows. Specifically, i have made a set of packages for openSUSE (just 13.1, in various guises, for now - others will follow), and they're available right here (and also shown on the project's minisite linked above)

Finally, i also released a short story i've been writing over the last couple of weeks (while waiting on the editors to get back to me on the novel i've also been working on). This is relevant here because i have been dogfooding; it was written entirely using Calligra Gemini, and the pdf and ePub versions were produced using the Calligra features as well. Finally, the work is stored in a git repository, which is also controlled by Calligra Gemini's support for using Git as cloud storage. The story is available as pdf and ePub on my deviantArt page :)

The word of the day is: Geiko

Labels: , ,