skysight-inc/HackerNews huggingface dataset:
sigh

You are trying to equate mathematical functions and software functions (i.e. co-routines). They are not the same thing.

A co-routine does not have a domain and co-domain. When we declare a function type

F(T_1, T_2) T_3, T_4, ... {}

we are saying that a co-routine begins in a pair type (T_1, T_2), it ends in a function type (return) mapping the T_3 and T_4 values to a pair type (Pointer, Data) for both values (as a simplified view).

> So, here, foo's return type really is "bottom".

No, the return co-routine is a routine that finishes successfully but "emits" no value. There are no bottom or unit types anywhere in this. Sorry.
JetBrains Upsource 1.0
That's the risk you run with any service provider.

At one point I had servers at The Planet/Softlayer and after a year they had a new deal with the same server/hardware with more memory for half of what I was paying. I ended up ordering a new server, and having to move my data and everything because the sales rep couldn't get me the new deal on my old server.
congratulations, you're this guy: http://www.xkcd.com/1105/

until there's a significant number of people doing the same thing, you're simply "that guy in <insert geoip lookup city here> with the randomized UA", and you're infinitely more fingerprintable than just about anybody else on the internet. got to EFF's panopticlick to see how unique your fingerprint is. using an iPad with up-to-date software gets me the same fingerprint as about 18000 other people in my geoip region, i haven't been able to do better than that yet.
This sort of code is one of the motivations behind improving the random number generation facilities available in C++. If you're using C++ or you're using C and have the option to link with C++, I strongly recommend looking at the random number library introduced in C++11 [1]. In addition to letting you specify a statistical distribution (including a proper uniform distribution for both integral and floating-point types), it lets you choose between various PRNG engines with various trade-offs. It also provides a way to source hardware entropy with which to seed an engine, and it's all pretty easy to use.

*[1] en.cppreference.com/w/cpp/numeric
That's true, and in many cases people who may be contributing to a country's war effort (thus making themselves legitimate targets) are there involuntarily as a result of having been drafted or otherwise pressed into service. Arguably the worst aspect of industrialized war is the inexorable military logic of attacking the enemy's productive rather than military capacity, as a natural extension of cutting an army's lines of supply.

I agree that trying to establish bright-line rules often seems a futile exercise because it's so easy to come up with ethical inconsistencies. I do have a theory about the moral calculus of conflict but it's inchoate and this comment isn't really the place for it. To sketch the outline, though, the severity of a given outcome in a conflict can be mitigated by the degree of risk involved in bringing it about; so while the imposition involved in sleep deprivation or keeping someone cold is mild compared to someone being horribly maimed by a piece of shrapnel, it's the massive prior asymmetry between captor and prisoner that's problematic in the case of torture. Of course, you could argue that this asymmetry is also strong where only one side in a conflict has an air force or where one side is using remote-controlled military assets like drones, whose 'pilots' experience no physical risks whatsoever. This is going to become a huge problem within a few short years with robotic infantry assets - as soon as they're 'good enough' to deploy effectively there will be huge pressure to do so, even if they are just slightly extending forward positions over a short distance.
> Go doesn't have tuples because they aren't very compatible with compile-time type safety.

What's the problem? Couldn't you have something like:

(string, int)

For example in the return type of a function? I.e., this function returns a tuple of string and int.
Delete something they posted about you.
There is zero legal way to operate like that in the United States. If you employ someone, you must put them on a normal payroll schedule, must pay them at least minimum wage, and must begin withholding taxes and the other usual payroll responsibilities. In California specifically, you must receive at least two paychecks per calendar month. Failing to do any of that is a violation of state and federal labor laws, and no contract/agreement/waiver can supersede this -- you can't do employee work for free (or for promises of future wages) even if you want to.

http://www.dir.ca.gov/dlse/faq_minimumwage.htm

http://www.dir.ca.gov/dlse/FAQ_Paydays.htm
Technicalities aside. They're still making money by helping people "pirate" stuff. Assuming ads on their site do actually generate revenue, and that revenue gets forwarded to them.

Though I kinda expect the average piratebay user to have adblock installed.
Perl was my go-to language for 8 years before Ruby so I fancied a comparison. And.. Ruby is rarely as brief, but even with my Perl hat on, it seems much easier to read, especially if you didn't write it:

Perl 6:

say " {.key}: {+.value} student{"s" if .value != 1}"
for %grade.classify(*.value.comb[0]).sort(*.key);

Ruby:

grades.group_by { |name, grade| grade[0] }
.sort
.each do |grade, names|
puts " #{grade}: #{names.length} student#{'s' if names.length != 1}"
end

Or if it had to be as 'functional' as the Perl..

puts grades.group_by { |name, grade| grade[0] }
.map { |grade, names| " #{grade}: #{names.length} student#{'s' if names.length != 1}" }
.sort.join("\n")

Both can be improved, of course! :-) I'd be keen to see a Python version actually because I know so few of its idioms but it often does well with these sorts of things as well..
So many things wrong with this:

-Comcast provides a device to me and charges mea rental fee then turns around and profits off of it at no benefit to me. The modem even requires batteries which I have to pay to replace for God's sakes.

-Legal implications of other users potentially accessing illegal materials over a device located in my home.

-The Modem/Router combo supplied by Comcast is a piece of junk, and barely works for home use, let alone handling traffic created by strangers connecting.

I can confirm that Comcast does indeed turn this on without your permission. Furthermore, unless you pay attention you may not know that it is even happening. You can't disable it through the router administration either, you have to go through Comcast's website to find the setting and opt out.

All in all it's kind of a slap in the face after suffering through years of sub-par service and borderline abusive business practices.
Computer vision is advancing exponentially. This year the imageNet machine vision challenge winner got 6.7% top-5 classification error. 2013 was 11%, 2012 was 15%. And since there is an upper limit of 0% and each percentage point is exponentially harder than the last, this is actually significantly better than it seems. That's about as good as humans are estimated to be at this task, and humans require much more time to search through reference images.

The future of robotics is not manually programming robots with every move they should make, using handcrafted features to do vision,like your towel robot. It's letting the robots learn how to do tasks by themselves.
> and someone needs to be held accountable.

The citizens of the United States need to be held accountable. Sorry, someone has to start looking at the root of the problem.
The postcircumfix {} is still there, and used. It just unambiguously takes an expression, and doesn't try to intuit string quotes in some cases. So you use {} for indexing with a general expression, and <> for string indexing.
RSVP Tomorrow: LAFinTech Mix Mingle Network
Accepting Bitcoin in Cordova, Native Android
Someone should benchmark these against each other
I'd also argue that charging you a rental fee for the modem and then turning around and selling access to the device again is shady as hell.
We already can produce plenty of food, robots won't significantly affect that. But good luck affording it when you don't have any skills a machine doesn't.
We are absolutely not beyond the point of "the fat you eat makes you fat". We might be beyond the point of "the cholesterol you eat is the cholesterol that kills you", but these are very different things.
Don't be fooled! Most of these pictures are moss glued to a wall or sculpted from existing moss on the wall, NOT painted on with the the recipe shown in the article. If you check out videos/blogs/etc about this, there are never follow ups, just people making it. It's because it fails most of the time.

I've tried it myself, it's possible, but don't expect results similar to those in the article. Getting it to grow on a vertical wall is very hard, it won't hold the water and unless you have windy rain it won't really get enough water in the beginning. Because before it's become nice moss, it's more like dry grass on a wall. I've experimented with adding super absorbent polymers to hold the water ("water beads for plants" or something like that). With that, I got better results. But mostly on angled/horizontal surfaces. For some reason, my country doesn't sell that kind of stuff, so I had to cut a bunch of diapers open.
Ah, thank you. Some of the pictures you can clearly see the depth of the moss and it was absurd to think that you could paint something on to a wall which would then grow an inch or two straight out with no spread across the surface whatsoever. I'd be interested in a more honest picture set showing the results of the actual instructions being followed; I suspect they're less impressive than the clearly-molded moss drawings.
You should be able to use a high pressure washer to remove it.
Same here. Some months I barely use it, but it's just so cheap and the performance is just so good that I can't let myself let it expire.
Do we buy and enjoy wine based purely on the design of the label?
I don't mean to be snarky but... Ok, sorry I'm going to be snarky.

In all honesty, does anyone even care about Perl 6 at this point? It's become the Duke Nukem Forever of programming languages as far as I can tell.

Back in the 90s I remember the first CGI scripts I wrote were in Perl but really... the world has moved on.
The article is interesting, and I see that the author is a science writer who has written a book (which I had not ever heard of before, even though I search library databases for books on that topic all the time). After reading the comments previously posted in this thread, I'll link to some broader context.

First of all, it is plain that screening test programs that are not based on "hard endpoints" (actual reductions in all-cause disease or death) often end up being discovered to be wastes of time and money and the cause of needless patient worries. There is a group blog, Science-Based Medicine, with participation by multiple medical doctors, pharmacists, lawyers, and even reformed chiropractors, which examines the issue of the usefulness of screening tests from time to time.[1] An informed patient might well decline many currently offered screening tests, and might also well decline some preventive treatments, for example statin drugs.

But the second bit of context to look at is that whatever is being done in public health and medicine in the developed world appears to be working in part, as life expectancy at age 40, at age 60, and at even higher ages is still rising throughout the developed countries of the world.[2] Chances of surviving to healthy old age from middle age have been increasing steadily in the United States and in the whole developed world throughout my lifetime, so I may have to get ready to live as long as some of my aunts and uncles, who are now well into their nineties and still living independently.

[1] "Recent Developments and Recurring Dilemmas in Cancer Screening: Colon, Lung, Thyroid" 18 November 2014
http://www.sciencebasedmedicine.org/recent-developments-and-...

"A Skeptical Look at Screening Tests" 23 July 2013 repost
http://www.sciencebasedmedicine.org/a-skeptical-look-at-scre...

"Screening Tests - Cumulative Incidence of False Positives" 30 June 2009
http://www.sciencebasedmedicine.org/screening-tests-cumulati...

[2] http://www.nature.com/scientificamerican/journal/v307/n3/box...
The New York Times R&D Lab releases Hive, an open-source crowdsourcing tool
Or just host the site in the Tor network.
Keurig 2.0 Genuine K-Cup Spoofing Vulnerability
> What's the difference between a nil map and a non-nil but empty map?

A nil map is the absence of a map. An empty map is an empty map. The distinction is clear.
Another great resource about fractals and l-systems is Jeffery Ventrella's "Brainfilling Curves", which is also available for free online to read and download: http://www.fractalcurves.com/
I would buy this bundle if there were a better payment option. I do not trust a random credit card info box that pops up from a site that hasn't existed for very long. Bitcoin or Paypal would remove the need for me to trust you.
How and Why to Use Google Analytics Custom Campaigns
I don't see how you'd even be able to do this. Wouldn't they have to pay minimum wage? I imagine the DOL would come down pretty hard on them.
The features don't change between zoom levels. They will be displayed the same. The bug you're referring to is with a piece of software that isn't been used any more.

All projection systems have "inaccuracies". It has literally been mathematically proven ( http://en.wikipedia.org/wiki/Theorema_Egregium ). Never the less, GIS people can, and do, use many projections professionally.
did i just see a false dichotomy rebutted by another false dichotomy?
Proper link en.cppreference.com/w/cpp/numeric
Actually, it appears to not like symbols at all...
I think the reason why it sucks is because engineers don't write job specs -- recruiters do. And a lot of recruiters don't take the time to really learn about how and why engineers move from company to company. Often they don't attract the highest quality talent because they attract talent that is "just right" and they don't try harder to make their recruiting better.
That's probably not the RAID level they planned to use to ensure maximum availability.
"documentary"? The Fifth Estate is not a documentary.
What kind taking care of politics do you have in mind? The answer depends on whether you mean "vote like I would have for me by still have election days and campaigners and whatnot" or "abolish voting and make everything just work"?

The only way to live without politics or corruption and have fully automated taxation is probably to establish a nation run by a Friendly AI. No such nation exists today but you may increase the likelihood of one existing in the future by supporting Friendly AI research.
An apparently genuine job ad that came to my attention today (i think it's currently sweeping Twitter), from Sportacam in Finland [1]:

What we can offer:

- Meeting and partying with international sports superstars
- Drinking beer instead of Jolt-coke
- Making it rain on them hoes
- Salary and/or Equity

Yes, this will all come true if you fit the criteria.

We expect you to:

- be totally gay for code
- know how to build a robust back-end that can handle massive amounts of photos, videos and users
- have at least 7-10 years experience in back-end development
- be able to talk to other people

Well, at least the "be able to talk to other people" is good.

[1] http://webcache.googleusercontent.com/search?q=cache:5YIQ01r...
Uber is so cute, outlaws pretending to be a corporation. How long before the executives are jailed or shot?
Can't you just poison it or something?
Thanks. Also, if people haven't seen this yet, you can easily click on your HN username and set noprocrast: yes.
Do you plan to create an Android app too ?
> Are you deliberately trying to sound like an idiot?

I understand the frustration, but please do not violate the site guidelines like this.

The comment would be appropriate and stronger with just the first question.
Hmmmm, well, the last time I checked my code library, it didn't display its race, its religion, its sex/sexual orientation, or its ethnicity.

A segregated coder group is self-serving in that it divides everyone by race/sex/religious agendas (e.g. color of skin) rather than advancing those for their skill/talent/ability to solve problems (e.g., content of character).

Best of luck,
TW
Yes, you are right, I didn't think of really large moduluses of magnitude comparable to RAND_MAX.
I dont know a lot about the organizational structure anymore, but having just watched "TPB: AFK" I assume that Peter Sunde isn't involved? I think Gottfrid and Fredrik are still in prison?
Is this actually a secret? Having recently gone through the 'math gauntlet' that is a formal CS education, it is astounding the number of people frightened to death of mathematics.
Looks cool! The number of data sources is surprising, and the pencil background looks amazing (does what it should, stay in the background).

However, what's the performance with big datasets?

For instance, I have a 2MM-records dataset which I can comfortably use in QGIS. BIME offers some great background maps, but I can imagine several huge bottlenecks from bandwidth (700mb files), browser limitations, etc.

How far can you pushed it?
You are going to hate everything about this requirement page then: https://www.bunq.com/nl/en/job/

Actually it improved a little bit. Until a few weeks ago you had to sign an NDA to learn what the company actually does.
Making the information public reduces the excusability of the people responsible. It may lead to no action, but that inaction will now be complicity.
There is lots of discussion about various map projections. There's even a XKCD strip about it. http://xkcd.com/977/
This blogspam article is just a shallow requoting of Ventrella's original article, which was extensively discussed on HN a few days ago:

https://news.ycombinator.com/item?id=8683827
I think people know that, but I think they also know that HN policy for the past few years has been to revert user-supplied titles back to the original article title, so it's hard to know what the right thing is to do.
I actually made a magnet link archive a year and something back ( http://www.karelbilek.com/piratebay/ ), mostly as an experiment

Only the magnets and names - 76 MB; all the magnets + descriptions + comments - 631 MB

It's not that workable for any particular usage (other then statistics I guess) and I never upgraded it since then. There were some attempts by other people to regularly archive TPB (and semi-mirror sites like torrentz.eu and bitsnoop were "mirroring it" by reposting its torrents until the very end) but I am not sure if somebody actually dumped it online regularly in an archive
Sure, then just have trusted third parties (such as TPB) sign the torrents. It would be pretty hard to shutdown someone signing hashes from an unknown location.
A PhD is more than x numbers of years of research. If it wasn't we would not have them at all. It is supposed to change who you are and how you approach the world. It certainly did for me. It is actually this part that made doing a PhD worthwhile as the domain knowledge I gained has long since become worthless.
Actually, there were already leaked plans from the FBI to assassinate Occupy members if the movement became too influential.

http://whowhatwhy.com/wp-content/uploads/2013/06/FloridaFBIS...

http://www.democracynow.org/2014/3/25/why_did_fbi_monitor_oc...

I guess we can't let those plebeians have their way, now, can we?
You're right, the chart needs some work. The rankings table below show the relative rise better than the chart.
Nevermind.. found that there is a Bime Desktop!
I totally agree. Ironically I think current economical situation flips the coin. Companies are fighting for developers rather than employees applying for jobs. In rare cases ( google, facebook, twitter, etc. ) these writing actually doesn't exist.
> Unfortunately, this was implemented in Firefox years ago but disabled due to a fear-mongering campaign by some self-styled privacy advocates who were quite vocal in sharing their misunderstanding of web privacy

What 'misunderstanding'? I don't want people knowing what third party links I'm clicking on. There's no misunderstanding. I understand it perfectly. I just don't want it. I disable 3rd party HTTP referers as well (using the RefControl extension). Sure it's not the only way sites can implement this behaviour, and I'm glad an official way exists... but only so Google will use it and then I can disable it. The argument against having an off switch is basically 'well, they're going to fuck you anyway, so bend over and here's some lube'.

You say 'some self-styled privacy advocates' are fear-mongering, well its because webheads keep implementing insanely harmful features and aren't actively making the web better for the privacy concious. They (we, I guess) are grossly under-served.

The response to link tracking should be "Hmm, how can we have websites ask for this permission, and shut down all these nasty means of doing it?" not "oh boy, these people are tracking people in an ugly way, how can we make this fast?". But guess which one is actually a hard problem.

Do you suppose that most everyday users know (not suspect, but know) that Google are watching every link they click on? A technologically illiterate user base cannot consent.
I know.. this is what I face every day.

They hire managers and Directors who will do what the people above them say. The people above them have even less technical know-how, so it's not like they can vet potential candidates.
Good catch, I forgot I had them broken out, makes it even more common perhaps, but there could be overlap with posts using both terms.
Thanks for sharing that - never seen it before. I like that it gets something accomplished if it needs to be removed. Reminds me of the pothole artist in Chicago.

http://chicago.curbed.com/archives/2014/11/03/chicagos-potho...
Hence arc4random_uniform() in OpenBSD, which accounts for modulo bias (https://en.wikipedia.org/wiki/Fisher–Yates_shuffle#Modulo_bi...).
"In theory there is no difference between theory and practice. In practice there is." - Yogi Berra
> You compare how kids are self motivated to learn complex tasks like walking, talking, etc. but lose a lot of motivation when required to memorize dull facts about the interior angles of triangle.

Funny you mention this. I remember being taught the sum of the internal angles, the pythagorean theorem and other facts by folding paper triangles.
A Feminist Critique of Silicon Valley
I think you will find this interesting then: https://en.bitcoin.it/wiki/Agents
Ask HN: Testing in production after deployment
I'm butting head with various people at the office and even being told that it is an industry standard to do so. I was unfortunately not given references for this point of view and all the references I could find seemed to confirmed my own point of view.

I'm interested to know if you are doing it and for what reason?

What problems do you expect you can find in production being that you are running the same code-base and likely are doing the same tests?

Why wouldn't fixing your actual development process by learning from errors found by your users/clients not work?

How the current testing methodology from a dev or pre-production environment couldn't have revealed those problems such that production testing after deployment could have?

Much appreciated!
Yes, but unlike having a second result this particular error check need not be touched. To make it so the caller has to check it, I'd have to return a dummy normal return.
It is simply not true that "Plaguirism is effectively copyright infringement." As I tried but failed to explain!

I am not sure what definition of 'piracy' you are using where it's not simply a synonym for 'copyright infringement', but I'm not really sure it matters.

For better or for worse, your "world view" is pretty irrelevant in determining whether you infringed copyright or not.