Profile

Cover photo
Mathias Magnusson
Works at Miracle Sweden
Attended Stockholm University
Lives in Stockholm, Sweden
303 followers|18,356 views
AboutPostsPhotosVideos

Stream

Mathias Magnusson

Shared publicly  - 
 
 
Spotted on the wall of a law office today.
11 comments on original post
2
Add a comment...
 
Sharing  in case anyone in my circles can help Ove identify the birds on this Rock.
 
Can anyone identify these birds, doesn't look like pelicans to me so I'm stumped for the moment... (Malibu, CA)
1 comment on original post
1
Jared Still's profile photo
2 comments
 
Or is it 'auks' ?
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
If you are looking for a replacement for Google Reader or the Reeder app, you owe it to yourself to take a look at using Flipboard as your blog reader. 
So calling Google Reader dead may be a bit premature, but Googles announcement of their intention to kill their baby all but killed it. On monday it is RIP for the reader. I've gone through disbeli...
1
Niclas Lindva's profile photo
 
I installed Tiny Tiny RSS on a virtual server, works really well - at least through the webbrowser. 
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
The last (number 5) in the serie of how we improved moving and managing large volumes of data.
Wrap-up This is the last post in this series and I'll not introduce anything new here, but rather just summarise the changes explained and talk a bit about the value the solution delivers to the or...
1
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
Linus shows how to be lazy, but he may have misunderstood the concept.
 
So here's the random trick of the day: say you decided to finally upgrade your monitor due to a random discussion on G+, but it turns out that you haven't upgraded your desktop in a while, so you're stuck with single-link DVI.

And the fancy new monitor is a 2560x1440 one that requires dual-link DVI to drive it, so says the documentation in big letters. What do?

Of course, you could just try to find a HDMI cable, since I suspect the machine is still new enough that it happily does HDMI at pixel frequencies high enough that it would all work fine. But you're a lazy git, and you can't find a cable anywhere. And by "anywhere" I mean "lying right there on my desk, not under a pile of paper".

So rather than waste your time with trying to find hardware you may or may not have, just say "hey, I'm not playing games anyway, so why not just drive that thing with a single DVI link at 30Hz instead of the 60Hz it wants. It's going to buffer the data somewhere to see if it needs to stretch it anyway". 

And if you are that kind of lazy git, here's what you do:

Step 1: calculate the VESA timing modes for 2560x1440 at 30Hz. You could do this by hand if you were a real man, but we already covered the whole "lazy git" part. So use the "gtf" tool (no, that's not random noise, it means "Generalized Timing Formula", it's part of the VESA standard for how the pixel signal timings are supposed to look like)

Running "gtf 2560 1440 30" spits out the following lovely turd, bringing back bad memories of X11 config files. There's a reason we don't do them any more, but people still remember it, and get occasional flashbacks and PSTD:

  # 2560x1440 @ 30.00 Hz (GTF) hsync: 43.95 kHz; pclk: 146.27 MHz
  Modeline "2560x1440_30.00"  146.27  2560 2680 2944 3328  1440 1441 1444 1465  -HSync +Vsync

Yeah, G+ will completely corrupt the formatting of those two lines, but for once it doesn't really matter. It looks like noise regardless of formatting. It's not meant for human consumption.

Step 2: tell 'xrandr' about this mode by just copying-and-pasting the numbers that gtf spit out after incanting the magic words "xrandr --newmode 2560x1440". So the command line looks something like 

   xrandr --newmode 2560x1440 146.27 2560 2680 ...

which will quietly seem to do absolutely nothing, but will have told xrandr that there's a new mode with those particular timings available.

Step 3: tie that mode to the list of modes that the HDMI1 output (which is what is connected to the DVI output, which you would have figured out by just running "xrandr" without any arguments what-so-ever) knows about:

xrandr --addmode HDMI1 2560x1440

Again, absolutely nothing appears to happen, but under the hood this has prepared us to say "yes, I really mean that". Lovely.

Step 4: actually switch to it. This is where the monitor either goes black, spectacularly blows up, or starts showing all its pixels the way it is supposed to:

xrandr --output HDMI1 --mode 2560x1440

Ta-daa! Wasn't that easy? Never mind what the manual says how you should use this monitor, we have the technology to do better than that. Or, in this case, worse than that, but whatever.

Now, obviously any sane person would ask himself why the GTF calculations aren't something that 'xrandr' just knows about, and why this isn't just a single command to say "please switch that output to 2560x1440@30". Why all the extra steps?

The answer to that question? I have absolutely no idea. Graphics driver people are an odd bunch. 
294 comments on original post
1
Add a comment...
Have him in circles
303 people
Lao Buda's profile photo
Johan Plogfeldt's profile photo
Scott Wesley's profile photo
Jonas Almkvist's profile photo
ʞɐıuzoʍ ǝʌǝʇs's profile photo
Christian Rudh's profile photo
Bartosz Sokolinski's profile photo
Rajiv Ryan's profile photo
Rein Toompuu's profile photo

Mathias Magnusson

Shared publicly  - 
 
Very impressive.
1
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
My thoughts exactly.
 
Sorry Facebook, but the more I use Google+ the less interesting you seem. I think it's time to break it off. It's not me, it's you. 

Happy second birthday G+! You've truly come of age!
205 comments on original post
1
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
Published the first in a serie if blog posts about how we resolved a problem with moving data between operational and historic tables in an EXADATA-environment today. The solutions used are for the most part not EXADATA specific.
1
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
Are you using views, procedures and records in Oracle APEX? If not, you should. It lets you isolate changes on the database side from the application. Take a look at this series of blog posts to learn how to do it,
In this post I'll finish up the CRUD implementation using records, procedures and views. This series of blog posts started with this post which was followed by this. At this point we have a working......
1
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
 
2 Women chatting in office.. 

Woman 1:" I had a fine evening, how was
yours.. ??
.
Woman 2:" It was a disaster.. My husband came
home, ate his dinner in 3 minutes and fell a sleep..
How was yours.. ?? .

Woman 1:" Oh it was amazing! My husband came
home and took me out for a romantic dinner.. After
dinner we walked for an hour.. When we came
home he lit the candles around the house..It was
like a fairy tale! .

At the same time, their husbands are talking at
work.. 

Husband 1:" How was your evening.. ??
.
Husband 2:" Great.. I came home, dinner was on
the table, I ate and fell asleep.
What about you ??

Husband 1:" It was horrible. I came home, there's
no dinner, they cut the electricity because I forgot
topay the bill; so I took her outfor dinner which
was so expensive that i didn't had money left for a
cab. 
We walked home which took an hour and when
we got home i remembered there was no
electricity so I had to light candles all over the
house!! 

Moral:" Presentation does matter.. No matter what
the reality is..
469 comments on original post
4
Add a comment...

Mathias Magnusson

Shared publicly  - 
 
No love for the Google doodle? I just love it. FIrst thing I love is that they celebrate Frank Zamboni or rather the Zamboni. What makes it so cool is that it is a little cartoon AND a "game" you can play controlling a cartoonish Zamboni.

Go and look at it NOW.
3
Add a comment...
People
Have him in circles
303 people
Lao Buda's profile photo
Johan Plogfeldt's profile photo
Scott Wesley's profile photo
Jonas Almkvist's profile photo
ʞɐıuzoʍ ǝʌǝʇs's profile photo
Christian Rudh's profile photo
Bartosz Sokolinski's profile photo
Rajiv Ryan's profile photo
Rein Toompuu's profile photo
Work
Occupation
Implements Oracle solutions based around the Oracle database. Focusing on Oracle APEX for development and plans to get into EXADATA, preferably with an APEX development project. Large to extreme volumes is what makes me tick.
Employment
  • Miracle Sweden
    Chefskonsult - Executive Consultant, 2013 - present
  • Kentor AB
    Executive Consultant, 2009 - 2013
  • British Petroleum
    Programmer, 1987 - 1991
  • Apiron
    Systems Developer, 1991 - 1995
  • American Management Systems
    Principal, 1995 - 1998
  • Ciber
    Database Engineer, 1998 - 2000
  • American Management Systems
    Principal, 2000 - 2004
  • CGI Group
    Executive Director, 2004 - 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
Stockholm, Sweden
Previously
Stockholm, sweden - Kristianstad, Sweden - åkersberga, sweden - Denver, USA - Hague, netherlands - Frankfurt, germany
Story
Tagline
In constant search for disruptive technologies.
Introduction
IT geek specializing on Oracle database and development. Fanatic about Apple products and other companies fanatical about their designs.
Bragging rights
Survived 10 years in the US and moving back to Sweden after having become more American than Swede.
Education
  • Stockholm University
    Computer Science, 1986 - 1987
Basic Information
Gender
Male
Looking for
Friends, Networking
Relationship
Married
Other names
Matti, Mad Dog