skysight-inc/HackerNews huggingface dataset:
[ edit: this apparently does not get the annexes ]

For those who want to grep it ...

download ...

wget http://www.mfat.govt.nz/downloads/trade-agreement/transpacif...

unzip ...

unzip TPP_All-Chapters.zip

convert to text ...

pdftotext "0. Preamble.pdf" 0.Preamble.txt

pdftotext "1. Initial Provisions and General Definitions Chapter.pdf" 1.InitialProvisionsandGeneralDefinitionsChapter.txt

pdftotext "2. National Treatment and Market Access for Goods Chapter.pdf" 2.NationalTreatmentandMarketAccessforGoodsChapter.txt

pdftotext "3. Rules of Origin and Origin Procedures Chapter.pdf" 3.RulesofOriginandOriginProceduresChapter.txt

pdftotext "4. Textiles and Apparel Chapter.pdf" 4.TextilesandApparelChapter.txt

pdftotext "5. Customs Administration and Trade Facilitation Chapter.pdf" 5.CustomsAdministrationandTradeFacilitationChapter.txt

pdftotext "6. Trade Remedies Chapter.pdf" 6.TradeRemediesChapter.txt

pdftotext "7. Sanitary and Phytosanitary Measures Chapter.pdf" 7.SanitaryandPhytosanitaryMeasuresChapter.txt

pdftotext "8. Technical Barriers to Trade Chapter.pdf" 8.TechnicalBarrierstoTradeChapter.txt

pdftotext "9. Investment Chapter.pdf" 9.InvestmentChapter.txt

pdftotext "10. Cross-Border Trade in Services Chapter.pdf" 10.Cross-BorderTradeinServicesChapter.txt

pdftotext "11. Financial Services Chapter.pdf" 11.FinancialServicesChapter.txt

pdftotext "12. Temporary Entry for Business Persons Chapter.pdf" 12.TemporaryEntryforBusinessPersonsChapter.txt

pdftotext "13. Telecommunications Chapter.pdf" 13.TelecommunicationsChapter.txt

pdftotext "14. Electronic Commerce Chapter.pdf" 14.ElectronicCommerceChapter.txt

pdftotext "15. Government Procurement Chapter.pdf" 15.GovernmentProcurementChapter.txt

pdftotext "16. Competition Policy Chapter.pdf" 16.CompetitionPolicyChapter.txt

pdftotext "17. State-Owned Enterprises and Designated Monopolies Chapter.pdf" 17.State-OwnedEnterprisesandDesignatedMonopoliesChapter.txt

pdftotext "18. Intellectual Property Chapter.pdf" 18.IntellectualPropertyChapter.txt

pdftotext "19. Labour Chapter.pdf" 19.LabourChapter.txt

pdftotext "20. Environment Chapter.pdf" 20.EnvironmentChapter.txt

pdftotext "21. Cooperation and Capacity Building Chapter.pdf" 21.CooperationandCapacityBuildingChapter.txt

pdftotext "22. Competitiveness and Business Facilitation Chapter.pdf" 22.CompetitivenessandBusinessFacilitationChapter.txt

pdftotext "23. Development Chapter.pdf" 23.DevelopmentChapter.txt

pdftotext "24. Small and Medium-Sized Enterprises Chapter.pdf" 24.SmallandMedium-SizedEnterprisesChapter.txt

pdftotext "25. Regulatory Coherence Chapter.pdf" 25.RegulatoryCoherenceChapter.txt

pdftotext "26. Transparency and Anti-Corruption Chapter.pdf" 26.TransparencyandAnti-CorruptionChapter.txt

pdftotext "27. Administrative and Institutional Provisions Chapter.pdf" 27.AdministrativeandInstitutionalProvisionsChapter.txt

pdftotext "28. Dispute Settlement Chapter.pdf" 28.DisputeSettlementChapter.txt

pdftotext "29. Exceptions Chapter.pdf" 29.ExceptionsChapter.txt

pdftotext "30. Final Provisions Chapter.pdf" 30.FinalProvisionsChapter.txt
But it sounds like your model isn't a general graph? DAG and tree isomorphism is in P (and pretty straightforward), and so is tree edit distance...
The big constants used in the formula

void to_bin(unsigned char c, char *out) {
*(unsigned long long*)out = 3472328296227680304ULL +
(((c * 9241421688590303745ULL) / 128) & 72340172838076673ULL);
}

are much more obvious when they remain in hex:

0x3030303030303030 -- the byte array of '0's encoded as ASCII

0x8040201008040201 -- the magic

0x101010101010101 -- only 0 or 1 to be added to the appropriate array element

Therefore, more readable:

void to_bin(unsigned char c, char *out) {
/* endian dependent, works on x86 */
*(unsigned long long*)out = 0x3030303030303030ULL +
(((c * 0x8040201008040201ULL) >> 7) & 0x0101010101010101ULL);
}

The function is of course endian dependent (I'd add a comment about that fact in it) and the explanation of the quoted function on the page starts at "If you shift the the constant by 7 bits to the right." The page is a result of an edit where the older function (that ends with + c / 128;) was explained first.

Still, nice.
I wouldn't say they're very upfront about it. If it's not truly ad-free, they shouldn't be marketing it as such. Including it in tiny text nobody reads isn't being upfront.
Borrowing While Poor
Troubleshooting High I/O Wait in Linux
Accoring to [1] revoking is considered an exceptional use case and will not be automatically performed on early renewal.

[1] https://community.letsencrypt.org/t/maximum-and-minimum-cert...
Agreed. The archive uses the first line of the newsletter as the summary. I've been using the same tagline as the first line. But, for future newsletters, I think I'll make the first line more descriptive. E.g., for the most recent: "Maternity leave, art collections, firearm dealers, New Guinea languages, and aircraft-wildlife strikes." Would that be an improvement?
only if you write in APL is this acceptable
Naming Colors
My point exactly :)
Windows 10 Universal Apps and the Windows App Store have built in support for Trial modes: https://msdn.microsoft.com/en-us/library/windows/apps/mt2196....

Much more honest than "Free!/Get" and an IAP.
Keep in mind that if the cable is stronger, a strong yank will be more likely to break the next weak thing, which might be the USB port of whatever device you are using. I've seen phones where the micro-USB port was just held on by the solder pads, with no special strengthening or through-hole mounting.

Since the device is likely more expensive than the cable, this might not be desireable.
Institutionalisation can be avoided. Properly staffed and trained community mental health services could have intervened while he was still living in his apartment, and probably kept his lease going while getting his treatment back on track.

It's a crying shame to let yet another mentally ill person end up in crisis. He could have easily died or been severely injured.
H+Google+παραδέχεται+ότι+έχει+10.000+παράγοντες
I do use a phone. 80c wide is fine.
If only more people mutated thei package managers..
You have to pass TPP to know what's in TPP.
Prototyping with Facebook Origami
Plug and Play All Your Observable Streams With Cycle.js
Only Islay malts are typically smokey, and it is certainly an acquired taste.

Malts from other regions of Scotland vary a lot, and as a point of interest, many are matured in bourbon casks because it imparts sweet notes.
Software developers describing their work in 1973
The title of this is a bit misleading. It looks like it just reviewing cables. Plenty of them are positive reviews and he recommends the product.
Modular smart phone PuzzlePhone has launched an Indiegogo campaign
I'm curious- has anybody compared this official text with the leaks to see how close they were or what they may have changed in the last few weeks?
I use Nix on Mac OS X, but would probably use Guix on Linux since it uses Scheme. I suspect they're complementary.
Microsoft's Excel Team Talks VB vs. JavaScript and Mac Woes in Reddit AMA
Here is a paper describing a "port" of the UK Nationality Act to Prolog:

http://opim.wharton.upenn.edu/~sok/papers/s/p370-sergot.pdf
It's interesting to see how little has changed in 40 years.
Interesting idea, but I not sure of its practicality, there is nothing to stop the developer to add classes that don't follow this convention.
Santander Bank Distributed Ledger Startup Challenge
Where or how we can find team to JV with?
Say in our case we are good at tech and in find of team who either have great idea or can market things we make.

Whats the way to find team who is looking for thing we have.

Currently we are team of 5 developers:

1 Node.JS/Meteor.JS/Angular.JS Developer
2 Laravel Developer
1 Web Data Scrapper
1 Android Developer

Currently we are doing freelance projects to fund ourselves.
Side by side we are working on things which if marketed properly can be disruptive.

We are from India.

For a start we are tying a smallJV project with one of my friend who has developed Air Pollution Sensors. We are developing the backend to store data and Mobile app for the same.

P.S How to find team to JV with.
Microservices architecture: Nirvana or Nightmare?
Web.com vs. GoDaddy
You don't have to be a unicorn
Introduction to Bayesian Probability and Bayes Theorem
It has the same problem, along with not easily being able to replace 1/2 of it.
Some value as a recommendation engine if cross-referenced with restaurants: Food/atmosphere is good enough to distract people from their phones.
I think there are a ton of parallels between making money creating mobile games and making money in the arts. I think part of the disillusionment with budding game developers is that their core craft is still a very much in demand. The core of what they do, programming, is worth a lot of money to a lot of companies, so they assume they should be making a certain amount of money from their efforts.

The demand for musicians is substantially lower and most people understand early on that their chances of succeeding in the music business are slim and it will be a massive amount of work to even give it a fair try.

If I ever got into game development, I'd treat it exactly as I treat music -- as a serious hobby.
Software Engineer Traits
Protonmail under attack
I've been playing with Cycle.js and was struggling a little even though I have previous experience in RxJS but after going through this article it really cleared up some fundamental aspects to Cycle.js :)
Yet anyway as a python user I would expect to receive python2 version when installing python-sphinx.

In Fedora we have (most recent change in packaging guidelines):

Source rpm: python-foo which generates
binary rpms: python2-foo and python3-foo where python2-foo has virtual provides for python-foo, once Python3 will become THE default python by the upstream merits we will change python-foo provides to python3-foo package.
Match Report – Chelsea 2-1 Dynamo Kiev
Author: GRIFFIN, Richard (LGL/TLU) is all I could find.
100% describes me. Having grown up pre-google, and now operating in a post-google world, it frustrates me to always know exactly what I need to search for to get a factoid, but never remembering the exact details of the factoid itself.
Watson, Siri, Google Now, Cortana and the Future of Enterprise Search
How many of these are the government's fault?

https://en.wikipedia.org/wiki/List_of_accidents_and_disaster...
What did you find? There's nothing that interesting that I could see.

8.\ Technical\ Barriers\ to\ Trade\ Chapter.pdf
Title: TTP TBT Chapter Text - Jan 2015
Author: LESLIE, Susannah (TND)
Creator: Acrobat PDFMaker 11 for Word
Producer: Adobe PDF Library 11.0
CreationDate: Wed Nov 4 19:59:17 2015
ModDate: Wed Nov 4 19:59:40 2015
Tagged: yes
Form: none
Pages: 38
Encrypted: no
Page size: 595.32 x 841.92 pts (A4) (rotated 0 degrees)
File size: 201868 bytes
Optimized: yes
PDF version: 1.5

13.\ Telecommunications\ Chapter.pdf
Title: Legal Scrub Telecommunications NZ Review
Subject:
Keywords:
Author:
Creator: Acrobat PDFMaker 11 for Word
Producer: Adobe PDF Library 11.0
CreationDate: Wed Nov 4 20:02:38 2015
ModDate: Wed Nov 4 20:02:54 2015
Tagged: yes
Form: none
Pages: 22
Encrypted: no
Page size: 612 x 792 pts (letter) (rotated 0 degrees)
File size: 127798 bytes
Optimized: yes
PDF version: 1.5
That's a lot of overhead for some otherwise very simple work in Photoshop.
Yes. Reminds me of the story about a game dev trying to publish on mobile, failing, then blaming the customers for buying coffee.

https://www.techdirt.com/articles/20151026/04132732631/ceo-m...

Mobile games are shit, "free", and casual.
Very Christian and Catholic societies fought one another with absolutely no other motive than territorial gain. That's the whole history of Europe from 450 AD to WWI.

Also, the Nazis thought they were doing God's work; they had written on their belt "God is with us" (Gott mit uns), which they did not invent (the origin is ancient) but did not suppress either.

And of course, the original idea of the "chosen people" and the "holy land" is found in the scriptures, that the Nazis subverted for their own use.
using pdftk, I see little more than author's name, chapter/bookmark titles, and dates. Anything else in there?
Linote is a new app uniquely combining note-taking and outlining features
BTW, thanks for putting me on track to notice one interesting aspect about H2S:

"In 2015, hydrogen sulfide under extremely high pressure (around 150 gigapascals) was found to undergo superconducting transition near 203K (-70 °C), the highest temperature superconductor known to date."

https://en.wikipedia.org/wiki/Hydrogen_sulfide
Guile actually looks good when used declarative!
for file in *.pdf; do pdftotext "${file}"; done

Less HN clutter ;)
Angular GraphQL Todo App
But people have rights. They have a right to not live in an institution if they don't want to. You want to disregard that right, because you think you know better for them than they do. Many of these people aren't dangerous and don't have infectious diseases, so there's no public health need to lock them up as you're suggesting.
NYT VR: How to Experience a New Form of Storytelling from the Times
Yep. I've shared my side projects here and allowed them to get off to a great start.

http://hellobox.co (create your own HackerNews clone)
http://sideprojectors.com (a market place for side projects)

I think sharing "relevant" projects for the audience is quite important. The subreddit r/startup is also quite good or r/sideprojects if you are looking for other places to share your projects. ProductHunt is also quite popular thesedays of course.
Wow. So this would mean that it is illegal to even require something like a safe haven for your own data?
Thanks for this, I really enjoyed the article.
Its what I have been thinking of for a while but quantified much better.
It gets rid of the goldarn blanks in the filenames.
How you can predict the future estimates based on recording now?

What makes software estimation so difficult is that it's like maze. How long will take you to complete a maze?

You don't know what's coming up in a maze, and you cant give an exact estimate. And trying to work out details to work out what is coming up, takes almost as long actually programming it.

This is why I promote the idea that variation should be inbuilt into methodology. Remove the assumption software can be accurately estimated, build methodology around the fact it's hard to predict.

I use guestimates of 'effort', but I don't hold people to it.
The Dos and Don’ts of Minimum Viable Products
A Supermarket for Geeks
Sure, Numenta seemed heavily focused on temporal sequences, but in "On Intelligence" Hawkins describes a more general picture. Prediction should be done not only on the past but on the context. The context includes other variables that also have to be predicted (e.g. predict the next word in a sentence based on a prediction of where this conversation is going)

I think that predicting the next word in a sentence does actually get to the point of the issue, which is why the Hutter Prize [0] is defined the way it is.

The human brain does: (1) operate sequentially on words (2) keeps an internal state that contains semantic information about what's been heard/seen (3) learns the semantic representation (4) is excellent at predicting the next word in a sentence, and continually does so (5) it's difficult to argue it's not learning to predict the next word in a sentence (ie optimised to that task).

Looking at that list, I'd say the only differences between what the brain is doing and what algorithms like these (in general) are doing are just the particular algorithms for learning the semantic representations in working memory and performing prediction, and less importantly the form of the input (humans have more cues available, including taking actions to get more information)

(Admittedly parsing a complicated sentence can require jumping backwards, but spoken language will have a very limited nesting level, and this just means including a small piece of the input in the working memory.)

In the last week I've actually been reading about algorithms for this (though I didn't know NuPIC was applied to sentences, thanks very much for mentioning it). Aside from the range of RNN-based systems that mietek mentioned, here are a couple more recent papers, related to word2vec, on representing the semantic and syntactic content of a sentence as vectors: [1], [2]. Both are based on optimising for prediction of the next words in a sequence. Now I agree it's dubious to try to reduce a sentence to a small fixed length representation, whether that's e.g. 2400 real numbers in [2], or a pattern of neuron activations in a RNN, but from the experimental results (which admittedly aren't always so great) they seems to be encoding something meaningful, though far too much information gets thrown away.

[0] http://prize.hutter1.net

[1] Quoc V. Le, Tomas Mikolov, 2014, Distributed Representations of Sentences and Documents, http://arxiv.org/abs/1405.4053

[2] Ryan Kiros et al, 2015, Skip-Thought Vectors, http://arxiv.org/abs/1506.06726

Edit: added a bit more about context
Is there a reason why the US are negotiating separately a transpacific and transatlantic trade agreement ? The fact that, except for the US, no one knows what will go in both agreement until the end of the negotiation seems pretty odd.
Deploying MongoDB, MySQL, PostgreSQL and MariaDB ’s MaxScale in 40min
This alone is a strike against humanity: Now local patent laws that are widely criticized are even protected by international contracts (and thus have to be implemented by all signers -- and can not be changed, even the US can not change it's laws or regulations, when the top courts want to change patent ability regulations, they can't.).

Is this about "free trade" or about profit-maximizing and guaranteeing for some big corporations?
NixOS has soemthing similar https://nixos.org/wiki/NixOS:Containers
Interactive Geeky Events Holiday Calendar
I don't think you need to worry about the suffering of current mobile app devs, I think these kinds of articles are more about shrinking the pipeline of new junior devs and devs transitioning in based on old information.

Much of the bootcamp/training/etc programs work on presumptions that may not apply by graduation about gaps in the market that require less than average experience.
This is already happening, even with agencies like the FDA in place. It's called off-label use:
http://www.cancer.org/treatment/treatmentsandsideeffects/tre...
Berlin IoT startup relayr raises $11M from Kleiner Perkins and others
OpenSUSE’s Leap of faith to version 42.1
> most fuckups that ever happened

How about not blatantly ignoring all the human misery caused by failed extreme free market experiments, such as Pinochet's Chile and 1990's Russia?
I understand the sentiment, but I think you are underestimating the subset of the population that traditional units "pander" to - including, anecdotally, me. I'm 23, far from elderly, and like many of the people on this site, work with computers for a living; I'm not uneducated or anti-intellectual. But I have minimal background in the physical sciences, so never got much exposure to metric units that way, and living in the US, I've never really needed them outside of that. Sure, the metric units are for the most part inherently superior (although I'm a fan of degrees Fahrenheit [1]), while especially for cooking the traditional ones are a mess: e.g. the relationship between tablespoons and teaspoons and the two types of ounces is something which, since I haven't invested that much time in cooking either (I'm working on it), I still haven't memorized. Yet the traditional ones are still what I and many others have been almost exclusively exposed to.

Sure, I could go out of my way to buy utensils and look up measurements in metric. On one hand, it would be a bit more forward thinking, especially since I want to try living in Japan at some point and there would be one less change to worry about. On the other, here and now, it would make it harder to talk about recipes with other people.

But mostly I just don't care. They're just units. If units "ruin" a book for you then you should reconsider your standards of evaluation.

[1] http://lolsnaps.com/upload_pic/FahrenheitVsCelsiusVsKelvin-6...
Multi-Level collapsible tree menu with CSS
Google Brillo? "Rename libchromeos repo to libbrillo"
Show HN: Gitbao, Deploy Go Web Servers with 1 Click
for file in *.txt; do mv "${file}" "${file// /}"; done
How does your friend make her business work? I'm sure a lot of people would be interested in that too.
Very interesting--I noticed the same thing when shopping Amazon for air compressors specifically. Decided to roll the dice and received an undamaged Makita... and did not circle back to write a review.
Low just like Western Union and Moneygram got it ;)
Context Driven Design
If you are ashamed of America you should emigrate, continuing to be a hypocrite while profiting from the system is untenable if you are actually believe what you say. There are plenty of countries where it is a lot easier to become a citizen than the US.
Design Patterns for Internet of Things Applications – Part 1: Problems
I think there has to be some correlation between the level of effort required to obtain a piece of information, and the importance our brains assign to it for the purposes of recall.

I know people who can recite verbatim something they studied in a library 20 years ago but have to Google the same recent data each time they need to reference it.
My guess is that in the future distro/OS maintainers will just incorporate this into the as normal packages. I signed up for the beta, but was bummed that it's not yet supported on OpenBSD. I thought I would implement it, but because of dependencies that don't support OpenBSD(psutil) I couldn't.

I commend their efforts, and I'm sure this will get more people to deploy TLS. But I don't think we're the intended audience of their auto client. I just want a key that's signed, and like you I'm not willing to let soem script touch my configs. My Apache configs are highly customized, so they'd probably break anyways.

I'm going to check out what diafygi has written.
True. Carrying the device my be enough to constitute being "on the person", where people argue that is the line to be drawn.
Transcription effort (seeking volunteers) from scanned printed copies here: https://github.com/XioNYC/StarRaiders
Here's a fancier, slightly less-magic, version. How to compile is left as an exercise for the reader (hint: Haswell or newer, requires BMI2 instruction set):

void toBinary(uint8_t byte) {
uint64_t zeroes = *(uint64_t *)"00000000";
uint64_t resultStr =
zeroes | __builtin_bswap64(_pdep_u64(byte, 0x0101010101010101ULL));

printf("hello: %.*s\n", 8, (char *)&resultStr);
}
Enough so that you can actually run an automobile engine on CO.

Here in Finland, during second World War when petrol/gasoline was in very short supply, even army vehicles would run on CO gas. Petrol was only used for starting the engine.

Starting a truck involved first chopping little pieces of wood to a reactor attached to the car or lorry, lighting them and creating a fire with suitable under-supply of oxygen so that the reactor emits CO. When the gas is at right concentration to burn, start then engine with petrol and then switch to CO gas.

This is El Kamina, a modern hack made by the current Prime Minister in the country:

http://jalopnik.com/el-camino-driving-jalopnik-endorsed-bada...

Regarding its emissions, don't ask. Also, don't bother about burnout contests, it is not very powerful. But it runs on renewables.
Big data in genomics: The $1k genome has arrived
I've found that steaming them makes this much more consistent: https://www.americastestkitchen.com/recipes/7279-soft-cooked...

Sorry for the paywall (I hate that!), there's an official youtube video you can watch for free, but I can't find it now. (Youtube history doesn't have search!)
I have maybe five ideas for decent projects, and I work on two. Why should I bother starting with a huge list and whittling it down?