by andrewstuart2 · 5y ago · 0 comments
I feel like this is an unfortunately common take. "If it's not widely used, or pretty, or innovative, it's not worth sharing." Chances are I've seen more duct tape on production code than whatever simple hacks you've done to make the server work.
If it works and it's not going to leak your personal data or credentials, just share it. Anybody who's judging you by the state of your repos clearly doesn't understand that coding is iterative and happens better in the open, and is probably safe to ignore. Even if you never get a single star or MR, it's now out there to at least be something people can learn from. And really, all you've done is increase the chances that you might learn from somebody else, or help somebody else out.
But I guess you made a good point, here you go :) Welcome to the wonderful world of random code copy-and-pasted from Stackoverflow!
https://gist.github.com/htruong/692b1bca7b94db20051b601c89a4...
Nice work regardless!
m5stack has several other example applications in their repo, but I learned a lot from reading their source code in the test app. Their code is quite sane and organized. You just need to be tolerant to their spelling from time to time, I figure English is not their first language (just like me).
We need more people to take this approach for things they want to share. It makes for a better community.
We as a community also need to do a better job of embracing unpolished projects and emphasizing a “don’t be bashful” approach. I’ve seen far too many hobbiest projects posted here where the comments have nitpicked them apart in a derogatory, non-constructive way.
Absolutely. One thing I've found is that the tone of HNers varies a lot. As you pointed out, many are very constructive ("have you thought about...") while some are more critical ("you don't have ..." or "the UX is horrible").
If more people could work on doing the former, then I think we can create a more constructive environment for people to do this.
In my opinion, work in progress type projects (or "research projects" should have only constructive feedback, while Finished Products(tm) can take a more critical approach to comments.
I had no idea that Readability.js was available as a standalone library. That’s awesome!
...
Just kidding. :)
It’s easy to tell someone to share something without understanding there’s usually more harm than good.
Quite honestly, the employers who are out there that would look at code I've put out there, see a bug, and pass up my resume, are the kind of employers I would almost certainly be just wasting time with if I was to work there. So in that sense it probably only does me good too; I get to spend my time at companies that understand the journey, understand differences of opinion and design, and don't expect perfect code that 100% matches their style guide every time.
The reason I write code is not at all exclusively to make money. And the code I use daily is free and open source by probably a factor of 10:1. So I like to give back where I can. I'm not looking to make a buck, but I'm also obviously gonna put my GitHub on my resume because I'd much rather be matched to employers who can observe my approach and appreciate it enough to bring me to the interview stage.
This may sound like perfectionism, but if you have incomplete installation instructions, many of the people currently complaining about lack of code will complain about that instead.
Counterpoint: I applied for a job a few months ago which required a coding sample. I listed a link to a project of mine on GitHub. Rather than commenting on that project, they instead found another repo under the same account -- an open source project I started 6 years ago, but had not returned to since -- and told me they weren't happy with the quality of the code they saw represented there, which killed my application.
I was annoyed. That wasn't a project I had looked at in some time, and I don't feel it represents my best work. It was just a proof of concept that I hoped to later refine. But it cost me an employment opportunity.
I deleted the public repo.
My use of the iBus was to emulate the CD changer in the trunk (basically just a heartbeat every 7s or so) which allowed me to use that line-in. I also picked up button presses on the bus in order to respond and control audio playback. Tied it all together by using a raspberry pi as a bluetooth sink and command hub between connected phone and the iBus.
"Working on cars" is way different than it was in Grandpas day, but it's nice to know there are still people hacking together cool stuff.