skysight-inc/HackerNews huggingface dataset:
Oh, God, you just came to the Monad definition...

From my experience, it only really falls in place after you write your first or second monad. To learn that you go in that order:

1 - Get used to use the IO monad in do notation.
2 - Learn a couple more monads. I'd recommend State and one of Parsec or Attoparsec. (As a bonus, use a bit of applicative syntax too.)
3 - Get used to write some somewhat complex one liners without the do notation.
4 - Abuse the List monad for practice.
5 - Write your own.

All the time, look at the types as much as you need, but do not obsess over them.
The downvotes demonstrate that the community has decided it's so obvious that these aren't threats that it's not even worth explaining. We on the Internet are viewing these comments through the prism of our own experience viewing other online comments, and that experience causes us to "just know" that they aren't threats. "just knowing" is an argument that wouldn't stand up in court, though. Nothing in law is obvious
GLOBAL INTERGOLD – International team
T.S. Eliot was my first window into the horror of modern warfare. From him, I learned about other poets and writers of his generation. If I did some analysis, I'd wager I'd find his influence on my own poetry. Wouldn't surprise me in the least.
The difference is that a class combines several things into one construct (initialization, type definition, naming) that are separate with records. This is also what causes you to need such an elaborate design for constructors.
Ask HN: Freelancer Agency Commission
I've recently started part-time work via a freelance developer agency, a relatively popular one but the name is not important for this question.

I live in a somewhat poor country and the rate I agreed to is ok for this location. It is peanuts in comparison to the US, but that's not a problem.

Anyway, one of the mantras of this agency is "don't talk rates with clients", pretty standard I would guess, and it's clear why that would be a rule. Nonetheless I respect that and don't discuss it. I am curious of course and would want to "maximize" my share and rate before taking any longer engagement via them, but I'm in no rush.

So, today I mistakenly received a contract from a client, without requesting it, and it turns out this agency is charging them double what I make for the work, effectively taking an almost 50% cut of the total.

This seems crazy to me, granted I would make none if they had not arranged the contact, but 50% seems excessive. Is this normal?
>Why this disparity?

For the simple fact that we already have evidence that some protected classes perform worse on IQ tests. Therefore, simply by using an IQ test you are discriminating against a protected class. The burden is on you to prove that the discrimination is necessary. No one needs to prove that discrimination is happening because you are using a test that has already been show to be discriminatory.

Interview based hiring techniques are much more varied than IQ tests, and they have not been shown to be near universally discriminatory. Therefore the burden is first to prove that discrimination is happening in the particular situation.
Arrow functions and `let` are what is generally considered to be the "correct" way of doing things. They behave more closely to how other languages behave, and should reduce overall confusion in the long term.

The arrow operator is indeed syntactic sugar for binding `this` to the function. It's not really necessary, but it makes it much easier to do what you expect to do 99% of the time.

Yes, it sucks that there are now two slightly different ways of doing things, but it's better than breaking all of the existing code currently in use. Hopefully, linters and analysis tools will mark `var` and non-arrow functions as deprecated soon after the major engines support ES6.
Am I missing something, or can you just leave Bluetooth off for this to be a non-issue from a privacy standpoint?

I usually never have it on anyway due to battery drain.
Sports Games and the Creative Delusion
What are your alternatives?

1. Pinterest never makes money, goes out of business.

2. Pinterest slaps ads up on their website.

3. Pinterest puts "Buy" buttons on every identified product.

4. Pinterest charges you $10/month.

#3 sounds way more palatable to me than #2. And we both know #4 isn't a realistic option.
Wow, I really hope that brick-scroll doesn't catch on.
I really would love to see how a Google car would handle chaos of third world metros, like Mumbai, Manilla etc...
I was too young at the time optical medium was everywhere to search for actual data, and public claims were contradictory (5 years, 10 years .. more .. ). And that was CD-ROM density.

Interestingly, http://blog.digistor.com/the-unparalleled-durability-of-blu-... says that there were new design constraint in blurays making them much more durable.
Does too much porn numb sexual pleasure?
What well-designed language doesn't do this?
The 18-Rotor Volocopter Is Like a Flying Car, but Better
As someone with a life long case of VERY serious, diagnosed, and treated ADHD, one that is exacerbated by noise (I also have an auditory processing disorder); I often feel I have to take myself out of the running for any job in an open plan office.

Theoretically the Americans with Disabilities Act would allow me to ask for accommodation for this. Practically speaking, my coaches tell me never to ask for it, as employers don't get it and think you're making excuses.

But the fact is, I do have a disability and it's the cognitive equivalent of asking a person in a wheelchair to use steps to get to work.

And as an introvert, I find offices exhausting, the constant demand to be "On" is not only distracting but productivity limiting--especially pointless meetings where I have to work very hard to manage my limited attention span.

Yet another example of how silicon valley culture works for a tiny sliver of the population.

working from home is the best solution. I never go to a coffee shop--even that is too distracting. I schedule meetings with clients in chunks of time that are better for me (afternoons vs my very precious productive mornings) and I batch them so I'm not constantly context switching.

PS I'm not a developer--so you devs aren't the only ones suffering! Good writing and marketing needs thinking time too!
Are there any estimates of the proportion of iPhone and iPads sold that are 16 GB? I would guess it's more than 50%.
I guess than the greek people should go find those people who were cooking the books and hold them accountable.

I yet to see how the bad greek government is anybody else's problem other than the voters who put them in place and the country itself. Politicians like to take credit for every progress but never take the blame.

Imagine if you did the same thing as a leader of a corporation. Why is it different than bad leaders of a country? Just because politicians are historically untouchable?

What is the guarantee that it wont happen again with the current government? Did anything change?
How much does algebra contribute to learning Type theory ? I'm currently working on the How to prove it book. I thought, I would jump to TAPL after finishing that.
I see. What is you suggested solution?
You either add the logs as type annotations, or you run it inside a logging monad (not IO).
Golang config syntax and parser
Dear World: Here Are Some Drought Fixes. Love, California
A startup that sells $1 razors is now worth $615M – Dollar Shave Club
Perhaps Amazon's Glacier center operates in a lights-out environment with a decreased oxygen environment to increase the life span of the discs.
I am very familiar with the "particular religion mentioned" the Latter Day Saints aka Mormons.

The OP was obviously just bringing up an anecdote from his/her own life and in a very harmless way. Your comment was rude and your meta note is off base. Bringing up religion on HN is fine if done in a sane and approachable way. I've done this multiple times in an attempt to learn and to offer my opinions. I feel it has been beneficial for both myself and others here in the community and I've never received negative feedback from anyone like what you've posted.

I feel as if you've done a disservice in misrepresenting the respectful nature of our community regarding religion in most cases. If the op is trying to use his account to convert people on HN it's pretty obvious from his past comments that he's not doing it enough.

I've seen polls on here about religion, articles about religion, and other comments about religion. It's part of our history as a species and shouldn't be ignored, even if you feel that further practice of any religion is detrimental to society. Writing anything out of history tends to be bad practice.

Side note: I'm not Mormon but I was raised as one.
I imagine a total fail. The car is programmed with an expectation of fairness - it assumes folks stop at lights, observer lanes and take turns at intersections, at least most of the time.

In those other cities the locals would learn to game the autocars, taking the initiative from them at every interaction, leaving them impotently idling at a busy intersection waiting for somebody, anybody, to give them an opening.
In Google's defense their support for people who are paying money for a service tends to be better - both AdWords and Google Apps have had pretty solid support teams when I've needed them.
Mount it on a unicycle, ride to a beer festival, and be the most Cambridge thing ever.
Vesting options on your 401(k) are common. For example, my company does it like this:

First year - no company 401(k) contributions.

Second year - full 401(k) contributions but 25% vestment. That means you get the money in your account (and it compounds) but if you leave before you hit your third year you only get to ultimately keep 25% of the money they contributed.

Third year - 50% vested.

Fourth year - 75% vested.

fifth year - 100% vested. Money is all yours.

(I think vested is the right word, correct me if I'm wrong)

Also, I worked for a company (in a non-technical position) where they initially hired at a low rate. You learned your job as you went and each job milestone had a test (written and practical). Passing the test netted a large increase in salary. You could learn other jobs other than the one you were hired for and increase your salary even more. It was a great system.
Maybe he's coming from Perl or something with narrow scoping.
> People who say this don't have a lot of friends, or don't care about their friends

I just wanted to add another voice saying that this isn't remotely true. I have a large and close-knit circle of friends, who work in technical fields, but Facebook isn't our thing. A few of my friends use Facebook a lot, but many use it rarely, and many don't have an account.
I'm actually a bit surprised Pandora is still doing well considering the rise of streaming services like rdio which implemented pandora-like features years ago. And they've implemented them better, I'd argue.
Is a Four-Day Work Week Right for Your Company?
I enjoyed Tanenbaum's talk. I learned some new things about the design of kernels (In particular how bad everything actually is)
So maybe this is a stupid question, but if vulnerable women are "still" exploited then how was keeping it illegal helping anything?
Correct me if I'm wrong, but shouldn't Wayland fix these kinds of security issues in X?
While that is true I think that most users will be oblivious to the commonalities - as developers we are not only familiar with bootstrap but also with the myriad developer-built sites that are more likely to use it
Ah, forgive me. I wasn't suggesting that such a robotic car exists already. More that successfully navigating such a situation on a freeway would be an acceptance test that I would like to insist on before entrusting my life to one, and would DEFINITELY insist upon prior to purchasing one.

Were I in need of a self-driving tractor given the much lower speeds and whatnot I might be much more willing to accept a fairly primitive autopilot rather than something truly self-driving. Freeing me from needing to constantly be on the alert to keep a combine from straying from the optimal path is far, far more important that something that'll drive itself from the barn to the diesel pump and then onwards to the field. Were I wealthy enough to afford so much land to where owning such a vehicle was necessary then either driving it myself or hiring someone else to handle that would be entirely reasonable.
I don't have any inside knowledge of the Deere system, but I'd be very surprised if it was. My guess is that most of the Deere stuff comes NavCom. That is certainly the case for their GPS system.

> "NavCom's involvement with Deere & Company began with Deere's GreenStar precision farming system in 1994 and has expanded into many areas of Deere's product activities. The commitment by the most senior Deere management to information systems leadership motivated the NavCom shareholder-employees to join with Deere & Company,"

http://www.prnewswire.com/news-releases/deere--company-acqui...
> an opportunity for the candidate to decide if they can get along with the existing team? Is that fair?

Earning both 'team buy-in' and helping a potential hire gain 'good-fit' insight with his prospective colleagues is a best practice in hiring. Better still, allow the potential hire & current developers meet 1:1 on the company card without your supervision. It implies trust and executive competence.
More anecdotal evidence.

I have two very old SSD. They are the 4 and 16 GB SSD of the early EEEPC 900 Linux version https://en.wikipedia.org/?title=Asus_Eee_PC#Eee_900_series

Needless to say, that netbook stays shut down for months but it still works when I turn it on. It survived many summers at 30 C. I don't know which kind of SSD it contains but being from 2008 it shouldn't be anything too fancy.
Tinder for Baby Names
Companies have to do stuff like this since employee loyalty was lost when companies started making layoffs commonplace.

Training from a company says that they have a vested interest in the person, but they don't. Companies don't care about you, they only care about the bottom line and do not have any interest in spending effort to teach you something you could use somewhere else.
These "immersive" stories will disappear once the realization that the ROI on them doesn't work. Expensive to create, but no income generated because no-one reads them because they are annoying.

The only companies left using them will be those with no concern about ROI such as here; the state-funded BBC.

I'm sure it looks good on the designer's CV though. Who cares about the people who have to actually read the content...
To your LED point, I'm unaware of anyone not putting LED if cost of electricity or labor is of any importance.

Consumers may not have gotten the message yet, but anyone running the numbers is going LED or nothing at all (small exceptions for grow operations or theater lightening).
PostgreSQL foreign data wrappers using Ruby
At least you were told it was "gentrifying", not that it was "gentrified". You probably got a discount for moving into a neighborhood that was gentrifying. Once gentrified, the discount probably largely disappears.
It does since there are (in NY at least) state tests to measure progress of the students and those results are never released to students or parents but used in "grading" teachers.

It seems very closely tied with the Common Core rollout. I get that employers (state governments) want to measure teacher performance but how do you do that realistically? Will it change anything if a teacher has poor performance? They are under union contracts these days anyhow and some are tenured.
The Linux Foundation is just a renamed Open Source Development Labs and it merged with the Free Standards Group is memory serves. They never have and never will have much of anything to do with the Free Software Foundation other than the GPLv2 license.
http://www.wired.com/2012/08/administrative-subpoenas/

http://arstechnica.com/tech-policy/2015/03/feds-subpoena-red...
...except that they distribute the material so thinly, its unlikely it'll ever be economical to mine. Even the 'original' mines e.g. copper, iron, need very high mineral densities to make them worthwhile. Landfills are orders of magnitude less dense.
The problem is that 99.9% of the material about Category Theory in existence just forget to talk about two features of it: what is it useful for, and how it relates to mode widely known concepts, like functions.

Haskell is accessible. Just ignore the monad tutorials.
>But still, there must be one project that the candidate considers his best work, one he/she is proud of, one where he has motivation to do best.

For an experienced developer, that would be a workplace project, which you probably could not see. Indeed, it _should_ be a workplace project; would you hire a professional developer whose best work is their personal project?

But if what you're saying is that the mark of an ideal developer is one who has produced a personal-time product of professional quality, where every checkin is to workplace standards, and has developed the project from conception all the way to release, again all on personal time, then what you're asking for is not a developer who also codes as a hobby, but a developer who (at least part of the time) works two actual jobs. One of which they do for free for portfolio development. I don't find that to be a reasonable expectation, even if it would give employers "important insights".
Granted, it's hard to quantify. But we do know specific issues of transparency that were promised but never delivered.

Most egregiously, he promised that he'd post for 3(?) days, every bill passed by Congress, prior to signing it into law. This is something that he could have done unilaterally, it was - and still is - entirely his own decision. Yet that promise was abandoned within the first week of his presidency.

That the promise was so quickly and thoroughly broken, even in cases for which there's no apparent special circumstances, is sufficient evidence to me that the promise was nothing but pandering, without any good faith behind it.
This is one of the points made repeatedly in the book _Skunk Works_ by Ben Rich: the engineers works side-by-side with the folks building the parts, and have some manufacturing knowledge themselves. The Skunk Works fusion project that was here the other day made passing mention of that approach too.
Security CheatSheets, a collection of cheatsheets for hack tools and topics
Not the OP of course, but HN's charter has always been intellectually cosmopolitan (https://news.ycombinator.com/hackernews.html) and we love it when people post stories like this.

They'll never dominate the front page, but the best general-interest articles on art, literature, and history are welcome here.
The source, with more details and the links to the documents:

The Intercept: "Popular Security Software Came Under Relentless NSA and GCHQ Attacks"

https://firstlook.org/theintercept/2015/06/22/nsa-gchq-targe...

The Intercept checked some claims themselves: "Testing performed by The Intercept last month on a trial copy of “Kaspersky Small Business Security 4” determined that, while some traffic was indeed encrypted, a detailed report of the host’s hardware configuration and installed software was relayed back to Kaspersky entirely unencrypted. By the time of publication, Kaspersky told The Intercept via email, it was unable to reproduce these results."
The Internet That Was (and Still Could Be)
I download ISOs from Oracle mirrors that, as far as I know, are encumbered with no such restrictions, although the list of mirrors is on a wiki that is being shut down:

https://wikis.oracle.com/display/oraclelinux/Downloading+Ora...
Fuelless space travel using the Yarkovsky/YORP effects
Certainly, it happens all the time. Leibniz and Newton invented calculus at the same time. Scala is 12 years old though, and it's rare for a language designer to not be aware of the main competitor in the same space, which is probably why people assumed that you were aware of Scala.

Note that I personally couldn't care less who invented what, I just wrote what I thought duaneb and stephen were getting at to clear up the confusion since you said "I guess I don't understand what you're saying here."
For some reason Firefox reading mode starts about half way down the article.
Makes sense. When you said they were in the same space I thought it meant both your ideas had strong overlap.
I just tried disabling javascript but it did not have the desired effect of removing the "parallax" type effect when scrolling. I tried one of the two browser extensions I mentioned, Clearly, and it worked well.
Ask HN: To Bootstrap or Not to Bootstrap?
I have been using bootstrap for years and generally prefer it as the starting point on all of my front end designs. But I'm working on a project right now with another developer who doesn't want to use it because he says it's heavy and doesn't follow best design practices.

I have never had a problem before. What do you think? Why not use bootstrap?
How the Star Wars Logo Got Confused with Nazi Typography
> fact is that constructors are called on the class/type, and not on the instance.

But this is the case in Scala too. So I really don't understand the distinction you're trying to make.

> No, because it is good design to have one entry-point to create an instance, not 5.

I don't understand how having a factory method on a Scala companion object that calls an overloaded constructor of a Scala class is not a separate "entry-point". I count each of those factory-method-constructor bundles as one entry-point. And even if these factory methods all call the same constructor, they still seem like separate "entry-point"s.

And apart from your assertion that a single "entry-point" is good design, I don't quite see any particular reason to believe it. You've offered no arguments for this assertion.

> In Scala you have one place for "static" things. In Ceylon, static is all over the place:

Scala has members of objects and constructors of classes. Ceylon has members of objects and constructors of classes. Where is the difference? OK, so in Ceylon I can have a constructor which does not declare any parameters. How does that amount to being "all over the place" compared to Scala.

> Yes. Ceylon wasted the "good" syntax on the wrong construct. Most of the patterns leveraged in factory methods are just not available in Ceylon, because the best syntax was directly married to the class.

Well you see this is where Scala starts to look really bad. The problem is that Scala has no plain functions. Scala forces you to write methods of objects. In Ceylon we have toplevel functions, so we just don't need to go around sticking functions on the side of classes like you do in Scala.

> Everything Ceylon has built into "constructors" are just standard methods with no magic required in Scala.

This is simply false. You can't emulate constructors with plain methods in a language which enforces immutability / single-assignment. If you could, we would have done it that way.

> Yes, constructors are not extremely powerful – because they don't need to be in Scala.

Well, I never claimed that Scala needed constructors. Indeed I never mentioned Scala until people started trying to say—incorrectly to the point of absurdity, as it turns out—that Ceylon had copied its system of constructors from Scala.

Indeed you were one of those people. You entered this discussion with the following attack on me:

> A language designer which doesn't want to give credit where credit is due

I'm still waiting for you to retract that, now that I've conclusively demonstrated that Ceylon's constructors are totally different to—and more powerful than—Scala's.
Reasonable person standard is one of those situations where "just knowing" is actually an argument that stands up in court.
That was a great book! I read it when I was in high school. Seems like I should probably read it again.
I didn't have a single problem reading this article.