Profile

Cover photo
Johan Andersson
Works at Subset AB
Attended Uppsala University
Lives in Uppsala
26 followers|249,590 views
AboutPostsReviews

Stream

Johan Andersson

commented on a video on YouTube.
Shared publicly  - 
 
"Having continuity is more important than having accurate time". That's the kind of thinking that led to Sweden having 30 days in February in 1712.

Johan Andersson

Shared publicly  - 
 
Unmenschlich.
1
Add a comment...

Johan Andersson

Discussion  - 
 
Afraid to pull? Try the git up alias.
 
Instead of git pull, I recommend creating and using the following git up alias:

git config --global alias.up '!git remote update -p; git merge --ff-only @{u}'

This alias downloads all of the latest commits from all upstream branches (pruning the dead branches) and tries to fast-forward the local branch to the latest commit on the upstream branch. If successful, then there were no local commits, so there was no risk of merge conflict. The fast-forward will fail if there are local (unpushed) commits, giving you an opportunity to review the upstream commits before taking action.

This still modifies your working directory in unpredictable ways, but only if you don't have any local changes. Unlike git pull, git up will never drop you to a prompt expecting you to fix a merge conflict.

Another Option: git pull --ff-only --all -p

The following is an alternative to the above git up alias:

git config --global alias.up 'pull --ff-only --all -p'

This version of git up has the same behavior as the previous git up alias, except:

the error message is a bit more cryptic if your local branch isn't configured with an upstream branch
it relies on an undocumented feature (the -p argument, which is passed to fetch) that may change in future versions of Git
10
4
Roman Frołow's profile photo
 
is 'remote update -p' equivalent of 'fetch --all -p'?
Add a comment...

Johan Andersson

Shared publicly  - 
 
I love the experience, perspective and enthusiasm of Virding and Armstrong.
 
Bad audio, great content. Basically an insight into the basic concepts behind Erlang: Where it is coming from, what it is today and where it is going to wrapped in a light discussion.
1
Add a comment...

Johan Andersson

Shared publicly  - 
 
Unicode is fun!
 
Most string types are wrongly handling unicode compose characters
·
Here is a great blog article pointing out various common issues with Unicode handling, open your favorite text editor and test for yourself. E.g. advancing across "noël" in Gedit counts 5 characters instead of the expected 4.
1
Add a comment...

Johan Andersson

Shared publicly  - 
1
Add a comment...

Johan Andersson

Shared publicly  - 
 
Lego data.
The price of a brick. "What happened with Legos? They used to be simple. Oh come on, I know you know what I’m talking about. Legos were simple. Something happened out here while I was inside. Harry...
1
Add a comment...

Johan Andersson

Shared publicly  - 
 
Well put.
 
People keep asking me why I don't wear a helmet while biking. Science says it doesn't make sense.
1
Add a comment...

Johan Andersson

commented on a video on YouTube.
Shared publicly  - 
 
Storupp!

Johan Andersson

Shared publicly  - 
 
 
Cycling makes us happier by bettering our lives in many surprising ways, including making sleeping easier and eliminating stress chemicals in the brain
1
Christer Boedeker's profile photo
 
Tvärt emot intuitionen blir man inte mindre vaken av att cykla? Hmmm... mystisk intuition
 ·  Translate
Add a comment...

Johan Andersson

Shared publicly  - 
 
I like histories like this. It's hard to imagine "that it was a widely held opinion at the time that 'lexical scope is interesting, theoretically, but it's inefficient to implement; dynamic scope is the fast choice.'"
(T was one of the best Lisp implementations, and set a standard for clean design that few newer dialects have been able to meet. Here Olin Shivers recounts T's history.) Around 1981-1982, the Yale CS dept., which had a strong AI group led by Roger Schank, hired undergraduate Jonathan Rees to ...
1
Add a comment...

Johan Andersson

Shared publicly  - 
 
Pascal's wager for audiophiles!
 
Please, please, please stop 'burning in' your earphones. It's a bunch of hokum.

http://wrd.cm/17cicLn
1
Add a comment...
Work
Employment
  • Subset AB
    Software Developer, 2015 - present
  • VPD Financial Software Consulting
    Financial Software Consultant, 2006 - 2015
  • European Game & Entertainment Technology
    Software Developer, 2004 - 2005
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Uppsala
Links
Other profiles
Story
Tagline
The quiet mind.
Introduction
My interests include Programming, .NET, Common Lisp, Finance, Economics, Startups, Entrepreneurship, Food, Wine, Beer, Bicycles, City planning, Traffic, Architecture.
Education
  • Uppsala University
    Information Systems, 1998 - 2003
Basic Information
Gender
Male
Alltid god sushi! Moriawase är utsökt och prisvärd.
Public - 5 months ago
reviewed 5 months ago
No table service, cold fries, mediocre burger, inexperienced staff. Not worth the price. The location is the only plus. Max next door has better value for your money.
Public - 6 months ago
reviewed 6 months ago
2 reviews
Map
Map
Map