Showing posts with label install. Show all posts
Showing posts with label install. Show all posts

Thursday, March 7, 2013

What I installed on my Mac at new job

Boy it has been a long and winding road to get the new MacBook Pro into a useful state. I realize Macs are meant to be super easy to use but that gets in the way of power users.

I have learned a lot of new terminal commands, where files reside on a Mac, naming conventions when reading Mac web pages and what not. I will try to share what I can before I forget it all and move on to the next thing.

I wanted to see hidden files. Executing this in terminal allows for that:

defaults write com.apple.finder AppleShowAllFiles TRUE

Change the TRUE to a FALSE to reverse the change.

~/ means your home directory when you are on a web site.

See the first five lines of the clipboard

pbpaste | head -n 5

Terminal is OK but I wanted a tabbed support as I use Console 2 on the PC. I installed iTerm to handle that situation. I also like a semi-transparent background on the terminal as I am generally monitoring things behind it too.

Finder is really not my cup of tea but I was able to get around most of my issues using xtraFinder. While this program is still in beta it fixes the major issues I have with Finder and it is free.

1) Tabs to open multiple directories instead of having multiple windows open on screen
2) Grouping folders first then files. Never understood why Finder does not have this option. Most of the time I am looking for a folder first then a file within second, I don't want to scroll way the heck down to find my Folder. I know I can sort by Kind to get them in group but that still puts them randomly somewhere grouped in a list.

I copied in my music files from a USB key from my Windows box. There was a stupid desktop.ini file left in each album directory. I wanted to delete all of them which on Windows is:

del desktop.ini /s

For the Mac I needed:

find . -name 'desktop.ini' -print -exec rm -fr {} \;

I realize this is a more powerful command but this is a simple thing I need to do a lot and what I had to type to make it happen was not straight forward. I will have that command in my pocket from now on though.

I had to tweak my security settings to allow me to install things not from the Mac Store. Good to stop a normal user from doing this and it was a one time change to make me happy.

Mac Ports seems to be the way to go to install 3rd party products. You need to know the name of what you are installing. You get to type your password a lot as you are using SUDO commands left and right to accomplish this. It works and the web sites are really good at listing the port name you need to use for the install.

Just found you need to do this after installing Xcode and the Xcode command line tools:

sudo xcodebuild -license

If you don't then you will get errors when attempting to install programs.

The company uses VMware Fusion so I had a license. I was able to quickly install Win 7 professional from DVD. Some of the production apps are written in C# thus the need for a VM to run them.

iTunes does not support common audio file formats so I used Adapter to convert music to MP3 so I can listen to it on my Sennheiser wireless headphones. I have had them for a couple of years now and still on first set of rechargeable batteries. While not perfect, an occasional hiccup due to interference, they have served me well.

At the prodding of the other developer who started on the same day as I did I installed Evernote. Nice app to type in random thoughts and to do lists as they hit my brain. I can see all that stuff on my Note II which makes it very easy to remember the crazy list of items I still need to bring in. 

I use Sublime 2 as my text editor. I like it that I have the same editor on my PC at home as on the Mac. Some of the keystrokes are a bit different but I am getting used to that too.

All the other set up was configuring SQL settings, other environment variables, VPN, tweaks to various programs so they operate to my liking and doing web research on my first project and on tools they use here that I am not deeply familiar with yet.

I also need to find out coding style. Seems to be opposite of the last job no matter where I go. I am used to braces on same line but it appears that they are on separate line here. No big deal to me, configure Eclipse to do it that way and get on with life. 

Do wish I had a docking station for the MacBook, unplugging everything to take it home for the night is a bit silly. Was so easy to undock the Lenovo laptop at old job and put it in bag with extra power supply. Not enough USB ports and they seem to trickle charge my phone. I have the external keyboard in one port and my phone in the other leaving zero for anything else.

Wednesday, February 27, 2013

What to install on a new machine?

What do you install when you get a new machine? As a developer you have to install a lot more things than a normal user.

For a Window box I need the following:

  • Java SDK
  • 7 Zip
  • Eclipse
  • Android SDK
  • Sublime Text
  • Chrome, FireFox, Opera to test websites (IE is preloaded)
  • SmartGit, Tortoise, TFS (what ever version control you currently use)
  • Console2 (allows you to do transparent / tabbed command lines)
  • Greenshot to get easy screen shots, annotate and crop them
  • System Internals (lots of tools, need most of them)
  • Paint.NET (so far my favorite free paint program)
  • Hoekey (run things off Win+key combinations)
  • Pencil (quick wireframes)
  • MediaMonkey (music and other files)
  • Python (for quick scripts and easy file parsing)
  • Picasa (for fast photo viewing)
  • Various USB / ADB drivers for Android phones (Motorola, Samsung, HTC)
For a Mac I need the following:
  • Java SDK
  • Eclipse
  • Android SDK
  • Xcode
  • Sublime Text
  • GIMP (for painting chores)
  • AppCode (if company will pay for it, I like it better than Xcode)
  • Source Tree (if using GIT)
  • Chrome, FireFox, Opera (Safari already there)
Both 
  • Chrome extensions, FireFox extensions or both
  • Current set of bookmarks (auto imported by Chrome)
  • Existing code snippets I have collected over the years
  • Music
  • Wireless headphones (not really an install, just plug them in)
It can take a bit of time to get it all set up but it really is not that big of a list. Most things are already on the box ready to roll. If it is a totally fresh machine you have to install the latest updates from Apple or Microsoft before you move along too far. I try to carry most of my list on a USB key so I can hit the ground running instead of eating up bandwidth trying to get the required bits on my first day.

My new job will provide a MacBook Pro. I need to get used to GIMP again. I have been using Paint.NET mainly for the past year. I have had positions where I have both a PC and a Mac and I have cheated and used the PC for a lot of my graphics work just because I am familiar with it. I have Photoshop Elements at home and I use that too. I will also have to spin my head into Linux command line usage. Not that I need the command line very often on a Mac but when you need it you need it bad and don't want to have to look up every command.

In general it is not too hard to switch between a Mac and a PC. I will have the same keyboard - a Microsoft Natural 4000, at home and work. They layout just works better for me. Some of the keystrokes on the Mac will mess me up for a bit. I used to switch between the two every few minutes as I was doing Android work on one and iOS on the other or I was testing our main Java app on both so I would be testing layout differences.

Always interesting to start on a new machine then to start realizing what you are missing. Some program that you only use so often. Of course in the old days you had to dig out a CD or a floppy disk and install it. Now as long as you remember the name you can download and install it off the internet. Physical media is not used much. 

My wife got a new laptop and I was able to set it up pretty quickly. It is a Lenovo laptop I got refurbished from Microcenter as I did not want a machine with Windows 8 and I wanted something with a lot of RAM and a good processor. Save but sturdy. Why not Win8? Am I not a tech? Yes I am a nerd but she would be the only one in family with Win8 and I just did not want to mess with it. I have not heard good things at this point. Generally skipping every other release of Windows has been a safe bet.

I was able to install things quickly. I had to dig out or Quicken CD but everything else came off the web including an install of Office 2013. She was up and running easily and does not use the machine for development so my list about was cut pretty short. She does a great job keeping her documents and what not on our home server so everything was there. Calendar, Contacts and emails are done through Google as they sync with her phone so all of that was ready too. The cloud sure has made things much easier. The home server, which is backed up Mon, Wed, Fri, also helped a lot. It serves as a printer server too.

Ready to get my new Mac going. I will add to the list if I find other things I needed to install.

Sunday, January 27, 2013

Family help desk then and now

I have been doing family help desk support for a long time. Once people in the family know you have any sort of computer expertise you become the help desk. That role has changed a lot over the years.

It used to be about installing printers. Every printer did something weird and had to have special drivers. Now they pretty much install by themselves. Everything is USB making it so much easier.

Occasional someone would branch out to a scanner. Again USB could save the day but there was generally a driver to find, testing to do and configuration to be done so they did not scan at a super high DPI making for massive images.

You got to install a new version of Windows every so often. Plus you had to manually install updates to drivers - sound, printer, video and other hardware. You also had to install updates to software manually too.

Now no one changes Windows versions unless they upgrade their machine. When I say they I mean you as they call your for a recommendation on a new machine usually when they are standing in Best Buy, Sams Club, Costco or someplace you would never by a machine from. You would generally do some research and find the proper machine but today it is a "hey, this one is on sale, should we get it moment?" and you know you can't talk them out of it.

I have noticed people don't even ask about new versions of Windows. Not a single family member has asked about Windows 8. None of them care. What they have for hardware runs just fine. They hardly ever install a new program but instead spend most of their time on the web. Instead of installing something they open a new tab. They use Word and Excel but really the web browser has become the only piece of software they need with the requirement of an occasional plug-in to support something.

In the past a newly purchased machine was pretty clean. You got their existing hardware to work and it was done. Now you need a couple of hours to get past the first boot and to kill all the stupid crap that loads on the box eating up all the RAM just starting up. Man I hate this process. Really HP, Dell, ASUS and others - just screw you. You are not adding value, you are adding pain. Your machines take forever to boot. You are not adding to the user experience you are ruining it. After I dump all that crap that machine it not too bad. Then I have to go about updating Windows and updating all the software they actually use. I keep a list of things to install like a PDF reader, Flash, Shockwave, QuickTime, 7Zip, Java, Notepad++, Picasa and Paint.NET to name a few. Just saves me the time of waiting for them to visit a web site that needs one of these and confuses them.

Speaking of allowing a family member the gift of installing a required web program themselves - NEVER DO THIS. They will always click through everything and get 10,000 toolbars installed. If you are a programmer who codes this up or the person who originally thought of this I F'ING HATE YOU! Look everyone does this, you are all scum, with 20 toolbars running they don't use ANY OF THEM. The battle is over, STOP IT NOW. You can't be getting hits off this crap. But I hate ever last one of you and refuse to use any of your crap and tell every family member how much I hate your guts any chance I get. Great marketing on your part isn't it? This is a total failure. Every time I visit a family member I have to clean up more of this crap. They hate it but are too stupid to avoid it no matter how hard I try to train them. Burn in hell the lot of you.

Everyone and their pet cow has a smartphone now. Guess who is the new help desk for that? Yep it is you again. To add to the fun there is a new group of people to hate. The bloatware that is installed by Verizon, T-Mobile, AT&T and Sprint to every phone. Unlike the PC you can't uninstall this junk. Seems the same set of a-holes are in charge here. I don't want nor will never use any of this crap. It clutters every phone out there. Just to add insult to injury the stupid crap wants to update all the time too.

Just when you thought you were done learning all sorts of weirdness about about PCs you get to learn all sorts of weirdness about smart phones. iOS does it this way, Android that way, Blackberry some other way that makes no sense at all.

When it all came to a head I got to learn how to root a phone. Since Android phone manufactures don't update to the latest from Google because the bastardized it so bad. They refuse to atone for their shoddy skills and let you suffer. Guess what you get for doing this to me T-Mobile and Samsung? You get to lose every single piece of that bloatware. And you lose it from now and into the future. Once you forced me to root I phone that means I will keep doing it forever. I see no need to stick with your crap.

This came up when my niece was unable to run her banking software because Samsung and T-Mobile did not support updating her phone. I rooted it and went from Eclair (shudder) to JellyBean. She can now run everything and does not have stupid junk on her phone. I rooted and updated my son's phone and my wife's phone too. I got to kill tons of stupid programs and the movie Avatar off the phone. Not a one of us ever watched that movie on the phone. Who thought that was a good tie in? A 3D movie on a phone? Thanks for wasting space on my device for a couple of years.

Everyone is very happy with the rooted phone. It is like a new device. Tons of new features to explore and it runs faster. Now they brag up the Samsung again. Not that Samsung deserves this as they blocked me from improving their hardware until I rooted things.

Now we get back to help desk support. Family installs Gmail, Calendars, FaceBook, Words with Friends, Hanging with Friends and all sorts of programs that want to notify you every second of every day that there is an update. They all want to light up the LED, vibrate and play a sound. You never get a moments rest. All of this is enabled by default. I have to go in and shut off half this crap just so the battery is not eaten in 3 seconds after a recharge. Some apps suck so bad you can't control individual notifications - sound, vibrate, LED - but it is all or nothing. They want to be notified but by vibration only. So I get no real solution to these very popular but poorly written applications. If you are a developer that cheats and does the all or nothing setting then get the hell back in there and fix it!

A PC has your attention while you are sitting at it. The cell phone is on you at all time. Now all these crazy bastards want our attention all the time 24x7. This is getting crazy.  I have a life, I don't want to be uninterrupted by my phone all the time. I don't have a Facebook account nor do I play any of the games associated to it. I have a couple of email accounts and a calendar. I try to reply to text messages because they generally have a short answer. Only my immediate family contacts me that way so those don't happen very often. I don't know how some of these people live with the constant be-boop and vibration of the phone. Most hate it so I help them disable what I can.

Everything is enabled by default of course. They want you on their site all the time. It is getting to the point you overwhelmed them and now they hate you and want to kill and your alerts. These vendors have gone too far and there is a backlash against it. Just means they will find some other way to annoy us, they don't stop, they just get worse. People get fired because they don't do their real job. If some one does not have a job they can't have a phone and wont have your stupid apps. You are destroying your user base for short term attention. These games are free so you are getting false profits from ad viewing. This can't keep going.

Some of the apps don't even use the standard menu buttons to show an options menu allowing you to kill this. Instead they hide it somewhere in their interface. Screw you bastards. If you want to be on the Android then be a good Android citizen. I have had to find all kinds of bizarre ways to get to settings menus. Thanks for wasting my time!

Yep, I am pissed off at all of this crap and I have the right to be. I get hauled into long sessions of fixing things because some marketing jerk off decided all of this was a good idea. It is not, you are pissing off your clients and you are pissing me off so I find ways to totally kill everything about your app.

Being the family help desk is getting harder. I have to support the PC and the smartphone. I have to clean up tons of stupid crap instead of solving real problems. I have to make things work faster by killing programs that do nothing. None of us own anything anymore. Everyone tries to get a piece of the pie by installing something that just annoys us. I am rarely installing something that helps out a family member, I just spend time removing crap. Computers were meant to make our life easier but that is not happening. Instead they are getting in the way and eating up time for non-useful activities.

Wednesday, March 14, 2012

Win 7 Professional always freezes at 15% during patch installs

Various machines around the office - all Win7 64bit Professional - freeze during patch install shut down at 15% complete. We hit the reset button, tell it to boot normally when prompted and the patches install just fine. This has happened every time over the past year that we have installed patches. I don't have this issue at home where I am running Win7 64bit Ultimate and Home. Annoying but does not seem to be a show stopper.

I have completed my work on the JIDE update. There are some outstanding issues but others are fixing them while I get back hot and heavy on the MigCalendar scheduler replacement. I have some open Mac issues with Jidesoft. They don't appear to do much testing on the Mac which is a shame. You can basically use the main OS look and feel on the Mac but the other ones are useless. Colors that are not readable, tabs that are not clipped so they paint on other tabs etc.

I was doing various bits of editing of the code under IntelliJ 11 on the Mac and PC and ended up getting SVN all confused. I finally just extracted a fresh copy of the code and renamed the directory to get the Mac to play nice again. I was doing weird stuff like double editing files on my home PC and the Mac laptop then trying to revert on one and check in on the other. Classes were moved to new packages etc. which I am sure caused a great deal of grief. All fixed now, just some of the fun of being a multi-platform developer.

The MigCalendar conversion is going nicely. The new JIDE based grid is so much faster at everything you can hardly believe it is functional, it feels like something should be missing otherwise how can it be this fast? MigCalendar has a lot of wonky ways of doing things and used a lot of static collections to do it. Glad to be rid of it. I did a build yesterday with no MigCalendar references in it at all. I deleted a ton of code and old dialog boxes in the process. Plus the new scheduler is so much more flexible and configurable. The clients are going to be elated when we ship.

I plan on writing an email to the MigCalendar folks letting them know why we are discontinuing the use of their product. I figure developers rarely are notified as to why they have lost a sale so it seems only fair. We just found it to be to bulky, not flexible and the documentation to be poor to non-existent. I was never able to find any useful references on the web either an they only allow you to see their forums if you are paid up on your license. Not a way to run a successful business in our book.