1Password for Chrome

I love 1Password. I think it’s the best password manager out there, even though it’s only for the Mac.

Anyway, they now have an extension for Chrome, and it is easy to install by following these instructions.

Comments ( 0 )

The Making of an AIR App – From Whiteboard to Reality



Jesse just made a cool video showing the evolution of “You Need a Budget (YNAB)” as it went from whiteboarding concepts to reality:

You can check out the original blog post here.



Comments ( 0 )

Installing the AIR 2.0 SDK on the Mac (OS X)

I’m posting this as a note to myself because I keep forgetting how to do it between drops of the AIR 2.0 Beta SDK.

This article tells you everything you need to know. The key for me was the helpful “ditto” command:
[code lang="as3"]ditto -V /Volumes/AIR\ SDK/ /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.4andAir2/[/code]

You can apparently also use “cp -r”.

Comments ( 0 )

We (“You Need a Budget”) got our first New York Times mention

Jesse and I just found out about this article in the New York Times, and we were pretty jazzed that YouNeedABudget.com got a mention!

On a related note, YNAB 3, our flagship software, is out of beta as of last night! If you’re tired of the way those other applications handle budgeting, you’re going to like YNAB.

Comments ( 0 )

Downloading old versions of the Flex SDK

Every time I set up my Flex development environment on a new machine, I always forget where I can download the older versions of the Flex SDK, so I’m making this note here for myself. This is the page where you can download all versions of the Flex SDK (3.0, 3.1, 3.2, 3.3, 3.4, 3.5, and so on…)

Comments ( 1 )

YNAB wants to hire a Flex/AIR Expert

We’re looking for someone to help us make our AIR-based personal finance software even better.
This will start out as a 6 month contract, but if things are going great, there’s a strong possibility we will extend it. We’ve got a lot we want to do to the latest version of our software, YNAB 3, and want to go faster than one guy (me) can handle. If you have a passion for making great software, and also happen to know Flex/AIR,
check out the job description!

Comments ( 0 )

One-Line CSV Parser for ActionScript, AS3, Flex, AIR

Well, okay, it’s slightly more than a line, but still I wish someone had written a blog post like this when I went out looking for a CSV parser for YNAB 3.

Thanks to comments in this blog, I discovered that you can split a CSV line, and correctly account for escaped commas, doublequotes, etc, with the following expression:

For each line of text in your CSV file, just do this:
[code lang="as3"]
var components : Array = line.split(/,(?=(?:[^\"]*\"[^\"]*\")*(?![^\"]*\"))/g);
[/code]

There are some side effects, like quotes that are used to wrap values are still included in the components, but it was a small price to pay. I think it beats the typical state machine approach. (Well, I say that cause I didn’t have to come up with that beast of a Regular Expression).

Now you’ve got your array of values for your csv line. I’m sure you can take it from here.

Comments ( 4 )

Hey Gang, Let’s Localize the Flex Framework Resource Bundles

When I migrated from C# to Flex/AIR in order to develop YNAB 3, I was met with a few surprises. One of them was that the default Flex Resource Bundles were not localized. Oh sure, they include Japanese, but not FIGS (French, Italian, German, Spanish). This means, from what I’ve been able to find, that if you want to display currencies and dates in the user’s default language, you’re stuck translating them yourself.

When we wrote YNAB Pro in C#, one of the things we got for FREE was default currency and date/time formats. I just told YNAB Pro to display money and time in the appropriate format that Windows defined, and I immediately had a partially localized application.

When I first ran into this, I assumed that surely other people had already solved this problem and posted standard .properties files somewhere, but my Google-Foo has turned up nothing. So now, I want to be that guy. Within the next few weeks, I’d like to have an open source project hosted somewhere (Google Code most likely) that will offer localized versions of the following files for every language:

SharedResources.properties
controls.properties
formatters.properties
validators.properties

How will I do this? Well, first, I’m only going to localize the parts of those files that are related to date/time/numbers/currency. In other words, the standard stuff. Secondly, I’m going to automate it. I’ll write a C# program that loops through the available cultures and spits out the appropriate values for things like decimal separators and currency symbols into the appropriate files.

You’ll be able to log on, grab these partially-localized resource bundles, configure your build process, and you’ll be a lot further along in localizing your program.

So, before I begin, I wanted to ask:

  1. Has someone already done this?
  2. Does anyone see any problems with my plan? Please let me know!
  3. Does anyone else think this sounds like fun and want to do it yourself? If you’re geek like me, the thought of automating the creation of so many useful files sounds like a tremendous amount of fun. Please feel free to run with this and be the hero for Flex/AIR developers everywhere. I’ll gladly trade glory for time. :)
  4. I assume I’ll have to license the files we generate under the MPL (like the Flex SDK) because this counts as a modification to existing framework files, right?
Comments ( 4 )

Licensing Flex Data Visualization components on your build machine

aka: Licensing the AdvancedDataGrid and Flex Chart components
aka: Getting rid of the Flex Data Visualization Trial watermark

If you want to set up an automated build machine to build your Flex projects, you’ll get the Flex Data Visualization Watermark on your AdvancedDataGrid and Chart components unless you properly license them. And no, you don’t have to install Flex Builder. (And it’s not license.properties! That was the first thing that came up in my Googling, but that was for Flex 2.)

Just find your flex-config.xml file, which will be in your SDK directory under “frameworks”. On my build machine, that is c:\FlexSDKs\3.3.0\frameworks\flex-config.xml

At the bottom you will want to add these lines:



flexbuilder3
1377-rest of your serial number here


I learned it all by reading this helpful post.

Comments ( 2 )

Error #2030 End of File when using as3xls to read an xls file

I was getting this error consistently when reading BIFF8 .xls files in YNAB 3. Turns out that as3xls has a bug in the way it handles BIFF8 content, but luckily a gentleman named Dan Wilson has stepped up and is maintaining a fixed version here.

Thanks Dan! Budgeters around the world will owe you one.

Comments ( 0 )