Skip to content

www.rolfje.com

Category: Software

Programmer Quotes

Posted on 2008-12-19 By rolfje No Comments on Programmer Quotes

On StackOverflow, there is a question asking for the greatest programmer quotes you know. In the top 3 quotes are the following two quotes which I think hold much truth:

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” – Rick Osborne

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” – Brian Kernighan

These two quotes are briliantly summing up the usual rant I always use. “if my phone rings at 3 a.m. for a prio 1 production issue, I want to be able to easily read the code. And I’m not going to be awake or cheerful at that time of night.” I guess at that time of night, it’s easy to awaken the violent psychopath in me, and so it better not be “smart” code. CVS blame support anybody?

Software

Micro Victories

Posted on 2008-12-11 By rolfje 1 Comment on Micro Victories

TrophyThe last few weeks I was frustrated about not being able to write any code for the project I am on at work. My days are filled with email, spreadsheets, documents, discussions and distractions. All important stuff, I’m sure, but none of it has got to do with actual coding.

I tried to write code during the evenings for that project, just to get my kicks. Two things happened:

  1. Frustration grew, because I feel that this is the kind of work I should be doing during the day. 
  2. As I worked the late night hours, I realized I could never get it all done because the blocks of work were simply to large and required too much research to be done during a few evenings.

Read More “Micro Victories” »

Software

J-Fall 2008

Posted on 2008-11-13 By rolfje No Comments on J-Fall 2008

NLJUG small dukeLast wednesday I was at J-Fall 2008, a fairly large event for Java programmers in the Netherlands. This event is organized by NLJUG. You can read some of my notes on the different sessions in my public evernote.

Read More “J-Fall 2008” »

Software

Transporting Oracle CHARs over a dblink

Posted on 2008-11-04 By rolfje 1 Comment on Transporting Oracle CHARs over a dblink

Oracle LogoAt work, we’ve got two Oracle databases and a Java web application. One of the tasks of the web application is to copy tables over from one database to the other. Last week we ran into a funny problem which turns out to be an Oracle bug.

I’ve posted a question about this last week on stackoverflow.com but it seems that not many people are affected by this particular problem, or at least not many people know the answer to this particular little problem. We set out to tackle this and we did.

Read More “Transporting Oracle CHARs over a dblink” »

Software

The Three Great Virtues of a Programmer

Posted on 2008-10-05 By rolfje 1 Comment on The Three Great Virtues of a Programmer

I ran across this wiki page which has a nice piece on the virtues of a good programmer. I found it so recognizable that I decided to copy it over for you to enjoy:

“We will encourage you to develop the three great virtues of a programmer: laziness, impatience, and hubris.” — Larry Wall, Programming Perl (1st edition), O’Reilly and Associates

Laziness
The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don’t have to answer so many questions about it. Hence, the first great virtue of a programmer. Also hence, this book. See also impatience and hubris. (p.609)

Impatience
The anger you feel when the computer is being lazy. This makes you write programs that don’t just react to your needs, but actually anticipate them. Or at least pretend to. Hence, the second great virtue of a programmer. See also laziness and hubris. (p.608)

Hubris
Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won’t want to say bad things about. Hence, the third great virtue of a programmer. See also laziness and impatience. (p.607)

(The original context can be found at
http://c2.com/cgi/wiki?LazinessImpatienceHubris)

Fun, Software

Attention to Detail

Posted on 2008-09-14 By rolfje No Comments on Attention to Detail

As I explained earlier, I think it is really important to go beyond the specs. It’s really important to put care and attention in your product. The new version of iTunes has a great (little) example of what I mean. I use Itunes to play music through both the computer speakers and a stereo in the livingroom, connected to an Airport Express.

In iTunes 7, when I added the Airport Express to the set of outputs while playing a song, the music stopped, and after a while resumed playing through all the selected outputs. I never minded the short silence, and was amazed at how Apple got all the outputs to play perfectly in sync.

In iTunes 8 things changed a tiny bit. When I select the Airport Express, the music keeps on playing on my computer, and after a few seconds the music also starts playing from the speakers in the living room. An still, the music is in sync.

It’s these little things, the amazing attention to detail, that give Apple products a tremendous “perceived value”.

That, and the Genius button ofcourse. 🙂

Apple, Software

A Bigger Time Machine without Changing History

Posted on 2008-09-07 By rolfje 104 Comments on A Bigger Time Machine without Changing History

I had a 160GB drive holding my Time Machine backups. Because I wanted to backup external disks, and still wanted to be able to travel about a year back in time, I bought a 1TB USB disk. Stephen Foskett wrote a great article about how he migrated his TimeMachine backup to a larger disk, but it’s lengthy and misses one essential step.

I decided to give you the short version, this blog post describes how I migrated Time Machine to the new disk without losing any data in 11 easy steps.

Read More “A Bigger Time Machine without Changing History” »

Apple, Software

OSX: Formatting a 1TB USB Drive

Posted on 2008-09-07 By rolfje 7 Comments on OSX: Formatting a 1TB USB Drive

I just bought a Maxtor Basics 1TB drive, and found that I could not seem to format it using the Leopard Diskutility. Then, I found this page which contained the golden tip. I’ll save you some reading:

  1. Open Apple’s Disk Utility
  2. Click on the drive (not the partition in it, if there is any), and select “Partitioning”.
  3. Select “1 partition” and then press “Options”.
  4. You’ll see that “MBR” is the default, which is what’s causing the problem. Select the middle option “Apple Partition” and you’re good to go.

Screenshots included. It’s in Dutch, but the location of the buttons are identical for all languages.

Apple, Hardware, Software

Remove formatting from clipboard

Posted on 2008-09-05 By rolfje 1 Comment on Remove formatting from clipboard

In Windows, there is a great tool called “PureText” which sits in your tray, and can remove formatting from copy/paste actions if you want to. In stead of pasting into notepad, and then copying it again, you now can use the Windows-V combination to paste without formatting. It works in any program, and I’m a fond user of this little gem at work.

In OSX, you can do this with a key combination, Option-Shift-Command-V. Besides being the silliest and most awkward key combination ever to do a simple paste-action, it does not always do the job properly. I found this great tip where a simple applescript removes formatting from the items in your clipboard.

Read More “Remove formatting from clipboard” »

Apple, Software

Macbook Pro Screen update issues

Posted on 2008-08-18 By rolfje No Comments on Macbook Pro Screen update issues

My wife has this great Macbook Pro 15″, and I “don’t mind” using it every now and then. I noticed that when running on batteries, screen updates are a bit strange:

  • When scrolling down a webpage, the page get garbled. Scrolling the garbled piece out of the window and in again sometimes fixes it.
  • When resizing a Finder window, the icons in the window flicker a lot, you can see them being cleared and redrawn.

I noticed more people having these problems on several forums, and I also read that resetting the PRAM could fix it. Well, I just reset the PRAM and it seems to have fixed it, indeed.

I used the method mentioned on Apple’s support page, which tells you to shut the computer down, and boot it up holding the command, option, P and R keys. As soon as you see it shutting down after you’ve started it up, release the keys.

This is all I did, and it seems to have fixed it.

Apple, Hardware, Software

Posts navigation

Previous 1 … 5 6 7 … 14 Next
           

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Apple backup design DIY DRM eclipse environment Fun Garmin GForge gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote linux maven modelling music news opinion oracle osx photo photography programming repair review security Software Steve Jobs technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (66)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme