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

It makes sense to me. Nowadays, all the GAFAM has solved most problems python is good at: glueing a lot of things, experimenting with ideas, bootstrapping new product, hiring and training a lot of new people fast.

They now are in the optimization phase. They first picked the low hanging fruits, but after 10 years of doing that they need to fine tune. For them, gaining 20% of speed can add up to millions of dollar a day, so it's now the new priority.

Just like with JS in the 2000', today they have to decide if it's worth rewritting python code or just improve the platform. For some projects, they made the calculations and it was just cheaper to improve the plateform. We got V8. Now Python is getting the new focus.


The performance problems arrive very late, you can go very far with python.

So it makes sense to start with something that let you be as agile as you can, when you don't have money, and then, once you are filthy rich, spend the resource you have massively to solve your new problem.

Starting with something that is less productive to avoid a problem you might have later if you are rich doesn't seem practical to me.


> Starting with something that is less productive to avoid a problem you might have later if you are rich doesn't seem practical to me.

this is purely engineers' qualification issue, the fact that the hired engineers weren't productive in safer and more performant languages so they had to fallback to an inferior toolchain to seem like a productive team.


Simple tasks like fiddling with an API json response with rust, haskell or ocaml are always going to take longer than with python.

Now, doing it well will take as much time in any language.

But a huge amount of time is spent not doing things well:

- you try out ideas

- you explore data shape, results and systems behavior

- you demos things to get a sense of the solutions or sell something to management or clients

Eventually, you will have a very well defined problem with an optimal solution. But this is the last mile, unless you work for nasa.

E.G: currenly one of my client is a big financial structure, and they are creating a calculation engine. They have 3 experts on site, but they don't have the full understanding of the problem they want to solve, and disagree on the part they do understand. The result ? We have to rewrite a lot of code, and write even more code in an exploratory manner. This will likely go on for the next few years. You can wish for a better situations, or you can use a tool that make you productive in that situation.


> Simple tasks like fiddling with an API json response with rust, haskell or ocaml are always going to take longer than with python.

This isn't true, you are generalising your own perception of the tools you're not as familiar with as python. For instance, here's how simple json api fiddling looks in Haskell, if written quick-and-dirty prototyping way:

    -- requires packages: aeson, wreq, lens
    {-# LANGUAGE OverloadedStrings #-}
    import Network.Wreq (get, responseBody)
    import Data.Aeson.Lens (key)
    import Control.Lens

    main = do
        result <- get "http://httpbin.org/get"
        print (result ^. responseBody)
        print "---"
        print (result ^? responseBody . key "url")

Now, how exactly is it taking longer than with Python?


While I disagree with your "qualification issue", even that can be caused by money. Surely, hiring "more qualified" engineers cost more money that you may not have in a humble beginning.


That should be illegal IMO. You are forced to subscribe after you paid.


Steam is surprisingly good at offering refunds. So if you find a subscription wall you don't agree to after you bought a game, Steam will almost certainly refund your money.


If you have under 2 hours gameplay and its under 2 weeks since you bought it, they will refund for literally any reason. And they explicitly list that refunding because you didn't find it fun or because it went on sale and you want to rebuy is acceptable use. After that period I have had one request accepted and one denied so it depends on the situation.


Yes but it puts the burden on you to fix a problem that is caused by the editors.


> Steam is surprisingly good at offering refunds.

Had the opposite experience after a game stopped working 3 days after purchase due to its update (forced, if memory serves). Valve refused the refund because I played the game for more than 2 hours before it stopped working. Haven't purchased anything from Valve since.


Nobody compares to steam in terms of refund policy. As long as you keep within their boundaries, you will get the refund 100%. Its must have when buying from a digital only marketplace.

I’ve even made it a personal policy to only buy digital only games through steam.


I wonder if Steam's good refund policy comes as a result of being sued by the Australian consumer regulator back in 2014. They probably figured that if they _had_ to offer refunds in one country, they might as well build goodwill by offering refunds everywhere. (Of course this is the least charitable explanation, maybe they just had a change of heart)

https://www.rockpapershotgun.com/australia-fines-valve-over-...


Steam shows on the store page if you have to create an external account or accept an external EULA.


No, you're not. You're forced to create another account, but that account is free.


True, but your personal information and consent to use it has value.

That said, the Steam store page does tell you in advance this will be necessary if you know where to look. I don't buy those games, if I want them I'll eventually grab console versions used.


It doesn't matter if it's free because you have to agree to a EULA when creating that account.


in most AAA games, you need to accept an eula to play it as well even if it does not want an account


If there is much more mouths to feed that food, people will not laught a lot, and not love for very long.


Each "mouth" has a chance of yielding infinitely scalable innovation. For example, the Haber-Bosch process supplies 50% of the nitrogen found in human tissues.

Check out the book "Abundance" by Peter Diamandis and Steven Kotler.


Innovation can't break the laws of thermodynamics.

If a resource is finite, you are basically betting the future of the specie on its ability to find a substitute before we run out, in the context of an exponentially growing chance of failure.

Right now we are betting we can find a substitute to fossil fuel before we run out of it, while exponentially consumming more energy. We haven't so far, since nothing comes close to the logistic practically, chemical flexibility and energy density of fossil fuel.

But even if we fail at that, we can recover. We have less performant alternatives that are enough so sustain humanity, albeit not at the current level of productivity (after all, we currently build nuclear plants and wind turbines using fossil fuel).

It's less true for soil we can live and growth food on, water we can drink, air we can breath, since those are complex systems.

It's very easy to bring out that it's not a zero sum game when you can type on a computer and order delivery food. But somebody in the desert will have a very different idea of the practicality of the claim.

There are many possible configurations where we end up with the equivalent of the desert of some sort for some very important resources given our population size.

Claiming we are sure to be able to innovate ourself out of those possibilities is naive, and frankly, arrogant. I'm sure somebody used that argument on the Easter Island.


Of course, there are diminishing returns, and hard caps set by physics. As the low-hanging fruit is picked, it will become harder to grow.

But we could expand outside our current planet, initially just for mining for precious resources, but eventually also for colonizing other planets.

The problem with fossil fuel is not that we will run out of it, but that we will make the planet uninhabitable before we can move out. What took millions of years of solar energy hitting the Earth to create, we are burning in centuries or decades. This led to climate change.


If the plan to prevent humanity from collapsing is to go to another (for now not life sustaining) planet instead of taking care of the one we are on right now that can sustain us, something is wrong.

Not saying we should not try, but that should plan Z, not plan B.

Not maxing out our current petri dish should not be controversial.


> Not maxing out our current petri dish should not be controversial.

It should be controversial if it means that the middle class of the developed world have to lower their standards of living, and the global poor will never get the chance to attain the next level of energy consumption per capita fueled by abundant and cheap energy sources like fossil fuels, all the while the elite advocating for such changes hold on to their jets and mansions.


Decreasing population and consumption is going to crash the economy no matter what, and poisining the land we live on is going to make our life terrible. We don't have a choice, billionaire or not, so not planning for it because they exist is like not doing exercice because you wife takes a big alimony: unfair, but unrelated to our survival. Unless you plan to kill the wife.


> Each "mouth" has a chance of yielding infinitely scalable innovation.

Except that in most cases the new "mouth" lives an horrendous experience in overpopulated and poor countries and does not even get a shot to bring his "scalable innovation". They usually just die shortly after.

So, no. More people does not equal infinite minds for a better future and a warm, fuzzy feeling. It usually just means suffering. What you want, is more people in first world countries.


You have to have more people in poor countries before they can even have a chance to develop into first-world standards of living. We can't declare poverty to be solved after all poor people have died off.


I'm taking that you haven't lived in those countries to say that. I lived in Mali for 2 years. They are never going to join us in the club of first-world standards living, they have no resources but sand in their country, not enough tree to make paper to write on. Their society was perfectly adapted to that before we told them they should have computers that they can't affort because they have nothing to contribute to a global economy.

Besides, you assume you need more people to be developped, while France is only 60 millions people, smaller than a lot of developping country.


All our economical and political systems are based on growth, and it's very hard to sustain growth if you don't have growing resources (energy, mineral, etc) input, innovation and population.

If the population goes down, the system will go through a phase of chaos before stabilising (E.G: retirement systems will default, factories will not have enought workers, companies not enought clients, loan will not get repaid...), and people are very afraid of that. Elon Musk has made the topic quite popular recently.

I would argue exponential growth being exponentially hard to maintain, the chances that the system collapse are the highest anyway. Better that it does with a decline in population than a decline in resources. We can stabilitise and recover more easily from the first, than from the other one.

There were several times in the history of humanity when we here just a few millions. If we plan, we can even control the fall instead of going full throttle.

But we won't plan, nobody wants to vote for the end of the good times. We will protest, fight to keep the growth, and we will crash. We always do.


>All our economic and political systems are based on growth

Hardly, you can find plenty of societies that operated at a steady state or even a decline. Capitalism isn’t tied to growth it’s tied to efficiency. Companies don’t become more efficient than their competitors for all time, they become more or less efficient as new management and workers take over. Look at the biggest companies from 1920’s and most have failed or been taken over.

Shrinking populations don’t inherently destroy retirement systems they at most force people to work longer or receive fewer benefits. Social security for example hands people about a 10x benefit range based on contributions but if the minimum acceptable benefit is X, there isn’t an inherent need to hand out more than that.


Also you can adjust the “retirement benefits” to things that are easier to provide than money.


> Capitalism isn’t tied to growth it’s tied to efficiency

That's a beautiful theory that doesn't match what we have put in application during the last century.

In pratice, our systems assume growth, and in fact the planetary resource consumption has just gone up and up. Green energy don't replace fossil fuel, it adds to them. When you give faster transport to people, stats tell us they don't spend less time in transport, they just travel more distance. When we make something cheaper, we don't keep enjoying the difference, we give it to more people. Once everybody has one, we make it disposable so people buy them again. You put computers to use less energy? Nope, people use them to do things they didn't do before, and we use more energy as a whole.

So yes, on a paper, capitalism is tied to efficiency. Practically, that's not reflected in our growth, as capitalism distorts incentive toward growth. And so the periods of capitalism are the periods with the most growth ever in human history. Also, when growth stats go down, the stock market goes down as well.

And even better, if the energy input goes down, the production goes down, and the economic health goes down. Because you need calories for all those machines producing things.

Innovation can't beat physics. At some point, if you want more, you need more resources.


> we use more energy as a whole

False. The US electricity consumption per person has fallen in the last decade. Yet, the grid has revived continuous investments from private companies. It’s the same trend as newspapers, revenue streams require continuous investments and that continues as long as those investments have a net positive result.

It’s easy to assume people want to use endless amounts of energy, but consider once your AC gets things to a comfortable temperature lowering below that isn’t a benefit. People don’t just drive endlessly when they buy cars that use less energy, they have specific places to go and that’s it.

Efficiency doesn’t drive consumption it changes the economic equation. Hauling mangos long distances isn’t an inherent advantage from the trip, it simply allows them to be grown in a more efficient location. But, again once you’re moving them from the perfect farming location there isn’t a reason to make a longer trip after that point.

It’s easy to see a trend like people buying larger homes and assume it can continue forever, but if you look at billionaires you find they eventually find ever larger homes impractical. Rather than simply consuming more resources endlessly wealthy people shift to artificial scarcity.


> False. The US electricity consumption per person has fallen in the last decade.

I don't have stats for the US, but for the world, the trend is growth until 2016:

https://imgur.com/a/WkaF60w

> It’s easy to assume people want to use endless amounts of energy, but consider once your AC gets things to a comfortable temperature lowering below that isn’t a benefit.

We invent new ways to consume power every day: video games, bitcoin, air sanitizer, food delivery...

> Hauling mangos long distances isn’t an inherent advantage from the trip, it simply allows them to be grown in a more efficient location

That's a good example: before, you just didn't eat mango if it didn't grow next to you, unless you had a lot of money.

> It’s easy to see a trend like people buying larger homes and assume it can continue forever, but if you look at billionaires you find they eventually find ever larger homes impractical

I consume more than my father, and he consumes more than my grandfather. The later didn't have a fridge when young, me, I can use a plane several times a year.

There is a huge margin between me and a billionnaire, and everybody wants to live like one.


Here’s US electricity numbers, it’s flat from 2000 to 2008 and then dropped. https://data.worldbank.org/indicator/EG.USE.ELEC.KH.PC?locat...

> before, you just didn't eat mango if it didn't grow next to you, unless you had a lot of money.

But that already happened, so now once mangoes are already being shipped the energy consumption is effectively capped.

Which is my point you seem to be ignoring, you can’t extrapolate to endlessly increasing resources. Yes comparing a subsistence farmer with a billionaire you see a vast increase, but it’s a sub linear increase. What happens if everyone on earth has the lifestyle of a western billionaire, does resource consumption continue to increase or does it stall?


Electricity is not the only energy we consume, you have to see calories as a whole: transport, chemistry, making building, etc.

Also, the US delegated most of the industry in Asia, and the energy consumption moved there.

If you buy an iphone in the US, the energy used to create and ship that iphone doesn't appear on the US consumption, yet it is american.

And of course, any local consumption is affecting the world as a whole.


Imports where a larger share of GDP on 2008 than 2019 so that doesn’t explain away the decrease in energy consumption over the last decade.

US per capita oil consumption peaked in 1980 and recently total consumption has also fallen. Net fossil fuel use per capita is down significantly, which is why our CO2 emissions are dropping. https://www.macrotrends.net/countries/USA/united-states/carb...


> Elon Musk has made the topic quite popular recently

Musk will make every argument for stability because he won the lottery and wants no more draws, people who are unhappy on the other hand might use some instability because it means a bunch of new draws with high frequency.

It's also the reason why every Senator, Representative, President of every country prioritizes stability.

The population at large might have a different opinion on the matter .


You need people to work in giga factories.


Stability is overrated.


Periods of stability are necessary, but constant stability is undesirable, and idealised. However, unstability means immediate (albeit necessary) pain, which nobody wants to opt in.


In France, if you use "ami" ("friend"), it implies intimacy. What americans call friends are what we call "potes", which are "buddies".

The word "friend" is tossed around so easily in the US culture. "This is my very good friend Eric" can mean you know him from work.

But it hasn't always been like that, "friend" use to mean something more. I feel like it's not specific to "friend", but a general growing trend in America to use superlatives for everything. Like "I ate the most amazing fries yesterday".

This removes all meaning, all nuances, from the language. But it does a lot of virtue signaling and sells better.

And it makes sense, because Frenchmen are terrible sellers, and Americans are good ones.

Unfortunately it also mean I now have an automatic filter pass on American speech to tone it down.


> This removes all meaning, all nuances, from the language. But it does a lot of virtue signaling and sells better.

What would you expect from a culture where "literally" is so (incorrectly) overused it now usually means the exact opposite[1]

[1]: https://www.merriam-webster.com/dictionary/literally


> The word "friend" is tossed around so easily in the US culture. "This is my very good friend Eric" can mean you know him from work.

I really hate this as well. It's like people have forgotten that "acquaintances" and "friends" are two different things, and just use "friend" to cover both.

I think it cheapens what "friend" really means.


It's not just the word friend, but also the word love.

One my favorite intro's to a movie was Up. The amazing part is how deeply it communicated emotions without using any words.

Talk is cheap, characters in movies and shows will start saying they love each other after having met a week or two before. That's an L word, but it aint love.


It's just a poc to show indecently running codes, the exec() is not how you will use it, but it simulates importing python code and running it (because an exec() is what import does :)).


I have a client that wants me to work only on their official locked down laptop, which I do. But it has a terrible camera and microphone, so I use my own better gear.

It made a huge difference in the quality of life of all my coworkers with which I spend hours peer coding or in conf calls.

It's also better for myself, as my client takes me more seriously because in a meeting, as I'm the only one with good sound and image.

Were I to use only approved hardware, I would not be able to make our work life better.


> But it has a terrible camera and microphone

Mine has no camera or microphone at all -- which I greatly appreciate!


And a wifi that works and scales with the number of participants if you are at a conference.


The forest in France are growing faster than we are cutting them. Therefore, using them for energy would make for:

- a cheap, local energy source;

- one that is renewable;

- one that captures as much carbon as its consumption emmitted when its renewed (minus transportation and transformation, which is true for any energy source we use).

So it seems it's not that of a bad idea if you manage to keep the forest sizeable and healthy. It's hard to do for the UK because it's a small densely populated islande, so maybe the tweet is valid for them, but extending it for all Europe is far fetched. Espacially since the UK brexited.

Now, I'm pretty sure if we start abusing it, we will discoverd it kills some important ecosystem to regularly turn over trees like that, or suck all minerals from the the soil. So I'm not going to assume it's without problems, but we don't have an energy source for 8 billions humans that don't have any.


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

Search: