skysight-inc/HackerNews huggingface dataset:
Hi encoderer, we were saying the same thing before testing this format.

However, unlike travel agents, our guys are genuine flight experts. If you travel wide, fly a lot, or use miles, you'll understand why this matters.

Behind the scenes, it's all about commissions. Agents work on commissions and most flights don't pay commissions. So it makes little sense for agents to spend hours on your flights.

This manifests in the wide skill gap between (most) agents and our experts. Most agents won't save you a cent, they'll just be there for good service. But our guys get insane deals you won't find anywhere else. Often they involve shorter flights with fewer stops too.
So much work done solving hard problems, that ends up in academic journals and never seen again

Is this really the case? When I have to solve a particularly unusual or tricky problem, I often have a look at relevant academic papers and go from there – either finding existing solutions, or basing one on the contents of the paper. I kind of assumed most developers did the same.
I hope Angular never become the "futur" of front-end. I pride myself making reusable, simple, opmised, clean code for entreprisey apps. Some frameworks fit well in this mentality.

Angular does not. It's an awkward black box.

I can open the source code of backbone & understand everything it's doing. Using a simpler stack makes the code more timeless, any competent js dev is able to continue my work. Pretty sure you can't say the same with your angular app.
Pardon my asking, but is this really a new language? The website looks like it was designed in 1998, complete with scrolling marquee, Flash banner, and visitor count ticker.

If this is really new, may I suggest removing the Flash animation that is simply a scrolling marquee announcing a new version? I haven't looked at this language much, and the amateur website doesn't inspire me to look any further.
both Udacity and Coursera have courses on crypto
The next generation shopping cart is the house that crowdfunding built
That's interesting about the tension — I didn't really think about it that way, and the new system does indeed sound much better for all parties involved.
I wonder how well their marketplace is doing? The selection seems poor and almost random, like a flea market. I never think to check Newegg for things other than computer parts and I almost always end up ordering on amazon because I have Prime. I guess this may change that.
I was specifically referring to markup. Sorry if you misunderstood me.
Thank you! It means a lot to us to hear that.
Modifying the reward structure changes the economics of the currency. They are following the incentive structure outlined by the currency's creators. I'm not sure this would be considered cheating...
Learning to Think Outside the Box: Creativity Becomes an Academic Discipline
I agree, but there are probably some basics that we can all agree on that makes code inelegant.

I have been rewiting some of my own code recently.It was a quick temporary solution that grew and grew. I used OOP to avoid cutting and pasting, but I realise that one central method didn't have any concrete set of input or output paramaters, it changed depending on what was calling it - very nasty. It was essentially doing three things, rather than one. (It worked, as the guy in the article descrbes)

I think seperation of concerns, making one function do one thing etc, is a start in making elegant code. Or at least not fugly like it was before.
They've done a good job providing a clear explanation of what happened, how they're mitigating it, and apologising.

I'm also pleased that they have proper audits. Very well-handled.
Originally posted at: http://www.quora.com/Apple-company/How-does-Apple-keep-secre...

Kim replies in the comments there, too. Intriguingly, the post is marked as "Not for Reproduction," whatever that means.
Why should Google's product roadmap be subject to a consensus of their competitors?
Is that to say that you.. wait, what are you doing?
* a fire of unknown origin that destroyed an archive of corporate and banking industry documents *

That's not suspicious at all, is it? Let's see, nobody, especially not the banks or their holders, lose money, but records about where the money came from, who allowed it in and out, those records are all gone.
Baraka and Samsara beat this movie hands down. I know this is sacrilegious, but that Philip Glass soundtrack is awful.
Well 3 day shipping for $50 or 2 day shipping across many sites for $79 with shoprunner. Also shoprunner is a free benefit with an Amex card and they occasionally have a deal of spend $x on y site and get a one year membership.
I have years of experience with WPF & Silverlight and agree that it has high learning curve, but once you know it there really isn't much of anything you can't to simpler, faster, and more elegantly than in HTML5, if you have a back end you need to interact with.
Thanks very much! We'd like to encourage people to think about 'indie science' in the same way as independent film, music, and art when those first started. Our researchers are both tenured professors in academia as well as citizen scientists!

Thanks for pointing out the typo, should be fixed!
Show HN: Codewars
Thanks for pointing this out, we're looking into it right now!
Setting people up to make fools of themselves

In a conspiracy, for an ulterior motive, on a large scale, you wanna argue that in front of a jury?
Isn't that exactly the problem this is trying to solve by educating the users of various websites?
The creative director of Apple's ad agency tells a story that illustrates Jobs's Sony obsession well [1].

In 1998, when Steve Jobs was back as interim CEO at Apple and had a cool new consumer computer nearing completion, he wanted to call it "MacMan", along the lines of Walkman. It was changed to "iMac" at the last minute.

We nearly ended up with PhoneMan 5s running ManOS 7...!

[1] http://www.fastcodesign.com/1669924/steve-jobs-almost-named-...
Cashtie API Enables Cash Payments for Digital Goods
What about

* Libraries for reading arbitrary size integers

* and for computing with arbitrary size integers

* Efficiently handling files larger than RAM

* Error handling when the file is not as promised?

Should an interviewee just have all those APIs memorized in advance? Even in this age when reading an unformatted text file is so far from common?
can someone explain what this is ? and what's the purpose ?
In some ways, the minimum wage is an anti-union measure.

Because in the alternate universe where there is no minimum wage, the people who work at McDonalds do not get paid $5 an hour. They belong to a union.
Battery is great. I've actually been running this for about a year now. But I'm a hacker. Getting 13.04 to run when it was only Jan 2013 was a challenge. Also, installing Mavericks OSX on the dual boot partition fucked my ubuntu boot loader, so now I resort to booting with alt-option held down. Also, I had to rebuild gnome or something. I can't remember. It took me almost a day. Also, I don't have sound in Ubuntu, but that is a 13.04 problem since the HDMI output is on the same something something as the normal audio out.

Like I said, not for the beginner. Then again, what else am I supposed to use? Mac has by far the best hardware and OSX is a giant piece of crap for power users.

I would try mint linux, but I'm too afraid of being stuck without support.

I've thought of making a small side company that only sells rMBPs with dual boot ubuntu at a 200 dollar markup. I'd pay that, but maybe I'm not your normal computer user.
I have no idea how this would work, but I disagree with your statement. There are probably lots of people solving similar problems, but with different notations.

Lots of domains share the same mathematical abstractions, but we don't know because (almost) nobody is trying to discover them. We can know that it's common, because once in a while people do look, and always come back with new shared abstractions.

If somebody created an index that took different notations into account, that'd revolutionize research. But I don't think this system does that.
Hence the quotes. What I find interesting is that there's a class of developers for whom their quest for elegance results in the exact opposite of elegance. You can spot these developers by a complex class hierarchy that does absolutely nothing, a complex configuration management system that allows you configure everything at runtime except the settings you want to change, which requires recompile and over-engineered replication of the underlying platform or a library and an occasional commit or two that rewrites perfectly good working code to adhere to their idea of what's good, while introducing bugs and incompatibility.

This kind of behavior seems malicious but I think it's more often the result of wishful thinking. A lot of these come as a result of imitating good design without understanding the context that makes those choices good or even necessary.
Thank you! I thought I was the only one who felt this way. I truly do not understand why Google feels that application composition should happen at the presentation layer rather than the code layer, particularly when the presentation layer is as weakly typed as HTML. This was tried and failed in the very first round of server-side web frameworks back in the mid-late 90s. More recently, the complexity of Angular's transclusion logic should have clued them in that this is an unwieldy idea.

I agree that some kind of style scoping construct would be a good addition, and far simpler than ShadowDOM. Simple namespacing would be a good start. It would be a more elegant solution to the kludgy class prefixing that has become common (".my-component-foo", ".my-component-bar", etc.)
Android Code Quality: Structure
Good question! There are a few benefits to doing it this way.

1. Backwards compatibility, as you mention. We do plan on re-evaluating and seeing what client changes would allow us to do this more efficiently, but there's a big time lag on rolling out a new npm and people actually adopting it. It's safe to say that someone out there will still be using the current release in 2 years or so, so if we can keep it working, then that's a friendly thing to do.

2. If the Skim Worker daemon falls over, the attachments are still going somewhere, and we can always have it catch up later. Apart from disasters, it also means we can treat this daemon a bit roughly. If we change a config or spin up a new one, or otherwise mess with it, no biggie.

3. In the race where you publish, and then someone fetches it right away, before the Skim Worker gets to it, the Fastly configs can detect the 404 and pull it out of the DB directly.

4. If Manta ever goes down, the skimworker will start failing (and pinging nagios, of course) and if need be, we can have the binary GETs go first to FullfatDB and subsequently to SkimDB. That Fastly config change takes about 30s to roll out, so we can mitigate downtime very quickly.

Eventually, we'll probably restructure the PUT endpoints so that it's a bit more clever, but still maintain backwards compatibility in our public API surface.
I used the new 'consultant' model last week and loved it. I really liked that the consultant could help me get what I wanted, not what I asked for ("I'm cold, put me in South America." "Buenos Aires is expensive. How do you feel about La Paz or Lima?").

I hope they standardize on it. The rest of the site seems to reflect the old models. For just one consultant, why do I need 27 different pricing options for 'kinds of flights'? I don't know what I want. Just charge me one price and be done with it. And the ratings system needs a field akin to 'money saved vs kayak' in addition to the 1-10 scale, because I'm no longer sure I got the lowest price as opposed to a consultation.

But I loved it all the same and will be back. Flightfox is doing a great job.
I run a social network that does 30m pageview per month. I had a similar problem with a Large host provider which for the sake of good taste I wont mention. When I got attacked the provider gave me a warning and shut things down for a bit but the attacks kept coming and coming eventually I moved ( im not advertising) to Rack911 got attacked again but the guys there proactively helped me deal with the attacks until the attackers backed off.
So, letting arbitrary javascript from an untrusted source run on our production website?

No thanks.
> A kid's upbringing and environment at home also play very large factors.

I think you vastly overestimate the importance of those things. Decades of twin studies show the impact of shared environment on life outcome to be pretty small. See Judith Rich Harris' work for more info.
Are mobile games a form of art?
> We have to privatize the oceans fisheries. It is imperative. It has to happen now. It has to happen yesterday. Fish stocks are collapsing. Fish stocks have collapsed.

How does that help non-crop fish? They don't have direct economic value to the private fishing company.

What happens when the private fishery comes to the conclusion that it is a lost cause, so their best interest is to fish as fast as possible?
We are algorithm developers ourselves and our goal is just to make these awesome algorithms that are being developed more widely available.

We are not trying to monopolize basic algorithms. In fact in a free market I don't see how that could happen, since anyone else could come along and implement the same basic CS algorithms and offer a lower price.

The thing that makes us different from say Wikipedia or Github is that we don't provide just source code, but live infrastructure delivering the algorithms as a service. So rather than uploading code to github, and putting the burden on a user cloning the algorithm, setting up virtual servers, deployment systems, load balancers, etc. We handle all that. That way algorithm developers are free to focus on algorithm code, and the infrastructure is taken care of. This infrastructure needs to be paid for however, so our general plan is to charge for using algorithms through the API. It will be up to the developers whether to share source code or not, since they own the IP.
Some better details from the ISC: https://isc.sans.edu/forums/diary/To+Merrillville+or+Sochi+H...
The little schemer
Apparently, a used 2nd edition can cost $999.11?

http://www.amazon.com/s/ref=ntt_athr_dp_sr_1?ie=UTF8&field-a...
At first, I liked this idea. It's an ego boost. But then I realized this extra HTTP header information is going out with every request, and really only serves to increase bandwidth. Yes, I know, what's 72 more bytes per request? Still. With humans.txt, the request is on demand.
I would've went with Haskell myself ;)

main :: IO ()
main = writeListAsLines . toDoubleList . lines =<< readFile "nums.txt"
where
toDoubleList y = zipWith (*) (map read y) [1..length y]
writeListAsLines z = writeFile "output.txt" (concat $ intersperse "\n" $ map show z)
How to use large images like a pro 
We went out and scoured the web to find enough fine examples to build a showcase of websites that successfully use images as their backgrounds to help get your inspiration fuelled and firing on all cylinders. Scroll on down through the collection and see how this stylish and often daring design choice can pay off when effectively crafted.
The streaming is a huge benefit of Amazon and Prime is worth it for that alone. $6-7 * 12 months
Care to elaborate? As a customer I'm curious.
EFF Challenges New Jersey Subpoena Issued to MIT Student Bitcoin Developers
I agree on the marketplace. I usually order my parts from Newegg, though, because I have a preferred account and Amazon pricing for computer parts is sometimes very strange and volatile. I saw a set of memory sticks I was looking at go from $136 to $235 to $147 in the span of a week.
They better not kill shoprunner or I'll go elsewhere.
You (2) is not correct. Most W3C specs are edited if not outright proposed by browser implementor teams. And of course nobody anywhere ever prevented browsers from shipping stuff under feature flags (most of ES6 was in Firefox since the days of FF3/FF4, with slightly different semantics, and with an opt-in behind a version flag for instance). Hixie (HTML5 editor, CSS Selectors Level 3 editor) works at Google since 2005 and worked at Opera before, Shadow DOM's editor is Google's Dimitri Glazkov
All elegant code is working code.

Not all working code will be working in 5 years.
WebGL + Fractals = Fun and Pretty
Every Apple reference ever made in Futurama and The Simpsons
Are you sure it isn't caused by the mid-2010 macbook video card bug? I had it re-exposed when i upgraded past 10.6 and that laptop now reboots 8 times a day. Mostly from mac mail or when the power drops and it shifts video cards.
You do realize that django is MVC, but that templates are not the C right? Their naming convention is kinda terrible, but the M is the models (obviously), the V is the templates (the "views") and the C is the views.py file (this is the poorly named part). If you compare to other MVC systems, those are the appropriate parts of django.
Funny he mentions LDA. A company I founded and sold (Algo Anywhere, which started off as a Generalized Algorithms as a Service company) was a recommendation engine as a service business built on top of LDA. The papers out there are dense, but LDA is actually pretty easy to get information on. Check out Gensim in pythonland.

The thing with algorithms is that you really have to think. 200 lines of code might take two months to really grok. Especially because the people in the field make certain assumptions when they start, and sometimes even just one of those assumptions takes two weeks to understand and research.

You can't just jump into PhD level research and expect to understand it right away.

I don't know if algorithmia will help solve this problem, but I wish them all the best of luck. Getting actual code next to research is super important and useful.
Definitely. I disregard most 'engineering' advice I read in HN threads for exactly this reason. Most of it falls into the "I don't believe it's an issue in my 1.5k LOC app, so it must not be real!"
The gentleman was not a Nobel laureate at the time of course. He came here for his graduate degree and stayed.

But you're right, unless you happen to be born gifted or are exceptionally driven (to the point where you'd migrate illegally for instance), you're stuck.
Just to be clear, Googlers (myself included) have been constantly participating in the standards process both pre-and-post fork. There's nothing "brand new day" here; conscientious standards engagement is just how we roll here on the Blink team.

Regarding charges of this being "rushed", note that it has been clear for 3+ years (since we started talking about these features publicly and engaging in the standards process for them) that we needed a way to style shadow DOM that enabled author and component-author styles to co-exist and be selectively populated into the eventual tree. This isn't new, nor has it been "rushed". Many iterations of the design have lead to this point.

How many more years of bottle-aging & iteration do you suggest? On what basis?
Aye, this does look like the right way to handle this functionality. I'm not planning on doing a PR so have at it.
Fghcxc
The legal situation isn't particularly relevant so much as whether or not people will decide to cross the street before the light tells them to, and whether that has a higher probability of accident.
UK Cop Caught Framing Citizen Journalist On Camera
Microsoft apologists asked the same thing in the late 90s and early 00s. That did not end well for anybody. So here are your answers: 1. because it's a douche move, and 2. because it's bad for the platform and bad for just about everybody.

Other than the one who ends up with a monopolistic lock-in over the whole system for half a decade, maybe.
Best. Fucking. Movie. Ever.
No monopoly will ever meet your first criteria over a long period of time. Absent competition and a plethora of competing engineering platforms, there's simply no pressure to make things well designed, and no competitive selection to help distinguish what even is well designed.

The idea that we can have the good parts of a monoculture but "do it right this time" and avoid the horrific downsides is a fantasy.
26-Year-Old Jared Hecht Sold His First Startup For ~ $80 Million In 370 Days
Riding a bicycle is very energy efficient, but it still has externalities. Which was part of my point, everything does, even the most efficient choices.

I presumed my parent was not primarily concerned with sustainability due to bits like dead orangutans and I like beef, but I sympathize for a fellow mammal. Sympathy and orangutans are not really part of the sustainability picture, which is a separate and large issue I don't intend to dive into right now.

Eating meat can be sustainable. I'm pretty confident if we all ate crickets, there would be practically no sustainability concerns, and we can't all eat quinoa as our protein source anyway. Chile is not able to grow enough quinoa to feed the world (quinoa is a picky plant)

The 100 / 110 is purely invented as a thought experiment, but I consider it to be representative. Your daily BMR is ~2000 Calories. Engaging in activity, sports, games, or mental exercises do increase your caloric consumption for the day, but your body adjusts quickly and your additional caloric consumption for the activity falls quickly into the hundreds of calories for all but the most strenuous activities. Plus, the more strenuous (calorie-expensive) the activity, the more likely you are to take rest days, which lowers your average daily caloric consumption.
But it hasn't done so or has completely failed to do so. Most people I've discussed this with have generally supported privacy, some have even changed usage habits to do so.

I believe there have been wide studies even on this that have largely shown that people world wide are against such practices.
“Welcome to Magrathea, where we construct planets made to order.” (Source: The Hitchhiker’s Guide to the Galaxy)
> We've been working on Shadow DOM in the open for 2 years

There are references in the thread to a f2f that happened a week ago, but this implementation has been evolving for a Long time now. The most vocal respondents only seem to be concerned about the phrasing, and haven't indicated publicly that they have anything technically substantive to add to the discussion anyway.
You people really need to work on your fallacies. Quoting from the Wikipedia definition of Ad hominem:

"[I]n which a claim or argument is rejected on the basis of some irrelevant fact about the author [...]"

Leon is a really nice, super funny guy, but the fact that no one can maintain the code he writes is highly relevant to the subject of the article. In summary, http://lwtc247.files.wordpress.com/2010/06/get-a-brain-moran...
Use selenium to extract text from a site which loads content using JS
If I may chime in on this:

> IE is catching up but limping.
IE caught up already, and I don't see any evidence that it's limping.

I actually kind of agree, and I'm surprising myself in saying that. Just from a consumers perspective, I found at least one place where IE offers something that I directly wanted to do that couldn't be done on any other browser.

I wanted to watch a HD Netflix on my laptop, but the Silverlight client had no hardware acceleration so it played terribly. Turns out, there is a hardware accelerated HTML5 version of Netflix that's only usable using IE since only IE has the necessary DRM.

I was quite surprised. Ignoring the potential ethical quagmire here, I thought it was interesting that there was something where IE gave me a better experience.