skysight-inc/HackerNews huggingface dataset:
It'd be a problem if the function returned BigObject&&, but since it returns BigObject the move happens inside the function body which should be fine (modulo the issues raised in the article).
Where do you see this using jQuery.draggable? Or do you just mean it's a duplicate of draggable? Either way, dragula is drag and drop without a jQuery dependency, and in ~500 lines of code. This is a fantastic option for anyone who doesn't want to include jQuery or jQuery UI in their app.
Which does more damage to the community, brief thank you comments or the tangential discussions that inevitably break out around them, when a single such comment is downvoted then the downvote is explained?

I think some allowance needs to be made for the fact that most comments lack much substance or insight, since most commenters are having conversations with one another, not engaging in formal debate or rhetoric. I personally suspect the threaded nature of the forums encourages this behavior, whether pg intended it to or not.

Perhaps a word limit could be added to the comments, but guaranteeing comments are more verbose doesn't really guarantee higher intellectual quality. If the noise caused by short comments is an issue then perhaps /newcomments could be filtered so that it only displays replies to the root post (which are most likely to be focused on the subject at hand) or doesn't display very short comments.

Given the assumption the site makes by increasing the posting timeout in deep threads (which i've come to grudgingly agree with) that incivility tends to increase the more deeply into a thread you go, this might also reduce the visibility of and engagement with toxic comments.
Show HN: ChartMogul SaaS Metrics API
Scheme is the first Lisp?
On what browser or browsers does a double line break in HTML turn into a linebreak for otherwise unstyled text?

(cf. data:text/html,<body>hi%0d%0a%0d%0athere</body> )
Ask HN: How do you version control a Database?
Hello All,

I am working on a project with 2 others and we have a PostgreSQL database that links to our project. We are trying to figure out the best way to share the layout of the database as it is edited.
Currently we email each other when we change the table layout but this takes a lot of time and feels very backwards from regular Git commits.
Does anyone have any advice to version controlling a database layout? We could care less about the actual data at this point because we are still developing the system.
I just wanted some sense of the continuing extent of each language indicated, (that is, the labels should have variable widths). Admittedly it's difficult, and controversial, to conclude "when Pascal ceased to be important" but I'd still find it informative, even if only subjective.
the "first videos" you're talking about were showing Ubuntu for Android, unless I'm very mistaken.
Checkout docker-notary [0] a tool for checking signatures that you can pipe in between the download and execution of the script.

[0] https://github.com/docker/notary
I don't think this argument really applies. It would be one thing if the site was devoted to assisting "open relationships," but it isn't. It is specifically a service to assist people in "cheating" on their partners (with the assumption being that the partners don't know and wouldn't approve). So, because of this specific detail, I don't think the "people not like me should be treated equally!" argument applies. The betrayal is intrinsic, not a matter of opinion.
If anything, AM reflects something that might change in society, namely if life-long monogamy makes sense.

The time for that discussion is long before one decides of their own free will to take part in life-long monogamy. Once you've made that promise, and then renege on it (a harmful act in of itself), there is a second person in that equation who is being harmed.

Are innocent people likely to be harmed by this? Of course. But AM's entire reason for existing is perpetuation of marital infidelity. Given that AM's advertising emphasizes the "go have an affair!" business, we can reasonably assume that most of this company's clientele are people who are in committed relationships.

I find it very hard to be bothered by the fact that the majority of that site's customer base will be called to account for grave lies to their spouse.

(I was going to make an admonishment to stop downvoting the guy above me, but then they added the completely unwarranted "neckbeardism" remark.. knock yourselves out, I guess)

(And then they added the further completely unwarranted remark about "judeo-christian" values... jeez dude...)
Consider your post score an informal poll....
It's an overstatement that other tools make as well, FZF & Ctrlp also claim to be fuzzy matches but really just deal with character omission (and optionally regex matching)
Nothing in my list was meant to be a justification for disabling zoom. My justifcation for that is: I am a formally trained designer and I design UI properly for the devices and hardware my projects are intended to be accessed with.

The other stuff I mentioned were just other examples of things 'from the frontline' that I do to optionally enhance the site for mobile users with no effect on desktop. I design everything with two very different targets in mind.
previous discussions from the last 24 hours:

https://news.ycombinator.com/item?id=9914024

https://news.ycombinator.com/item?id=9915155
Indeed.

Also, preliminary reports indicate that PHP7 is near parity in speed/memory usage with HHVM (and in some cases exceeding it).
It's comics like this that remind me just how much better SMBC is than, say, XKCD. It's got teeth. Munroe's stuff is basically the stick figure equivalent of TED talks--people who aren't that clever or smart read them to tell other not that clever and smart people how clever and smart they are because they read XKCD.
I think your intuitions are incorrect.

1. Preemptive multitasking is strictly better in almost all cases than cooperative multitasking, when you have more processes, not fewer; especially when these processes are heterogenous. Throughput decreases over the best-case cooperative scenario, but jitter significantly decreases, and most importantly, you -- the user, the operator, or the programmer -- have a strong guarantee that the schedulers will never lock up because someone wrote code wrong. That guarantee alone is why every operating system abandoned a cooperative model and pushed schedulers as close as possible to preemptive multitasking.

2. Kernel scheduling is radically worse than user-space scheduling in nearly every scenario. The kernel schedulers are necessarily very generic and workload-agnostic; kernel threads and the thread management infrastructure are incredibly heavyweight and slow relative to user space; the context switching penalty is gigantic; processes relying on kernel scheduling are forced to compete with other processes on the system; and the list goes on. This is why unikernels, exokernels, and user-space tcp implementations like onload are growing prevalent, especially in the low-latency space.
> It may also be that intelligent alien life develop an "increasing disinterest" in their outside world

That's only something you can say with n size=1 (human civilization). We have no idea if intelligent species out there with similar capacities as humans would actually think in the same way or not. Let's not assume every intelligence out there is just like ours.
I especially like the image for Forth... Although a few code-samples would have ben nice here and there.
Is there a distro with a stronger policy than Debian? what are you using now?
great concept and execution. every kid seems to have an iTouch or iPad in their hands.
But there's more! In his book "What Do You Care What Other People Think: Further Adventures of a Curious Character", the last 100 pages tells the story of how he served on the investigation commission. There's lots of interesting stuff.

* the commission was a little politiziced, led by a lawyer who was very concerned that it should just synthesize the conclusions of other agencies' investigations, whereas Feynman (and some other members) wanted to take a much more active role.

* Feynman _really_ hated the committee culture of slow meetings which don't produce much.

* The final report was very bland and careful not to say anything that would make the government look bad. Feynman threatened to resign and make a scene in order to get his appendix published without (too many) edits.

* The actual cause of the accident, the too cold O-rings, was perhaps leaked to the commission by a NASA insider, in a subtle way.

The book was published posthumously. I note that there is a (pirated) version available online.
It doesn't matter how you decide to buy/pay for your impressions because it gets normalized by their ad system to an effective eCPM (revenue per 1000 impressions). Let's say you only want to pay via a "click-through-and-buy", after a certain number of impressions and clicks they will have a benchmark for how much in commissions were paid. They take that number, divide by impressions/clicks, and then have an eCPM to rank you by. If the eCPM achieved by allocating impressions to your campaign is less than via traditional CPM or CPC based buys then you will get lower allocation and thus the system optimizes you out of inventory.
This is the approach we take with TIL at Hashrocket -- http://til.hashrocket.com/
Persi Diaconis did a lot of experiments- the biases are very low.
I got downvoted heavily for saying this, but let me clarify. The punishment regime currently in place in the US seems more like what a religious entity would dole out: "You have sinned! 10 years in the purgatory for you!!". Instead of using a rational, science-based and outcome-based approach.
Throwing an idea out there - I haven't received many thank-you comments, but my favourite along those lines came through my anonymous feedback form, http://sayat.me/philh. If there was a community norm of people having those, then people could easily make thank-you comments that didn't clutter the page.

(I wouldn't usually want someone using email for that, because then I'd feel obliged to respond.)

(This is kind of using a sledgehammer to crack a nut, but I'd like them to be a norm for other reasons too. Unfortunately they can also be used for bullying, so I don't know how realistic that is.)
Which also omits any ability to compare features to what the Express edition offers.
I'm not sure Asbostos doesn't want to...

Sure, I'll concede an assumption there.

I am also not convinced that vigilantism is always wrong

'Wrong' is subjective so that statement is a truism. For a given act of vigilantism there will be a proportion who condone it and a proportion who don't. Who decides?

That's what the law is for. It's so we can't all just wander about dispensing 'justice' without accountability. What happens if someone commits suicide because of this hack? Can their kids sue the people responsible? No, they're denied due process.

I'm not convinced that law enforcement conducted by the proper authorities is always right, but at least we have some semblence of oversight and accountability and the opportunity to learn from mistakes and improve things.

Don't you think it's inconsistent that the hackers themselves are hugely critical of the company they breached for not properly deleting customer data on request; and yet those same people have already started publishing that exact same customer data? They're not even accountable to their own definition of right and wrong.

I can't blame the villagers who, after seeing a
restaurant owner entice a dog with food only to
kill it with a chair, never stepped foot in the
restaurant again, effectively bankrupting it.

I don't think that fits the definition of vigilantism. Vigilantism is law enforcement undertaken by those without society's authority to do so. What you described above is simple consumer choice, a boycott at worst.
Doing so would require the standard to give std::move special treatment, which sucks. The way it's specified right now let's you write your own std::move and call it rvalue_cast() if you wish.
Rich Neighbors Refused Lucas Build Studio, He’s Building Affordable Housing
Don’t Be Fooled by Baseball’s Small-Budget Success Stories
American Dreams: Charming Pedophile Cruises Crass U.S
They definitely missed Lisp.
> doesn't mean they can't understand what mathematics is

Yet humans clearly fail to understand things like radioactivity (and the risks involved, for good or bad). I'm not sure what Musk thinks is reliable at all in this matter.
opsmatic.com ?
Compared to the reducing human reproductive rate this is an important point. It's quite likely that somewhere in the regime of 12 billion is all the alive humans there ever will be - even with immortality technology. After all, how many times per 1000 years would you want to have some more children? How many of those people are likely to exist compared to a dormant mass who don't have children?

Now factor in a lack of FTL travel. If it takes thousands of years to go exploring, how many explorers are there likely to be, and how likely are they to stop and setup colonies instead?
It's a safe, but inappropriate, use of std::move, which is kind of the point of the article ;)
I've been in talks with the DO owner regarding how at least half of the DO BSD UserVoice votes (https://digitalocean.uservoice.com/forums/136585-digitalocea...) were for OpenBSD. Yet only FreeBSD got supported.

How, for instance, most of the cool stuff in FreeBSD comes from OpenBSD (pf, OpenSSH, OpenSMTPD, OpenNTPD, LibreSSL, http://itwire.com/business-it-news/open-source/62641-crypto-...). How, for instance, one cannot protect oneself properly using FreeBSD's outdated version of pf.

He's expressed his utmost sympathy, and it is my belief that he's slowly but surely realizing OpenBSD's worth.
Intellitrace is also missing. I've heard great things about it, but have never used it due to the cost
> stop the telomeres from degrading

Both our bodies and minds need to hardened to endure deep space.

10,000 years between stars is a long time to be playing solitaire. The voyagers may need to sleep, hibernate, slow down their metabolism, alter their perception of time, or something, to make the journey bearable.
Are you able to articulate 5 or more of those plentiful reasons?

The reasons I can think you would desire to zoom in on a legible, functional, accessible website would be for curiosity, or to see a detail closer and admire the layout. There are details like this in apps all the time and I screenshot it and zoom in on my screenshot. Those are interests (I want to see that closer) that are separate concerns from me using the app.

I'm curious what reasons you might give that would interrupt or prevent a person from using the site as intended because of their desire to zoom in without screenshotting.
Engineering Manager – (Sparkcentral HQ San Francisco)
Because the power companies in the US are enormous, entrenched multibillion dollar enterprises, and doing as you suggest would be bad for profits.

I honestly believe in the next 10-20 years one of the biggest challenges we have to overcome is dealing with these companies and the many layers of government protection they have. Off the top of my head I'm thinking about power, oil, heathcare, automotive, maybe transport.
Another way to frame this discussion would be in terms of xvalues. The standard defines an xvalue as an "eXpiring value", which is value near the end of it's lifetime [1,2].

struct X {};

void f() {
X x;
return x; // elided
}

void f(X x) {
return x; // elided
}

Perhaps not as intuitive as the first copy elision is the second, but accepting a parameter by value and returning it also enables copy elision because it is an xvalue at the end of the scope. A move is equally detrimental to performance in both cases.

[1] http://eel.is/c++draft/basic.lval#xvalue
[2] http://stackoverflow.com/q/3601602/1170277
It's funny, the reactions I get. A lot of startup programmers who have never worked on large systems don't understand why it's so valuable. But those who have done big enterprise use phrases like "holy grail".

But this is a HARD problem. Man, abstracting change in an actionable, readable, efficient way has been difficult. Not to mention the security issues and other headaches.
> For me the best explanation is the size of the Universe

Size, and time of the Universe. Most probably species do not last beyond a couple of million years no matter what, and there may be very little overlap between periods of intelligence even if they were in relatively close area of space.
Not sure if this is helpful, but you can use a database migration framework. Check update scripts into your version control, then the others can just run them when they pull your changes. We use alembic (http://alembic.readthedocs.org/en/rel_0_7/) but something else may be a better fit for you depending on what software you use.
Or that. Really, anything else than 2020.
This is the most important lesson for anyone who would like to start blogging.

So many times I've started and trashed drafts because I thought it was dumb, stupid and that everyone ought to know what I was writing about.

But then, once in a while, I start writing a post and decide to post it whatever happens. Every single time, I get people thanking me for writing it up. I have people saying how it helped them.

So yes, blog little things. I don't blog little things as much as I should.

And as a side note, comments on blog are usually troll. I have so many comments saying how I'm dumb and how I don't understand how programming works. These people are just frustrated by their own lack of knowledge. Ignore the troll and keep blogging. This might sound personal and what not. Feel free to ignore this comment if you think I'm full of it :)
I would be interested to hear other folks experience with TypeScript. We have move virtually all of the project I work on over to TypeScript but I am not seeing metrics improve (less bugs, quicker to fix etc). Gripes include lots of boilerplate TypeScript being generated and another learning curve for new starters (nearly everyone knows JS).

What are other folks experiences? Has it helped or hindered?
Dominoes delivers to train passengers (India)
Using Couchbase in Your Ionic Framework Application Part 1
Nice! And here's a speech interface that lets FAQT users load notes by voice command from Chrome, Android, or Android Wear. (Voice commands, like FAQT notes, can be shared.)

https://goo.gl/1VwtE1
I think the critical point for TypeScript will be 1.6 with async/await - at this point it goes from "nice I have types now" to "OK this solves most of my problems with JS".

Looking forward to Angular 2 and TS 1.6
What's happened is that they've gone to "sites with smaller viewports and less precise input methods because they don't have a mouse and keyboard attached". And in case it had also passed you by, mobile is the predominant method of browsing for a huge number of sites all over the world.

Consider Google, which says that mobile search outnumbers desktop in 10 major countries. Do you hear Larry Page moaning about how people are using the "wrong" method to access the site? Nope. Instead, Google rejigged its algorithm to favour "mobile-friendly" sites. So let's see, that ranges you, preferring desktop, against Google, monitoring the direction of travel. Think I'd bet with the latter.

You can bemoan the way that mobile input has to adapt. Or you can revel in the way that smart UX designers figure the best way to adapt, as outlined in the original post. I know which I prefer.
sites would function that way if people actually did what you said you'd do if they waited.
There are people who are not using A.D. as their calendar year. In this case, it's much less confusing to have a drop down.

If the site is primarily US or EU-based, there won't be much of a problem, but in SEA this is rather problematic since the people usually use their local calendar year when talking about birthday. (For example, in Thailand nobody says "I born in 1986", instead most of us says "I born in 2529".)

(And B.E. is confusing as it is, since there are difference in interpretion between countries, some has year zero and some do not.)
Computer Programming to Be Officially Renamed “Googling Stackoverflow” [Satire]
Lots of people who use the site may be "innocent" (because they didn't actually do anything, or because they're in an open marriage or whatever). And even people who are to one degree or other "guilty" are not as a class to be declared guilty and given all the same punishment.

That said, while I can't necessarily judge any given user of the site, I'm pretty confident that the people running the site are contributing to net misery in the world. And certainly I think that it would fall within the realm of justice for them to be (at least!) forced to turn the site off.

But I don't think that's the most likely outcome.
Maybe a look at published new books and reprints on the subject of that language? It would certainly be a different texture than some kind of impossible study of how important a language is, but better than a straight timeline.
So the author discovered Apple isn't the land of unicorn farts and then abruptly leaves in a huff? Sure, it sounds like he had a bad boss but neither he, nor by extension we, have learned anything from this experience. For example, did the boss favor employees and treat the contractors poorly? That'd be valuable insight. Is Apple bogged down in process? Have they not adopted agile development practices? That'd all be interesting to know. But we got nothing. More sadly, the author got nothing. All he knows is he had a bad boss at Apple and since he never gave anyone a chance to rectify the situation we have no idea if this is typical or atypical of Apple nor how Apple handles these situations.
Still a relatively slow way to get around. We have some co-factor here for "median time between alien contacts" which might be thousands of years. In which case they came, they saw, and the people who saw them remembered it as folk tales.
It is literally not possible to sell something without advertising it in some way. You have to let potential customers know that something is for sale. Putting a "for sale" sign in your used car by the side of the road is a form of advertising. Putting fruit in a basket in front of a store is a form of advertising. Making a sale requires some level of communication from seller to consumer that there is a product or service for sale. We call that communication "advertising".
Fb App Bot REVIEW BINARY Need to Know *THE TRUTH*
This is my all time favorite scene in Arrested Development...

"But in our case...i think it might!"
Well, Flash is a proprietary bundle, right? Who knows what it's doing? It may not be PulseAudio's fault.

Of course there's some causal reason why many are stuck using proprietary software. That doesn't invalidate the free software cause, and is not a reason to snark about how "they don't care about software, only ideology." That distinction is itself ideological.
Feeling the internet: how people with visual disabilities surf the web
I'm hoping that even though we don't seem to be so lucky, there are other solar systems out there with multiple worlds where intelligent life developed roughly in parallel.

At least someone in the universe would be living out my space opera fantasies!
Formally verifying the complexity of OCaml programs with CFML
> It's trivially easy to come up with dozens of examples

It's always easy to come up with small numbers of examples that don't fit a rule, that doesn't disprove a rule, especially when the rule is a generalization and not an absolute. However, if the data says it's actually well over half, THAT disproves the rule, and is a much better way of stating the rule is untrue.