Journaling on estrip is free and easy. get started today

Last Visit 2019-03-30 19:08:15 |Start Date 2003-07-07 03:39:31 |Comments 5,609 |Entries 6,423 |Images 14,681 |Sounds 119 |SWF 21 |Videos 322 |Mobl 2,936 |

Category: programming

03/10/12 02:44 - ID#56197

Such a fucking idiot

I seriously just lost an hour of my life working on android and location accuracy. I am not even going to talk about it because like all of my other outside of work projects it will just get eclipsed by the high demand for my time that my actual job has.

Anyways, I was trying to get an accurate location and it kept giving me lat/long of 42 by 78. It was weird because it was saying the accuracy was like 1-28m. At first I thought it was because it kept selecting the network provider as more accurate as I was indoors. This got me running in and out of the house to try and get it to work.

But it wasn't working. Even when I explicitly chose the GPS as the location provider and set the accuracy to ACCURACY_FINE, it still was 42 by 78. After tons of frustration I looked at my logging code and I was casting the lat and long to int instead of a fucking double. Duh, it was being rounded. I could kill myself for not having noticed this and wasting so much time. I guess this is what I get for programming as entertainment at 2:41am on a saturday.

double lat = (double) (location.getLatitude());
double lng = (double) (location.getLongitude());

vs

int lat = (int) (location.getLatitude());
int lng = (int) (location.getLongitude());

print add/read comments

Permalink: Such_a_fucking_idiot.html
Words: 230
Location: Buffalo, NY
Last Modified: 03/10/12 02:44


Category: food

03/09/12 10:31 - ID#56196 pmobl

Wegmans Lunch

The wegmans lunch was a lot more eclectic. Where else do you get Chinese, Japanese and chicken wings plus Mediterranean style veggies and asparagus salad.

image
print add/read comments

Permalink: Wegmans_Lunch.html
Words: 26
Location: Buffalo, NY
Last Modified: 03/09/12 10:31


Category: food

03/09/12 10:29 - ID#56195 pmobl

Blue Fin Lunch on elmwood

This time we got the desserts. They were delicious. (e:enknot) got the fried soft shell crab which also looked amazing.

image

image

image
print add/read comments

Permalink: Blue_Fin_Lunch_on_elmwood.html
Words: 24
Location: Buffalo, NY
Last Modified: 03/09/12 10:29


Category: style

03/09/12 10:27 - ID#56194 pmobl

Temo

When terry meets emo.

image
print add/read comments

Permalink: Temo.html
Words: 5
Location: Buffalo, NY
Last Modified: 03/09/12 10:27


Category: mobile

03/09/12 08:52 - ID#56192

Who knew android could easily take USB

I saw an article about a USB host mode chord for android phones and decided for $3.50 it was worth a try. Holy crap was it worth it. You can connect external keyboards, drives and even a mouse. The system says "Mouse connected" and you get a mouse pointer on the screen that works just like on a computer. Totally worth $3.50 and way easier thqan dealing with batteries, syncing, etc that comes with bluetooth. Plus it is ultra super fast.

Here is the purchase link

image

image
print add/read comments

Permalink: Who_knew_android_could_easily_take_USB.html
Words: 105
Location: Buffalo, NY
Last Modified: 03/10/12 03:22


Category: weather

03/09/12 09:26 - ID#56190

the weather is getting nice

It might end up snowing today but its gonna hit 60 this week. It has the potential to be one of the best St Patrick's days ever.

image
print add/read comments

Permalink: the_weather_is_getting_nice.html
Words: 28
Location: Buffalo, NY
Last Modified: 03/09/12 02:09


Category: wildlife

03/07/12 10:43 - ID#56185 pmobl

Night crows

I know its dark in these pictures but considering its taken with a cell phone, at night from far away its pretty good. I can't believe how many crows cover the trees of Linwood at nighttime. There are literally thousands of them.

image

image
print add/read comments

Permalink: Night_crows.html
Words: 44
Location: Buffalo, NY
Last Modified: 03/07/12 10:43


Category: food

03/07/12 10:40 - ID#56184 pmobl

Cornish Game Hens

I am obsessed with them. They are the perfect sized animal for eating. I think I might want to grow them more than chickens. They pair well with a dark green salad.

image

image

image

image
print add/read comments

Permalink: Cornish_Game_Hens.html
Words: 36
Location: Buffalo, NY
Last Modified: 03/07/12 10:40


Category: food

03/06/12 07:07 - ID#56179 pmobl

Lunch Interview and Oda

I went for a interview for the beta techies awards in tonawanda this afternoon. after Del and I headed to lunch at Zaiga on Delaware ave in Kenmore. Their lunch buffet was so amazing and only $7.99 with plenty of vegetarian options. I meant to take pics but I got so caught up seeing Oda and momma Bob.

I am not sure how the interview went. It was so spontaneous. I know I said codes where I meant to say code at one point. Hopefully, they edit that part out.

image

image

image
print add/read comments

Permalink: Lunch_Interview_and_Oda.html
Words: 94
Location: Buffalo, NY
Last Modified: 03/06/12 07:07


Category: buffalo

03/04/12 07:01 - ID#56171

Buffalo Maritime Museum

(e:Terry) and I headed over to the maritime museum for their open house. You have probably seen some of their collection at the inner harbor during the summer.

image

image

image

The cool thing is they have all of these 10 week courses where you build your own boat. I think I would enjoy it but in the end I would have a pretty heavy boat compared to a fiberglass kayak which I could more easily tote around. Still I think the experience might be something interesting. I snapped a shot of each class offered to remind myself.

image

image

image

image

image

image

image

image

The thing that stuck out most to me was the vacuums, but that is just because I am obsessed with vaccuums.

image

image
print add/read comments

Permalink: Buffalo_Maritime_Museum.html
Words: 129
Location: Buffalo, NY
Last Modified: 03/04/12 07:05


Search

Chatter

New Site Wide Comments

mike said to mike
Well really I did not bury the hatched in my mind I guess because now 5 years later, I just saw him ...

mike said to mike
Well really I did not bury the hatched in my mind I guess because now 5 years later, I just saw him ...

mike said to mike
Well 14 years later I have more grays but still solidly more pepper than salt so that's good at leas...

mike said to mike
Well 14 years later I have more grays but still solidly more pepper than salt so that's good at leas...