2,757 karma · joined Dec 2, 2013 (12y ago) · 829 submissions
comment 10y ago · link · parent
It's frustrating. Here I am willing to actually give them money so that I get essentially what I could with popcorn time!
comment 10y ago · link · parent
Elon Musk's caution about AI comes from the book superintelligence[3]
[1] https://en.wikipedia.org/wiki/Allegory_of_the_Cave
[2] https://en.wikipedia.org/wiki/Nick_Bostrom
[3] https://en.wikipedia.org/wiki/Superintelligence:_Paths,_Dang...
comment 10y ago · link · parent
comment 10y ago · link · parent
IOW, choose your battles.
606.
Ask HN: Code reviews instead of whiteboard for interviews
25 points · by devnonymous · 10y ago · 11 comments
comment 10y ago · link · parent
comment 10y ago · link · parent
Here are some suggestions based on my personal experience :
* Don't try to do it all. Do it a step at a time. Choose what's most important for you and work on that. Maybe it is CI. Which in real terms implies automated building, testing and deployment to staging for every commit. Or it could mean writing tests for the most fragile parts of the codebase. Whatever it is, pick one. Start small. Else you'll end up with just another 10 things that you've also got to worry about.
* Dedicate time, resources and a developer only to focus on this one thing. If your team is small or it is just you, hire someone to get this one thing done.
* If you are not already doing it don't bother with core review meetings at this point. However integrate static checkers/linters in your commit workflow. Then move to a 2 ack process. Then do proper code review meetings (if necessary)
(updates, since I am writing this in parts)
* Don't enforce policies that will lead to frustration but do enforce policies that just might be a bit inconvenient.
* Don't expect immediate improvements but don't stop midway, you'll probably end up in a worse situation than now if you do.
comment 10y ago · link · parent
As a general case tho, I think while trying to automate the process of selecting the most useful language is good design, sites should ultimately allow for visitors to choose their language.
If one trusts user's abilities to actually navigate one's site and use it, one should also give them the benefit of doubt that maybe they can figure out how to select a language as well.
comment 10y ago · link · parent
Why don't websites realise that language and country are two different things! Not everyone living in Germany is fluent in German, especially not expats who I assume are the main target users for sites such as these.
I have seen only a handful of sites that will allow you to navigate to a English language site if they have one while also acknowledging that you are in Germany.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
That said, I know for a fact that Xing is as popular (if not more) in Germany. So, perhaps there are other similar professional networking sites with a local focus based on where you are.
comment 10y ago · link · parent
> package manager is built into import system.
> Importing a package that's not in the user's
> environment yet will lead to something like
> pip install at script startup
Here's a nifty little recipe I came up with to do just this by exploiting the import hooks introduced in py3.4 http://lonetwin.github.io/blog/html/2016/05/16/auto_install_missing_python_modules.htmlcomment 10y ago · link · parent
626.
Indian Startups with marked down valuations may now have to pay more taxes(m.economictimes.com ↗)
1 points · by devnonymous · 10y ago · discuss
comment 10y ago · link · parent
* run unit tests and integration tests in an automated manner for every commit. (a.k.a use tox, jenkins or somesuch...).
* Depending on the software you are creating deploy a chaos monkey[1] kinda approach for disaster/HA testing.
* Read up on good Python practices :
http://python-guide.readthedocs.io/en/latest/
http://python.net/~goodger/projects/pycon/2007/idiomatic/han...
comment 10y ago · link · parent
Really sound advice.
629.
Race Row on Mount Everest: Sherpas Square Off Against Racist Western Climbers(thedailybeast.com ↗)
1 points · by devnonymous · 10y ago · discuss