6 ms·
Ask HN: Things programmers should get rid of in 2017
- lfx 10y agoInteresting question. I would say - Password only ssh logins; Old / Vuln libs; non tests covered code; XSS and SQL Injection from all the code. - But this is really boring. AI witch threatens to take over developers occupation - this is more interesting idea for future consideration. But really I just want to see one thing to be destroyed - idea that creating new tools will solve all the issues (looking at you JS world) instead of improving existing ones or even real deep thinking about the problem beforehand. And then dropping it (new tool) after something new more shiner comes up.
- odonnellryan 10y ago> Password only ssh logins Dear lord, this still happens? :)
- dozzie 10y agoOf course not. Your SSH key on a server lands there magically using quantum entanglement-based key distribution protocol.
- odonnellryan 10y agoThis is a little funny, because I haven't spun up a new server in years with a password. They've all had my public keys from the get-go.
- dozzie 10y agoHow often do you deploy servers? And how much of that is cloning[#] a prepared virtual machine? I realize that there are ways to install an OS and preconfigure it at one go, but those need some non-trivial mechanics in place. Also, it is (was until quite recently) much easier to share a password between machines with LDAP than having the same with user keys. Programmers tend to have quite skewed idea on what operates the production, as they rarely see the details. [#] Cloning an already installed system is usually a stupid thing, unless you make sure that SSH host keys don't get shared (and several similar things).
- odonnellryan 10y ago> And how much of that is cloning[#] a prepared virtual machine? Shouldn't this or using deployment scripts be "almost always?" > much easier to share a password between machines with LDAP than having the same with user keys. I think this is a different subject, no? I've never had to do this. > Programmers tend to have quite skewed idea on what operates the production, as they rarely see the details. I've worked as both a programmer and a sysadmin for large enterprises, so I've seen both sides! > Cloning an already installed system is usually a stupid thing, unless you make sure that SSH host keys don't get shared (and several similar things). No it isn't. It's fine to have a "base" image that you use to then run deployment scripts on, if done correctly. Way better than having to go through a 20+ step process of securing a new Linux or Windows box :)
- krapp 10y ago>Dear lord, this still happens? :) For what it's worth, every time I've seen this question asked here, the answer has been yes.
- odonnellryan 10y agoHaha, I know...
- auganov 10y agoAnd unprotected keys while we're at it.
- somecallitblues 10y agoTheir massive egos. It's you "I know algorithms and wouldn't touch a framework of any kind if kill me" boys and girls. Every second comment thread on this site ends like that.
- odonnellryan 10y agoHahaha, I'm sorry? Maybe elaborate, I don't see this much!
- itamarst 10y agoCrazy long working hours. Work/life balance will make you a better human being... but it will also make you a better programmer (https://codewithoutrules.com/2016/11/10/work-life-balance-software-engineer/ https://codewithoutrules.com/2016/11/10/work-life-balance-so...).
- kzisme 10y agoWould you suggest taking more time off, or working less hours for less pay? I always hear that during an 8 hour day you only really work for 4-6 of those hours, but if I was able to work 4-6, and get to see more sunlight during my day I would! Although I would dislike being paid less.
- trcollinson 10y agoWhoa whoa, why do we have to get paid less? Here in lies (one of) the problems with our industry. We should work 40 hours a week and be done with it. Seriously. In the United States we are (more often than not) paid as exempt employees. This has some interesting legal ramifications in that according to the Fair Labor Standards Act exempt workers professional knowledge workers essentially have no rights at all (under that Act. Other laws and standards at other levels may affect this in other jurisdictions). Why is that? Well simple. We are Professional Knowledge Workers. In every place I have ever lived I have been on the correct side of the supply and demand curve. There has been a low supply and a very high demand for my particular type of professional knowledge work. The theory goes that if you are a professional knowledge worker you have the ability to move from one job to another with more ease that other classes of workers. Thus, we as professional knowledge workers don't need the level of labor protection that other classes of workers need. Not only that but my particular brand of professional knowledge work sure makes organizations a lot of money; far more than I take back in the form of pay. So, why should I work a substantial amount of overtime in order to make them even more money faster and without any additional compensation? Good question, I don't. If my employers would like to try to guilt me into doing more, I don't let them. If my employer wants to threaten me, I threaten back. If I have a team (which I often have), I hold them to the same standard as me. It can be painful at first. Companies can get really touchy. But after they see the benefits they praise this way of working (Better, less buggy, more stable code. Higher engineer retention rates. More successful feature releases. To name a few benefits). Have I had to put my money where my mouth is on this? Absolutely yes. Interestingly, I have never been fired or reprimanded for not working overtime. I have however walked out because I have gotten tired of being guilted, threatened, or harassed about it. It hasn't happen often, but it has happened. Work 40 honest hours a week. Go home. Enjoy life. Let your brain relax. Stop being treated like a slave to the organization who pays you and start working like a highly sought after individual.
- flukus 10y agoJavascript. Let it go back to what it's good at, basic web interactivity.
- sotojuan 10y agoHalf of HN would be unemployed in that case :-)
- dhogan 10y agoI got my password emailed to me in plain text the other day. So that's still a thing.
- sotojuan 10y agoBuilding SPAs when they're not needed.
- vayarajesh 10y agoOver-architecting the software. Sometimes a simple problem can be solved with simple scripts.
- ohgh1ieD 10y agoComplexity
- wineisfine 10y agoWordpress and Drupal