Better HN
topnewbestaskshowjobs
Log inSign up

ReflectedImage

476 karma · joined May 12, 2020 (6y ago) · 570 submissions

Submissions

comment 11mo ago · link · parent

Speaking as a Python programmer, no. Using types in a prototyping language is madness.

The point is you drop things such as types to enable rapid iteration which enables you to converge to the unknownable business requirements faster.

If you want slow development with types, why not Java?

comment 11mo ago · link · parent

But don't forget OOP was an attempt in the 90s to bring micro-services to single user computers.

comment 12mo ago · link · parent

This is a conservative problem.

Conservatives are split into 2 groups. Conservatives who are in it for the money and conservatives who are in it because they don't know any better.

College professor is not a well paying job for the level of skill required nor is it a job that someone who isn't very knowledgeable could do. That excludes most conservatives from the position.

comment 12mo ago · link · parent

Ahh the bad high school maths take, which doesn't account for the risk.

People don't just build 1 thing for a house nor can they afford a $20k failure.

If you take Fred who saves up $10k for a major purchase for his house each year.

If there is a 10% chance of a failure, then Fred will have a 53% chance of bankruptcy in 7 years.

You can't run an economy where everyone is bankrupt.

comment 1y ago · link · parent

The concept of a module comes from the concept of a service. Services have small public interfaces that conceal their private internal workings.

I understand it's a very surprising thing to learn.

comment 1y ago · link · parent

But if they hadn't been flouted, the US would be a dirt farm specializing in the farming and production of dirt. Hacker news wouldn't even exist.

comment 1y ago · link · parent

Procedure, functional and Entity Component Systems (Sketchpad, 1963) programs came first.

Micro-services then came along (Distributed computing).

Then OOP was then invented to replicate the benefits of micro-services in single user environments.

comment 1y ago · link · parent

Of course: https://www.youtube.com/watch?v=wo84LFzx5nI

comment 1y ago · link · parent

So originally software development used micro-services rather than modules. A lot of software developers get this wrong and think modules were first. They were not. The software developers just grew up during the module fad caused by the personal computer before everything circled back around to micro-services.

The purpose of OOP was to replicate the benefits of micro-services in single user environments. A class corresponds to a service type and an object an physical instance of the service.

So why did Monoliths/modules fail? Some pretty simple issues, incomplete isolate between the modules, memory corruption and performance issues easily propagate between the "isolated" modules.

But the main killer is compile times. Monoliths/module based programs require massive compile times that grow quickly with the size of the program.

comment 1y ago · link · parent

Python is popular because of it's expansive ecosystem of libraries, which only exist because the language is duck typed. If it was statically typed, the expansive ecosystem of libraries wouldn't exist.

There is a factor of 3x difference in dev speed between the two typing systems.

comment 1y ago · link · parent

Arguably, it's a step in the wrong direction. Share memory by communicating is already doable in Python with Pipe() and Queue() and side steps the issue entirely.

comment 1y ago · link · parent

As a general rule of thumb, once you have proper tests, static typing doesn't find very much, if anything.

comment 1y ago · link · parent

It will now be used as a vehicle for an overly complex pyramid scheme.

Well at least this will eventually clear EA out from the market.

comment 1y ago · link · parent

Basically, fascism creates a system where people are promoted based on political loyalty rather than competency.

The most loyal people will be the people who lack skill since they only have the position due to the higher ups ensuring loyalty.

comment 1y ago · link · parent

Rust is basically the wanted fixes to C++ that C++ itself could never adopt for legacy reasons.

So I'm afraid no by definition C++ can't adopt Rust's ideas because Rust's ideas were originally impossible C++ ideas.

comment 1y ago · link · parent

No saying negative things about the next Dot com bubble! I still have shares to cash out and bags to move onto the general public.

comment 1y ago · link · parent

If you are just looking to get pass the age check: https://www.youtube.com/watch?v=SU9K1LsgX7c

will do it.

comment 1y ago · link · parent

"Very soon" is last year in this case

comment 1y ago · link · parent

That already exists: https://huggingface.co/spaces/fffiloni/expression-editor

comment 1y ago · link · parent

Really? Because 50% of the UK wealth is in the hands of billionaires. So everyone in the country would suddenly be twice as wealthy (excluding the billionaires of course).

Perhaps you should check the facts before making statements like that!

comment 1y ago · link · parent

Whilst generative AI is great for writing business letters and essays and all that, going straight for coding, one of, if not the hardest problem is a bit much.

This is a come back in 5 years when it works sort of thing.

comment 1y ago · link · parent

Minimal Viable Product obtained!

comment 1y ago · link · parent

Sadly the authors of LibreLingo were last seen being lead into the back of a white van by an enormous green owl

comment 1y ago · link · parent

Well the problem is best stated as "I don't know how to use channels and I don't intend to learn". So perhaps some kinda of developer education is the solution?

comment 1y ago · link · parent

Absolutely terrible.

The foundations of economics are built on school boy style maths errors.

They have famous "paradoxes" and results that are just bad maths.

It's a ridiculous joke of a research field.

comment 1y ago · link · parent

Well it's positive for various countries that benefit from an end to US dominance over the world. :p

So for the US itself? The theory would be that the tariffs will increase US manufacturing sector. But the cold hard truth is that it isn't the 1830s anymore and last time tariffs were tried happened to line up exactly with the Great Depression.

Even an competent administration would have great difficulty making tariffs to restore manufacturing work in the US, if that is even at all possible. It fails because other countries just put the same tariffs back on the US.

So with the Trump's administration some kinda of serious economy meltdown is almost certainly the result.

comment 1y ago · link · parent

Well China's economy is currently tied up in a housing pyramid scheme that's gone burst.

Russia's economy is on such a war footing regardless of if it wins or losses in Ukraine, the economic shock of the end of the war will bankrupt the country. See Dutch disease.

And no one wants to host the Olympics, it's a huge money sink.

So it doesn't really pay, it's just bankrupts you. Even Trump's America is having massive stock sell offs and other countries dumping the dollar.

comment 1y ago · link · parent

They already wasted $500M in loss of perishable goods. So a "saving" of -$492 million so far.

comment 1y ago · link · parent

Well Trump bankrupted his casinos and Elon Musk turned twitter from a break even company into one that loses money every year.

Now, it's time for their double act of economic ruination for the US.

12345
19