Skip to main content

Tech

Incomes for Expenses Planner

1 min read

Implementing this, per se, is no problem. But, kind of the same as recurring events, there's no proper way of handling this feature and I'll give a small example below.

Say you have expenses laid out for the next 6 months: how should you enter the income? Manually calculating 6*monthly income? Or just for the next month? If the latter, subtracting all expenses from that doesn't make much sense, and the former isn't too reliable, since your income might vary from month to month. What about adding a new expense that's due in 8 months, but you entered the income for 6? Go and manually update the total? What if you forget? Etc...

Continue reading →

Recurring events for Expenses Planner

2 min read

Update, 01 Nov 2014: Implemented a custom recurring system, explained here. Not perfect, but close enough to get my approval to be implemented.*

There are two problems about this and I'll try to explain them the best I can.

==First==: Apple provides a way to implement recurring reminders, but I use it for the weekly/daily/hourly setting. Manually creating a separate system for recurring events is easy; the problem is that this method is not reliable.

Continue reading →

Ruby script to search your Xcode project for unused assets

25 sec read

I know there are tools for this out there, but some aren't reliable and some are $30, albeit with more options and a GUI. But if you want something simple, just for searching, deleting and seeing at a glance what @2x/@1x assets are missing, this should do the trick.

You can find the repo here.

Tweaking file handling

2 min read

I recently realized that if I were to have two posts on the same day, they would be ordered alphabetically, not by time, because the filename has no time reference. I wouldn't be able to use file creation time either, because the creation time of all files on the server is the same: the git push time.

I did have a time references inside files, but to actually check what files are on the same date, then order just these by said time, while keeping to order the rest, independently, would have been a pain to implement, at least to the simple, albeit ugly, solution: add a time component to filenames.

The modifications were minimal:

Continue reading →

Expenses Planner for iOS

25 sec read

I'm pleased to announce a brand new, beautiful and minimalist financing app, Expenses Planner: keeps track and reminds you of your upcoming expenses and due payments. I just submitted it for review, meaning it's coming to an App Store near you in two weeks time.

==Hooray!==

No room for errors

2 min read

When I moved to a git-based blog, I knew I had no way to edit published posts that easily, like I had in WordPress. And, boy, did I use to edit and re-edit a post after I published it. Sure, I can commit over and over to edit stuff, but that's not great practice at all.

But then it struck me: ==this is actually a good thing==. I will have to focus better and pay more attention, resulting in small, but steady improvement over time. Last night, for example, I did a lot of commits just to edit some silly mistakes and silly typos; this is something I will force myself not to repeat.

Continue reading →

New Relic

1 min read

Today I installed their standard Heroku add-on and, after only half a day of usage, I'm blown away. Here's what you get for free:

  • App Response Time, Throughput & Breakdown by Component
  • Real-User Response Time, Throughput & Breakdown by Layer
  • Server Resource and Availability Monitoring
  • App Availability Monitoring, Alerting, and Notification (bye, bye Pingdom)
  • Error Detection, Alerting, & Analysis
  • Awesome graphs
  • Full list here.
Continue reading →

Final version. For now.

2 min read

Finally took the time to recreate the blog, the WordPress theme i was using was highly customized, but wasn't really fitting my needs anymore. And, again, since I'm learning web development, why not redesign it completely? The layout is basically the same, but I stole Sam's pagination and Matt's header and tweaked them to fit my preference.

The site was created with Sinatra, and it's hosted on Heroku. I'm still using Markdown and Mou to write, but instead of using a database for the posts, I'm using .md files. This way I h

Continue reading →

New iOS HIG

Wow, the new HIG is on a totally new level regarding the layout of information; it will be a pleasure to read. I have to admit I didn't really read the old one, but I'm ==definitely== going to read this one.