476 karma · joined May 12, 2020 (6y ago) · 570 submissions
comment 3y ago · link · parent
What in earth are you talking about? He brought his way into those companies. I think you are confusing Elon Musk the fictional PR character who exists only in paid press releases with Elon Musk.
Elon Musk's success was being the CEO of a slimy payment processor.
comment 3y ago · link · parent
It's gone from a break even company to financial ruination.
Twitter is shutting down data centers and offices. Elon Musk has single handedly collapsed the company.
Twitter will shortly be either bankrupt or personally funded by Elon Musk's bank balance by the end of the year.
comment 3y ago · link · parent
Most important thing for lots of startups and companies is Time to Market.
Traditional static typing based approachs are just a bad joke (3 times slower on average) in comparsion.
That's why we have the whole microservices and dynamic typing thing going on, because businesses that use it beat up businesses that don't. It's pretty simple really.
comment 3y ago · link · parent
Let's suppose we are Acme Cruise Lines running a Cruiseliner:
Microservice - National Coastguard Ship Arrival System Feed Handler
Database - Logs incoming messages on the feed
Microservice - Asian and Australian Joint Ship Monitoring System
Database - Logs incoming messages on the feed
Microservice - Cruiser Arrival and Departure Times
Database - Cruiser Arrival and Departures Times in a Standard Format
Microservice - Customer Bookings and Payments
Database - Customer Bookings and Payments
Microservice - Fuel Management System
Database - Ship Fuel Levels & Costs of fuel at Various Ports.
It's that high level of split up.
(AWS Lambdas aren't quite the same thing as microservices.)
comment 3y ago · link · parent
No, you don't use separate microservices for writing out that text message.
The idea is pretty simple instead of writing one big program, you write many smaller programs.
It's useful around the 3 to 4 separate developers mark.
It avoids you having to recompile for any minor change, allows you run the tests for just the part you changed and allows you to test the microservices in isolation.
If you a production issue, the exception will be in a log file that corresponds to a single microservice or part of your codebase.
Microservices are a hard form of encapsulation and gives a lot of benefits when the underlying language lacks that encapsulation. e.g. Python.
comment 3y ago · link · parent
According to the maths, given people of identical skill and the same starting funds. Some small percentage of people will get lucky and accelerate out into riches whilst the rest will drop into poverty.
The people who accelerated into riches can't tell you why they accelerated out into riches, since it was purely luck based to begin with.
The more funds you acquire, the more risks you can take, the more money you can make.
Taking risks doesn't make you rich, becoming rich makes you take risks. It's that way around.
comment 3y ago · link · parent
Let me shoot that statement down in flames for you!
Successful businessmen have a lot of initial funds to pursue a lot of different ventures of which perhaps 1 will be a success.
If you ever talked to the successful businessman types you will find they have lots of companies but only 1 will be the source of their money. The rest either lose money or break even.
comment 3y ago · link · parent
Rewrite your program in a form where it does not contain a tree.
If you want an actual tree as a data structure, see the trees crate.
> Rust is not Forth. I can write whatever I want and there's nothing wrong with that.
And other people write Haskell code in Python :p. If your code style doesn't match the language you are using you are going to have a lot of unnecessary friction.
comment 3y ago · link · parent
You need to structure your program as a Directed Acyclic Graph (DAG), with things interacting only with the things below them in the graph.
Then occasionally you might need to break the DAG structure by using Rc, Cell & RefCell, etc...
comment 3y ago · link · parent
I'm pretty sure that developing with scripting languages is significantly faster than regular programming languages :p
Are you actually trying to argue against that?
Not sure why you think I was worshipping them? Several hundred developers being knocked out by 20 developers is an impressive feat.
comment 3y ago · link · parent
For why Python is more productive:
Dictionaries (maps), sets, (generic) lists, tuples are first class citizens of the language with simple syntax.
Typing is dynamic, which means generics, abstract base classes, interfaces and tons of typical boilerplate code, which you would use in Java, are simply speaking omitted entirely.
Extensive library, which is easy to access by pip.
It would be very weird indeed for a developer not to be more productive in Python than say Java.
It should be fairly obvious why the hundreds of Google engineers were run into the ground by a small team of Python developers.
comment 3y ago · link · parent
Youtube did the dynamic typing thing in Python with 20 developers and Google did the static typing thing with several hundred developers in C++ for their Google Videos.
Who do you think won?
https://books.google.co.uk/books?id=eulODwAAQBAJ&lpg=PA136&d...
comment 3y ago · link · parent