Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sametmax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
451.
▲
by
sametmax
7y ago
People watch horror movies, practice violent or dangerous sports and have painful sexual practices for fun. I wouldn't be surprised if such a machine would become popular, not as way to build your empathy, but as entertainment. We are
452.
▲
by
sametmax
7y ago
It was compared to the linked article. Besides, for time zones, you can't do otherwise: it's not in the stdlib. So compared to pytz, it's easy. Unrelated, but I highly recommand pex for script with dependancies. It will turn
453.
▲
by
sametmax
7y ago
Looking up is not a solved problem no. I usually check the "awesome python list", ask on reddit and twitter, and then do some google foo. I select 3 packages and do some tests. I got nothing better than that.
454.
▲
by
sametmax
7y ago
And to solve hunger the best solution is to be able to eat. Yes.
455.
▲
by
sametmax
7y ago
Datetime is a good module if you don't deal with timezones, which is most of the time. And it doesn't come with out of the box support for timd zones, so either you code it, or you use a third party lib. Hence we don't discou
456.
▲
by
sametmax
7y ago
That's true for absolutely everything in programming.
457.
▲
by
sametmax
7y ago
"pip install pendulum" is not complex. Using pendulum is not complicated. You can skim the doc in 5 minutes, your intern can do it too. This is one of those tools that removes complexity when you use them. Also, pendulum and the s
458.
▲
by
sametmax
7y ago
If I tell you that I give you a billion dollar to quit your job, and find a solution to this, you will try to do so. Not knowing what to do is something that happens all the time in life: we try anyway. Stopping at "I don't know w
459.
▲
by
sametmax
7y ago
Just like people don't use the http module but requests, it's been years since the community moved away from manual manipulation of datetime/pytz for time zones. Nowadays people use higher level libs such as pendulum: &
460.
▲
by
sametmax
7y ago
It's not invisible. We know. But we don't feel a sufficient motivation to do something about it.
461.
▲
by
sametmax
7y ago
A good part of fossil fuel is used to farm those stock, farm the food for those stock and move around / process / package both.
462.
▲
by
sametmax
7y ago
It's already $60k. So arguably only 0.00001% of the people in the world can do it already. I assume the reason you react is that you identify with somebody who could potentially do it (by saving a lot maybe), but couldn't anymore
463.
▲
by
sametmax
7y ago
On windows cmder is already damn good. And ms prepares an official better terminal too.
464.
▲
by
sametmax
7y ago
Jolla did and failed.
465.
▲
by
sametmax
7y ago
Great idea. Plus, you don't even need special bricks, use regular ones, and put as many one-square bricks on them as you need.
466.
▲
by
sametmax
7y ago
That is one of the bad information: people that don't know how to use pip and venv shouldn't use pipenv, since you need pio to install it properly, and it will manage venv. Don't run before you know how to walk.
467.
▲
by
sametmax
7y ago
It makes it more human :)
468.
▲
by
sametmax
7y ago
Local commands doesn't mean you have a project. It can be a general utility.
469.
▲
by
sametmax
7y ago
textwrap - used by Python itself for docstring. rlcompleter - used by Python itself for the shell. pprint - trememdously useful for debugging. statistics - added recently because people kept rewritting mean() functions that were broken temp
470.
▲
by
sametmax
7y ago
Not anymore, .whl files are now similar to npm packages, with static metadata and just unpacked on pip installed. Most popular packages are .whl now.
471.
▲
by
sametmax
7y ago
npm, yarn, bower, jamjs, pnpm... Besides, I have 15 years of Python behind me, I code and train in Python for a living, and I still use just pip. pip and venv are packaged with recent versions of Python and do the job fine.
472.
▲
by
sametmax
7y ago
npm is worse IMO. First it forces the node_module in your repository, which mean you have to configure tons of tools to ignore it or you'll have a bad time. Then there is no way to have comfortable local command, so plenty of time you
473.
▲
by
sametmax
7y ago
It's actually pretty ok now, espacially with .whl for pretty much everything avoiding compilation and venv being provided with recent Python. The problem is the sheer amount of bad information you find online, so that people take hours
474.
▲
by
sametmax
7y ago
Giving that I've already been approached by gov officials to create an accounting software that helps with creative book keeping, I say don't assume incompetence on this one.
475.
▲
by
sametmax
7y ago
They do, not everybody enjoy democraty.
476.
▲
by
sametmax
7y ago
Anything is though.
477.
▲
by
sametmax
7y ago
Complication is not a world a would use to describe any vlc experience.
478.
▲
by
sametmax
7y ago
It took me 3 years and a few annoying lock outs and it was years ago. 2019 is probably even harder.
479.
▲
by
sametmax
7y ago
Same for churches all around the world. Many people just go for duty, by habits or social pressure and no community is created. The point is not to find a sure receipe for a community generation machine, but what are importants ingredients
480.
▲
by
sametmax
7y ago
Toxic is contextual to an individual. Some products don't affect all life forms the same way, or at the same dose. Same for communities: you know if you are in a toxic one if you can objectively observe it brings unacceptable suffering
More ›