17,493 karma · joined May 14, 2013 (13y ago) · 5,497 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 10y ago · link · parent
But assuming threadsafe collections is still a problem - that will never match single-threaded GIL Python running in multiple processes unless some efficient way can be found to optimistically make the collections not threadsafe and only pay the synchronization costs when they're really shared between threads. I think that's a solvable problem, but not with the STM approach PyPy took. Still performance will likely lag the mutli-process solution which doesn't have that cost.
I would rather see a Python that introduces a way to allocate PyObjects in shared memory and with no thread safety. Since it's a new system, that can be done without breaking compatibility. Then sharing between processes could be as easy as sharing between threads and just as efficient. The GIL could stay in that case and the C API could be left unchanged.
comment 10y ago · link · parent
So the problem in Python will never be fixed in my opinion - the problem is Python and there's no saving it. Without breaking backwards compatibility it will always be better to use processes instead of threads and keep the GIL.
comment 10y ago · link · parent
And if you think it's bad in the US - look at Venezuela - a prime example of an ignorant and poor populace supporting bone-headed policies and politics until the country is reduced to a shambles. Democracy can only be as good as the voters, unfortunately - and the media bears a heavy responsibility there.
comment 10y ago · link · parent
comment 10y ago · link · parent
They may lose money, they may make some. But it's a grand experiment of a kind that's never been tried before and I'm curious to see the results.
comment 10y ago · link · parent
comment 10y ago · link · parent
I suspect well-meaning people like the idea of an electric airplane because it's greener, but FYI we live in a market economy. We will continue to extract and burn fossil fuels until it is uneconomic to do so. No matter how many people shout, no matter how much damage it does to the Earth, even if it kills us all. Markets don't care. If you have a problem with that, as I do, the only practical solution is to make fossil fuels not a cost effective alternative. Electric airplanes could be part of a solution - but only if they can compete on cost. I personally like the idea of taxing fossil fuels to factor in the negative externalities - but given the political makeup of the world as a bunch of competing nation-states, it seems unlikely. Game theory tells us there is too much incentive to be the nation state that doesn't support the agreement. Instead what I think will happen is that we'll innovate our way out of the mess by making green technologies more cost effective than fossil fuels.
comment 10y ago · link · parent
As another example, drinking, smoking marijuana, vegging out in front of the TV, insert whatever "vice" you want here that wastes time/energy, might not hurt you much every now and then - but to excess it's going to accumulate into a serious competitive disadvantage overtime.
There are hard tradeoffs to be made between work-life balance and career success - and the results of those tradeoffs don't really become very obvious for a long time.
comment 10y ago · link · parent
http://www.911myths.com/html/wtc7_damage.html
There was a giant ragged hole 20 stories high!
comment 10y ago · link · parent
It looks like one of these bad boys would set you back about $40000. So you'd break even at 4 months. If you're going to go for the 3 year reserved instance, with $100K upfront, you'd be way better off on capex and opex just buying and colocating the thing (not considering other expenses.)
The bigger you grow the more the balance tips towards do it yourself because your costs for colocation, managing hardware, etc amortize out better with scale. AWS gets a little better with scale but not nearly as quickly.
comment 10y ago · link · parent
It's harder to do that in the US because you have more conservative people who see drugs as morally repugnant. My prediction is blue states will continue legalizing and red states will be the last holdout.
comment 10y ago · link · parent
But either way, that's not causing Google to break any anti-trust laws. They don't have to make it easy for competitors, just not unfairly use their power to stomp on them.
One could even make the argument that the reason Google has done such a good job at search over the years is because Larry and Sergey are very afraid of being disrupted by another Larry and Sergey. They have to stay on their toes and they know it.
comment 10y ago · link · parent
The market is open to competition, and Google is very disruptable, if somehow you think you can do a better job than they do. If another Larry and Sergey came along with a search engine that was significantly better, they'd disrupt Google just as easily as the original Larry and Sergey did to whatever was popular before them (I don't even remember.) Do they have the vast majority of the market share? Yes. But they also have plenty of competitors and there's no lock in for people searching, nor a high pain threshold for people to switch search engines. The reason Google holds such a dominant position is simply that their search results are best. If that weren't the case, I'd switch today, and so would you.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Images would be safe.
Or an alternate plan, start rendering, but do not run the javascript until the resource checks for css+js files return. It would slow things down some more, but not as much as waiting for everything.
comment 10y ago · link · parent
comment 10y ago · link · parent
The immutable solution is cleaner, and doesn't load the server as much, but it's not backward compatible and requires the people who run the server to know what they're doing. Maybe the two solutions could be combined?
The biggest potential drawback I see is that maybe most resources, including the html don't expire, so every page will be rendered and re-rendered. Giving little benefit and making the rendering choppier. Some of that maybe could be mitigated by starting the rendering in the background and not displaying it until a certain percentage of requests return, or special casing the "page" itself as opposed to page resources.
comment 10y ago · link · parent
comment 10y ago · link · parent
If you decrease your calorie intake your body compensates by lowering your metabolism. Between this and the decreased metabolic burden of carrying less fat and muscle, this is why many dieters find that their weight loss plateaus after a while of making progress.
As far as low-carb diets in particular, there are also additional factors. If you get the carbs down under about 20 carbs a day you can go into ketosis, which is a wasteful metabolism. You literally piss away some 10-20% of your calories.
But the biggest benefit of low-carb is you don't have those blasted carbs (and especially sugar!) adding calories to your diet without triggering the satiated response in your brain - you just eat less on a low-carb diet, without feeling hungry.
comment 10y ago · link · parent
I think he'd be a shoe-in for YC, but I also think that'd be a waste now - with a product like this he can easily show it off to investors and raise money, if needed, or just bootstrap off his own revenue. $120K for 7% is not a good deal with a polished product like this - I think it would be easy to beat.