Preslav's Thoughts and Ramblings

Recent Posts

  • 23 July 2017

    Properties in Swift: How to Avoid Shooting Yourself in the Foot

    Swift provides several constructs which make writing code a more fluid experience, with less boilerplate. Sometimes this succinctness of syntax comes at a potential cost though. One such aspect are properties, and more specifically, property initialisation. A small difference in the syntax might result in unnecessary memory consumption, unexpected state inconsistencies, etc. Those might remain unnoticed when the project is still small and reappear at a later stage, when the project is large enou...

  • 06 May 2017

    Testing React Native Applications Part I: Jest

    When I started with React Native not long ago I was frustrated by the overwhelming amount of irrelevant information on how to test React applications. React is known to evolve fast, often introducing breaking changes, so this should not be surprising to most developers. Still, the amount of deprecated content out there leaves a sort of a bad feeling, especially among developers who have just started working with React or RN. Having spent a few days, breaking walls down on my own, I decided to d...

  • 16 April 2017

    An Easter Photo Weekend with the Family

    My parents came over to Germany for Easter, and we used the quiet time for some traveling and walking around. With my OnePlus 3 always in my pocket, I snapped a few photos. For some of the them I used my favorite multiple-exposure camera app, for others, just the standard camera app with HDR turned on. I only wish the weather were one idea better, but some photos came out quite nicely, despite the rain and clouds....

  • 16 April 2017

    Fixing the Intonation of Your Electric Guitar

    Unknown to many hobby and amateur / semi-professional guitar players, fixing the intonation of an electric guitar is perhaps the second popular reason why your guitar sounds out of tune, besides tuning itself. The Problem Even though you might have tuned your guitar to perfection, playing chords especially up the fretboard sound a little off. The problem usually seems to worsen, the higher up the fretboard you try to play. The (possible) Solution One of the really important, but usually neglect...

  • 31 March 2017

    Android Developer Links: March 2017

    This is a list of Android-related resources, carefully curated over the course of each month. I try to make sure that the links that end up here, contain useful and always relevant information. The majority get suggested by the growing list of Android developers I follow on Twitter, others via Reddit, or various Android-related forums, etc. Please, welcome to suggest me interesting materials in the comments, or on Twitter. News and Updates Update your app to take advantage of the larger aspect r...