Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: Stupid meme.... I have no idea why I'm doing it... 6

1. What is your occupation?
Software Engineer/Architect
2. What color are your socks right now?
None
3. What are you listening to right now?
MadTV (the Colbert Report just ended)
4. What was the last thing that you ate?
IHOP, which is probably why I'm at home trying to take my mind off my gut...
5. Can you drive a stick shift?
Yup
6. If you were a crayon, what color would you be?
Don't care
7. Last person you spoke to on the phone?
My boss (calling in sick)
8. Do you like the person who sent this to you?
Ethelred? Of course, as I plan on having a small piece of the universe to own once he rules...
9. How old are you today?
30
10. Favorite drinks?
Dunkin Donuts Decaf with cream (heavy cream, not milk, not half and half)
11. What is your favorite sport to watch?
NFL football
12. Have you ever dyed your hair?
Nope, and there is little left to dye.
13. Pets?
One dog Alex (half German Shepard, half stupid dog), and two kids. 14. Favorite food?
Lately its been "Quaker Steak and Lube" wings, but I'm always up for any type of hot, garlic wings.
15. What was the last movie you watched?
Casino Royale (which kicks ass, kids, no joke)
16. Favorite holiday?
Christmas?
17. What do you do to vent anger?
Kill people........ online
18. What were your favorite toys as a kid?
Transformers
19. What is your favorite: fall or spring?
Fall, when everything is dying (part of George Carlin's 'football' routine)
20. Hugs or kisses?
sure
21. Cherry or blueberry?
blueberry
22. Do you want your friends to send this back?
Probably won't read that many more... meme's die quickly with me
23. Who is the most likely to respond?
No idea
24. Who is least likely to respond?
Probably someone who hasn't even seen it
25. Living arrangements?
Wife, two kids, and a dog in a house
26. When was the last time you cried?
No idea... probably when my son was born.
27. What is on the floor of your closet?
I don't have a closet (live in the finished basement... next remodeling project will be a closet, though ;)
28. Who is the friend you have had the longest that you're sending this to?
this isn't an email, but on the list of users, I've known glh since highschool
29. What did you do last night?
I have a stomach bug, and I'll be happy to go into detail if you'd like....
User Journal

Journal Journal: Learning CSS and some Java stuff 10

As embarassing as this is to say, I, a web developer, don't know CSS. Any good books to learn this quickly? I know the high level concepts, just not how to put them into practice. I usually work on back-end systems (spring/hibernate/daos/business logic/etc...), which is why I never even attempted to learn it. Its not a requirement for me to learn it, but I think I've ignored it long enough...

Oh, and in Java 1.5, I'm using enums to their full potential. Great little things, those enums. Can have their own methods, implement interfaces, and even have constructors! I even use a visitor pattern in the enum to seperate some sql building from the enum logic...
User Journal

Journal Journal: Casino Royale, Spoiler-free version 8

I am a big Bond fan. Seen them all multiple times, know the trivia, etc... Sean Connery is the best Bond, followed by Pierce Brosnan. When Daniel Craig was selected as Bond, I hated the idea... Clive Owens was meant for the role. I even considered not going to show my displeasure...
Well, my inlaws were in town and watching the kids, we wanted to see a movie, and I was outvoted. We saw Casino Royale.
Having said all of that, I was going in to hate it and hoped to maybe be surprised and it wasn't terrible.

While I STILL think Clive Owens would make for a great Bond, Casino Royale is easily one of the best Bonds ever! Yeah, I said it... one of the best. Right up there with Goldfinger.

While there was a lot of action, there was a ton of character development. This movie was really a big character development. It is the first story of Bond, and even starts BEFORE Bond is a 00 agent. They wanted to change things around, so you won't see Q (or R), no martini's are ordered shaken and not stirred (in fact, he orders his martini exactly how Ian Fleming wrote it in the book), and the comic relief is few and far between. Even without all of the traditions, its one of the best Bonds. Even if you don't like Bond, this is a great movie, if you have only seen a few, you will understand all the subtleties. Really a quality movie, IMHO...
User Journal

Journal Journal: No Wii for me.... 12

While I'm working from home today, the heater guy comes in to clean the heater. I have them come in every spring and every fall to clean the heater/ac/water heater...

It should be noted that I just replaced my roof a few weeks ago and replaced my water heater last week...
So I find out there is a crack in the heat exchanger. That brings carbon monoxide into the house and spreads it around. My daughter puked last night, and I can't help but think this could be a reason (or at least a factor).
So I have to replace my furnace. So much for having a Wii anytime in the next year.... My bonus next year should handle the roof, but it'll take another year bonus to handle the furnace. When it rains it pours, eh?
User Journal

Journal Journal: [College Football] The UPSET! (not OSU/MU) 2

Yeah, I watched the big game, but it was nice to see my alma mater play on ESPN during primetime... ALMOST over, and THEY PULL THE UPSET! Heard about the possibility of Rutgers playing in the BCS championship? IT AIN'T HAPPENING!

Yeah, a football fan went to a basketball college (I went to UC instead of OSU... better engineering program).
User Journal

Journal Journal: [Java/Hib3/EJB3] HQL 'like' clauses.... 4

Ugh, I just spent hours of research to find something. I know this only pertains to <5 people that read this, but I wanted it to be available to the rest of the net in case someone else has the same issue:
If you are using a 'like' clause in hql (I use spring's hibernate template), this is wrong:

getHibernateTemplate().find("from Upc upc where upc.upcNumber like '?%'", new Object[]{param});

HQL doesn't like the look of %'s in its queries... so you have to change it to:

getHibernateTemplate().find("from Upc upc where upc.upcNumber like ?", new Object[]{param + "%"});

The error message I got was out in left field:

IndexOutOfBoundsException: Remember that ordinal parameters are 1-based

REALLLL helpful, there.... sheesh...

User Journal

Journal Journal: Want to be a coveted Java developer?? 14

In my new job, I have to review consultant resumes.
As I've mentioned before, we use the powerhouse three in the java world:
Struts
Spring
Hibernate

As I page through these resumes, I see quite a bit of struts, and that's it. Those with spring/hibernate experience are powerhouse architects (probably too expensive).

So if someone has WORK EXPERIENCE in spring and/or hibernate, they are getting an interview. Its that simple.
Blathering idiot? But you used spring at your last job? Come on in!

And for god sakes, don't make up design patterns then put them on your resume (or say that a core GoF pattern is a J2EE pattern)... if I interview you, I will embarass you in front of the other interviewers. What you put on your resume you should be able to talk with me about, in depth, and I will ask lots of questions ranging from what I expect a correct answer to architect type questions that have no right answers.

But, seriously, just having java experience for 20 years doesn't fly... someone with 3-5 years experience with those new techs will get you a great job with great pay (at least in this area). So for you aspiring Java developers (here's looking at you Sam), consider learning those techs when you feel ready for them... or consider switching to using them in your current job:
Struts is a front end web api, spring is a transaction/middle tier api, hibernate is an object/relational mapper (DAO/DB interaction). Hibernate is a stiff learning curve, but you can learn it very quickly. Struts takes time and maybe some guidance. Spring is, by far, the most complex, but when you learn how to use it to its full potential, you will be heavily coveted.

Update: Oh, and don't put you have 'spring experience' at the top of your resume, then not have it in any of your work experience of hobbies. You have spring experience? Where? How?
User Journal

Journal Journal: Pirates! 7

I was finally able to crack open the gift the fellow slashdotter (who wishes to remain anonymous) bought me for my birthday. A Sid Meier game, so its automatically good, right?

What I was planning on doing is playing the game a couple hours, then writing a 'first impression' of the game....
Well, I started at 10pm last night. When I was done for the night, I thought "well I did a lot in those two hours!" Then I looked at the time... 2:30am. Definitely not the first time I cursed Sid Meiers name for 'forcing' me to sit and play his game well past what I had planned... reminded my of my old 6-10 hour one-sitting games I played of Civ2 and SMAC (we liked the name 'smack' for a reason) ;)

What can you do in the game? Well, you have a ship, can pick a country to initially fight for (spanish, dutch, french, english), then you can kick some ass.... well, there are 'legit' ways to play the game... trading between ports and such (BOOOORING). I played for the english (was suggested for beginners) and started by only attacking those against the english flag (lets just say the french were PISSED at me for quite some time). You come into ports and can get more crew, sell the stuff you stole, repair/upgrade/sell ships, etc. You can also talk to the governor. He will either yell at you (for attacking ships of his country), congratulate you (for attacking his counties enemies), promote you (for REALLY attacking his countries enemies, doing missions for him, etc...), introduce you to his daughter. She will ask for jewelery, or other stuff based on your rank (the prettiest will only talk with high ranks). If you are good enough, you can 'dance' with her, which is a game of 'figure out the next move, and hit that key at just the right time... which is surprisingly like fencing in the game). The real meat and potatoes is sailing. Its just 'turn left' and 'turn right', and adjusting your sails... you have to SAIL with the wind and such. Sailing into the wind with the wrong kind of ships can be pretty slow going (watch how much food you have!). The map is enormous, and hard to manipulate (as the wind is mostly heading west, so once you start going west, getting back can be hard going). Battle can be chosen by any ship (unless you really piss someone off and they come after you). Battle is just like a naval battle should be. Cannons are on the sides of the ships, you get to pick your balls (round for hull destruction, chain for sail destruction, and grape for crew destruction). If you get close, they will either surrender due to damage, or you board, and you have to fence the captain. Fencing, like I said, is like dancing (press the right button at the right time). Its surprisingly quick and I've had games that I go either way, so its not really 'easy', but it can be.

Anyway, my 'first impression' was that the game was a little too easy. It 'told' you how to dance with governors daughters... it 'told' you how enemy captains where going to strike in swordfight... it was pretty easy to kick ass and take names...
But the neat part of the game is that even though you can get a whole fleet of like 5 ships from stealing from enemies... after 9-12 months of sailing, the crew grows restless, and you ahve to dock, divide the loot (you get like 10%), and you only get to keep that 10% AND only your lead ship. Well, when you do that, you also can 'level up'... now the things the game 'told' you are no longer available. Dancing I find incredibly hard, cause you have to go by hand signals the governors daughter gives you which happens one beat before you have to press the button... I just lost two sword battles (and now I have to pick which type of sword to use!). Enemies realize when you can outmanuver or outgun them, so they try to quickly run in for sword battle....

Whats the best, though? I still haven't scratched the surface of everything you can DO in this game. I've only covered maybe 25% of the map, I haven't looked for buried treasure, I haven't tried to attack a town, I haven't found any of my family (that's the plot of the game... evil baron enslaves your family, you escape, grow up, and are part of a mutiny and are voted the new captain...).

Not turned based like normal Sid Meier games, but just as ridiculously addictive as the rest of his.... not recommended unless you have several hours free ;)


Giant thanks to that anonymous slashdotter again... going to enjoy this one for quite some time!
User Journal

Journal Journal: New political website idea... unless its already been done.. 15

What I really want to see is a website that has all the things that will be on my nov ballot. I want to see each person, their party, and their views. No mudslinging. Then I want to see all the issues and their pros and cons.

Wouldn't be tough to MAKE a site like this. Have the reps sign themselves in and put in their own views (though there will have to be rules against trickery or trying to sit in the middle of the fence).
I don't want to WRITE the site... I just want to USE the site. I hate having to do my own research, cause candidates only smear the other candidate instead of actually telling us their views (Jean Schmidt is my congresswoman... not a fan of her, but her opponent is equally inept. I have no idea which to choose and will have to spend time researching it only to find that I'm screwed regardless of how I vote...). Anything like this already exist, by chance?
User Journal

Journal Journal: Five Years.... 18

Wow... Yesterday marked my five year anniversary of writing online journals. Looking back I can see everything from the birth of my children to my days as a thorn in the side of the slashdot editors to my current general apathy of the whole thing to when the 'JE circle' people started forming... Wow... I've been doing this for five years and you suckers have been reading it most of the time ;)
User Journal

Journal Journal: Today's Straight Dope 5

For those that don't read The Straight Dope, its an old weekly newspaper article from Chicago where a really smart (cynical, funny, etc) journalist (Cecil) has a whole slew of researchers and they answer pretty much any question ever asked (go through the archives... anything from 'could a plane take off from a treadmill going the opposite direction' to the 'nutritional breakdown of semen').

Today's article will be a classic.... discussions on what happens when werewolves and vampires fight, how much blood a vampire needs daily, and sex with zombies.... funny stuff!
User Journal

Journal Journal: Politics - The lesser of two evils 14

The only thing I wish for this country to truely change in politics is the removal of smear campaigns. I want candidates to tell us who they are, what the stand for, and the platforms they support. The end.
But now its just 'look what he did!', 'can you believe she did this!', 'look at how undecisive he is!', 'She flipflopped and here is her history on it...'
Smear back and forth... back and forth. So when we vote, we aren't voting for who we support or who stands for what we stand.... we are voting for the lesser of two evils, which is dispicable in my opinion....
User Journal

Journal Journal: Another thank you! 13

Another thank you to an anonymous person that bought me a game off my wish list. I'm guessing it was a birthday gift, and I intend on installing it and playing it... But I don't know how soon... You see, my wife opened it, then told me it was something she thinks she'd enjoy, so I'll have to pry it off her hands, first ;)

Anyway, a big thanks... can't wait to rip into it :D
User Journal

Journal Journal: I don't care who you are, this is damn funny 6

Yes, its an NFL football topic, but you don't need to know or care about the game to enjoy this. Only football game out there is "Madden"... want to know what its like to be the worst rated player in the game?
Ethan Albright, the worst rated player in madden has a few choice words to say about the subject. Its an open letter to the producers of the game, and Mr.Turducken, himself...

Slashdot Top Deals

An authority is a person who can tell you more about something than you really care to know.

Working...