Brick Pilers strike again.

This is in response to a post on the Lake Bluff Patch.  

http://patch.com/illinois/lake-forest-lake-bluff/daily-grind-loses-lease

I’m not saying that this is necessarily the case here, but my observation has been that there is a highly vocal faction of people in Lake Bluff that seem to want downtown Lake Bluff to be somewhat like a downtown Libertyville, with trendy little shops and bars and lots and lots and lots of people pouring through. What motivates this faction?  Ultimately, this is how the landlords will be able to raise rents and reap serious profits – when their tenants are raking it in.

How did this happen, how did we get here?  It started with the loss of Center Video, included a building collapsing “accidentally,” followed with an erection of what can only be described as (IMHO) a hideous monstrosity (the building that houses Lake Bluff Brewery and Lulu’s), and has transformed Lake Bluff from the quaint, hidden community into a caricature of North Shore suburban life.  Quietude and peacefulness was the reason that so many of us moved here. Loud, blasting music that can be heard from 2 miles away WAS NOT.
I’m not sure that Douglass had anything to do with any of the afore mentioned items, I’m not sure if he owns more buildings than the old Village Market building.  I seem to recall he was involved in the design and building of the Monstrous Brick Pile (again, just my infinitesimal opinion, which I am allowed to freely express).
One thing is certain – “progress” for this brick pile faction in the community (let’s just call them “The Brick Pilers” because that is what they do, and we should call a brick a brick) of Lake Bluff is not about building community and consensus, it’s about getting their way, getting their profits, increasing the tax base, so they can get more money more money more money.  “Let’s cover it all in concrete and asphalt.  Hey, isn’t a bustling community of shoppers and tourists what we want here?” they demand. Not me, no thank you.
The critical mass needed to satisfy the Brick Pile faction is NOT the kind of community of which I would be proud.  It’s not community – it’s just converting Lake Bluff into a beach-side tourist attraction that brings in lots of outsiders, spending money.  That’s it.  At the end of the day, that’s all the residents will see: Lot’s of outsiders, spending money and attracting crime, clogging the streets, and creating a general nuisance to the residents of the town.
Perhaps, the days when kids could leave their backpacks on the ground outside of Village Market, with zero fear they’d be stolen are already gone forever.  Thank you Brick Pilers.  Thank you. (<- that was sarcasm.)

How to run a database: some ground rules

So you think you want to be a database engineer/architect/maintainer/worker? Notice, I didn’t say “DBA.” THis is mostly because I have met so many that are not….Database engineers and architects that are good at what they do get paid well, but the term “DBA” has little meaning because there are many people who have minimal understanding of SQL who claim that title. Don’t claim that title unless you are at least MCSE. For an entry level application/database engineer of a big platform sitting on SQL, the expectation is that your pay may deviate from those who work on the front end of the application.

Depending on the industry and the application, you may expect to get paid slightly more than the people on the front side.  This is because it is expected that you will have the same skills as them, but also have knowledge of infrastructure systems, and also be somewhat more willing to receive calls at strange times of day. For example, someone who has five years experience may get paid $77,000.  Someone with the exact same certifications and industry experience, but who can solve real problems and find and fix a root cause that has dropped the entire system to its knees, may get paid anywhere from $80k to $180k, with $80k being entry level into the database/infrastructure work.

Ok, enough about that.  Here are a few ground rules for good database etiquette:
  1. There are very few, select problems that  necessitate a reboot or restart of SQL server to fix a problem. Don’t do it if you don’t know why you’re doing it.
  2. Know your backup strategy, know that it works, and make sure management knows it, too.
  3. Know your disk IO, and test and retest and have a history of tests of it.
  4. Know what your users are doing and why they are doing it.
  5. Database queries should be fast.
  6. Understand the difference between poor disk I/O and poor file I/O
  7. There are a few blogs that are good, plus a lot of misinformation. Know which ones are best. (Ask around).
  8. Read a book, take notes, make lists, have checklists,blog about your experience.
  9. Never test code in a production environment. Especially never test UPDATE, DELETE, or INSERT SQL.
  10. Key lookups, table valued functions, table scans, and clustered index scans are red flags that a query is not well designed. Understand how to fix them PROPERLY.

That’s all I have on this subject, folks.  Let me know if you have any questions!

 

How to Quit a Bad Habit

Please pardon any typos. I do this entirely on my iPad, on the train.

The other day I had a conversation with someone about how he never gets anything done.  That sparked a mention of Parkinson’s Law, which reminded me of this essay I wrote quite some time ago….Now, mind you, I’m not an economist, or even that smart about money. I don’t really understand where money comes from, even though it’s been explained to me a hundred times by people smarter than me.

Last year I decided to delete my Facebook app from my iPad. It was a distraction, not because I couldn’t focus on the work I needed to do, but because it was intrusive. I would be typing an email, creating a calendar appointment, or simply browsing the web and there, at the top of the screen, a little thingy would roll over with my friend Douglas saying, “gotta go to the store! Outta beer” or Eric’s status update of, “checking in at the Recliner,” as though I know what “the Recliner” is, and would want to come right over if I did….so I removed it.  The app, not the Recliner.

“Wait, Scorellis!” you say, “Why not just change the settings?”  Because I don’t have time! I find my way around computers OK; it’s just that whenever I try to change anything about how Facebook works, it usually means going down one rabbit hole or another.

I decided that my desire to avoid the complexity of digging into my preferences to prevent the unwanted notifications was greater than my desire to keep facebook on my device.  And the pop-ups werre intolerable. Besides, Zuckerberg would just change my preferences later on without asking, and it would start to do something else equally annoying.  The dude has serious stalker-like issues.  Facebook is like some sort of super-app for stalkers, right?

Later, on my iPhone (which doesn’t constantly annoy me, not with pop-ins), as I struggled with wading through the timeline navigation, my aggravation levels slowly increased.  With its pretty graphics and immense page size, this timeline feature crushed the performance of my iPhone. I am teetering on the edge of deleting the app.  Then, (now. pay attention!) as I browsed facebook I suddenly read a post by a friend of mine.  Oh joy of commiseration! He bears similar anti-timeline angst!

“Aaaaargh! I’ve been timelined!” he posted.

I think about how to respond to him.  I experience a landslide of thoughts in my mind.

Mind-slide

I want to express my frustration in a single sentence, as direct and short as his, but I cannot find the words.   I want to suggest that we all delete the app from our devices. I am fairly certain that if we delete the app, the complexity of the task of finding it and reinstalling it will probably be an effective preventative against ever again using Facebook.

This would not be a terrible thing. I went 20 years without talking to most of these people, I can probably go another 20 and if, after reconnecting as we have, they want to maintain the relationship, there are other ways. I have a phone. Perhaps they could send me email messages..?

Or maybe I could make an RSS feed from my facebook newsfeed that filters the spam posts (really, nobody has done this yet?)…besides, 98% of the people that I became friends with never even say anything, they just lurk, like a bunch of creepers.

When I signed up for Facebook, I thought we’d have these amazing conversations, but most of my friends never say anything!  Recently, one of my friends from Facebook who I occasionally see in the physical realm made a comment that he knew something about me because he read it on fb. Deja vu.

Now, all of the wheels in my mind are spinning, like a juggler spinning plates; I wanted to compress this avalanche of thought and empathize with my friend in just a few poignant words. I want this whthin mind-slide of thought to crash.

“Congratulations,” I say sarcastically. “you’ve been timelined.”

But what does that mean?

How do I  calculate the tipping point, the point of no return, when something becomes such a pain in the ass that it becomes obvious I should not be doing it anymore? If i have a certain amount of time allotted to complete a task, then at what point will the expansion of the work by an outside force cause me to abandon the task.  Is it a return on investment (ROI) problem? Certainly the point of no return involves ROI, but clearly people invest time and money in things that have not clear ROI at all! I have more questions than answers now.  I don’t understand how to calculate the coefficient of nuisance. When, exactly, does something become so bothersome that I can no longer be bothered by it? My mind-slide completes, the wheels stop spinning, and I turn to the Internet for answers.

I Google It.

I got to thinking that there must be some inviolate law of economics which would explain my behavior, so I searched the phrase, “complexity of task is so great that people won’t be bothered to do it. They would rather suffer the consequences instead.”

This search yielded lots of hits on how to stop procrastinating, but one link caught my eye: “How to use Parkinson’s Law to Your Advantage.”

(OK, you can stop reading now.  Here is where it gets crazy.)

I had read about Parkinson’s law before, about the Coefficient of Inefficiency, but all my question are not answered. When does an increase in consumption due to an increase in efficiency become less a matter of paradox, and more a matter of poor decision making? For example, as automobiles become more fuel efficient, rather than being responsible and increasing gas mileage, what has Detroit done? They have increased horsepower and in many cases, gas mileage has gotten WORSE!

This is the Paradox, the absurd contradiction. The price of gas hits $5.00 a gallon, but still people can be bothered to buy cars, put gas in them, and do what they always do. They don’t mind the longer hours at work, lower wages, less savings, and more money, more money,  more money being thrown down the rabbit hole. The most exquisite paradox of all is that if everyone is raising prices, then nobody is raising prices! Except the first few people, who experienced a momentary, monetary gain!  Then there is the additional vector of manufacturing and consumers placing visceral pleasure over social responsibility. Is this Parkinson’s law, Jevon’s Pradox, or poor decision making?

Does the amount of pleasure derived from an act have something to do with all of this? (tongue in my cheek, we know it does).  Jevon’s Paradox states that with any increase in technical efficiency, there will be a corresponding increase in demand.  I would add that the demand will always outpace the efficiency.  It’s a paradox because one would expect that as efficiency increase, then the demand for raw materials would decrease.  For example, think of automobiles. Fuel efficiency has improved, yet the demand for gasoline continues to increase.

But is this really a paradox, or mightn’t it just be stupidity?

There must be a theoretical upper limit to how much horsepower an automobile needs, and perhaps there is a theoretical limit to the need for travel, but ultimately, according to my sources (the Internet), the only effective cap that will truly limit demand is cost. An increase in cost from either green incentives or simple taxes will decrease use. Expensive gas, taxed to hell, will, therefore, increase fuel efficiency?  Or will people just drive less?  I sense a conspiracy in all of this! The Internet is wrong, of course (well, actually, after this post it will be right again, won’t it?). If something is a serious, serious pain in the ass to do, people will also stop doing it.  For example, swimming in Lake Michigan is far less popular in February than in July, because there is a very large barrier to doing it. It’s f’ing cold.  You have to buy a thermally insulated, diving dry suit, or you have to be slightly nuts. Like I always say, you aren’t crazy until you start acting on your crazy thoughts.

There are a number of versions of Parkinson’s Law, such as: “Work Expands to fill the time available for its completion.”  Perhaps another would be that “the list of things to do always exceeds the amount of time we have to get it all done,” which naturally begets “if it’s important enough to get done, you’ll find the time to do it.”

My favorite version of Parkinson’s law is, “if you wait until the last minute, it only takes a minute to do.” or “if you want something to only take a minute to do, wait until the last minute to do it.” Recently, I wrote a few chapters for a book titled “Network and Computer Security Handbook.” As I approached the deadline, I found that my critical thinking skills improved. What does that mean? I cut, hacked, slashed, wrote and viewed the work with far, far greater decisiveness than I did three months ago when I still had all the time in the world to get it done. I wrote more pages of content in one week than I did in three months. Perhaps I also spent considerably more hours on it in the final few weeks than I probably did in the final three months.

There is another law, too, which relates to this one, called Wirth’s law.  It states that “software is getting slower more rapidly than hardware becomes faster.”  I don’t know what that means.  Maybe this was a 1995 thing.  At one time, I might have thought that this meant that innovations in programming were allowing programmers to perform and code tasks of far greater complexity than there exists computing power to accomplish.  Duh!  For example, “computer, tell me please what is the highest prime number that exists?”  just because I can ask a computer to do something doesn’t mean anything.  I don’t see why this Wirth guy gets a law, but heck, if he gets one then so do I, right? Here is the law of Scorellis:

“The amount of work that some humans will attempt to get their computers to perform will always exceed the capability of the infrastructure to successfully complete it.”

The ability of the software to accept user requests will usually exceed the capacity of the hardware to get it done. This is because people do not want to be told “no” by a machine.  The interface between humans and computers leans strongly towards one of a passive nature. Like watching TV, a user in Seattle of a website in Chicago has no notion of the 10,000 other users across the country hitting the machine at the same time. To her, it is just slow.

Essentially, people will always ask more of the subsystem than the subsystem is capable of delivering. No surprise there, right? We do the same things to ourselves and each other, too.  Software developers are people. ( I think. ) Some software developers are better than others, but computers have a funny affect on psychology.  If I ask a computer to do one thing, should’t it be able to do that one thing, even when I multiply it by a thousand times? And in the same amount of time? I once accidentally opened 20 photos on a PC.  So then I tried to open 200 photos; thinking that it would only take 10 times as long. Ha!  I was young once, too.

Somewhere in here there is a moral…if you want to quit a bad habit, it needs to be excessively cost prohibitive to do so from both a financial and efficiency perspective.  Hmmm. Maybe that could be called “the moral of Scorellis.”

 

How To be Yourself

Greetings – I am Scorellis,  AKA Scott.  Are you listening?

My friend Brent Ozar (this entire blog is his fault, BTW) once told me that you should never post your blog posts at unusual times; people that are subscribed to your blog won’t ever see it, it will get lost in the scroll.   Since this blog doesn’t have any subscribers, I feel OK breaking this rule.  What I do want to do is explain (quickly!) why I am doing this and why you should read it.

I know how to fix things that are broken.  (you can stop reading now if you like.) I began breaking things as soon as I could hold a screwdriver.  I think I was 5 when I took apart my Dad’s camera.  Sometime in my early to mid-twenties, I started to get the hang of putting things back together.  That was twenty years ago; I have been fixing broken things almost every day since then. What is the most complicated thing I ever fixed? I once yanked the action out of a piano (it made me mad) on a Friday afternoon and completely rebuilt it and got it back into the school’s piano in time for music class Monday morning.  That was actually more repetitious than anything…complex…hmmm. I’ll have to think about that. Right now, what I want to do, is make this information about how to fix things available to everyone.

First things last, though.  There are some rules here.  You have to be yourself.  I have observed that some people aren’t quite certain how to do this (not you! You are awesome,. just the way you are! But those friends of yours??…).  Here is a short list of things that help to remind me that I am Scorellis, and not anyone else:

  1. Today I am marching to the beat of my own drum..
  2. I will be enthusiastic about being “here,” wherever “here” may be.
  3. Rather than thinking outside the box, I am simply throwing the box away.
  4. I will sing out loud whenever the acoustics of a room, or my mood, requires it.
  5. I am cutting my loaves of bread lengthwise.
  6. I’m going to plant “weeds.”
  7.  I’m going to let my waiter pick my entree.
  8. I’m going to send people birthday cards when it is not their birthday.
  9. I’m going to carve paths through my yard and build the treasure map my son drew when he was 5.
  10. I won’t “inch forward” at traffic lights just because the person in front of me did.
  11. I no longer have a kitchen, a living room, a dining room, and a family room; I have a roasting room, a work room, a music room, and a learning room. All my house is my stage.
  12. Spontaneity will be the cornerstone to my reality.
  13. I will eat dessert and coffee for lunch.
  14. I will drive 45mph in the work zone when everyone else is going 60.
  15. I’m not going to live life by the numbers. I am going to forget how to count.
  16. I’m grabbing for the scissors, and making my own template.
  17. I am breaking change.

Some posts will be long, some will be short.  There will be how-to’s posted here that you wouldn’t give a rat’s ass in a cat storm to read. All I ask is that you stay tuned, and let me know what is bothering you, how can I help?  I don’t give relationship advice…that is my wife’s job.  She knows everything I need to know about being in a relationship; and what I don’t know, she’ll tell me. If I am listening  >:[=]

One final note:  Just about everything posted here will be original work.  For example, you will never, ever see a photo on this site that I  or someone (credited) that I know didn’t personally shoot.  In any project I show you, I will also (almost)  always try to use tools that are simple and easy to use. SO please refrain from comments like “Why don’t you just use a jigsaw?” or “Dude, just hit it with the Dremel.”  Not everyone has those things.  However, sometimes you will be right, and I will do that, but mostly I am just doing that because I am impatient, and have a lot to do!

~s