Live data from Hacker News

Python at Netflix

medium.com

121–130 of 250 posts

Re: Python at Netflix

#121

Id like to contribute to the netflix code base by offering what is obviously a missing but much needed piece of code: def enableAutoPlay( flag ): annoyingAutoPlay = flag return

Netflix does have people from MySpace, which could explain the annoying auto play feature, but the reality is Netflix has a mature process of AB testing. If autoplay is permanently on then it's because AB testing wills it so. ¯\_(ツ)_/¯

Re: Python at Netflix

#122

Id like to contribute to the netflix code base by offering what is obviously a missing but much needed piece of code: def enableAutoPlay( flag ): annoyingAutoPlay = flag return

Afaik you can disable autoplay in the options?

At least with the web UI, you can mute the auto-playing video and subsequent auto-playing videos will remain muted.

Re: Python at Netflix

#123

Earlier quoted context omitted.

> but I'm not ready to relocate to the US Even if you wanted to, it's nearly impossible to immigrate to the US as a skilled worker legally . I have a friend who is an really talented programmer (and a really diligent worker) who studied Computer Science at some of the best universities in Europe: École Centrale Paris and the EPFL (École Polytechnique Fédérale de Lausanne) in Switzerland. One of his biggest desires fo…

You forgot other loopholes: 1. Get F1-visa and do MS. 2. Marry a US citizen 3. use a J1 visa?

You can join EU office of the company and get transferred via L1.

Re: Python at Netflix

#124
post #93

Earlier quoted context omitted.

If you're European from a "good" country it's pretty easy to get an H1-B with a master / eng degree to work for a SV company.

Your country of citizenship or birth plays zero role in terms of getting an H-1B visa. It neither helps nor hurts. And it's certainly not "pretty easy" to get an H-1B in any sense. For example, right now, if you wanted to work in the U.S. the earliest date you could start working would be October 1, 2020 . (That's because this year's lottery is already over, you'll have to try your shot with the April 2020 lottery, a…

This is not how it works, if you have a master's degree and want to work for Google you will most likely get your H1-B visa.

https://www.immi-usa.com/h1b-masters-quota/

If you don't what they do is they ask you to work for them elsewhere for 1 year ( London / Switzerland ) then move you back to the US with an L1 visa.

Re: Python at Netflix

#125

Do you know what the Netflix culture is regarding remote work ? I've been looking for a job for the first time in 10 years of Python, and Netflix is one of the rare big companies that I still have respect for. https://jobs.netflix.com/ has several offers I would be a good fit for, but I'm not ready to relocate to the US.

As someone who has worked on fully remote game dev volunteer projects for nearly 10 years, it's unbelievable how much the cultural inertia of physical presence has prevented companies from making the rational move of eliminating all possible office space in favor of remote work and skype meetings. So much money wasted on rent, security, and upkeep and so much time (and even lives) lost to commuting when there isn't a…

I like remote work to an extent, but its not that simple, and whether programmers "need" something or what "can" happen is a really not the best point to argue, because for example you don't "need" anything more than C if you require portable code to do anything that pretty much any other general purpose language does. I've also done these volunteer projects. They work because timelines are pretty up in the air, there's often little or no funding to be concerned with, everyone is working on it because they want to, and they're only working when they are well-motivated to do so. There are many more constraints in a proper company and job. Remote communication doesn't even come close to the interaction of a roughly synchronized office environment. Of course, there are downsides to the traditional office setup too, but in eliminating those concerns you introduce more problems presented by remote setup. I know people who even have the option of remote work and choose not to, and I can empathize with that sentiment.

Re: Python at Netflix

#126
post #111

I fail to understand the use of python in a distributed environment while the language has such poor concurrency support (on top of the lack of a type system). You can make your application HA, but they are obviously not trying to squeeze out every CPU cycle.

> I fail to understand the use of python in a distributed environment while the language has such poor concurrency support

Because it's a distributed environment probably is exactly why. Python has (arguably) great concurrency support apart from Multi-threading.

https://www.youtube.com/watch?v=MCs5OvhV9S4

So if you need concurrency in the context of a single thread, then Python's GIL is a non-starter. But a distributed environment is not likely one of those.

Edit: I should amend concurrency in a single thread to: concurrency in a single thread that is compute gated...since coroutines can give you pseudo concurrency in a single thread provided you're workload has blocking steps like IO or TCP calls.

Re: Python at Netflix

#128

Earlier quoted context omitted.

Why would you resist it?

It would be nice if the language was typed. Easier for overall maintenance, and refactoring for big projects.

There is a way: http://mypy-lang.org/

I've used Python a fair bit for a variety of semi-permanent or long scripts. I would have liked types more as well. Discovered MyPy after those instances.

Re: Python at Netflix

#130

Earlier quoted context omitted.

Why would you resist it?

It would be nice if the language was typed. Easier for overall maintenance, and refactoring for big projects.

Python 3 is typed. Not strongly typed but the point remains. Python is used in a lot of domains and I feel the strides the language has made over the past decade have made it very competitive and a worthy addition to any programmer's toolbox.
Post reply on HN