Profile

Scrapbook photo 1
Magnus Reftel
Works at ST Ericsson
Attended Gothenburg University
Lives in Grimstad
38 followers|13,186 views
AboutPostsPhotosVideos

Stream

Magnus Reftel

Discussion  - 
 
Here's a little idea for a feature I was discussing with +Fredrik Luthander earlier, that I thought I'd bring up to see whether there are others who agree with it =)

Wouldn't it be nice if we (and by "we", I mean Jenkins or similar) could upload coverage measurement files (e.g. .gcda/.gcno for gcov) so that the code view could highlight lines that have been modified in a change, but are not exercised by any automated tests? That way, the reviewers know what lines to be extra suspicious of. Not sure how the highlighting could be done, though, as both foreground and background colours are kind of taken. Italics? :-)
3
Magnus Reftel's profile photoFredrik Luthander's profile photofrank stockmans's profile photoRobert Sandell's profile photo
9 comments
 
I am working on it, there is a pull request up on github that just needs a bit more massage.
Add a comment...

Magnus Reftel

Shared publicly  - 
 
Seriously cool stuff. Marius Eriksen at Twitter describes how they're switching to Scala. Who said functional programming isn't used in the real world?
2
1
Joakim Olsson's profile photo
Add a comment...

Magnus Reftel

Shared publicly  - 
 
LLVM is, among many other things, a reusable compiler backend implemented as a library. In this post, I'll show how the llvmpy Python bindings can be used to write an optimising cross-compiler in a fe...
2
Johan Maasing's profile photo
 
As you said: if that doesn't zoom nothing does :)
Add a comment...

Magnus Reftel

Shared publicly  - 
2
Per Claesson's profile photo
 
+1 for functional fun.
Add a comment...

Magnus Reftel

Shared publicly  - 
 
So which code hosting service should one use for a tiny (100 lines) project? Source browsing is a must (linking to that is the main purpose of putting it there), as is Git and/or Bazaar uploading.
1
Johan Maasing's profile photoMagnus Reftel's profile photoEren Inan Canpolat's profile photo
5 comments
 
Looking forward to see the goto-checker in action :)
Add a comment...

Magnus Reftel

Shared publicly  - 
 
Distributed bug tracking. Yes, please!
6
Add a comment...
Have him in circles
38 people
Johan Maasing's profile photo
Kim Tommy Humborstad's profile photo
David Myllykangas's profile photo
Tina Harriott's profile photo
Erik Ahlström's profile photo
Vidar Lilleheim's profile photo
Daniel Jansson's profile photo
Markus Öhrn's profile photo
Mjukis Lundin's profile photo

Magnus Reftel

Shared publicly  - 
 
So, Poul-Henning Kamp, tell us how you really feel about the HTTP/2.0 draft.
Varnish¶. Presently Varnish[2] only implements a subset of HTTP/1.1 consistent with its hybrid/dual "http-server" / "http-proxy" role. I cannot at this point say much about what Varnish will or will n...
1
Add a comment...

Magnus Reftel

Shared publicly  - 
 
In C, it's customary to design your code around Abstract Data Types, that is, modules that consist of a header file that declares the external interface of the module (consisting of an opaque stru...
4
1
Johan Maasing's profile photo
Add a comment...

Magnus Reftel

Shared publicly  - 
 
#define COLOURS COLOUR(red) COLOUR(green) COLOUR(blue)

enum colour {
#define COLOUR(x) Colour_##x,
COLOURS
#undef COLOUR
};
enum colour get_colour_by_name(const char* name)
{
#define COLOUR(x) if (strcmp(name, #x)==0) return Colour_##x;
COLOURS
#undef COLOUR
return -1;
}

#macromonday  
1
Add a comment...

Magnus Reftel

Shared publicly  - 
 
Interesting little document about how SQLite is tested. Well worth a read just to awe at what they have achieved. And here I was feeling good about reaching 100% branch coverage...
Also interesting is their conclusions on static code analysis. It's usually said that static and dynamic testing complement each other, but I guess that if you've done your dynamic testing so thoroughly that you have no bugs left, then all that static tools can do is to find false positives.
How SQLite Is Tested. 1.0 Introduction. The reliability and robustness of SQLite is achieved in part by thorough and careful testing. As of version 3.7.14, the SQLite library consists of approximately...
1
Add a comment...

Magnus Reftel

Shared publicly  - 
 
The new Clang tooling infrastructure most definitely zooms! Read all about it, and as an added bonus find out the correct use of goto!
One of the cool new features of the upcoming Clang release is the tooling infrastructure. This Clang tooling infrastructure provides an easy way of writing style checkers, source-to-source rewriters, ...
1
1
Johan Maasing's profile photo
Add a comment...

Magnus Reftel

Shared publicly  - 
 
I'm giving this a try. What about you?
1
Fredrik Luthander's profile photoJohan Maasing's profile photoEren Inan Canpolat's profile photo
3 comments
 
Not exactly my cup of tea. I'll try to translate 7 chapters of the ProGit book into Turkish instead :)
Add a comment...
People
Have him in circles
38 people
Johan Maasing's profile photo
Kim Tommy Humborstad's profile photo
David Myllykangas's profile photo
Tina Harriott's profile photo
Erik Ahlström's profile photo
Vidar Lilleheim's profile photo
Daniel Jansson's profile photo
Markus Öhrn's profile photo
Mjukis Lundin's profile photo
Education
  • Gothenburg University
    Computing Science
Basic Information
Gender
Male
Work
Occupation
Programmer
Employment
  • ST Ericsson
    Senior Software Designer, 2012 - present
  • DevoTeam
    Senior Consultant, 2010 - 2011
  • PeelIT
    Programmer, 2008 - 2009
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Grimstad
Previously
Göteborg