Archive for November, 2008
I had better hopes for day two of QCon. With a DSL track, and Agile, things couldn’t get wrong here, now could they? Yes, ehhm,…well…
Okay, day two, which is still in progress, is quite a disappointment. Again. I don’t know, maybe it’s me or something (it probably is), but the things I heard today were all centered around the ‘open door’ theme: I already knew them, or they so obvious, it was hard to miss, and the presentation didn’t add much to that knowledge!
The presentations I’ve visited were the following:
Cultures Where Agile Emerges, by Pollyanna Pixton
In contrary to the above: this one was great. It was excellent! It was a really good start of the day, and it provided a lot of insights in great leadership and excellent teamwork. Pollyanna gave an inspiring talk with a lot of new and refreshing information! When I left the session, I felt truly inspired about the things told, like the decision making process of teams (I liked the quote that manager who knew less, usually decided more (this is a bit taken out of context, but it means that the higher you are in an organisation, the harder it gets to keep track of all the things going on around you. Having people who know those details make the decisions is therefore a logical result, which is the approach Pollyanna proposed. But, to be able to do that, trust is necessary). Well, a lot was told, and I left the presentation happy. I think there wasn’t a single yellow (nor red) note in the basket, so I guess I’m pretty safe to call this one of the best received sessions of the show!
The Joys and Pains of Long-lived Codebases
I’m always interested in long lived codebases. When you work with a team on a codebase, different opinions, ideas, techniques get into the codebase over the years, and you have to manage this complexity. This presentation was about the pittfalls, and how to overcome them, and even though it was in .Net, it should prove to be useful, right?
Well, instead of a batch or webbased application with tens of interfaces, deployment descriptors, developed by distributed teams, we got a presentation about Structuremap, an IoC container developed by a single programmer. Not necessary bad, but this didn’t really match my expectations. Furthermore, the talk proposed some solutions which aren’t bad (at all!), but which I/we already do, like internalizing testdata (since XML or SQL in tests are hard to maintain). Not a bad talk, it just didn’t match my expectations.
Groovy DSL’s, by Scott Davis
I like Scott Davis. I’m a real big fan of his Grails series at IBM, and I love the way he explains. Not during this talk though! The promise was a presentation about Groovy DSL’s. 20 minutes of the talk was spent on explaining what a DSL was (come on, this was the 3rd or 4th presentation in the DSL track!), after that, a introduction to Groovy (argh!!! If you don’t know Groovy, you’re not in that session!), a way to use Groovy in shell scripts (a DSL? Come on!), and after that, finally, a DSL….about time calculations!! NOT AGAIN! After that, I left the session. If the description of this sessions was something like: ‘An explaination what DSL’s are, an introduction to Groovy and using Groovy in the shell’, it would have matched my expectations (not that I wouldn have visited the presentation then..). But this was totally different from the description. A big disappointment.
After this, I went to another talk, about Agile in the Enterprise, but this wasn’t Agile in the Enterprise, this was a bullet point presentation about implementing Lean. I don’t want to write anything about that. Like before: not a superbad presentation, but not what I expected, nor what was written down in the description of the session. A waste of my time.
What I discovered during most talks is that a lot of the talks were not bad in itself, but just didn’t match my expectation. A lot of the sessions were at a beginners level, and didn’t match the description is the programme at all! I would say: fix that, and remove the beginners level sessions. My epxerience is that most programmers attending the sessions have at least 5 years of programming experience, and are also (a little) experienced in the subject of the session. If you’re a presenter, and you’re unsure what kind of audience you have in front of you, simply ask! If no-one is a beginner, then skip the intro. Easy as that, right?
Well, let’s see if the next and final day of QCon 2008 will bring some more indepth sessions. I certainly hope so!Read Full Post | Make a Comment ( None so far )
At the moment, I’m visiting QCon 2008 in San Francisco, to learn more about effective design, Agile processes and DSL’s. Today, on day one, the two first topics were touched: effective design and Agile processes.
Too jump to conclusions: day one was a bit of a disappointment. Unfortunately, I wasn’t the only one who felt that way. The quality of each session could be expressed by dropping a colored note in a basket at the end of each session. The colors were green, yellow, red, which respectivly meant great!, okay, and not good. I’ll use this convention in my blog entry.
I’ve visited the following sessions:
How to Build Any Team any Time, by Christopher Avery
Really nice presentation about aspects of normal work, like teamwork, responsibility and blame. A nice and simple exercise to get the audience a bit loose, and some nice insights in the way power works. Also some great book tips, for example: “The faces of power”, by Kenneth Boulding. A well deserved green card, but unfortunately the best presentation I saw during the day.
Qualities of great code, by Marcel Molina Jr
What can I say about this session? At the start of the session, the room was full. Halfway, at least a quarter of the attendees had left, and at the end, more than half of the attendees had left the presentation. This was also reflected in the rating of the session: more red than yellow, and I saw no green.
I was such a shame this presentation was so bad received, since the topic is Great/Clean code is interesting enough to write a whole series of books about. It was therefor a bit of a disappointment that during the complete presentation, not a single piece of code was shown, and most things that were discussed were ‘Ruby is so great, but tell me audience, how can a programming language be even better’. The audience was surprised. At least I was. Sorry Marcel, I think you can do a whole lot better than this!
Responsive Design, by Kent Beck
I felt a bit disappointed by this one. Sorry Kent, but I expected way more than this, but I’m sorry for putting a red note in the basket. It really wasn’t that bad, it’s just that I expected much more of it. My idea was that most things told were an open door. Stepping stones, drilling down to the simplest solution: that’s the thing I try to do (almost?) all of the time! My mind doesn’t work when trying to solve a million piece puzzle, but I have no problem with connecting 2 pieces of puzzle a million times. So I totally agree with you on your approach, but I guess I expected something else here. But I like the idea of keeping track of all design choices which you’d have done differently. I might try it out!
10 Ways to improve your Code, by Neal Ford
Another one which disappointed me a bit. The outline of the presentation described that “Everything in this talk may not be new to you, but I guarantee that you’ll see some things that will make you reevaluate the way you think about your code.”. Well, Neal started with tip 1: extract method, to create readable code, prevent duplication and let the code be the documentation. Well, I already knew that one and apply it almost everywhere. Another tip: Use Findbugs. Hmm, well, isn’t that standard? Another tip: don’t use Singletons. I thought we stopped using that since 2001? I can’t make any remarks about the other 5 tips, since we left after that, but I encountered this list which has the rest of the tips. They look more interesting than the first 5 tips, but like I started this paragraph: I expected more!
So, like said before: day one was a bit of a disappointment. The conference itself is great and all, but unfortunately I choose the wrong subjects. Well, I hope tomorrow will be much better. DSL’s, here we come!Read Full Post | Make a Comment ( 1 so far )
There are some differences between Linux and Solaris commands. I’ll try to give a brief overview here of the differences, starting with two commands I encountered yesterday.
|cat /proc/cpuinfo||psrinfo -v -p|
When I find more, I’ll put them up here. Suggestions welcome ofcourse!Read Full Post | Make a Comment ( 1 so far )
My progress of my OpenSolaris configuration is going at a steady pace, and it’s now time to do some migration of data. It has been written a thousand times before, but who cares, I’m going to write it again:
I want to login without passwords, so I can copy stuff using my laptop, but it in the background and get some well deserved (and needed) sleep.
It actually kinda easy, if you know how to do it:
On the machine which needs access:
scp ~/.ssh/id_dsa.pub email@example.com:
And, on the machine you want to access:
Is it that easy? Yes, it is that easy!Read Full Post | Make a Comment ( 2 so far )
This is my first blog item on this blog ever, and it’s not about Groovy, nor Grails, nor Java. This one is about installing OpenSolaris 2008.05, and some of my experiences while doing so.
First a small disclaimer: my current OpenSolaris knowledge is limited, and I have only started playing with it for around 20 hours or so.
My goal is to build a media server, which should serve my Squeezebox. For that, I’ve bought some hardware, including:
- 4 x 750gb Samsung HD’s
- ASUS Stuff
- 2 GB ram
Which should result into a Network Attached File Storage with 2 TB of HD. This is accomplished by using RAID Z on a ZFS filesystem, but more about that later. I thought about using Ubuntu + LVM + RAID 1, but I heard that it promotes datacorruption, since it doesn’t do checksum’s like ZFS does, so I skipped that idea and went straight to OpenSolaris. Well, almost straight anyway: I first tried Solaris 10, but since that one didn’t boot (Image doesn’t fit memory error or something) I decided to go for OpenSolaris. Never worked with it, and a nice learning experience, so I thought.
What I first wanted to do, is to format all the HD’s, partition them, mount them, and put them into a RAID something configuration. Well, it turned out I was quite wrong here.
1) Partitioning is something which is apperantly not done in Solaris
2) Formatting IDE disks is something from the past?
3) Mounting them….well, I don’t think so!
What I had to do was: type format, which resulted in this dialog:
Searching for disks…done
AVAILABLE DISK SELECTIONS:
and press CTRL+C after that. I needed that for a listing of all the available disks, which are identified after the number with the dot. In my case, c4d0, c4d1, c5d0, c5d1 and c6d0 are my disks, where the last one is my boot disk.
To make this a RAID Z ‘cluster’, I only had to type this:
After that was done, I needed some quotas. So I created some filesystems:
zfs create tank/applications
And the filesystems were created. Easy as that! Next, the quota could be set, since I don’t want my media to overrule my running applications. This could be done with the following command:
and can easily be checked with the following command:
NAME PROPERTY VALUE SOURCE
tank/media quota 1.95T local
The next thing I have to do, is to install some applications on it, but first disable the GDM/X graphical login window. This can be done like this: