|
Why not delete the old messages ?
By the way, I forgive you
cheers, Bill
“I have diligently numbered the days of pure and genuine happiness which have fallen to my lot: They amount to 14.” Abd-Ar Rahman III, Caliph of Cordoba, circa 950CE.
|
|
|
|
|
Haven´t paid attention to your specific jokes, but I regularly get an abusive report for the MQOTD too. I can imagine some people being self-righteous enough to be trigger happy with the spam/abusive button. That´s life I guess.
You do know about the soapbox, right ?
If I´m in doubt about something I usually post it there...
|
|
|
|
|
Yeah, that's where I posted them at. I understand that the nature of comedy leaves people offended sometimes, so I wouldn't typically post a joke anywhere else. Even if I think it's harmless.
It seemed to be a string of baby jokes that made people get all Upset[^]
Elephant elephant elephant, sunshine sunshine sunshine
|
|
|
|
|
We've employed some apprentices at work, I've been prepping materials for them. One essential skill is the correct use of sites such as this.
I'm trying to write guidelines about using* code from dev sites. The slide I've produced looks like:
You must understand any code you “lift” from the interwebz.
It has to be maintainable - cobbling stuff together is not acceptable.
It would be pretty unusual for the code to be exactly what you want, it will probably need some tailoring, and to do this you will need to understand it.
Two questions:
I'm about to state that not all answers that appear helpful actually are - you need to make a judgement call on this. Does anyone have an example in Q&A- Any other hints - the must be more guidance
* I've a separate slide about using the site generally, including about being a good citizen (such as following site guidance).
[Edit]
I've found my bad answer - I won't list it here as it was an honest attempt to help the OP. Wrong, but honest.
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
modified 11-Sep-14 11:58am.
|
|
|
|
|
Keith Barrow wrote: I'm about to state that not all answers that appear helpful actually are - you need to make a judgement call on this. Does anyone have an example in Q&A
Almost anything from He Who Must Not Be Named...
Keith Barrow wrote: Any other hints - the must be more guidance
Include links and references to where you got the material from.
Don't use "clever code" - if you can't understand it fairly quickly then it's just going to waste more time when it needs alteration.
Comment it! Tell us what you are doing, not what the code is doing.
Follow good practices: naming conventions, private fields - public properties, parameterised queries, ...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: Almost anything from He Who Must Not Be Named.
I need wrong, not regurgitated - I've found a relatively decent recent example of incorrect guidance.
OriginalGriff wrote: Include links and references to where you got the material from.
This one is quite useful actually, at my great age I don't tend to lift from the Internet any more, but when I do I'm working on an unusual case- I do leave a link under these circs. The clever code bit I've added too.
[Edit]
Forgot my original purpose - to say thanks!
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
You're welcome!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I question a team/team member that has to be told this. Not one person on our software team needs this discussion.
|
|
|
|
|
He's talking about apprentices, not experienced professionals. And I remember what my code was like back in those days...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Are any of them apprentices?
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
Are these formal apprentices, or just new hires with no experience?
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
Actual apprentices on a course and everything.
We've had trouble hiring round here - most of the good devs end up leaving this economic backwater. So the proposed solution has been to try training our own.
It's quite depressing in a way, in my day many of them would have got grants and mickied off to university, a world of drinking fornication experience is being denied them. They've been a breath of fresh air TBH, though I've had to live through the pain of explaining who Vic and Bob are - they are too young to remember.
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
Apprentices, what are those again?
|
|
|
|
|
People who don't know how to use Developer websites
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
They're the kids with slightly less money and slightly more brains than the average undergraduate.
|
|
|
|
|
I would suggest that anyone that incorporates code from a dev web-site, like CP, or StackOverFlow, into your company's code also be required to document (in comments) the source, and how they modified it. And, they should be prepared to explain what it does in a code review.
cheers, Bill
“I have diligently numbered the days of pure and genuine happiness which have fallen to my lot: They amount to 14.” Abd-Ar Rahman III, Caliph of Cordoba, circa 950CE.
|
|
|
|
|
before using code from t'webz:
check the comments from other users - it may be crap even though it looks like it does exactly what you wanted it to.
don't stop looking when you find one example (except in trivial cases) as there may be a better way of doing it.
make sure it is still current - old hints for old versions of software may no longer be valid in your environment.
if you use it - add a comment in your code pointing out where it came from originally. If something goes wrong later its good to be able to got back and check if the author has fixed the issue already.
If you use it, thank the author.
PooperPig - Coming Soon
|
|
|
|
|
|
Reminds me of this[^]
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
Hah! CLassic. Good film that, one of his best IMO.
|
|
|
|
|
If you click all the way through the report of the report of the report to the actual report it says that high salt intake was linked to high blood pressure in men, but not in women. Also those with high blood pressure consumed more salt than those without.
In both sexes a higher BMI led to a higher blood pressure, as did higher alcohol consumption. Higher fruit and vegetable consumption led to lower BP, physical activity had no effect.
And it is a study of French people only.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
chriselst wrote: And it is a study of French people only.
Who are known to be genetically deviant...
OK, so salt doesnt cause hypertension, but men with it like more salt.
|
|
|
|
|
You're prefer it if science stopped responding to new evidence? But then it wouldn't be science.
However, believing any "science" you read in the Daily Fail is a big mistake. Don't forget, they believe that everything gives you cancer[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I prefer if what is called science is not taken as immutable fact. Thats the problem, which in itself is anti science.
Its the same with GW. Thats another very immature and ill understood area of science, yet it has become mainstream 'fact' just as low salt low fat diets have become. Thats the problem. Not that it changes, but that it was ever accepted without criticism in the first place!
|
|
|
|
|
My wife has recently joined Slimming World, and I have followed a few of their recipes. I noticed that they were all quite high in salt. I rarely use the stuff cos I grew up not using it.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|