skysight-inc/HackerNews huggingface dataset:
Ask HN: HN APIs (or lack thereof)
I looked to see if this was asked before, but could not find anything. Are there any plans to implement APIs on HN for logins, votes, comments, etc.? Each application I use (iOS) constantly breaks, because they all scrape HN.

If this has been asked and answered before, please point me to the right direction. Thanks!
That doesn't protect you from truncation attacks: almost no server out there sends a close_notify before closing the TLS connection, so few tools will throw an error when you receive an incomplete file.

It may be hard to exploit, but executing a script before you have completely downloaded it is simply a really bad idea.
Learnings from successful remote team leaders
I got a custom built 13.3" Sony Vaio S. It's got 12GB ram, 1TB disk, Intel i7 at 2.9Ghz, 1600x900 display, Blu-Ray Reader/DVD-RW Combo, 3G modem, gbit ethernet, both VGA and HDMI output, 3 USB ports (2 of them 3.0) SD Card and MemoryCard and cost 987 GBP plus tax which I got back on my way out. Oh and it's got very good Linux compatibity out of the box. Resumes from ram without a hitch, I only reboot when I need to get something done with the kernel. I'm writing this while listening music via my bluetooth headset. Battery sustains around 2 hours of work, but it used to be better. It was leaps and bounds ahead of what Apple had to offer with its Macbook PRO line at the time at 2/3 of its weight, and I fear still is.

I'm looking at Dell's machine and yes it's got a higher resolution display (but is it better at that display size? I hope!), and presumably an updated processor, but that's it. No nic, no disk spinner, less ports, no VGA, etc. Call me old-fashioned but I can't consider a laptop without a couple easy ways to get data on/off (e.g. ethernet ports, disk spinners) as a development workstation.

Top that and I'll pay you.

And shame on you, Sony, for not being able to properly sell today's market leader that you came up with two years ago. Shame on you.
GCHQ and NSA hacked SIMs to spy on billions of phones
> It generates pretty verbose (and ugly) commit messages made of json.

This was fixed recently. [1]

> I haven't tried subtree yet, will do that next :-)

The git-subrepo intro has a pretty good overview of the issues with git-subtree. [2]

[1] https://github.com/ingydotnet/git-subrepo/issues/40

[2] https://github.com/ingydotnet/git-subrepo/blob/master/Intro....
32GB might be somewhat excessive for mainstream developer laptops, but 16GB is not. A pair of VMs (for various MSIE versions, isolated dev environments, ...), an emulator or two (Android, iOS, …), 2-3 browsers open (with many tabs in at least one of them) and an IDE and you've blown way above 8GB working set without working on any big dataset.

I'm currently on an 8GB machine and regularly have to pare down my working set to avoid swapping.
Donnatella: An advanced Linux file manager
> so why is their service life so much shorter than some planes have had?

The lifespan is typically 20 years unless there is a catastrophic failure (huricane, typhoon, manufacturing error, etc). There are some major differences in how turbine blades and airplane wings behave:

- A wind turbine blade suffers gravitational, centrifugal and aerodynamic loads about 10 times per minute, 2500h - 3000h/year. These forces can be up to 20kN[0]. (vs. plane only accelerates for take-off and landing very few times a day, and is otherwise is a relatively steady load regime)

- Blades are now much bigger (http://images.gizmag.com/gallery_lrg/siemens-75m-tubine-blad...) and weigh between 6 - 30 tons.

- Wind turbines are often in remote locations, and maintenance can't happen every time they come to an airport (predictive diagnostics by embedding sensors in the blades is starting to change this)

Generally, fibre reinforced polymers are great materials for the job and there are a variety of applications for the recycled fibres (filling for new blades, downcycling, architecture, etc [1])

[0] https://www.sintef.no/globalassets/project/deepwind-2012/dee...
[1] http://www.sciencedirect.com/science/article/pii/S0301421512...
I also dislike the very term 'unemployed' because it is meaningless and derogatory.

If I have some savings and want to work on my own projects for a year, I am what - unemployed?

They want to view people as some sort of robots with their terminology and primitive models.
The official name of Io.js in English is Io.js as it's a name, it is stylized as io.js. In Canada here, we have a company Telus, which stylizes it's name as TELUS. However, when discussing the company in non-marketing environments, such as Wikipedia, it's called Telus. The rules for English trump a creators stylization rules in many situations.
I don't understand why a bot is so suspicious. It could have simply been algorithmic trading.[1]

[1]: http://en.wikipedia.org/wiki/Algorithmic_trading
Well, they have no clue how to handle this. I just upvoted your other comment, and I suggest that anyone reading this does the same for it, my comment and chinathrow comment above. All three seem to have been bashed, and even if this might be a legit downvoting, I tend to think this is a bit much of a coincidence - let's show them it won't work.
Are We Becoming a Part-Time Economy?
> Or as another example I once rented a VPS for a month from Russia. I paid in bitcoins because it was $3 or $4 so I simply didn't care if the VPS provider didn't deliver (submitting a chargeback request for such a low amount is not worth my time)

If this is a real use case (and frankly how often do you want to pay for something that you don't care whether you'll actually get?) you can buy a prepaid credit card (over the internet, from a reputable provider, using your normal credit card) and use that. No reason that couldn't be smoothly automated (indeed I believe some bank accounts will already let you generate an additional card number with a limited amount of funds). I suspect there's just very little demand for it.

> I didn't fully trust the merchant with my credit card info (how securely do they protect/encrypt it? could they be hacked? etc).

Your bank covers you if they are though.

> You completely avoided the main point of my example #3.

If people use bitcoin then people will use bitcoin sure. But that applies to any tradeable object. If enough people start giving each other baseball cards at christmas then people will start paying with baseball cards. What's the specific advantage that would make people want to give bitcoin?

> your cute story doesn't mean credit card fraud is a solved problem. In many cases the customer has NO RECOURSE for fraud. For example you cannot chargeback a transaction made more than 60 days ago. Some fraudulent merchants pretend to act legitimately but stall shipping (eg. claim delays, issues, etc) for 60 days specifically to exploit this fact

Most reputable card issuers will cover you for longer than the contract says. And even if not, 60 days of cover is still much better than the 0 days you get with bitcoin.

> Or if your PIN code is stolen and a fraudulent transaction is made with the PIN code, you will typically be held liable

Again, you're contractually liable but in practice reputable banks cover you at least the first time. Whereas if your bitcoin private keys are stolen, the money is gone and you'll never get it back.

> Give your money to a fraudster and he will run away with it, no matter if its bitcoins or dollars.

What's the non-fraudster option with bitcoin? Who's offering FDIC-protected bitcoin accounts?
How to find true love, the love of a lifetime
Can't have people just running around disregarding the rules. Think how disruptive that would be.
Yeah, lots of this is just swapping out one awkward keyword for another.

If I were doing this I'd also get rid of the * around the hash keyword and either just go with the keyword 'hash' or replace it all together with an operator.

It's almost like lispers want the opposite of java, long verbose keywords and syntax and then as short as possible variable names.

Why not switch the parens to something that's a single keystroke? Why not get rid of the parens in most cases? In some cases this seems to make the parens problem with lisp even worse?

(loop for key being each hash-key of *hash*
using (hash-value val)
when (< (length key) 2)
do (format t "~A~%" val))

with 5 sets of parens turns into

(doeach ((key val) *hash*)
(when (< (length key) 2)
(princ #"${x}\n")))

six sets

the former also required fewer shift-character keystroke combinations

( ) * < " ~ %

while the new syntax ends up with

( ) * < # " $ { }

this feels like my hands are wrestling, not typing

this just seems to be moving things around, not really improving anything

I'm not a lisper, so somebody correct me if I'm wrong
Hell, OSX has been UNIX03-registered since Leopard/Intel: http://www.opengroup.org/openbrand/register/brand3555.htm
Ask HN: Do forced startup ideas work?
Let me begin by clarifying the term 'forced' - in this context I would describe it as any idea that was artificially realized against a criteria, rather than an idea that naturally evolved as a need to solve a problem. For example;

Forced: There is a lot of growth in X market, lets think of something new within that area

Natural: Booking taxis is such a pain, wouldn't it be nice for them to see my GPS coordinates - Uber is conceptualized.

That being said, how many of you have successfully built a startup based on an idea that was retrofitted to a set of criteria's (eg. Paul Graham's startups we'd like to fund essay) rather than as a solution to any of your problems.

Is a natural idea more likely to succeed than an artificial one?
But most people already have IE installed!
I wouldn't rely on this. My LINE was set to a prepaid number that I had let expire on purpose. I thought I would be fine because I also had a username set. When someone else registered my number, I lost about 90% of my contacts. The only contacts I had left were ones that I was actively in conversation with. I believe this was actually a bug, but there isn't much recourse if it happens to you.
Layers – A simple WordPress site builder
Shameless plug, GroupDocs Cloud Viewer API should support what you require, there's a 14 day trial to allow you to try it out, I work for GroupDocs.
As a startup founder, I think it's a great opportunity, to improve my future apps. Well done fellas.
It's suspicious because the money didn't seem to come from anywhere, the BTC didn't seem to go anywhere, and most importantly, it was doing trades while MtGox was offline for everyone else - which implies it was running internally at MtGox, which hints at it being used to artificially drive up the price of BTC.
The NSA and its allies stole the keys to your phone's security
No, the official name for io.js is io.js, it is explicitly not Io.js. You can tell because this is what the owners of the project have clearly stated. Linguistic rules (which are rarely in fact rules), have nothing to do with it. If I tell you my name is "bob" and not "Bob" then I'm right because it's my name, you don't get to enforce your own preferences, just because of the language you speak.
Question: Does anybody have experience on using C2 vs. D3 with Clojurescript on a production-level application? I have only toyed with C2, but not to the level to which I'm confident on pros and cons, and whether the pros are really pros on the long term...
"Ooops. Something went wrong. Try again?"

Nah.
Thanks for the feedback. I've had problems with this in HP and Levovo laptops before.
It doesn't justify the NSA/GCHQ's actions but the fact these keys could be stolen like that mostly means mobile communications were never really secure in the first place.

I am every day more appalled by the scale of the data breaches we learn about every week.
Hence the 0.5% fee. :)

I suspect this is the reason Bitpay is able to waive fees completely: they do not take responsibility for unconfirmed transactions.

> Note: Regardless of the transaction speed settings, a fully paid invoice is credited to your merchant account after the transaction has accrued six confirmations. [1]

[1] https://support.bitpay.com/hc/en-us/articles/202943915-What-...
Your chances are seriously increased if you are addressing a real and validated market need such as "Booking taxis is such a pain" and you get the method to solve the problem right e.g. "wouldn't it be nice for them to see my GPS coordinates".

In any case, conceptualizing is merely the beginning of building a business around an idea.
> And shame on you, Sony, for not being able to properly sell today's market leader that you came up with two years ago. Shame on you.

Unless you consider Japan. Sony has never been very keen on marketing their top stuff in the US and Europe; it's mystifying.
If it's a change that breaks code using the API, shouldn't it be a major version - 2.0? If you update the minor version all your changes should be backwards compatible. If you can't run an existing program, that's not backwards compatible.
Well, we already know that the current form of capitalism isn't perfect either. So I don't think there is a need to prove anything for every possible case. Also, we can make exceptions when we get there (even though I don't believe they need to be made).
Yup, cloud is a major motivation for SGX (see e.g. https://www.usenix.org/system/files/conference/osdi14/osdi14... for an example of how it might be put to use). I think it is good idea for making it more difficult for malicious insiders to mount an attack, but any claims of it protecting you from the NSA are laughable given Intel will probably hand over keys to them anyway.
> The difference is after that 10 minutes, the transaction is settled. The money has moved. What you have with a credit card in 10 minutes is a promise that the money will move, possibly days or even weeks later.

In a spherical-cow sense bitcoin is better. In practice, if I'm paying with amex I tap my card on the reader and the waitress hands me the cup of coffee in seconds; if I'm paying with bitcoin I'm standing there for half an hour.

> The bitcoin can be moved again (spent by the receiver) after 10 minutes. Try that with money you received by a credit card payment.

If a friend's sending me money it's by "faster payment"; theoretically it can take up to 2 hours (similar to bitcoin's max times), in practice it's a couple of minutes. My bank's happy for me to "spend it instantly" in terms of not charging me an overdraft fee (in fact I can spend it before I get it, as long as I put the money in by the end of the day), so I have GBP1500 (let's call it $2500) of float.

There are edge cases where this doesn't work - more than $2500, or paying internationally over the internet. But they really are edge cases; the problems bitcoin solves are problems I've never had, and I suspect that's true for the vast majority of "normal people".
Afforestation where? Where do you find land that's not under pressure for productive use or unsuitably dry?
Show HN: Gifpeek, an infinite animated GIF stream (Sometimes NSFW)
It all seems rather desperate to me and unimaginative (children will love climbing over it!). This is not a structural way of disposing of these blades, it's a public relations effort.

For me, at least, it's not working.
Yep. Prices of both of those are far more stable in USD than in bitcoin.
A versioning convention widely used in the software industry. http://semver.org/
But if you were to call yourself bob you should not be surprised when everyone mispells your name as Bob.
Maybe it panics because of lack of comments
Doesn't work, I get kernel panic :(
US and UK accused of hacking Sim card firm to steal codes
No, it shouldn't be surprising, but they are not correct, because bob is my name (it isn't).
Mastering Git subtrees
The problem isn't detecting whether 99% of transactions will confirm.

The problem is preventing someone from ordering $10,000 worth of gold from a site that uses Stripe with Bitcoin payments enabled. Sending a paying transaction to Stripe, who confirms it within a minute, and simultaneously mining a block with contains a transaction that double spends the bitcoins sent to Stripe.

Stripe is now out $10,000. You receive your gold, sell it to your local bullion dealer for $9,500.

Of course, for Stripe, there are various hackish ways around this problem, like defining a maximum amount of, say, $1000, so that the above attack requires the attacker to mine 10 blocks instead of 1 (ie. repeat the procedure 10 times), in order to earn $10,000.

But they don't really solve the fundamental problem of accepting unconfirmed Bitcoin transactions.
I'm in this situation too.

We're at an impasse now too where my mom wants a new laptop. She doesn't want to learn anything new (Mac OS) and both she and I don't want to deal with Windows 8+. I'm skeptical about just installing Windows 7 on a newer laptop (...driver/hardware support).

If I could get her to switch to Mac (she's in her 70s), I could set her up with a non-admin user account and set it up easily so that I can securely do remote support. The funny thing is that she would probably do it if not for my brother, who does support for a living and doesn't want to learn to fix Macs...smh
Two simple things you could do:

1. Insert each negative example six times into your training set (or weight negative examples accordingly, ie use #positive matches - 6 * #negative matches / (2 * positive word count) as your score

2. Take your distribution of sentiment scores as calculated over held out data (or the training set itself, but be warned that this will skew your results), and calculate the mean and standard deviation. Normalize your results by subtracting the mean and dividing by the standard deviation. You can then say that positive sentiment is > 0 and negative sentiment < 0, with the absolute value being the strength of the classification.
OK great- that was exactly what I was asking. The 'backup' files they ask me to make re-installs the original state of the machine- I assume that includes crapware. Thanks.
If you buy a computer from the Microsoft Store it is guaranteed to have no crapware, trialware or any other junk on it. If you buy a computer from somewhere else and take it to the Microsoft Store they will place a clean operating system on it for $99.

For technical people of course, it is no big deal to install the OS yourself, but I have to say it was nice getting my last HP notebook without a single thing I had to uninstall.
Uber is the hottest startup right now. Interesting analysis.
The value of these things is a Keynesian beauty contest. If enough people decide that Bitcoin is a valid currency then it is a valid currency (just like baseball cards).

I think that would be bad for society. Any new value in the bitcoin ecosystem increases the value held by the early adopters - who are mostly drug dealers or other criminals, and the rest are the miners who enabled them. (bitcoin does have some advantages for some legitimate use cases, but the biggest advantages were for the criminal use cases).
How we are able to offer 5TB for free
No more product placements on YouTube
Make your solr listen to localhost, and put a reverse-proxy system like nginx to access it via web and control authentication from there.
The Z-Wave protocol transmits keys in plaintext when setting up secure connections between devices on the mesh network. The rationale is that this should be a one-time event when installing the devices, while also requiring very close proximity to them. Most device don't even have the capability to run securely. It's typically only door and window locks.
Extraordinary Lithuanians
DevOps in the Legacy Application Suite
Word counting can be pretty ropey but there are some things that you should check out. Of the 1800 negative words how many of them actually occurred in the documents?

Or you could simply count negative words as 0.44 rather than 1 (800/1800 if those numbers are correct).

Is "not" a negative word? This might be causing problems with things like "This cake is not bad" which has positive sentiment even if it has 2 negative words
> freedom of speech

I do not think that word means what you think it means.
Windows 7 is going to be absolutely fine. If it's what she's used to, and you have the license and media, just go ahead.

And something like TeamViewer does the remote support nicely.

I'm all for Linux otherwise, but in this use case I'd let old people use whatever keeps them going.
I'd really like to see this question answered as well.

Also, I'd really like to know: is the credit card fee still ~2.5% if I receive 50 cents USD using credit card via Stripe? Or is there an additional, flat rate fee?
bup can mount the backups with FUSE too. It also have a web interface with WEBDAV support, which our graphists uses to recover their old creations.
How to Get Instant Auto Loans for Bad Credit?
Coffeescript 1.9.0 contains a backwards incompatible change
“I preferred self-publishing to working with the world’s biggest publisher”
That's the third leaker, not the second one.

1. Snowden

2. Unknown NSA leaker

3. Unknown National Counterterrorism Center (NCTC) leaker
A new theorem: Triplets
How to set up a secure Raspberry Pi web server, mail server and Owncloud inst
Maybe, you just do not want to work.

Actually, it is the most natural desire for the human as it is for animals from which we have evolved - to not want to do anything when you do not have the urge.

Animals can look very busy, but if you change their evolution-formed instincts that force them to do so, they would stop immediately and would just lie down and do nothing.

It is interesting to note that having a requirement to work may be just a drawback of the current society. When the AI eventually arrives, there may be no such requirement anymore.
The Internet of Things: current state of play
Only using match-counts is imo a bit simplistic (don't get me wrong, simplistic can be good). Do you have any information like "how many times does this negatively annotated word occur in a document"; then you can use a simple calculation (like cosine-similarity) to calculate a measure of matching with said case.

Also, consider using bigrams (i.e. word-pairs) to do sentiment matching which will make matching more precise.
Switched to Linux a few months ago after I got tired of running out of memory and CPU power on a 16GB i7 MBPr. My productivity has increased 2x. All those little customisations to OS that you end up doing when using Linux really do end up making your life a lot easier in the long run.

I think Apple is on the same path as Microsoft was more than a decade ago. They are losing developers.
I wouldn't capitalise it either, but do you refer to Yahoo! and NVIDIA consistently with their own branding guidelines?
And I'd call a computer with 2 hours of battery runtime a desktop with a UPS. :) I jest.

That said, I think the Dell is okay in terms of connections. There's seemingly half a dozen video output plugs at the moment, including one that's been around since 1952[0]. I'd rather buy 4 adapting cables than have more than one video out on a subnotebook.

Getting data on/off seems easy: there's wifi, there's 3 USB ports for everything else[1]. Spinning (optical) disks? Really? Might as well put a LTO tape drive in there. I'd have like Ethernet, too, but in those cases where you're most likely to need it (at home, in the office), it's easy to stash an adapter.

[0] I'm not even kidding. http://www.dansdata.com/gz061.htm
[1] Also bluetooth. And there's an SD card reader, if your development process includes taking photos. External optical drives are like, 20 bucks.
But Eplehuset are just authorized resellers, not Apple's stores. We also have Humac and Eplehuset in Denmark (however, Humac just bought all Eplehuset's stores), and that's the same story.
I'm thinking of doing the same for my y510p. Will the reset windows option keep the recovery partition so I can go back to factory state if I need to do so?
Discussion on the same point: https://github.com/iojs/io.js/pull/278

From the discussion: "semver-major" label was removed because it is a bug fix: Node 0.10 has the new behavior, and also WHATWG compliance.