Profile

Cover photo
Henrik Danielsson
Works at Volvo
Attended School Of Future Entertainment, Karlshamn
Lives in Tibro
129 followers|177,427 views
AboutPostsPhotosVideos+1'sReviews

Stream

Henrik Danielsson

Shared publicly  - 
 
So glad I backed this!
#kickstarter   #kungfury   #hasselhoff  
4
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
<3
 
Unreal Engine Is Now Free, Including Access To The Source Code http://buff.ly/1DwRxoD #Linux #Gaming
Today became a pretty good day to be a developer! Unreal Engine has dropped the monthly subscription, so anyone can jump in and tinker!
14 comments on original post
3
Add a comment...
 
 
Found a useful hack for my Pebble today!

I'm using Pebble Canvas to create custom watchfaces on my phone, but showing images only when charging has been a problem for a few reasons:

1) Image layers can't be set to have a dynamic size (can't be shrunk to nothingness based on some dynamic value).

2) The "Watch Battery Plugged In" status is "0" when not charging and "1" when charging, making it difficult to use a second dynamically sized layer to cover up the image when not charging (the needed logic is reversed).

3) The string evaluated to get the resize value must be in the form of a fraction ("x/y") once tokens have been replaced, and no math expressions or conditionals can be used.

But, the hack I found today works around these issues!

Set an image layer to always display, but have it normally covered up by another Time/Date/Pebble status layer with no contents and a non-transparent background. I call this extra layer the "blinder".

Then set the blinder to be dynamically sized in some direction and using the format "1/%o01". That is the letter o (Watch Battery Plugged In) followed by a zero and a one.

This string parsing hack toggles the size between "1/001" and "1/101", effectively hiding or showing the blinder layer or the image below.


One curious thing is that if you instead set the format to "1/%o00" (a zero instead of a one at the end), the blinder layer will disappear when plugging the Pebble in, but it won't reappear when unplugging it. Switching watchfaces brings shows the blinder again.
This could be a division of zero issue which for some reason isn't triggered on the initial parsing of the format.

This also works with "%O" (Watch Battery Charging) instead of "%o" (Watch Battery Plugged In). Once the watch has reached 100% and stayed there for a little while, the image will be hidden again.

#Pebble   #PebbleCanvas  
1
Yuriy Galanter's profile photoHenrik Danielsson's profile photoTim Mayville's profile photo
3 comments
 
I have used something similar for quite some time to "hide" my SMS and missed call notification icons. Then when one comes in, it "unhides" them. I create a text box that is blank, with a black background, and set it to dynamic to have it cover the icon, which is actually part of my whole-watch background image to cut down on number of elements. Then I use this formula for the dynamic sizing to uncover when there is a SMS (or missed call for that notification, though formula is slightly different of course because it uses the MC variable):
{100#%S=0#0}/100
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
Found a useful hack for my Pebble today!

I'm using Pebble Canvas to create custom watchfaces on my phone, but showing images only when charging has been a problem for a few reasons:

1) Image layers can't be set to have a dynamic size (can't be shrunk to nothingness based on some dynamic value).

2) The "Watch Battery Plugged In" status is "0" when not charging and "1" when charging, making it difficult to use a second dynamically sized layer to cover up the image when not charging (the needed logic is reversed).

3) The string evaluated to get the resize value must be in the form of a fraction ("x/y") once tokens have been replaced, and no math expressions or conditionals can be used.

But, the hack I found today works around these issues!

Set an image layer to always display, but have it normally covered up by another Time/Date/Pebble status layer with no contents and a non-transparent background. I call this extra layer the "blinder".

Then set the blinder to be dynamically sized in some direction and using the format "1/%o01". That is the letter o (Watch Battery Plugged In) followed by a zero and a one.

This string parsing hack toggles the size between "1/001" and "1/101", effectively hiding or showing the blinder layer or the image below.


One curious thing is that if you instead set the format to "1/%o00" (a zero instead of a one at the end), the blinder layer will disappear when plugging the Pebble in, but it won't reappear when unplugging it. Switching watchfaces brings shows the blinder again.
This could be a division of zero issue which for some reason isn't triggered on the initial parsing of the format.

This also works with "%O" (Watch Battery Charging) instead of "%o" (Watch Battery Plugged In). Once the watch has reached 100% and stayed there for a little while, the image will be hidden again.

#Pebble   #PebbleCanvas  
1
1
Henrik Danielsson's profile photo
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
Holy crap!
Watch until the end to know how a machine wins at Tetris!


Note, I didn't say "plays Tetris", just wins at it. ;)
1
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
Best. Unboxing. Ever.
 
I got a new tuber! Let's see how this potato compares to the +LG Mobile Global G2! 
I just got a brand new tuber! Let's go hands on with an unboxing and then see how it stacks up against the LG G2! Get ready for .5 kilograms of starch yo!
1
Add a comment...
Have him in circles
129 people
Fusion Project's profile photo
Erik Andersson's profile photo
Andrey Papsha's profile photo
Daniel Kudwien's profile photo
Meryl Danielle's profile photo
Charnelle Nimy's profile photo
Rob Brown's profile photo
deaDleSs balLoon's profile photo
Patrik Andersson's profile photo

Henrik Danielsson

Shared publicly  - 
 
Nice use of a wiki for storing solved programming tasks:
http://rosettacode.org/wiki/Rosetta_Code
Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible, to demonstrate how languages are similar and different, and to aid a person with a grounding in one approach to a problem in learning another.
1
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
Some perspective on things: http://math.ucr.edu/home/baez/timeline.html
A Brief History of the Universe. John Baez. August 28, 2012. Note: all figures here are approximate! I have left out lots of exciting incidents in the history of the universe, but it's still fairly interesting. You can see three views of history: counting backwards from now; counting down to the ...
1
Henrik Danielsson's profile photo
 
Ja, det finns mycket att fundera på, synd bara att det kostar så mycket tid/pengar att testa sådana teorier...
 ·  Translate
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
Very useful to have all these in one place!
 
The most comprehensive list of command line tools, network related monitoring, and log and infrastructure monitoring tools for Linux SysAdmins.
8 comments on original post
1
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
3D printed machine gets "12W output from 3W input". Your ALL CAPS description must be true, I'm in!

Not...

#kickstarter   #freeenergy   #capslock   #perpetuummobile  
THERE WILL BE FREE ENERGY! THE OVER-UNITY CONTINUOUS MOTION ELECTRIC GENERATOR IS REAL!
1
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
Totally worth it, if just for Superfrog HD now being available on #Linux  
So many hours playing that on the #Amiga  ....
1
Add a comment...

Henrik Danielsson

Shared publicly  - 
 
+David Hasselhoff must have gotten some tips from Santa on how to be everywhere at once today!
1
David Hasselhoff's profile photo
 
Hoffsome.
Add a comment...
People
Have him in circles
129 people
Fusion Project's profile photo
Erik Andersson's profile photo
Andrey Papsha's profile photo
Daniel Kudwien's profile photo
Meryl Danielle's profile photo
Charnelle Nimy's profile photo
Rob Brown's profile photo
deaDleSs balLoon's profile photo
Patrik Andersson's profile photo
Education
  • School Of Future Entertainment, Karlshamn
  • Volvogymnasiet, Skövde
Basic Information
Gender
Male
Relationship
In a domestic partnership
Work
Occupation
Programmerare, CNC-operatör
Employment
  • Volvo
    Programmerare, CNC-operatör, present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Tibro
Previously
Hjo - Karlshamn - Malmö
Henrik Danielsson's +1's are the things they like, agree with, or want to recommend.
Prometheus
market.android.com

Ridley Scott, director of "Alien" and "Blade Runner," returns to the genre he helped define. With PROMETHEUS, he creates a groundbreaking my

The Dark Knight
market.android.com

The Dark Knight är en amerikansk superhjältefilm från 2008. Filmen är regisserad av Christopher Nolan, som även har skrivit manus tillsamman

Star Trek Into Darkness
market.android.com

Star Trek Into Darkness är en amerikansk film från 2013 i regi av J. J. Abrams efter manus av Roberto Orci, Alex Kurtzman och Damon Lindelof

I, Robot
market.android.com

In the year 2035, technology and robots are a trusted part of everyday life, but not for robo-phobic police detective Del Spooner (Will Smit

Pitch Black
market.android.com

Pitch Black är en australisk science fiction-film från 2000. Filmen handlar om en grupp resenärer som kraschlandar på en främmande planet.

Titanes del Pacífico
market.android.com

When legions of monstrous creatures, known as Kaiju, started rising from the sea, a war began that would take millions of lives and consume

Priest (2011)
market.android.com

PRIEST a post-apocalyptic sci fi thriller is set in an alternate world -- one ravaged by centuries of war between man and vampires. The stor

Doom
market.android.com

Doom är en amerikansk science fiction/action film från 2005 baserad på datorspelen Doom. Filmen släpptes 21 oktober 2005 i USA.

Serenity
market.android.com

Serenity är en film skriven och regisserad av Joss Whedon. Den utspelar sig i samma universum som i Fox TV-serie Firefly och äger rum sex må

Oblivion
market.android.com

Oblivion är en amerikansk postapokalyptisk science fiction-film baserad på Joseph Kosinskis opublicerade roman med samma namn. Filmen är skr

Halo Legends
market.android.com

This sweeping science-fiction saga delves into the rich Halo universe with 7 exciting stories (told in 8 parts) focused on Master Chief's my

Introversion Software . About Us
www.introversion.co.uk

Alpha 23 has been released! Steam users will be automatically updated. Non-steam users can download the latest version from the builds page

Lightning Launcher eXtreme
market.android.com

Lightning is a fast, light and extremely customizable home screen replacement for Android. And it can also be used as the most flexible lock

Magic tiles
mycolorscreen.com

Hello everybody, here is the screen with tiles Magic Lightning launcher extreme. Watch the video above because it shows everything. If you l

Hosting Git repositories, The Easy (and Secure) Way -
scie.nti.st

Update (12-12-2010): For additional features not present in gitosis, check out gitolite. Update (08-10-2008): For topics not covered here, I

Android Gerber Viewer Pro
market.android.com

Android Gerber Viewer is a RS-274X Gerber viewer for the Android platform. Android Gerber Viewer reads and renders Gerber files. RS-274X Ger

YOURE GONNA LIKE IT HERE
www.atheist-meme.com

Atheist meme, you're gonna like it here, science graphic, atheist cartoon meme.

Enlightenment
plus.google.com

Enlightenment Window Manager

PulseAudio
plus.google.com

The made-of-awesome sound server

Bra pizzor, men standardstorleken är mycket mindre än för några år sedan. Finns tre storlekar att välja på, medium motsvarar den tidigare normalpizzan men kostar desto mer. Största pizzan går lös på nästan 200:- men då blir ett par personer rejält mätta.
Public - 2 years ago
reviewed 2 years ago
1 review
Map
Map
Map