May 12, 2017 at 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...
May 12, 2017 at 6:26 am
jasona.work - Friday, May 12, 2017 5:59 AMSo 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?
May 12, 2017 at 6:57 am
Ed Wagner - Friday, May 12, 2017 6:26 AMSorry 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.)
May 12, 2017 at 7:14 am
jasona.work - Friday, May 12, 2017 6:57 AMThank 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
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 12, 2017 at 8:37 am
Phil Parkin - Friday, May 12, 2017 7:14 AMjasona.work - Friday, May 12, 2017 6:57 AMThank 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. ๐
May 12, 2017 at 8:54 am
Ed Wagner - Friday, May 12, 2017 8:37 AMPhil Parkin - Friday, May 12, 2017 7:14 AMjasona.work - Friday, May 12, 2017 6:57 AMThank 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/
May 12, 2017 at 9:02 am
Sean Lange - Friday, May 12, 2017 8:54 AMEd Wagner - Friday, May 12, 2017 8:37 AMPhil Parkin - Friday, May 12, 2017 7:14 AMjasona.work - Friday, May 12, 2017 6:57 AMThank 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.
May 12, 2017 at 9:06 am
Ed Wagner - Friday, May 12, 2017 9:02 AMSean Lange - Friday, May 12, 2017 8:54 AMI'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/
May 12, 2017 at 10:07 am
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
May 12, 2017 at 10:55 am
Sean Lange - Friday, May 12, 2017 9:06 AMEd Wagner - Friday, May 12, 2017 9:02 AMBelieve 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
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 12, 2017 at 11:57 am
Phil Parkin - Friday, May 12, 2017 10:55 AMSean Lange - Friday, May 12, 2017 9:06 AMEd Wagner - Friday, May 12, 2017 9:02 AMBelieve 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. ๐
May 12, 2017 at 12:11 pm
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.
May 12, 2017 at 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
--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
May 12, 2017 at 12:34 pm
...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
May 12, 2017 at 12:35 pm
jonathan.crawford - Friday, May 12, 2017 12:30 PMMy 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.
Viewing 15 posts - 58,561 through 58,575 (of 66,738 total)
You must be logged in to reply to this topic. Login to reply