Categories
Apple Programming

WeightManDesktop v.0.2 (AIR)

WDM-r2

I updated my little AIR application called WeightManDesktop (which uses data from WeightMan, a free  iPhone application made by Katachi Studios) to version 0.2.

Changes in version 0.2:

  • Calculates the minimum and maximum weight
  • Calculates the minimum BMI
  • Both the weight graph and the BMI graph now don’t start from 0 – instead they use the minimum values to calculate the begin value of the graph
  • The graphs are much more clear now and the changes in weight show up more distinctly.

You can download version 0.2  of the program by clicking on the install badge. Version 0.1 entry and description can be found here.

[airbadge] WeightManDesktop, https://boschmans.net/wp-content/uploads/2009/11/WeightManDesktop.air, 0.2, https://boschmans.net/wp-content/uploads/2009/11/WDM-r2.png[/airbadge]

Categories
Hardware

Shiny Stuff: Sony Reader PRS-505

After more than a year of watching it go for the same price on Ebay without the price dropping, I finally cracked and bought me a Sony Ebook Reader, model PRS-505. The day after I ordered, Jeff Bezos from Amazon announces that the Kindle is now available worldwide for the price of about 200 euros, about the same price I bought my reader from Ebay. Not sure if I am happy about that or not.

Perhaps happy – maybe there will be more english books available to buy on our side of the ocean ? Sometimes I want to buy an ebook and get a refusal. Something to do with rights that can be sold seperately on either side of the ocean… and this is sometimes not done on both sides, or at the same time, so only one side of the ocean is served, so to speak.

Very frustrating, that is: seeing an ebook you want to buy in the eshop, wanting to buy that ebook and not being able to buy the frickin digital file.

First impressions of my Sony PRS-505: it’s small, and fairly heavy. It’s got a Sony memory stick reader, but also a SD card slot. Guess which card is cheaper to buy ? You guessed right, the SD card. I slotted in a 2GB card.

The buttons on the side are functional, but hard to press. But the e-ink page is phenomenal !

Once you get over the page refresh blackout (every time you change a page, the screen refreshes) it’s a delight to read. The e-ink paper is very sharp and clear. It charges over USB. So far I read a few hundred pages, and the battery level hasn’t even budged !

Using Calibre, a cross-platform ebook manager, I can organise my ebooks on my computer, and then transfer the one I want to read to my Sony ebook.

So far, so good. I’ve been taking it along on road trips and short vacations, and it’s holding up well.

Categories
Blog News

Webfaction is my new hosting site

I’ve changed webhosting providers recently, moving to WebFaction because I have plans to develop some applications. The fact that on my original webhosting provider (which is very reliable) I only had 50 MEGABYTES where I now have 10 GIGABYTES for about 10 euros more (plus access to the Python scripting language, plus unlimited domains, plus emails, plus databases, etc) sorta clinched the deal for me.

The WebFaction control panel takes a little bit of time to get used to, but once you take your time to work with it a bit, you realize how flexible you can be in your setup. Domains are your basic dns domains. Each domain can have multiple websites (sub-websites). Each website can have multiple applications. Each application can be used in one or more websites.

Reminder to self : when installing wordpress on Webfaction, in order for it to send mail you need to install the “Configure SMTP” plugin, otherwise your notifications will not work.

Categories
Programming

AWStats Tool that creates custom IIS log format lines

I recently ran into a problem where I needed to read a few IIS logs to find out the number of visits during the day. The tool I wanted to use was AWStats, a  free log file analyzer tool that can create some handy reports.

If you need to read an IIS log file where the admin has set up a custom log method, this tool for AWStats is very handy: in the top of your IIS log file it states which are the variables it uses. By selecting these on the web page, you get a custom awstat log format line that you can just copy / paste into your awstat config lines.

Categories
Programming

Adobe Flash Builder 4 (beta)

I found a great site for an introduction to the new Flash Builder 4 that’s still in beta. It has finally convinced me that there is enough difference between Flexbuilder version 3 and Flash Builder 4 that it’s worth it to spend some time *now* with it than when it is coming out (whenever that will be).

The wiki site is called “Learn Flex 4 from Scratch” and is being written (so it’s not finished yet) by an Adobe community manager who is documenting his own strides in re-learning Flex.

If you want to follow it, you need to download Flash Builder 4 beta 2 – and you need an existing Flex Builder serial number if you want to use it more than the default 60 days.

Categories
Blog News

Senator Al Franken is going places

I’ve seen him two times on YouTube now, the first time responding to angry protesters, guiding them to dialog, and now the second time when he questioned an arbitration laywer about a case where a woman was gangraped in Iraq, and her contract stipulated that she could not go to court about it. He introduced and got approved an amendment so the government would no longer hire parties with those binding agreements.

Talking down protestors:

Questioning the arbitration lawyer

A man worth watching. I wouldn’t be surprised if this man, a former comedian with a great sense for timing and apparently a great sense of justice, is going (upward) places.

Categories
Blog News

Adobe Max 2009 Video Sessions

Adobe Max 2009 video sessions can be found here.

Categories
Programming

Local swf file with networking workaround: use Mini-Server (Windows)

Mini-Server_1

Recently  I created a small app to show off in a demo. It’s supposed to live on a webserver, and loads an xml file which contains urllinks using an HTTPService, and then assigns these links to buttons in a tabbed navigator flash component that’s located somewhere in the html page.

For the demo, I created a few dummy html pages that are kept in the same directory and pointed the urls in the xml to use those.

The problem I faced was that I didn’t have a handy webserver to store my release build on when I wanted to demo the app – when I started it up using Windows File Explorer, double clicking the bin-release html file, Flash decided to put it in a mixed sandbox security mode: local-with-network, which means that you forfeit local access to other files. And so my app suddenly couldn’t find it’s xml file anymore. And the purpose of the app is to put it up on a website, the local execute was just to demo to app.

[When you run your app inside the FlexBuilder program, by the way, this all works fine without any problems – it’s only when you do a release build that you suddenly start to learn about security sandboxes and apps with local or networking rights.]

I didn’t fancy writing a server in Python/CherryPy. Although quite possible,  it would take time, and I wanted a solution right then and there. It needed to be portable, and smallish, and as long as it could serve some static pages with client-executed content in it I would be happy.

Enter Mini-Server, which is completely standalone program, vintage 2006, about 462K, and does the job admirably. If you install PHP and show it where it lives it can even do php pages. It’s made by John Owen, which apparently is a nom de plume for a whole rafter of bitmonkeys who churn out one program after another… 🙂

Anyway, the problem is now solved: I start the mini-server, specify the port and root folder (only once, an ini file is saved for the next time), and hit run. I can then show off my demo site with a flash app that is served via http. Once the demo is done, I hit the stop button. It all fits on a usb stick, neat !

Please note that this is a small server for development purposes only. The author notes this as well, and it’s not something  I would stick on the intarnet without extensively testing it’s capabilities/security issues. But it is still a neat program to have on your usb stick when you rapido need a webserver!

Another solution is, on compile-time, using the flex-compiler publish setting to indicate the sandbox you want your application to be in. A user can then trust the flash app and it can then use both local and networking links. See the above Adobe link in the text for more details if you are looking for that solution.

Categories
Programming

Adobe Flex 4 or Flash CS5 To Be Used To Develop iPhone Applicaitons

Adobe is hard at work on giving developers the means to create iPhone application using Flash or Flex :

– how to develop iPhone applications using Flash CS5

– using Slider and Flex 4 to create iPhone applications

– Applications for iPhone Developer FAQ

While there are no public beta builds out as far as I know (the first one, Flash CS5 is promised for end 2009), this is exciting news for all of us using Flex or Flash to create applications !

Categories
Blog News

Migration troubles (are over)

I just migrated to a new web host ( Webfaction )  and it took some time and a support ticket over troubles with https settings, but all seems fine now ! Sorry if you got a blank page or other error message during the transition this weekend…

Just noticed that I lost my Akismet SPAM count though, which I find a bit sad. I think the last count was 24 000 or so spam messages blocked, which I am actually quite proud of (although the good work is all done by Akismet of course) !