May 2006 Archives

For quite a while when I come into work I've been using x forwarding, or vnc to access certain beloved applications from a linux box under my desk to my PowerBook. Today I decided to make the change to synergy

After actually taking the time to clean my desk some, I started by moving my big old crt over to where I normally put my laptop and flat panel. I knew that wouldn't work though, taking way too much space, so I went over and talked to a sucker that I know, and swapped my crt for his flat panel. Truth be told, it's a nice crt, and quite higher resolution, but I needed the depth. Now it's hooked to "pelargir" and sitting next to my laptop and screen, making three panels in a row. I moved my keyboard and mouse over to the linux box and made it the server, this way even without my laptop, the linux box and laptop can function independently.

The nicest thing, is I'm running kmail again without the overhead of remoting it! One keyboard, one mouse, two computers.
--------

Debguts and Perl

| | Comments (0) | TrackBacks (0)

So I'm working on a bugfix for some code of mine, and I really need to see why something is happening, and I pull it up in the Perl debugger. as I'm stepping through a very long set of actions, validation all the different data at various points, I come to a fork that explains a lot of my problems. Great, now I want to continue along this branch and verify things are happening, but the first part of this fork is a method call that I really don't want to do. Now it's safe, I'm running in a sandbox and I can screw up the data all I want, but it took quite a while to get to the point that I'm at, I haven't saved out all by watches and breakpoints yet, and I really just want to continue, without running this first piece of code. It'll just make me spend more time than I want to at that point.

Anybody else ever wanted to 'Skip' in your debugger? Well, I presented this question to a few coworkers who all agreed that they didn't know of a way to do it, when suddenly Paul mentioned, "Well, if you could just change the symbol tree". Harleypig's eyes then lit up thinking about the possibilities there.

So I made the suggestion to try on the fly replacing the subroutine in the object's namespace with a new one, and Harleypig was already pulling up a terminal to start playing.

I think he'll be posting his test code here very shortly, but suffice it to say, it works well. Inside the debugger we just dropped a new anonymous sub in the namespace, in that case clobbering the routine we wanted to modify. (*Namespace::Sub = sub { ... }; ) It would be just as easy to move the old one, substitute the new routine, then move it back afterwards.

All sorts of insidious evil. A day in the life of a programmer. I love languages that allow you to dynamically rewrite a running program.
--------

This day just gets better. I arrived home early (boss gave the company a half day leading into the 3 day weekend). Of course we all took off even earlier than that to go watch X3. But I get home and my copy of Schlock Mercenary: Under New Management arrived, all nice and signed. Time for some good reading.

The book is excellent quality, paper is great, colors are rich. Howard did an excellent job getting this book out.

Some teaser quotes:

You've got some return fire on you sir...
Put me out, please.

- and -

There is no overkill, only "Open Fire" and "Reload"

--------

X-ed up

| | Comments (1) | TrackBacks (0)

Well, just got back from X3. Very fun movie. Lots of good action. The only problem is the main things to talk about in the movie give away a lot, so I can't discuss them yet.

One thing to remember when you go see it, stay through the credits...

In retrospect, one thing that I really liked about the movie is that they did a very good job with the teasers of misguided fans into what was coming. Sure certain major things were known, but a lot of detail would specifically make you think different things were to occur.

In the way of nitpicking (that which I can do without giving stuff away). Angel, yes he's in, but he plays such a minor bit that it's kind of disappointing. I would really have liked to see him with a much larger part. Also, where was Nightcrawler??

Definitely worth watching, they do set up for sequels, but there are major character elements that will need to be resolved for one, several are hinted at or shown, but a couple will need help.

Overall, I loved it.

Today was one of those days where something happens to make you want to pat yourself on the back so hard you could separate your shoulder.

Last night we rolled out patches I had made to the Freeside giving it a Memcache storage. To start with I overloaded the built in object retrieval mechanism to transparently use the cache (if enabled, as always it's optional) to retrieve either data hashes, or actual objects. This was a little tricky as we are required to scrutinize rather closely our data, in order to deal with Sarbox controls. So I had to store data in it's still encrypted form, and only allow decryption after cache retrieval on privileged access.

There are several places that can still be cached, but we went with this first implementation as it was the best single point to tackle, and now we have real proof. With the first day's billing run (it's a daily processing system) I compared the load and process counts on our database server the day before and after.

Yes, this one piece getting cached dropped the database load by approximately half. Yes, HALF. w00t! And tomorrow will be even better because so much of today was loading the cache.

I love it when things work right. Next up more usage of the cache, but even more important, making sure it gets committed into the GPL tree.
--------

What's Your Show

| | Comments (0) | TrackBacks (0)

With the number of foodies who read this and my friends blogs I bet a lot of us have thought about what kind of Food Network show we might have if our cooking was presented. So I'd like your feedback, if your cooking was to be made into a show, what would the title, theme, and other elements be?

As for my cooking, as grandiose as I'd like it to be, I can only sum it up as The Lazy Bachelor . I enjoy my food, I like to cook, but I am above all lazy (hey, it is one of the key traits of a programmer). So much of my food comes from last minute food hacks, combinations of leftover, canned, or prepared foods.

I think that Food Network took this idea and did actually make a show for it, but instead of the whole bachelor angle that I mention, they messed it up by creating that show with the strange 'Sandra Lee' lady that scares me. The concept is similar, but the angle they present the show is just strange imho.

So what's your take?
--------

Cable Down

| | Comments (1) | TrackBacks (0)

For the first time in my experience, I had a cat5 cable go out on me yesterday. Now, I'm not talking some cable that was just sitting around, or one that was physically broken in some manner (bent, crimped, broken RJ45, etc). No, this was a short run of cat5 (5' maybe) that connected a box to a switch, and was working perfectly for the last 2 years. then BAM it's dead. Played around thinking the card had gone bad, switching things around. Turns out, just the cable was dead.

One thing I forgot to mention in last nights post, for those who liked the post by MJD , he is one of the presenters at OSCON again this year. If you are interested in attending, we have a LUG discount (or a student discount if you are still stuck there). Contact me for details. MJD has always been one of my favorite geek presenters, very engaging, thought provoking, and entertaining.

Oh, and yes, I'm signed up for one of his tutorials, and one of damian's :)

OSCON --------

Fun with Adwords

| | Comments (0) | TrackBacks (0)

I've found it interesting, despite my blog's content, at the number of google ad's related to nuts, bolts, and tools because of my domain name. Now I'm afraid, with the last post discussing a ratchet that it's going to really skew the results even more. Let's see what fun it really comes up with.
--------

One of my favorite geeks, MJD just did a blog entry where he talked about the ratchet effect where he talks about how we tend to use the mechanical advantage our tools give us to add cruft that we believe will help out ourselves, or others at a later date. Oftentimes we add in things (as the parens in his example) that we think will make something easier to read, or show our intent, but in actuality this often doesn't really help us the way we think it should.

Take for example a recent posting I made about over-optimizing a one-liner to where I had to add compiler hints for the list operations to be factored out correctly. Is this really the best way to accomplish a task? Sure, there are extra operators and parentheses attempting to make it more 'understandable', but it really wasn't good outside of the one-liner that I intended it because it was full of junk that attempted to make it understandable to something. And yet, it's great to know and understand how it works.

My favorite quote comes from the very end, "...the world is full of incompetent programmers. But no amount of parentheses are really going to help this person anyway. And even if they were, you do not have to give in, you do not have to cater to incompetence. If an incompetent programmer has trouble understanding your code, that is not your fault; it is their fault for being incompetent. You do not have to take special steps to make your code understandable even by incompetents, and you certainly should not do so at the expense of making it harder for competent programmers to read and understand, no, not to the tiniest degree."

How often do we, or certain languages (Beyond the social/political issues) do just that? Bending to the needs of the lowest common denominator. Do we write ourselves into corners trying to keep with a single syntactic style, a certain design pattern, or other concept?

On that vein, I'll segway into a link that if I recall, Stuart posted in #utah this morning, Signs You're a Crappy Programmer to me this just seemed to tie in very well with the last part of MJD's post.

Triathalon

| | Comments (0) | TrackBacks (0)

On saturday we hosted another paintball tournament, this time doing a Triathalon. 3 events, on separate fields. We kept people playing as much as they wanted, and had a lot of fun. Pics are up . My brother got some fun shots this time, look close on a few and you can see paintball's either leaving the gun, or about to, and sometimes even making contact with people.

Defeat The look of defeat.

HarleyPig about to catch one in the face HarleyPig getting shot by his son (note the one heading right for his face, about to impact). I'm a good teacher.

Hanging out Nice shot of AJ just pulling out to spot a firing lane.

Teaching my Nephew to shoot Me teaching my nephew Spencer how to shoot, he then proceeded to leave a welt on his dad's arm :)
--------

Trending

| | Comments (1) | TrackBacks (0)

I'm surprised that nobody on openclue has talked about google trends yet.

For my part, I think it's a great concept. If I was doing any kind of marketing research, having that searchable interface to google's stats would be a very powerful tool. To me it seems natural that there will be a 'paid' form of access to this data with extra features later just for advertising. Maybe it'd be just a part of your advertising cost?

The features that I see lacking currently, are some form of data export (csv, etc) or service to query this data. And second, the one I would like the most is the ability to localize more parameters, specifically limiting what search types were performed, eg images, blogs, groups. Narrowing those fields could give even more powerful data.

That's right, Wednesday is PLUG already. Mark Lehrer has offered to give a presentation about the MyDNS system. This will be a very informative discussion show how United Online uses MyDNS to provide and easy, powerful DNS solution for an extremely large number of customers.

You'll see:
* Real life administration
* Replication configurations
* When to use or not to use mydns
* How to use MyDNS with other DNS servers

United Online is providing the facilities, same location as last month, direction can be found on the PLUG website. Wednesday, 7:30 PM (following the Perl Mongers group).

--------

Deals

| | Comments (1) | TrackBacks (0)

For those geeks like me that like to buy hardware at a discount, there are a couple of good ones at staples this week:

  • Staples branded (relabled Imation) DVD-R (or +), 16× 50 pack for $7.98
    • limit two, so bring friends or go back if you run through them like me
  • Maxtor 200gb PATA drive for $49 after 1 internet rebate
    • did this last time they had it, rebate in 3 weeks
  • WD 250gb External drive $89, 1 rebate

Not bad if you're looking for that stuff.

"I'd rather go hunting with Cheney than driving with a Kennedy"
--------

LUG BBQ Wiki

| | Comments (0) | TrackBacks (0)

ok, Jordy said we could use the UVLUG wiki to start notes on the BBQ. Please go check out the page , add your feedback, and volunteer.
--------

Happy Yet Scared

| | Comments (0) | TrackBacks (0)

Joe's wife Nat recently had a tip about an upcoming tour coming to SLC that really caught my attention. The band list rather scared me too. The reason I had some attention is that it would be Erasure coming to Utah for the 3rd time in about a year (after a 13 year absence). In looking for confirmation, I found this interview of Andy Bell where he quotes:

"But also we are going to do this festival in America called True Colours, which is for Civil Equality. And all under 12's families go free, and it's with Cindy Lauper, B52's and the Scissor Sistors and us, so it should be a laugh! So maybe Blondie might come along, you never know!"

Erasure + B52's + Cindy Lauper = WTF?

Supposedly they are coming to town this summer/fall, outdoor venue.
--------

Dark and Good

| | Comments (0) | TrackBacks (0)

I know a lot of the geeks who will read this already saw this link, but I needed to post it for my family, as they will really be interested. Study Shows Dark Chocolate May Lower Blood Pressure and Prevent Diabetes
--------

Big Tabasco

| | Comments (0) | TrackBacks (0)

Few people can get as excited about Large Bottles of Tabasco Branded Pepper Sauce as Joe

But dang, those are tempting big bottles, get one of their decent flavors and that'd be good stuff.
--------

Openclue Hacks

| | Comments (0) | TrackBacks (0)

While glancing at openclue this evening, I was following the stories and figured I was just getting tired when I noted that things looked strange to me. It was then I realized it wasn't just me but I was seeing a bug that was time dependent. As aaron was explaining some of his opinion on the Blue Security system, he included some quotes, which used some stylized tags. Problem is, either in how he copied it, or in just quickly formatting, he forgot to close out his tags. I know all of us have forgotten this many times before, but I noticed this because it was slurped into the openclue feed, and his style then threw off all the following articles. All of their text was now in his "quote" formatting. Figured the all-powerful feedmeister-python-script would have tried to scrub those (and maybe it does, I haven't looked at it) but in any case it missed this one. Anybody familiar with the planet script know if it is trying that and just needs some extra help, or if that is a missing feature?

Sure would hat for some mischievous person to try taking advantage of that.
--------

Story time again folks, I was asked a while ago to document a fun one that I was telling some of the other guys at work. Once again we delve into the depths of my mission for a humorous experience...
--------

All That And...

| | Comments (0) | TrackBacks (0)

Yes, after an interesting discussion in the Freeside IRC room if you run Freeside HEAD, you can now access the only billing system so feature rich that it comes with a Pony
--------

so as Topher asked on PLUG it's getting about time for the annual PLUG BBQ, Surplus Swap Meet, and maybe some Geek Olympics. Join in on the thread and we'll see what we can agree on.

The basic goal is to get the local Geeks together outside of "normal" PLUG. Families are encouraged to come (let the spouses share in the complaints), let all of us foodies show off our 1337 Gr1\\1nG skills, and trade out some of those strange spring cleaning computers....

About this Archive

This page is an archive of entries from May 2006 listed from newest to oldest.

April 2006 is the previous archive.

June 2006 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Technorati

Technorati search

» Blogs that link here

February 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29  
Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by Movable Type 4.01