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

> This has a great SQL-ish API. Python is similar but starts to be a little clunky since it requires you to think about indices:

groupby has an as_index parameter for this very purpose

> Deducting the discount

You focus on doing the subtraction during the group by. Is there any good reason for this? You could either do it as a step before, or after summing up both columns. Putting too many things into one command is not good practice yet you benchmark the language based on how easy it is to do said bad practice


I think the original author picked this example to broadly illustrate how easy it is to make ad hoc changes to your query without worrying about lot about implementation details. Polars, for example, converges on a similar API and gives you the flexibility. You can iterate then refactor easily later to what you consider good practice.


For me the whole piping felt like making everything less readable and harder to debug compared to a string of commands.


> The value-add that Microsoft brings to Github Copilot is near zero compared to directly buying from Anthropic or OpenAI

Over here in the EU, we need to store sensitive data in an EU server. Anthropic only offers US-hosted version of their models, while G-cloud and Azure has EU based servers.


I would measure data by time to action. If you're not actioning data it's worthless.


I do usually have a beer at the airport, but having more means you have more usage out of the plane bathroom which I can do without.


It does occur to me that those following the advice should be seated on the aisle, yes.


I like the saying - weeks of coding can save us hours of planning.


Why do you expect an LLM to provide an accurate distance metrics?


I have recently joined a corporation after years in start ups and 99 % of these apply too.


France is all about big government


Because it doesn't seem to work?


I don't think it's about perfect predictions. It's more about going all in on Metaverse and then on AI and backtracking on both. As a manager you need to use your resources wisely, even if they're as big as what Meta has at its disposal.

The other thing - Peter's principle is that people rise until they hit a level where they can't perform anymore. Zuck is up there as high as you can go, maybe no one is really ready to operate at that level? It seems both him and Elon made a lot of bad decisions lately. It doesn't erase their previous good decisions, but possibly some self-reflection is warranted?


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

Search: