-something witty-

Fuck off SFMTA (again)

Posted by: Matt on: May 9, 2012

Well, this time I got a ticket for not curbing my wheels. There goes another $50.00 bucks; at least I decided I was going to be a curmudgeon and send them a letter again. This way, I’m a pain in the ass; at least a little.

Below is the letter I sent them

Wednesday May 9th, 2012
From: Matt Dufrasne
To: The City of San Francisco, Municipal Transit Authority
CC: Ed Lee
Dear Sir or Madam or Transgendered person,
My name is Matt Dufrasne, my vehicle is a 2012 VW Golf TDI with California plate XXXXXXX. I am writing to you regarding parking citation 81XXXXX issued on 5/9/2012.
I am writing to contest the aforementioned TC58A citation indicating that I forgot to curb my wheels to an acceptable degree. While I am not contesting the fact that I had indeed omitted to curb my wheels, I am contesting the very nature of the citation. My argument is three pronged.
First, new vehicles (such as mine) never have issues and are very safe on a hill as they feature newer electric parking brake systems. These braking systems employ a ‘more complex unit using two computer-controlled motors attached to the rear brake calipers to activate’; simply put, the vehicle is not going anywhere. TC58A, according to my research was last amended in 1972 and I believe, as I’m sure you do, that in the last 40 years, many improvements to vehicle safety have occured, rendering this ordinance obsolete.
Second, no where is it posted that the street’s grade is over 3%. You may retort that the following may be obvious, but without signage indicating a steep grade, enforcing traffic code 58A seems arbitrary and unfair.
Third, the fine of $50.00 dollars is excessively steep(pardon the pun) and draconian. If the act of leaving one’s modern vehicle on a hill with its wheels straight is so dangerous, then surely the city should act immediately and have the vehicle towed. The fact that this does not occur implies that the situation is not dangerous when modern vehicles are involved. In my case, my vehicle was parked in front of my property and not in anyone’s way. The amount of this fine is preposterous.
I believe I have made a good case and implore you nullify the citation.
Thank you for your time.
Matt Dufrasne
5/9/2012

Fuck off SFMTA

Posted by: Matt on: April 22, 2012

I recently received two tickets, two days apart for not having stuck this years’ tags on my vehicle. I am registered, I just didn’t apply the little green sticker. My bad, I admit, but I am not paying two fines of $114 dollars to the city for neglecting to apply a fucking sticker.

Below is the letter I sent them

Sunday April 22nd, 2012
From: Matt Dufrasne
To: The City of San Francisco, Municipal Transit Authority
CC: Ed Lee

Dear Sir or Madam or Transgendered Person,

My name is Matt Dufrasne, my vehicle is a 2012 VW Golf TDI with California plate 6XXXX. I am writing to you regarding parking violations 10XXXXXXX issued on 4/19/2012 and 10XXXXXXX issued on 4/22/2012.

I doubt you read past the first paragraph before sending a too bad, pay us love letter but should you have made it this far, I am writing to contest the aforementioned citations. Had I once more hindered the path of the mighty street cleaner as so many times prior? Alas, no; as your records no doubt indicate, these violations are much graver. Each regards a V5204A citation. With a penalty of $114 attached per occurrence, I assume I have somehow endangered national security and thus decided to get in touch with you immediately. Imagine my surprise upon realizing that the city of San Francisco, the epicenter of Silicon Valley, only accepts citation contests using 19th century technology, traditional mail. Think of the threat, confusion and horror my infractions must have continued to cause while this letter was traveling through USPS’ soft hands (Oddly, the citation issuing and payment collection technologies seem cutting edge). But back to the issue at hand; you can not begin to imagine the guilt I felt when I realized that my vehicle’s registration tag was not attached to my vehicle. I had forgotten to apply the sticker. Let me repeat, I had forgotten to apply the sticker. Oh, the humanity. Let me assure you that my vehicle is indeed registered as current with the California department of motor vehicles. As such, these violations in light of the penalties attached to each seem absolutely egregious and I am contesting both of them.

I realize that your job is to simply enforce the statute, however issuing a penalty of $114 two days apart (weekend days, when the DMV is closed) for what is a correctable action is nothing short of draconian. I am not paying $228 dollars.

I have attached proof of valid registration with CA DMV as well as a picture of a tag applied to my vehicle.

Thank you for your time and taking care of this issue promptly,

Matt Dufrasne
XXXXX St
San Francisco, CA, 94XXX
m.dufrasne@gmail.com (this is an email address)
408-425-XXXX (this is a phone number)

So I’ve fallen far short of posting often.
To remedy this, I’m just going to start posting little programming snippets:
So you want to feed the results of SQL query into a stored procedure (SPROC)? Well it’s easy!

Let’s say you have the following SQL query returning a column of ID as ints:

SELECT ID FROM MyTable

Now for each result ID (int) you want to execute a stored procedure; it’s simple, just use a cursor.
The comments should make what is going on relative clear.
-- a temp variable
DECLARE @_temp INT
-- declare a cursor
DECLARE c1 CURSOR
FOR
	SELECT ID
	FROM MyTable -- your query
-- open the cursor
OPEN c1
-- Put the first row (ID) resulting from your query into @temp
FETCH NEXT FROM c1
INTO @_temp
-- DO WHILE there are rows in the result set from your query
WHILE @@FETCH_STATUS = 0
BEGIN
	EXEC [MySPROC] @inputId = @_temp 
--Execute the SPROC with the current row
FETCH NEXT FROM c1
--Fetch the next row rom your query into the temp variable
INTO @_temp END -- Close and deallocate the cursor CLOSE c1 DEALLOCATE c1

Is it that easy? Yes, it’s that easy!
Post Playlist:

Bop Gun by Ice Cube

Hello, it’s me again

Posted by: Matt on: May 22, 2011

The rumors are true, I am starting yet another blog — The question is; will I keep this one up or just relinquish it to the abyss of lost Internet dreams as I have so many times before.
I’m hoping since this latest endeavor is attached to my namesake-url, it will fare better.
So why do I throw in the towel so often? As my thirtieth year quickly comes to a close, I’ve realized a few things

  1. I have a hard time focusing
  2. It’s very difficult for me to focus on anything and I can lose interest quickly. One thing I have noticed is that I work best to music – Silence just makes me wander aimlessly, in turn, wasting time and not enjoying it. Worse than silence is others talking in the background. Background conversations mean I will eavesdrop and completely lose focus. Knowing this, along every post, I will advertise that which was blaring through my headphones. (At least the songs I listened to entirely). Tonight’s playlist includes what may be my favorite song ever: ‘I’m so Afraid’ by Fleetwood Mac, the version off ‘The Dance’.
  3. I set unrealistic goals.
  4. I tend to have impractically high expectations of myself and when these are not met, I give up altogether. I’ve come to understand, sometimes painfully so, that it is better to start off slow, have meager goals and to actually meet them. If results do snowball into successes, then, I can re-evaluate my delusions of grandeur.
  5. I take the path of least resistance
  6. Highlighting why #2 is dangerous is my laziness; I need discipline to force myself to do anything. If I didn’t feel so terrible about it, I would probably sleep even more and goof off aimlessly all day, everyday. I don’t think I’m different from anyone else; from an evolutionary standpoint, spending the least amount of energy is a very sensible survival technique. What I do however, is spend those calories working on something task adjacent. Have you ever noticed how it is easy to clean your dwelling when you should be studying or working on a project? I do this all the time.
Why am I telling you all this?
Because I want to improve myself and carry on work on side projects I have been talking about for years now. In the end, this blog is really a way to keep myself honest and seeing if I can live up to the following goals:

  • Post at least once every 7 days
  • Learning and implementing something new every 7 days and blogging about my experiences with it
Tune in to see how it goes…
Follow

Get every new post delivered to your Inbox.