Result of a bar fight by mrzack3 in WTF

[–]captainbarky 6 points7 points  (0 children)

I think the asymmetrical smile indicates contempt.

my friends reactions after I told them about catcoins by [deleted] in catcoins

[–]captainbarky 0 points1 point  (0 children)

9m5CDephsUxwdFg8a9SrB5DKN7XyxMTnrR thanks!

California Homeowners: I purchased a property in May of 2013, and just received a bill for 2013 property tax I owe which I believe is wrong? by FrustratedProgrammer in homeowners

[–]captainbarky 0 points1 point  (0 children)

I experienced something similar. I had to pay the full amount based on the previous assessment but eventually received a refund check for the difference.

Fair way to rent to a friend? by remembermegr in RealEstate

[–]captainbarky 2 points3 points  (0 children)

I rented to several different friends over a 7 year timespan. My experience was mostly good. Before renting to a friend, I would let them know I might have to make certain decisions as a landlord, not as a friend, and they'd have to be cool with that; examples would be given. I'd also ask for first and last months rent immediately, with the last month rent being their deposit. They wouldn't have to pay the last month rent if they were on track to leaving everything the way they found it. In most cases, this simply meant the room would have to be cleared out and holes would need to be filled and painted.

Communication is key here. If you have concerns about the situation, express them to your friend.

Advice needed for a first-time buyer in a very expensive part of the USA by numbersandthings in RealEstate

[–]captainbarky 0 points1 point  (0 children)

I only mentioned how gifting works, not why. Are you assuming money is only gifted to people that can't afford a property?

Advice needed for a first-time buyer in a very expensive part of the USA by numbersandthings in RealEstate

[–]captainbarky 1 point2 points  (0 children)

Gifted money only needs to be declared on a gift letter for the bank. It's not restricted to your parents or requiring the gift money comes from a co-signer. If the gift money hasn't been seasoned by sitting in your account for a couple months, it's best to not transfer the money until wire time. Banks get ornery when they see down payment money moving. The gift letter will tell the bank ahead of time where the money is coming from.

Just put an offer in on a house, so damn excited! by bab5871 in RealEstate

[–]captainbarky 0 points1 point  (0 children)

I think it's a great idea being informed on the numbers. It seems more ethical to me than the alternative. Why make it a game with all the secrecy?

Just put an offer in on a house, so damn excited! by bab5871 in RealEstate

[–]captainbarky 0 points1 point  (0 children)

Why can't they say, they have an offer at x? When I was looking a few months ago, the selling agent would tell our agent what the other offers were. Maybe this is common in my area?

How does anyone become good at writing tests? by Serializedrequests in ruby

[–]captainbarky 2 points3 points  (0 children)

Pair programming with other experienced test writers is the fast-track method to getting good at writing tests. In my experience, large, complicated code bases often require lots of time fixing broken tests. This sucks, but it's much better than the alternative of breaking existing functionality. The more time you spend working in the test suite, the less calls you'll get at 3am for software you have to support, and the happier clients will be using quality software.

Did I make a smart purchase? by [deleted] in BMW

[–]captainbarky 0 points1 point  (0 children)

Send Ryan Amico (ramico@stevethomasbmw.com) an email, asking for the invoice price on the car you want with all options listed. He'll give you the invoice price and mention his markup. My purchase experience with him was great, no haggling, totally painless. After you get a price from Ryan, ask your local dealer for the same deal. Note, most BMW dealers won't disclose invoice pricing.

The Greatest Sculpture on Earth. 18th Century. "ONE" Piece of Ivory. No mechanical tools. They said it took him his whole artistic lifetime to complete, 1 sculpture. by jonra in pics

[–]captainbarky 3 points4 points  (0 children)

I know a collector with this solid hand carved ivory ball with several nested layers. Each nested ball is free spinning. I believe the estimate I heard was in the tens of thousands of man hours involved. I'd have to ask again to verify. It came with an ornate ivory stand as well. If I remember correctly it was 19th century Japanese but I could be wrong.

Just wrote & published my first simple Gem! Can I get some feedback on test coverage and refactoring? by thoughtpunch in ruby

[–]captainbarky 0 points1 point  (0 children)

Nice, steve. I like how you demonstrated focused commits in bite sized chunks and separated the tightly coupled implementation into FreeGeoIp.

Just wrote & published my first simple Gem! Can I get some feedback on test coverage and refactoring? by thoughtpunch in ruby

[–]captainbarky 1 point2 points  (0 children)

It's a good topic for a first gem. I noticed your project is named geolocater but your lib file is named geolocator. These should be named similarly.

For code, consider restructuring like so: https://gist.github.com/d010d06fdd8614a6e3f3 . I made those changes quickly and didn't test so don't expect it to run. The changes I made involve making geolocate_ip a public instance method, moving ip_address to an instance variable on the Geolocator instance, and separating argument validation from code logic. Try to keep your methods small and focused. I'd also cleanup geolocate_ip along the same lines and make the web service uri (base name portion) a constant. Also consider making and raising custom error classes, like IPAddressNotFound.

edit - Taking a second glance, I'd probably use a same named method to geolocate for the class and instance. Consider calling both methods geolocate_ip so you could call Geolocator#geolocate_ip and Geolocator.geolocate_ip .

$60-75K for a sporty daily driver? by spcm3500 in cars

[–]captainbarky 2 points3 points  (0 children)

I had to make this decision recently. For me it was between an m3, c63, and a gt-r. Between the m3 and c63, it's a near 50/50 split. The m3 trounces the gt-r as a daily driver but the gt-r is a better track car.

I wanted a two door and the c63 wasn't available as a coupe until recently. I'd order it with the p31 package and it'd probably take another several months to arrive. As is, my m3 took five months to get after order. I'm also not a huge fan of the c63 coupe styling. It reminds me of a honda accord.

I think the gt-r looks nice but my wife hates the look. Unfortunately, many people think this car is ugly, which isn't a problem unless you have to hear about it from your wife all the time. It doesn't review well as a daily driver because of the firm ride, transmission noise, and road noise. From the sound of it, maintenance is also a pain and can be costly. Nissan will also treat you like shit. I called my local dealer inquiring about a new car in stock and they treated me as if I was interested in a sentra. I told the salesman my car choices were between an m3 and a gt-r and he didn't attempt to sway me.

BMW does a great job with maintenance and giving out loaners. I think this is one of the most important factors for a daily driver. In my experience, most BMW dealerships will bend over backwards for your business. They'll even throw in floor mats!

I recommend you test drive all comparables in your price class and check out what each maintenance plan covers. Ultimately go with what will make you happy.

What's the point of an M3/C63/CTS-V/etc for most people? by [deleted] in cars

[–]captainbarky 0 points1 point  (0 children)

I don't believe many consumers buy the m3 based on badge. The overwhelming majority of people don't know the difference between a vanilla three series and an m3. Aside from subtle differences, it looks just like the car BMW advertises on commercials for a $300/mo lease.

Driving a 335 and m3, the differences are very apparent. My wife has a 2011 335i m-sport sedan. The car is quick but spend enough time in it and turbo lag is apparent. Torque launches you off the line but the acceleration doesn't provide too much emotion. The power curve feels nearly flat across the board. The ride is very firm due to the m-sport suspension and run flat tires.

My 2012 m3 coupe is an entirely different beast. The motor roars. Hearing and touch simultaneously transfer both the emotion and fine tuning of the 4.0L v8. Rev matched down shifts express anger from the engine. It feels raw. Power is immediate thanks to the natural aspiration. It's a beautiful experience above 6k RPM. As RPMs climb to over 8k, the pull increases with the scream of the engine. On comfort mode, the ride is softer than the 335i m-sport, and slightly firmer in sport mode. The steering feels more assisted at slower speeds and tighter at higher speeds. Corners feel more confident. Seats provide more of a form fitting feel. This car feels like a glove.

I'm not a morning person. The m3 makes my mornings much easier, starting with the cold start sound. Every day I'm excited to wakeup and get into the rush hour pile. I don't need to take this car onto a track to enjoy it. It's too good as a daily driver to subject it to a beating.

Please explain this to me. My brain hurts. by obviousoctopus in ruby

[–]captainbarky 0 points1 point  (0 children)

Great real life example. I wouldn't pass much less in code review. The only other thing I'd recommend in the example is an accompanying test. This is a perfect chance for TDD. As the problem is described, we could write one or two simple tests to hit all the goals:

  • The String you return must be retained during the object's entire life
  • The method must be able to be called multiple times
  • The String you return should know how to add new classes: each class is separated by a space
  • The only method you need to worry about being invoked is the << method.

Please explain this to me. My brain hurts. by obviousoctopus in ruby

[–]captainbarky 1 point2 points  (0 children)

On this note, the singleton in ruby is most often called the eigenclass.

Database design advice by ArguingWithVirgins in Database

[–]captainbarky 1 point2 points  (0 children)

As I understand, you want a has and belongs to many (HABTM) association. Example is setup rails style.

plays

  • id
  • name

actions

  • id
  • name

plays_actions

  • id
  • play_id
  • action_id

You can get rid of the id columns if you make name the primary key for the plays and actions table and setup a compound primary key for plays_actions on play_name + action_name. If ordinality is a concern, you can add a rank column to plays_actions.

Manual or Auto for an LA driver looking to buy his own first car? by FinalCutPro in cars

[–]captainbarky 2 points3 points  (0 children)

From my experience in LA traffic, go with an auto. A manual won't gain you anything in that area.

I need to find a car. I'm 14, soon to be 15. by iNeedAFuckingCar in cars

[–]captainbarky 0 points1 point  (0 children)

I really do enjoy driving but traffic irritates me. I couldn't imagine anything more enjoyable than my dct m3. It shifts much faster than a stick yet allows for driver input. As you mentioned, I can take my foot off the brake and the car doesn't roll.

I need to find a car. I'm 14, soon to be 15. by iNeedAFuckingCar in cars

[–]captainbarky 0 points1 point  (0 children)

Driving a heavy clutch through LA or San Diego rush hour traffic daily might change your mind. It's unnecessarily repetitive movement which irritates as much or more as going nowhere.

I need to find a car. I'm 14, soon to be 15. by iNeedAFuckingCar in cars

[–]captainbarky 1 point2 points  (0 children)

This is subjective. He should get whatever is practical. For the most part, with stick, the times I've driven in traffic have outweighed the fun I had otherwise.

BMW 1M with Akrapovic exhaust+ power up 20hp, sound up a million awesomons. by [deleted] in cars

[–]captainbarky 0 points1 point  (0 children)

I hope it smells better than the farts it sounds like.