Better HN
topnewbestaskshowjobs
Log inSign up

codexon

3,721 karma · joined Jun 10, 2009 (17y ago) · 1,423 submissions

Submissions

comment 16y ago · link · parent

I'm glad that someone thought my post to be interesting even though no one found it to be good enough for a direct HN submission. However, I would like to disagree with the statement of my hack lacking subtlety.

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.

comment 16y ago · link · parent

3) 4)

<?php

echo foo('baz');

function foo($bar) { return $bar; }

?>

This looks to me like you can use PHP functions before declaring them above.

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

This is an uninspiring ripoff of the older original here:

http://www.ariel.com.au/jokes/The_Evolution_of_a_Programmer....

And here is one that is actually well done for Haskell.

http://www.willamette.edu/~fruehr/haskell/evolution.html

comment 16y ago · link · parent

What I'm getting at here is that you are trying to be pedantic know-it-all, yet you fail to know the details of free speech which you claim to be so knowledgeable about.

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

I see several problems with this method.

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

That is incorrect. You are not allowed to cry fire in a theater nor are you allowed to say you will assassinate a public figure.

comment 16y ago · link · parent

People on HN and everywhere else are the ones that are spinning things in their own head.

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.

http://news.ycombinator.com/item?id=1050881

comment 16y ago · link · parent

By that same reasoning, China has a guarantee that it won't punish you for badmouthing their government...as long as it's done in the privacy of your own home.

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

Google is not going to de-censor search results in China

They already did.

http://images.google.cn/images?hl=zh-CN&resnum=0&q=t...

comment 16y ago · link · parent

That would only be true if karma doesn't effect the visibility of your comment compared to the opposition.

It's an issue of freedom of speech, and unfortunately, isn't just another "number".

comment 16y ago · link · parent

I don't mind. Karma (even on HN) is just a number on a webpage :-P

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

While your theory makes sense, I wouldn't be surprised if it wasn't statistically significant.

comment 16y ago · link · parent

Or you could just use the print version.

http://www.puffinwarellc.com/index.php/news-and-articles/art...

comment 16y ago · link · parent

This is sane, because to get a Singularity, you need those non-CPU things

No one knows including Kurzweil. Maybe it really does take x number of flops, maybe we need better software. Maybe we need quantum computers. Anyone that pretends to know is lying.

comment 16y ago · link · parent

Inflation is caused by one thing, and that's an increase in the money supply.

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

Is there a law that prevents the company from doing stock repurchases from private owners though?

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

I don't know much about S-Corps, but don't they just spend excess revenue on stock buyback while giving $1 a year (Steve Jobs style) employees generous stock options taxed at 15% capital gains tax?

comment 16y ago · link · parent

Here's an older article which basically says the same thing from someone who lived in Africa.

http://www.theothersideofkim.com/index.php/essays/36/

comment 16y ago · link · parent

If they're stashing it under their mattress, I don't think they'd have gotten rich in the first place. If they've got it invested in stocks or bonds or even banks, then it's not idle and doing nothing. It's helping other people finance their businesses, buy houses, whatever. But it's definitely doing something useful. In fact, it's doing something so useful that the people using the money are willing to rent it from them.

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

One point that you are missing here is that some people have stockpiled wealth and power, and have no intentions of using it to stimulate liquidity in the markets.

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...

comment 16y ago · link · parent

It's not as odd as you think. I've seen quite a few tideX.microsoft.com visiting non-tech related content on my website.

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 could very well be that they're prioritizing the higher-paying customers, which seems reasonable

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

So just because he has a big job means that he can be immoral about it?

comment 16y ago · link · parent

Is anyone surprised that Schmidt wanted to stay after making that privacy statement blunder?

comment 16y ago · link · parent

My interpretation is entirely correct. As of now, Google has not yet voluntarily withdrawn google.cn from the internet.

Just because you think it is sure sign that Google will withdraw does not mean that they will. So far this is nothing more than an empty threat.

comment 16y ago · link · parent

Because that would be stooping to China's level.

comment 16y ago · link · parent

And by your own admission, it was through his own inaction that he let the Fed run amok. Also during his term, trade tariffs went up.

comment 16y ago · link · parent

I did read the article to the end, and I find no fault with what I said.

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.

1
383940
48