Profile cover photo
Profile photo
Sascha Häberling
2,370 followers -
Tech lead and Staff Software Engineer for Google Camera on Android, Photographer, Musician, Traveler
Tech lead and Staff Software Engineer for Google Camera on Android, Photographer, Musician, Traveler

2,370 followers
About
Posts

Post has attachment
We have got some huge performance improvements in store that we will release soon once we tested it thoroughly. Before going into any details here is the before and after side-by-side, recorded from a Google Pixel phone:
https://youtu.be/Es2y3PEH5ok

I was always sad that on my modern Pixel phone the performance seemed pretty bad. The phone couldn't possibly be too slow for this task and after talking to +Arno Puder a bit about how the CPU emulation worked it seemed clear that something else must be missing here.

When looking at the Pixel's CPU usage I could see that it didn't do a lot, so it's not that the emulation was inefficient and just using a ton of CPU cycles. It just didn't seem to use them efficiently.

Long story short, we found the bottleneck eventually and fixed it. It has to do with the way the emulator would send the screen buffer from the native to the Java layer where it would get rendered.

Stay tuned for the update soon :-)

Post has attachment
This is the moment the sun reappeared again. You can see the two bright spot which I assume is due to the moon's surface not being completely smooth. You can still see the solar eruptions as well.
Photo
Add a comment...

Post has attachment
A few weeks ago a got one of these new MacBook Pros with Touchbar. Immediately was wondering how easy it easy to mess it with and make it display arbitrary things.

First I was inclined to think that Apple might keep the API to this additional screen estate fairly limited. But then I found out that you can indeed just render whatever you want - and quickly found projects that showed just that.

People that know me know that I like to implement a basic fireworks simulation, whenever I encounter something new like this. It's a 'tradition' I started many many years ago. So, of course The Touchbar is no exception.

Based on another project, I was able to code this up pretty quickly. It's the first time I am using Swift, so I had to get used to it a little, and I had to read up on the various APIs again, since I haven't done Mac/iOS develop in many years.

Anyway, the result is open source and if you want you can download the compiled binary and run it right away, if you have a Macbook Pro with Touchbar:

https://github.com/shaeberling/FireworksTouchbar/releases/tag/1.0
Add a comment...

Post has attachment
Heh!

http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html

Worth reading if you want to see more like the follolwing...

"John Backus and IBM create FORTRAN. There's nothing funny about IBM or FORTRAN. It is a syntax error to write FORTRAN while not wearing a blue tie."
Add a comment...

Post has attachment
Spent a fantastic time tonight at Baker beach during sunset.
Photo
Add a comment...

Post has attachment
Having trouble with the reliability of your Raspberry Pis (or other Linux-based server's) Wifi connection? Check out these notes for how I made mine work 100% of the time, even in situations where the wireless connection can be a bit on the weak side and thus cause connection drops.
Add a comment...

Post has attachment
New toys that I haven't found the time to tinker with yet...

#pi3 #pine64 #arduino
Photo
Add a comment...

Post has attachment
On our flight to Milford Sound with this single prop engine plane we got the most amazing views.

We were very lucky to have the perfect weather for this trip. While it was sunny, the clouds around the mountains made the view a even more magical.
Photo
Add a comment...

Post has attachment
Photosphere from one of the most amazing places I have been to. In the background you see Mt Cook, in the foreground Hooker Lake.

#photosphere #newzealand
Photo
Add a comment...

Post has shared content
A panorama I took today at the base of Mount Cook today. Definitely an amazing place I recommend everybody to see.
Amazing views today at the base of Mount Cook and Lake Pukaki.

#newzlealand   #travelphotography   #mountains   #naturephotography  
Photo
Wait while more posts are being loaded