Crazy Like A Fox?

General — Jeff Eske on January 31, 2017 at 5:13 pm

It’s highly unlikely, but maybe Trump and his cronies know exactly what they’re doing here.  Maybe they are banking on the travel ban and other extreme measures making the U.S. more vulnerable to attack.  By making groups more hostile towards the U.S., it strengthens their argument that we need to tighten things down more.  It’s kind of like a self-fulfilling prophecy.

As things seem to get more and more dangerous for the U.S. and its citizens, the administration will insist that the only way to address it is through more military spending and more Orwellian oversight.  They’ll scare U.S. citizens into agreeing to letting Big Brother take care of them.

I personally think that the ban is “anti-American” seeing as how welcoming immigrants is how the country was built.  I think it does nothing but makes us more vulnerable.

Excellent RSS News Reader – GreatNews

General,Web Stuff — Jeff Eske on July 8, 2014 at 10:29 am

I’ve been using a fantastic RSS news reader for a while now and decided I should mention it.  I have a number of sites that I like to track and have been trying for some time to find a news reader that does what I’d like it to.  I’ve tried several to-date, and for one reason or another, they just haven’t panned out.  To this point, GreatNews is the best reader that I’ve found.  It’s fast and compact and does everything that I need.  And, just so you know, I’m not being compensated, etc. for posting this.  I just simply really like this program.

I’m not going to go into detail about how to use it, etc., since that’s available other places.   What I am going to tell you about is the one, totally unexpected feature that I found by accident – I can scroll my way through ALL of my feeds without stopping.  Basically, to go from page to page of articles, as well as from one folder/category to the next, all I have to do is “scroll down”.  As it jumps from page to page and section to section, it sets all of the previous articles to a “read” status. What this means for me is that I can start at the top of my news feeds and simply scroll and scroll and scroll, ’til I’m through all of them.  It seems like a really basic feature, but man is it handy.  And speedy.

Another nice thing about this reader is that it’s “portable”.  You can actually run it from a USB drive, no problem.  Just drag the GreatNews folder to your USB drive and you’re good-to-go.  One problem that I ran into when running from the USB though, was that the cleanup wizard seemed to hang sometimes.  When run from a local drive, the cleanup wizard works quickly, with no problem.  This could just be a function of the old, crappy USB drive that I’m running it from.

Anyway, if you still use an RSS reader and are looking for a fast, compact one, I’d recommend that you try out GreatNews.

Jeff

Oh No. All 400 people still using AOL need to change their passwords.

Uncategorized — Jeff Eske on April 29, 2014 at 1:33 pm

ArsTechnica: You’ve got pwned: AOL reports e-mail breach as bigger than thought

Jeff

 

 

Sometimes The Smallest Things…

Uncategorized — Jeff Eske on April 9, 2014 at 1:16 pm

Sometimes, the smallest things can make the biggest difference.  I’m currently working as a developer, helping to implement a web-based case management system.  When I first started, during some of our meetings, the end users were talking about some of their frustrations with the system.  One of the things that bothered them was that when you performed a search, you had to click the Search button; you couldn’t just simply hit the Enter key.

Their biggest gripe was that to find a client, you had to search for them, using the Search page.  It seems like a small inconvenience, but their reasoning was that when using other search resources (Google, Bing, Yahoo), you just simply typed in a term and hit Enter.  On top of that, some of them were searching dozens of times a day.  They had brought it up with the previous developer, but he simply told them, “Sorry, it can’t be done.”

Well, I went back to my desk and did a little investigation.  It was actually a pretty straightforward form, so there didn’t appear to be any reason that I couldn’t add that functionality in.  I went out to the Interwebs and found some sample javascript code that watches for the Enter key to be pressed, then performs some function.  I modified it to meet my needs and added it to the Search page.  As soon as I did, I started receiving hearty thank yous from all kinds of people.   Turns out that there were a lot more frustrated users out there than I knew.

To this day, people still comment on little things that they’d like to see fixed, “like the Enter key”.

Like I said, sometimes the smallest things make the biggest difference.

Jeff

Standing Desk Update – Two Years In

Uncategorized — Jeff Eske on February 13, 2014 at 2:52 pm

Well now, isn’t this special?  I’ve just found out, after  6 months working here, that I supposedly can’t use my current standing desk because I brought it in from home.  What?  After using and tweaking this particular setup for two years – two years – I’m not supposed to use it.  Someone on the “Safety Committee”, that probably hasn’t even heard of a standing desk prior to mine coming to their attention, thinks they have a better idea of what I should or shouldn’t do than me, the person that’s studied the subject and actually been using it steadily for two years now…

Crazy.

Maybe I can get them to buy me a $1500 electric one to replace my “inappropriate” $18 one…

Jeff

XKCD – Open Letter

Uncategorized — Jeff Eske on October 7, 2013 at 8:27 am
XKCD Comic - Oct. 7, 2013

Source: http://xkcd.com/1274/

Amen…

Although I’m not sure how much control Exxon has anymore.

Jeff

Javascript – Submitting a form by hitting “Enter”

Programming,Snippets — Jeff Eske on September 6, 2013 at 9:41 am

I’m working within a commercial web-based application that uses a lot of forms, none of which can be submitted by simply hitting the Enter key.  Users were wanting to be able to at least submit a particular search form by simply hitting Enter, rather than having to click the “Search” button, so I decided to do some checking.  I found a pretty simple javascript function that can handle what I need done.  Basically, it watches key presses and when it sees the Enter key pressed (keyCode 13) it runs my search function (some_function_here).  The nice thing is that the default Search button is still available and works the same as always.

Simply add this code to the HEAD code on your page, and change the actions within the if statement to match what the current button does “onClick” and you should be good-to-go.

[code]

<script language=”Javascript”>
function detectEnterKey(e) {
var evt = e || window.event;
if(evt.keyCode == 13){
some_function_here();
}
return document.defaultAction;
}
document.onkeypress=detectEnterKey
</script>

[/code]

 

Jeff Eske

Carb Upgrade – Rejetting

< 4 Wheels — Jeff Eske on June 24, 2013 at 2:15 pm

Finally had time this weekend to re-jet the carburetor on my 2001 Sportster 1200 Custom (XL1200C).  I’m now up to about a Stage .5, since all I’ve done is some minor carb work.  I haven’t replaced the air cleaner with a high-flow unit or replaced the stock pipes yet.  Turns out that I received the wrong intake gaskets, so I wasn’t able to replace them.  I don’t know if I ordered the wrong ones or if they pulled the wrong ones.  It doesn’t really matter at this point, since I was just going to replace them as a precautionary measure.

I love how straightforward and easy the Keihin carb is to work on.  It reminds me of my days as an auto mechanic, back in the 80s; fuel injection was just beginning to take over on new cars and there were still as many carbureted cars coming into the shop as there were FI cars.  I also like only having one carb for multiple cylinders, like a car, so that you don’t have to deal with carb syncing, etc.  On my past import (Japanese) bikes, carb syncing was a pain in the @$$.

Anyway, the Dynajet kit went in with no issues.  I stuck to the 160 main jet, that they recommend for stock setups.  While I was in there, I also replaced the stock .42 pilot jet with a .45.  I don’t know if it’s the dynajet kit or the pilot jet, but seat-of-the-pants testing would indicate a fair improvement in low-end driveability.  Previously, it seemed kind of starved when trying to accelerate.  Now, it just seems to have more “oomph” when I hit the throttle.

Hopefully, soon I’ll be able to spring for a higher flow A/C, and may re-route the crankcase ventilation while I’m at it.  I’m not sure what to do with the exhaust at this point.  I’m a fan of “rumble”, but not “loud and obnoxious”.  We’ll see.

Jeff Eske

OTRS – Manuallly Importing CMDB Items

OTRS — Jeff Eske on June 19, 2013 at 7:56 am

UPDATED:  I’ve changed employers and have moved on to other projects.  I no longer use OTRS, or have access to OTRS, so I won’t really be able to help you beyond what I’ve already posted here. 

Jeff

I’ve seen the number of people looking at my short entry dealing with importing items into OTRS’s CMDB, so I thought I’d expand on that a bit.  I’ll go ahead and give a slight overview, then provide a quick-and-dirty description of how to manually import items into the CMDB.  Later, when time permits, I’ll add a better explanation of how to automate the import process.  I may clean this up at a later time, bur for now, I want to get down the basics.

You can manually import CMDB items (computers, software, etc.) into OTRS using the Import/Export function, via the web interface.  There is also a way that you can automatically import items, via cron and the commandline.  I have a brief overview of that here, but will create a more complete explanation at a later time.  First things first though; you have to do the steps below anyway, before you can automatically import items.  You have to have the import template created in order to automate the process, since the automation uses an existing template.

Overview

To create the template, we’ll need to identify what we’re importing, the delimiter, and the CMDB columns to be included.  In my example, I’m importing desktop computers, the file is a comma-delimited format, and I’ll be submitting the minimum required fields.

Required Fields
What I mean by minimum required fields is that OTRS has a small number of fields within a CMDB record that have to be filled in.  If you go into the CMDB section online and manually add an item, you can see what the requried fields are; they’ll be marked with an asterisk (star).  For my desktop computer import, I’ll need to AT LEAST provide: Computer Name,  Deployment State, Incident State, Network Adapter  1(NIC1), and whether it gets IP over DHCP.

Creating an Import Template

So, here’s a quick-and-dirty rundown of how to setup an import template.  The values that are shown in the images below SHOULD get you a working template.  You will however, probably want to edit the values to more precisely match what you need.  As always, please read my disclaimer before proceeding.

1> Goto: Admin -> System Administration -> Import/Export

Import/Export Link Location

 

2> On the Import/Export Management screen, click the “Add Template” button.

Import Template - Add Template

 

3> Set the values in the Step 1 screen

Import Template - Step 1

Name: Name of your new template
Object: The object type
Format: format of the import data
Valid: set it as valid, if you want to be able to use the template…

 

4> When finished, click Next

 

5> Set the values in the Step 2 screen

Import Template - Step 2
Class: whatever type of import it will be – this affects what elements show up later.
Maximum number of one element: Not sure what this does 🙂
Empty field means keep value:  This will leave existing data, rather than “blanking” it out.

6> When finished, click Next

 

7> Set the values in Step 3 screen

Import Template - Step 3
Column Separator: The separator used in your import file.
Include Column Headers: That’s up to you.  I do “No”

 

8> When finishd, click Next

 

9> Add mapping elements

Import Template - Step4

There are a few things to note when adding elements:

1> Click “Add Mapping Element” to add a line for each field that is in the import file.
2> Add an entry for EVERY field in the import file, in the order they exist in the file.
3> There are some REQUIRED fields.  These fields have to exist in the import file, and have valid values, in order for the record to import.  The required fields are: Name,Deployment State, Incident State,NIC1,IP over DHCP
Name,Vendor,Model,OS,NIC-IP

 

10> When finished adding elements, click Next

 

11> Fill in search criteria to be used for exporting (optional)

Import Template - Step 5

You don’t really need to do anything with this, if you’re only planning on importing items.

12> If/when you finish adding search criteria, click Finish

 

13> Note the number of the template that you just created

List of Existing Templates

This should bring you back to Import/Export Management page that shows a listing of the existing Import/Export templates.  You should see your newly created template listed there.  Note the Number of your template, since this is what will be used to automate the import.

To actually import items, you’ll simply click on the “Import” link for the appropriate import template, select the source file with all of the records in it, and hit the “Import” button.  When it finishes, it will give you Summary page which indicates total records, successes, and failures.

 

 

Carb Tuning

Uncategorized — Jeff Eske on June 13, 2013 at 3:58 pm

The Sporty doesn’t seem to be getting enough gas to idle, if I push the choke all the way in, even after it’s warmed up.  That would lead me to believe that it’s probably running lean on idle.  When I went to reset the idle, I found out that the little anti-tamper plug had already been removed by someone.  That makes things easier for me.  The interesting thing is there are only 10k miles on the thing, with 8k of those coming from my brother-in-law and he claims no one has done any carb/tuneup work on the bike since he’s had it.  He said the the previous guy bought a jet kit, but chickened out and didn’t put it in.  I’m guessing that he probably went so far as to drill out the plug, but not do the jets.  I still have the jet kit, plus I ordered a .45 pilot jet from J&P Cycles, so if/when I install those, I’ll see if everything is still stock on the inside.

I also ordered new intake and carb gaskets from J&P Cycles, since I’ve seen on the forums that those are only good for a few riding seasons before they dry up.  If they’re dried up, they could be leaking and leaning things out some.  I guess we’ll see once I get the parts and pull things apart.

Jeff Eske

Next Page »
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | Jeff's Blog