Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sametmax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
511.
▲
by
sametmax
7y ago
Js has no import system. Bundlers do, and they are terrible at it though.
512.
▲
by
sametmax
7y ago
Yes but I do understand the problem. E.g learning packaging in python is a terrible experience, not because it's hard, it's really not, but because of the noise we accumulated.
513.
▲
by
sametmax
7y ago
Namespaces are useful for library providers and os packagers to split sub features of one package and distribute the chunks separately. It will virtually merge dirs with the same name under some circonstances, and won't be importable i
514.
▲
by
sametmax
7y ago
But wouldn't it expose the brain to dangers the immune system is design to protect it against ?
515.
▲
by
sametmax
7y ago
Is a simcard always supposed to have the same ip ? How would ip spoofing would affect the phone network ?
516.
▲
by
sametmax
7y ago
What old way ? %, zfill, strftime, or some hack with len() ? Having a unified syntax with all formatting needs is a big deal.
517.
▲
by
sametmax
7y ago
I'm training people in Python regularly and my classroom experience is: ALWAYS USE __INIT__.PY EVERYWHERE. Don't use this namespace feature. You think you understand how it works, but you don't. It will bite you.
518.
▲
by
sametmax
7y ago
2 new syntaxes a years is not a not. I find it quite balanced for a 25 years old language. It's funny, because I always hear people complaining Python move too slowly to stay modern on one side, and then right after some other people s
519.
▲
by
sametmax
7y ago
Python has taken many things away, hence the 2 to 3 transition. And people didn't like it. Not one bit. We even had to bring features back (u'', %, etc) after taking them away. Now I agree, if I could snap my gantlet I would
520.
▲
by
sametmax
7y ago
This debate already took place. Go back to the python-idea mailing list posts about f-string for a complete back and forth on your point.
521.
▲
by
sametmax
7y ago
Despite being so cool, it's also a very under utilized feature, as it inherits all the formatting capabilities of format(). With format(), and hence with f-string you can: # Replace datetime.stftime() >>> f"{datetime.now(
522.
▲
by
sametmax
7y ago
Love it. It's missing a qrcode with a date, uuid, total, tax and unguessable url to the items list and prices (or gzipped json of it) so that we can finally scan import receipts with software. Qr codes should be mandatory on most paper
523.
▲
by
sametmax
7y ago
Google is supposed to be nothing. They are here to make money, and they will follow whatever rules that let them do that as long as we let them. They are not a public service.
524.
▲
by
sametmax
7y ago
> You know when you're watching paid advertising on TV I doubt it. This idea that somehow there was a time where the medias where full of honest and competent people seems delusional to me. I'm assuming it was just so sandboxed
525.
▲
by
sametmax
7y ago
I see Uber more like providing the network and the app, not like the service provider. The service is provided by an independant contracter on which Uber has little control over. In fact, a lot of drivers use several apps like Uber, and som
526.
▲
by
sametmax
7y ago
Why complain to uber ? It's the driver's fault. What would be the corrective action anyway ? That none of their drivers ever make any mistake ?
527.
▲
by
sametmax
7y ago
αν
528.
▲
by
sametmax
7y ago
No, what Python suggests is just returning the value you sort on, or a tuple of the values to sort on. cmp() is deprecated because there is seldom reason to use it anymore. E.G: Sorting words according to their number of letter is just:
529.
▲
by
sametmax
7y ago
I'll check with them if I work in their team again.
530.
▲
by
sametmax
7y ago
Your comment is very arrogant in itself, also I'm mature enough to not type those kind of comments with my real identity, or police myself at work. HN is merely a fun forum, not a career.
531.
▲
by
sametmax
7y ago
That's my point. They may be people like him for a new type of insuline pump. We can't, as citizen, hope to compete against pharmaceutical companies. That doesn't mean we can't do anything.
532.
▲
by
sametmax
7y ago
Important to you, not to me.
533.
▲
by
sametmax
7y ago
I know at least 3 french persons that managed to make it work. They don't even work for a FAANGs, and only of of them is technically better than I am. I'm an optimist :)
534.
▲
by
sametmax
7y ago
And the local girl may not want you. And the local club may not have the culture you want. And the local market may be not hold your favorite products. And the local schools may not be the right for your children. There is always something.
535.
▲
by
sametmax
7y ago
Rejection is not a problem to me. The world is a big place, and it moves fast.
536.
▲
by
sametmax
7y ago
I get it personally. Remote requires better communication skill, and additional tooling and management to work around time differences. Besides, I know many people that are not as productive at home.
537.
▲
by
sametmax
7y ago
Thank you. Will do.
538.
▲
by
sametmax
7y ago
Thanks. Working at Netflix ?
539.
▲
by
sametmax
7y ago
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.n
540.
▲
by
sametmax
7y ago
I read a lot of data analysis, prototyping, configuration, monitoring and deployment, for which Python is very, very well suited. So I don't follow how you got there.
More ›