<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>[kumo.it]</title>
    <description>A collection of random thoughts, together with a dusty pile of BeOS software and Ruby on Rails notes. Made by &lt;a href=&quot;https://twitter.com/kumo&quot; target=&quot;_blank&quot;&gt;@kumo&lt;/a&gt;.</description>
    <link>http://www.kumo.it/</link>
    <atom:link href="http://www.kumo.it/feed.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>Subtitles and timed texts</title>
        <description>&lt;p&gt;I am currently working on a Swift parser for various types of subtitles and timed texts. As always the Xcode Playground makes it very useful to try things out, although I would like a way of adding some sort of unit tests.&lt;/p&gt;

&lt;p&gt;At the moment my aim is on trying to see what sort of resources are available online; my interest is in working with foreign languages to help teach students or to improve my own knowledge.&lt;/p&gt;

&lt;p&gt;The following is some code that as a way of trying to identify what type of timed text the user has given us. It uses a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;NSScanner&lt;/code&gt; to try and look for features and although it doesn’t work with everything that I found&lt;sup id=&quot;fnref:lrc&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lrc&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;, it seems to work well most of the time.&lt;/p&gt;

&lt;p&gt;Obviously this code is for when the user pastes text that they have found online.&lt;/p&gt;

&lt;script src=&quot;https://gist.github.com/kumo/adbede0c0c092683b5c2.js&quot;&gt; &lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:lrc&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;I found some .lrc files that have extra/invalid text at the start &lt;a href=&quot;#fnref:lrc&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Fri, 27 Mar 2015 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2015/03/27/subtitles/</link>
        <guid isPermaLink="true">http://www.kumo.it/2015/03/27/subtitles/</guid>
      </item>
    
      <item>
        <title>From cloudpebbles to cadigatt</title>
        <description>&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;cloudpebbles&lt;/em&gt; is dead. Long live &lt;em&gt;cadigatt&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I have been wanting to rename the cloudpebbles website for a while. I have always liked the name and it has been around for quite a few years now, but at this point it is just a bit too similar to another website&lt;sup id=&quot;fnref:cp&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cp&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; and is easily misplaced. So, at this point, my other website is going to be &lt;a href=&quot;http://www.cadigatt.com&quot;&gt;cadigatt.com&lt;/a&gt; and it will contain everything that was on cloudpebbles.com.&lt;/p&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:cp&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;cloudpebble.net – the rather interesting online development tool for the Pebble watch &lt;a href=&quot;#fnref:cp&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Fri, 27 Jun 2014 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2014/06/27/cadigatt/</link>
        <guid isPermaLink="true">http://www.kumo.it/2014/06/27/cadigatt/</guid>
      </item>
    
      <item>
        <title>Roman Numerals &amp; Swift</title>
        <description>&lt;p&gt;I don’t know if I will convert any of my existing iOS apps into &lt;a href=&quot;https://developer.apple.com/swift/&quot;&gt;Swift&lt;/a&gt;, but I do like the idea of it and the playground, in particular, is a nice way of experimenting.&lt;/p&gt;

&lt;p&gt;I have made a simple roman numerals converter (2014 -&amp;gt; MMXIV) in Swift which you can find below or on &lt;a href=&quot;https://gist.github.com/kumo/a8e1cb1f4b7cff1548c7&quot;&gt;GitHub&lt;/a&gt; . The main thing that I like is the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enumerate&lt;/code&gt; and the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;for j in 0..&amp;lt;div&lt;/code&gt; although it would be nice to have something like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;j.times do {}&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Originally, I wanted to use a dictionary, but since they are not ordered I used two arrays instead, but &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enumerate&lt;/code&gt; does keep it clear.&lt;/p&gt;

&lt;script src=&quot;https://gist.github.com/kumo/a8e1cb1f4b7cff1548c7.js&quot;&gt; &lt;/script&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: an alternative way of doing can be found in the following gist. This time I have used tuples rather than two arrays, which is a bit easier to read perhaps. I no longer need to use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enumerate&lt;/code&gt; and the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;for&lt;/code&gt; loop no longer cares about the index &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;for _ in 1...count&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;More importantly, the function returns an optional string, so it is clear if the conversion worked or not. Alternatively, I could just check for an empty string or nil, but for the upcoming roman to arabic code, that wouldn’t make much sense.&lt;/p&gt;

&lt;script src=&quot;https://gist.github.com/kumo/43781a552ee2b845da6c.js&quot;&gt; &lt;/script&gt;

</description>
        <pubDate>Wed, 18 Jun 2014 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2014/06/18/roman-numerals-swift/</link>
        <guid isPermaLink="true">http://www.kumo.it/2014/06/18/roman-numerals-swift/</guid>
      </item>
    
      <item>
        <title>Sketch plugins</title>
        <description>&lt;p&gt;I have been working on some plugins for the rather nice &lt;a href=&quot;http://bohemiancoding.com/sketch/&quot;&gt;Sketch app&lt;/a&gt;. The plugins themselves don’t do anything particularly special, but I wanted an easy way of being able to create particular images.&lt;/p&gt;

&lt;p&gt;The plugins (and sourcecode) are on &lt;a href=&quot;https://github.com/kumo/Sketch-Plugin-Scripts&quot;&gt;GitHub&lt;/a&gt; and there you will find instructions on how to use them.&lt;/p&gt;

&lt;h2 id=&quot;randomly-placed-plugin&quot;&gt;Randomly placed plugin&lt;/h2&gt;

&lt;p&gt;I made the plugins because I needed two things: firstly I needed to fill an artboard with copies of an object, and I wanted them to be randomly placed and randomly rotated.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/randomly-placed-plugin.jpg&quot; alt=&quot;Randomly placed&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;marching-plugin&quot;&gt;Marching plugin&lt;/h2&gt;

&lt;p&gt;Secondly, I wanted to clone an object into a group that looked like they were marching/walking. This is different to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Make Grid...&lt;/code&gt; feature, because alternate rows are offset.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/marching-plugin.png&quot; alt=&quot;Marching plugin&quot; /&gt;&lt;/p&gt;
</description>
        <pubDate>Tue, 17 Jun 2014 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2014/06/17/sketch-plugins/</link>
        <guid isPermaLink="true">http://www.kumo.it/2014/06/17/sketch-plugins/</guid>
      </item>
    
      <item>
        <title>Jekyll</title>
        <description>&lt;p&gt;Just to let you know, this website has been recreated in &lt;a href=&quot;http://jekyllrb.com&quot;&gt;Jekyll&lt;/a&gt; using the &lt;a href=&quot;http://hyde.getpoole.com&quot;&gt;Hyde theme&lt;/a&gt; and perhaps it might have some more content in the near future.&lt;/p&gt;

&lt;p&gt;Links probably don’t work, and in some places definitely don’t work, but your search engine is much better than me.&lt;/p&gt;

&lt;p&gt;For more timely news, I can also be found on twitter as &lt;a href=&quot;https://twitter.com/kumo&quot;&gt;@kumo&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Fri, 06 Jun 2014 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2014/06/06/jekyll/</link>
        <guid isPermaLink="true">http://www.kumo.it/2014/06/06/jekyll/</guid>
      </item>
    
      <item>
        <title>State of affairs</title>
        <description>&lt;p&gt;The iPhone software are no longer on this website and have been moved to a new home at &lt;a href=&quot;http://www.cloudpebbles.com&quot;&gt;www.cloudpebbles.com&lt;/a&gt;. If you are looking for the hiragana and katakana online quizzes then they can be found at &lt;a href=&quot;http://quiz.kumo.it&quot;&gt;quiz.kumo.it&lt;/a&gt; and if you are interested in my BeOS apps check out &lt;a href=&quot;http://kumo-beos.tumblr.com&quot;&gt;kumo-beos.tumblr.com&lt;/a&gt;. This website instead will be returning shortly…&lt;/p&gt;
</description>
        <pubDate>Sat, 03 Sep 2011 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2011/09/03/cloudpebbles/</link>
        <guid isPermaLink="true">http://www.kumo.it/2011/09/03/cloudpebbles/</guid>
      </item>
    
      <item>
        <title>Times Tables 2.3.6</title>
        <description>&lt;p&gt;A new version of Times Tables is available in the app store. This fixes the problem that iOS 3.1.3 users were having with the previous upgrade.&lt;/p&gt;
</description>
        <pubDate>Wed, 09 Feb 2011 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2011/02/09/times-tables-2-3-6/</link>
        <guid isPermaLink="true">http://www.kumo.it/2011/02/09/times-tables-2-3-6/</guid>
      </item>
    
      <item>
        <title>Times Tables 2.3.5</title>
        <description>&lt;p&gt;It took me a while but the latest update to Times Tables is available. This adds support for retina display and perhaps iPad as a universal app. You can find information about this app either on this website or &lt;a href=&quot;http://TimesTablesApp.com&quot;&gt;TimesTablesApp.com&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 02 Feb 2011 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2011/02/02/times-tables-2-3-5/</link>
        <guid isPermaLink="true">http://www.kumo.it/2011/02/02/times-tables-2-3-5/</guid>
      </item>
    
      <item>
        <title>Times Tables 2.3.3</title>
        <description>&lt;p&gt;The TimesTables iPhone app has been recently updated to 2.3.3. The main two features in this version are that it will automatically start the app with the last player, and it will also show the last quiz that was played so that it can be played again easily. If you have downloaded 2.3.2 then you will need to download 2.3.3 because this fixes a bug where the highscores were no longer selectable.&lt;/p&gt;
</description>
        <pubDate>Sat, 15 May 2010 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2010/05/15/times-tables-2-3-3/</link>
        <guid isPermaLink="true">http://www.kumo.it/2010/05/15/times-tables-2-3-3/</guid>
      </item>
    
      <item>
        <title>Roman Numerals 1.4.1</title>
        <description>&lt;p&gt;I am working on an improved version of Roman Numerals with more conversion options and possibly an iPad version, however I wanted to focus on some of the issues that people have been having. This small update adds auto-repeat to the delete button so that it is easier to clear MCMXXVII from the screen instead of shaking your iPhone or iPod Touch.&lt;/p&gt;
</description>
        <pubDate>Sat, 15 May 2010 00:00:00 +0000</pubDate>
        <link>http://www.kumo.it/2010/05/15/roman-numerals-1-4-1/</link>
        <guid isPermaLink="true">http://www.kumo.it/2010/05/15/roman-numerals-1-4-1/</guid>
      </item>
    
  </channel>
</rss>
