Profile

Scrapbook photo 1
Magnus Reftel
Works at ST Ericsson
Attended Gothenburg University
Lives in Grimstad
37 followers|9,751 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
Robert Sandell's profile photoMagnus Reftel's profile photoPeter Jönsson's profile photoFredrik Luthander'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
Add a comment...

Magnus Reftel

Shared publicly  - 
2
Johan Maasing's profile photo
 
As you said: if that doesn't zoom nothing does :)
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.
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!
1
1
Add a comment...

Magnus Reftel

Shared publicly  - 
 
I'm giving this a try. What about you?
1
Eren Inan Canpolat's profile photoJohan Maasing's profile photoFredrik Luthander'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...
Have him in circles
37 people
Peter Svensson's profile photo
Aryan Raj's profile photo
Johan Arvidsson's profile photo
David Myllykangas's profile photo
Markus Öhrn's profile photo
Roberto Alsina's profile photo

Magnus Reftel

Shared publicly  - 
 
So, Poul-Henning Kamp, tell us how you really feel about the HTTP/2.0 draft.
1
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  - 
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
Eren Inan Canpolat's profile photoMagnus Reftel's profile photoJohan Maasing'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...
People
Have him in circles
37 people
Peter Svensson's profile photo
Aryan Raj's profile photo
Johan Arvidsson's profile photo
David Myllykangas's profile photo
Markus Öhrn's profile photo
Roberto Alsina'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