skysight-inc/HackerNews huggingface dataset:
A browsing context doesn't start its life empty. Instead, when a browsing context is created, if a JS program looks at what's in there, there's an about:blank doc in there. Since you can create a browsing context synchronously (e.g. document.body.appendChild(document.createElement("iframe"))), there has to be a way for the initial about:blank document to materialize synchronously. The HTML parser is always async. (Edit: The HTML parser is always async when loading a URL. Then there are innerHTML, createContextualFragment and DOMParser, which are synchronous.)

Add various events (readystatechange, DOMContentLoaded, load) to added fun. And the fact that browsing contexts that are top-level from the Web perspective are iframe-like from the XUL perspective and the code for dealing with this duality is a mess.
Websites Android developers must bookmark
This was funny.

Yesterday, cmccabe was snarky about subtle changes in versions of the Python/Ruby std libs. Today, he/she is snarky about a similar language, which really take backwards compatibility seriously. (Google darkpan/backpan for discussions.)

(But ok, he do seem to not have looked at Perl since the turn of the century.)
BlackBerry is officially for sale, but will it find a buyer?
Creating Sliding Menu with iOS SlidingMenu Component
The network and scenegraph stuff that SFML comes with is quite nice--the choice of C++, though, makes other language bindings a bit more clunky.
Larry Ellison: Steve Jobs was 'our Edison'
How to Build a Seven Figure Online Business That Lasts
Are you guys serious? https://en.wikipedia.org/wiki/Maglev#Operational_systems_ser...
Linimo, Shanghai, Daejon, and then all the test tracks, e.g. the transrapid in germany... Maglev is reality now. It simply happened to be built in China, Japan and South Korea rather than in the US.
So don't have a field. Problem solved.
Oh, yes. New website!
For the people that don't know/appreciate the difference, the US taxes its citizens on their earnings globally. You can normally net this out against the taxes you pay locally via double taxation agreements.
This Sir, is a sound advice..
I own a Q10 and I love it. Really, I didn't think that it could be so good, but now I couldn't switch to android back. of course i't just MHO.
Strange. I immediately looked past the goal of the site and fell in love with how it looks instead. Fantastic work there.
I already checked the code and I know from my CS courses that's it's easier to code and unit-test a language lexer/parser in Java than in C++ or C.

Was that the main reason to code it in Java?
No worries, I was just being the worst kind of my grumpy German self. Ignore me. :)
Heh, you're right, I got a little snarky. Sorry :-P

But I got bit by half-assed "GL" ways of doing things before. SDL has everything, in layers, so you can grow into it. Unlike "portable GL" libraries which are discrete, isolate dead-ends.
Or type, apparently...
Visualizing the languages of the world
And it will probably be tapped by the NSA, too.
One other thing - can we set something up so people who renounce their citizenship can give it to someone who wants it? I'm a Brit but I'd love to live and work in the US.
Good thing we still have Elon Musk left, which seems to be both Edison and "Tesla" combined.
This is a chicken-and-egg problem.

Had I known about the existence of toForeignPtr [the link to Internal module doesn't even appear in the locally installed library docs], I would not have had started the reddit thread.

Again, how was I supposed to know about the existence of Internal submodule and toForeignPtr function?
While not impossible, I think assuming people vote without reading is doing a disservice to HN readers. The ratio of hits on a story to upvotes is huge - from purely anecdotal data (mine and others) a 20x ratio is common. Since the ratio is so high, it seems reasonable to assume that most if not all votes came from people who did actually click through. I have no data on the upvote to comment page ratio but I would guess it is even higher.

Of course subject matter, headline, other people's comments make a difference, but I doubt there is a significant blind upvoting of something that hits the front page.

I think it is however a good suggestion - simply an invisible reminder that we put content first. I like it.
I wonder how you'd modify this advice for someone in a wheelchair?

Sidenote: http://www.speakinghacks.com/
Breathtaking! 120 FPS in all demos (because my video driver settings limit FPS to 120). Chrome, gtx680.
So, a sealed tube from A to Z, passing B through Y. No benefit to B through Y at all. So why do B through Y allow the tube to pass through?

When railways happened, B through Y believed they would see economic benefit, and often did. They got a station. Not so here, correct?

There for, wouldn't this need a government to force it through? How would that happen in the USA?

To me this is where the idea runs in to the buffers, as it were.
Was just thinking that. Say the US govt does put regulations on Bitcoin, do those regulations apply to me in as a UK citizen?
The reason why the parser was written in Java in the first place was that it was written for the Validator.nu HTML validator. The validator was written in Java, because Java had the best set of Unicode-correct libraries for the purpose and a common API (SAX) for connecting the libraries.

Even though testing wasn't the original motivation for writing in Java, it's much nicer to unit test the parser as its isolated Java manifestation than as its Gecko-integrated C++ manifestation.
A string type that is not a sequence of characters can be allowed to be more efficient by being lazy. Say you are constructing a string like this (example in Python, but the principle holds no matter what language):

s = ""
for x in range(100):
s += str(x)
print s

If s is a sequence of characters, then for each iteration of the loop s needs to be reallocated to encompass the appended str(x) characters.

If s is an abstract string, then the += operation can be implemented as just adding a reference to the string to eventually be appended. Then when the print operation occurs, the whole string can be materialized in one go so that it can be printed.

Another, and more philosophical argument against string as a sequence of characters is that a string is no more a sequence of characters, than it is a sequence of symbols or a sequence of words or a sequence of sentences.
Post open source software, licensing and Github
Maven isn't standardized. There are still a lot of projects that use Ant + Grail or Gradle. There's also OSGI, which is sort of yet another way to manage dependencies in Java.

Maven doesn't prevent versioning issues from cropping up, either. One common example is where dependency A pulls in library C 1.0, but dependency B pulls in library C 2.0. They often conflict, and then your software fails at runtime (fun fun!) There are a bunch of hadoop bugs where exactly this happened, although I'm too lazy to look up the JIRAs right now.

I feel like if you want a stable version of something, you should use yum, apt-get, or your package manager of choice. I don't think the programming language should try to do the package manager's job. It never seems to end well.

So far, I haven't seen actual harm caused by a lack of library version numbers, and there seems to have been a lot of good done (people using and testing latest versions, green master policy, etc).
"you don't know that they didn't come through an affiliate link a week prior"

Does that mean you have to fully trust the affiliate with how many referrals they claim to have made?
Wow excellent. I didn't read the whole document thanks for being thorough.
Having administered DMT intravenously to myself... an NDE isn't a bad way of putting it, to be honest.
Calling all Indian social entrepreneurs: apply for the Google Impact Challenge
This is sweet. I just wish there was an option to link directly to a particular city.
In my opinion that is highly unlikely.

For one thing, myspace was largely a network of early adopters.
Therefore it was not a surprise these people would look for something new soon.

For another thing, "everyone" is on facebook and thus it is not convenient to leave. Most people don't like change after all. We all know how long people stuck with IE6 (and that was just a browser).

I'd say we have 2+ decades of FB ahead of us.
This is good, but I think a more effective way is to bring up some hypotheticals. You don't even have to make up your own. Just look at history and you will find lots of examples of how secrecy leads to corruption, in-fighting, negative psychological effects, loss of free expressions, fear, oppression, etc.

One neat way to approach this would be to talk about an example that happened in the past and draw parallels with what it going on today. It's difficult for people to understand or see where all this leads, which is why there's so little revolt. Unfortunately, by the time people feel the effects it's too late.
If the expected value (estimated to the best of our abilities) is positive, then someone with a bit of credibility can easily create a corporation and find investors to build it. It's really that simple.

The only other way it might get built is if someone lobbies the state to fund the project, and in that case it's probably not worth it because the market didn't even want to do it. Isn't this what happened with California's new rail project?
A video of the talk is here: http://www.confreaks.com/videos/198-rubyconf2009-worst-ideas...
Snowden defence fund now accepting bitcoin.
It does not matter how you spin it - you reduced customer support to save costs.

That's fine but its annoying pretending otherwise. Maybe offer different support packages, a paid channel where someone actually calls and spends time. Rackspace is an interesting model in this area - you pay for support, through higher costs or literally.

But if its hard shooting, downloading, editing, uploading and linking to video, well, it is hard. Tell folks that.

What ever you do however, don't believe the $4m support call.
The comparison with edison is just ridiculous.
cdveroe: A promo video is tough for such a thing. Something that is fun to watch and isn't a 30 minute screencast of me eating chips and drinking beer. Any suggestions?

No need for attitude, you asked for feedback. That being said:

- You call Barley an editor when in reality its just service, and expensive one at that.
- Barley is marketed for developers, but in essence is a closed system that doesn't allow for modification or developers to add new functionality.

Honestly the product looks pretty good the design and available themes are decent and I understand why the concept behind barley can be useful for some people but I think you are targeting the wrong audience; developers like to tinker; barley doesn't seem to be designed to easily do that.

My advice, remarket it as a blogging platform for designers.
Bristol, UK was destroyed by the Death Star long ago...
Nice FUD attempt there.

I run all my computers on Linux (servers and desktops), I don't worry about them.
Fun! Missing permalinks.
I got the same impression. I believe the true value of these particular affiliate marketing partners are down to this very point. Do they help convert lost sales, or do they claim ownership of sales that would have completed?

The article does not explain this. What evidence suggests that those customers would have completed anyway, and has this only displaced revenue rather than increased it.
Came here to say that. I hope that Elon Musk maintains a more 'Tesla' like approach than an Edison one.
I think that this article does discredit how much smartphones have accomplished. Now anybody with a modern smartphone has a decent camera. Anybody has access to full Google search results in their pocket. It's possible that soon your smartphone will be your laptop (see Ubuntu Edge, and augmented reality setups that are being developed). Smartphones may one day be able to form their own meshnet using bluetooth.

Not to say that we shouldn't move forward with hyperloop, or at least build a proof-of-concept somewhere. At the proposed price for hyperloop, you could replace all existing Amtrak transportation in America with a hyperloop and still pay about the same amount for a ticket.

To me, that's worth investing in.
Why are the anti-Mursi-protests in Egypt are called "Green Laser Revolution"?
I honestly would not touch php. (not flame bait)

Yes, host your own, it does not matter what, but make it your own. Write your own CMS, at least that way you see why its worth not doing it again. You will end up teaching yourself basic SEO, sensible deployment and backup processes.

Its well worth the effort.
> No benefit to B through Y at all. So why do B through Y allow the tube to pass through?

Easy. You pay them.
Typical Mozilla nonsense
The interesting part would be what exchange rate you would use. The IRS publishes rates for major currencies, but Bitcoin is so volatile that a single yearly exchange rate could dramatically shift things one way or another.
This is absolutely untrue. The IRS treats citizens and green card holders ("resident aliens") exactly alike for tax purposes. Every single piece of relevant IRS documentation refers to "U.S. citizens and resident aliens abroad" - see, for example: http://www.irs.gov/Individuals/International-Taxpayers/U.S.-...
What the fuck is up with the desktop wait by the way?
The somewhat reasonable mechanisms Bluetooth uses to control what to pair with already mitigate much of the problem.
"I refused to talk until they told me what they could do to help"

That's not exactly the best way to ask for help. You are asking them, not the other way around.

"who appealed to my patriotic duty"

She appealed to you?? Shouldn't it be the other way around?

I suspect your experience is not shared by most people, and has more to do with you than with the US embassy.
How are we to know what happens after death?

If electrical energy is what constitutes brain activity, then what happens to that energy when death occurs?

http://en.wikipedia.org/wiki/First_law_of_thermodynamics

What is the transformation that takes place, if any?

Is there more to existence than we are capable of understanding?
Interesting bit of context from his blog post that introduces this document:

"Even better... while I was documenting TF for posterity, I spotted a possible improvement. So, I've tossed in documentation of a brand new technique as well!"

and

"I literally discovered the second stage while writing the demo page about the 'regular' TF we used in Opus. Working two-stage TF is about six days old."

http://xiphmont.livejournal.com/60856.html
New Targets For Hackers? Your Car And Your House
What will be the affects with one parser??..any performance improvements??
That's apparently the idea. But there is a reason it's being called the "Train to Nowhere". It will be yet another huge boondoggle that nobody uses and has to be subsidized for its entire lifetime.
No number is better than a fake number.
Even though having a phone number on your website makes it
a little more credible but if its non-existing then its useless.
HA! :D

http://shining.wikia.com/wiki/Jogurt
Developer
development with kinnect open-source
computer vision etc...
Health graph: how a Chilean patient can help an American with the same condition
I agree, the same when people use jQuery without have a basic understanding of Javascript.

By the way comments like that make me cry: "I see tools like Macaw actually being the death of front end development". This guy clearly isn't a web designer and doesn't understand the basic principles of front-end, web browser and the web itself.
I'm not saying that it is - but research for its own sake is worthwhile, even if you don't know beforehand how earthshaking the results will be.

Sure, sometimes you swing and you miss, but if that makes you too scared to swing at all then you're never going to hit anything.
> Apple have already mentioned that the new Mac Pro will ship with Thunderbolt 2. Intel have stated that the Falcon Ridge controllers that drive Thunderbolt 2 will be part of Haswell.

However, Thunderbolt 2 controllers will presumably be available as a separate part, too; Thunderbolt 1 controllers were, and that's what the first Thunderbolt Macs used.

It seems unlikely that the Mac Pro will use a Haswell Xeon, as that would delay its release until at _least_ early next year; the Xeon is typically an architecture behind the consumer stuff.
I suppose it should have gone like this:

* You need to unmarshal hardware floats

* You visit Hackage, and use the IEEE754 package. http://hackage.haskell.org/package/data-binary-ieee754

If that is fast enough, you stop. You are done.

* IEEE754 is too slow for some reason, so you decide to do your own unsafeCoerce of bytestring

* You look at the source for IEE754 and decide to marshal memory yourself: http://hackage.haskell.org/packages/archive/data-binary-ieee...

* You read the bytestring package docs: http://hackage.haskell.org/packages/archive/bytestring/0.9.1... and pay attention to the "unsafe" functions that cast raw pointers.

* That lets you re-implement the IEEE754 package your own way

The mistake here was not using the highly-optimized existing library - http://hackage.haskell.org/packages/archive/data-binary-ieee... - which already does the correct thing. You jumped straight to "have to roll my own low level binary parsing" and then started a reddit thread instead. None of that was necessary.
The reason we have to run long, heavy trains is it's unsafe to run two passenger capsules at 300kph a minute apart. I find it hard to believe regulations will permit that even when they're in a tube.
It all depends what there is to look at. If you are traveling through the forest area, among the trees, the scenery would fly past in a blurred picture if you look out your window. However, if you are traveling over a vast land with Mt.Fuji in the distance, that would be something to look at.

I traveled in the ICE in Germany, also about similar speeds at the shinkansen, and some of the views are breath taking, and some views gave me a migraine.
Infrared keyboards already exist, they're generally unsatisfying and tempermental.
Can NSA Crack VPN? - VPN Verge
You might be able to replace some of the long-distance Amtrak lines with such a system, but over half of Amtrak's ridership is on the Northeast Corridor between Boston and Washington. Those trains make stops at all the major cities (and some minor ones) along the way. This is why the "Acela Express" is high speed in theory only. In order to keep the same ridership, any new train would have to do the same thing.
123Reg Appalling security at the UK's largest domain provider
A _current_ Mac Pro, today? You'd be significantly cheaper to build your own, as the Xeons it uses are now two generations out of date (there was never a Sandy Bridge Mac Pro; the current one is Nehalem/Westmere). However, when it came out, it was a different story; unless you went for the lowest end model (which pretty much nobody did, because why bother), a very substantial part of what you were paying was for Xeons.
They are. I know more than a few ex-US cits who're now exiled in Uruguay (they're pretty uncooperative, which is great for a tax haven), and all of them have a net worth well in excess of $1bn.

So it's not the 0.1%, it's the 0.00001%, and they've all been jumping the country for the last few years. Uruguay now has several valleys full of "ranches" (shacks), which said exiles own and visit once in a while in order to retain their domiciled status.
Even though it's not popular to say so, I really like Perl.

It's a shame it got a reputation as being uncool as it's a very capable language and nice eco system.

I also think the criticism about unreadability is way overblow, it's what you make of it really.
North Korea unveils 'native' Android smartphone
It does. I know plenty of Americans or ex-Americans around the globe who tell folks they're Canadian.

I'm afraid to say your government is making you intensely unpopular, pretty much everywhere.
Windows 8.1: First Notes from Build 9471 | WinSuperSite
When to Drop iOS 6 Support
Because people occasionally get worried about this: here is the actual FBAR form: http://www.irs.gov/pub/irs-pdf/f90221.pdf

Mine took five minutes to fill out. Four minutes to find the postal address for my bank branch, one to flip through my bank statements to find the peak balance and covert it to USD.

It may get slightly more complicated if you control an account in the Cayman Islands with $30 million which you might have forgotten to file on your taxes for the last 30 years.
I doubt it would be a huge issue for Valve; they already use LGPL code. However, it's often a big deal for small developers; simpler licenses mean simpler due diligence on investment and such, and a lot of companies are cautious of LGPL in anything that they'll be distributing.
No, they'll flag it.
I can't speak for the experiences of the woman I met, but she was a British lawyer, and she showed me her passports - the US one was replete with stamps, the other two empty. At least that one person was giving a vote of confidence to the US over the UK and the Netherlands. I met her in Vietnam, and she had a fair few third-world countries in her passport, so it's not like she was travelling only in safe areas, either.
That's the kind of answers I was looking for. Does the nature of Excel VBA limits the possibilities of making it simple ?

The fact of it being all about the environment means to me that there is room for what I called 'concept-comprehension at the syntactic level'. I mean, I can see myself manipulating Ranges and Arrays in a lot more intuitive way, and that's, in my short experience, the main use of macros.

Come on, Excel is a spreadsheet software, it's basically meant to be use for numeric arrays manipulation and it does not offers any syntactic sugar around array manipulation.
While the FSF discourages use of the Android marketplace, they do say there's no specific GPL conflict. Compliance is potentially a bit more of a pain for the developer, of course; strictly speaking they have to make sure the LGPL-covered code is available for download for three years after distribution ends. They also strictly speaking have to provide a mechanism to re-assemble the app; example here: http://sparrowmailapp.com/lgpl.php (though note that a lot of people just don't bother).
Renouncing citizenship is not tax dodging. It's renouncing citizenship. Believe it or not, plenty of folks who have renounced their US citizenship have done so not only for tax reasons, but also because they have the freedom to choose to not associate themselves with a nation that is doing so much wrong in what was their name.
3-D Printing in Zero Gravity
What are their requirements? I remember hearing about Wozniak but I never checked. I should do that soon.
Assuming that an uptick will increase exponentially isn't intellectually lazy or dishonest and misleading?
I suspect some people automatically upvote anything pertaining to Go, which is probably a stronger force than those flagging the post (especially at 3 AM ET)
Ask HN : commission rate for business intermediaries selling SAAS
Hi, i'm slowly deploying my b2b SAAS, and am waiting for my first customer. One business intermediary found a potential customer, but he is asking for a 50% commission on the sale. I find that extremely excessive and don't want to start the business relationship with that salesperson on that basis.
How much do you think I should ask (please, answer only if you'v had a similar experience) ?

The contract would bring about 500$ a month total for a start, and may end up reaching twice that amount in the future (not much more).