Showing posts with label operating systems. Show all posts
Showing posts with label operating systems. Show all posts

Saturday, April 10, 2010

The Apple of sin

I realize that I am biased against Apple as I'm not a fanboi of them and do not buy their products, but this time the situation is really ridicolous. As you may have read in one of the dozens of posts about the issue, Apple has decided that if you want to use the iPhone 4.0 SDK, you cannot choose the language to write your applications in (yes, also the linked posts are biased.)
3.3.1 … Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).
It simply does not make sense. Well, it makes sense from their business perspective, but not from the users and developers point of view. Users get less choice for apps, while developers are forced to use a particular environment which they may not be familiar with. Someone said that this is a move to prevent compilation of Flash applications into C (like Facebook has done with HipHop for PHP), a possible solution to get them running on the iPad.
Perception of software development is often confused from many people, so let's extend the metaphor to other fields, showing what would happen if this prohibition would be applied there:
  • you're not allowed to edit images that will be displayed by Apple products with Photoshop (ops, Adobe). You shall use the iPencil instead and scan your drawings in a iJpeg, which is like a normal Jpeg but costs a dollar a piece.
  • you're not allowed to write your PDF files displayed on Apple products with OpenOffice.org and export them in this format. You must use iWork (this one really exists.)
  • you're not allowed to play musical instruments to produce songs that will be stored on the iPod or similar products. You must use GarageBand instead.
And of course, you're not allowed to write your own source code the way you want it, and then compile (ops, this is real.) But my source code is my own business: if I want to write it in Brainfuck, I'll definitely write it in Brainfuck. It's Turing-complete, so Steve where's the problem?
Of course I will continue not buying anything from Apple.

Monday, August 31, 2009

The frugal programmer

In the current (2009) economic recession, many blogs about frugality have encountered their major success, aiding people to track and control their spending. A specific frugal approach for programmers and system administrators can help saving bucks, especially if you are exploring the freelancing world or bootstrapping a new business, and every dollar counts.

A side business can be an interesting adventure, and since many new business fail in the first years a little budget is the way to reduce risk to a fixed amount of money and time, playing with what you can afford to lose only. Since this strategy will result in a tight budget, here are some tips on how to manage your freelancer tools along with keeping an eye on how much you are spending.
  • upgrade boxes with crucial hardware. Instead of purchasing a brand new pc, in many cases a pair of new parts (Ram and disk space) can extend the box life of some years; of course a lighter OS will contribute to the revitalization.
  • recycle old machines. Lan servers do not have big requirements and a source control server can be built from nearly anything. I use a old laptop with broken lcd screen and automatic connection to the wireless lan as a http server for staging php applications without weighing down my development box.
  • recycle peripherals from previous machines. Many pieces of equipment have follow the same standard for decades and can be ported from an old machine to empower a new one. Printers and scanners are obviously regained but also keyboard, mouse and monitor can be attached to a new box as they have no performance penalties.
  • use Open Source Software. Ubuntu Linux is a very solid distribution and it contains many application for every kind of usage; I use only Ubuntu on my home pcs: Apache, Php, Mysql, Subversion are examples of what Open Source can do. The expertise that you learn using Open Source tools is also a good know-how that can be useful in your future jobs and projects.
  • buy consumables in bulk. Faster networks and flash cards are killing compact discs and other old media, but when they are still useful you should buy them in large packages (50, 100 pieces) as the total cost can go down to half of the original.
  • do not buy Apple. I think quality is why a Mac cost so much, but an Apple product comes with little upgrading capability, and with a stable but fixed Os where you have to use port of popular applications. I know Macs have nice curves and a good user experience but it does not help when you have to save money: for instance I mainly use command line and vim, where a Mac does not excel more than a old pc with Ubuntu Jaunty installed.
I hope these strategies can help you spend your money better. You should make investments in your tools by spending where you feel a return, such as a comfortable and well designed chair or a lcd monitor for preserving your eyes; only ensure you are not throwing money down the drain.

Featured post

A map metaphor for architectural diagrams

It is a (two-dimension) representation of a pipe. The map is not the territory , but in software engineering terms they are models of it....

Popular posts