Tuesday, May 14, 2019

Hello World from Arduino


So, in the spirit of posting things that are worth something, perhaps to someone, I’m starting out with the projects I’ve been working on, but haven’t really taken the time to talk about or highlight. It’s actually great that I can pick things up again by posting something that I’ve actually completed, so, here goes what I’ve been working on in the microelectronics world.
My first full and completed project is something that most people would use a simple string for. In fact, I have a string in my garage for parking my car, but it’s fun to make things and I wanted to learn… so I made a parking helper with an arduino UNO board (really it’s a clone, but everyone calls them that because arduino got it started).
The project uses an adaufruit charlieplex, an ultrasonic sensor and a classic infrared sensor (like you’ve seen in home alarm systems) to display the distance from the back wall in centimeters (yes, I’m an American, and I was too lazy to convert it to inches!).
I built the whole thing and posted it on my github if you are interested.

Hello World from Fusion 360

 

fusion 360 3d design
Today’s image is brought to you by Autodesk’s Fusion 360. I’m a hobbiest, and they’ve done the most wonderful thing and allowed those of us wanting to learn 3d CAD to learn it without having to pay anything for the privilege!
I’ve been tinkering with Fusion360 since the end of last year when I began to use a new 3d printer. Over time, I’ve found something interesting to go learn about, and picked it. The great thing for me is that you can become 80% effective at something and leave the other 20% to the experts.
So far, my exploits include: pool cleaner parts, replacing broken plastics parts of things I’ve bought at the store, trays, boxes, cases, mounts, and the moment of greatest pride a brand new handle for my daily coffee mug (I got it all right on the first try!)

Saturday, July 28, 2018

Technology, Humanity, and Me

Each day I get up and consider all the projects I have in my life.... family, faith, work, home, hobbies, investing, maintenance, education, experimentation...

What to work on?! There is so much wonderful, exciting, amazing, things to explore and learn about. I recently had the chance to experience the Hamilton play, and one two details of the play stuck out to me... That Alexander Hamilton "read every treatise he could get his hands on" and he "[wrote] like [he] was running out of time". That was over 200 years ago. Today, we can write any time we want, with practically zero friction to the process of thinking to writing to editing to publishing. This blog is a prime example. I can write this post in a few minutes and publish it with the click of a single button and the whole world can practically read it.

This acceleration in time from idea to share to implement applies to every part of the human experience. This is the tragedy of our current technological existence. We have within our reach to do practically anything, in a way that no other existence has allowed.

It's wonderful that I find myself overwhelmed. I wonder that I was ever board as a kid. In fact, I wish I had some of that time back, so that I could use it to something more interesting. Alas, that is not possible, and even today I don't spend every waking moment on projects. We must take the time to stop. We have slow down to experience what goes on around us, and to take it all in. We as humans are beginning to truly appreciate the wonders of our own existence, and technology (for me at least) has only served to more clearly show the incredulity of our existence.

There is such a mix of realities... from small to large; simple to complex to ponder. If you can't understand it, there is likely a model of it, that someone has thought up to help aid in understanding it. That in itself, is a wonder. Models... are just that: not reality. But they are extremely useful in understanding complex things. We may not actually understand the thing we are studying, but models can help us understand some parts of the whole, and thus our understanding (while imperfect) is improved.

Beyond that though, it is incredible to realize what we DO understand. The mastery of the controlling the electron and capturing physics to launch into space. How have we allowed ourselves as a people to lose the excitement of these incredible achievements!? We must, because there are a million things that exceed or extend these two technologies alone.


Thursday, October 20, 2016

The Information Technology Revolution

The Information Technology industry was a clear choice for me as I entered college. However, if you'd asked me what I was going to do with my life when I started high school, I had a very different idea about my career.

When I entered high school, I was dead set on becoming an aircraft pilot. I was obsessed with all things aviation. I loved to stop and watch plains as they flew past. I enjoyed flight simulations on the computer, air shows, museum exhibits, the family vacation trip to Colorado included a stop at the Air Force Academy... and that was going to be my school.

Until it wasn't, because I couldn't.

Right about the time I was getting better at doing physical fitness (so that I could pass those difficult physical tests to even get started at the Academy) an Air Force recruiter called my house looking for me. I had filled out some form indicating my interest, and he was following up. We chatted for a little while about my plans to enter the service as an officer via the Academy. It was excited and I was already hard at work on my academics and physical preparations (despite some very painful experiences with shin splits, ouch!).

Anyway, one thing let to another and we were talking about my physical preparations and I happened to mention my having been born with asthma. I was relating how working hard and running every day was showing improvement and that I didn't even seem to have asthma problems anymore.

And the he said, "I'm sorry to hear than Daniel."

What do you mean, "I'm sorry?"

"You can't be in the United States Air Force if you have asthma," he said.

"But I don't anymore, I've grown out of it," I said.

"It doesn't matter, if you've ever had asthma you're disqaulified for serving with the USAF," he said.


Well that was a major disappointment.  I didn't know what to do. I was completely lost for career direction. Everyone told me that no one really knows what they want to do in the middle of high school, but I DID know. I wanted to go to be a military man in the Air Force!

Well, it turns out that my aviation obsession ultimately let to my career in IT. It turns out, that trying to run Microsoft Flight Simulator was a fairly hefty job for the family computer. I spent lots of time on the computer, fixing the computer, and trying to make FS95 run better with higher graphics.

So here I am, a career IT guy, and I love it. It's probably all for the best too. Computers run EVERYTHING. I mean everything. It's pretty much impossible to buy a car, an appliance, a house, or even toys without some kind of computer it in. Some things are more computer than others, but chips run code. Computer chips are absolutely ubiquitous.

And so, now comes the interesting part. You see, I'm a type 'A' personality.  Not perhaps in all aspect of my life, but it's fair to say that when it comes to my career, I'm all about it. Do it right, make it better, help people... these are the things I live by. We all fall short sometimes, but these are the goals. With great goals come challenges, and challenges lead to searching for new ways to improve, learn from our mistakes and do better.

Which leads me to the point. If you obsess about doing better, you work in IT, and you want to learn, I have a serious piece of information to share with you. And buy the physical book. (I know, I love my kindle too, but people will see you reading this book, you can put it on your shelf at work and it'll be more fun to read)

There is a book you MUST read. If you're not sure if you care or not, read this book first.


The Phoenix Project



Otherwise, just buy this book. Trust me. This is the first book in my career (that's not a reference manual) that is useful for IT work. Do it now. Just click on the book. You can thank me later.

The DevOps Handbook



Seriously, why did you just go past the links for the books? There's nothing else here to read, except to buy the book(s) and get started. You don't need to do anything else right now, buy the book and get started.

Monday, April 11, 2016

The Cloud Journey

My head is in the clouds. 

It's going to be a long ride, but I know it will be worth. 

I'll win some battles and lose some battles, but no matter how long it takes, we are moving to the cloud. 

Some understand what the future hold and others are content to let it pass them by. For me, it is a tremendous opportunity to unlock capability and enhancement.
It is an opportunity to optimize and revamp. It is an opportunity to improve and change culture and paradigm. 

It's really like any other IT project. It takes patience, determination skill and effort. 

I know it will be worth it. 

Tuesday, May 26, 2015

PowerShell Invoke-Command with -computername object/hash/array

Note to Self:

When using Invoke-Command -ComputerName $nodes.ComputerName, write the scriptblock such that the computername is echoed with the result.

Invoke-command -ComputerName $nodes.ComputerName -Credential $mycred -ScriptBlock {"$ENV:ComputerName, $(test-path D:\folder\file)"}


This will ensure you get the answer at the same time as the computername.  All other attemps are problematic, and test-path doesn't automatically trigger the ComputerName field in the returned dataset.



Monday, January 19, 2015

Published on GitHub

We'll despite my lack of activity on the blog, I've been busy.

Not so much IT busy, as personal busy.  Since I last posted here, we've added another family member (bringing our little home occupancy to 4), dealt with complex and frustrating work situations and survived to tell the tales.

I've also discovered github.com and found it to be interesting and perhaps even useful.  As more and more cloud services become available, I like to try them out.  Sometimes it's worthwhile, but mostly it's yet another user account to keep track of in my password manager of choice.

Regardless, I've now completed another version update to my code snippets program written in AutoIT called DLTray.  Since I built the first version in 2007, it's been updated and modified, but over that period of time, I have found it to be an indispensable program, mostly because it does EXACTLY what I built it to do!

I'm trying to get into publishing some of my more useful PowerShell snippets, but, it's hard to pick and choose what might be useful for someone else. The practical reality is so that so much of what I use daily is contrived from other work posted on the web, it feels somewhat redundant to post my own, but that's exactly what I intend to do.

So, as I digest other's work and figure out how to put it to use, I will be posted useful bits of powershell to the other project I have on GitHub.  Funny enough, those postings can be used with DLTray, so, in a way, it's all related.

If you have a need to post repetitive bits of information anywhere (of any kind code, comments, directions, etc, I highly recommend checking out DLTray.  I know it's not perfect, but I can say honestly that it has saved me far more time that I've spent on it, so it's been worth it for me to develop it and continue customizing it for my daily use.

Perhaps as time passes, I can turn this into a code snippet sharing blog that can be used with DLTray over the long run.

If you come across it and find it useful, let me know.  You'll find it a GitHub.com/danlemire.

Enjoy!

Saturday, August 03, 2013

Google Services

Ok, I've had enough. It's just too much to bear.  Google shutters google reader because google+ is supposedly where it's at. There is just one problem. With RSS, I get good information and none of the junk.  

Case in point. I open google+ today, I'm ties into webdev, arduino, 3d printing and several other groups. What I get in my feed is junk like 

"Hi all, I'm  going to build my first HTML web page today can you help me?"

Seriously?!  This is going to replace quality RSS feeds?  No. No.  No. Just no.   

This is the problem with crowd anything. There is no substitute for quality information.  I want to be connected to the people that know what they are doing. If I wanted to work with IT people that were doing it for the first time, I could go just about anywhere on the Internet.  


I'm not saying I'm not interested in helping people. I'm  just saying that when I sit down to catch up on what I am missing I don't want to see petitions for for help from someone else. I want to hear about what they did and how it works.  If you want to learn go to school. Google the topic. Don't just ask for non-specific help. 

And google, you're not doing me any favors.  I need you to use Ray Kurzweil to whip up some pattern recognition mojo to filter out that junk.  Don't make me have to weed thought it when I am trying to learn. 

We're moving in the wrong direction here   Google.

It's not too late to fix google+ but I don't see reader coming back and that is a great loss to me and those who trusted it. 

I've found a substitute in Feedly but its no google reader.  

And in a few more weeks ill go through it all over again with Igoogle.  Oh well. 

I guess I just have to remember that when it comes to IT, you get what you pay for and you can't complain when it's free. 

Tuesday, September 18, 2012

Social Media Explained

Sometimes very simple explanations are the best.

http://www.howtogeek.com/124758/social-media-explained-with-bacon/

Thursday, March 29, 2012

Verizon Westell 9100EM scheduled reboot

I recently moved into a new house. Fortunately for me that means I now have a fiber connection to the Internet. Unfortunately, it brings yet another telco provided piece of equipment that leaves alot to be desired.

Today's cheap equipment is the Westell 9100EM. This device is fine, until you want to secure your wireless and turn on WPA. Apparently, using the WPA makes the device rather unstable. In my case, everything seems to work for about a week, and then my wife's MacBook can't communicate with our Xerox printer. Since she is a freelance Graphic Designer, printing is kind of important.

This led me to looking for a way to reboot the router on a regular basis to keep everything happy. But alas, the router software does not provide a way to schedule reboots.

The scripter in me says "I can write a script for that", so I went looking for the easiest way to get it done. The solution came in the form of AutoIt Script. (autoitscript.com). Since I know I'm probably not the only guy out there with this problem, I'll share. This script is written for firmware version 1.03.00.08.


$oIE = ObjCreate("InternetExplorer.Application.1")

If @error Then
MsgBox(0, "", "Error opening Internet Explorer: " & @error)
LogThis("IE Object Open Failed")
Exit
EndIf

$oIE.Visible = 1
$oIE.RegisterAsDropTarget = 1
$oIE.RegisterAsBrowser = 1

;steps to achieve reboot
;18 to advanced
;25 to Yes
;27 to reboot
Dim $routerAddress, $selectAdvanced, $selectReboot, $selectYes,$user,$pass

$user = "usernameGoesHere"
$pass = "passwordGoesHere"
$routerAddress = "http://192.168.1.1"
$selectAdvanced = "{TAB 18}{Enter}"
$selectYes = "{TAB 25}{Enter}"
$selectReboot = "{TAB 27}{Enter}"
$oIE.Navigate($routerAddress)
Sleep(5000)
Send($user & "{TAB}" & $pass & "{TAB}{ENTER}")
Sleep(5000)
Send($selectAdvanced)
Sleep(1000)
Send($selectYes)
Sleep(5000)
Send($selectReboot)
Sleep(5000)
Send($selectYes)
sleep(5000)

$oIE.Quit
$oIE = 0


The next step is to build the .exe and add it to task scheduler for whatever time frame you need. Enjoy!