Wednesday, August 28, 2013

So, my code got changed without my permission. So, I made a copy in a dev directory and started setting...

So, my code got changed without my permission.



So, I made a copy in a dev directory and started setting up tests and version control.



So, I changed the code so it adds dev/Tools/lib into $ENV{ PERL5LIB } rather than use lib 'dev/Tools/lib', so I can just copy the code over without changing that line once done, and I don't have to worry about production/lib/Tools/Foo.pm calling dev/lib/Tools/Bar.pm and vice versa.



Except, right now, dev/lib/Tools/Foo.pm uses my_cool_sub() from dev/lib/Tools/Bar.pm, and dev/Tools/test/foo.t says 'Undefined subroutine &Tools::Foo::my_cool_sub called at Foo.pm line 666' (not actual path and file names) which tells me that it doesn't really use Tools::Bar in Tools/Foo.pm.




Don't do it.

Don't do it.




Hey, +Doug Couch: when you made the order for lock picks, what was your source? We're thinking of doing...

Hey, +Doug Couch : when you made the order for lock picks, what was your source? We're thinking of doing it again and would like to order up.




I'm just getting into writing #tests. It hasn't really been part of any shop I've worked for. It should've...

I'm just getting into writing #tests. It hasn't really been part of any shop I've worked for. It should've, and I feel the worse for it. Because things have randomly started to fall apart in my code, I'm starting.



I have tests for my DB interface code, which I can test by sending "SELECT 2 + 2" and see if 4 is the output. That's fine. But the code that connects to that are CRUD libraries, and while I'm fine with the Read part, asking for the list of tables and seeing if I get a list, etc., it strikes me that Create, Update and Delete are more difficult to test, especially if you don't have an explicit "test" database to point the library at.



This has been a stumbling block for me for a while. Any pointers on that?




Buffer can post to Google+. This means that, by API, something else must be able to post to Google+...

Buffer can post to Google+. This means that, by API, something else must be able to post to Google+. Time to dive back into the docset.



Really, I've thought that the lack of automated posting meant that you get less automated posts here than on Facebook, increasing the interaction, so I'm not 100% happy, but might as well understand it and use it.




How do you protect your Wi-Fi from potential intruders? While password-protecting your WiFi is an obvious...

How do you protect your Wi-Fi from potential intruders? While password-protecting your WiFi is an obvious first step, it’s not a guarantee against hackers getting into your network and, possibly, your data. Metapaper is a new innovation designed to protect your wireless network from intruders… just by changing your wallpaper! Read more here http://www.brit.co/wifi-wallpaper/?utm_source=feedly




Monday, August 26, 2013

I now know that my Teensy cannot be powered over PS/2. Next idea, please.

I now know that my Teensy cannot be powered over PS/2. Next idea, please.




Personally, I mostly Google for API questions, like "how do you get the text out of Mojo::DOM" or the...

Personally, I mostly Google for API questions, like "how do you get the text out of Mojo::DOM" or the like. The problem and solution are my own, but the tools I use are not. But yeah, good question and good answer.




JC Brooks is trying to break your heart.

JC Brooks is trying to break your heart.




Thursday, August 22, 2013

Need this on my keychain. #atom

Need this on my keychain. #atom




I have questions on Heart Rate Ranges. I'm 43. Round up to 45 for easier math. Max is 220 - age, so...

I have questions on Heart Rate Ranges.



I'm 43. Round up to 45 for easier math. Max is 220 - age, so my maximum heart rate is 175.



My resting heart rate is 55. (There's an app for that.) So, my range is 55-175, which is 120, so 10% is 12 bpm.



The ranges, as I understand them, are:

Fat Burning: 50-60% - 115-127 bpm

Aerobic: 60-70% - 127-139 bpm

Steady State: 70-80% - 139-151 bpm

Anaerobic: 80-90% - 151-163 bpm

Maximal: 90-100% - 163-175 bpm



First questions: Is my math right? Is my understanding of the categories right?



Second questions: What does this mean? What should I be doing? My first and foremost goal with exercise that a better-working body will lead to a better working mind. My second goal is fat burning; I weighed in at 222lbs today, which is about 22 lbs higher than my goal, but I primarily want less of a gut. My third goal is to run a 5K sometime next year with a time significantly better than the 45min I ran last year.



Yesterday, when I ran treadmill, I consciously kept the speed around 3.1 mph although I prefer to run around 4 (5K =~ 3M, so 4mph is a 5K in 45min), because that kept my bpm in the Fat Burning range. It felt odd to not push myself. (OK, I have Black Crowes' "Go Faster" in my running playlist, and when it came up, I did.) What is "the right thing", given my established priorities?



#running




Wednesday, August 21, 2013

Looks like SOMEONE listened to me about the CS calendar issue, as the old calendar is 404 and this one...

Looks like SOMEONE listened to me about the CS calendar issue, as the old calendar is 404 and this one, a Google Calendar, is in it's place.



Plus other ones for recruiting talks, etc.




This is a documentary, created by the BBC and pointed to me by +Withings. Doubt it tells us anything...

This is a documentary, created by the BBC and pointed to me by +Withings. Doubt it tells us anything we don't know -- I'm watching it as I write -- but it's interesting and on-topic.



(I tweeted Withings, and they say it's "wi-things", but "Withings" sounds like the name of a British butler who keeps track of me. "Withings, keep track of my weight." "Very good, sir." So, there you go.)




1964 - John Kemeny and Thomas Kurtz create BASIC, an unstructured programming language for non-computer...

1964 - John Kemeny and Thomas Kurtz create BASIC, an unstructured programming language for non-computer scientists.



1965 - Kemeny and Kurtz go to 1964.




I have a problem. Yo, I'll solve it. I got 99 problems but knowing my phone number ain't one. And ...

I have a problem. Yo, I'll solve it.



I got 99 problems but knowing my phone number ain't one.



And other nerdcore ways to connect hip-hop to coding telephony.




Tuesday, August 20, 2013

FitBit says I made my step goal today. Of course, my goal is 6000, up from 5000, which is half the 10000...

FitBit says I made my step goal today. Of course, my goal is 6000, up from 5000, which is half the 10000 steps/day they established as my original goal. My work is standing there, typing, so I don't have much opportunity to get above 6000 on days I don't make it to the gym.




Remember: Hot soldering irons are HOT! But all our sign needs is a $5 Arduino and a battery and it'll...

Remember: Hot soldering irons are HOT! But all our sign needs is a $5 Arduino and a battery and it'll tell everyone we meet downstairs.




Personally, I've dropped my hope-for steps on FitBit to 6000 steps just because I can make in a normal...

Personally, I've dropped my hope-for steps on FitBit to 6000 steps just because I can make in a normal non-gym day. My big drop, 270+ to 235 lbs, came from eating more regularly and avoiding caffeine in general and cola in particular. My current progress seems to be related to more walking over the summer. So certainly, try to walk more.




Hey, +Tekzilla, I'm liking the Raspberry Pi as Cloud Print Server idea. We just got an HP printer, though...

Hey, +Tekzilla , I'm liking the Raspberry Pi as Cloud Print Server idea. We just got an HP printer, though, which uses ePrint, which links to Cloud Print, so I don't need the client.



What I need (well, maybe not need) is a way to print emails from GMail. For most things, you find "Share" and choose "Cloud Print" instead of G+ or Twitter or whatever, and that just doesn't make any sense in an email application. Is it possible? Is it coming and just not here? Am I just missing something?




We had a new face for Purdue Perl Mongers today! Yay! We talked about the coming wave of coworking and...

We had a new face for Purdue Perl Mongers today! Yay! We talked about the coming wave of coworking and making in Greater Lafayette, then I talked about parsing the CS Colloquium calendar site to get the iCal it should be exporting natively, then Rick talked about Ingy döt Net's IO::All library.



Any ideas for next month's meeting?




Today is our regularly-scheduled Purdue Perl Mongers meeting, again in WSLR 116. We're going to try ...

Today is our regularly-scheduled Purdue Perl Mongers meeting, again in WSLR 116. We're going to try to set it up as a Google Hangout, too. We'll see how that goes.




I get the urge. The NYT isn't an email company, so focusing on core competency and sourcing the other...

I get the urge. The NYT isn't an email company, so focusing on core competency and sourcing the other tasks makes sense.c except when it doesn't.




Monday, August 19, 2013

It prints! We just need to make it print better.

It prints! We just need to make it print better.




Nine reasons why Silicon Valley funds Instagrams and not Hyperloops. I can think of a tenth: high speed...

Nine reasons why Silicon Valley funds Instagrams and not Hyperloops.



I can think of a tenth: high speed rail is a solution in search for a problem, that for any given route, there exists existing tenants, including little woodland creatures, and thus any estimate to cost is going to be multiplied to handle legal issues. Putting your money into any high speed rail tech in the US is paramount to setting it on fire.



I have to grant the broader point, however. There are grander ideas coming into play -- the Tesla electric car and the Google self-driving car being two that come to mind in the transportation field -- but if Steve Jobs was looking for an Apple CEO today instead of the 1980s, he'd ask "Do you want to distribute cat pictures or do you want to change the world?"




... the music that he constantly plays says nothing to me about my life.

... the music that he constantly plays says nothing to me about my life.




Sunday, August 18, 2013

That's Learning Python? I'd have thought that Learning Python, like Learning Perl, would be a reasonably...

That's Learning Python? I'd have thought that Learning Python, like Learning Perl, would be a reasonably slim volume while Programming Python, like Programming Perl would be the huge one.



As is, if I was going to want to find something in that, I'd want an online search, and you know, that's what I do for most of my programming questions anyway.




Thursday, August 15, 2013

Wednesday, August 14, 2013

I don't know, but I must add....

I don't know, but I must add....




What Would Walter White Do? You should probably do the opposite....

What Would Walter White Do?



You should probably do the opposite....




I have two webcams connected to my Linux box at work. lsusb says one is a QuickCam Pro 5000 and the ...

I have two webcams connected to my Linux box at work. lsusb says one is a QuickCam Pro 5000 and the other is a QuickCam Chat. One is /dev/video0 and the other is /dev/video1. (I know that, right now, QC Chat is video0, but that might change when I reboot.)



Is there a good way that I can find the mapping, so I can tell my code to prefer the Chat or the Pro?

#webcam #lazyweb




Monday, August 12, 2013

Peanut Butter Jar Vacuum Former Plastic vacuum formers are an important part of the prototyping process...

Peanut Butter Jar Vacuum Former



Plastic vacuum formers are an important part of the prototyping process. If you need a nice plastic robot body or custom case for a project you are doing, get your tools, ’cause this project is easy to build and fun to play with.



Vacuum formers are based on a simple concept. They use the power of a vacuum to suck heated, gooey plastic sheets very tightly around an object you place in them, making a 3D copy of pretty much whatever you want.



Plastic vacuum formers are usually big, expensive machines, however many of us don’t always need to make huge pieces for our projects, so these machines would be pointless to have—or at least that’s what I tell myself so I won’t be tempted to buy one. Our vacuum molder will be a good size for most projects you’re likely to deal with.



See the project here: http://ow.ly/nRzt2




Not only am I skinnier than I've been since Nirvana was on MTV, my ankle has been better, too.....

Not only am I skinnier than I've been since Nirvana was on MTV, my ankle has been better, too.....




Wednesday, August 7, 2013

This makes me so much want to get Glass.

This makes me so much want to get Glass.




Heh, the new Doctor Who played a "W.H.O. Doctor" in World War Z.

Heh, the new Doctor Who played a "W.H.O. Doctor" in World War Z.




A Final Goal now: 1,000% of the original goal ($120,000) to reach in 8 days to unlock additional components...

A Final Goal now: 1,000% of the original goal ($120,000) to reach in 8 days to unlock additional components:

* 3 x Push Buttons

* 2 x NPN Transistor

* 5 x Diodes 1N4001

* 10 x Resistors 1K




"It’s not a real breadboard if it has never seen a fire."

"It’s not a real breadboard if it has never seen a fire."




Purdue CS has a calendar of colloquiums (colloquia?). It is a web page. I would much rather have it...

Purdue CS has a calendar of colloquiums (colloquia?). It is a web page.



I would much rather have it as a vCal, so I can have things show up in my Google Calendar and say "Yeah, that looks trippy" and pull it into my calendar easily.



So, once the semester starts going and there starts being colloquiums in the web page, I'll start scraping that web page. As I did the same thing with the TCM broadcast calendar, making the vCal will be the easy part.




Why don't office laser printer trays hold a whole ream of paper? I asked here and on Facebook. I expect...

Why don't office laser printer trays hold a whole ream of paper?



I asked here and on Facebook. I expect the FB response to be "I know,right? That's so stupid.", and the G+ answer to be something more like "enlarging the tray socket would double the cost of the printer" or something. #ILikeGooglePlus




Sunday, August 4, 2013

Saw a trailer once for a movie where a young Kazakh (i think) recovers space junk, satellites that fall...

Saw a trailer once for a movie where a young Kazakh (i think) recovers space junk, satellites that fall from orbit and such. A model is sent to the ISS and, when she returns to earth, he finds her capsule.



I don't recall the title, so I don't know where to start looking -- Google has not been helpful so far -- but it seems that G+ is a good place to start.




Friday, August 2, 2013

I love this idea, but between the BT in your HEAD will SURELY give you CANCER people and the Big Brother...

I love this idea, but between the BT in your HEAD will SURELY give you CANCER people and the Big Brother in my TEETH! people, I'm sure this'll never get past the research stage.




My goodness, this is the biggest long-form burn on the lack of innovation in computing since 1973.

My goodness, this is the biggest long-form burn on the lack of innovation in computing since 1973.




Thursday, August 1, 2013

+Eric Jacoby moved his lamp to a place that makes more light but is harder to switch. I was thinking...

+Eric Jacoby moved his lamp to a place that makes more light but is harder to switch.



I was thinking about setting something up with relays and an Arduino or something when it struck me that I still had unused X10 kit that +Doug Couch gave me. Handed him a lamp module, a CM19A and an interface, and now he's setting it up.




It's been too long since I've seen good cyberpunk.

It's been too long since I've seen good cyberpunk.




Travels of my ChromeCast: La Vergne, TN -> Kansas City, MO -> Forest Park, IL -> Hazelwood, MO Seems...

Travels of my ChromeCast:

La Vergne, TN -> Kansas City, MO -> Forest Park, IL -> Hazelwood, MO



Seems like every move is away from a straight line between La Vergne, TN and Lafayette, IN. Still, they say I'll get it on Saturday.




Locks, Picks and Shims at Indy LinuxFest, thanks to BloomingFOOLS, or the Bloomington Fraternal Order...

Locks, Picks and Shims at Indy LinuxFest, thanks to BloomingFOOLS, or the Bloomington Fraternal Order Of Lock Sports.




Awesome parents.

Awesome parents.