Are the posted questions getting worse?

  • So this afternoon after work, I'm going back to my roots for a couple hours...
    Punching down network cables, cleaning up a server rack, replacing 25ft patch cables that only need to be 1ft or so...
    It'll be almost a zen-like experience.
    ๐Ÿ˜€

    Then tomorrow I need to take our 15yr old dog up to the vet for a checkup.  Not looking forward to this as she's rather old and starting to run into problems.  Subluxated patela, arthritis in the spine, presumably pain from those.  Wife and I are starting to seriously think about if she's gotten to the point where her quality of life just ain't there anymore...

  • jasona.work - Friday, May 12, 2017 5:59 AM

    So this afternoon after work, I'm going back to my roots for a couple hours...
    Punching down network cables, cleaning up a server rack, replacing 25ft patch cables that only need to be 1ft or so...
    It'll be almost a zen-like experience.
    ๐Ÿ˜€

    Then tomorrow I need to take our 15yr old dog up to the vet for a checkup.  Not looking forward to this as she's rather old and starting to run into problems.  Subluxated patela, arthritis in the spine, presumably pain from those.  Wife and I are starting to seriously think about if she's gotten to the point where her quality of life just ain't there anymore...

    Sorry to hear about your dog.  It's never an easy decision to make.

    As for the rack, is it in your house or somewhere else?

  • Ed Wagner - Friday, May 12, 2017 6:26 AM

    Sorry to hear about your dog.  It's never an easy decision to make.

    As for the rack, is it in your house or somewhere else?

    Thank you for that, I know the wife and I really, really need to sit down and have a talk about what we're going to do, where we're going to "draw a line in the sand" as it were.

    The rack is down in my basement, so I can be as casual as I like working on it.
    If I want to cuss and swear at the dumb**s who originally wired it up in such a messy state I can do that (of course, I'll be standing right there listening to myself cussing me out about it, if I get to vociferous I may punch myself in the nose.)

  • jasona.work - Friday, May 12, 2017 6:57 AM

    Thank you for that, I know the wife and I really, really need to sit down and have a talk about what we're going to do, where we're going to "draw a line in the sand" as it were.

    The rack is down in my basement, so I can be as casual as I like working on it.
    If I want to cuss and swear at the dumb**s who originally wired it up in such a messy state I can do that (of course, I'll be standing right there listening to myself cussing me out about it, if I get to vociferous I may punch myself in the nose.)

    I feel like this when I read code which I wrote six months ago and no longer understand how it works.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • Phil Parkin - Friday, May 12, 2017 7:14 AM

    jasona.work - Friday, May 12, 2017 6:57 AM

    Thank you for that, I know the wife and I really, really need to sit down and have a talk about what we're going to do, where we're going to "draw a line in the sand" as it were.

    The rack is down in my basement, so I can be as casual as I like working on it.
    If I want to cuss and swear at the dumb**s who originally wired it up in such a messy state I can do that (of course, I'll be standing right there listening to myself cussing me out about it, if I get to vociferous I may punch myself in the nose.)

    I feel like this when I read code which I wrote six months ago and no longer understand how it works.

    I think that's what comments are for. ๐Ÿ˜‰

  • Ed Wagner - Friday, May 12, 2017 8:37 AM

    Phil Parkin - Friday, May 12, 2017 7:14 AM

    jasona.work - Friday, May 12, 2017 6:57 AM

    Thank you for that, I know the wife and I really, really need to sit down and have a talk about what we're going to do, where we're going to "draw a line in the sand" as it were.

    The rack is down in my basement, so I can be as casual as I like working on it.
    If I want to cuss and swear at the dumb**s who originally wired it up in such a messy state I can do that (of course, I'll be standing right there listening to myself cussing me out about it, if I get to vociferous I may punch myself in the nose.)

    I feel like this when I read code which I wrote six months ago and no longer understand how it works.

    I think that's what comments are for. ๐Ÿ˜‰

    I've heard of comments...do people actually use them in the real world??? ๐Ÿ˜€

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 โ€“ Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/

  • Sean Lange - Friday, May 12, 2017 8:54 AM

    Ed Wagner - Friday, May 12, 2017 8:37 AM

    Phil Parkin - Friday, May 12, 2017 7:14 AM

    jasona.work - Friday, May 12, 2017 6:57 AM

    Thank you for that, I know the wife and I really, really need to sit down and have a talk about what we're going to do, where we're going to "draw a line in the sand" as it were.

    The rack is down in my basement, so I can be as casual as I like working on it.
    If I want to cuss and swear at the dumb**s who originally wired it up in such a messy state I can do that (of course, I'll be standing right there listening to myself cussing me out about it, if I get to vociferous I may punch myself in the nose.)

    I feel like this when I read code which I wrote six months ago and no longer understand how it works.

    I think that's what comments are for. ๐Ÿ˜‰

    I've heard of comments...do people actually use them in the real world??? ๐Ÿ˜€

    Believe it or not, I do.  I have extensive experience with the exact phenomenon Phil described and my own code over the years.  I've learned to comment my stuff...for myself.

    I once saw a comment in someone else's code that was "this is my comment" and found it less than helpful.  I tend to use more verbose ones...again, for myself.

  • Ed Wagner - Friday, May 12, 2017 9:02 AM

    Sean Lange - Friday, May 12, 2017 8:54 AM

    I've heard of comments...do people actually use them in the real world??? ๐Ÿ˜€

    Believe it or not, I do.  I have extensive experience with the exact phenomenon Phil described and my own code over the years.  I've learned to comment my stuff...for myself.

    I once saw a comment in someone else's code that was "this is my comment" and found it less than helpful.  I tend to use more verbose ones...again, for myself.

    I was only kidding. I use comments on a regular basis...and most of them are not snide or under my breath. :laugh:

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 โ€“ Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/

  • http://www.bbc.co.uk/news/health-39899646

    Although they say that no patient data appears to have been compromised, makes me even more glad I probably haven't had to use the NHS in almost decade.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Sean Lange - Friday, May 12, 2017 9:06 AM

    Ed Wagner - Friday, May 12, 2017 9:02 AM

    Believe it or not, I do.  I have extensive experience with the exact phenomenon Phil described and my own code over the years.  I've learned to comment my stuff...for myself.

    I once saw a comment in someone else's code that was "this is my comment" and found it less than helpful.  I tend to use more verbose ones...again, for myself.

    I was only kidding. I use comments on a regular basis...and most of them are not snide or under my breath. :laugh:

    Even with comments (which I do use, honest, but they usually describe what the code does, not how it does it), sometimes I am too clever for my own good. And after working out why my code actually works (again), I occasionally question that I ever had the ability to write it in the first place.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • Phil Parkin - Friday, May 12, 2017 10:55 AM

    Sean Lange - Friday, May 12, 2017 9:06 AM

    Ed Wagner - Friday, May 12, 2017 9:02 AM

    Believe it or not, I do.  I have extensive experience with the exact phenomenon Phil described and my own code over the years.  I've learned to comment my stuff...for myself.

    I once saw a comment in someone else's code that was "this is my comment" and found it less than helpful.  I tend to use more verbose ones...again, for myself.

    I was only kidding. I use comments on a regular basis...and most of them are not snide or under my breath. :laugh:

    Even with comments (which I do use, honest, but they usually describe what the code does, not how it does it), sometimes I am too clever for my own good. And after working out why my code actually works (again), I occasionally question that I ever had the ability to write it in the first place.

    I have stuff like that.  I look at something I wrote a year ago and think how cleaver it was to tackle the challenge like I did.  I just have to figure out how I did it before I update it to do something more.  Hey, at least we wrote the original, so we know we understood it at some point. ๐Ÿ˜‰

  • Funny that you started talking about comments when a friend posted the following quote:

    โ€œGood code is its own best documentation. As youโ€™re about to add a comment, ask yourself, โ€˜How can I improve the code so that this comment isnโ€™t needed?โ€™ Improve the code and then document it to make it even clearer.โ€

    ~ Steve McConnell, author of several famous programming books, including Code Complete


    I wonder who can make code so clear that no comments are needed.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • My code from today included the following comments:

    --copy table values into new table, just to get columns and datatypes matching

    SELECT TOP 1 * INTO dbo.myTable

    FROM dbo.otherTable

    --Avada Ke-data --get rid of the one row and get the data we actually want

    TRUNCATE TABLE dbo.myTable

    --hominem revelio

    ALTER TABLE dbo.myTable ADD

    [FileName] varchar(60),[FileDate] datetime;

    --presto populato

    INSERT INTO dbo.myTable

    <some stuff>

    I amuse myself.

    -------------------------------------------------------------------------------------------------------------------------------------
    Please follow Best Practices For Posting On Forums to receive quicker and higher quality responses

  • ...and now I'm wondering if I can't buy a Leap controller and a wand and program some shortcuts so I can code like a wizard....already use Dasher (http://www.inference.phy.cam.ac.uk/dasher/) to save me keystrokes, wand would work like a charm as a controller for the mouse. Audio input added would really make it snap....Expelliarmus! (all users lose privileges)

    -------------------------------------------------------------------------------------------------------------------------------------
    Please follow Best Practices For Posting On Forums to receive quicker and higher quality responses

  • jonathan.crawford - Friday, May 12, 2017 12:30 PM

    My code from today included the following comments:

    --copy table values into new table, just to get columns and datatypes matching

    SELECT TOP 1 * INTO dbo.myTable

    FROM dbo.otherTable
    WHERE 1=2

    --Avada Ke-data --get rid of the one row and get the data we actually want

    --TRUNCATE TABLE dbo.myTable

    --hominem revelio

    ALTER TABLE dbo.myTable ADD

    [FileName] varchar(60),[FileDate] datetime;

    --presto populato

    INSERT INTO dbo.myTable

    <some stuff>

    I amuse myself.

    There, fixed that for you.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2

Viewing 15 posts - 58,561 through 58,575 (of 66,712 total)

You must be logged in to reply to this topic. Login to reply