17,493 karma · joined May 14, 2013 (13y ago) · 5,498 submissions
Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.
And embersofvictory.com
Retro turn-based strategy game.
comment 6y ago · link · parent
I'm actually quite heartened to hear that the attitude among Postgres developers is changing. Back in the day whenever people would bring up threads vs processes they got shouted down because processes are clearly superior and threads were "just implemented as processes on linux anyway". That's going to be one hell of a job to change now though.
To Tom Lane: I told you so :)
comment 6y ago · link · parent
Square is a fine company, but let's face it, it is not changing the world. It's just another payments company with nothing particularly special to make it stand out.
I don't think you can compare him to Elon Musk, except again, the fact that they both work hard. Plenty of people do.
comment 6y ago · link · parent
That's just not how reality works, there is usually an objective truth even when we can't agree on what it is. You can use a hammer and a screwdriver for putting screws into drywall, but one tool is objectively better, under most conditions, regardless of your personal opinion.
Python is superior to C and Rust for most kinds of scripting tasks, given equal mastery of both. It has a REPL, it doesn't have a compile time, it has a great batteries included standard library. There are plenty of specific tasks that will be exceptions, but that's my subjective opinion. I also think it's closer to the objective truth - and that people who have a different opinion are simply wrong. I'm not afraid of calling it how I see it. I could be wrong here, but I don't think that's the smart money bet.
comment 6y ago · link · parent
comment 6y ago · link · parent
I remember telling my uni professor about that 15 years ago, but she swore by using C for that purpose. It's what you know I suppose, but if you know both languages, Python is much better suited to the task.
comment 6y ago · link · parent
That's three billion dollar companies so far and counting. Is there anybody else who's done that? Not to my knowledge.
He quite likely has some kind of savior complex, he's quite literally trying to save the world.
A fascinating and incredible human being.
comment 6y ago · link · parent
comment 6y ago · link · parent
There are some good reasons for this:
- If you created such a company, you may still be running it. Jeff Bezos, Mark Zuckerburg, Larry Ellison. By the time you retire from that you're super wealthy and old, there's little reason to start over.
- Founding a company is HARD. Few people who went through that once are interested in doing it again. Paul Graham wrote about how he feels that way, although he did do it again with YC.
But I think the point is fair that success at that level requires not just skill but a lot of luck of being in the right place at the right time with the right idea and the right combination of skill and connections to pull it off. It's extremely unlikely.
You can certainly say Bill Gates and Mark Zuckerburg are skilled and they work hard. But it's clear they were also very lucky.
comment 6y ago · link · parent
It is not a constant factor. Saying it is about 2mb is misleading.
It's possible I'm missing something special about postgres, but that's how shared memory between processes works on Unix systems in general.
MySQL uses threads which are much lighter weight because they don't need their own page table entries, and they don't need to do as many TLB flushes when switching contexts between them. It's one of the architectural decisions they did right I think. Postgres went with processes so it's easier to kill a connection cleanly, without leaving a things in a bad state. I think there are other ways of solving that problem though.
comment 6y ago · link · parent
Rust is one of the nicest languages out there. Very well thought out, elegant, full low-level control for real systems programming (sorry Go!) AWS uses it a lot, Microsoft is starting to use it.
Go, or even Python is better if you just want to make a backend API for a (web) app. You'll be more productive with it over Rust because you have a GC and can ignore the whole ownership issue for the most part. Python for very small teams likely to stay small for a long time, Go otherwise.
C++ has come a long way, but it's still hairy and loaded with footguns and baggage. I would only use it these days if I needed to use a big C++ library (like a game engine).
I am no longer willing to use Haskell, PHP, Perl, Java or JVM languages, .NET or anything else that's not Go, Rust or Python. With the same caveat as C++ above. I pass over job postings that require them. That's not saying those languages are bad, just that in my personal opinion there are better tools out there, and if I'm going to work with it day in and day out, it had better be in something at the top of my list - because life is short.
comment 6y ago · link · parent
Recycling is overrated for cheap products. Plastic is practically impossible to recycle effectively. If it were made to be biodegradable that would make much more sense. But even failing that, there is no shortage of landfill space, as long as it goes to the garage and not to the environment - a huge problem in the developing world and where the plastic in the ocean originates from.
comment 6y ago · link · parent
There's little doubt the pipeline is what's best for Canada. What's best for humanity is another question.
comment 6y ago · link · parent
However, Canada should get smart here and do what Norway does with their oil profits. Invest it in a sovereign wealth fund that's diversified away from oil. Because the oil age is ending and it will hit the most expensive producers, like the oil sands the hardest.
That seven billion spent on converting to renewable energy might have made more sense.
comment 6y ago · link · parent
It's obviously also a consequence of the short term focus of having fixed term limits.
I don't know how to fix these things, but it's irritating that nobody even tries to fix it.
comment 6y ago · link · parent
comment 6y ago · link · parent
There are exceptions though, sewers and sewage treatment have been a great invention. And big cities aren't drowning in horse shit which was a major issue in London and New York at the turn of the twentieth century.
comment 6y ago · link · parent
I wonder what kind of chemicals fit that profile?
It's nice to live in a country where doing that means lawsuits and jail time usually. I doubt there will be justice in this case.
comment 6y ago · link · parent
Later I saw some suspicious compiler bug fixes around compare and swap, and I still wonder if that was maybe it.
comment 6y ago · link · parent
The money is more like points in a game to him I think, he just loves the game.
comment 6y ago · link · parent