3,721 karma · joined Jun 10, 2009 (17y ago) · 1,423 submissions
comment 16y ago · link · parent
The way the Node.js method is performed is by changing the binding of a function. This is possible in any dynamic language that has functions as first-class variables such as Python. Because that type of reloading is quite old, programmers have had a lot of time to find many problems with it: which is why people are hesitant to suggest using Python's reload.
One of those problems is consistency. While I can't think of a simple example off the top of my head, the blog author here acknowledges it's presence which I believe he will soon find to be a big problem.
And most importantly, my method allows you to use a new binary. What happens when you want to upgrade the V8 virtual machine because it has a memory leak or a security problem? With function loading you will still need to restart.
I think Node.js will be better off implementing the spawn method I documented.
1143.
Nginx, Varnish, Cherokee, thttpd, WEBrick, Yaws log escape sequence injection(packetstormsecurity.org ↗)
16 points · by codexon · 16y ago · 3 comments
comment 16y ago · link · parent
http://www.ariel.com.au/jokes/The_Evolution_of_a_Programmer....
And here is one that is actually well done for Haskell.
comment 16y ago · link · parent
Just because I named 2 dubious uses of free speech, "slander" and "assasination", doesn't mean that the laws can't be twisted to clamp down on more legitimate issues: such as revealing corruption in the government which can be construed as libel in the US.
Overall, I am disappointed in the attitude of HN readers like you who take freedom of speech lightly.
comment 16y ago · link · parent
1. You need to run an exit node for unencrypted HTTP traffic to be able to inject html.
2. Tor warns you when you are potentially leaking DNS requests when you are using an old protocol like socks4 instead of sock4a. Anyone who is using Tor is presumably smart enough to activate this option on Firefox or whatever browser they happen to use,
3. The Java applet leaking DNS requests is a big hole which I believe is fixed by now. Even if it did work, it is entirely dependent on point 2 which is easily preventable.
comment 16y ago · link · parent
I wrote the same thing you did the day the news broke out on HN. People thought that I was wrong, and that Google was going to withdraw voluntarily. They downvoted me to around -5 before some of the more rational people bounced it back up.
comment 16y ago · link · parent
I realize that freedom of speech in the US doesn't apply to private establishments, but I would expect HN to hold a higher standard than say a conservative Christian forum.
And keep in mind that one of PG's goals is to reduce the herd mentality.
comment 16y ago · link · parent
Unfortunately, it is not just a number on HN.
A recent article here revealed a hidden algorithm that makes your votes useless if you drop under the global average karma/comment.
Thus it is more likely that populist opinions have comments shown higher while yours is likely rendered less visible by being grayed out.
comment 16y ago · link · parent
http://www.puffinwarellc.com/index.php/news-and-articles/art...
comment 16y ago · link · parent
That is plain wrong.
Think about what would happen if the scarcity of crucial goods like food and shelter increased by 1000%. Would there be inflation? I'd put my money on it!
Well, yes, but that's precisely the point.
No, it is not precisely the point. The economy was already declining when Nixon moved off the gold standard. Why do you think he wanted to do it in the first place?
And if your theory was correct, then why did the economy recover? Last time I checked, we didn't move back to gold in 1980.
comment 16y ago · link · parent
If the private stock owners always agree to sell the stock back to the company at a higher purchase price (achievable with a handful of private owners), then there would be no liquidity problem.
comment 16y ago · link · parent
You are absolutely incorrect. They aren't doing this. They are pulling out of the US economy and putting them in Euros, gold, or Chinese factories. Did you somehow forget the complaints of a credit crunch that banks weren't lending any money?
Do you really think they are dumb enough to keep investing in the US when dollars are being printed non-stop? If so you are way off base.
If there were no argument, you wouldn't be seeing arguments from prominent economists like Greg Mankiw, Bryan Caplan, and Tyler Cowen. And indeed, they've got good arguments. The idea that burning through money to stimulate the economy comes from the Keynesian tradition -- but we know from the 70's double-shot of inflation and unemployment that the Keynesian model is wrong (the question is, "just how wrong?").
Then why aren't they the ones making the decisions if they are so correct? And the government doesn't simply just spend money for the sake of spending it. It usually (not always of course) goes into projects that benefit the public for decades such as better roads, power, and homes.
And Keynesian model being wrong because of the 70's? That is simply naive. Inflation was due to fears of Opec increasing oil prices and moving off the gold standard. Inflation was already rising when Nixon implemented his limits on wage/price increases. US Debt as a fraction of the GDP was even decreasing during this period.
http://g-ecx.images-amazon.com/images/G/01/askville/4889596_...
Describing this as Keynesian is absolutely inane.
comment 16y ago · link · parent
How much money does a billionaire need to live from day to day? The same as any other normal person. Yes, they are likely to consume more luxury goods, but in the end, it does not cover the fact that the more money you have, the easier it is to get even more.
For examples of this you need to look no further than your local bank and see what premium rates they offer for people with high balances. Index funds offer ultra low expense rates for people with a lot of money. With a large proportion of money, it becomes possible for you to manipulate the markets by buying out competition, and becoming a monopoly: which is arguably the equilibrium state for any free-market. The monopoly is the most profitable situation for any business, and this is at odds with society.
So the more money you acrue, the higher your money/work rate becomes. This is a perverse incentive for the large corporation owners to not work as hard; and also to lay off workers during recessions. What sane company would be hiring when workers/consumers have less money to spend?
And the less work that is put into the economy, the worse off the economy is. This cruel cycle is why the economy was in a deflationary spiral and why "Helicopter" Ben is printing money as fast as he can.
This has a communist vibe, but in the end there is simply no argument that it is much better for the country to utilize the resources and wealth to stimulate the economy as a whole than letting a few people sit on it so they can get richer by doing nothing with it.
The poor and middle class can't just create their own wealth because they don't own "the means of production" or the intellectual property horded by megacorps and protected by megacorp lawyers and lobbyists.
It is analogous to not letting DeBeers sit on a stockpile of diamonds, except instead of diamonds, it is money, food, gas, homes, etc...
1163.
Akamai: World internet speed increasing except for US(news.cnet.com ↗)
31 points · by codexon · 16y ago · 24 comments
comment 16y ago · link · parent
It's their right as a business to do that just as it's the customer's right to complain and use rackspace or google instead.
If a 1+ second internal ping for an entire day is reasonable for Amazon, I personally wouldn't be using EC2.
comment 16y ago · link · parent
They haven't decided to pull out completely from China yet. They simply said they might, and their main focus was to stop censoring as much as they can "within the law".
I am really surprised that you have been voted so highly as though you and many other readers here mistakenly interpreted this as an absolute sign that Google is going to withdraw from China.