skysight-inc/HackerNews huggingface dataset:
> Name a task on which you've either seen or you'd imagine a ST user to outperform a vim "power user". I'll let you know the logical way to do it in vim.

Selecting code and copy and pasting it into a chat client for discussion.

Grabbing someone else's code from a chat client and editing it, then copy and pasting it back to show them my interpretation.

Copying an error message and pasting it into a web browser.

Installing or updating any kind of plugin or package.

Doing anything out of the ordinary (vim users will be googling for the arcane sequence of commands and don't try the "no true scotsman" defence for that - they all do)

Scrolling smoothly through a large file looking for a certain method you will know by shape.

Quickly navigating a tree of files at the side of the window.

Changing the font to something post-1980.

Make it look good (this willl take infinite time)

I could go on, and on, and on.

Anyway, I have no doubt that for some tasks it's possible to train yourself to be very fast in vim, and if you find that measurably speeds up some aspect of your productivity you care about, then more power to you. However, I haven't really observed this being the case.

It's sort of like Linux vs MacOSX on the desktop. Linux people can and do customise their machines to an amazing extent, all sorts of crazy window managers and weird shell extensions, all promising great improvements in window management and shell completion, etc. But at the end of the day, I don't notice linux-using programmers as being any more productive, as a rule, than mac users, who tend to not fetishize the tool so much and just want to get on with the job. If anything, it's the opposite. I admit I'm biased against vim because of how ugly it is, which is sort of why the linux vs mac analogy works for me. I love linux by the way and use it on the server, and I also edit on the server with vim : P

Anyway, I'm making much bigger a deal about the matter in this thread than I actually feel! I just don't think vim is a slam dunk, is all.
This is more than a scam, it's outright theft.
Interestingly the Hebrew version prints Dagobah as Dagobash (דגובאש), and apparently Johannesburg, SA doesn't exist as a city.
Human Interest
There seem to be two main points of criticism in this article, neither of which holds up:

1. "Rhinehart does not know much about nutrition and he cannot learn everything he needs to know from Wikipedia and textbooks."

True, but irrelevant. Soylent's basic proposition is that you can make a food substitute like this one work and they are iterating on a promising candidate. Who is to say they cannot or will not partner with various nutritional specialist in the future to improve the recipe and mitigate risks? You get the best of both worlds: Enthusiastic creativity powered by some necessary naivety combined with extensive domain knowledge.
This formula can work amazingly well. Case in point: Elon Musk/SpaceX.

2. Nutritional needs are specific to each person and change over time.

Again, true - but if anything, this is an argument in favour of Soylent. In the future, it could easily and automatically be tweaked to everyone's individual habits, biomedical indicators or even genetic tests.
As others have pointed out, most people currently eat extremely sub-optimal and are typically not keeping track of their nutritional intake. Soylent in its current form will give a well-rounded base level that is surely more healthy than the average food intake in developed countries. With an individualised formula it has the potential to among others thing be a convenient to consume a more healthy and balanced diet.
I'm wondering why this was not removed before publication. I mean, surely this was sent back to Snowden and his lawyer(s) before going to press. Maybe it was intended?
Ask HN: Examples of emails to get feedback from domain experts?
I would like to get feedback on my app from a set of experts in the niche that my SAAS app is in (domain auctions). I would also like to offer them a free subscription for their feedback. Do you have any examples of emails like this which do not seem scammy.

Thanks
Biggest criminal enterprise? You mean like Bernie Madoff and friends right?
I red the faq... didn't really answer my question... from the examples I saw, there was nothing there that ouldn't be achieved with JQ...which is why I brought it here...thought maybe I was missing something.
The video says Elegant, then a picture appears and all I see is "old".
Then the video says Simple, and other qualities, and all I see is pictures of something appearing "old".

I mean, I was there 15 years ago, and Windowmaker on Debian 2.[0|1|2] was my environment of choice.
I loved it.

But as I write from my new MBPr, I see pictures of something appearing "old".

That's why I hope the campaign is funded, but I know that it can and will be funded mainly by developers. And developers not caring much for that part of the UX which we call look & feel.

Unless of course somebody is doing a better video with more modern screenshots while I'm writing.
I am starting with a new photography workflow tool
Electronic Skin Lights Up When Touched
Through all of this, one of the things that impresses me about him is how well-spoken he is.

Obviously, the interview was done over encrypted email, so he had the opportunity to choose his words carefully, but even so.

During the interview his father did with George Stephanopoulos of ABC News, he also impressed me with his speaking ability, even under a high-pressure situation like that.
If you aren't experienced / competent, and you try to outsource it, you're going to get taken. In this case it was marketing, but you could easily be talking about outsourced development, buying a car, seeing a new dentist, etc.

The proper way to introduce affiliate campaigns to your product / service is to succeed using paid advertising in-house. You need to establish your typical CTR, EPC, CPA, LTV, bounce rate, for different channels. Restrict the channels that affiliates use. Once you have your baseline, you can look at the numbers for each individual affiliate to determine their numbers stack up against your baseline. There are a lot more details that can't fit into an HN comment made on my way to work heh.

One concrete example, so it's more tangible. If you don't explicitly restrict pop up traffic, affiliates can pop and drop their cookie when someone with adware installed visits your domain.

Edit: This story is very one sided. Sure the marketing consultant was probably sleazy, and the affiliate marketing tricks were unethical, but the op did not even do basic due diligence. If I were the op, I would at least look at how the affiliate marketing programs of other mature ecommerce sites were set up. Amazon for instance has an affiliate fee of 4% on electronics. Paying 10% instead of 4% as affiliate fees is a red flag. Amazon payouts are made 60 days after the marketing period, where they can conduct their fraud analysis. Also you should be paying very close attention to their operating agreement which outline what does and does not earn you an affiliate fee.
The <filename>, <filename.part> thing is ridiculous.

Yep. Luckily it’s being fixed as we speak: https://bugzilla.mozilla.org/show_bug.cgi?id=420355
There are already products available to satiate hunger/nutrition without having to cook and aren't fast food and have been around for decades.

I'm not going to knock Soylent as being dangerous or stupid. Quite frankly, I don't know enough about nutrition to make such a judgement, but I don't think it's design is anything revolutionary, either.

Soylent's angle on this isn't really positioning itself as a "meal replacement", but rather a full "diet replacement". When I eat a protein bar in the morning instead of eggs and veggies, I have no expectation or desire to live the rest of my life eating nothing but those protein bars. Soylent is specifically saying "you can live your life eating nothing but this". That's a ridiculous, if not dangerous, claim to make without having substantial data to back that claim up.
The Correct Reponse to Shitty Technical Arguments
If String and None are both valid return types for a function, then you tag that so the inference system knows it's a valid solution -- the inferred type becomes Maybe String. The compiler will even help you get there.

> Similarly for types declared in completely different packages that don't share any base types;

If you know they share functionality, you can declare that they share functionality (any language with type classes). Once you've done that, the type inferencer will generalize the type of the function to the entire class. As a bonus, you automatically factor out shared code and make the program as a whole more modular.

The answer to "how does the type inference system know this?" is usually that you've made those bits explicit. This sounds tedious right up until the first time you write a complicated program, get it to compile, and it just runs correctly the very first time. It gets better when you learn to work with the compiler and start to make judicious use of code holes (undefined/_ in haskell; they allow you to provide an expression of any type so you can test unfinished programs. The compiler can even tell you what type the unwritten code needs to have, and in most cases that actually tells you what the code needs to be).

Lastly, in a language like Haskell, type declarations are almost always optional. They're used as a kind of documentation and an enforced contract for any other programmer that happens to read the code. Most types are inferred -- if there's some ambiguity, the compiler will let you know, and you can fix the code. For example, if your function tried to return String or Nothing, the compiler would complain that String doesn't match Maybe a, try Just <string value> instead. So you replace <string value> with Just <string value>, and now the function compiles. If the requirements later change, then you make the necessary changes the same way you would in a dynamic language, and then follow the chain of type errors to fix issues that have cropped up. So if suddenly you need String or Integer instead, you'd just replace Nothing with the <Integer value> you now need to use. The compiler will complain that Maybe String doesn't match Integer, and so you fix your code to Right <string value> and Left <integer value>. Now the compiler agrees that everything makes sense again, and you continue on.
Yeah, I see that you make no sense ...
NY Boston however accounts for a lot of Acela traffic (based on my experience).
I am an American who has lived in Europe (Netherlands and now Switzerland) for over 10 years. I have also traveled all over Europe and Asia without ever having a problem of being an American or apologized for the fact. Nor will I ever put a Maple leaf on my suit case or backpack (Nothing against Canucks BTW)but I am proud of where I come from. If you cannot take criticism from other people from other countries then stay home. I find it a great way to understand other people/cultures.
It doesn't wrap and extend dom elements, just finds them, so there's no $(this) etc just to be sure all your objects behave the same way, no .attr('id') to get attributes etc. It also has a nicer syntax I think, like the idea of doing HTML.body.ul.li.a So it looks interesting, though I wish they had included Ajax.

This doesn't do everything jquery does, and is not intended as a drop-in replacement, more as a different way of doing things which is simpler, smaller and more intuitive.
>Shouldn't a nutrition/meal replacement startup strive for more than "well, you're eating shit anyway, why not buy our almost entirely untested and unregulated shit!"

Sure, but I think the size of its success or failure for each person should be measured against their health if they were to go on eating their regular diet, not some hypothesized perfect diet.

The alternative to me seems a little like saying condoms will always be a terrible method of STI prevention because their prevention rate is less than 100%, and you can achieve 100% prevention with strict abstinence. For people who can't or won't practice strict abstinence, that comparison doesn't seem very useful.
Hyperloop proposal contains detailed map of the whole route. Sometimes it follows the highway, other times it deviates from it.
Congress requests FBI briefing on the subject of Bitcoins and Money Laundering
Why I’m Not Coding   Yet — Medium
NZ has a simple immigration points system.(1)

We need people and it's awesome here, so come on over. It's even easier to travel on a NZ passport than the Australian one - we offend nobody. As a bonus we hang out in the top 3 places in the world for the World Bank's Doing Business survey and Transparency International's (least) corruption index.

(1) https://www.immigration.govt.nz/pointsindicator/
http://www.immigration.govt.nz/migrant/stream/work/workperm....
For Australia, the easiest path IMHO is a 457 visa => Permanent Residency after 2 years => citizenship after 1-2 years as a PR. They definitely are pretty generous. I'm working on the paperwork for my PR now.
How is it more ludicrous than property tax?
We're using Perl for a new startup. Our team has a background in computational biology where Perl is still big. Some of us have more than 10 years of Perl experience and if you know the language well it's just insanely productive.

Readability was never an issue. We follow a few common guidelines and with Perl::Tidy we get consistently formatted code.

So in principle Perl is perfect for us, the only drawback is that there is less and less library support for Perl. Most services like for example Stripe have libraries for Python, Ruby but don't bother with Perl (and I don't blame them). Third party libraries from CPAN are usually not that robust and well maintained.

But in general the Perl backend is the most robust part in our codebase and I would not trade it for any other language.
As one of the Perl 6 developers, my suggestion would be to wait a couple of months. There have been some very exciting developments with the new JVM backend for Rakudo Perl 6, like new work on threads and very significant speedups on longer processes. But it's not quite yet ready for prime time -- there are definitely still some rough edges. The rate of progress on it has been phenomenal -- it essentially didn't exist at the end of March, and passes 99% of the Rakudo spec tests today. I will be very surprised if the current issues with it still exist in October.

That said, there really haven't been too many major changes to the language itself (as opposed to the implementation) in the last couple of years. I have several modules I wrote 3+ years ago, and keeping them up to date with the language has only required trivial changes in that time. You could certainly start learning the language today using the Parrot implementation with the knowledge that something better will be along very shortly.
Collectively we are not even in the infancy of nutritional understanding and Soylent claims to have the answer to nutrition.. good luck with that.
One of his arguments is that people have varying needs and soylent fails to address that, but it is tweak-able... and let's be real most people just eat what they like not what they need.
Game Physics in Multiplayer Game Development
It's been a trickle. Under 50 since I setup the landing page.
> This debate isn't about online ads or even spam anymore.

While privacy and the mess regarding the NSA are problems, to be sure, I'd like to suggest the real problem with facebook is trying to be the ultimate middleman in society. They have the potential to become the worst "rent seeking" business we have ever seen.

Crap like their embed-in-any-webpage login and comment services are good examples of how they seduce people into their walled garden. I've already seen websites that only supported facebook logins, and one "trendy" restaurant in SF that only accepted their payment service.

Worst of all, most people seem to be able to separate the middleman threat (when it is acknowledged at all) from the privacy threat. Even when talking to friends that should know better (several engineers, one bio PhD), any time I bring up the subject. The response is _always_ something about how they don't give facebook their REAL information anyway or similar privacy-based argument. They are assisting in the creation of yet another long-term barrier-to-entry and can't even see it.
The transition from Perl 5 to Perl 6 might go down as one of the great language mismanagements in history. For goodness sake, it's been in design for almost 14 years!

It's not quite as dramatic as it sounds:

Yes, Perl6 was announced in 2000, but the actual implementation effort (both Parrot and Pugs) started in 2005.

Guess what got started a year later (2006) and isn't finished yet as well? Rust.

Is it finally time to sit down and learn Perl 6?

Learn it? Certainly. Use it in production? Not yet. The Parrot backend was used to nail down the object system. Supposedly, the mostly-working JVM backend will be used to nail down threading semantics.

Concurrently, they are developing their own VM to get rid of the semantic mismatch between the language runtime and backend VM.
A financial economist professor once mused that "current phd students are limited in the problems they can solve because they can't program." Of course the programming language he preferred was Fortran. :-)

Excel is the best tool for 80% of what bankers and consultants do. It can middle through the next 10%. The problem is it has just no way to do the last 10%. Either it's too slow or just can't handle the size or computations required.
Jaime from the Mythbusters does this; he explains it in an episode where they are testing fuel consumption of cars over a long distance and can't stop to eat. Adam brought snack foods, Jaime brought what he calls "444". 4 fruits, 4 vegetables, and 4 beans ground up in a blender for him to drink. He put his recipe in an email that someone posted to reddit at one point.

Jaime claims it's healthy and full nutrition, but he only eats/drinks it when he can't be bothered to actually eat something.
How Riot Games Used Open Source to Rework Its Software Infrastructure
Feel free to market and produce your own cheaper alternative.
I wouldn't know, thank god.
Firefox OS Development Tutorial
Dear Daughter: I Hope You Have Awesome Sex
"In addition, safety emergency exits and pressurization will be added in key locations.."
How could anyone predict what 'key' locations an emergency is going to happen at?
And how would eviction happen, given the tube's low pressure?
Heroku is pretty expensive. Also, their instance couldn't keep up with jsonip I think. Good tips though.
Looks like we are in for an "Is 1k 1024 or 1000 bytes" when it comes to '4K' :)
90% of networking requests come with purely selfish intent. I recall the ONE time that someone showed up to a meeting with a book that he heard would interest me. Of course I went out of my way to assist.

Give first then get...
Well... everything could be achieved with JQ. Usually with 1 line of code. But that library is 2.7k and you're working directly with the DOM elements and not with wrappers. So I guess it could come handy for smaller projects where you wouldn't need the full JQ power and 10 JQ widgets.
North Korea's Kim Jong Un launches a smartphone
This whole line of argument presupposes that there is some sort of magic ratio of nutrients for each person and that if they don't hit exactly those numbers they will suffer some vague disastrous consequences (coughing a lot from eating too much pizza and mac-and-cheese?).

Our metabolisms are way more adaptable than that. Generally if you're even in the right ballpark you are fine. There's clearly no exact optimal diet (even at an individualized level). If it were this way people would be keeling over left and right.
"I was surprised to realize that there were people in news organizations who didn’t recognize any unencrypted message sent over the Internet is being delivered to every intelligence service in the world. In the wake of this year’s disclosures, it should be clear that unencrypted journalist-source communication is unforgivably reckless. "

Not only the news people. My country's politicians as well. They didin't even change the standard code for voicemail, exposing all their messages to anyone with their number. For any whistleblower trust is the key. Even if you can trust the journalist/politician, you need to know if they know how to guard their communication.
(Edit: typo's)
Cold Calling Is Dead, Thanks To LinkedIn
Maybe, but the notation is in the context of HTML rather than a DOM Model. It would seem weird to have a DOM.js have it's root library referenced as HTML.

DOM.body.div doesn't quite seem as nice to me.
Technically he was a spy - for the NSA. I would believe that is the context the statement is being made for his definition of.
WordPress pulls interview with anti-gay group Straight Pride UK
Have you been to a supermarket or restaurant in the last 20 years?
For one, the choice of name, is quite unfortunate given Soylent Green. At first, I thought the name choice was intentional, a play on the concept from the movie, but alas, it was unintentional and therefore just adds to the perception that the research into Soylent is amateurish. Whether or not this is the case is not something I'm saying, just saying that from a marketing perspective, Soylent (not the Green version) is in need of improvement.
Uh, wasn't he a spy? He worked for the CIA under diplomatic cover in Geneva...
Ironically, the Metro mode just makes things a lot more confusing for "normal users", since they were already used to the old Windows UI paradigms that they've been using for more than a decade, and the in-your-face Metro mode messes that up.
I'm not arguing that it'll be used on a daily basis.

Given how fuel dominates the cost of operating an airline, I'd say that something that is net neutral in terms of energy usage should be able to compare quite favorably in terms of marginal operating cost. I think that that $100 each way figure is very conservative in terms of what it would cost to transport a person.

I'd say the ridership assumptions are very conservative, the experience described is so much better than flying that I would guess that ridership will increase quite a lot. I would visit LA many times as frequently as I do now. It should also cannibalize car traffic quite a lot.

As far as economy goes, this would make intercity business much easier, decrease congestion of the freeways, save many man-years of time that would be otherwise spent in airports or driving, and it would be generally more efficient.
Because that's the one everyone else is using. The current blockchain has significant momentum, so any alternative would be working uphill.
I thought the author had made it clear that the coughing bouts were caused by the marijuana.
One thousand cameras: how centralized surveillance snuck into American cities
HTML.find("#element") is longer than $("#element") so I doubt it'll catch on
Huh? No, not at all. :-)

It's more like: Sally's morning nap is getting shorter and shorter, maybe it's time to switch her to just 1 nap a day. Or, what snack did Joey have today at daycare? Was he in a good mood? Are we low on diapers?
I always thought this about discount code boxes so when I finally had a store checkout of my own to play with I added something like "Got no code? Enter code YAY for a small discount :-)" and it gave 4% off (almost nothing at my margins). Surprisingly, under half of users even bothered to used it :-)
The solution to negotiating land purchase without eminent domain is to play "connect 4" by buying "options" - cheaper contracts that fix a price for a period of time but don't guarantee a sale. As soon as you have a connected path of options between A and B, you can exercise the options and run the line down it. You can spread the option purchases around a whole lot, so that nobody has an incentive to play awkward in return for more money, because you'd simply route around them.