Hacker Newsnew | past | comments | ask | show | jobs | submit | tomatowurst's commentslogin

is there an alternative to pip that improves on things? sort of like yarn for python?


Pipenv or Poetry. Pip by itself is missing some key features, like separating dev dependencies (e.g. mypy)


I think it's a pretty common pattern to use

    pip install -r requirements-dev.txt
Not the most convenient, but solves (works around) the issue


Then you have to explicitly included all transitive dependencies for your dev dependencies, too. With Pipenv, only have to list your direct dev dependencies


These both use Pip internally. They are wrappers, not replacements.


Right. I was replying to a comment that asks if there was anything that improves upon pip, which both Pipenv and Poetry do


Pip has had ton of development in the last few years, and continues to do so. I'd say stick with pip, unless there's a specific problem you're addressing with pipenv or Poetry.

However, like a sibling comment, I've also heard god things about Poetry. Probably worth giving it a spin somewhere and seeing if my initial thought still holds.


I've been experimenting with Hatch:

https://hatch.pypa.io/

The USP of Hatch is that it uses the latest generation of Python standards and tech under the covers, so you have a unified tool that's less quirky than previous ones. Poetry and pipenv predate some of the improvements in Python packaging, so had to develop some things in their own way.


Poetry is the cleanest python deps handling experience, and I would recommend it as well.

But it is very slow.


I haven't tried it, but I've heard good things about poetry


I think people use Poetry for a variety of reasons, but I don't think speed is one of them.


Yeah, Poetry is definitely slow. This issue covers things:

https://github.com/python-poetry/poetry/issues/2094


I would like to try out Ampere servers but unfortunately Oracle seems out of stock after the free tier promotion



Our Postgres is just a cluster of Postgres servers. It's not "serverless"; it's server-y. :)


you are really nitpicking and taking offense over something you made up in your head. The context of serverless has changed to mean cloud offering.


Does anybody make $1000 USD / hr? What is your day to day like? How many clients do you have and how many hours do you bill per year? Do you actually work 2087 hours per year which would net you $2MM/year?

I'm curious how some people are able to bill such high amounts and how they got started. It must also be extra stressful since its not like you are working for a company either so you need to do marketing and find clients as well.


That last part is actually the reason why hourly rates tend to be so high. You can't bill all the hours.

A common rule of thumb for setting a billable rate is 3x to 4x the hourly-equivalent salary. If you are currently making $200k/yr working a full-time gig with good benefits, then your hourly-equivalent salary is $100, and you should bill hours out at around $300/hr to $400/hr on a billable-hour basis.

So, you should figure that someone who would earn a TC of around $500k-650k/yr would be billed out at around $1,000/hr


thanks yeah this was what I was thinking, 4x of hourly rate of salary


It's not uncommon in my field. And quite a few of the people billing that rate or higher actually net greater than $2m, because they get credit not only for what they bill but what work they bring in for others to bill.

That said, $1k/hr billed does not directly translate to $1k/hr earned. Usually there is shared overhead, etc taken out first.


what's your field?


I know a attorney/lobbyist who make pretty close to that. They spend a lot of time on the phone, doing emails, etc. The key thing is they know their shit and and pick up the phone and get people when needed.

Almost nobody is producing work output on an hourly basis worth more than $200/hr. You’re paying for what and who they know, together. The good ones are worth it.


More like bill one client $1000/hr for travel and work on another client's $1000/hr case during the trip. /nojoke


That is fraud, and if you get caught you would be looking at prison time.

And in the case of the legal and accounting professions, doing this will get your license revoked.


It's inconclusive if it's fraud without knowing contract details.

If you're being paid simply to travel, then it is not fraudulent to also work on another client. If your being paid to travel _and_ focus on that client, then it would be fraudulent to work on another client.


No, if you are paid by a client hourly for travel, you cannot bill that same hour to another client. That's bog standard for every profession.

If you bill two clients for the same hour, that's "double billing," and it's fraud, and a number of accountants and lawyers have had their licenses suspended or (more commonly) terminated over this. Most of them usually plea bargain to avoid time behind bars, and this is generally acceptable because the true punishment is that their professional career is dead.

Very few (basically no) client will agree to pay you for travel time while also permitting you to work on another client's case for that same time. (Note however that if invoicing client for expenses like tickets but not for travel time, it is generally acceptable to work on another client's matter during the time spent traveling.)


Oh, yea, I agree that by default you should assume that travel time == client time.

I'm getting a bit "well, technically" on this. While rare, it is possible to have a contract that allows for this.


question: how would they know?


If they suspect and sue it would come out during discovery. There is very little you can do to hide that fact at any point.


sex tourism was also probably a thing back then


Yeah this is the elephant in the room that no one talks about. And it’s not just about old guys going over there and picking up prostitutes, young guys will go over there and pick up regular girls on Tinder, just because it’s way easier to get laid there than in the West, for a bunch of controversial reasons that we aren’t allowed to talk about.


It's mostly just money. If you're a caucasian-looking foreigner, most folks in developing countries will think you have lots of dollars/euros/pounds to spend, which goes a long way in these smaller economies. Same reason store vendors will probably try to charge you higher prices. As someone who's not caucasian but has traveled with folks who are, it's certainly an interesting sight to see.


Probably because prostitutes are on Tinder now and poverty drives them to such behavior. You will have a tougher time in more economically advanced countries compared to one popular hotspot which you are talking about.

Also why fly 4000 miles just to have sex? Why not just pay for a companion here?

As an asexual I don't really understand this. My friends are constantly rambling on or making remarks about how so and so would make a good potential lay. I guess its about quantity and more can be had at lower rates, especially in poverty stricken countries.

I suppose if you sold your company and your portfolio is earning several million dollars to tens of millions of dollars its easy to be sugar daddy to a college student and it seems like its culturally accepted here.

Makes sense why there is such strong calls for abortion rights, something like this would be unimaginable in some cultures and I can see why but then again I don't quite agree with trying to oppress individuals from choice.

This part of human society, I just do not understand. For instance, I don't understand why so much of the population would be so driven to have sex or have romances.


Imagine if you could not make a single friend and nobody wanted to socially interact with you. If this was your condition, wouldn't you fly to a land where people would talk to you?

Or alternatively, imagine you are very very hungry, and a person who doesn't feel hunger doesn't understand why you would go to great lengths to eat food.

Some people also don't feel pain either and don't understand why people go to great lengths to avoid the feeling of pain.

You can make many metaphors for whatever things you desire and avoid on a feeling level and understand how non-asexuals feel.


Sex is a very primal need for most people. Lack of it for long time drives people crazy. It's just how evolution has primed most homo sapiens. Going to south asian countries is cheaper for sex travellers probably. You can rent a gf experience for few weeks at the same cost it will take to hire an escort for few days in the west.


why is it that for some people this is not a problem? what makes them this way vs most people? for a very long time I pondered why I am not like others but after I realized that I wasn't alone I found much solace.


I think for the same reason that you're asexual but most folks aren't. I didn't have too many issues being single for large portions of my teens and early 20s, but I knew friends who would structure their weeks around finding a sexual partner at the end and would get intensely emotional about failing. Age is probably a factor as most people become less sexually and emotionally motivated with age.


endocrine disruptors, possibly


So basically every YC backed company that has IPO'd


Doubtful as those sources of funding are also beholden to investors who most likely have positions in the market. There can be no isolation in modern finance, everything is interconnected.

If the rates continue to rise and market gets bearish on paying multiples on revenues, its going to run into serious liquidity crunch.


IPO right now is very difficult as the door is closing, and investors are wary about paying a premium like they have before. They delayed it too long and have missed the window, it is unlikely from a year from now they will be able to get any bids for the current market valuations.


I mean why didn't they IPO last year with everyone else?


PC has spoken admirably of Koch Industries and he thinks there's some merit to remaining private. That's probably why. I don't have the source at hand but probably one of his podcasts.


I feel like it makes sense for Koch to stay private since their work mostly focuses on fossil fuels and specifically fracking. Public markets can be a big distraction with protests and what not. Is stripe worried about being cancelled?


Your guess is as good as mine but they likely thought that the status quo in market would continue.


what if you have bird feeders in your garden, do you think they pose a risk? These are small birds, are they susceptible?

Maybe I should move it.


In many of the bird watching facebook groups I'm in people are saying they are taking theirs down unfortunately.


alright think I might end up doing the same, I really enjoyed seeing them feast :(

do you think its still dangerous to move the bird house to a remote corner of the garden?


ha, I honestly have no idea. I know very little about birds. I just drown my fb out with bird and mushroom groups so at least if I waste time on there I'll learn something or at least look at pictures of nature.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: