skysight-inc/HackerNews huggingface dataset:
I wouldn't claim conclusively that the second version is better, but I see Gabriel's point. Yes, the first version is elegant, and it is easier to spot the predicate—but I also can't tell you exactly how the predicate is used, because I don't know the definition of MISMATCH.

For example, should a positive result from BAZ mean that the items are the same? There's no way to tell. You could argue that this is because of poor keyword argument naming, but that's part of the point: in the second version, there's no need for such considerations, because the use is explicit.

(Consider yourself lucky that the function uses keyword arguments to begin with!)

Nor do I agree that the first example is obviously bug-free. How would I know? The definition of the actual logic is in some other file. Yes, that's true for the library functions used in the second example, but those are standardized.

Other examples of ambiguities: Are START1 etc counted from the end of the list or from the beginning? What happens if there are several mismatches? What's the time complexity? Etc. Of course these would be part of the documentation, in an ideal world.

I should point out that Gabriel isn't arguing that patterns should not be abstracted (or "compressed"), only that there are tradeoffs.
Your statement is easy to prove wrong: it's enough to find any human that looking at the announcement can't tell that it's false. And I bet I can find such human. It scares me, how many of them I can find.
> 1. Windows playing well with other OS on my laptop. I updated my Windows 8 to Windows 8.1 and I could no longer boot into Linux

It does, as long as you use UEFI boot, since this was specifically designed to allow clean booting from multiple OSes without creating conflicts.

If you're using legacy MBR/BIOS boot, supporting multibooting involves so many unreliable hacks, you can't realistically expect it to be supported by anyone.
I completely grok this discussion. Let me add a different perspective.

I work in a remote office with a very small number of keep-to-themselves colleagues. It's very common to arrive, spend 9 hours working, and leave for home w/o any dialogue other than a polite "how's it going?". In other words the place is dead.

The sales force is scattered around the world & doesn't need a lot of hand-holding. Our marketplace is a relative backwater, so there's not a lot "churn" to keep things interesting. (I'm a product guy. Interaction is like breathing.)

The bottom line is that I find myself with a lot spare time to explore & learn. My first choices are HN & Feedly, but I do enjoy finding colleagues from prior jobs - and the occasional high school / college friend - on LI. It definitely serves a remote-networking purpose for me.
I know US is the center of the world and all but if Aprils fools is culturally a western only thing, I would think it puts traders on other ends of the world at a disadvantage. "We" know it was a joke but those from other cultures trading in our markets would have to take that extra beat to think "is this a joke or not". Instant disadvantage.
I don't really understand why people don't bother building their own containers. The process is trivial, and very scriptable. Somebody built a container you want to use? Grab the Dockerfile and DIY. You might even learn something in the process..
i don't know about others, but i personally love the building phase of any project - you research, tinker, and really focus on the problem as a whole, but after that i get bored very quickly. Maintenance/bug fixing, adding features, upgrading, and even expanding to new domains always feels like a grind, i may get a similar high when new things 'work' but no where near the same potency. I'm still early in my career phase (late 20s), but i've already taken large pay cuts (several times!) just to build again.

I'm sure Facebook has a lot to offer in terms of scale, but Uber probably has a lot to build. If Mr. Sullivan is anything like i am, it was an easy choice (not necessarily about the money).
You can actually do a lot of that stuff with JavaScript, it turns out.
I don't get it. Knock knock...
Given the benign nature of the self-signed certs, we should restart the holy war that docker shouldn't contain supervisor. An excellent use of everyone's time
School seems mostly geared towards the average life experience. The average person will end up in a job where they take direction from another person. They will work on things that don't make sense or they don't love or have passion for.

I'm not making a value judgment on that and say it is good or bad, but learning how to power through some crap work you dont like because someone told you to is a good life skill. Should we design our whole education system around learning that one life skill? No, probably not. But that skill isn't worthless.
BriefMe - We are the first-ever news ranking system, making it easier for people to stay informed. We recently launched an iOS app on the App Store which was featured by Apple in their best new apps, and we are currently working on expanding to other platforms.

We're a Boston startup looking for a couple interns to join us here over the summer.

INTERN - Software Engineer

INTERN - Data Analyst

More info can be found at http://www.getbriefme.com/jobs
Yea, I was playing fast a loose. Though, for positive infinity you need 0 < f(x) < (x) not just |f(x)| < x. EX: f(x) = -0.5 * x
We have stored many terabytes of unaggregated transaction records in Vertica and analyzed large subsets fully ad-hoc, on-the-fly in less than 5s. We have also used BigQuery to directly power dashboards with few-second response times, also analyzing billions of records at a time.

On the other hand, we both build and use summary tables with Spark. (in a relational format to boot, and using Spark SQL).

I think you would benefit from re-evaluating the assumptions you made 4-5 years ago.
To clarify: the 400-600 Euro is per month, not per semester. Bavaria is one of the more expensive ('cause rich) states. If you are willing to live in the East (hey, Berlin!), you can get by on less.
Ask HN: Internships for a 13-year-old?
I’m Lachlan (@lachlanjc on Twitter), a 13-year-old with skills in Rails, React, Front-end, and UX. I’ve built Noodles (http://www.getnoodl.es/), a cooking app, and helped build Helpful.io (http://helpful.io) with the community on Assembly (http://assembly.com).

I’ve been looking for internships this summer at startups/larger companies, but most require having already studied CS in college or something along those lines. Has anyone heard about good internships (most likely in NYC) for this summer?
Why Data Breaches Don’t Hurt Stock Prices
"Other frameworks", but React is not a framework, just UI lib :) Sorry to be pedantic, but framework gives much more often.
Biometrics – The Key to Paswordless Security or a Fad?
This is a school where kids have a great deal of freedom, particularly in regards to eating. This leads to messes. I write the worst messes up to be adjudicated by our Judicial Committee (a team of students and possibly a staff, depending on the week), but children are inherently messy. Given the freedom, they make more of a mess.

The age range is also from 5-18 which adds in another level of potential messes.

I wear many hats at the school. Janitorial work is largely a few hours in the afternoon. At other times, I am largely talking with kids and staff. I do administrative work, I work on promoting the school, I write up some code to help make things move smoother, I do interviews of prospective students, I help kids with band-aids and finding lost items, etc. We are currently working on raising capital to buy a new building which has been both interesting and time consuming.

There is no teaching done here. Rarely I might get a question about math from students, but those who pursue it do it on their own. They don't want answers, they want journeys.

The life of a Sudbury staffer is one of a minimal salary. So I do teach online at a couple of places to support my family. That can be drudgery, but a burden I take on willingly as I need to. I do teach a course of my own design which is a lot more to the point of what math is and it is more fun to do. But the courses where I just teach what I'm told to teach are frustrating, to say the least.

So I am certainly not a classic janitor. But I have known many in my life. When treated with respect, they don't mind their job. When treated like crap, they despise their job, as any would do. And in a nice, pleasant environment, they do plenty of talking and their days need not be drudgery. It is about the human environment, whether red, white, or blue collar work.
> Ok, so that's a fair point, but we don't really owe these companies a viable business model.

The U.S.G. doesn't owe them anything, but if it wants these weapons, it needs to offer its contractors a viable business model.

> What happened to funding DARPA and NRL and Lincoln Labs and other places instead of private companies for the research portion?

DARPA doesn't really do research. It manages R&D grants to private companies. Lincoln Labs is also a private entity. And in any case, they do more blue-sky stuff, not applied development.

> We could have a ton of competing research designs, and when some of them yield working prototypes

One of the early steps of the F-35 project was to issue contracts for two competing designs, one from Boeing (http://en.wikipedia.org/wiki/Boeing_X-32) and one from Lockheed-Martin (which ultimately became the JSF). Each one cost $750 million.
To be fair, that's almost the only part of that Dockerfile that isn't all sorts of wrong, though not in a security vulnerability sense. Seeing that many yum installs in their own RUN commands is a sure sign of a Docker newb.
It's like saying things tend to levitate unless there's nothing preventing them from falling down.

Copyright goes against physics of internet.
I'm sorry, I found the article extremely interesting and I didn't mean to infer otherwise. More than anything I just wanted to say "good riddance" to those companies but I quite enjoyed the article and the topic.
>> Software architecture is very much just a bag of tips and tricks and rules of thumb.

I think that agrees with the spirit of my original comment. To answer your specific question: I'm not sure. If a book about software architecture is going to look at two implementations - say, Audacity and Bash to take two examples from the first book - then it has to work very hard to find an architectural language that applies in common to both. If it does not, then all that has really been accomplished is to peel the onion on some interesting applications, and while that is valuable and makes for an enjoyable read, I don't feel like it gets us any closer to actually understanding what the "architecture" of a software implementation is. The word has to mean something more than "things we've done in the past."
This link is now redirecting to an odd mix of the intended link + the wp install url

http://www.interactually.com/linkedin-creepiest-social-netwo...
Are you sure about that? I'm more familiar with oclhashcat, and it certainly can't keep the GPU busy with a pure dictionary attack. It'll feed the GPU with a dictionary, then apply rules on GPU to generate variants.
I took this course. It used Idle when I did it. Got a very high percentage but still do not know how to do much with python. Learned how to use the basic, how to compute Big O, but not really how to "make" anything.
Not to rain on your parade but, would you call Google Cloud Platform's client-side a small site?

What are your arguments for claiming that?

https://www.youtube.com/watch?v=cVTN8msr5DE&list=PLOETEcp3Dk...
If the US treaty negotiators get their way, DMCA will become pretty much universal world-wide.
Android phones use FAT when there are other alternatives available. Microsoft still uses FAT. Microsoft produces phones that compete with Android. What more can you possibly ask for to make this not bullying? If there is such a thing as legitimate use of patents, this surely qualifies.
I humbly disagree - in the C# code I can pass an IQueryable and reuse the same code to make an SQL query, or a RavenDB query, or an XML query and it works just the same - there is a unified way to access data in the language.

As for your query:

```
var admins = users.Where(u => u.IsAdmin()).Select(u => u.Name);
var stars = admins.Select(name => name + "*");
```

Like you said, you don't get paid per line feed - it's ok to have multiple lines and you can keep the nice syntax. It's ok to not like complicated code - no one likes complicated code - which is why I don't like for loops - I don't _care_ how something is iterated I just want to map every object.
Agreed. I want to say grandparent actually means automatic two-way model binding, not MVVM.
Agreed. That is as good a description of the architect's role as I've read. It is certainly what I try to do on a daily basis.
the "caveat" about "live" data is only in chrome console.
For example firebug does not have this problem.

Another pet peeve of mine: at the moment, only in firebug I can call console.log() passing a function, get a nice, clickable function definition, that can get me directly to the "debugger" section, at the right place where the function is.
A General Feeling of Disorder
To those saying don't learn angular, which frameworks would you suggest instead?
I've tried this several times, but I always find that by the time I've been stumped by something enough times to write it down, I'm on the verge of having it learned anyway. So, my cheat sheets just become random bits of paper full of stuff I already know, and I start new ones. Rinse and repeat. It's a nifty trick but I don't think there's any substitute for good ol' repetition and understanding.
Demand is low enough that they can do that.
> Knowledge you learn from using Angular is unlikely to be applicable to any other client-side framework

Can you suggest any other JS framework (for a beginner) which fits above criteria?
http://www.reddit.com/r/programmingcirclejerk/comments/317a7...
Boulder Startup, ShipCompliant Joins Sovos Compliance
Installing Linux has preserved the bootability of Windows, even multiple Windows installations on one machine, for more than a decade. The technology exists for MS to do the same.
Super useful. Debugging Select/Where is now as easy as debugging for loops. Also remember that the pain point for debugging is the laziness and not the declarative syntax and you can just use `.ToList()` to get rid of it.
Both you can hook it up to your internet email account.
Show HN: Sketchfab is 3 years old
Grades only really matter for medicine, psychology, and perhaps law. If you want to be an engineer or physicist or mathematician etc, they take everyone.
No one is going to publicly solicit someone as young as you. If you really want to find work, you're going to have to hustle for it. Start tracking down emails and contacting people personally.

Surely someone will appreciate your ambition and give you an opportunity, just don't expect it to fall into your lap. No one is listing internships with the expectation that someone pre-college will fill the opening but don't let that deter you. I say this as someone who landed an internship at 17.
Related http://en.wikipedia.org/wiki/Printer_steganography

"Printer steganography is produced by laser printers, including Brother, Canon, Dell, Epson, HP, IBM, Konica Minolta, Kyocera, Lanier, Lexmark, Ricoh, Toshiba and Xerox, where tiny yellow dots are added to each page. The dots are barely visible and contain encoded printer serial numbers and timestamps."
Hm. How about a cheat-web-link? This stuff's gotta already be online, neatly summarized.
Interestingly, it's not just Wired taking it out of context– Metz (the moderator) is actually the author of this piece.
I agree that Windows and OS X are roughly equal (maybe OS X is a little better) when it comes to UI consistency, consistent keyboard shortcuts, etc. That's not true of Linux applications, generally (which is why I said "X-based Linux applications," not "OS X applications").

As far as your second point, I'm glad for you, but it wasn't my experience and I got really sick of jumping through hoops trying to emulate a Windows environment for various software that was not available in OS X.
Why I didn’t look at your resume
Funny thing is that what you described is exactly how internet works if you don't let lawyers inside.

By my count this would sill be a win. And I'm a programmer and I'd be delighted if million people stole my code. And I have no faintest idea how people using my code might reduce my income.
Artsy's Engineering Compensation Framework
Autistics would fail this, no?
In particular - the Microsoft .NET JIT will gladly make them as fast as loops in most cases - there might be overhead involving closures but that's mostly taken care of.
And TomTom, the GPS navigation device maker.
Hi. I chose to write my thesis on NLP with LDA in regards to stock prices. Would you mind exchanging e-mail or facebook so I could ask you some questions? I am really excited about this project but to be frank, I do not know a lot about LDA yet and I was hoping you could help out a stranger over the internet.

(University of Amsterdam)
Thinkful's long course materials are excellent. I expect the same from their crash courses.
A .deb package can do whatever it likes during installation, so not much difference in reality.
What i see here is an old cold-warrior concerned that this fighter jet is not going to be good at "dog fighting".

Who, exactly, are we supposed to be dog fighting with in next 20 years?
Used refluxjs for data flow. Inside the stores, superagent is used for request handling. React-router was used for routing.
yeah, let's be cool guys to the end and use VanillaJS only.
Reapp looked awesome, the issue is that the 'back-swipe' on my iPhone 5c was noticeably less smooth than the real thing... are you guys going to have to resort to some more exotic techniques to fix that?
Unless the calorie values printed on my food were wrong, I didn't miscount. https://news.ycombinator.com/item?id=9316457

The water/muscle sound like reasonable explanations.

My overweight relatives had reasonable mobility etc into their 80s while still being overweight, so maybe my genetics are fine for it, but being healthier might be a net positive as you say anyway. I'll consider it.
TrueCrypt Audit Phase 2 published
http://www.mediaatelier.com/CheatSheet/

Hold 'command' key to see all shortcuts for current application.
Python is a bad example since it has declarative data manipulation syntax. You'd use a comprehension and not a for loop which is practically the same thing in my opinion.
The "fast doubling" approach IS the natural calculation in Q(sqrt(5)). That is, let φ^2 = φ + 1 (so φ = (1 + sqrt(5))/2). Then (a + bφ)^2 = (a^2 + b^2) + (2ab + b^2)φ. Furthermore, (a + bφ) * φ = b + (a + b)φ. Finally, we have that φ^n = F(n - 1) + F(n)φ. Thus, we can extract the n-th Fibonacci number from the n-th power of φ, which we can compute in the form a + bφ by "repeated squaring" using the above rules, which is precisely what the "repeated doubling" approach of the linked-to page is effectively doing.

[Note that, by representing a + bφ in terms of its individual a and b components, we can just directly extract the components when we need them, instead of having to extract the coefficient of φ in x as (x - conj(x))/(φ - conj(φ)) [where conj(a + bφ) = a + b(1 - φ); note that this conjugation operator distributes across multiplication], which is what Binet's formula does to extract the coefficient of φ in φ^n]
Why? React isn't a full framework and solves a completely different problem.
Couple of points:

1. PowerShell reimplements older commands as aliases, e.g. ls is an alias for Get-ChildItem. You'd not be relying on existing shell functionality.

2. I don't know much about it, but wouldn't the upcoming Linux IPC improvements being made to support kdbus do away with needing to handle message passing in the way you describe?
I'm just always suspicious of Comcast
The button was maybe created that way so people won't react.
Try Asia. Singapore is essentially a better Germany.
Interesting to see that "slow dynamic programming" which is the classic exchange-and-add algorithm is the fastest up to around n=126, at which point fast doubling with naive multiplication takes the lead, and Karatsuba multiplication needs n over 5000 before it becomes faster than the other methods. But, assuming that you can much more easily get an order of magnitude improvement out of the "simple and slow" method than the more complex ones, then the break-even point moves up to n=1260.

In other words, always choosing the asymptotically fastest (and often more complex - with larger constants) algorithms is a bad decision if most of your inputs never get large enough; simpler algorithms are good, even if they're not the theoretically fastest, because they also tend to be easier to optimise.

However, the recursive algorithm being faster than slow-DP until n=5 is a little odd... some other effect could be responsible for that.
What I'm wondering is how many layers of management had to approve a joke press release? I would bet it went pretty high up the chain.
Congrats to the sales people, I'm impressed!
Is there an actual reason to use AngularJS that's not just hype? It seems incredibly over-engineered to me, compared to something like React. I realize it's the newest, coolest thing, but...why?
You can use it to contact people (in a cold call manner) and propose them new business. I've use it successfully to make some pitches. You have to pay for that, though.
This is cool to see(congrats to them), as I too have had interactions with the founders when they first started. Just looking at a few emails we exchanged and thinking why I haven't I reached the same level of success when I've had a ton of great serendipitous moments/opportunities to seize.

It all boils down to pretty much being a solo founder. I always hired or found code monkeys to help turn my front end coded designs/ideas into a working product. None of these coders cared the same 500% percent I do for my start-ups. I.E. In December a Fortune 500 company wanted to become our client and I wanted to make this happen. I wasn't sure if I should make this company sign a licensing agreement or not. An advisers said they should, though I wasn't sure and wish I had a co-founder who cared as much as I do to discuss this decision with. It was a turning point for my start-up and the deal ultimately fell through (crushing).

Having a team/co-founders that are vested the same 500% is utmost important. Especially, if your not a schmoozer with tons of charisma and or a unicorn with great luck!
Multi-Tenancy for Hadoop with Namespaces Using CDAP
At launch that hadn't been optimized, which it has been quite a bit since then.

We do need to optimize it further. It's actually React that is getting in the way here, but we don't want to cheat and break out of React because that would mean so pretty major disadvantages. We're thinking about building out either a separate animate() pipeline that works differently from render and just lets you use refs to animate things. Or, just optimizing further as there is some stuff we can do.
The book is good. BTW, the title is a bit misleading, in my opinion: handling paralelism at low level is hard, but parallel programing is hard only because of the languages we use are not transparent enough, and because many problems are hard to split in parallel tasks.