skysight-inc/HackerNews huggingface dataset:
SQLCipher – Full Database Encryption for SQLite
I understand this and said that I'm not saying there was any bad intend. I'm just saying that some people will feel offended by this, so if this gets attention there will be people pointing this out.

This makes me wonder why I'm getting downvoted though.

Is it because people don't believe it's right that I point out that people might get offended by this?
Or is it more because people don't like that other people get offended by this?
New York 2017 Show a new look (Find out for yourself)
7 Funny Marketing Ideas We Got from Holiday Emails This Season
Toptal Design: Landing Page Inspirations
Hit F7 for caret browsing.
Burpsuite has interception proxy and runs on Java.
President-elect Trump is main reason for cybersecurity worry
Cryptographic Right Answers
SLIME, the Superior Lisp Interaction Mode for Emacs
Yes, there were conspiracy theories on some other site about education and how Chinese/Indian student could pay the oversea cost of university in the UK when "only the 1% would be able to afford that in their respective countries", so it is impossible that the UK universities budget was affected at all by them.

That's 25 million people and the UK has prestigious universities attracting said people.
Nothing wrong with turning patients into customers. Lower prices will only happen for the young and healthy. Higher prices will be the only possible future for the old and those with pre-existing conditions. The insurance companies are not going to cover a particular class at a loss. They'll just walk away, as they should.

The ACA is going away. Please don't use it as a crutch.

Lower premiums mean higher deductables. We see that now and we saw it before the ACA. Healthcare costs $18,000 per person this year regardless of how you divide the premium and deductable. Take away the young and the price goes up for everyone else. And this is with a cap in place by the ACA. Only going to get worse with the regulations removed.
> That doesn't sound unreasonable.

According to the article, the 780 million pills were hydrocodone and oxycodone pills. Those are highly powerful and addictive opioids. 72 of those per inhabitant of WV per year seems insane to me.
From the FRP literature, an observable can be viewed as a stream of promises, something like:

{ "value" : ..., "next" : new Promise(...) }

So it's basically a linked list of the current value, and the next value which is a promise for the same type of structure.
The article on the brazen bull (link in wiki article) is simultaneously one of the most entertaining and most horrific articles I've ever come across on Wikipedia
I did a brief survey before deciding to go with skip lists, and found them to be easier to grasp and reason about.
(e.g. there is no need to balance trees; a skip list is very similar to a linked list, and linked lists are very simple).

I remember somebody saying that "in a sane world skip lists would always have been discovered before red-black trees".

This historical accident (skip lists were only discovered 1989; while rb-trees date back to the 1970s) is probably the reason why skip list use is not more widespread, and seen as somewhat exotic at times.

(AVL and Splay-trees also predate skip lists.)
You may try https://rakam.io
Shameless plug: I'm the maintainer.
Skip Lists. Seem handy for increasing access times on ordered lists...

Any Lispers care to comment?
The UK government wants to pass a new law called 'Section 40'. The Spectator editor explains why this is a serious threat to press freedom. Seems to me that this might interest some folk on HN (my idea, not theirs)

Here's the request: "The government’s online form is here, but it’s about as user-friendly as a tax return. The alternative is to email presspolicy@culture.gov.uk asking the government to repeal the appalling “Section 40” and desist from further harassment of the press (which means no more Leveson inquiries).

But even composing an email requires more time than people have. Hacked Off’s website has a template-response form allowing its activists to send a pre-written submission to the consultation. We’d run one here, but we don’t have any programmers on staff. If anyone reading this can create an equivalent, perhaps embeddable via iframe, then please drop me an email: editor@spectator.co.uk.
I know that GitLab use it, so hopefully one of the devs can pop up and say how it handles, but that's a vote of confidence in my book.
> Patients could have legit pain, and then go to multiple doctors, without the others finding out. Then they could sell those to other people, or use them all themselves

I can't imagine many people that have real pain bad enough to need opioids are going to be selling them to other people.

For people that really need them to manage pain, they can literally be a live saver.
How to Write Clean CSS in 10 Simple Steps (Pt1)
'Mama' Rand would be so proud of you :-)

Seriously though, 'rational' people can also be misinformed by a large corporation and a system which does not necessarily incentivize getting people healthy, and only wish to make their shareholders happy. The 'market' will always try to optimize for profits even at the expense of everything else.
Can't you use bluebird promises with fetch to add cancellation? I haven't tried it. I suppose you may want abort semantics but those appear to be impossible to implement in a generic way.
Practical Naive Bayes – Classifying Amazon Reviews
It's not individual savers, but institutional investors that collectively hold ~$100tn, as estimated by the IMF. They're risk-averse, which leads to rent-seeking. That's $100,000,000,000,000. I don't get to write that many zeroes very often.

The article argues that we would all be better off if that money were spent on the common good -- infrastructure, green tech, education, even ag & manufacturing -- rather than being put into buying up what used to be the public sector and putting a price on it without improving it.

Of course, how to make that happen is a hard question.
You can always use curl. Chrome allows you to copy paste a full curl command (with all the arguments and cookies) to issue an identical http request.
The cost of technical debt is obviously much harder to quantify than the value of new features (though most companies don't even do that well), so most people don't try and that's why we end up constantly prioritizing features over paying down technical debt.

However, tasks that improve engineer productivity, like speeding up the test suite, or adding automated tests, removing unneeded code, a badly needed refactor on a critical piece of code can not only makes new features quicker to develop, but also makes the technical improvements quicker to develop. Features have the opposite effect.
The pseudocode + example given for the initial implementation of 'insert' doesn't seem right, no 'below' connection is made between the two '13' nodes.

The way to fix this would be to let 'insert' return the node inserted at the given level. There already are a few returns in the 'insert' pseudocode right now, but it doesn't seem like anything is being returned right now.

Something like this:

-- Recursive skip list insertion function.
define insert(elem, root, height, level):
if right of root < elem:
return insert(elem, right of root, height, level)
else:
if level = 0:
new ← makenode elem
old ← right of root
right of root ← new
right of elem ← old
return new
else:
if level ≤ height:
new ← makenode elem
old ← right of root
right of root ← new
right of elem ← old
below new ← insert(elem, below root, height, level - 1)
return new
else:
return insert(elem, below root, height, level - 1)

Or more simply:

define insert(elem, root, height, level):
if right of root < elem:
return insert(elem, right of root, height, level)
elif level > height:
return insert(elem, below root, height, level - 1)
else:
new ← makenode elem
old ← right of root
right of root ← new
right of elem ← old
if level > 0:
below new ← insert(elem, below root, height, level - 1)
return new
could someone change the url to remove the m. prefix?
Agree, nice article! Afraid other than your posts making it to front page, I don't see how to keep checking:

-- can't find an RSS feed for your blog
-- ioloop.io has a blank homepage
-- ioloop.io/blog gives a 404

So where's the best place to keep checking?

Thanks!
I personally blame my parents.
It's good to see support for obsolete features and weak crypto being removed.

Does anyone know why there is no support for Curve448 being added?
There is a draft RFC at https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves-00 describing this, together with SHA-512.

Previous versions of OpenSSH have already supported the privately defined "curve25519-sha256@libssh.org" key exchange protocol.
SQL Server can do something similar, although they introduced it later (think SQL Server 2012).
Sounds sensible to me. For longer tasks, I also think it's useful to say (where practical) "I'm really not sure because there are too many unknowns but if you let me work on it for X hours first I can provide a more accurate estimate then". I think the important points are to always caveat estimates, build risks + unknowns into the estimates, update estimates as the situation evolves and never allow yourself to commit to an estimate with too many unknowns.
>> Now, let me give you two numbers ...

Mark Blyth recently mentioned[1] two numbers that are particularly effective at explaining where money is being "saved".

> In 2015, Wall St. bonuses - not regular compensation, bonuses - seven years after they were bailed out with the public purse totaled $28.4 billion. Total compensation paid to every single person in this country who earns minimum wage: $14 billion.

[1] https://www.youtube.com/watch?v=VWMmBG3Z4DI#t=1104
Provided the content hasn't changed. Sometimes you have a bug that goes away when you refresh the page.
It could be sustainable but far from optimal. How long can we live at the edge of dysfunction?
GoAccess – Visual Web Log Analyzer
How it handles that traffic? It would be great if they could share the architecture because using Mysql for analytics is not easy, you can't expect Mysql to handle concurrent queries that needs to aggregate billions of records when I visit the dashboard.
> One every couple hours perhaps

'Instant' release pills usually last for 4 hours. There are also 'extended' release formulations that generally last 5-7 hours (despite the longer claims of manufacturers).
Unfortunately it can't boot the Fedora/RISC-V[1] disk image out of the box because the supplied Linux kernel doesn't have all the config enabled[2] for systemd to run properly :-(

It gets as far as the "Welcome to Fedora 25 (Twenty Five)!" banner but then gives a bunch of systemd errors around "Function not implemented". inotify seems to be the main one.

[1] https://fedoraproject.org/wiki/Architectures/RISC-V

[2] https://github.com/rwmjones/fedora-riscv-kernel/blob/master/...
WordPress (the self-hosted variant). I use it to run my business website, which includes a blog.
How-bc-could-hurt-some-first-time-homebuyers-by-helping-with-down-payments
I disabled the use of custom fonts and have to say that the material style of Google makes websites unreadable. Just like this framework does.

This is because the span inside an icon has a huge font size. And they use ligatures for characters (so I'm seeing the huge ligatures).

Why would someone choose ligatures over CSS classes?

Edit: I was thinking about problems with screen readers and so on. A CSS class is just styling, but what Google uses is content.
> As an undergraduate, I spent a lot of time surfing and very little time cramming for tests

Web surfing or wave surfing?
'Upset' Linus Torvalds gets sweary and gets results
Why? What makes you certain of that? I'm not suggesting that Dan and Scott stop moderating, just that it's possible to make a clear, coherent statement about bigotry in the moderation guidelines.
Why do you think these are rational people making rational decisions? Do you know what addiction is?
Good to know I am not the only one craving for this.
Personally, because of the quirks and complexities and shear volume of javascript material and the amount that practice has changed while the web has not (e.g. jquery was the way, now react or maybe react native), I'd not recommend Javascript as a way for a person to step into learning to program.

In particular, for someone who knows some HTML and CSS but is struggling with Javascript, it seems that Javascript is not the right fit.

Not Javascript:

A more academic CS approach in a MOOC:
https://www.edx.org/course/how-code-systematic-program-desig...

The related book: http://www.ccs.neu.edu/home/matthias/HtDP2e/

A programmed learning approach: https://learnpythonthehardway.org/

Something a bit more opinionated that involves Emacs:
https://aphyr.com/posts/301-clojure-from-the-ground-up-welco...

From the realm of the wierd: http://poignant.guide/

A good book that sort of changed the way programming books are written (other Head First Books are also good): http://www.headfirstlabs.com/books/hfjava/
Let me try to clarify: if you have rules prohibiting the creation and sale of substances solely for personal consumption by competent, consenting adults, then you have the primary tool needed to conduct a War on Drugs. I think that it is a mistaken notion to imagine creating this power, and saying "don't worry, we'll only ban dangerous things, and not harmless things, because we'll know better." I think that is definitely not the case. Yes, many people want a different mix of things banned and permitted. But people should not fool themselves into thinking that is what they will get, because a power like that is pretty much always used for more things than its creators intend. We cannot simultaneously prohibit things, and not enforce that prohibition through, ultimately, threats of imprisonment. If the maximum penalty for a drug charge is a ticket, then the prohibition on drugs will simply not be effective.

The War on Drugs has involved arresting and imprisoning a lot of people, because a lot of people really want drugs. Once the soft enforcement mechanisms (reprimands, misdemeanors, fines of legitimate businesses) fail, then if you really want to suppress the act, you have to ramp up the level of force. The reason that fewer people are imprisoned under FDA rulings is, I would say, because the FDA is more lenient, and because the things it bans are far more niche and less desired. You can have effective, or you can have gentle, but you cannot have both.
This is a really great resource. Thank you.

I'm just getting started with experimenting in this topic, and it's great to see something that isn't about classifying flower petals that is approachable!
You are indeed right, and I encourage anyone interested in computing the precision metrics to do so.

The focus of this post is the GoLang proxy used for the caching. It's actually used in a CI / CD environment, but I'm finding it incredibly useful for a whole variety of tasks.

Regarding the precision metrics, you can find all the information required here http://scikit-learn.org/stable/tutorial/text_analytics/worki... to compute the precision.

In the scikit-learn article the classifier scores over 90% precision, so I'd expect it would be possible to do the same.

I'll be posting more about this over the xmas period, so I'll write a part II, where I compute the precision metrics.

Another thing worth noting is that it's not caching the HN comments, while it is using the reddit comments. Despite using tfidf, this still completely skews the results towards reddit as opposed to HN. So that's something else any interested reader can look into.

Thank you for pointing this out.
GitLab Inc is a US corporation: https://about.gitlab.com/2015/07/01/Operating-as-GitLab-Inc/

You might consider installing your own instance of GitLab hosted in a country that you prefer.
There is no future in a strict adherence to one programming paradigm. Any sufficiently large program will have parts that are expressed best in different paradigms. One part of a program wants to be functional, another imperative, another object-oriented, etc. We need less languages that make an opinionated statement about the one true way and the one true paradigm. A paradigm is a tool of expression, and we need to be able to use the right one when needed. We need general-purpose, extensible languages.
It is kind of a "too little, too late" problem. C added complex numbers a decade after C++ spun off, so the two languages have different approaches. And C99 complex number support was slow to be added to compilers. On the UNIX side, it was never added to Solaris 9 (EOL 2014); Microsoft finally added Visual Studio support in 2013. And even if your compiler supported it, code generation quality has been historically bad. Some things were never added to the standard, like printf support, so complex double is still a lesser native type than double.
Galaxy Note 8 con batteria prodotta da LG? – HWBrain.it – HWBrain.it
QE, in conjunction with the Fed dropping FRR to 0% for 6 years, was a direct response to the financial collapse of 2007-8. Obviously policymakers weren't going to explicitly say - "wow guys we screwed the pooch on this one, time to lower rates and inject liquidity to help banks (and the business/individuals they lent to) clean up their balance sheets full of mispriced, risky assets and avoid financial catastrophe" - but sometimes you need to read between the lines.

There is being (equilibrium) and there is becoming (cycles away from/towards equilibrium). The economy is always becoming, but it is striving towards a pure state of equilibrium where supply and demand in every market are working to equal one another, but never getting there.
It is fairly hard to measure quality and I guess to some extent quantity of ideas coming from individuals and I agree Da Vinci is vastly overrated.

But do you honestly think there are individuals alive today making extreme broad breakthroughs like Isaac Newton?

Part of the reason I believe previous scholars were so successful in coming up with a plethora of ideas is that it was easier to observe things. For example Galileo just needed some really good glass aligned properly to see planets but today the amount of manpower needed to see into the cosmos far exceeds a single individual and their budget. To detect neutrinos required a multi story tank filled with water with extreme precision instruments. Meanwhile Newton took some glass (glass was damn useful back then... it was like the computer for innovation) and noticed light could be broken into colors.
New Theory of Gravity Doesn’t Need Dark Matter
But even composing an email requires more time than people have.

Without passing judgement on the merits of your campaign, if you can't even make a good enough argument to convince people bother to copy, paste and sign an email why should anybody take you/this seriously? Or looking at it from the other side of the table, why should I care about the opinion of what is just half a step above a spam-bot. If I was a government minister I'd pay a lot more attention to 2000 genuine emails form genuine people than I would to a 20000 message 'DDoS' attack.
a $20 fee to remove the filtering? Seems an incredibly rent-seeking proposal.
How to map a Map [ES6]
both! I went to UC Santa Cruz.
That's a good point and I don't really have an answer to it.

If a global company is only selling imported product produced elsewhere shouldn't they be paying higher taxes which will make the play ground even. I don not think they would like to lose access to a market just because taxes are higher. After all they too need consumer to sell products too.

In current state globalization is able to produce cheap services by exploiting worker from both sides of globe developed and developing. You can see that in Amazon(developed) and Flipcart(India). In the trend continues purchasing power of masses will erode to a point of no return.

Secondly true costs are hidden so if a company is selling cheaper cars by not using proper waste and environment management. They are essentially discounting the future to provide cheap services today.

And you are right this is not possible without having a global governance with a long term view.
Why keeping the original source in memory? Why not saving it to disk?
AMP, iOS, Scrolling and Position Fixed Redo – the Wrapper Approach
I'm self-taught. This was the first book that actually answered my question "but how does it work?". I'd been getting incomplete and misguided answers for years when I finally stumbled across this book in an HN thread, and I was finally able to put the full picture together.
Ethereum and Bitcoin: What’s the Difference?
What is the problem with cron? It's just too old for you guys?
Not yet, I choose not to prioritise it. It could be the next feature if that's something people want though. I can propose you to create a topic and vote for it on https://productpains.com/product/oh-hi-mark. This is where I keep track of the next features.
The dishwasher was intended as an example for carpentry: standard kitchen cupboards etc are made in multiples of 300mm. It's the same for things like floor tiles, doors, etc.

No farmer or brewer deals in units that are easier to half in American rather than metric units. They use tonnes, hundreds or thousands of litres, and large areas. Outside America, they don't need to convert between units of the same type: no acre-feet, bushels, pounds, tons, or all that crap.

Calling them "French units" sounds like xenophobia. The American system was never international, and the British system didn't extend that much further than the French, at the time of the empire.
Oh, we definitely need to fight political correctness.

Your god-given right to be a rude motherfucker to whomever you feel like, whenever you feel like, without being subjected to any social censure, must be defended. I just don't understand why we can't call a _______ a _______ in polite company anymore.
> State Rep. Bill Chumley, R-Spartanburg, said the Human Trafficking Prevention Act would require manufacturers or sellers to install digital blocking capabilities on computers and other devices that access the internet to prevent the viewing of obscene content.

> “If we could have manufacturers install filters that would be shipped to South Carolina, then anything that children have access on for pornography would be blocked,” Chumley said. “We felt like that would be another way to fight human trafficking.”

Is this South Carolina or North Korea?
Non-mobile link: https://www.facebook.com/notes/kent-beck/mastering-programmi...
Vesper Open Source #1: The Boring Part
Why not just tax all computers sales for $20? It would be much more cost effective than developing a really terrible piece of easily hackable filtering software that would have to be deployed on every OS in the world to comply with the law, not to mention the costly workflow of collecting the tax. (Ignoring the obviously strange "pay for speech" game happening here that is just ODD)

This seems like a really complicated, silly approach to solve a very simple problem - funding the Attorney General's Task Force.

Kickstarter would be a more effective governance strategy here. Hopefully lawmakers AND the citizens of South Carolina can see how terrible this would be for their state. I have no doubt North Carolina PC stores are excited, though.

In general, I'm upset to see these micro-targeted pieces of legislation that also contribute a great deal to erosion of constitutional protections without an afterthought.