HNHacker News
TopNewBestAskShowJobs

ilhicas

130 karma · joined April 15, 2018

submissionscomments
ilhicas··on What I Do as a DevOps Consultant
But yes. The devops movement is actually here to bring the 90s back when we didnt specialize to an extent where silos are created and the gaps between teams get in the way
ilhicas··on What I Do as a DevOps Consultant
Dont read diagonally please. I never said i dont end up doing sysadmin/ops work
ilhicas··on Try/Except vs. If in Dictionary Key Access Python Performance
Have you ever read PEP-20 aka The Zen of Python?

I'll quote part of it, regarding your "so it's easy to guess"

"In the face of ambiguity, refuse the temptation to guess."

Source: https://www.python.org/dev/peps/pep-0020/

ilhicas··on Try/Except vs. If in Dictionary Key Access Python Performance
Hello, I've had Data Structures, while on BSc and implemented by hand hashmaps.. If you read the post you would understand the doubt.

Try the following:

a = [i for in range(10000)] if 9999 in a: print('yay I just looped over an entire array')

however:

a = {i:i for in range(10000)} if 9999 in a: print('yay I found a key in linear time')

Now, You might be an expert in Data Structures, but what makes you implicitly know how the 'IN' behaves in python, and that it won't convert to the keys() method of the dict to get a list with the same behaviour as in a list?

ilhicas··on Try/Except vs. If in Dictionary Key Access Python Performance
Thanks for the input, yes I've since read that the problem lies on the exception catch, and definitely the time toll is in it.
ilhicas··on Ask HN: Does SEO still work in 2018?
I believe the best methods to remain the same that it has always been, create quality content by delivering value to your visitors and keep your webapp running without maing your page hang on clients as well as presenting a clean interface, that should be cross device.
ilhicas··on Haproxy SSL Termination in Docker Using Letsencrypt – Jekyll Example
Thank you @aleks_me2, will do a check on 1.8 version, thanks for pointing that out.