Noizeramp

  • Home
  • Archive
  • Posts
  • Tags
  • Cross-platform app links

    23 May 2016 ⋅ 3 min read ⋅ android iOS titanium

    Here are some notes after the recent research into deep linking into the apps. The goal was to launch the app on clicks on links in email. Traditionally, we were using a custom scheme to register the app as a handler for, but this didn’t work quite well. So notes:

    Read more

  • Filtering ListView in NativeScript

    1 April 2016 ⋅ 2 min read ⋅ nativescript

    Quick tutorial on how to filter the ListView in NativeScript.

    Read more

  • Dash docset for NativeScript

    31 March 2016 ⋅ 1 min read ⋅ nativescript dash

    If you are developer and using Mac, you must absolutely know offline documentation and snippets browser Dash by now. If not, go check it out. It will change your life.

    This morning I submitted my own docset for NativeScript 1.7.1. It’s been accepted later today and can be found in Preferences -> Downloads -> User Contributed. Search for “NativeScript”.

    I’m planning on adding How-to’s and guides from the official documentation site in it in the upcoming release.

  • Chat rooms app in Elixir in 15 minutes

    18 December 2014 ⋅ 7 min read ⋅ elixir phoenix websockets

    This is the showcase post that touches a tiny part of what Elixir and the accompanying tooling can help you build in very little time.

    Read more

  • Bare bones files watch

    8 December 2014 ⋅ 2 min read ⋅ shell

    Sometimes I just need to follow the changes to files and act upon that. There are plenty of “watchers” out there, like Guard and Watchr, but if I really don’t want to drag the bag of gems, here’s what I do…

    Read more

  • YAML you may have never known

    23 October 2014 ⋅ 1 min read ⋅ yaml rails

    The collection of cool things you can do in YAML.

    Read more

  • My current Elixir toolkit

    19 October 2014 ⋅ 2 min read ⋅ elixir

    All my free time I’m spending on a my own project that I decided to write in Elixir, Rails and CoffeeScript. There is the service backend that runs heavily multi-threaded and so Elixir / Erlang was a natural choice.

    Read more

  • Completes and totals, or how to count

    14 October 2014 ⋅ 1 min read ⋅ sql

    In every third project I see SQL like this:

    SELECT
      (SELECT COUNT(*)
       FROM table
       WHERE group_id = X AND completed = 1) as completed,
    
      (SELECT COUNT(*)
       FROM table
       WHERE group_id = X) as total
    
    FROM table
    WHERE group_id = X
    GROUP BY group_id
    

    As you might understand the intention is to count all records in the group and those with completed flag set. This solution gives me creeps.

    Here’s how I would write the same:

    SELECT
      COUNT(NULLIF(completed, 0)) as completed,
      COUNT(*) as total
    FROM table
    WHERE group_id = X
    

    Now pick your DB book and go read what NULLIF function is, and do me a favor. No more crazy subselects, ok?

  • Appcelerator Titanium: Scaling and cropping images

    29 September 2014 ⋅ 2 min read ⋅ titanium

    At the time of writing Titanium is at: 3.3.0 GA

    In the project I’m supporting we juggle with camera shots like crazy. One of the recent requests from the client was to show square thumbnails in the list of taken pictures. While the requirement itself is pretty reasonable, Titanium doesn’t make our life easier.

    Read more

  • Thoughts on present iOS development

    6 September 2014 ⋅ 4 min read ⋅ iOS

    Now the time for iOS has come and I’m putting together these notes basing on my recent experience with XCode 6 Beta, Beta 6 and Beta 7.

    Read more

  • arrow-left
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • arrow-right