Profile

Cover photo
Mark Gjoel
Works at Zylinc
Attended DTU
Lives in Copenhagen
941 followers|902,121 views
AboutPostsCollectionsPhotos+1'sReviews

Stream

Mark Gjoel

Shared publicly  - 
 
So I decided to update my watch face with battery status. I also dropped some information on the date (year, month) so it can now be much larger. The number in the bottom is the week, which I unfortunately have to use fairly often... Just not too sure how to make it more obvious what it is... :/

This version is not yet on Google Play.
1
Add a comment...

Mark Gjoel

Shared publicly  - 
 
It's a ladybug! Taken at 1.0x magnification.
6
1
Mads Sabroe's profile photoMartin Knudsen's profile photoMark Gjoel's profile photoDeryk Robosson's profile photo
3 comments
 
Takker, takker! For en gangs skyld taget uden blitz - nu hvor jeg ikke skulle tættere på. :)
 ·  Translate
Add a comment...

Mark Gjoel

Shared publicly  - 
 
Ok, so the new dedicated hangouts* page is basically... Exactly the same as you get on Google+ and Gmail, but without the Google+ and the Gmail stuff... Why would I ever use that?!

* http://hangouts.google.com
 ·  Translate
Hangouts puster liv i samtalerne med billeder, emoji og endda gratis gruppevideosamtaler. Få forbindelse til dine venner på såvel computere som Android- og Apple-enheder.
2
Kim T. Gjøl's profile photoJacob Nordfalk's profile photo
11 comments
 
+1 +Kim T. Gjøl  , den virker åbenbart dårligere til engelsk end til dansk :-)
 ·  Translate
Add a comment...

Mark Gjoel

Shared publicly  - 
 
I just had a "fun" problem in Android.

I have a list of people, which is searchable. This means that I have a filter and a handler to manage the searching. My handler looks something like this:

class SearchChangedListener implements SearchView.OnQueryTextListener, MenuItemCompat.OnActionExpandListener {
 @Override
  public boolean onQueryTextSubmit(String query) {
    return false;
  }

  @Override
  public boolean onQueryTextChange(String newText) {
    if(mUserListAdapter != null){
      mUserListAdapter.getFilter().filter(newText);
    }
    return true;
  }

  @Override
  public boolean onMenuItemActionExpand(MenuItem item) {
    return true;
  }

  @Override
  public boolean onMenuItemActionCollapse(MenuItem item) {
    if(mUserListAdapter != null){
      mUserListAdapter.getFilter().filter("");
    }
    return true;
  }
}

Everything works just fine, except that QA just managed to reliably crash it: Search for something, then press the "Close" button => App crashes, complaining it's trying to operate on a closed Cursor... Completely outside of my code base. Crash looked something like this:

android.database.StaleDataException: Attempting to access a closed CursorWindow.Most probable cause: cursor is deactivated prior to calling this method.
            at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:139)

After spending little more than an hour digging through the Android messaging system (since everything is done asynchronously) I found the problem:
When the user clicks the close button, first onMenuItemActionCollapse is called, and immediately after onQueryTextChange is called. Due to the way Google implemented Filter, this results in a chain of events like this:
1) Perform filtering.
2) Perform filtering again (Since filter is the same as before, reuse Cursor from Adapter)
3) Replace Cursor in Adapter with Cursor from 1), closing the old Cursor in the Adapter.
4) Replace Cursor in Adapter with Cursor from 2), which was closed in 3). Crash!

All it took to fix it was a boolean to ensure that the filtering wasn't performed twice. I'm glad I had access to the Android source code to find out what was going on here, but slightly unhappy it was necessary.
3
Add a comment...

Mark Gjoel

Photos - Member's Macros (3/day max!)  - 
 
 
Some flowers make for very good podiums for bees. This bee simply walked around visiting all the flowers, never taking off, leaving me plenty of time for getting a proper shot. Taken at 3.7x magnification. With a ring flash.
1 comment on original post
20
1
Darren P's profile photobijen buzZ's profile photo
 
Nice work :-)
Add a comment...

Mark Gjoel

Shared publicly  - 
 
Cat enjoying the quiet life in the sun.
2
Add a comment...

Mark Gjoel

Shared publicly  - 
 
Adolescent baboons playing in +Copenhagen Zoo.
2
Aldo Colombo's profile photoMark Gjoel's profile photo
2 comments
 
Luxury prison though. :) 
Add a comment...
Have him in circles
941 people
Martin Parm's profile photo
John Matthews's profile photo
Esteban “Stargamerimportant” Gamerti's profile photo
Amanda Maynes's profile photo
Victorino Júlio V.J's profile photo
Zoe Lloyd's profile photo
Sourajit saha's profile photo
swaroop J's profile photo
Mitch Miller's profile photo

Mark Gjoel

Watch Faces  - 
 
So I decided to update my watch face with battery status. I also dropped some information on the date (year, month) so it can now be much larger. The number in the bottom is the week, which I unfortunately have to use fairly often... Just not too sure how to make it more obvious what it is... :/

This version is not yet on Google Play.
1
Mark Gjoel's profile photo
 
I'm also aware that the 0 hour looks freaky... I'm following 12/24 hour clocks. When on a 12 hour clock it says 12. When on 24 hour clock it says 0 as it does here.
Add a comment...

Mark Gjoel

Shared publicly  - 
 
It seems like it's the season of the dragonfly. This guy was caught after lots of patience and plenty of pictures.

I have always loved dragonflies which makes it odd that I at one point completely forgot that they are plentiful in Denmark.

This subject also poses an interesting challenge for my somewhat new Tamron 150-600mm telephoto: While it's really good at inspecting what's up the nose of larger animals at a distance, it's not too happy getting physically close to it's subjects - which is still necessary in spite of the obscene range. This was taken at 600mm and is about as close as it gets. Manual focus, otherwise getting anything sharp is completely impossible!
5
1
Kim T. Gjøl's profile photoPhoto Mania Scandinavia's profile photo
2 comments
 
Came to ponder over a thing the other day. The dragonfly is an ancient insect, having taken the journey from since the first dinoes several hundred of million years ago. So you would think that they were primitive and stupid. As opposed to e.g. bees, that have only been here since flowers came to existence - after the dinos died out. 
And yet I have yet to experience one instance of a dragonfly getting lost inside the house. All other insects, bees of all kinds, flies, even an occasional bird, but never a dragonfly. Are they actually too clever to go inside, or is it just that they have nothing to do there in the first place.
Or maybe the whole concept of newer being better is just dumb on my part.
Just a thought.  
Add a comment...

Mark Gjoel

Shared publicly  - 
 
Google, you fucked up my camera flash! 
3
Mads Thomsen's profile photoTore Julø's profile photoMark Gjoel's profile photo
3 comments
 
I guess that's the flash... 
Add a comment...

Mark Gjoel

Shared publicly  - 
 
Some flowers make for very good podiums for bees. This bee simply walked around visiting all the flowers, never taking off, leaving me plenty of time for getting a proper shot. Taken at 3.7x magnification. With a ring flash.
23
2
jaxdreaming's profile photoMark Gjoel's profile photobijen buzZ's profile photo
 
:)  so beautiful
Add a comment...

Mark Gjoel

Shared publicly  - 
 
Really, Google? I went out with a fair amount of battery, hardly even touched the phone (as I was with friends) and this is how I find my Nexus 4? Please fix your damn apps, this is embarrassing! 

Edit: Also note that WiFi was OFF! So why in the eternal flames of the nether worlds is it listed as on for the entire period?! 
2
Jens Knutson's profile photoAndrew Frink (Agent Cynyr)'s profile photoMads Thomsen's profile photoPeter Toft's profile photo
5 comments
 
Add a comment...
Mark's Collections
People
Have him in circles
941 people
Martin Parm's profile photo
John Matthews's profile photo
Esteban “Stargamerimportant” Gamerti's profile photo
Amanda Maynes's profile photo
Victorino Júlio V.J's profile photo
Zoe Lloyd's profile photo
Sourajit saha's profile photo
swaroop J's profile photo
Mitch Miller's profile photo
Work
Occupation
Lead developer (Android/Java, Windows/C#, Servers/Java), Photographer for hire - I try only to post the relevant / interesting things.
Employment
  • Zylinc
    Lead developer, 2008 - present
  • Floating Image
    Owner, 2009 - present
  • Steria
    Systems developer, 2008 - 2008
  • DTU
    Databar support, 2002 - 2007
  • University of Copenhagen
    C++ guest teacher, 2007 - 2007
  • IMCC
    Systems administrator, 2004 - 2006
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Copenhagen
Links
YouTube
Other profiles
Contributor to
Story
Tagline
Photographer, Coder, Raver, Good Guy, Allaround geek
Introduction
A few quick words to pick my mind...

Android, tech and such
Photography, mine and others
Scepticism, logic and lack thereof
Stray bits and thoughts on this and that.

Most photos posted by me are taken by me. They are free to use non-commercially. If you wish to use them in other ways, please contact me.
Bragging rights
Got born, went to school, went to high school, went to university, got a job, wrote Floating Image for Android. Bubble Frame emerged from my sleep deprived mind at some point later on. Also, I wrote something while working as well... :)
Education
  • DTU
    Computer Science, 2001 - 2007
Basic Information
Gender
Male
Other names
Gjol, Gjoel
Mark Gjoel's +1's are the things they like, agree with, or want to recommend.
LIMBO
market.android.com

Не зная о судьбе своей сестры, мальчик входит в LIMBO. Отзывы в прессе: “Limbo is as close to perfect at what it does as a game can get.” 10

Google I/O 2014
market.android.com

The official Google I/O 2014 app was built to be your co-pilot to navigate the conference, whether you're attending in-person or remotely.*

ASUS Transformer Pad Infinity
eee.asus.com

Chiclet QWERTY keyboard with extended battery life. Easily transform from tablet to notebook. Unrivalled Beauty. Metallic spun finished desi

Chrome Beta
market.android.com

The speed and simplicity of Chrome, now on your Android phone and tablet. Browse fast on your Android smartphone or tablet, and bring your p

Never ever silently crash! - Google Product Forums
productforums.google.com

Never ever silently crash! thomaskjeldsen, 26-01-13 14:56, I'm sad to say that the experience of Google Drive on Windows isn't as good as it

Floating Image
plus.google.com

Fluent OpenGL image gallery and Live Wallpaper for Android phones and tablets

Osmos HD
market.android.com

Absorb, or be absorbed... The long-awaited hit game comes to Android! Enter the Darwinian world of a galactic mote. To survive, absorb small

Tastatur og mus - Expert - Slagstærke online-tilbud på tv, lyd, computer...
www.expert.dk

Se alle butikker her. Book en Expert. Kontakt Expert. Kundeservice. Nyhedsrum. Viden om. Forside. COMPUTER. TV, DVD, BLU-RAY. LYD. FOTO. TEL

Naebad
plus.google.com

Android Game Developer

Transformer Pad Infinity Release Date and Specifications | Gizmo Canada
www.gizmocanada.com

With a 1920×1200 Full HD screen that also features an ultra-bright 600 nits outdoor readable Super IPS+, SonicMaster sound technology and a

ConnectBot - Apps on Android Market
market.android.com

ConnectBot is a powerful open-source Secure Shell (SSH) client. It can manage simultaneous SSH sessions, create secure tunnels, and copy/pa

Crackpot Scorecard
www.calamitiesofnature.com

Not sure whether something is legit or crackpot garbage? Add up the points below and then check the key at the bottom...

MortPlayer
plus.google.com

MortPlayer is a free folder based audio player for Android

Welcome to Facebook - Log In, Sign Up or Learn More
www.facebook.com

Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep

Android Quick Tip: Using the Quick Contact Badge
mobile.tutsplus.com

If you’ve spent any time on an Android device, you may have noticed how you can click on little Contact images to launch a toolbar with lots

I had the chocolate noodles. Amazing presentation, great taste. Would go again (after exercise and diet.)
Public - 5 months ago
reviewed 5 months ago
My friend, who is still struggling with the technical details of photography, went here to upgrade her lens to one more sensitive to light. She told the clerk she needed this to photograph at events. However, they didn't have what she needed, but through a very convincing sales pitch she got the spectacularly bad advice to upgrade to a slightly better lens with a more limited zoom and the exact same f-stop. At great cost. This is one of the more expensive brick and mortar stores in Copenhagen, and if you can't go there when you are unsure of what you need you are better off shopping online or at least somewhere else. A single star added for reversing the deal when we came back 20 minutes later.
• • •
Public - a year ago
reviewed a year ago
An adventure into the world of seafood. Try the seafood special! €27 is expensive for an appetizer, but it's worth every cent. Great atmosphere, competent waiters. If you're willing to spend a little extra, this won't disappoint!
Public - 4 years ago
reviewed 4 years ago
Public - 4 years ago
reviewed 4 years ago
6 reviews
Map
Map
Map
Went there for lunch. The very nice waiter recommended the daily special, a New York strip steak sandwich, which I ordered. The sandwich smelled incredibly spoiled and I had to send it back. Ruined my appetite completely. They have a very impressive milkshake menu, including classics such as bacon pancake flavour or captain crunch. I chickened out with a caramel, which was ok, except for the ending which most of all resembled butter. I won't be coming back.
Public - 2 years ago
reviewed 2 years ago
Fairly expensive, but they serve the best cocktails in town, and the service is always top of the line!
Public - 4 years ago
reviewed 4 years ago