skysight-inc/HackerNews huggingface dataset:
The technique used to implement this is rather interesting, and the implementation itself[1] is very understandable.

I'm sure neither should be used in a production project.

[1]: https://github.com/snoack/python-goto/blob/master/goto.py
I don't know how Apple News works, but wouldn't they use a custom API to fetch news?
VinePoP the Best Funny Show TV
Off topic, but:

"The most expensive Pez dispenser sold for $13,000. It was a political donkey made in 1961. Only two were ever made."[1]

[1]: http://money.cnn.com/2015/05/06/smallbusiness/pez-dispenser/ (Warning, autoplay video)
Down here in India. Still connecting....
down in Hong kong
Why do we need a browser standard for built-in unobtrusive ads? We already have a standard to carry ads - it's called HTML. Adding an out-of-band ad carrying system is not only, and in my opinion, an unethical subterfuge, as it won't work against heavy-handed ad-blockers anyway: they'll just evolve to block that too.
Are you American? Do you support the mass imprisonment of your (mainly black, male) poor? Do you support the death penalty? Are you anti "ObamaCare"? Do you suppory the casual ownership of guns? Is the death of children as a direct result of pointlessly having a gun in the house an "acceptable risk"? Different cultures have different values. You can dislike it and work to correct it but your attitude makes you look like a child.
It doesn't prevent a war you start, among other things ;) Getting aerial supremacy in Afghanistan and Iraq was easy enough, but there still was/is ground warfare going on for a long time.

Aerial supremacy doesn't protect you against portable rockets or smaller AA guns, unless you are willing to just kill everything on the ground, which isn't really an option in the current scenarios. A bomber or fighter is relatively well protected against those by height and speed, close air support has to fly low and slow to properly engage targets.
I suppose that war has also changed - you can't just go destroying cities from the air to get a few insurgents when there are civilians in the general vicinity.
Most of Apple News articles actually arrive via RSS, but top tier publishers (which Wired certainly is) push articles into Apple News via a private web API.
You can do that on PC by hibernating instead of locking the screen (assuming it works on the OS and hardware being used) and then rebooting instead of shutting down after hibernation.
In my experience, blocking cookies and/or using incognito mode works to block off their solicitations. Now if only someone would find a solution for Scribd..
iOS has had the same class of bug a few times in the past. Example: http://www.cnet.com/news/apple-promises-fix-for-ios-6-passco...

Android has a similar architecture with the 'keystore' service (for keys rather than files though). Crashing SystemUI will 'unlock' the phone, but none of the keys in the keystore will be usable. Unfortunately, no apps use the keystore in practice because it's unusably badly designed. You're vanishingly unlikely to notice if you're using a phone with a locked keystore.
>Your CPU executed about a dozen instructions while the light from your monitor traveled to reach your eyes. So I think we can make meat.

Argument from non sequitur?
If you do that, you'll lose 100% of your PC's functionality, whereas iOS is quite useful in locked mode. With some neat tricks, it even fetches new mail for you, for instance: basically it encrypts new messages by encrypting them with a public key whose private key is encrypted and the key is not available while the device is locked[+]. A hibernated PC cannot do this and lots more.

[+]: technically, it generates a new AES key, encrypts the message under it, encrypts that key under a key derived from ECDH over Curve25519 with the system public key (whose private key is encrypted and inaccessible while locked) and saves the encrypted file and the wrapped key somewhere to be decrypted when it gets unlocked and gets rid of the AES key.
Interstitial Ads, Content Blockers and Google’s Strategy
WEBINAR tomorrow -intro to JFrog Artifactory 4 the universal artifact repository
I'm not sure that graph will be entirely accurate - it says the data comes from Akamai - at least for my ISP in Australia they have an Akamai node about 15km away from me (not sure of cable length). Australia definitely shouldn't be third on any graph of Internet speed.
Let’s debug Nginx, unicorn errors
Новый+взгляд+на+строительные+технологии
I would be interested in finding what those other options are, in all my career I never had any client tell me a CMS it's simple to use.
> as moores law ends and computers stop being obsolete we may get to a point where a computer could be passed down generations like a solid dining room table

I had to smile at this. I just handed down my old iPhone 3GS to my daughter to use as she's started secondary school. I bought it in 2009 and it's now on it's fourth owner - Me, my wife, her father and now our daughter so it's been used by three generations of our family. That's only 6 years, but counting. Getting it set up for her reminded me what a great device it is, and it was remarkable to me that it's still very usable even today. It still has a load of photos and videos on it (all backed up into iPhoto already of course) and it was a lot of fun going through them all together on the device they were taken with.

I think it's this last point that relates to the Pez dispenser concern. Computers are still currently highly personal devices that capture and provide access to so much of our lives, but as more of that is persisted to cloud services the devices themselves will becomes less central to the experience.
OS X had a curiously similar screensaver vulnerability back in the early days.
On 10.2.6 and earlier, attempting to submit a very long string (>65,537 characters if memory serves) into the screensaver password prompt would crash the screensaver and drop to the desktop.

Making exploitation much easier was how around the same time Cocoa widgets got emacs-style bindings like ctrl-k, ctrl-y, ctrl-a. Through combining these shortcuts an attacker could quickly and exponentially increase the input string length.

I never saw it documented online but I remember applying this same trick to logonwindow and OS X dropping into the so-called 'secret >console mode' -- full screen terminal, Linux-style.

Background: https://www.securemac.com/macosx-screensaver-security.php
I quote from the link you posted: "...opens up access to the phone application to listen to a user's voice mails, place calls, and view contact information. Attempting to go beyond that sends users back to the passcode screen."

That's the point: what you can access is not encrypted, but lots of stuff are on iOS9: photos, mail, etc. I'd say the difference in what you can access is staggering.
They already are - PDFs of the Economist appear every week on torrent sites.
According to the plaintiff's (not very detailed) theory of liability, possession or possibly knowing possession of "stolen property" (the leaked data) is all it should take, though there are some bits about inflicting emotional distress too. I'm not even sure what sort of property this is supposed to be, nor did they explain beyond their quoting of a Canadian case. For copyright, it's not really a creative work and we don't have 'database rights' like other countries do. It might have been a trade secret but it's not really secret any more. Patents and trademarks aren't even relevant, so unless there's something esoteric, I am not clear on how they can even make the 'property' part of 'stolen property' fit.

Also, I agree with you in that I doubt they could have filed a proper DMCA notice. They'd have to claim ownership of the dump itself, which they cannot. And if someone had tried that, it can actually trigger the infamous 'perjury' penalty clause because they don't own the dump. Yes, one could also 'misidentify' a work they really do own as being infringed upon by the dumps but that would never survive a counter-claim--presuming one was filed, a lot of people never challenge these because the next step up is an expensive federal copyright lawsuit. Also, they might have some difficulty explaining their 'good faith' belief the work was infringing if someone called them on it. Calling someone on it, of course requires it to actually go to that expensive courtroom, which is why it almost never seems to happen in spite of the parade of ridiculous DMCA notices. It's simply too expensive to fight over little things, at least for most normal people.
Would this be able to find near matches within substrings, e.g. a search for "house" in "this is my hiuse typo" would bring back a near match result?
I'm not sure that growing veggie burger consumes much less water than its animal counterpart.
We don't "construct it ourselves" and nobody that does it is concerned with "reducing environmental damage", "increase animal welfare" or "long term health increase" (even if they pay lip service to these).

Mega-corporations do the construction (as opposed to interest-less impartial scientists), and they do it to maximize shareholder profit.

History the world over has shown that they'd sell radioactive heroin to kids if they could get away with it and it had nice margins.

Same way they sold us tobacco, trans fats, HFCS, all kinds of BS (but higher margin) low quality food ingredients, nutricionally attrocious and health-damaging snacks, tasteless and unhealthy food substitutes to increase their margins, etc.
Down in spain, too
Yeah. It's not really old vs. new in the first place.

It's close air support vs. strategic bombing. Close air support happens from low altitude, bombing from high altitude.
You'd love Soylent Green then!
Eventually Consistent – Revisited (2008)
Your analogy is utterly wrong and broken, because you are mistakenly calling raping young boys "cultural". It's not cultural, and it's not something that happens across all of Afghanistan, otherwise all Afghani males could be considered pedophiles. It's a select group of pedophiles that have attained military status such that they won't be prosecuted for their crimes. That's not culture, that's corruption.

It's the same thing with the Catholic Church. Widescale sexual abuse of young boys by priests occurred, but not because it's a cultural aspect of the Catholic Church. It's a disgusting corruption that somehow manifested itself by pedophiles that infiltrated the Church and abused their positions, just like in Afghanistan. So there's no lens of morality to view things with. What happened in both cases is that it's a crime that has grown due to widespread corruption. I'm sure you will find that a lot of money was stolen by the Afghani military as well, but theft is not cultural as well, that's corruption and abuse.

The same thing happened in the British government where a widespread sexual abuse ring was discovered recently. Is that also "cultural" aspect of British people? No, it's corruption and a heinous crime.
Iron deficiency is prevalent in India

http://www.researchgate.net/publication/255701994_Prevalence...

B12 deficiency is prevalent in India

http://www.ncbi.nlm.nih.gov/pubmed/19676146
Yeah, I'll be writing a blog post about it and release the code then :)
Ask HN: Ruby – what algorithms would you like to see?
Hi HN community! I'm learning Ruby for a few months and I must say I'm impressed. After seeing this gem (https://github.com/kanwei/algorithms) and that it is authored 1 year ago last time, I would like to create a gem with more algorithms (especially Machine Learning algorithms).

What algorithms you still write on your own, which I could publish as a gem?
Also, this was a GSoC project, do you think this could again be a GSoC project after 7 years?

I'm thinking about implementing many of "data structure" algorithms in C, for Ruby.

Thank you!
Some governments want more lending:

https://www.gov.uk/government/news/new-40-million-investment...

http://www.washingtonpost.com/business/economy/obama-adminis...
I'm on my 3rd thinkpad. First one was a T30 that I got 12 years ago. I used it for 4 years and my mother for 4 years after that. I still have it and it still runs but it is now made out of parts from two T30s, the original, whose screen died, and another that had a bad hard drive. My T60p I used for 4 years and then my mother for 4 more years, it had to have its cpu fan replaced once about 6 years into its life, otherwise it is sitting here next to me in perfect working order.

I'm 3 years into a first gen X1 Carbon, it runs perfectly. The only annoyance is that I can't get at the battery to replace it. I'd be a bit happier if it had a 2560x1440 screen since then there would really be no need for an upgrade ever again, but as it stands I expect to be able to use it for at least another 5 years.

Build quality on the newer T series feels like shit to me, but I haven't spent enough time with them to be able to judge and they are so new we don't really have any data yet.

edit: seeing the link to the potential retro thinkpad, that I would get without a second thought
War Is Boring have been running a series of articles over the past year or so about the effectiveness of the A-10 for CAS, and about how the F-35 is a "jack of all trades master of none" compromise that is also terrible at CAS.

They paint a compelling picture that the Air Force is stumping to ditch CAS as "unsexy" so they spin as hard as they can against the A-10.

Example: https://medium.com/war-is-boring/now-the-u-s-air-force-wants...
People collect autographs from the stars. Wouldn't it be cool to collect brainscans as a unique autograph? Kevin Spacey, thinking in-character to Frank Underwood or Stephen Colbert, as Stephen Colbert (pre-Late Night).
I love your first question.

How many lives can be saved right now and in the next X years just because you achieve this cooperation? How many things the other side has to accept from you that they consider really bad? Do you help the boys by not agreeing to cooperate and going home or do you help them more by accepting what happens and providing medical/psychological help afterwards? How many of them are even like that? Maybe most of them also disagree with raping boys but somehow can't enforce it? Can you even choose to not cooperate or will the people above you not allow it? It is very complex and should not be answered in general. Sometimes even every decision is bad.
How many of them are even like that? Maybe most of them also disagree with raping boys but somehow can't enforce it?

I'm happy that you open up for that question, because that's really the point. When should we stop? Thanks!
American courts are not bound to follow any Canadian rulings.

They can choose to cite anyone who agrees with them as support for their position, no matter who it is, though. So they can certainly write something saying "look, everyone else agrees with us too" but this is not at all the same as when they're trying to act according to the past decisions of the courts that supervise them.

In one case, they're just looking for people who agree. In the other case, it's more or less mandatory. Yes, they can try to avoid following the precedent if they want, but the judges who supervise them can overrule them if they're out of line.
There's a lot of fake posts on r/sex and r/relationships too.
But SF is already overfull with techies talking about how to make the world better why swerving away homeless people lying on streets. Why do you think joining the crowd and making real estate prices even higher is the best application of your abilities?
Great write-up :-) I hope you'll considering explaining that last bit of code some more later? I think there may be something missing from the parenthesis here:

Well the trick here is to normalize our states into two parts

* a global offset that is the minimum offset of the states
* the shape of the shifted states (we already saw that there was around )

With this parametric DFA, transition will tell you, given a “shape”, what shape to transition two, as well as how much you should add to the global offset.
47 years after Dijkstra's "Go To Statement Considered Harmful"[1], the Structured Programming Wars flare up again on Hacker News :D

Neat hack, though.

[1] http://www.u.arizona.edu/~rubinson/copyright_violations/Go_T...
Jesus, why do Android engineers keep getting security so wrong so often? And they even bragged so much about how L is (finally) getting storage encryption by default, which they promptly killed after the Nexus 6 launch (because apparently they are stupid and launched the device without hardware accelerated encryption, even though the chip supported...ugh).

We still haven't heard anything about it being re-enabled in Android M again (or ever). Also, I remember reading about Android <4.4 (optional) storage crypto being seriously broken as well.

It's unfortunate because many people probably still believe they are getting default storage encryption. Heck, all the new stories on encryption and the FBI still (falsely) mention how Android is encrypting the storage by default. It reminds of media sites saying Skype is P2P and secure against eavesdropping years after Microsoft announced it changed its infrastructure to a centralized wiretap-friendly model, just like everyone else.

The gap between iOS and Android in terms of security (and privacy, too) seems to only be increasing every year. If they keep this up I may finally switch to an iPhone after years of being an Android-only user.

https://medium.com/@FredericJacobs/apple-ios-9-security-priv...

And that's even without mentioning the horrible update problem that Android has. I've just learned to live with that by installing custom ROMs after my phone stops being supported a year into its life-cycle, which is obviously not ideal in terms of security nor is it something I should have to do to get better security.
> The internet was still great ... until around the time we got Google.

Depressingly accurate.

Alas, the probable trajectory is not all-out war on Google,
but rather a number of plausible threats followed by a hammering out of market boundaries followed by a tacit non-compete between the players.
Soylent and powder is really not the way, if you ask me. What your parent said is to moderate the use of meat in the USA.

I live in China, and here we eat one or two different dishes with meat at each meal, often the meat is so fat that it is translucid. But then we just pick a few pieces and a whole 5 person dinner amounts to just 300 to 500 grams of meat. And we never eat it "plain and juicy", it is always cooked with veggies, mushrooms, etc.

It is very different from the extremes I heard about in the US: on one side you have those 1kg/pers steak houses, which are meat orgies that should only be allowed once or thrice in a life. On the other side all veggies variants, and soylent. Is there really no way to take food as a normal thing in the US? I.e. something you enjoy for quality and diversity, not something you either fear like spiders or devour like the beasts we are not supposed to be anymore.
Learn Number Theory This Week on Code Monk
Malnutrition is incredibly common in India.

http://wfp.org/content/malnutrition-widespread-indian-childr...

> Roughly 42 percent of all Indian children under age 5 suffer from malnutrition, a sobering reminder of the persistence of poverty and hunger in the world’s largest democracy,
To add to that, even if a company is willing to sponsor a H1B visa there's no guarantee that would actually get one. It's lottery because there are too many applications. Without an advanced degree the chances are 40-50% I believe.

I agree that going to university in the US is easiest way, but it's also quite expensive. And there's no guarantee that you would get a visa after that. In fact, many of my friends were forced to go back to their country after finishing their full degree in the US because they couldn't get an H1B, and that includes those who went to highly-ranked universities.

IMO your best chance (besides marriage) may be to 1. Get an advanced degree and 2. Build a highly valuable skillset that US companies are looking for. App/Web development is great, but there are many people who can do that and you'd need to be extraordinary for any startup to go through the trouble of sponsoring an H1B. On the other side of this are PhDs who solve hard problems at big companies. These are more likely to get a visa (in fact, the US is very good at taking away all the best researchers from other countries ;))
That's also a good point. Gaining access to trade routes and natural ressources might be more important than protecting innocents to the agenda givers.
Generate JOOQ Classes with Vertabelo and Maven
If someone makes same mistake twice - you relieve him of duty. That is as old principle as they come. Things get done by people that do different mistakes every time.

http://www.theatlantic.com/magazine/archive/2012/11/general-...
The data is not that readily available. Most Banking reporting is very far from realtime, it's "eventually consistent". Not because the Banks are (necessarily) hiding anything but due to the complexity of the systems.

Regulators in first world countries already require accurate and timely reporting. It's really not as simple as just publishing a data feed. That's why things like Basel II(+) exist.
Skype Is Down. What Next?
It seems Skype is down globally and cancelling two meeting this morning has exposed the unusual dependence on a single point of failure.

How come there aren't aren't any global multi-platform alternatives? Or are there?

Google hangouts is so atrocious that it cannot count.
Out of curiosity, what is the status bar to the left of every comment for? Is it some sort of admin tool available to pg's account?
>The internet was still great... until around the time we got Google.

Not that I necessarily agree with your assertion, it's worth emphasizing the reason that Google took off: search just plain sucked before Google came on the scene.

Personally, my only real issue with Google is the decline in precise search result quality since they got rid of the + operator.
down in Indonesia as well. You can still access web client https://web.skype.com/en/ for normal chat
Sorry, but this is terrible advice. You should not be counseling someone to lie when they enter into the US. You literally could get them banned from entering the US for many years, or even permanently, if their lie is caught by the agents. And these agents are trained to catch liars, so if the OP uses your advice and gets caught up in his lies, he could be turned away without any hesitation.
Hey, awesome! And it produces a true goto as well, working on the bytecode level. I wonder if there's a way to remove the extra nops?

This is really, really useful for doing language-to-language translation. Without the ability to arbitrarily branch from basic block to basic block, it's possible for the basic block graph produced by a program in one language to be simply inexpressible in your target language. You end up having to fake it with a while loop and switch statement, which has horrible performance implications.

(Emscripten has some exotic algorithms to try and express the source program's basic block graph using the target language's structured programming constructs. This is vitally important to make goto-less Javascript perform well, but it can't work in all cases, and some C functions will force Emscripten to fall back to loop-and-switch. And, of course, these functions are typically the ones which have been carefully hand-optimised for speed...)
Do I really attempt to legitimize anything?
Most of the links to non-Apple downloads of XCode from https://www.baidu.com/s?wd=xcode%206.4%20%E4%B8%8B%E8%BD%BD seem to have been taken down.

If anyone else is interested, the SHA256 of XCode_6.4.dmg is fc25d75f23d82084dd740d7e29d0e5adea96dd600d1e19bc86408c133d1edf66 but you should verify that yourself as Apple don't seem to publish it (!).

This is one of those cases where a torrent + webseed would absolutely shine. Many torrent clients will try to prioritise peers that are closer geographically to speed up downloads.