IOGEAR 2×4 USB 2.0 Peripheral Sharing Switch

Share up to four USB devices between two computers.

switch2The unique feature of this particular switch is that the actual switch is the placement of the button.  The button for switching the peripherals is on the end of a long tether.

The device was built rather solidly, with the cables for each of the computers being attached directly to the device.  The button for switching between the two machines only requires a fairly light touch.

The device itself did work fine after a few teething problems.  the problems had nothing to do with the device itself.  One of the the desktops that it was connected to was connected to only had a free USB3 slot and that is where the problems began.

The two devices that needed to be switched was wireless mouse and mechanical keyboard.  The computer did not boot up because it couldn’t find a keyboard.

I contacted the IOGEAR support line.  Their representative was polite but actually not all that helpful.  They could not guarantee that a wireless device would work, I was given the advice to switch my plugged in peripherals around as a “first start”.  I was very disappointed to hear that the support person could not give me the second option I should try if that failed.

In the end, it turned out that the problem was with the USB3 driver and nothing to do with the IOGEAR switch.  Apparently, my driver was not up to date and thus not all of the recognition was working.

A number of reviews on the Internet complain mainly about two different issues for this device.  The first is using this switch to switch external USB disks between computers.

This doesn’t seem like the best solution unless it is done at the same time as turning on or off these computers, or ensuring that the drives are properly dismounted.  The second issue is with wireless devices.  My wireless mouse was recognized but oddly enough my wired keyboard was not always recognized when starting the computer.  No amount of new or updated drivers help me with this issue.

Pros        The main switch is rather solidly built. It is possible to put the switch behind the computers away from the the work area.

Cons       It is not possible to see which computer is currently selected either from the switch or the box itself.  The button for switching is connected with a very thin wire.

Addl       Computers don’t respond well to being without a keyboard on boot, this setup was problematic for one of the computers (tower).  The other computer was a laptop and thus always had a connected keyboard.  The eventual solution was to purchase a Logitech unifying receiver.  This tricked the computer into thinking a keyboard was always present.

Posted in Review | Tagged , | Comments Off on IOGEAR 2×4 USB 2.0 Peripheral Sharing Switch

about really simple syndication – RSS

Some web sites, like news sites, are lucky enough to have quite a few new articles every day.  It is easy to go back to those sites every day as you know there will be new articles.  This isn’t necessarily the case for casual bloggers.

It is always possible to visit the site daily or hourly looking for new stories but there is a better way.  The better way might be to create a list of stories that is published that can easily be retrieved allowing the user to easily see what if anything has been added to the site.

This is not a new idea and has been around using the names such as “rich site summary”, “RDF site summary” but is usually called “really simple syndication” or RSS.  The idea is that this file can be monitored and the user can be informed of new content.  This list or document contains a full or summarized list of the stories including meta data such as author or published date.

It is possible to get a stand alone RSS client or as a plugin for your web browser which can read these RSS files.  It really would not be terribly much fun to manually to maintain this but WordPress actually will do that for us automatically.

It is possible to query this from this site (or any wordpress site) by simply passing in a parameter when visiting the site.

blog.paranodprofessor.com/?feed=rss

This will return the RSS list that is maintained by WordPress which can then be used by the RSS client to monitor the site.

Some WordPress sites are configured with custom permalinks and this won’t work.  It is possible to get the RSS list by using a slightly different link – this particular link won’t work on this site.

blog.paranodprofessor.com/feed

It is possible get all stories from a wordpress site in this way, but it is also possible to see only a subset based on categories or tags.  This information is really well expressed on the wordpress site.

To make it obvious to readers of the web sites, the bloggers simply have a small icon which returns the RSS feed link.  This link should be added to the RSS client’s list of feeds.  This is an example of what most of the RSS icons look like.

1000px-Rss-feed.svg

You do, however, need a small bit of code behind the text.

<a href="http://blog.paranoidprofessor.com/?feed=rss">
<img src="http://blog.paranoidprofessor.com/wp-content/uploads/www.clker.com-small-rss.png" 
alt="Subscribe to RSS Feed" /></a>

The code, does the work, the icon makes a visible point but how did I actually use it?  I simply created a new text widget and added the code to my widget.

 

Coming clean …

I have never really had much use for RSS, although I did configure one as a ticker for my laptop for this article.  The Internet is full of information about RSS as well as plugins or other client programs.

There is a good article describing what RSS is and how to use it from wpbeginner.com.

Posted in blogging, Setup From Scratch | Tagged , | Comments Off on about really simple syndication – RSS

ROCCAT SIRU pitch black mouse pad review

At 340 x 250 mm this is a large mouse pad advertised as a gaming mouse pad.

mousepad2

Selling points

Optimized gaming surface
Non-Slip backing
Easy to Clean
Optimum size
Top Notch compatibility
Knife-edge thin

Knife edge thin is no joke.  The mouse pad is 0.45mm thick which is perfect to prevent your mouse from falling off the pad – it slides off.  This would be especially important point while gaming.

No idea how Roccat make this an optimized gaming surface but changing to this mouse pad felt like getting a new mouse.  My mouse is now very responsive and all the sluggishness that I previously experienced is gone.

The non-slip backing is not terribly different from gluing the mouse pad to the desk.  This mouse pad is essentially he worlds biggest sticker and is pasted to the corner of my desk.  It has not moved the tiniest bit.

I did clean the corner of my wooden desk prior to applying the mouse pad and indeed it stuck like a champ for a couple of months.  Yet, as time has gone on the corner of the pad that my wrist inevitably rests on is starting to come loose.

Pro s   Super thin and super responsive

Cons   Your mileage may vary with respect to the non-slippage depending on the surface it is mounted to.

Addl   After four months, I have considered to purchase a new mouse pad and by the sixth month, I have purchase a new mouse pad.

Posted in Review | Tagged , | Comments Off on ROCCAT SIRU pitch black mouse pad review

i am NOT paranoid

As the saying goes

“Just because you are paranoid doesn’t mean that they are not out to get you”

Just when you thought that companies were content to track us with cookies, tracking cookies, web beacons or website trackers they found something new.

It seems that the marketing companies are trying out a new method “cross device tracking” of connecting together all of our devices from the PC to tablets and phones and seeing us for sum of our habits.

Instead of being content with a lot of small views of our habits,  they want a full view of your demographics across all of your devices.  In what seems to be a fairly creepy plan, the marketers will play an ultrasonic sound on one of your devices which can be picked up by your other devices, thus linking both devices together and providing a more complete picture of you.

Even if none of this works all that well on a larger scale, this will be a blow the battery life on tablets, phones and laptops which is more than enough reason to be upset.

 

For more information about cross device tracking, search with your favorite search engine for the following.

cross device tracking cookies

Posted in Soapbox | Tagged , , | Comments Off on i am NOT paranoid

Purchasing a personal computer in the new millennium

It is easier to let your fingers do the shopping for a new personal computer now than at any time in history.  You can purchase everything you like from one of the various online retailers, find a nearby location selling the computer of your dreams or even purchase it directly from the manufacturer.

Despite the convenience of shopping online, it is amazing how difficult it is to compare the different systems.  The easiest differences are memory and disk space, but the real challenges is which generation of which processor, what power supply, or does the memory speed make a difference? The challenge definitely increases when you don’t want the same computer that most of the companies are selling.

If you want a new computer or something a bit special, why not just build it? This line has probably been uttered to many friends and neighbors by their technical friend. Honestly, most people really don’t want to see the inside of the computer but there is real savings to be had and not only just money.

“If you want something a bit special, why not just build it?”

Like most things there is an easy way and a hard way to this task.  I am not going to dwell on the hard way, as there are people who not only love putting together their computer.  They build computers for their friends and acquaintance where no budget is too big or too small.  These people write blogs on computers, do youtube videos or work at techmagaizines

The easy way is obvious in retrospect.  I suggested to my friend to purchase the parts and one Saturday morning put it all together.  Due to her hesitance, I suggested go to the computer store and ask them about building it for her.  She can go in with the general specs, walk around the store picking up the parts and leave it to the tech guys to assemble it.  Without any fear of that some fan is facing the wrong way or something plugged incorrectly on the motherboard.

This has to be a real win for the small computer store.  They sell the parts, perhaps some software and charge a fee for putting it together. You get the best parts that you can afford and while simultaneously having a machine built for your particular workload.

Description Price
MSI G210 1GB D3 PCIE DVH (graphic card) 31.99
EVGAMEM 16GB 8X2 D3 2133 DIMM C11 (ram) 84.99
MS OEM WIN7 PRO 64BIT SP1 OEM (operating system) 139.99
INLANDPRO ILSILVER 400 WATT ATX PSU (power supply) 24.99
ASROCK AMD 970M PRO3 MATX (motherboard) 24.99
WD 1TB 3.5 MAINSTRM BLUE HD (hard disk) 39.99
AMD BOX AMD FX-8350 BLACK ED (cpu) 149.99
IPSG LG 24X DVD BURNER (dvd drive) 14.99
CORSAIR CARBIDE 100R SILENT ATX (pc case) 57.99
Subtotal  569.91
Tax  41.49
Build fee 130.00
Total $741.40

Save more money!  Get higher quality components!  More ram or hard disk space!  Where is the catch ?

Well, depending on your shop you might need to setup the operating system or install drivers.  If there is a problem with the graphics card or hard disk you may have to purchase a new part or speak with the manufacturer yourself.  If you don’t know exactly what you want in a computer you may need to do some research.

Depending on the requirements the new system will be either cheaper than purchasing from a big manufacturer, or it may cost exactly the same.  If it isn’t cheaper then why bother?

The odds are you will be getting more ram for the dollar perhaps even twice as much. Your computer may have a better quality hard disk, a faster CPU or even a special raid card.

Most people don’t purchase a new computer every year or two, but rather wait for it to break or because it is necessary because the old one won’t run the new operating system.  The “custom built” computer may even have enough horsepower to survive the next operating system upgrade cycle.

It is likely that whatever you build it will be better than a new brand name computer that has a small disk, memory slots all full of small memory cards, a small power supply or an old CPU.  You will probably have this system for 3 – 5 years. Perhaps longer if your demands don’t change and the computer still runs. In my family, they wait until they get a call from the Smithsonian museum looking for donations.

Why not get the best from your computer budget.

 

Posted in Setup From Scratch, Soapbox | Tagged , , | Comments Off on Purchasing a personal computer in the new millennium

Becoming a developer – makefiles

Each programming language has its own set of commands for turning source code into a executable program.  Back in the olden days this was done using an old and by today’s standards a tool with limited functionality.  This tool as call make and when combined with a configuration file called the Makefile it would perform a number of steps utilizing any of the programs installed on your computer to generate your executable.for

Usually, the steps are easy to transform source code into programs, at least in theory.

hello.h

#define TEXT "hello world!"

hello.c

#include 
#include "hello.h"

int main(int argc, char **args)
{
printf("%s\n", TEXT);
return 0;
}

You invoke the name of the compiler to read the source code and output the finished program.

gcc hello.c -o helloworld

The compiler reads in hello.c and creates the program with the name helloworld.

Yet, that is too simplistic for pretty much all commercial programs in the world.  For programs  more complicated than this the code base is usually split across possibly dozens or even hundreds of files.  It would be too much work just to type all the names on the command line each time.  One possibility, which is pretty inefficient, is to have a script to compile all files every time it is executed.  This is inefficient as it will compile all files even if only a single file has changed.

The goal of the make utility is to allow us to define relationships between the various source files.  Thus only the minimum subset of files are rebuilt when a change occurs.

The two important concepts is that of dependencies and and targets.  You simply define a target, ie a set of rules to be executed, whenever one of the dependencies is newer.

 

Anatmony of a Makefile

CFLAGS = -Wall -I.
HEADER = hello.h
SOURCE = hello.c
TARGET = helloworld

all:    $(TARGET)

$(TARGET): $(SOURCE) $(HEADER)
        gcc $(CFLAGS) $(SOURCE) -o $@ 

Make has variables called macros.  There are a few special predefined macros which when are evaluated return either a file or rule name.

$@ name of the target rule name
$? list of dependencies more recent than target
$^ all dependencies regardless of if they are more recent than target

These predefined macros are very convenient but it is also possible to define any user defined macros to hold any values.  These user defined macros are used to help make the process as generic as possible but also when setting up special or unique rules.  Macros are usually used for the same reason variables are used in programs, it is possible to define the value at one location and use it in many.

Makefile new rule

clean:
        rm -f $(TARGET)

Of course the make command is used for transform source code into programs but it is possible to define any  arbitrary set of commands as part of the build process.  It is possible to have rules setup to perform certain pre-processing steps prior to the build or other rules that are helpful during development.  These rules might even be to install the program or create a environment.

Has make’s time has come, and gone?

A makefile is a very useful tool to run a compiler to generate object code.  As previously mentioned, it is possible to take any command line program and execute it as part of a target.  This program could be like lint which is used to analyze source code for programming errors.  Yet it is possible to create your own scripts or programs designed to perform other “special” tasks that are unique to your own company.

Although make is a nice lightweight tool other solutions such as Maven, Ant or Gradle can  offer more than just building a program.  Maven for example is built around a life-cycle of the program.

  1. compile the source code
  2. compile the unit tests
  3. run the unit tests
  4. package up the program or library
  5. deploy it

Not only that but Maven actually stores all of the Maven known dependencies. Not only that just stores but will retrieve them as needed.  This is not just a single version of a jar file but can actually internally maintain several versions of this same jar.

Not only that but Maven also can be used to create a template of your project.  This is both convenient for junior developers and helps to ensure a certain level of consistency within the organization.

Make is only limited by your imagination however if you want to support the same level of functionality (described in last two paragraphs) would require special effort by the developers and no matter how good they are the ability to download and keep track of different dependency versions would not be as good.

Each tool has its own uses and for small projects with no dependencies that have unique steps may be a great task for Make.  That said, there does not seem to be a great clambering in the market for people with makefile knowledge but rather those familiar with a fresher toolset such as Maven.  I have a few brief blog posts for anyone interested in getting their feet wet on this topic.

Maven installation

Maven alternative build tool 

Maven simple example

 

Posted in programming | Tagged , , | Comments Off on Becoming a developer – makefiles

Artificial Intelligence or better profiling

Not that long ago, I was looking for a new job and was using Google mail to send out my resume.  It was late and I was trying to get everything done so I could make dinner.  In my haste I pressed send but the resume wasn’t yet attached.  The good news was that Google caught that slip.

It seems like you forgot to attach a file.

You wrote “I am attaching” in your message, but there are
no files attached.  Send anyway?

Just a good feature or is there a deeper ability?  Between cookies, a pixel or a website tracking tags the Internet is keeping a good eye on us.  Visit a few web sites and before you know it the electronic parts you were viewing on one site are showing up in the advertisements on the next site.

I have never had my phone or fitness band eavesdrop on my conversation, computer suggest Ashley Madison to me or get tracked by black helicopters, but indeed computers and software companies are getting much better at connecting the dots.

There is a good article in The Atlantic someone else’s view about paranoia.

http://www.theatlantic.com/magazine/archive/2015/11/if-youre-not-paranoid-youre-crazy/407833/?single_page=true

Posted in Soapbox | Tagged , | Comments Off on Artificial Intelligence or better profiling

Becoming a developer, then and now

Back in the ancient days of computers, the 80’s, it was possible get free and open source software, but it was a bit more work.  To do so you might have used your modem to connect to bulletin board systems or perhaps purchased a CD full of source code or compiled programs, most of which was in the public domain.

These days, the amount of effort is significantly reduced.  A simple web search with the phrase “compiler download free” returns a lot of possibilities.  The free possibilities are range from a free visual c++ from Microsoft (who would have thought) to GCC which will compile C, C++, Objective-C, Fortran, Java, and Ada.

The question of how to proceed might would be a question of someone interested in development but not sure just where get started.  So many possibilities.  I personally think that a bit of “C” programming is not a bad starting point, well, especially for those with a small masochistic streak.

Yet, even that comment is a bit harsh considering the high quality tools that are freely available and how they have improved over the years.  The old school method of development and debugging was either with the print statement or using the command line debugger gdb.

These days it is not uncommon to an integrated environment for editing, compilation and debugging.  Eclipse provides an amazing development environment which can be used for almost any compiler, but it is possible download a pre-configured version for Java or C++.  All ready to go without any configuration necessary.

Java Developer

Eclipse Multiplatform integrated development environment which includes its own built in compiler.
Java JDK Oracle Java command line compiler and other tools for building libraries and documentation.

 

C++ Developer

Eclipse Multiplatform integrated C++ development environment config
GCC C++ command line compiler, also includes support for C, Fortran, Java, and Ada

 

Other Tools

WinMerge This windows graphical utility for comparing source files and display the differences.
Notepad++ A windows text editor which supports tabbed editing, spellcheck, syntax highlighting, and comparison.
Source Management Used to manage changes to documents, computer source code, web sites, or collections of other files.
Build tools Utilities designed to transform source files into programs by executing commands.

  • Make often used by c/c++ programs but can be used to build programs from any language
  • Ant typically used for building Java programs
  • Maven typically used for building Java programs

As important as the tools are the theory needs to be picked up somewhere.

  • School online or offline
  • Private tutor
  • Internet training
  • Books

The Internet again leaps in to fill the gap.  It is possible to purchase books online, work with online tutorials or even visit an ivy league college online to get started.

For those really interested in ancient history (command line debugging) take a quick look at the wikipedia entry.

https://en.wikipedia.org/wiki/GNU_Debugger

I will try and expand more on the tools in future blog entries.

Posted in programming | Tagged , , | Comments Off on Becoming a developer, then and now

pigs get fat but hogs get slaughtered

The evening started a bit different than normal.  My wife came home from her meeting early with a rather odd announcement.  It seems that the secretary could not get any ink cartridges for the printer.  The office supply chain that they deal with simply cannot deliver this ink for at least 10 more days. Without those cartridges it is just not possible to print the required forms for the emergency services that her department does daily.

Somehow my wife was volunteered to run around town and purchase the ink.  Because this was such an unusual task that might take a while, the children and I were invited to go with her to buy office supplies for work.  This was actually perfect, as I needed some printer toner for my printer and a few envelopes as well.  Our reward for shopping was for all of us to go out for dinner.

Shopping took only a few minutes and I guess you should never shop without a list because there was more than four items in our basket.  Yet, I was blown away by the total.  Sure, there was a few extra things but it seemed to be about 100€ too high.  We didn’t pay before looking at the receipt and yup, a set of color toner for our printer was indeed the lion’s share.  What option did I really have?  Tomorrow or the next day I just may wish to print something.

So, I sucked it up, paid the bill and we all went out to dinner.  The children were enjoying their meal and we were all having a great time.  I guess I am cheap frugal as my mind kept drifting back to the expensive office supplies in the trunk.  The answer was obvious, do a quick check online and do a  price check – my cell phone was just the tool to do it.

It didn’t take more than 2 minutes to see that I could buy the exact same goods including shipping for 30€ less.  There is indeed a small trade off between immediate gratification and price.  My wife’s company cannot wait an extra couple of days but I think can restrain myself.

A couple of Euros would have been OK, but the savings was almost enough to get one more cartridge, or a nice contribution towards dinner out with the family.

I would hate to be in retail right now, the Internet is either keeping them honest or putting them out of business.

Posted in Soapbox | Tagged | Comments Off on pigs get fat but hogs get slaughtered

life lessons at a young age

I was sitting at my desk when the phone rang.  To my surprise it wasn’t my phone conference but actually the school of my eldest.  The secretary was reporting that the wallet had been turned in and that my child should come and pick it up the next day.

Well, the wallet was pretty cheap but it did contain several important items.

  • citywide public transport card
  • twenty Euros
  • school identification card
  • library card

So early the next day my child went to the office and picked up the wallet and put it back into the backpack for safe keeping.

At dinnertime both mama and papa were curious about the status of the wallet’s contents.  I was surprised that the wallet had not been opened, but mama was so curious she went over and plucked it out of the backpack and opened it.

It was an unhappy yowl when she discovered that both the money and the transport card were missing.  The money was gone but I understood that, yet the transportation card made no sense.  It was actually a student transport card and was only valid with the student id card that matched it.  It actually cannot be used by anyone else, should they be stopped with it then it would be worthless.

My child has learned a lesson in responsibility, but has also learned a lesson about people.  They really are not as trustworthy as he naively thought.

As for me?  This pretty much reinforces my core beliefs in mankind.

Posted in Soapbox | Tagged | Comments Off on life lessons at a young age