skysight-inc/HackerNews huggingface dataset:
The Custom Elements[1] and Shadow DOM[2] specifications have little to do with each other. The former is useful for defining new elements in HTML, along with properties and methods. The latter can be used to encapsulate the style/dom of that element's internals. So each technology is useful by itself and can be used standalone. When used together, that's when magic happens :)

[1]: http://w3c.github.io/webcomponents/spec/custom/
[2]: http://w3c.github.io/webcomponents/spec/shadow/
Do people actually have interviews where they're required to read in a file? I would figure in this world, especially where most of our information is from a database, this type of code is either abstracted away or written in one or two places.

In the interviews I've been in, none of them required that I load information from a file, usually I only wrote the function that did the real (algorithmic) work. Only one of them required me to write code that compiled; and that was a SQL question.

Even TopCoder doesn't require you to "read a file full of numbers"
I haven't yet.. and probably I should, I am just so used to bash :)
Hi Aloha, thanks for the feedback. We'll try to make this more obvious asap.

To explain, our pricing is "from" $29. That's for the simplest trip. It goes up with complexity because the experts must work harder. This doesn't include the fare, this is the fee for consulting.

As you can imagine, this doesn't make sense for short flights for say $100. But our experts really start to work wonders on trips over $300-500. For multi-continent or business class, the savings often get into the $1000s.

If you click on each product, you'll see tweets from real customers talking about different results.
One of my favorite films when I was younger. I discovered the music composers Phillip Glass and subsequently Steve Reich through the films. Many documentaries and media productions play on the audio visual styles Reggio popularized in the film. It's interesting how often I detect sqatsi-ism in modern film (1). Just a couple days ago while watching "Home" I felt it's presence (2).

Koyaanisqatsi was the first of a trilogy of films:

Koyaanisqatsi: Life Out of Balance
http://en.wikipedia.org/wiki/Koyaanisqatsi
Trailer: http://www.youtube.com/watch?v=PirH8PADDgQ

Powaqqatsi: Life in Transformation
http://en.wikipedia.org/wiki/Powaqqatsi
Trailer: http://www.youtube.com/watch?v=sNVTmWRcUbY

Naqoyqatsi: Life as War
http://en.wikipedia.org/wiki/Naqoyqatsi
Trailer: http://www.youtube.com/watch?v=9PxT3MtTedw

The films creator, Godfrey Reggio has recently created a new work:

Visitors: 2013
http://en.wikipedia.org/wiki/Visitors_(2013_film)
Trailer: http://www.youtube.com/watch?v=M1ZwYJI55Rs

The original cinematographer for Koyaanisqatsi, Ron Fricke, went on to produce similar styles of films:

Samsara: http://en.wikipedia.org/wiki/Samsara_(2011_film)
Baraka: http://en.wikipedia.org/wiki/Baraka_(film)
Chronos: http://en.wikipedia.org/wiki/Chronos_(film)

Phillip Glass: Music Composer:
http://en.wikipedia.org/wiki/Phillip_Glass
Sample of Phillip Glass's music: http://www.youtube.com/watch?v=Wkof3nPK--Y

Steve Reich: Music Composer
http://en.wikipedia.org/wiki/Steve_Reich
Sample of Steve Reich's music: http://www.youtube.com/watch?v=xU23LqQ6LY4

---

(1) Sqatsi-ism: Made up word to describe the type of audio visual style created and popularized in the original film, which can now be seen throughout media.

(2) Home: http://www.youtube.com/watch?v=jqxENMKaeCU. Interesting fact, the narrator of the film sounds almost identical to the woman in Phillip Glass's song "Einstein on the Beach Play 5", which was created back when he did the score for Koyaanisqatsi. Play 5: http://www.youtube.com/watch?v=WmX_GgozpQs.

Note: If you enjoy documentaries TrueFilms a great resources to discover new titles you may not have seen before: http://truefilms.com. In fact, many of the titles listed above are on this list.
in my opinion, the way to "fix" this is to start taxing ALL income and capital gains of over $150,000 at 20% scaling up to 35% for when somebody is making more than a half million dollars per annum.
This would be more trouble than its worth and confuses real wealth with financial wealth. Modern fiat money is essentially a digital currency controlled by the banking system and congress. Its like bitcoin with Congress and the banks authoring the algorithm. It follows that quantity of money is never a problem in a fiat money system, its the algorithm for its creation/allocation that is the problem.

Economics is about maximizing consumption and the goal should be to give all people the opportunity to consume what they need. Real wealth = the goods and services that are produced and consumed in the economy and ultra rich people do not consume very much of it. Yeah, they hoard financial assets -thereby hurting the economy- which tends to reduce circulation of money which leads to reduction of income for everyone else. Yes, this income leak can be solved by taxation and re-distribution. But this is politically painful. Maybe it would be better to give on to Caesar what is Caesear's and let the rich keep their hordes because money sitting in a bank doing nothing is irrelevant. Would be better to focus on distributing wealth to the middle and lower classes on a much larger scale through government spending and reduction of taxes.
Proposals
1) Payroll taxes to be paid by Fed for workers.
2) Income or Job Guarantee program with living wage and full benefits.
3) Massive federal infrastructure spending on a WWII like scale. Triple down on the deficit.
4) Regulate, Regulate , Regulate. Get money out of politics.
5) Online/Mobile voting system mandate.
6) De-financialize the economy: Return banking system to pre 1980's model where banks make loans and hold them. Strict controls on financial leverage. No borrowing using financial assets as collateral.
7) Tax rentier income higher than earned income.
Please do unit tests | Unit testing for the lazy ones
This is a bit jaded, and I mean it light heartedly. But I'd be more inclined to listen to the W3 if they'd shoot down DRM. I no longer believe they have the web's interest at heart. Might as well let Google steamroll, if they're bound to steamroll things themselves.
similar to the concept of ockham's razor.

many people with little familiarity or experience with actual philosophical work seem to believe the razor urges you:

"the simplest explanation is more likely to be correct."

however, the razor actually says:

"do not multiply entities beyond necessity."

the point here--and it's not just for programming or logic--is that you can make your explanation as big/small complex/simple as you want, but if it's more complex than it needs to be to adequately explain what you're talking about, ockham says: cut it down.

if my theory has 1000 elements, your theory has 2, and we predict slightly different results to some experiment, ockham has nothing at all to say to us. ockham's razor is only useful regarding predictively equivalent theories. if ockham were saying "keep your predictions simple stupid," his razor would be trivially bad, and its implications trivially false.

similar to code: if it doesn't work, its elegance is irrelevant. virtues like parsimony, elegance, or even scalability and the like are built on top of actually doing the job in the first place.

edit: p.s. people are attacking the article for its strawmen, or for being too simplistic re: speed vs quality. i don't see how either of those get in the way of the author's fundamental point: don't overengineer, or mistake "objective quality" (???) with what's called for in a project. if i'm buying a $100 laptop, i'm upset that it doesn't have a haswell i7, but i'm not immediately wondering why the laptop's processor is so bad because it doesn't have an i7. ideas need to be kept straight.
You're comparing the price people can afford to the price people are actually paying. For example, practically everyone can afford the median price of a pack of gum, but few car buyers can afford the median price of a Jaguar.

Also worth pointing out: the median-price is the price among all homebuyers. It's not necessarily true that half of a subset of those homebuyers can afford the median. For example, 100% of the highest-income homebuyers can afford the median-priced home, but roughly 0% of the lowest-income homebuyers can afford a median-priced home.
Former Microsoft exec calls new CEO Nadella a "sheep"
How The Hell Did This Kid Create The Largest YouTube Music Network?
And yet auditors, investment bankers, accountants, and consultants still get their fee for this disaster. And that is before we start talking about tall the HP people involved in diligence and the acquisition. Finally, shareholders are last in this arrangement, yet in every CEOs discussion they are always first.
Ha, what a joke. OVH's DDoS protection and prevention mechanisms suck
Steve Jobs offered OS X on Sony
Yeah exactly, that's what I thought. If this is the way Hetzner deals with even such small attacks, some competitor that has enough power could potentially take out a lot of their clients and Hetzner would get the bash.
I don't think you understand logic, the law, or modern society.

Rape is illegal, hence, the legislative branch could not and would not create a "rape agency" to rape people without also making rape legal. Obviously, if they were to do that, the problem is the politicians would make rape legal.

Our duly elected representatives made laws prohibiting drugs, and an agency to enforce those laws. We've had many chances to replace those representatives in the decades since, and have chosen not to replace them with representatives who would remove those laws or water down the enforcement provisions.
What's Next For YouTube As Google Puts Ad Chief Susan Wojcicki In Charge?
A lion doesn't know any better than to eat a gazelle.

You do.
I felt the same about the YC ecosystem, which is why I submitted this.
You should be able to install the same iso into a VMware image. You'll need to expose the networking ports, but the information should be in the boot2docker script.
No, and it wouldn't help much if there was. The biggest benefits come from running the metadata cache locally, or at least on the same local network. The cost/time savings come from preventing external API calls.
What's wrong with putting this kind of information on the site's "About" page, which doesn't require any special browser extension to display?
Funny. When I hear the word "Legion", I think of lots of Roman soldiers with big shields and spears.

"My name is Legion, for we are many."
- A demon, in Mark 5:9

It's clear he (the demon) borrowed the word from the romans. And anonymous is using it the same way. "There are many of us" is not an existential threat. "We are demons" is silly and would make me think they're imaginary.

Your entire point is one of semantics, so don't be so dismissive. You made a claim based off what Anonymous says, picking apart the semantic meaing of "Legion". I'm well within my rights to call bullshit on "existential threat" as nothing more than a rhetorical flourish.
Call for votes on init system resolution
It is especially important to set DOCKER_HOST=tcp:/// before you run "boot2docker init" -- I forgot to do this initially and things failed mysteriously. I had to "boot2docker delete" and re-init to get things running.

Once I got that ironed out, everything is running very smoothly, and I don't have to ssh into the VM to do things. Nicely done.

My wish for 0.9 is a more streamlined installation process, possibly by simply incorporating these steps into a Homebrew formula.
Hulu cannot do this film justice. This film deserves to be watched in the highest quality medium available, no interruptions.
Your pricing/trips page (https://flightfox.com/trips) is really lacking some direction and information. I can easily see new Flightfox users being really confused. I was slightly confused and I've used Flightfox twice before.

I would suggest carrying over the 3 steps graphic/info from the main page to the top of the /trips page. But more importantly, you really need a better breakdown of exactly what those prices are. Even the "Guaranteed" keyword seems out of place and confusing. What exactly is the guarantee? That you'll charge me $149 no matter what?

Your create trips page is also lacking a bit of focus to me. Would be useful to have some more tangible examples of trips and example trip descriptions. I'm sure if you provided a simple example/template, you'd reduce some initial friction on first contact with an expert.
Squadron, you can make a much better case for your product than resorting to such vague and meaningless pablum.

Yes process has overhead, can have bugs, or can be incorrectly or incompletely executed. Yes, it's nice to make it easy and reliable, automation is part of that. No, it's not poison.

An error in engineering is costly, people and dogs can die.

Yes, you're right. But if you want to use death as rhetoric, you really should have something against process beyond an explanation that process can be deficient. Go to a company where user death is an actual risk and tell them that that process is poison and you'll get laughed out of the room.
I have been a customer of Hetzner for several years now. Everything is fine and cheap if you have no problems, but their support is the worst.
I don't see any GPL code in main.js - only MIT, and dual MIT/GPLv2.

What am I overlooking?
Experiment.com Gains Big Venture Backers To Bring Crowdfunding To Science
I've been looking for a new laptop that will build Firefox or FirefoxOS in a reasonable amount of time. Macbook Pros, AFAICT are the only game in town. (Would love to be wrong here)

Perhaps in this alternate universe... Sony, Lenovo and others are producing reasonable high-end laptops.
Show HN: Epipy – Python tools for epidemiology
> MPAA doesn't ship a browser and can't control features by fiat.

DRM extensions (EME) have shipped in Chrome and IE already (with whole W3C process steamrolled), so it seems that MPAA does control browser features — by proxy (Google Play/Xbox video store).
Zuck and Me: My story taking on Facebook 10 years ago
The "{area/field/business} is broken" template is broken (well, I don't know if ever worked). Algorithm development is not broken - it's specialized work and it's largely done by people with specialized backgrounds. Maybe that's not ideal, and maybe you can improve it, but saying "it's broken" is lazy and false.
Wordpress vs Tumblr – Why Tumblr Rule
Note that this is documented in the boot2docker README ;)
Absolutely nothing! Human Headers is intended to be in the same spirit as putting "are you reading this? we're hiring!" in an HTML comment in your source, or the X-Bender header that used to be part of Slashdot responses. It's a fun little thing.
Nope. St. Louis
I was about to post this myself. We don't want anyone to worry about "does this make me legally liable to open source my companies code..." or issues like that.

I'm a fan of open source, but you should stay focused on the issue of helping take down government surveillance, otherwise you won't make a dent in it.
I've had the privilege of working with the Celery guys for a while (client project) and can attest that they offer incredibly responsive support and assistance.

They have bent over backwards to help us get more pre-order sales, install better analytics and even went to bat for us in getting our Paypal limits increased.

Big congrats to them!
Doing "better" or "worse" than nature in human activities is a social more that sounds nice to humans, not a sound consequentialist policy for making animal lives better. Looking at the relative scale, you have to realize that cutting back on things humans do would have a lot less of an impact on a "global species-neutral utilitarian metaethics" than changing the things animals themselves do to one-another.

Here's an analogous situation: residential garbage accounts for about 1% of total garbage. The real way to "reduce, reuse, recycle" is to lobby industry to do those things. But instead, we see constant attempts to get people to put things in blue bins instead of green bins. Why? Because residential recycling is a mechanism for signalling pro-social values, and people can do it conspicuously to prove they're "better than you." So it gets emphasized, and the real problem--industrial waste--gets de-emphasized.
Sounds totally reasonable. +$19 to use miles feels completely fair. I'm back in baby! ;)

(but seriously, thanks for the update. I know pricing is an imperfect science and takes time to optimize. Keep on kicking butt.)
While the CPAN process is quick and easy to publish modules and get code from the web, it still lacks an "uninstall" function. There are a number of ad-hoc tools that (attempt to) uninstall CPAN modules, but the package manager itself has only the install action [0].

Using the system package manager has worked much better for me.

[0]: http://stackoverflow.com/questions/2626449/how-can-i-de-inst...
What if my representative is already a co-sponsor of the USA Freedom Act?

Seems like it would not be very helpful to direct people to call/email her office and demand she support something she already supports.

There's a list here: http://sensenbrenner.house.gov/legislation/usa-freedom-act-c...
The historical processes boil down to:

1) Single Browser Ideates -> Single Browser Ships -> Time Passes -> Other Browsers Ship -> Standard. This caused delay in implementation and vendor prefix hell.

2) W3C Ideates -> W3C Bikesheds -> Browsers Implement. This causes things like AppCache that work on paper, but don't adequately cover developer use cases and address the needs of the platform.

The ideal process (in my opinion)

1) Single Vendor Ideates -> W3C Evaluates/Refines -> Browsers Implement Under Feature Flags -> Standard -> Feature Flags are removed. This process, depending on the size/scope of the change, should take about 6mo to a year. For a permanent irrevocable change to a cross-browser API? That is mature and prudent.

edit: formatting.
One of the big political blogs in New Zealand recently had a similar problem with Linode.

They got DOSed so Linode shut them down, then they found a new provider but had problems moving to them since they couldn't get into the linode server to copy the data.

http://www.whaleoil.co.nz/2014/01/ferals-faults-fixes-co-pil...
(not a flightfox user but my 2 cents)

Booking an award trip can be much harder to do unless you have an easy route like a domestic non-stop. The ITA matrix won't show you those flights, expertflyer.com used to be really useful but right now you can't get access to the United (and most of *A) data, some airlines have vague routing rules that may or may not play in your favor depending on which agent you talk to on the phone (looking at you US Airways), etc.

I think 99$ is steal.
I'm surprised to see this posted on HN.

If you're interested in this genre of film, I happen to have just uploaded a video in a similar style which you can watch here:

https://www.youtube.com/watch?v=MYAVkuBxZ_Q&hd=1

My brother shot the footage while traveling the world, I edited, and music is by 'Jupi/ter' on Soundcloud. The production value may not be as high as Koyaanisqatsi, but it wont' cost you anything but your time.

Currently it's restricted to 30fps by Youtube, but I'm going to try iron out a few technical problems and upload a 60fps torrent version later.
I was referring to photosynthesis, not solar panels.
You are missing the point - startups don't always have the time/money to train someone in a new language. That's why they are looking for Javascript Ninjas who can hit the ground running. Established firms inherently have money to invest in training if they choose to.
Just more noise for the NSA to sift thru and for well-paid legislators to ignore.

Americans: there's something called the Fourth Amendment. What we need is a free straightforward how-to guide to filing suit over this wholesale monitoring[1], such that thousands of individuals can act on for mere court filing fees. Overwhelm the courts with it, creating a proliferation of contradicting verdicts, forcing the Supreme Court to address it on terms of 300,000 individual citizens vs NSA. Rather than pouring vast sums into a single case with a couple carefully selected plaintiffs and hoping for an unlikely perfect outcome, crowdsource it.

Just a recurring thought.

[1] - which the Founding Fathers would certainly enumerated rights against had they been able to conceive of such pervasive intrusion on "papers".
I think crowdsourcing's issue is with the experience. For a customer, crowdsourcing requires more effort than plan google searching for example. You need to submit your issue, come back, edit/comment. Bad experience is much more frequent than good ones. And a neutral experience is closer to a bad experience which might result in the user not going through crowdsourcing again. Good luck with the new direction
Umap is a tool which allows you to test the security of USB host implementations
we'll have to agree to disagree. Search is plain and simple a utility. If the utility is better then people will switch.
Nerds ( also one myself ) tend to suffer from the over-generalization fallacy. Whereby they think that their local experience generalizes to a much larger scope. For instance, If you read most of HN programming articles with the prefix "when writing code for a web startup" they make sense, if drop that prefix they stop making sense. It also helps to keep in mind that advice that holds in the startup world can be quite toxic when applied elsewhere in the industry.
How is the DeepMind purchase in any way a "record sum"? The linked article does not seem to make this claim. I didn't even get to your main point and already I don't trust you.
How about a code which works and is elegant as well? Plan better.
> For example in Erlang the garbage collector can assume that only things with lower addresses point to things with higher adresses. Erlang gets it because it says absolute no to mutation in the sequential functional part of the language. Haskell and Ocaml can't do that, they have escape hatches.

Why does that matter? Does high-performance gabrage collecting depend on the ordering of objects in memory?
Docker on OSX is actually running on a lightweight Linux VM, so it's not really multi-platform support they've added.
Or even bare metal. Personally, I extract the kernel and initrd and use it directly via PXE.
As a candidate, always use python.
Well, I can think of a couple reasons:

What developers want to communicate to one-another is often not the best material for an about page.

Many (if not most) organizations do not feature all of their development staff on their about page.

Organizations that do feature developers on their about page rarely attribute what things they developed in the organization.

Developers don't just create things for organizations with about pages.

Do developers wish that organizations were better about this? Sure!
It's too bad I already booked my flights for NYC-SF (carry-on) on the 15th of this month... I would have tried it. Do you think you would have been able to find better than the $318 roundtrip I got? Or business for the same price?
Have you worked out how much time of species existence, statistically, a single person not eating fish can save? Would you expect it to be more than a fraction of a second?
Inspired by this wonderful essay on the Oakland DAC
https://medium.com/p/b6e6043dad4f
I really like this piece. Something different and more 'humanities' focused than Techcrunch normally does.
Productivity Hack: Coworking with The Doors
Renting space in a coworking office is great; people around you are working hard on cool stuff. It isn't like a library; there is the buzz of great things being done. Great... but we don't all get to work in a cowork office.

So, for the rest of us, there is this gem of an album where you are taken backstage with The Doors, sit in the corner with your laptop and hear them working hard on what is their genius.

I love it, so I thought I'd share.
nl input | sed -e 's/$/*p/' | dc > output
Why Slowing Down is The Next Trend in Photography