skysight-inc/HackerNews huggingface dataset:
1. V8 does not perform tail call elimination (AFAIK none of the major JS VMs perform it) because certain legacy JS language features (namely func.arguments and similar) are not TCE-friendly (see for more details http://code.google.com/p/v8/issues/detail?id=457). So manually performing TCE indeed reduces number of (relatively) long lived objects: tails of the string created with substr.

2. I am not sure about this question. V8 uses cons-strings internally: so it is important to understand that c = a + b does not result (at least not immediately) in an allocation of a new sequential string and copying characters from a and b to it. That means that concatenating many strings does not cost much (especially if they are large) at the moment of concatenation. Actual concatenation happens later, when you start indexing into this string: V8 will flatten it (convert from cons-string form into sequential form).

3. See 2. If you intermix indexing and concatenation you basically force s to oscillate between cons and sequential forms: cons-string is created, then flattened on indexing, and result is concatenated with the string forming a cons-string which gets flattened... Resulting performance is bad because cons-strings actually become pure overhead (you waste more on their creation than you benefit from them) in this cycle of concatenation and flattening.

4. '*' as a prefix means optimized function and '~' as a prefix means non-optimized function.

5. Everything starting from 'Understanding Numbers' slide is a collection of facts unrelated to the first part of the talk about profiling. To get the idea of how typed arrays affect performance you can read my blog post: http://blog.mrale.ph/post/5436474765/dangers-of-cross-langua...

6. HiddenClass slides try to illustrate the idea of inline caching (http://en.wikipedia.org/wiki/Inline_caching) without using assembly. It's pseudo-code. HiddenClass is a structure that describes layout of an object. Slides #42-#50 illustrate how VM builds hidden classes hierarchy while executing the code. Slides #51-#52 try to illustrate how you can utilize hidden classes when you compile code. There are couple presentations that discuss hidden classes at the lower and more detailed level: for example Mads Ager's talk at Google IO 2009: http://youtu.be/FrufJFBSoQY

7. No, there were no example (it's impossible to fit that much into a single 40m talk). In V8 ICs have a special megamorphic state in addition to monomorphic state. Megamorphic stubs are not specialized for types IC had seen (unlike monomorphic stubs), instead they rely on a cache of monomorphic stubs (indexed by hidden class of the receiver).

8. Those are functions that force object from fast-mode to dictionary-mode.

9. In non optimized code it is materialized when used in the code. In optimized it is never materialized (but as the slide says: if you "misuse" arguments in a function it will not be optimized).

10. I have not seen any real world code that suffers from this problem. But people ask about scopes and closed-variables quite often that is why it is included.
Back up! Enjoy :)
Entirely agree with you. They are nothing but script kiddies. Anyone can download Metasploit, Nessus, Nikto, etc. and test for thousands of vulnerabilities. Then they either turn vulnerable servers into botnet zombies or steal their data and post it on the web. I've seen no sign they have any 0day exploits (which would make them the real deal), just some basic SQL injections, XSS, and brute forcing.

Not impressed.
Maybe splitting hairs, but actually I think it was a law passed by Congress that mandated captions for broadcast television, not the threat of civil lawsuits.
There's a much deeper debate over abuse of copyright that I won't get into, but it seems to me that if we can say something like "despite what we all may wish" with any level of veracity, then you're in very shaky territory when making declarations about what rights people or entities should have.

Not that there aren't first principles to evolve laws from, but those first principles are very bare, and most of what we decide people should do, and most of the rights we grant (key word) to persons or entities are decided by interpretations of situation based on what we want society to be shaped like.
How Not to Recruit
A four year vesting period is typical. Like he mentioned, he's just gone over four years.
Adobe gives the same access it has to save to any folder on the drive, to the scripts in the PDF. Apple doesn't make those kind of mistakes.
English captions, or captions in her native language?
Where are you getting your data from?
I'm not really sure how useful it could be. Most smartphones have their own Weather App which works better than this.

However, aside from this software being available on Smartphones, I haven't really seen many really good weather apps that update every hour online.

You need to completely overhaul the design, make it look slick and then re-launch, make it look like this: http://outsideapp.com/.

I think you have a very good chance of succeeding if you do that. Good Luck!
This thing must be fake. I thought they were doing it for the lulz.
I mean in terms of how many backdoors are left, unpatched, in programs that inevitably have direct access to the internet, and admin rights.
Were you able to make arrangements with the team to make the transition easier?
Do they know the ropes as well as you?

Was there much camaraderie among the team members?
It seemed that way.

Did you have to agree to/sign anything from Conde Nast to proceed with your resignation?

I wish you the best of luck and I hope you succeed both personally and in future ventures.
Clever, but you could save a lot of hassle and give a better gift by just Paypaling the money to the person.
Pi explained
You did the work by moving the magnets away from each other. This converts some of the kinetic energy you created by moving them into potential energy. As you moved the magnets back closer to each other, some of this potential energy converted back to kinetic energy, until they were close enough that the force exerted by the magnetic field exceeded that of gravity, at which point there was a large conversion of magnetic potential energy into kinetic, and then gravitational potential energy.

Further, note that since a force was exerted over a distance , work was indisputably done. Exactly what did that work is a matter of opinion, but work was certainly done.
This just makes me think: why in the world would any one want to become a writer these days? There isn't much money in it, unless you get lucky and hit it big. I understanding having a passion, but this is one passion that should be relegated to hobby time. Am I wrong on this? I'm just not seeing the economic viability of writing sentences and having people (whether readers or advertisers) paying you proportionate to the amount of work you put in.
I hope so. What's really funny is I was reading through some of your articles on lessWrong just this morning and almost put in a caveat along the lines of "Assuming no singularity event".
One of the major reasons that it's been hard for spotify to be released in America is because the big music publishers have been worried about if spotify could be profitable being supporeted only by ads. I've read, I don't have the source anymore, that they might phase out free spotify in the future and that's why they've increased the amount of ads.

I pay 10 euro/mnoth for premium now which let's me stream as much 320 kb/s music as I want and save any song I want on my smartphone or PC. It's absolutely worth if you listen to a lot of music.
Hard work is defined as measure of success, if you succeed you worked hard, else it becomes a foolish effort.
Am I mistaken, or is he making the "get a life" argument, classic of seventh graders?
may be they went into the ocean to avoid the future of creating fb
That is not the only criteria.

See this comment:

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

The other issue is, as a contractor, the contractor retains all copyrights to the material created. Work for hire does not apply in this instance.

He could send a DMCA takedown notice and have all of his articles removed, or organize all the other unemployed writers and coordinate a massive DMCA takedown letter writing campaign.
android version: https://market.android.com/details?id=com.hourlyweather

hey, sorry I wasn't too clear. I created an android version and then after that I reused the code to make the html 5 version. I agree though the link you posted looks much better then mine. I think I need to make some graphic designer friends.

also the data comes from yr.no which has a great webservice.
And, your risk in running a fast food joint is much, much greater. Franchise fees of $100k+, managing employees, avoiding lawsuits because your parking lot has a bump in it, and being in the shop everyday versus...

learning a language is free + telecommute, flexible deadlines + server crash leads merely to whining + Idea Guys have to pay developers and not the other way around.
I was expecting a rickroll there at the end... Fresh prince - close enough.
"Twitter apps, tip calculators, weather widgets, and Angry Birds Rio aren't going to help kids learn to read"

Straw man alert. It should be incredibly obvious that the tablets will have etexts, note taking, html lessons and quizzes, flash cards, etc. In short all the things kids do to learn 100 or 50 or 20 years ago but with the efficiency of a converged device.
At 50% cpu utilization this is very impractical outside tech demos.
A short (and slightly biased) history of collaborative editing
So this version of SQL is turing complete?
Russian programmer dies by accident after burrying himself alive
Also If anyone wants a copy of the android version and doesn't want to spend the dollar I'd be happy to let you know when I put the code in github so you can build your own.
>According to the lawsuit, the ADA requires that all “places of entertainment” provide “full and equal enjoyment” for people with disabilities.

I'm sure it's lost in translation from legalese, but that seems like a really broad requirement. How can you claim full and equal enjoyment of deaf people at a nightclub say?
Googled the act and tried to read it (http://www.ada.gov/statute.html) but I can't parse it.

Edit: removed the bit where I said surely captions aren't hard - article links to netflix saying it is (http://gigaom.com/video/why-netflix-doesnt-offer-subtitles-o...)
Child labour laws. You could never employ 2/3 of them for long enough for their own desire to do this kind of thing.
It's a sad sad story. I love reading great content and I never had problems paying for great content.

I've been a subscriber to paid magazines/papers and I'll continue to be one to digital ones.

But I guess my kind is rare and of course the majority always wins.
The free service is awful, because you're supposed to pay :)

I've been using paid Spotify from the US for a year and a half now, and I use it everyday. It's perfect.
Sentate _Commmitee_ Votes to Make Illegal Streaming a Felony

Please update the title. While the story is worrying, this is misleading and needlessly sensationalist.
7 out of 7, booya!
US Senators ignore the unintended consequences of criminalizing everything.
On the XX century internet, that was true.

But! On today's internet, consumer needs certain services on-line 24/7, and is hit hard if they are down. One's stock quotes, bank account, credit/debit card processor, ticket booth, office suite, and last but clearly not least, the daily fix of WoW. Hell, a lot of people can't even read or write any email without the WWW interface.

Being vulnerable to DDoS is just as unexcusable for some business internet services as being vulnerable to SQL injection; only diffirence is the protection applies at different layer.
The value of an out of warranty server is practically $Null. Any set of servers in a single space will require active cooling. Since processing power and storage multiply over time, it means you end up overspending on energy for a what now is a very limited amount of processing power. And I'm not even going to mention downtime due to hardware failure and rising cost of upgrades over time. The most valuable part of this donation by far is the fact that they pay for the shipping.
Not just a housing bubble but a bubble in the exact same industry sector as well!

Of course, a bubble is fundamentally a gross mismatch between future expectations and actual returns. That's why there's no learning from the past, and why it's always "different this time."

More importantly, bubbles don't occur in a vacuum. The 1990's tech bubble wasn't just because the internet was new, and everyone thought it was going to be great. The 1990's also featured low interest rates, the repeal of Glass-Steagall, and other loose policies conducive to asset bubbles. Sound familiar?

Such policies force money to chase yield, which means risk. As it does so, the market sends false signals about the true value of its companies, which reinforce themselves until some "Black Swan" event reveals the imbalances. In 2008, that event was the fall of Lehman Brothers.

As I noted below, if the national government continues to tighten its fiscal and monetary policy, then this bubble will be over before it really began. If, however, the government reloosens after the end of QE 2, it will most likely be full steam ahead.
Easy, if you have captions available, if not then it is a bit more difficult. They have been working on it and most of their streams do support it.
...and I was working on the volume control feature while we got Slashdotted. Now fulltime on trying to get the server to handle the load. Sorry, will have to wait :(

(edit: typo)
Programming like writing novels or painting is something you usually do because you love and enjoy but becomes boring when is your 9-5 job.
There's a value there for sure, but for folks like me (30's, savings, used to a large salary, own a home, married, etc...) relocating and everything else required may not be worth the trade off.
just to be clear, I am a "biz guy" who also happens to write usable code...I am the last one to discount the value of "the biz guy." So there.
If you do find out you have one boss, you could ask the others to go through him first, to pass your work to him.
You guys do realize that the bit about preying on the weak for profit is just a bit of rhetoric? It isn't really true.

The person who is weak in this case is a customer. This customer is lacking in skills related to computer security. The person who is preying on the weak is someone who invested time into learning about the skills that the customer does not know. Let's say this customer was a farmer. He is using the money he too got from preying on the weak non-farmers to purchase protection.

In the case of preying on the weak for fun we also have some things being hidden behind the words. For example, fun in this case means stealing identities, trying to ruin relationships, and sending dildos to innocents.

It's cool though for the author because by having things written in these terms its easy for people to talk past each other. They don't realize the context in which he has placed the words in the article. When other people see the terms its easy to think that maybe "preying on the weak for profit" is referring to blackhats instead of capitalism.

Another thing worth pointing out is that the person who is volunteering to give away the information for free is actually someone who also put in a lot of time to learn all the things that the customer didn't know. So when he says "I could teach it to him quickly" he is really saying "I will provide the same service in exchange for you're weekend." The thing is that when these two "companies" compete only the one charging money is going to stay afloat. So the dildo sending altruist who wants fun to be the basis of society goes back to sending dildos while the guy who charged the money actually does the job.
Yes, please help optimize it.
Not just AOL, broadcast media, like mainstream news channels seem to work that way too as far as buzzwords and what topics to cover.

Like you'd never know the US was in three wars or about to default on the deficit the past couple of weeks. Only PBS was mostly immune and BBC World.
"The origination of the Internet itself, the book explains, is a direct result of the splitting of AT&T in 1984, which allowed, for example the standard modem jack to exist (jacks and equipment were proprietary before that)"

The earliest modems didn't use phone jacks at all:

https://secure.wikimedia.org/wikipedia/en/wiki/Acoustic_coup...
Ask HN: How much should I charge for a customized program I already wrote?
I was contacted by a business owner who wants a customized version of my software for his business. The changes are not very major and will take approximately two weeks. This would be something I would do in addition to my day job.

His company has 22 retail locations. I have just never sold my software before so I don't know how to price it. I was told something like $5000 would be reasonable but I wanted to know what HN thought.

(It is a desktop application)
Apple outlines Lion upgrade path for business and education customers
He is talking about the plans and especially the motivation for the Freedom Box project:

http://freedomboxfoundation.org/
John Cornyn is an unmitigated disaster. It's unfortunate that the TX Democratic party has a tenth of a snowball's chance in hell of ousting him.

This is yet another reason we need term limits. Career politicians and bureaucrats are massive facilitators of regulatory capture.
That's the default, but I'm pretty sure the contract can say AOL gets the copyright.
Geany, a lightweight yet powerful text editor
Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages.
Spotify got its traction in Europe though because of the free service.

Whether or not the paid version good value, the free service is essentially just a free trial now - which is fine, but there's a heck of a lot of competition in the paid area.
How To Transfer Your iPhone or iPod Touch Pictures Over Wi-Fi
These are "or"s, not "and"s.

Also from: http://en.wikipedia.org/wiki/NET_Act

The NET Act amended the definition of "commercial
advantage or private financial gain" to include the
"receipt, or expectation of receipt, of anything of value,
including the receipt of other copyrighted works"

Sounds like a pretty broad definition to me, since "anything of value" could potentially mean goodwill, exposure, campaign donations, etc.

The bill's title "Commercial Felony Streaming Act" is a red herring. The intent (as was in the 1997 act linked above) is to prosecute any and all copyright infringement.
Jedberg was not on the founding team of Reddit. The founding team of reddit was Steve Huffman (spez) and Alexis Ohanian (kn0thing). Jedberg was their first hire after acquisition, though they'd acquired two other team members via merger (Chris Slowe and Aaron Swartz) prior to that.
One of my best friends is profoundly deaf, and (obviously) they really transform her experience. Only 0.2 to 0.4% of the population in the US is "functionally deaf", but I think the principle is important: if it's required on TV, why not on the Internet?

It's easy to forget about accessibility. Another friend can't use iOS devices because he's mobility impaired, and is a little dismayed by the broad move to touch-based devices. But they're cool to develop for, right?
It's not the only way. In the article it says that Netflix already has 30% of streaming content captioned, with plans to expand that to 80% by the end of the year.
I was reminded of Doc from The Power of One. No spoilers- just a strong recommendation that you read this book.
I just called John Cornyn's Washington office at 202-224-2934 and talked to an aide about S. 978 because I live in Texas.

He explained a few details of the bill to me like how it only applies when the economic value of the public video streaming is above $2500. I asked if this would include a blogger who makes more than $2500 from ads on his blog and he said yes. Then I gave an example of a blogger embedding a YouTube video which is copyrighted in a blog post, even if the blogger removes the video after finding out it is copyrighted, to which he just said "OK, I will notify John Cornyn".

I tried my best to express my concern that millions of people including myself could be charged with a felony if this bill gets passed, but I don't think my effort will work. I don't think the people passing this bill, like my Texas senator John Cornyn, can see the dangers in making it illegal to embed videos. Maybe they just don't care because they don't use the internet the same way younger / technology efficient people use it?
LulzSec Carries The Deceptive Duo Torch
Spoken like a true troll...
NetFlix has been trying to implement captions[1], it's actually a lot more challenging then you'd think (with a library as large as NetFlix's).

They've been rolling it out slowly the past few months, but I'll at least give them credit for trying.

I had never noticed the lack of closed captioning on online video until I dated a deaf girl a few years ago, and then you sort of notice how much content exists that is suboptimal when you can't hear.

[1] http://blog.netflix.com/2011/02/30-of-netflix-streaming-cont...
Is your Ipad Secure?  CEO Watch for Hackers
every small step toward recognizing intelligence of others is a great leap for humanity. I think before human species is able to move any further in its development, the first step it must to make is to step out of the "i'm the top of the God's creation" closet.

http://www.npr.org/2011/01/20/132650631/new-language-discove... :

---------------

So he devised a test. He had four (human) volunteers walk through a prairie dog village, and he dressed all the humans exactly the same — except for their shirts. Each volunteer walked through the community four times: once in a blue shirt, once in a yellow, once in green and once in gray.

He found, to his delight, that the calls broke down into groups based on the color of the volunteer's shirt. "I was astounded," says Slobodchikoff. But what astounded him even more, was that further analysis revealed that the calls also clustered based on other characteristics, like the height of the human. "Essentially they were saying, 'Here comes the tall human in the blue,' versus, 'Here comes the short human in the yellow,' " says Slobodchikoff.

Amazingly, it doesn't stop there. Slobodchikoff's next move was to see if prairie dogs could differentiate between abstract shapes. So he and his students built two wooden towers on each side of a prairie dog village. They then made cardboard cutouts of circles, squares and triangles and ran them out along a wire strung between the two towers, so the shapes sort of floated through the village about three feet from the ground. And the prairie dogs, Slobodchikoff found, were able to tell the difference between the triangle and the circle, but, alas, they made no mention of the difference between the square and the circle.

---------------------

I wonder how aliens analyze our intelligence:

- sent round blue flying saucer - a lot of buzz

- sent stick-looking device http://abcnews.go.com/International/ufo-china-closes-airport... - a lot of the same buzz.

Conclusion: probably the humans can't distinguish the abstract shapes.
>320 kb/s

Don't forget, that's 320 kb/s of OGG vorbis, which is frankly excessive. 320 kbit mp3s are already excessive.
Awesome, I'll finally be able to search their library so I can know whether I'm missing anything.
Experts ponder era of big data
Firefox looks to use HTML5 to run PDFs in the web browser