|
In a recent study titled Usage and Attribution of Stack Overflow Code Snippets in GitHub Projects, an answer I wrote almost a decade ago was found to be the most copied snippet on Stack Overflow. Ironically it happens to be buggy. Copy/Paste considered harmful
|
|
|
|
|
The article itself is pretty interesting, the best part is the end though:
Quote: Key Takeaways
Stack Overflow snippets can be buggy, even if they have thousands of upvotes.
Test all edge cases, especially for code copied from Stack Overflow.
Floating-point arithmetic is hard.
Do include proper attribution when copying code. Someone might just call you out on it.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: The article itself is pretty interesting, the best part is the end though:
Quote: Key Takeaways
Stack Overflow snippets can be buggy, even if they have thousands of upvotes.
Test all edge cases, especially for code copied from Stack Overflow.
Floating-point arithmetic is hard.
Do include proper attribution when copying code. Someone might just call you out on it.
Go to CP, instead.
Fact-checking articles is Important!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
He tried to brute force search a sorted list!
|
|
|
|
|
Since we started working on this release in August, we have implemented hundreds Developer Community suggestions and bug fixes. *Eggnog not included
|
|
|
|
|
Kent Sharkey wrote: hundreds Developer Community suggestions As if the community was so interested in new icons
Or does the "hundreds of" refer to the bug fixes?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: Kent Sharkey wrote: hundreds Developer Community suggestions As if the community was so interested in new icons
Or does the "hundreds of" refer to the bug fixes? 98.97% of the suggestions were along the lines of: "Stop f***ing about with icons, and do something useful!"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
In this age of continuous everything, faster coding is better coding. Here’s how. It's all about the quantity, after all
Today's sigh-generator.
|
|
|
|
|
Article said: 6. Don’t be a programming perfectionist. I now understand... Probably this is what is happening in some big companies.
Kent Sharkey wrote: Today's sigh-generator. Next article: 5 Skills you don't need anymore... Last month sigh-generator
2 of 2 BS articles... the site is doing a good job
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: I now understand... Probably this is what is happening in some big companies.
Do you mean in the sense that they're so determined to not write perfect code that they just let kittens walk on their keyboards, then fix the errors until it compiles?
|
|
|
|
|
Dar Brett wrote: Do you mean in the sense that they're so determined to not write perfect code that they just let kittens walk on their keyboards, then fix the errors until it compiles? and then rollout to production / users without any kind of testing
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Quote: Languages like Java and C++ are notorious for requiring lengthy code snippets. C tends to be much more concise. Languages like Python and Go are arguably somewhere in between.
This paragraph from that article is an indicator of its quality - i.e. 💩💩💩💩💩💩💩💩
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I just wanted to post exactly the same comment. I guess it's a case of those who can - do, and who can't - teach. Just wonder why would CP repost reference to this article.
|
|
|
|
|
Quote: But if you want to write concise code that is also readable, Python might be a better choice. Python tends to be a bit more verbose, but its indentation rules can help to keep code readable, even if it’s written without a lot of care. And, then ... I threw up.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
|
When we analyze the things that drive culture and look for ways we can support other organizations who are making changes of their own, we consistently find that IT has an outsized number of opportunities to positively impact employee sentiment and loyalty—both of which are critical parts of any organization’s cultural transformation. Breaking news: Microsoft study finds using Microsoft software productive!
|
|
|
|
|
Kent Sharkey wrote: e consistently find that IT has an outsized number of opportunities to positively impact employee sentiment and loyalty—both of which are critical parts of any organization’s cultural transformation. Yes IT has a lot of opportunities, but sadly they ignore them and mostly bother more than they help
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I did a little digging and while I couldn't find exact specs, they were comparing user satisfaction and system performance of W10 computers vs W7 computers and iPads. I'll ignore the iPads as less apple vs oranges as apples vs brussels sprouts ; but my cynicism meter suspects that the w10 vs w7 PC stats mostly show 2019 vs 2014 PC performance and user satisfaction.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
The takeaway:
121% of office 365's Excel users are more likely to feel valued by their company.
Apparently, feelings are important; productivity and accuracy, not so much.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
what can go wrong...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
A vulnerability in millions of fully patched Android phones is being actively exploited by malware that's designed to drain the bank accounts of infected users, researchers said on Monday. My "two cans and a string" still secure
At least for hackers without sharp objects (hackers, and also snippers, clippers, and slicers)
|
|
|
|
|
Quote: Readers are once again reminded to be highly suspicious of Android apps available both in and outside of Google Play. People should also pay close attention to permissions requested by any app. Yes, I agree. That's why I don't do any critical things using the smart phone.
But if they offer Apps in the store (and this is valid for all companies) they should take more responsibility for what it is published there.
I know it is not that easy and that there are users that only receive what they deserve, because they are just morons that try to be too smart.
But there biggest % of users are just John / Jane Does that only try to get through the day the best they can. They are not versed in technology but rely on it (and as the world is becoming, they have not many alternatives). So if you can't trust the official sites, then what?
I know it is a bit naive from me, but I wish big companies would start accepting a bit more responsibility and give users a bit more credit / respect users a bit more, at the end we are the ones that make them earn money (and this is valid in both forms, as customers and as product)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Be fair -- hiring people to test stuff properly before it's added to the store could cost google maybe as much as a thousandth of one of the hundreds of billions they make in profit.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Scientists have finally decoded the bizarre behaviors of brain cells — and recreated them in tiny computer chips. Oh good. There's hope for me after all.
|
|
|
|