Profile

Cover photo
Robert Knight
Works at Mendeley Ltd
Lives in United Kingdom
77 followers|29,111 views
AboutPostsPhotosVideosReviews

Stream

Robert Knight

Shared publicly  - 
 
 
Here's a plea to all software developers: please write WHY a change is being done in your commit message, even if you think it's obvious. Don't write what is being done: that's what a changelog is for and we can read diffs.

In this particular case: the commit message says
  trivial: remove nm-ip6-manager

Why? What handles RTNLGRP_ND_USEROPT now?
author, Pavel Šimerda , 2013-07-09 09:30:12 (GMT). committer, Pavel Šimerda , 2013-07-20 15:08:01 (GMT). commit, 9ef294f0072745ed4df70c5ac5f1d4daa9916f9c (patch) (side-by-side diff). tree, 167b49837467cd03a34213bfd72c91e2889f6e31 ...
11 comments on original post
1
Add a comment...

Robert Knight

Shared publicly  - 
 
Know C++/Qt? Interested in a job working on a cross-platform desktop app used by hundreds of thousands of students, scientists and researchers across the globe?

Mendeley in London is hiring! - http://qt-project.org/forums/viewthread/34720/

If you've got experience with recent developments in the world of Qt and some experience with other UI frameworks (Cocoa, WPF, Android etc.) that's interesting as well.

#mendeley #qt   #cpp  
Forum, Wiki, FAQ, Groups - the official Qt community site. Here you can get started with Qt, read tutorials, find solutions to your challenges and get up to date on the latest developments.
1
Add a comment...

Robert Knight

Shared publicly  - 
 
Improving build times of large Qt apps
My colleagues and I spent time recently improving build times of a largish Qt app ( Mendeley ) and its associated test suite. I'm sharing some notes here in case anyone else finds them useful. Most of the steps here fall under one of a few basic ideas: Meas...
My colleagues and I spent time recently improving build times of a largish Qt app (Mendeley) and its associated test suite. I'm sharing some notes here in case anyone else finds them useful. Most of the steps here fall under ...
2
Add a comment...

Robert Knight

Shared publicly  - 
 
A new version of the qt-signal-tools library for connecting signals to arbitrary functions or specifying some of the arguments to the slot at connection-time is available.  This release adds compatibility with earlier versions of Qt 4, Qt 5 and performance improvements.
A new version of the qt-signal-tools library for connecting signals to arbitrary functions is available. Changes in this release: Compatibility with earlier versions of Qt 4.  The previous release required Qt 4.8.  The curre...
2
Add a comment...

Robert Knight

Shared publicly  - 
 
In case you ever have to help with patent defense, ignore what you saw on Slashdot last week and read Andrew Tridgell's talk on the subject first: http://endsoftpatents.org/2010/03/transcript-tridgell-patents/

It contains clear advice on how to find the part of a patent which actually matters amongst the boilerplate, how to understand it as a programmer, how to communicate with lawyers and how to make life difficult for the patent holder.
1
Add a comment...

Robert Knight

Shared publicly  - 
 
I had a suspicion that compile times increased perceptibly when enabling -std=c++11 with gcc.  For a tiny C++ file containing just a few common STL headers (iostream, vector, map, string), the total size of the pre-processed source code increased from 22K to 30K lines when enabling the -std=c++11 flag.  Adding the <algorithm> and <functional> headers increased this to 28K vs 50K respectively.  Unsurprisingly, this adds several hundred ms to the compile time for a single compilation unit - assuming precompiled headers are not in use.

Roll on the death of textual includes.
1
Add a comment...
Have him in circles
77 people
Kubilay Tsil Kara's profile photo
Rosario García de Zúñiga's profile photo
Mathieu Triay's profile photo
Juliet Rowley's profile photo
see wah cheng's profile photo
zhong sheng Lee's profile photo
Peter Schmidt's profile photo
Roderic D. M. Page's profile photo
Angelina Ward's profile photo

Robert Knight

Shared publicly  - 
 
Understanding the QWidget layout flow
When layouts in a UI are not behaving as expected or performance is poor, it can be helpful to have a mental model of the layout process in order to know where to start debugging.  For web browsers there are some  good resources which provide a description ...
When layouts in a UI are not behaving as expected or performance is poor, it can be helpful to have a mental model of the layout process in order to know where to start debugging.  For web browsers there are some good resourc...
2
4
Sven Bergner's profile photoArmin Brrs's profile photo
Add a comment...

Robert Knight

Shared publicly  - 
 
Took some time today to unbitrot Qt Inspector, a little tool for inspecting/live editing the object tree of Qt apps which might be useful if you need to debug layout issues.

I replaced the debugger injection with a simpler library preloading approach, so it now works on OS X 10.9 with the current version of Xcode and should be more reliable on Linux. Looked into Windows support but, shockingly, it looks like the solution requires something more elaborate - http://en.wikipedia.org/wiki/DLL_injection

Also added regexp support in property list filter and facility to refresh property views.

https://github.com/robertknight/Qt-Inspector

Of course, check out KDAB's GammaRay tool first - it provides a lot of additional functionality beyond what Qt Inspector has: https://github.com/KDAB/GammaRay
3
Add a comment...

Robert Knight

Shared publicly  - 
 
 
Mendeley Desktop 1.10 has been released. Journal abbreviations, one of the most requested features has been implemented. Mendeley will now automatically abbreviate publication titles according to the rules of the style. Other great improvement is related research, it gives you instant recommendations based on specific articles and drill-down into recommendations. Try it now!
The next release of Mendeley Desktop is here. You can update from within the app via Help → Check for Updates or download it here. Mendeley Desktop 1.10
9 comments on original post
1
Add a comment...

Robert Knight

Shared publicly  - 
 
Investigating options for cutting down build times with clang and a medium-sized (~200K SLOC) Qt app.  On a mid-range quad-core system, use of precompiled headers saved ~30%, use of -gline-tables-only to generate line-number only debug info saved another ~30%. http://clang.llvm.org/docs/UsersManual.html#controlling-size-of-debug-information  .  The latter reduces the sizes of debug binaries considerably which saves a lot of I/O later on in the pipeline.
Introduction¶. The Clang Compiler is an open-source compiler for the C family of programming languages, aiming to be the best in class implementation of these languages. Clang builds on the LLVM optimizer and code generator, allowing it to provide high-quality optimization and code generation ...
2
7
Tsung-Han Lin's profile photoWang Will's profile photo
Add a comment...

Robert Knight

Shared publicly  - 
 
A library for connecting QObject signals or events to arbitrary functions and passing additional context to slots in Qt 4: http://kdemonkey.blogspot.co.uk/2013/02/qt-signal-tools-pre-packaged-slot-calls.html .  Only dependencies are Qt 4.8 and a not-too-ancient (MSVC >= 2010, GCC 4.x) compiler.

If you're using Qt 5, you get this out of the box already - http://qt-project.org/wiki/New_Signal_Slot_Syntax
A useful new feature in Qt 5 is the ability to connect signals to arbitrary functions instead of just Qt signals/slots/properties, including C++11 lambdas. As this page on the Qt Project wiki explain...
1
3
Marcelo Martinovic's profile photoAlexander Strebkov's profile photo
Add a comment...

Robert Knight

Shared publicly  - 
 
Calibrated my ThinkPad T520 screen with a ColorHug (http://www.hughski.com/).  The difference is quite dramatic, with a more saturated look compared to the washed-out appearance when I first set up the system (on Ubuntu 12.04).

The new color management UI in Gnome and the user documentation that comes with it is nice as well.

In retrospect, I should still have invested in a higher-spec display when I brought my laptop though.
1
Add a comment...
People
Have him in circles
77 people
Kubilay Tsil Kara's profile photo
Rosario García de Zúñiga's profile photo
Mathieu Triay's profile photo
Juliet Rowley's profile photo
see wah cheng's profile photo
zhong sheng Lee's profile photo
Peter Schmidt's profile photo
Roderic D. M. Page's profile photo
Angelina Ward's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
United Kingdom
Contact Information
Home
Email
Work
Email
Work
Occupation
Software Engineer
Employment
  • Mendeley Ltd
    Software Engineer, present
Basic Information
Gender
Male
Links
Other profiles
Contributor to
Received very helpful treatment and advice for a quad injury. Good value and would recommend.
Public - a month ago
reviewed a month ago
1 review
Map
Map
Map