Pencils Down

This weblog is about my experiences in software development

How Google Works

No comments

Book by Eric Schmidt and Jonathan Rosenberg

I had expected just a bunch of stories about working at Google or maybe even some technical details.

Instead it is chock full of advice, rules of thumb, you name it – that should help out in any modern company. Everything is backed up by rule x worked well at company y when we did z. And, we came up with rule x because a, b, and c were messing things up.

Might even be a permanent bookcase item.

Share

I ran across this ‘error’ this week. After poking around the internet for a while it looked like this is due to a bug in an older version of the SAX parser in the xerces library.

Well, we have quite a bit of code in production, so can’t just update the jar.

My original code was simply using the class loader to read in an xsd and use the Source of the xsd for a Schema that would be used to validate some xml entered by the user.

I toyed with this some and thought the exception sounded like it thought there was extra cruff after the closing tag of the xsd. So, I read in the xsd to a byte array, as before. I kept track of the byte count of read bytes, looped over the byte array (for that count), added each byte to a StringBuffer then converted the StringBuffer to a String. Voila!

Share

Experience: 5+ years
Must have: Core Java, J2EE, Spring, Hibernate, Web Services

I run a job site and am on the mailing list for quite a few contractor type roles. I am guessing close to half of the listings look like the above ‘requirements’.

I have even called a few agents asking if there really aren’t more requirements for the position. They have acted confused, as if they had no idea what I was talking about.

As opposed to the more typical job description with:
- contract or full time?
- contract length, w2 or not, …
- what industry?
- what kind of company?
- tools and methodologies in use
- list of mandatory skills
- list of optional skills
- list of would be nice “if you have developed an xyzzy before”

I can tell these jobs are not being filled as the same job offering comes through on feed after feed, week after week.

Who can afford to have these agents working that don’t produce? Maybe they don’t get paid unless they do produce. Then who is paying their bills?

Share

Sparse response:

3 Yes,

2 Will be

1 No

Only asked as this is the first place I have worked in many years that does not have JUnit as part of the build process.

Share

Wow! This statement is in the introductory section of an online python training manual.

Paraphrasing:
1 – don’t use a debugger, huh?
2 – use print statements, kind of ok
3 – write in small increments, yes

Nothing about using some kind of testing for your development. Why not push new users into some kind of test driven development and/or agile path?

Share

I thought I would pass this along:

I have several stacks of large PDF printouts at hand. Several are complete books that are freely available over the internet, as long as you print just 1 for you. Using various size clips is ok, but not really conducive to following along online.

OfficeMax (and probably all the office supply places) will wirebound these documents for you at $4.95 each. It just takes a few minutes. Great deal!

You now have a programming manual that will lie flat on your desk.

I had tried going even further and have them print it as well, but anything with a copyright is verboten.

Share

I know many of these are pretty good. I have taken several.

I have also seen, on average once a week, a craigslist ad like “Solve this Java problem for me $30″. Following the link provided the person usually doesn’t even bother taking down the heading for the course in the problem statement nor the code start.

So, this takes a little work to put the ad up and describe it in a reasonable way so someone would look at the ad.

Why not do the actual work on solve the problem?

Most of these I have seen are fairly small tasks that could be solved by RTFM or the teacher’s notes or paying attention or …

What possible advantage does someone get by paying to have a minor programming task done by someone else? Seems like just burying yourself deeper in a hole.

Most annoyed in that I take some pride in the classes I have taken online and that value is besmirched by some confused individuals.

Share

Was getting this error trying to run a hibernate query in a thread during startup.

Need to add @Transactional to the class. This tells hibernate to add the session to the thread.

Share

A new company, another set of random values for serialVersionUID.

Not sure why most programmers have the urge to put in some huge, ‘random’ number here. The objective is to match versions during serialization. Can’t imagine using a random number is a good idea.  Even better, the numbers entered are not random.

Sorry, this is just a pet peeve. There is much written up on using this correctly if you are truly serializing objects. I think I have seen this at every company I ever worked.

Share

Would you work where the programmers had to pass a personality test?

  • Yes (50%, 2 Votes)
  • No (50%, 2 Votes)
  • Have to be a lot of money (0%, 0 Votes)
  • Could I see the people that passed? (0%, 0 Votes)

Total Voters: 4

Guess this is a little to close to the PC line for people to express their opinion.  Too bad.

Share