skysight-inc/HackerNews huggingface dataset:
> it is tough to side with capitalism on this subject

Assuming you mean "with the philosophy of free markets and individual rights" by the catch all "capitalism", it's not.

The foreign buyer is benefiting from state-provided services, such as the police providing some degree of safety from robbery and damage, safety from invasion and confiscation by the armed forces, and a sound legal framework and justice system that protects their property right.

Citizen pay for this via income taxes and their employer's corporate tax, as well as value-added taxes on products and services purchased (since there is no modern country that generally allocates a certain type of tax income to a certain type of spending). Non-resident owners do not. They get a free ride.

Thus, the free market, moral, individual rights protecting solution that might be Barry Goldwater approved is to charge the non-resident owners a yearly tax that covers the cost of services provided.
>add-1-to-a-number

i++
Don't know what this guy used exactly, but GifCam is really good - http://blog.bahraniapps.com/gifcam/ - it's not fancy, but it's well done on the engineering side, maintains good FPS when capturing and compresses really well.
Failure Is Moving Science Forward
I absolutely love bash + powerline. You might know powerline if you're a Vim user.

http://i.imgur.com/3FKaEIy.png

It's incredibly easy to set up, I have a script to do it[1] but doing it by hand is trivial.

[1]: https://github.com/beefsack/bash-powerline-installer/blob/ma...
The biggest issue is the performance difference. It takes an entire second to syntax highlight a new file and large files are unusable. Almost all interactions have a noticeable delay, including typing. Scrolling is painfully slow.

At least on OS X, it's by far the app with the largest energy impact. It's the only other thing that competes with Chrome.

Besides that, it doesn't use native UI elements where it could. Plugins don't add top menu items, the folder view on the left isn't a native treeview, it renders its own (slow) scrollbars, it doesn't respect native text rendering settings like line height or font hinting, pop-ups overlap in surprising ways (sometimes scroll bars are above them) and can't easily leave the main window, various elements move around unexpectedly when scrolling to an edge.
We live in a weird world where making $2B counts as a failure because somebody else did it faster than you?
> var isCapital function(s) { return s[0] === s[0].toUpperCase(); };

> isCapital("שלום");

true

> isCapital("1");

true

> isCapital('\uD83D\uDE00'); // Smiling emoji

true

> isCapital(\u279B); // Right-facing arrow

true

> isCapital("\u061Casd"); //Bidirectional control character

true

> isCapital(" ");

true
string[0] === string[0].toUpperCase() && string[0].toUpperCase() != string[0].toLowerCase();
WRONG. Typical junior developer mistake. Even if we disregard trivial problems such as non-letter input or empty input, this will only work with English and a few other languages. This will TOTALLY fail with e.g. Turkish input (I ı vs İ i).
How Google is shaping the Web of Apps Through Deep Linking
Array performance isn't always better than string concatenation.

In this test case it comes out slower:
https://jsperf.com/left-pad-arrays/3

But ultimately it doesn't matter in the least for 99.9% of use cases:

https://blog.codinghorror.com/the-sad-tragedy-of-micro-optim...
Computer use could help predict early-stage Alzheimer’s
Driver Toolkit 8.4 License Keygen and Crack Full Download
Huh, in Irish Gaelic (best gaelic) "fein" is pronounced like "feign" in English, with a leading "f" sound.
> You don't make it less probable to have those bugs (because battle-tested package! except, not so much in JavaScript, or Ruby, for that matter)

Battle-tested still applies - if you have that many people using a line of code they're more likely to find any bugs. (Formal proof is better than any amount of testing, but no mainstream language requires formal proof on libraries yet)

> And then, dependencies have their own cost later. You actually need a longer project, not a throw-away one, to see this cost. It manifests in much slower bug fixing (make a fix, find the author or maintainer, send him/her an e-mail with the fix, wait for upstream release, vs. make a fix and commit it), it manifests when upstream unexpectedly introduces a bug (especially between you making a change and you running `npm install' on production installation), it manifests when upstream does anything weird to the module, and it manifests in many, many other subtle and annoying ways.

Large monolithic dependencies have this kind of problem - "we upgraded rails to fix our string padding bug and now database transactions are broken". But atomised dependencies like this avoid that kind of problem, since you can update (or not) each one independently. Regarding fixing upstream bugs, you need a good process around this in any case (unless you're writing with no dependencies at all).
BTW, why does your comparison table says "Full Snapshot:	No" for duplicity?
One can definitely use `duplicity full` to explicitly ask for a full backup.
Show HN: A tabletop game for nerds
If you learn Morse Code, the watches can be decent input devices. Here's a short video of a guy typing a SMS message on a smart watch using Morse Code . http://www.cultofmac.com/409175/nifty-app-uses-morse-code-to...
You're an inspiration.
Some previous discussion, including comments from Chris Fenton: https://news.ycombinator.com/item?id=8447518

https://news.ycombinator.com/item?id=6291515
Repost: Pearls Before Breakfast (2007)
Virtual DOM: How inefficiency can lead to better performance
> They've been acquired by Facebook

Ah so it will probably be discontinued
I find large dependencies like RoR itself cause a lot more dependency hell than zillions of small dependencies like this one. What kind of dependency hell could possibly happen for a module like this?
If basic, bog-standard functionality was built into the standard library, then it's not bloat that you have to deal with. 500 kb or a meg or two for a decent, full-featured standard javascript library isn't going to even make a dent in the install sizes of web browsers, even on awful mobile devices.
Fantastic - thank you. I hadn't realised Chris Fenton had commented.
I am from London and currently moving to Vancouver.

It looks like salary / rent is still much more sane in Vancouver than in London.

I would guess London is in a much advanced stage of this problem?
Unveiling figshare 'Collections' – a new way to group content
Great, now when will Google let us use the OCR engine they crowdsourced from us over the last decade with ReCaptcha. tesseract is mediocre.
SDR Radio Academy: Reverse engineering a wireless car key fob
Packages are only too big if your infrastructure makes them too big.

A trig package like yours could be implemented on top of sin and cos packages if it's something you find useful.
Favourite Marketing Technologies for 2016?
What are your favourite marketing technologies to use? (Eloqua, BlueKai, Marketo?) Let me know your thoughts!
I would expect it to be as native as Google's own Java API [1], though it is still just the API, not the actual backend.

[1] https://github.com/GoogleCloudPlatform/DataflowJavaSDK
Productivity posters might spark motivation for a a short moment, but after that motivation leaves, you're back to relying on your regular patterns / habits

On a small team, most of our productivity comes in the morning after we've said hello and settled in. Gets real quiet and we all just get in the zone. As the day winds down we loosen up. It's a very pleasurable way of working, for us at least.
http://voicecode.io
Nantes Métropole completes switch to LibreOffice
I love my pebble but I wouldn't have bought one (it was a gift). The silent alarm (doesn't wake partner in the morning) and receiving messages while riding my bike to/from work with canned replies (mine are ETA 5,10 and 20) are the two things I've found valuable.
But neither is life-changing, and I'm not sure if I'll replace this one should it fail.
It's a bit interesting that Cloudera went the opposite way than Spotify and fitted Google's Java API on top of Spark instead (so, changed the backend instead of the "frontend") [1].

[1] https://github.com/cloudera/spark-dataflow
If you need a cell phone to be available for calls and texts (say, to set up a job interview...), it might be cheaper to have a cell contract with data, than to have a cell contract and DSL at home.
You guys are doing great things! I'd love to see it live!
Separate interface and implementation. cos and sin might well use common underlying code (by depending on the same module), but they should expose orthogonal interfaces.
5 years is a long time for a smart phone! And remember that a longer lifespan costs more money. I doubt many customers (myself included) would be willing to pay more money for an iPhone for it to last more than 5 years.
UK police chief advises banks not to compensate online fraud victims
In a prior thread I asked about how they would get the funding they need straight out of YC. I guess this is the answer!
If you have such problem : don't go home, search for someone to talk to. It's not only for you, it's for your entourage too.
Is-maybe
Yes, but it still web pages. Not meteo simulations. And I just tested in on an old asus with a dead battery and a broken screen. It's fine to surf on the web. Watch videos. Listen to music. You could do it 10 years ago already with even older computers. Your ipad is lying to you.
Google Search API, Autocomplete, Finance, Voice all closed with tons of active users. I'm not blaming Google; they were acting in their best interest, but the consequence is less enthusiasm for building software that depends on their APIs.

IMO a better option for Google, when considering to close an API, is to enforce payment and hike the price enough to justify maintaining it. If and only if enough users drop out with the higher price, then shut it down for good.
Kaldi is probably the best option now. https://github.com/kaldi-asr/kaldi
There seems to be a takeaway though - complex logos eventually get replaced.
It's not bloat in the source code - if you don't care which pieces you depend on you declare a dependency on math, if you do care you list the specific pieces.

It shouldn't be (impactful) bloat or overhead in the build system or dependency management. That stuff should just handle it.

Most of the time you don't care and can just declare the dependency on math and let the closure compiler handle it. But sometimes it might be really important that a project only used cos and not sinh, in which case you want to enforce that.
its not same with Apple's handoff. Apple not requires internet connections and "continues everything".
Big pharma buys startups all the time.
The less code you write, the less code you have to maintain. Even if it's just one less thing, it's a win.

The comonJS module pattern also helps tremendously, as your requires are block/function scoped. It makes it trivial to refactor (remove/rewrite) code.
Blockchain Platform Waves to Create Kickstarter’s Killer
I have an extremely hard time believing this module is not a joke, ditto for many other NPM modules.
This is an interesting talk about Intel's management engine:

https://media.ccc.de/v/32c3-7352-towards_reasonably_trustwor...
Well, more than a certain amount of property. I think it's fine if a foreign national wants to buy a second home or whatever in another country. The problem comes when foreign nationals make up such a large portion of the market that they drive locals out of it.
Solar Storms Trigger Jupiter's 'Northern Lights'
What Would It Take to Disrupt a Platform Like Facebook?
It seems there are a few options. Devs could use an abstraction layer and change providers with very little effort. Also, by the way things seem to be going, voice will become more and more prevalent.
Decoding the N.F.L. Database to Find 100 Missing Concussions
The Struggle of Clear Climate Communication
The django “polls” tutorial with Git & deployment to a real website
Why not just contribute a few designs or some open source software and join OCP?

http://opencompute.org/

Last time I checked, Apple was not in the business of making data center equipment, so it's not like they would give up IP that is central to their business model.
The Crypto AG case is a stronger argument for his point than yours: the targets were foreign, which is to say legal for the NSA to spy on, and it was done with the involvement of the company.

In the current era, the targets are often domestic and they're willing to compromise U.S. companies on a large scale to do it.
Sunny Leone
The GP's point still stands: if you are within transmitting range of your car, anyone can push the button on the car door and open it. I doubt that the transmitter verifies line of sight between it and the car.
Any thoughts on how is Spring Boot compared to Play Framework?
I'd respect your comment quite a lot more if you'd stop calling people who disagree with you "trolls".
I get that author's point, but do you REALLY need a dependency module that tells you the type of something?

That's not a Lego block; that's an excuse.
How Scandinavian design took over the world
I've dealt with such functions, but they're seldom the type of functions that other GGP is talking about (small, simple, exportable functions).
Straight-up C is not at all suitable for safety-critical software. C plus various bolt-on tools for static analysis and the like can be usable, but is always going to be less effective (IMO) than a unified language where every tool is working according to the same rules.

There might be a few legitimate use cases for C, but I've seen people pick it for the wrong reason so often (and using C because "it would be performant" is entirely invalid IME).
Looks like a much stronger batch to me, I take back some of what I said yesterday. I would be hard pressed to choose between some of these!

I love that we are seeing less fad apps and more healthcare / farming / energy / third world tech. It's encouraging.

Personally farming tech and third world mobile payment are areas that I've been thinking about reading up on for a while. Perhaps the time is now!

As a side note it seems like there are a lot of teams right now working on chat / chat bots / chat ai in a very overlapping way. It makes me wonder what the root of this bot/ai/virtual assistant trend is and if they would be attacking the problem the same way without slack-colored glasses.
It's 100MB chunks, and you can compress it with opus or flac to squeeze in more audio per chunk :)
Maintain Separate GitHub accounts
Do you really have to go for such a personal and emotionally charged topic to start "big talk"? Obviously anything actually important is likely to be somewhat less comfortable, but there are still degrees.

I think most people are going to be much more comfortable talking about art, philosophy or politics than about their personal life, particularly with a stranger.
STOP using secure texts for passwords by default
god dammit you guys. phone apps - you're the worst here. no one is ever looking at my phone. and websites, i'm generally the ONLY PERSON LOOKING AT MY SCREEN.

can we please stop this nonsense of showing little dots by default for passwords and making us type complex passwords over and over b/c we can't confirm what we typed?

thanks.

of course, put a checkbox or something to hide it. all is well.
Sania Mirza Naughty Dubsmash Videos
Not a spacecraft. Every mission control room should have a big red stop button called the Ebeling button. Anyone at any time can hit that button with no repercussions.
New developer tool to troubleshoot browser issues
Summer Internships: The Ultimate guide to get one
UK Government boosts GOV.UK Verify security – U2F authentication explained
DOMSnap helps you to offline web pages by persisting DOM to IndexedDB/WebSQL
I tried to write a bit about my use cases at http://m50d.github.io/2014/05/16/signs-your-java-program.htm... and http://m50d.github.io/2015/04/21/effects.html (apologies for formatting issues). Basically I find the really useful problem that advanced type systems solve is keeping track of cross-cutting concerns (e.g. database transactions, audit logging - the kind of thing you'd be tempted to use AOP for) in a consistent way.
Seems like the answer is "none" by default, from https://docs.npmjs.com/misc/scripts#user

> If npm was invoked with root privileges, then it will change the uid to the user account or uid specified by the user config, which defaults to nobody. Set the unsafe-perm flag to run scripts with root privileges.
Ingesting data with Spark using a custom Hadoop FileInputFormat
I have people looking over my shoulder all the time. Better to not even show dots. Perhaps if I was just by myself all the time I would have a different opinion.
I DO NOT think they make a crap product that doesn't appeal to anybody. YES I am arguing that they could make a better product. IMO they have solid SW but ugly functional HW.
when you go out for food or order in, do you ask yourself "have I forgotten how to cook?"

Sure in some ways NPM has packages that don't deserve the title of a package, but isn't the convenience of not having to reinvent every code worth it?
I long for a day we don't hear about "safe spaces" anymore - especially at universities.

Challenge your own beliefs, and those of others. If you think someone is wrong in their beliefs, discuss, debate and convince them so - and don't be surprised if you learn something too
I end up spending most of my working life working on other peoples code, rather than new features I end up debugging and fixing bad code. (I actually rather like it)

The majority of code I have ever seen is awful (20 years across large + small companies) but that is why I am hired to fix awful code so I am skewed. The amount of times I have seen people implement something simple, in a convoluted error prone was is unbelievable.

I know this seems ridiculous but when you see time and time again how people fail to do the simplest things it seems like a good idea.
What memorise? How about this for a dependency:

https://www.google.com.au/search?q=es6+epsilon
Also know as eating your own. Just wait, there's always someone slipping on narrative.
I would consider programming contests like Topcoder deliberate practice of some aspects of programming. When writing code at the job I spend maybe 30% writing code that does stuff and half of that is spent on boilerplate (yeah, I work in Java). The rest is spent on writing tests, refactoring, waiting for compilation or code review, etc.

Some people would say "but you write different code at programming contests"! It's somewhat true - I feel that different parts of my brain are engaged when working on a "right" edit to a massive codebase. On the other hand, from time to time there are problems that require writing few hundreds/thousands of quite dense, relatively greenfield code and then I feel that "Topcoder" parts of my brain are engaged.
So what is up with all the Chatbots? Between the two days there was at least three companies that seemed to be pushing some sort of generic chatbot. Is this really lucrative? I guess it could replace call centers with online automated help.
And that's the gist of it. Pebble is supposed to be a watch first. It's just not a very pretty one. Everyone I know who buys watches for how they look and not for what features they offer is turned off by Pebble's design and bezel.
There's a cognitive load to every additional thing you need to know to use a module. At a certain point, added flexibility becomes more trouble than it's worth.
How to Attract Bloggers and Influencers Towards Your Crowdfunding Campaign?
What3words hires OpenStreetMap founder to capitalize on North American growth
Is Node.js itself appropriate for packaging? I think maybe not. It changes really quickly, and has done for some time. Anyone coding in Node installs the particular versions she needs without regard to the distro. Most Node modules are just libraries installed in and for particular projects. There are tools written in node, but for the most part they focus on coding-related tasks that also tie them to particular projects, e.g. beefy or gulp. There's no need to install such tools above the project level, and certainly no reason to install them on the system level.

A distro that still packages python 2 (i.e. all of them) has a particular "velocity", and therefore it has no business packaging Node or anything written in it. Maybe a distro could package TJ's "n" tool (helpfully, that's written in bash rather than node), which would actually be handy for distro users who also use Node, but that's it.
> Regardless I don't think I'd ever call very elementary code a "maintenance burden". Ever.

Every line is another line that maintainers have to read and understand.

> The point being: where it's possible to mitigate and remove dependencies I think you'd be crazy not to. Every dependency you can lose is another potential build issue or attack surface you're removing from your project.

Disagree. If there are issues with npm shrinking not working then you absolutely need to resolve them - but resolving them is an O(1) problem no matter how many dependencies you have. Just like if you've already written a good general-purpose sorting function, there's no point writing a separate integer sort routine, even if the implementation could be simpler than the general-purpose one. You already depend on your packaging/dependency tools, so you might as well use them all the time.
The unit times definitely depends on how trim you keep your configure. My OMZ takes about 1-2 seconds to init on my slowest machine
Discussion: https://news.ycombinator.com/item?id=11346845

Other submissions:

https://news.ycombinator.com/item?id=11351478

https://news.ycombinator.com/item?id=11351460

https://news.ycombinator.com/item?id=11351390

https://news.ycombinator.com/item?id=11351201

https://news.ycombinator.com/item?id=11350884

https://news.ycombinator.com/item?id=11350379

https://news.ycombinator.com/item?id=11349619

https://news.ycombinator.com/item?id=11349576

https://news.ycombinator.com/item?id=11348415

https://news.ycombinator.com/item?id=11348402

https://news.ycombinator.com/item?id=11347453
Steam Locomotives
For that matter, it's probably more fun than talking to someone who already knows about Yellowstone.

"Isn't Yellowstone awesome!" "Yep, it sure is." "..." "..."
How about virtual reality virtual reality.
Unicode in identifiers is ugly. I never use that.
It depends on the rent price vs price to own. If renting is much cheaper, which it is in Vancouver unlike SF, then you are wrong. If the rent prices are equivalent to buying, like they are in the Bay Area, then you would be correct.
in Vancouver, rents are not yet as bad as purchase prices.
It's very subjective. I have a Pebble that I never use, a Microsoft Band that I occasionally use, and a very, very expensive watch with an automatic movement that keeps bad time and I never look at - but I wear all the time. Which makes it a fashion accessory first, and a status symbol second. I imagine you can ask 5 people about their opinions and get 5 different answers.