skysight-inc/HackerNews huggingface dataset:
>So even HN submitters will linkbait us now?

Pretty much how I feel about this article.

Here's a large excerpt(almost half of the article):

"
As a big fan of the KLF I once learned that it’s great to burn great things up. At least then you can quit while you’re on top. I think I left TPB just a little bit after that top, and not when it’s as shitty as it was when it was closed today. It feels good that it might have closed down forever, just a real shame the way it did that. A planned retirement would have given the community time and a way to kick off something new, something better, something faster, something more reliable and with no chance of corrupting itself. Something that had a soul and could retain it.
"

This is basically Peter Sunde lamenting the loss of values in the current iteration of TPB and stating he would be glad if it ended now.

I'm not making any judgement as to whether his viewpoint is valid/warranted or not, but the implication this title gives(given that we know Peter Sunde was a former TPB employee) is that ThePirateBay is closing forever and this is an article explaining why.

That's not what this is. There is nothing concrete here regarding TPB closing forever.

This article provides no new information save the fact that this former contributor is discontent with the direction TPB has gone.

Please note, I still find this article interesting; it is interesting to note how a key contributor during TPB's infancy feels about the site. The title remains misleading though.
Check out thrust as well:
https://github.com/breach/thrust

multi-platform and easily bindable to any language
"Its about using minimal appearance chrome to strengthen UI context."

Keeping chrome to a minimum and adding context are great design principles. But I wouldn't call it material design. It's called good design. I don't think we need a new name for fundamental design principles that have been known for years. Just calling it "material design" attracts the copycats, who would rather copy the look than understand the fundamentals. We should simply talk about good design, and encourage people to study timeless design principles.
Keep an eye out for Part 2 coming next week.
That's pretty ridiculous. Literally the day after I start working on my Elm project in a couple months...

Anyway, the changes here do look pretty nice. Looking at the docs, it seems that they've added more examples, which is always appreciated! I still don't like the impurity that comes with the Signal.Channel, though... not that I have a better idea.
I used vim for a long time on servers, and only there to make quick edits and wasn't very good at it.

I bought a new laptop recently and just didn't install any text editors. I had a deadline a month away and a project where I was familiar with the existing technologies.

That motivated me enough.

Add a bit of vimgolf and a lot of googling and here I am using vim for everything, everywhere. I occasionally catch myself writing emails in vim and then just copying them into Mail before I fire them off.
>I see google trying to blur the lines between that, but why is it necessary?

So that people don't need to install, maintain or update applications, and can access them everywhere in the world using just a web browser? And because they're also more secure than traditional applications that you need to install on your PC?
Show HN: Get Wikipedia's featured article on your Kindle daily
"Being forced to meet a quota just means it feels like I'm wasting days that I could be productive doing the things I'm actually being paid for."

But surely if you want to get your work/life balance right, you would naturally end up taking ~25 days off a year without feeling like you're forced to? I guess it varies from person to person.
Grace Hopper's Birthday
It was her job in the first place to keep this from happening. The fact that this report even needed to happen is a result of her committee's inability to provide the oversight that they are tasked with.
Or the other other way around: Star Trek style replicators will never see the light of day. As soon as the technology even REMOTELY gets close, everyone with a financial interest in keeping physical goods scarce (basically all manufacturing companies), will collectively come down on it like a ton of bricks. If you think the record and movie industry lobbying effort against sharing is powerful, imagine basically every manufacturing company in existence joining in.
No more than Apple is "largely manufactured in China"?
I actually think technology can improve the quality of journalism. Not necessarily by making great stories better (though the NYT is definitely proving that's possible with some of their interactives) but by making reporting in general cheaper. If a great CMS can make it possible to produce all the economically required filler in half a day, that leaves time to do actual investigative reporting later.

Buzzfeed is definitely pushing this a little bit, though I do think they have a bit too much baggage to get far enough with it.

(PS. If anyone wants to help tackle this problem, we're hiring @ Cafe: http://cafe.com/careers)
It's possible, but it's really just a name change. And the `Either` monad is used almost entirely for error handling anyway, so Result is a name that many Haskell/Elm users could come up with on their own.
Also, if you're making a desktop app you don't have to use HTML/JS, why on earth would you use those if you don't absolutely have to?
Correct. He has done time and decided to move on with his life. Stopped being involved with TPB in 2009 except for occasionally blogging about it like he did here.
In C++, apart from the placement new that others mentioned, it is possible to globally replace new and delete by writing the 4 functions

void* operator new ( std::size_t count );
void* operator new[]( std::size_t count );
void operator delete ( void* ptr );
void operator delete[]( void* ptr );

(from http://en.cppreference.com/w/cpp/memory/new/operator_new and http://en.cppreference.com/w/cpp/memory/new/operator_delete)

If you do it that way, you do not need to change any of the code that calls new and delete.

And I disagree about the 'relatively' in "I know that in C it is relatively easy to define your own memory management functions"

It is easy to piggy-back on an existing memory allocator, and it is fairly easy to make an implementation that works from a single thread, or an implementation that performs horribly from multiple threads, but it is not easy to make one that performs well from multiple threads and is useful.

[That "and is useful" is from the hacker in me. It is trivial to make what I think is a conforming implementation that multi-threads exceptionally well along the lines of (I am guessing at the prototypes):

void * malloc(size_t t) { return NULL;}
void * calloc(int n, size_t t) { return NULL;}
void free(void *m) {}
void * realloc( void *m, size_t t) { return NULL;}

but that would not be a very useful implementation]
I gave up on new Thinkpads and went to a 13" Macbook Pro Retina. I had a hard requirement to go with something with a smallish form factor and 16GB of memory.

I almost decided to go with a Thinkpad X230 - I have used a X200 running Xubuntu for almost 6 years happily. The X200 just started to fall apart and I was bumping up against the 4GB memory in it frequently enough in the last year to make a change. The X230 would have been way cheaper and supported the 16GB of memory I was after. But work was paying, I try to maximize laptop ROI by not upgrading every year, and the screen on the retina is quite lovely. The trackpad, not as much. I miss the thinkpad red nub.

But, debian Jessie installed very easily and so far, I really like the experience. I'm using XMonad, with very little customization, and in general it seems to be a solid machine. Check back with me in four years. If I'm still using this machine, the switch will have been worth it.

I'm quite sad about how Thinkpads seem to be transitioning from serious, hacker-friendly tools to somewhat generic consumer-grade gear.
Even if you use their all-in-one package, you can still have dependency problems installing vagrant plugins.

https://github.com/mitchellh/vagrant/issues/3769

https://github.com/mitchellh/vagrant/issues/4278
One really can only get an idea of what "taxi tsars" are for if he or she gets a ride in an unlicensed cab somewhere like, say, Russia in 1999.

I did it and the driver once asked me for more money on arrival. I refused. He said, "Oh, OK. So this is your home? I'll meet you with my friends here tomorrow then, when you'll be heading to work."

I bet India today is not that much different. I bet Costa-Rica (not sure if Uber operates there) is even worse. Every time I'm booking a licensed (and slightly more expensive) cab to the airport, I'm super happy that I know what to expect.
It never works out that way. I worked at a company with very limited fixed vacation. We got 10 days a year, but 4 were required to be taken between Christmas and New Years, which really meant you had 6 days to use at your discretion. There were ways to squeeze some extra, but at best you got 2 weeks.

My wife was in a similar boat and switched to a VC backed startup with 'unlimited vacation'. I remember high fiving about it and thinking THIS IS AMAZING.

Fast forward one year, she had taken 3 days off in the entire year. The next year when she actually went to take a vacation, her boss asked her "oh didn't you go to that island last year?". The fact that she took almost nil vacation the year before was not remembered. You can imagine she left very soon there after.

We have grown up a lot since then, and would never get suckered into that situation now. But it happens. When your boss never lets you take vacation, 'unlimited' vacation is 'no' vacation.
That applies to Google's apps, but not to these Node desktop apps.
I get errors:

Sorry, an error occurred when building the chain for this certificate. This could mean that the certificate is malformed or that its certificate authority is not functioning properly.

Is this normal?
I just want to add a link to the previous replies:

http://en.wikipedia.org/wiki/The_Manual

The Manual (How to Have a Number One the Easy Way) is a 1988 book by The Timelords (Bill Drummond and Jimmy Cauty), better known as The KLF. It is a step by step guide to achieving a No.1 single with no money or musical skills, and a case study of the duo's UK novelty pop No. 1 "Doctorin' the Tardis".

It is a great read and well worth tracking down.
I'm sure technology can improve things - for example, the NYT is doing a much better job now of marketing its (excellent) cooking section.

My impression though, is that what makes great journalism is reporting. Almost all the time, when I'm reading a great article, I do so using readability to strip away all the crud and just end up with the text in a decent size and no pictures/hyperlinks/movies.
Depending on who you ask, there's another established meaning of "union type" when contrasting it against "sum type" in a safe context. Sum types are discriminated unions in which each constructor tag in the union is disjoint from each other member and all other types. In contrast, "union type" tends to imply that you can share constructors/tags between types.

For example Julia: http://docs.julialang.org/en/release-0.3/manual/types/#type-...

Typed Racket: http://docs.racket-lang.org/ts-guide/beginning.html#%28part....

Haskell: http://okmij.org/ftp/Haskell/extensible/#open-union

And many more.
It looks pretty cool. There's one thing about the demo site that I found really confusing though - those white rectangles look like they should be modal dialogs but they aren't. I kept trying to dismiss the donation popup before I realized navigation wasn't disabled.
".... and you "just check in" or promise to be available if anything comes up. You respond to just one email or just one GitHub issue."

When people need to be "available" while on vacation it usually means that there is way too much dependency on that person or insufficient knowledge-sharing. It shows the glaring holes on what's being hacked together and where systems can strengthen.
This is a "works for me"-type response.

Mine Samsung S4 mini reboots by itself once in a few days. Hadn't bothered to catch the reasons. And it surely knows how to hang itself for half a minute when doing large app updates or otherwise IO-heavy operations.
Bits don't have colour. If some absolute psychopath goes to a remote picturesque mountain village, where scores of adorable multi-ethnic orphans are playing with litters of puppies, and murders each and every child and dog in highly personalised and brutal ways that would make even the hardiest 4channer throw up their breakfast, all while masturbating furiously, well, the courts will need to use 64-bit integers to express his sentence. However, possessing the video of that, should not be a crime. Showing it to people should be a crime, giving it to others could be a crime, but the mere bits by themselves sitting inertly on your hdd should not be a crime.

And, if I'm not mistaken, even right now it wouldn't be as long as you can't see any of the children's genitalia.
You said "only people who pay for my software get access to it". I was pointing out that anyone your customers choose to share your software with get access to it.
SHOWHN doesn't seem to work.
It depends upon the state. Some states, CA and IL for example, treat vacation as earned and owed, yet unpaid compensation. Because of this, it represents a liability, so it's got to be shown as such on the books. Which is also another reason why you see CA companies adopting "open vacation" policies, it takes that vacation liability off the balance sheet.

Other states view vacation as just an agreement between you and your employer. You basically agree that there are so many days you don't have to show up to work and they'll still pay you. That's it.

In the past I worked remote for an Atlanta-based company, and their employee handbook stated that they will pay out vacation up to a maximum of 40 hours. Anything in excess of 40 hours you had in the bank, you forfeited. I lived in a St Louis suburb in Illinois at the time, and as an Illinois-based employee they paid me my full vacation bucket when I quit.

Similarly, a friend of mine worked remote for the same company, but lived just across the river in Missouri. When she left, she got her vacation capped. MO and GA are among the states that do not view vacation as earned compensation.
Another ambitious p2p project with no code written. Yawn.
> My impression though, is that what makes great journalism is reporting.

Yup. At the end of the day, I think in-depth textual reporting does rule. But what tech can do is make that great reporting slightly cheaper (and thus more plentiful/viable).
I've read through the source (400 lignes, really short) and it's a real piece of art.
I forced myself to understand 100% of what each line was doing, and learnt a bunch of little things on the way.
I'll definitely use it in my next project, I love it!
I realize it can be done, I generally don't find it easy, cause I have to remind myself how to do it, and it is a somewhat manual process of making sure you've found the right point to rollback to, etc.

And of course, if you've made subsequent commits after the rebase but before you notice the mistake -- still can be done, but less and less easy.

On the other hand, if you pull when you meant to rebase, that's somewhat easier and less error-prone to switch. For me anyway. ymmv.
Instagram Hits 300M Monthly Users to Surpass Twitter
Quality reports on audio depend, as far as I know, entirely on conscious reporting of quality that's accessible to a test subject through introspection.

By definition, this makes it easy to debunk "golden ears." Because loudness (energy) determines what we pay attention to in sound, this is why sonic detail that's low in energy compared to the total can be dropped without test subjects being able to report the missing information. And maybe this is valid. If we can't report our experiences, are they really experiences?

But I find this unsatisfactory if only from the point of view of experimental design. Does the brain really throw this information away at a low level? Does our ear "compress" audition on the way to other parts of the brain? Or does our subconscious experience uncompressed music differently?
There is also a quick way to start a new application with Atom: https://github.com/atom/atom-shell-starter
How to jailbreak iOS 8.1.2 with TaiG 1.2 to cydia Download iOS 8.1.2
I know exactly which line you're talking about, and it's probably one of my favorite lines in literature.
I love material design, and this is more related to material design than this theme, because this is a beautiful and faithful implementation for web, but that button ripple is obnoxious.

It also makes the ui seem very sluggish, because the traditional pressed state of a button is instant feedback, and this is an animation that takes a couple hundred ms or so to complete.
Facebook: Updates to Trending
It's never easy to get someone to change their behavior. When you pitch them, all they hear is the pain of changing platforms.
Your assumption that media companies actually care about better quality, is also flawed. They care about sensationalism.

the people want to be entertained, and unless you can show how this entertains them, you'll have a hard time getting past their resistance to change.
I find myself writing C backend for Erlang library every now and then. I also often resort to C to talk directly to operating system.

It's not that C won't probably be used. It probably will, unless one can't communicate with underlaying OS and doesn't want to learn that.
Agile vs. Iterative (Mini-waterfall?)
I implemented that for my blog somewhere around 2001 or so. It's quite tedious to write and I haven't done it since around 2001 or so. Even two versions of a story is a lot.
Agree 100%. I am talking about giving people 1 month off per year. In those cases, how do you maintain efficiency without bloat?
European PaaS Clever Cloud Dashboard Update 3.1
Have there been any performance improvements under Firefox? Almost every Elm demo that I've seen so far has been basically unusable under that browser. I've been told that the issue is some difference between Chrome and FF with canvas drawing... but regardless of where the fault lies, Elm is pretty much a Chrome-only technology until that gets worked out.
As long as some political suit somewhere things that it will give them a leg up in the rat race, that lobbying will be shown the door.
Absolutely! Single-purpose tools are great.

I actually have a few questions about cert chains: Is it necessary to have the entire chain? Or only the last few certificates (closest to the site certificate)? Is it any faster to have a shorter cert chain, or are there ways to optimize the cert chain for speed? (encodings? compression?) A small FAQ on cert chain background would be a nice addition to the site.

Would it be make sense to add a quick check for OCSP Stapling too, since that is related to the cert chain setup?
I agree that it's a cool idea ! It may be nitpicky, but I had the opposite reaction to calling it a journalism IDE.

It just seems as if the intended audience wouldn't have the faintest idea what an IDE is.
Another thing... it's MUCH better to change advisers than to quit school.
So here's a slightly different view from someone I know -- they are slotted X number of vacation days, but actually need more.

He is divorced, and his kid is across the US, so he ends up using all his vacation to see his kid. Now he is left with nothing to take a real vacation with his current spouse, and they both really want to.
"Since no fix is currently available, owners of Keurig 2.0 systems may wish
to take additional steps to secure the device, such as keeping the device
in a locked cabinet, or using a cable lock to prevent the device from being
plugged in when not being used by an authorized user."

Love it
Get UDID or IMEI in one click
Excellent point. This makes the test somewhat flawed. Are we testing "performance" vs file size? Or overall performance for music with few quiet/silent sections?
I am Australian working for an unlimited vacation company in the US. Knowing that vacation days won't be paid out if I leave the company helps me to remember to take days off.

With unlimited time off there's no longer any reason to stockpile days for that giant trip I keep putting off or to think of vacation days as being money that my employer owes me.

Before leaving the US I had 6 weeks annual leave, 4 rostered days off, 13 public holidays and usually a few extra days of stand down when the office was closed over Christmas (call it 50 days off).

Even coming from that I don't feel worse off now that I have unlimited time off.
I agree that relational models have everything to do with deduplication.

It is one area where purity in mathematics translates well to solving practical problems. It is often the case that the theoretic models of computation or storage translate very poorly to everyday use. If they can be represented, they are done so at cost, and are therefore not applied.

Maybe I'm a pessimist, but I argue that, while normalization does do nice things for data consistency, people often use/used it because of disk storage savings. In my experience, they rarely, if ever, achieve a high enough level of normalization to get much benefit.
Customer lifecycle? More like customer roadtrip, with twists and turns
I like the idea of personnel redundancy, but my guess is employees don't like that and it's not really best for tackling tough problems because you increase your workforce 2x.
An idea might be to track until the minimum has been met, then no more tracking after that.
> They've got bigger things to think about, like how to find a viable business model.

This is actually potentially a big part of that. People are reading more than they ever have—it's just not necessarily newspapers that they're reading.
"Violence simply isn't morally legitimate ever, whether it's aggression or as a response to violence (possibly even greater violence)."

That requires some justification
Why the World Hates Lawyers
No need for `invert_dict`; you're just counting so `collections.Counter` would work fine:

from collections import Counter

with open('data.txt', 'r') as datafile:
students = dict(line.rsplit(maxsplit=1) for line in datafile)

failing = [name for name, grade in students.items() if grade >= 'E']
grade_counts = Counter(grade[0] for grade in students.values())

print("Zsófia's grade:", students["Zsófia"])

print("List of students with a failing grade:")
print(" " + ", ".join(failing))

print("Distribution of grades by letter:")
for grade, count in sorted(grade_counts.items()):
print(" {}: {} student{}".format(grade, count, 's' * (count != 1)))
This is precisely what I was describing, perhaps I wasn't clear enough. I should have mentioned Typed Racket as well. Unless you think this is different from what I said? Typed Racket's unions are just like TypeScript and Flow's unions, in fact TypeScript uses a similar occurrence typing algorithm where you need to do a type check in order to compute with a union value, e.g.

if (isString(x)) {
// only now can we call string functions on x
} else if (isNumber(x)) {
// only now can we call number functions on x
}
At the risk of being productive with my comment, please read Google's information on material design (http://www.google.com/design/spec/material-design/introducti...) and you'll understand that this isn't animation for animatio's sake or design for design's sake.
Good call. This is the first time I've shared a link to this publicly, so I haven't put much thought into this yet. A lot of the quotes, especially in the sections about healthcare and pharma, come from copyrighted books. So there might be some issues with allowing people to redistribute this entire thing wholesale, especially for commercial use. But for now you only need to cite the primary source for any given fact. At some point I'll dump this on citevault.org, and I'll have to put some thought into licensing issues I guess.