skysight-inc/HackerNews huggingface dataset:
Seriously? Where the fuck does this even come from?

Emotional harm is violence. Like all violence it exists on a spectrum.

There's unintended harm, accidental insults and the like. These are easily brushed over for healthy people but for others can become one straw too much.

Sometimes it's intentional and "for their good". Honestly, honesty can be this sometimes. An honest answer may hurt someone but may be exactly what they need. Other times it's just taking it too far and being careless/heartless.

And then there's the truly heinous deliberate form. Ask abused women and children. Did theirs users always hit them? Burn them? Starve them? No. Sometimes, oftentimes, they verbally and emotionally abused them. Keeping them from those who care about them. Creating a bubble around them to keep them despairing. Telling them they're worthless over and over until they believe it.

I don't see where there's any self-pity in my post to be ashamed of. I'm just stating the fact that emotional harm is violence.
The power of Nix start when you start building your own ~/.nixpkgs/default.nix (but you don't really need to if you don't want to):

{
packageOverrides = pkgs: with pkgs; rec {
all = buildEnv {
name = "all";
paths = [
vim
fish
gitAndTools.gitFull
];
};
};
}

This is the Nix package collection. You can install this package with `nix-env -i all`. What does it do? Install vim, install fish, install git. Not much, and easily doable in Homebrew in much fewer keystrokes.

Now imagine you decided that you don't like vim and want to go with emacs. You change the paths to `paths = [ emacs fish gitAndTools.gitFull ]`. Run `nix-env -i all` again. What does it do now? It uninstall vim and install emacs.

Now that you decided you don't like emacs after all and want to go back to vim. You can just run `nix-env --rollback` and it will happily rollback the change it made to the filesystem made by latest nix-env call, as in, restoring vim at where you expect it to be.

This is the declarative nature of Nix. You declare the state you want the package to be (or the whole system, in case of NixOS) and Nix will figure out how to get to that state. default.nix can also do a lot more things, for example, adding custom packages, overriding versions, changing build flags and much more.

Let's say one day you need to clone the whole setup to other machine, you only need to copy this default.nix and run `nix-env -i all` on that machine and everything is reproduced in the way you expected. This default.nix can also be per-project, allowing collaborators to share the same packages (and custom packages).
I worked for a top ten academic research library, and even with budgets in the millions to low ten of millions, there were still plenty of journals we were not buying. Other than the big bundles, often times it was pressure from professors that would force a specific big-ticket journal to be acquired.

If sci-hub.io stops those professors from making requests to the library, then there won't be as much pressure to pick up every last journal.
SF is next to dreadful whether BART or train. It's light years behind the user experience of NYC MTA, it's always late and often not faster than car. Even Los Angeles' subway is a better experience, assuming your source and destination is a sane distance from a station (not a good assumption but otherwise the system itself is reasonably usable). I found the SF steam trollies to be more reliable, cleaner, and more timely than BART or Caltrain.
What lie? What evil in my heart? Do you know me?
I'd love to visit his store. It's awesome^H^H^H^H^H^H^H^H^H dazz.
I'm talking about things like Emacs and Vim, not just the core Haskell packages.
Thanks! :-)

There already are a few mobile apps for this e.g. coderust, Job Bytes etc. In fact, there are many excellent resources out there viz. books and websites. Existence and availability of material is not a problem and will never be in this connected world.

Problem is, that people don't get a chance to go thru that material properly. It needs a lot of dedication and a strong support system, which many people don't have. And hence, they squander a chance to work for best companies of their times, or even reach their true potential. That is what the course provides.
Is the support for "consuming things" really common, though? C++ supports move semantics, invalidating the older copies of the objects (and still does disallow uses statically), but for example, Java has everything behind a pointer, and keeping a reference to the older states would keep the states around. Java would need a runtime-check too, so the type system wouldn't really help that much.

I think it's especially the linear types (or "affine", which is the Rust's variety of almost-linear types) that allows for this kind of statically-checked state machines.
3 Mobile, UK here -- it's accessible.

It's shocking to me that your university administrator has put a block in place on a website that isn't obviously malicious.

VPNs are cheap. In this case, I think it's worth it to invest in one.
Would be more interesting to know what kind of programmers are not a commodity yet. Is there a specialization that can get you a job with the very first application or at least with the first few?
Footwear Forensics – Identify shoes at crime scenes
Looks like the `overflow:auto` on the page container div, not actually anything to do with the library.
Folks, I have no idea why this post was downvoted. I have some karma to lose, but it'd be very helpful if the downvoters showed the courtesy to explain their action. I'd love to improve the post.
My very limited experience with regular journalism and tabloid journalism is that tabloid journalists are scrupulously factual and accurate, while regular journalists more or less write whatever they want without much regard to whether it is true or even coherent. This makes a great deal of sense if you think about the environment of legal risk in which the respective categories of journalists exist: regular journalists are essentially engaged in stenography for the powerful, flattery for everyone, and providing readers with the cheap illusion that they understand things they don't; meanwhile, tabloid journalists are engaged in viciously attacking the famous.

In short, where you write "protect more factual and more fair journalism", you should have written "protect less factual and more favorable journalism".
The real solution is we need to use our CI, Hydra, to build all PRs.

Now Travis doing this is interesting because last time people looked there was no hosting for OS X that wasn't ridiculously expensive, so we've literally had people donate Mac Minis.
Which of these features would be useful on a desktop machine used for development?

I'm genuinely curious, I don't really use homebrew either since most of the stuff I need is already installed.
Been there and he has some great selections. So it's a fun trip. Most used book sellers I go to up and down the east coast are about the same level of "Happy to help you buy stuff, happy to help you out the door if you are annoying". Most used book people are not in it for a huge ROI, they are book lovers.
Somebody knows the reason for this halt?
I wouldn't say they are widely adpoted now. Maybe the switch is happening now?

And I'm not sure all the mentioned products are fully abstracted, for example BigTable docs mention "nodes".
Surprising to see such a long article that doesn't touch on the modern issues surrounding gender.

You're much better off just letting the user tell you which gender they prefer to be identified by. This is such a personal issue, and so key to one's identity, that having the computer guess is just a bad idea.

edit: As icebraining pointed out, the article does address this point.
Actually, it's been a thing for a while that we know the brain has somatic mutations which cause the DNA to differ from cell to cell. While the epigenetic tags are also affected, it goes beyond attaching tags. The brain literally rewrites its own DNA.

https://www.genomeweb.com/sequencing-technology/single-neuro...
Is the CSS messed up in this cache?
Yeah, good idea. Sort the papers by popularity, and when grouping them find the distribution that minimizes the distance between any paper and the top-popular ones for atomic block size.
In my experience, pure mathematical knowledge just by itself seldom translates into good coding skills. This is after I've TAed Maths, CS and Physics courses for almost 4 years.

Typically we have 45 minutes to interview someone and asking a question where one has to derive a mathematical formula using induction/ calculus is not well served to gauge their programming abilities.

But I totally agree with you on your last point - just because someone is not a good hire now, does not mean they never will be - that's why even if you don't crack an interview, you can reapply in 6 months time.
We used to be more impure on osX, but that was also hard to maintain so a bunch of work was done over the past year.

Better CI + critical mass of maintainers (and that's just a few more) is all we need now.
Maybe Docker stinks?

> lxc-execute command will run the specified command into the container via an intermediate process, lxc-init. This lxc-init after launching the specified command, will wait for its end and all other reparented processes. (to support daemons in the container). In other words, in the container, lxc-init has the pid 1 and the first process of the application has the pid 2.

https://linuxcontainers.org/fr/lxc/manpages/man7/lxc.7.html
My suggestion for such filesharing is sending her money to anonymously send some people hard drives or access to file upload sites that have a copy. They can make their own copies that spread. And so on.
Interesting. It would be useful I think if somebody implemented a gender predictor for Chinese first names, which is difficult: http://chinese.stackexchange.com/questions/316/is-there-a-ru.... Also the set of Chinese first names is much larger than for any given Western country.
Cross-platform isolated development environments per project. Bye-bye Vagrant!
"If you're not using two-argument open() in Perl 5, you deserve what you get."

Pretty sure that's not quite what you meant to say...

http://modernperlbooks.com/mt/2010/04/three-arg-open-migrati...

If you _are_ using two-arg open, or if you're _not_ using three-arg open.

(Or, the more general case: "If you're using Perl you deserve what you get - if you don't understand all the language features you're using." (And feel free to substitute whatever language will start the argument in place of Perl in that claim...)
‘Operation Tulip’ Takes Prosecutors Offline for Google Tax Raid
This has become a completely semantic argument, but HN is a great place to argue semantics, so here we go.

> Evolutionary changes occur by random mutation and, in sexual reproduction, by random genetic mixing

The genetic changes of evolution are due to random mutation, but the ones that don't survive are not "evolution". Evolution is the subset of random mutations that increase reproduction/survival rates. If, at some point, a chimp was born with two heads, we wouldn't say that "chimps evolved to have two heads" because that two-headed chimp didn't pass on its genes. We'd say "a chimp randomly had two heads one time" and wouldn't bring it up in a discussion of evolution at all.

> governed by survival, but it's not directed by survival

To be directed by something does not always imply intentionality. Of course the most common usage of "direct" indicates something intentional, but that wasn't how I meant it. I meant "direct" in the sense that a particular landscape will direct the course of a river.
I've tried BitTorrent Sync and the fact that it's closed source (as well as being "commercial") is a major drawback.

Have a look at Syncthing which is open source and has a nice feature set: https://www.syncthing.net
There was... if the general population cared, which it doesn't.
Thanks a lot. The copy has been updated.

You might be right about checking more than twice per day. It's not a problem per se - but making screenshots is a ressource heavy process and I'll have to see how I can scale that.
Ping isn't the easiest - it uses physics and is 'real-time'.

Simon is the easiest, in my opinion. Simple logic and graphics.
[nevermind, I misread]
I'm wondering now if you're as old as I am (old enough to have written code for OS9), or if you're younger but curious about archeological wierdnesses in modern OSs...
1) Using a combination of mechanisms.

Dead reckoning using only a compass does you little good if you integrate over days (or more: for migrating animals, integration period would be months), more so if you are moving through water or air that itself moves in varying directions at varying speeds that you cannot measure reliably (example: human sailors sailing from the north coast of Spain into the English Channel sometimes managed to end up west of Land's End (https://en.m.wikipedia.org/wiki/Scilly_naval_disaster_of_170...)

Homing pigeons, for example, are better at finding their home if they have had time to fly around in its wider neighborhood. That way, if their imperfect navigation methods bring them somewhere 30 miles from home, they recognize the location and get home from there.

For homing pigeons, smell also has been mentioned as something they use to get home.

It also wouldn't surprise me if homing pigeons living near the center of Paris became better at getting home after the Eiffel Tower was built.

2) using the law of large numbers. Not all animals need to return for migration to be a success for the species.
Wasn't before, but it looks like Google has updated their cached version.
7 Process Steps with Mobile DevOps Tools
Here's a great read about homing pigeons where they do that sort of test [1]. The answer appears to be that they use multiple cues so it's hard to isolate them.

This seems likely to me, since there just doesn't seem to be enough information in knowing the magnetic field at your location to determine your home location, which the this article claims they do (they don't need information from the trip out to find home, and they fly roughly straight home so they must know the home direction immediately upon start). Interestingly, they can't return home if you knock out their sense of smell. But maybe that accidentally knocks out 'compass sense' as well.

This article has some great snippits:
"Older pigeons transported to the release site inside sealed metal containers, supplied with bottled air, anesthetized and placed on rotating turntables, all of which should make it hard for them to keep track of their outward journey, still home."

They can home from 1800km away! And after being away for 7 years! They can home even if they never left the home loft (presumably until being sedated and carried away to test their homing ability), though the success rate is low.

Edit: more directly to your question is this quote: "Keeton reasoned that if his pigeons were well oriented under overcast they must be using a cue other than the sun compass.He found that pigeons with magnets fastened on their backs were often disoriented when released under overcast."

and "Under a sunny sky, the coils, whatever their polarity, only deﬂect the pigeon’s vanishing bearings by a few degrees. If a pigeon wearing an NUP coil starts its homeward journey under overcast, it will head away from the release point in the direction away from home. Should the sun appear, even if only momentarily, through a hole in the clouds, it will reverse course and head directly for home."

[1] https://www.researchgate.net/publication/13905901_Pigeon_Hom...
That's where a tool like this could come in handy.

A general purpose regex optimizer can't make assumptions like you don't care about the ordering of sub-groups, but a tool like this can.

If you are just looking for the fastest way to to match any 1 of these 40 keywords, this could make a fast regex that can minimize backtracking.

Like I said, I have no idea if it would make any real difference, but if it did incorporating something like that into a build process for syntax highlighting packages could improve performance for a bunch of people.
The Rise and Retreat of the Megabank
He's probably an Oracle employee.
dang replied to a comment that is hidden, it isn't a reply to your comment.

You can turn on showdead in your profile to see comments that have been hidden.
That's a fair point, though it is pretty US-specific. In the rest of the world, people don't end college with massive debt. IT industry seems to be a big equalizer there - you don't need massive capital to start something, and with the current job situation, the little effort it takes to learn to code (compared to alternatives) can let you jump up the social ladder pretty quickly.
Thanks. I had to look back at my notes. I had issues with matplotlib and few other packages at the time with python 3.4, due to python not being built as framework.

I have just found a related issue: https://github.com/joyent/pkgsrc/issues/331 Unfortunately, from what I read there, I have still to use homebrew or install from python.org (with those I have no issue). I really enjoyed pkgin otherwise.
A Side Project Tale of Sour Grapes
The problem with this is that currently, as best as anyone knows, Sci-hub works via proxying using legitimate logins. At a University level, usually there is some server running that acts as a proxy so that students and instructors on the campus can access (all calls get proxied), or students can access off campus using their federated student logins, which then creates a quick web-proxy.

Since it's just a login/access to proxied logins, Sci-hub has a third option which they will most definitely double-down on: try to "fix" the log in problem they have.

As important as I do think piracy is for situations just like this, the problem with trying to understand piracy in a market environment is that piracy doesn't really follow the same rules as other market elements. While there may be some economic value to pirates, for the most part, they can compete on cost and free of the trappings of business deals. They don't have to worry about making a profit, and as such are not influenced by the responses from other elements, such as those they're pirating from.

This isn't "oh woe to the publishers"; I do think they've been bending us over forever. But to expect them to respond to piracy as they would another business is unrealistic in my mind, especially when they can just regulate and sue their way to their goals.

What hopefully happens as a result of Sci-hub is that it will change the way that researchers and their institutions look towards paper publication in the future, once they realize that there's no longer a need for Elsevier and its kin. That is change I hope happens. But to expect Elsevier et. al. to do anything but try to return to their status quo is kind of absurd.
I wonder if there are any who look at the network traffic on the Wi-Fi network.
Do you have a link for the torrents? I couldn't see anything on the main sci-hub site.
Yes agreed, and there's even a tax on your cell phone bill as a resident that goes to the MTA. They are undercapitalized for all the projects they have already begun work on.
We Made a Who Is Hiring Android App That Pulls Job Listing from HN, Lever, Angel
Basically, we pull listing from HN, StackExchange, Angel, Lever, etc. We index them by types (Remote, Fulltime, Freelance, etc.), Languages (Ruby, Node, etc.), Frameworks, database, location, etc. so that you can filter & search for what you want. We also translate the location to GPS position (lat, lng) so that you got the listing nearby.

Android Link: https://play.google.com/store/apps/details?id=net.symisc.whois.hiring

iOS should follow shortly
After I wrote that comment I thought it might be worth submitting this Andl story to HN about Andl-on-Postgres: [0]. They write, "Relational expressions are converted into equivalent SQL and passed back to the Postgres SPI interface for execution," so you are right about transpiling. But the software world is more mature than it was 20 years ago, so it seems reasonable for a project to get a toehold by building on top of existing systems. That needn't limit its future growth necessarily. It sounds like Andl will work on more than just Postgres, so I can imagine them eventually building a "native" version too. Using existing RDBMSes is a pretty good way to get an MVP though. :-)

[0] https://news.ycombinator.com/item?id=11802917
>having the computer guess is just a bad idea

Not necessarily. If you approach this strictly from a business perspective as a commercial software developer, statistical guesses (not just about gender) that, for example, delight 70% of your users at the price of upsetting 3% can be worth it.
A browser extension that prevents the “pastejacking” exploit
Only the major cities have rampant crime. Get out to the countryside, and it's a wonderful place. Even Florianopolis has much lower crime rates than places like Sao Paulo. As a tourist, you can skip Sao Paulo and not miss much. My wife is a Paulista and we fly in, see some aunties, and then GTFO for Rio or Bahia.

SP is where most of the fiber landings are, so if you're in the networking business, you're probably stuck there.
I'm not quite sure what to make of a person like that offering a "post trump America starter pack". I for one want to MAGA because I have the dignity not to think that kind of book store is cool, or hip, or awesome or whatever the hippest of the hip bearded man-bun donning hipsters use these days to describe stuff they discover that was never lost or forgotten in the first place.

Interestingly enough, there are quite a few of these weird ass hoarder book stores in the DC area.
My reply was in response to:

"they see Trump as ideologically aligned with Putin's own highly nationalistic and oligarchial platform and worldview (Trump's campaign manager Paul Manafort has direct close ties to Putin's oligarchy"

So the argument is, Trump's advisors have ties to Putin's advisors, that therefore proves the allegation that Putin's admin sees a possible Trump admin as some kind of natural or kindred allies. That proof is very thin. So I refute that by saying that lots of people have ties to the Kremlin and that does not prove any kind of "alliance".
Isn't this in the same category as asking someone questions on some java API which could be easily found online via any search engine ? That's what most certification programs do nowadays - focus on rote memorization.
Agreed...the lecture style with an expensive backup reference (aka textbook) is so wasteful. What one can learn by reading a good text in an hour is at least twice the content as a lecture, in my experience.
Ask HN: Does Bitcoin solve the micropayment problem?
Is it possible to do micropayments with Bitcoin?
There are many contradictory information about this.
I am interested in payments like at a grocery store. Say, $0.5 to $20.

You can't do this directly on the blockchain because it is too much overhead, too slow and too expensive, right?

There are "micropayment channels" for repeated micro-payments (i.e. pay for API calls), but they are not intended to be used for one-time payments, right?

Though you can build one-time payments on top of payment channels, by involving a third-party middleman, right?

This breaks most of the decentralized awesomeness of bitcoin, right?

Are there any altcoins that actually solve the micropayment problem?
Oh, I see. Thanks for clearing that up.

It was displayed as if it was a reply to mine - in place of the deleted comment there was just "[flagged]", but no date or anything, so it looked like a tag added to mine. This isn't most readable UI...

Thanks for the showdead tip.
I'll give her credit for putting the time in more than most. Even I'm guilty on that one as my brain-damaged ass could be cloning UNIX apps in Rust or SPARK or something with MAC or Capsicum policies. My research is important but most of us doing such things don't do enough OSS coding.