Friday, March 29, 2013

Today...I was Jared!

"You know J...we lead a pretty good life!"
..i declared to my comrade in toil, sipping on my Caramel Frappuccino as we began this the day of our work and the end of our work week. 

I reflected upon that which lives in my memory of some places of employment i'd had in my youthful years where conversing with a co-worker whilst on the clock was strictly forbidden, and where beverages were prohibited from residing at our desks...lest they be water held in a seal-able container. 

A particular affair was a call center job where each worker was treated as if they were a lowly child who could not discern right from wrong, and deserved to be watched over with little to no freedom. It was degrading to say the least! 

Thus this tangent comes to fulfillment and my manner of speaking can return to that which is considered normal (you can blame my friend Lareesa for my choice to speak like this lol)



At my current place of employment, my coworkers and i have a spreadsheet we enter all of our lunch receipts into for when we get lunch for the group so as to keep the flow of money into lunch as equal as possible.

In reality, the "Turn To Fly" is amusing because it's a static value and never changes. We always tell J it's his time to fly ...and for a while he didn't know the value wasn't updated by the spreadsheet :) 

This brings me to the experience i had today that caused me to write up this post! 

Today i took a turn to go out and grab lunch, but J took a turn to buy. When i arrived at Arby's the cashier was super friendly and while waiting for the card to go through he glanced down at the name on the card. From then on, we were on a first name basis...I was Jared.

"Here you go Jared!"  he said to me, an authentically joyful voice. 


My original reaction was to correct him, but i felt that doing so may throw him off or squander his chipper mood, and i didn't want to be the one to knock him off his horse! 

"We'll have your order right out to your Jared!"
"Would you like any sauces Jared?"
"Here's your order Jared!"
"Have a fantastic day Jared!"

Instead, i chose to embrace it, "Thank you so much!" i replied with a smile!  I realized that it doesn't matter what he calls me or who he thinks i am, as long as i'm showing up as my authentic self and coming from the space of love in all my engagements whether they be as momentary as a single encounter purchase at a fast-food restaurant, or whether they be a long-term relationship with a family member or friend. Upon realizing this, i couldn't help but feel how true that statement is.

The love that you give out comes back ten-fold, and i know that what he got out of our short engagement with each-other was more than enough to make his job worth showing up to today.

Even when someone doesn't know you, or thinks you're someone else....JUST BE YOURSELF! And you will create the positive situations that you deserve to have in your life!

Wednesday, June 27, 2012

Marijuana & Legalizing Zombies

An article was published today on CNN that revealed that the man who chewed off 70% of a homeless man's face was high on Marijuana , and not the previously assumed "bath salts". Like any good citizen, i immediately start looking through the comments to see what the masses had to say about the topic at hand, and how CNN presented the article. 


Courtesy of benblogged.com



I found an overwhelmingly disproportional amount of people who were up in arms about how this article was intended to slander "weed's good name", and hinder any progress that's been made towards gaining a more widespread acceptance of marijuana.

When Time published an article on "smoking pot", they found that
42% of those surveyed admitted to having ever smoked marijuana in their lifetime. Now they didn't state who were active daily/weekly/monthly users, just had ever tried. We'll give them the benefit of the doubt that the they omitted that information because of short-sighted  journalism and not because the author had a political agenda.


On NIDA's website for drug abuse, they state that about 8% people they surveyed used marijuana on a daily basis.


If you do a quick google inquiring as to How many Americans smoke marijuana, instead of finding an answer, you'll find numerous results with headlines saying that 45% to 60% of people are in favor of  legalizing marijuana.


However, I once took a survey on my stance for legalizing marijuana, and i was presented with multiple choice. An example of what they had for answers was:
  • A) Yes, legalize it. 
  • B) Legalize it, but only for medical use
  • C) Let the states decide 
  • D) Don't legalize it 
  • E) Don't legalize it and increase the penalty for those caught smoking it. 


I chose answer B (it's okay if you disagree with me, it's not really relevant to the "point" i'm trying to make), but my answer was counted as part of the percentage of people who are "For Legalizing Marijuana". Now of course that percentage is now being used as a statistic showing that i'm part of a group of people in favor of something that i'm not really in favor of. 


Now of all these stats, depending upon their political agenda, i assume that there's going to be some sort of fudging of the numbers in one way or another. But even if it was split right down the middle 50/50, i would dare say that 90% of the comments on CNN's article were the group of people up in arms trying to defend Lady Pottery and her "right to get high". So you can understand my confusion as to why there was such a large discrepancy in how one-sided the comment conversation seemed. 


Then it hit me....

Although there may have been a few people reading that article who were like me and had a job with access the computer and can browse the internet and news sites on their breaks (or whenever i feel like really, i hit my deadlines)....the rest could be accounted for as part of one identifiable group!

All the potheads were at home sitting on their couch with their laptops, obviously having lost their jobs to a failed drug test, holding a handful of munches in one hand, and googling "weed" with the other hand! Of COURSE they're going see the headline, read the article and think: 
"What? Weed not bad, weed good! Tell them weed good...". 


It all started to make sense, all is right in the world again! I think i will now work on getting myself a pet zombie.

Even you potheads should be able to laugh at that. And if you can't....light one up and read it again :)

Wednesday, May 2, 2012

Database Programmer - The Importance of History Tables


Any programmer who has taken over where another programmer left off can easily compile a list of things they wish the previous programmer did or didn't do. Some people are anal about naming convention, some people are unhappy about the choice of language, choice of environment, or too large of a dependency on third party libraries.

Truth be told, when i took this job, I've complained to myself about ALL of these (my girlfriend can tell you all about it!) All those complains aside, the problem that seems to come up the most often and ends up consuming the largest amount of time fixing, is bad database architecture.

With that bad architecture, there was also a gaping lack of audit logs or any trail to follow when trying to find out how certain data in the database got to the current state it's in. As time has progressed, I've added history tables to some of our most important & and active tables, but as any database programmer knows...doing it right AFTER the fact can take up a considerable amount of time.

If my only job were to pose as the database administrator, this would not be a issue, it would just be my job. But since this is still considered a "start-up company" and our workforce is very small, i have the opportunity of filling all the roles that a programming team normally gets to divide and conquer in their specialized roles. That leaves me with little time, and a lot of frustration towards a database that wasn't done right in the first place.

If you are designing tables for a company, here's my plead to you: PLEASE, do it right the first time!

Here's why:
  • Change in Vision:  Once data is modified or, ultimately, lost....there is no getting it back. With history tables, if requirements change (we all know that the "visionaries" we code for are never done with their idea) on how the data should be structured, you can't recreate the data that was lost because of it.
  • Security: If you have programmers on your team, or who work on your project in the future who aren't that well verse in best programmer practices for security, they may leave an open invitation for hackers, who may happen to target you, to find some way to exploit it and possible alter or remove data. With proper structure, and more importantly audit/history tables, you'll be able to recreate data that was changed after the last backup of the database.
  • Reports: Nothing makes the boss more happy than being able to see data aggregated into some form of report. The more data, the better. I'm not one who is skilled in looking at a years worth of data and graphs and being able to change parts of our business model to make for a more productive upcoming year, but i know that some of the people we code for are!
  • Coding Mistakes: I know WE are all perfect and never make a mistake (right?), but it's always that dumb programmer who doesn't really know how to code, but thought it would be cool pretend to know how who makes a mistake that accidentally updates your entire customer database instead of just the one intended record.

I'll tell you a story:
When i was a young programmer (Hell, i'm still young), i was working in PL/SQL Developer and i wrote out a query to fix the price of certain people's orders who had gotten placed wrong due to a coding issue in a new part of the system (albeit a problem created by one of my coworkers), had it all formatted pretty so it was easy to read, highlighted it to execute it, but didn't scroll down far enough to include all of my WHERE clause. Ooops?  I changed the price of tens of thousands of orders instead of just the ~10 or so that fit my intended criteria. I about crapped my pants right there.
Fortunately, through my hyperventilating about the possibility of losing my job over a simple mistake,  i remembered that i had the forthought to create a history tables for the table i was updating back when i first created it. I immediately had all automated processes that work on that table temporarily suspended and after a couple of energy drinks, and a lot of sweating, I was able to restore the data.

Now i'm sure this would never happen to any of you, but what if young me comes into do some programming work for you and, because of my obvious excess of charm, manages to find a way past the screening process? Yeah, it will happen, and when it does, you'll be thankful you took the time to design your database properly.

Today, i write this to vent my frustrations about a situation that i'm having to clean up after regarding just a few of our orders: 
We have a partnership with a company that handles financing on some of our orders. We have a product that's tier'd to give additional access to the system depending upon the size of the product the customer chooses. Unfortunately, said finance company chose to originally accept, and then later deny financing on said order resulting in an order going through the completion process and then later needing to be reversed.
Due to poor site & database design, the access to the system is not based off of what data is in the database, but rather access values are inserted into a particular table based off of customer input (that is never stored in it's raw format) received at the completion of the order. Since there were never any history tables attached to this particular table, access was overwritten, and original access from the customer's original input was lost entirely. 


Are you pulling out your hair yet? Stressed out? 

If you're not, then congratulations, you've mastered the art of "not caring" :)





Please adjust the time expectations of the people you program for, to allow yourself enough time to Do Things Right the first time!

Here's a good write-up of how to design and what should be included in your history tables: http://goo.gl/Qxwyc

Wednesday, April 4, 2012

XBOX 360 Credit Card Vulnerability False?


Microsoft disputes the claim that Xbox 360 can put your credit card information at risk stating that 
"Xbox is not designed to store credit card data locally on the console, and as such seems unlikely credit card data was recovered by the method described"


I'm more interested in the choice of words used by this author over at http://bit.ly/HZ2XoB



Monday, March 12, 2012

Did you look with your hands?

When i was growing up, i was taught the proper way to look for something that i was trying to find. If i didn't search thoroughly enough, and went to my mother for help she would simply reply "Did you look with your hands?". The question implying that i went into my room, glanced around at the walls, and then went to her satisfied that i had given it my all in my search...rather than moving stuff around, looking in drawers, leaving no rock unturned. 


The concept of actually putting effort into something you attempt to do wasn't unique to just trying to find an object. My father also would tell me "Anything worth doing, is worth doing right." along with "Putting the extra work to get something done right now, will save you a lot of time in the long run"


 So fast forward to now, where i have to interact with coworkers, and contacts from 3rd party companies we do business with. I get frustrated enough when i don't feel like my co-workers are using their brain, pulling their weight in a project, or if i feel they're doing just enough to check something off their list. But when i have to deal with that kind of stuff from people in other companies, where i can't speak my mind about it, i just...well...i write a blog about it! 


I work for a recent start-up that just got through it's first year of business with all sails still catching wind, my main responsibility is programming. A company that we work with, i won't say which one (but if you work for that company, please take what i say to heart...and fix it.), is constantly pushing my buttons. Since i was their first contact, when i programmed our system to work with their API, word got around that i was the man to contact for any an ALL questions even if it has nothing to do with making sure the system is working, or programming. 


I constantly get emails from people in one of their departments claiming that they have been unsuccessful in getting in contact with a customer of ours, and have exhausted all their resources. When we first started doing business together, i was more than happy to oblige them and see what i could do to help (my intent was to cement a good rapport in our business relationship). However, as time went on, i began to notice that rarely did they ever fit what i would consider "exhausting their resources". I could see that our system sent them a contract just a few hours before i would get an email from them pleading for my help. So after a few hours of trying (my assumption is a single attempt was made on all available phone numbers supplied), they had resolved that their resources were exhausted


Imagine any programmer you know (we, in general, are very impatient with the general public), and please imagine a vein bulging out of his\her forehead. 
 I started ignoring these emails until i would get a second one from the same person for the same person, at which point i'd forward it on to our customer service team, and reply back stating that we were going to attempt to reach out to the customer on their behalf. Today, however, i decided to be nice. I had already accomplished a lot today and was feeling extremely generous, so within a few minutes of receiving their email, on good faith (assuming sufficient time had elapsed to justify their "exhausted" claim), i stopped the work i was doing and forwarded it to our customer service team, then replied back stating we were going to help. A few minutes later, i get a reply back stating that they were able to get in contact with the customer, and everything is good to go! 


 ...so i look at the order and see they received just under an hour ago. At what point, during that hour, did they decide that they had "exhausted" all their resources? Do they have lead handsets on their phone? Are their keypads backed by 10 pound springs making it incredibly hard to push down the buttons to dial someone's number? Maybe they're forced to do push-ups while their manager sits on their back whenever they make an outbound call...who knows? 


What i DO know, however, is that in the future...i'm far less likely to be generous with those individuals, no matter how chipper my mood is.

Tuesday, February 28, 2012

Survey Says... Windows Phone Not Boring

Windows Phones

Joe Wilcox of betanews asked readers “Are You Bored with
Your Windows Phone?”
in an article last week. The readers responded with a
resounding “No.”
Joe explains that he had heard a few comments about Windows
Phone users getting bored and since the UI is very similar to what will be
coming out in Windows 8, he wanted to know what to anticipate; would he end up
bored with his computer running Windows 8?

A week later and after over a hundred reader comments, Joe
Wilcox reports that no, Windows Phone is not boring. Many users came out of the
woodworks to let him know that they are not bored with their phone.

As a user of Windows Phone (HTC Radar) I can join my voice
to theirs and say, I am not bored of my Windows Phone. The fluid, easy to use
UI feels natural and amazing to use. The look and feel of it says new and
sleek, something that I crave in my technology. My old Android phone, as much
as I loved it was cluttered and slow to perform, I would spend hours setting up
an app or feature that was designed to save me a few seconds of a process that
was unreasonably convoluted. I can’t say much about iOS as I’ve never used it,
other than to fix my bosses phone, but Windows Simply put is still, after
several months of use, not boring, it is exciting and fun and keeps me wanting
more.

Source: Zunited