skysight-inc/HackerNews huggingface dataset:
I really hate this argument. Sure, everyone knows that Facebook makes money by selling advertisers access to targeted users. However, it isn't like users aren't getting something in return for this. Users of facebook aren't 'useds', they are participants in a transaction. They are given a service they enjoy, and in return they grant their eyeballs for ads, and their data for targeting those ads.

Now, we can argue whether users are aware of what they are trading, or if the trade is fair, but I think most people have a pretty good idea of how Facebook is making money.
That's the thing I don't really get about libraries. They are incredibly deletionist.

My pet theory: the librarians feel they have power that way, by "curating" the collection that will presented to the peasants.
Post EU Referendum Racism Documented Online and It’s Really Scary
They did. Because London has become absolutely culturally detatched from the rest of the UK. The rich elite living in Islington really do love the EU.

Unfortunately, the EU hasn't been quite so good for people who don't live in London or Scotland.
So i made this little project that goes trough several site with remote job offers and gets them all. I tried to make automatic tagging what helps to find the right jobs but it may be misleading sometimes.
This was kind of a fun read. I remember years ago when I was firmly in the "open source or nothing" camp, even as a non-developer. I remember the anti-DMCA campaigns, anti-microsoft linux user groups, early Linux World Expo gatherings..But then over the years, things lost a lot of steam. Linux because more corporate. Things started to shift from the desktop to the mobile device, and also being a big Mac guy at the same time I also noticed that Mac OS X offered a lot of what Linux was without the frustration of hunting down different library versions and failed compilations.

I'm thinking out loud again. But I enjoyed the read. I like the trips down memory lane.
Ah yes, I see. My ping times to Singapore are so bad that it looks like a circle over Columbia/Ecuador, ie the other side of the globe, but what looks like a circle is actually what's outside the circle.
Code faster by typing less
My experience as well. I'm from Seattle and have met (at my office and others) and overwhelmingly large number of asian, and especially female asians working in data science and machine learning.
You won't have to worry, you can rest assured you are absolutely getting jipped!
For this to be correct, all records to be resolved would need to have completely disjunct labels from the root down. Which they cannot if they are indeed in the millions.
More importantly, the UK will get less than they currently have. There's no possible way a new deal is going to be better than the already very sweet deal they currently have. A fair and reasonable deal will probably be something like that Norway and Switzerland have, which is very similar to what the UK currently has, but loses them their vote in the EU, and doesn't give them most of the things the Leave camp promised. A deal that gets them everything the Leave camp promised is impossible.

It is possible that the UK gets a slightly better deal than what Switzerland and Norway have, because the UK is bigger, but it's still not going to be a lot better. Certainly not in the current climate.
It may be a bad idea for an average developer to try it, sure. Plenty of advanced things fall in to that category though.
If someone has done an action, we can say that they're responsible for that action. There's no attack in identifying responsibility or ownership, but as I explained above, I myself have often interpreted this as an attack on me, when for example, someone was pointing out to me how I was being racist.
Nice colours, logo and name! You should have a look at Toggl. I just love how, in Toggl, you can start tracking something without creating a project first.
Hayek in the Hill Country: On Austin's Outlawing of Airbnb
Just use separate statements. You should already know before that point whether or not the request is coming from a logged in user, so to me even the if statements are redundant - have functions or methods that just take parameters for and return the result set of a single SQL query, and figure out which function to call and how valid the results are elsewhere:

function getResultsForUser($DB, $user_id)
{
$query="search for user :user_id, SQL pertaining to favourites";
$stmt=$DB->prepare($query);
$stmt->execute(["user_id"=>$user_id]);
return $stmt->fetchAll(PDO::FETCH_ASSOC);
}

function getResultsForVisitor($DB)
{
$query="blah";
$stmt=$DB->prepare($query);
$stmt->execute();
return $stmt->fetchAll(PDO::FETCH_ASSOC);
}

Yes, it does mean more code, but that code will be much cleaner, more readable, more easily transportable (by not depending on a third party library) and less bug-prone.
The older generation have seen 40 years of the EU. They know it cannot be reformed, and they know it is a corrupt undemocratic rotten sham.

Young people have been fed pro-EU propaganda from the earliest ages at nursery, school, and university.

We certainly haven't shot ourselves in the foot. We have taken back our democracy and right to self rule.
Ten years ago, there was a blog post every other week bemoaning ORM's. Ten years ago, those posts often had merit.

In 2016, this sentiment is outdated. A few points:

1. If you think that using an ORM means you don't have to learn SQL, then you're going to have a bad time. This is where most of the bad press originates... from people who never really learned SQL or their chosen ORM. An ORM provides type checking at your application layer, and typically better performance (unless you plan on hand-rolling your own multi-level cache system). But you still must understand relational database fundamentals.

2. If you're not using an ORM, then you ultimately end up writing one. And doing a far worse job than the people who focus on that for a living. It's no different from people who "don't need a web framework", and then go on to re-implement half of Rails or Spring (without accounting for any CSRF protection). Learning any framework at a professional level is a serious time investment, and many student beginners or quasi-professional cowboys don't want to do that. So they act like their hand-rolled crap is a badge of honor.

3. Ten years ago, it was a valid complaint that ORM's made custom or complex SQL impossible, didn't play well with stored procedures, etc. But it's 2016 now, and this is as obsolete as criticizing Java by pointing to the EJB 2.x spec. I can't think of a single major ORM framework today that doesn't make it easy to drop down to custom SQL when necessary.
Text version of the magazine: http://www.atarimagazines.com/creative/index/
I believe Bret Victor said in a talk that we don't see civil rights violations and think, "Oh good, an opportunity"
LICEcap – simple animated screen captures
Libraries are underfunded. Climate controlled storage for stuff that most people won't use is expensive. There are some libraries the do keep everything, so it's not "lost".
Dapper will use a constructor with parameter names that match your query's columns if you need immutability.
‘Scary’ reasons why LinkedIn sold to Microsoft
Here's the thing, anyone who knows SQL will find the second one readable, and only Ruby programmers who have used ActiveRecord will know how the first one does.
Well, then woman should start taking their time - mostly free time like the people who normally do it (which you claim is just men) do - to contribute to write those systems as well instead of just complaining they don't fell represented in the outcome.
Thanks, but there is nothing like seeing it in "print" to bring back the memories.
Hang on. You posted this 10 days ago. The post garnered 19 points, and had 26 comments in the thread:

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

For some bizarre reason you posted it again two days ago:

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

And now you post it yet again.

I've looked at your posting history and it seems that you do this regularly, posting the same things over and over again. Do you think everyone should just keep posting the same things over and over again? Or do you think you are a special case? If so, why? If not, why do you post things repeatedly?

I'd really like to know.

Thanks.
Seems a bit off for me in Virginia, USA.

http://imgur.com/TblQSSu
Hi, i am glad you like it - thanks! Yes i know toggl. Laps will have possibility to track time that is not assigned to specific task or project.
What reading articles on how bad ORMs are has taught me: More people need to use Django.

Django does a lot and does it well.
At a guess, your local farm is engaging in price discrimination. If you care enough about "buy local" to drive out to the farm to buy the vegetables, chances are they can charge you more.
I guess it could vary a lot depending on how the store is set up. We had a limited delivery area that was generally no more than 10 minutes drive radius from the store. At the time we had a 30 minute guarantee so we tried to get the pizza made and out of the store in less than 15 minutes. Anything that went out over 20 minutes old was likely to be a giveaway.

So, 10 minutes out and 10 back is 3 round trips an hour. Often you could take more than one order per trip if the locations were along the same route.

Many common delivery locations were well under 10 minutes from the store so on average 3/4 runs per hour was possible for an experienced driver who knew the area and didn't get lost -- we had no mobile phones or navigation devices -- and didn't waste time.
I find ORMs great in some scenarios.

Take a really thick client, like say a graphical diagramming tool that makes your machine's fan whir loudly when you start it up. Here an ORM can be a great tool to efficiently manage a constantly evolving, large cache of your hot objects, and keep them syched with the backing RDBMS.

Big batch programs can be another good use case.

Server side web apps and API servers though are the opposite of this. Web pages and API responses should be fast and small, so we don't normally build up a big cache, and in a stateless architecture we are normally throwing the cache away at the end of each request. In this case raw SQL is often easier than work with.
i've been using homebrew since, like, lion and never had major issues. it also always worked across major and minor mac os upgrades. the things it does in /usr/local don't interfere with mac os.

in contrast, i somehow couldn't manage to efficiently use macports and fink.
The Hedonistic Imperative, Followed to the Ends of Paradise Engineering
I said the same thing a year ago when I had FPGA synthesized verilog and decided to go get a real chip made. Closing timing along with optimizing for PPA for an ASIC vs an FPGA is a royal PITA. And that's just on the front end design work... A core on a FPGA gives you no real idea when it comes to placement or all of the other hurdles of the backend flow of a real ASIC!

We ended up re doing everything (which overall was a good thing, as we made a lot better decisions from the beginning by redesigning), but that's show biz.
Since the effort to send an email, even a "personalized one" is rapidly approaching zero, sending a handwritten note is a very personal touch. If you want, you can send postcards if you place them inside an envelope. I would not do it for new customers, unless the note was a brief typed note with a signature. Try your best to find unusual stamps - nothing says boring like a postal mark meter. Above all - make your notes sincere. That means for new customers, something short like "Thank you" because they just joined and for longer customers, a more personal note - "Thank you for being our customer for 2 years and one of our most helpful beta feature testers. Your feedback on X... (this assumes this is the customer's actual relationship). Good luck!
I've had bad pizzas at locally owned mainstream pizza places. Also good ones. But I can't say I can remember having a legitimately bad pizza at an "artisanal" place. Otoh, Dominos, Sbarro, etc. are in my experience reliable. Reliably sub-par.

Some fast chains like In-n-Out burger are pretty good in my eyes but generally I'll take my chances with reliable looking local food in most cases. I rarely regret it.
+1 for ANKOS
Comrade Boris is the Churchillest boy in the choir. (Does that phrase sound strange now, or what?)

I've been a reader since his blog/Torygraph op-ed days, and I expect to get a lot more from him. Heck, I've even bought a book he wrote, and read half of it so far.

He mostly knows his stuff, and may even be right about some of it. Bikes and all.

It'll be interesting.
Kudos to you buddy on getting it out. There's some hard-work required just to overcome the resistance to getting up to this point. And it motivates me to get mine out quicker. Thanks :)
Was it though? The people who develop the app surely account for basic voting fraud..
I'd love to, but after I click the link, I get another link to "try" it. Clicking this link still gives me no joy, as now I need to find a server or something? Ok, lets see if there is one for my country, USA. Nothing on the popular list. Guess I should try the complete list. Oh look, no way to search. No suggestions on what I should be doing.

Whatever, I could spend my time and energy figuring the rest of it out, but there is no way I am going to convince my girlfriend this is a good idea.
Dapper supports IN statements being passed an array:

SELECT x, y FROM A WHERE z IN @ids

Works if you pass in a parameters object containing a property called ids that is a list/array of some sort (see https://github.com/StackExchange/dapper-dot-net#parameterize...).

On SQL 2016 this uses STRING_SPLIT across an nvarchar(MAX) which makes it effectively unbounded. Earlier versions and other platforms have restrictions on the number of elements in the array/list.
Thanks! Yes - it is much harder as it seems @ the start. :) Good luck with your project!
I've come to love jOOQ, the Java library that I can write type-safe pure SQL in (and with code that is immediately understandable to anyone who knows SQL). It provides mechanisms to smooth the clash of Java/SQL worlds, but otherwise never assumes it is smarter than the wisdom accumulated through decades of database usage. I've come to appreciate many aspects of databases again that tools like Hibernate try to hide from me.

http://www.jooq.org/

I do still use Hibernate, probably because my usual framework of choice makes it so easy to, but anything above medium complexity goes through jOOQ nowadays.
Keep in mind though, the frequency response curve of studio monitors is more intended for pointing out flaws in a mix than enjoying music. Some of the engineers I've talked to pointed out that NS-10 monitors (once very poor selling consumer speakers, they've been considered legendary in studios for 25/+ years) are particularly harsh, and they don't enjoy listening to things on them when they don't have to.

https://en.wikipedia.org/wiki/Yamaha_NS-10

Things like Beats have frequency response curves that're basically a polar opposite from the NS-10s. Even less cringe-worthy headphones, like Sennheiser HD-280s have sort of a "smiley face" (dip from ~900-2800 hertz, while boosting very low and very high frequencies) EQ curve. Not to discredit them - they are good headphones, but in doing my own projects, I honestly feel like I've done better work on terrible sounding, $5 headphones.
Wow, the only thing missing to complete Stallman's persona is a fedora and a Guy Fawkes mask.
In the past 6 years, I've traveled significantly in New England, the New York City region, the Paris and Marseille regions, London, Leeds, Manchester, and Edinburgh, Iceland, Barcelona, Mallorca, Rome, Geneva, Genoa, Munich, Berlin, Amsterdam, Antwerp, Los Angeles, San Francisco, Santa Fe, and Austin, across a mix of work-related travel to conferences, vacations, and graduate school that involved time at a foreign program.

I have not ever used Airbnb, never found difficulty in getting good hotel accommodations for reasonable prices, never found difficult being shown around the "non-touristy" parts of every place I've visited, either by just asking locals, getting advice from friends, using travel websites, etc., and have really, really valued the nicer accommodations in traditional hotels (especially the extra privacy, standardized cleanliness, and lower variance in terms of noise and sounds that reduce sleep quality).

I'm not being snarky or critical of Airbnb, many of my good friends love it and seem to get a lot of value out of it. But I cannot see any aspect of Airbnb that offers value to me or satisfies my search criteria when looking for housing.

Given this, it is almost bewildering to me that there is so much demand for Airbnb-provided short term lodging that landlords would even consider the idea that renting an apartment solely as an Airbnb rental is more profitable than traditional rental agreements.

I mean, I can't blame the landlords if that's the case. But I sure do feel like the mass of travelers who believe they are getting value from Airbnb simply cannot be correct in their belief that they are actually receiving that value. I just wonder why they think they are.
From the Airbnb thread

http://www.buala.org/pt/cidade/quem-vai-poder-morar-em-lisbo...
>that makes me think that they think I'm an idiot and that they think they can actually manipulate me with such silliness.

So "Brexit" was made up just to manipulate British people? That's how language evolves, isn't it? New words get coined, some of them stick and stay, some go away. "Dumbocrat" won't stay for long because it carries nothing but insult.
But anyone who's ever looked knows that you DO get scrambled packets, thanks to buggy hardware. And disks screw up, too.
Never overestimate computer security, it's almost always worse than "surely it can't be that bad"
As long as there is constrained supply vs. demand there will be a need for some kind of process to allocate goods. Money has seemed to do that better than anything else we've tried.
You can hate the argument all you like; although such an emotionally charged term being levelled against the argument itself is curious but probably not particularly informative. It also doesn't change the way Facebook violates norms of privacy in a number of ways that should give people pause for thought, at any rate. RMS has put forward excellent reasons that detract from the use of the platform.
I know this isn't the main point, but airbnb lost me a long time ago with statements like this:

“If it becomes law, this legislation would threaten thousands of low- and middle-income New Yorkers with fines of up to $7,500 simply for listing that they would like to share their homes,” Airbnb fumed.

By "share", do they mean a quid pro quo exchange of goods and services for money?

It's nuts to call this "sharing", and I don't think this is quibbling about words when people at pro airbnb rallies chant "sharing is caring". Of course they're trying to grab the emotional connotations of "sharing" that exist outside the commerce world, which include friendship, generosity, and a wish to help others. I don't expect airbnb to stop this bit of manipulation, but I do think the mainstream media should certainly stop referring to the contract "you may stay in my house on the condition that you pay me the price I have specified" as "sharing". An argument by ambiguity uses the fact that words have more than one meaning, but honestly, I'm not sure how "sharing" even applies at all to such a clear cut unambiguous example of commerce.

https://en.wikipedia.org/wiki/Equivocation

There they go again, claiming that governments are regulating or fining "sharing". No, they are regulating commerce. They are threatening fines on businesses that fail to properly comply with regulations on commerce.

Airbnb's corporate-speak is pretty brazen.
For whom are these reasons "scary"?
> if men are statistically more likely to be programmers, or black people are more likely to commit crimes (STATISTICALLY),

I think you meant black people are more likely to be convicted of crime. The problems with crime 'statistics' is that on the surface, it all seems coldly scientific, yet they are generated and derived via very biased, very human, very unscientific processes - there is a lot of bad data. The ACLU did research that showed that there is no statistically significant difference in the possession of weed between white and black people, yet more black people are convicted[1] for possession.

Here's a mind experiment: after watching this YouTube video[2], how skewed do you think the statistics for white female criminals (bike thieves) vs black criminals would be?

1. https://www.aclu.org/files/assets/aclu-thewaronmarijuana-rel...

2. https://www.youtube.com/watch?v=ge7i60GuNRg
It does sound like an extra layer of unnecessary complexity to solve a problem that could be solved in other ways.
Not sure what we are arguing about here. I don't believe any of the three myths that article purports to debunk. It's not a myth though that fry is something one does to ones own voice, intentionally or from habit. It is the same for American gay male voice: just a style of speaking, learned to conform to a peer group, and relatively easily changed even in adulthood.
Think critically when reading this book, it contains a lot of fluff and self aggrandizing. It was self published, and the author(s) claimed it would be a "paradigm shift" in science, with very little impact after a decade+. [0]

[0] https://en.wikipedia.org/wiki/A_New_Kind_of_Science#Receptio...
Layer violation?

The goal is to get good sound out of your recording equipment, not to get ISO approval. :-)
They do. They just removed 77,000 signatures for fraud: http://www.independent.co.uk/news/uk/home-news/eu-referendum... (Which probably wasn't even hard - if you look at the claimed 4chan script, it uses the same postcode for every vote, which happens to be the postcode of the Houses Of Parliament.) The total number of signatures is over 3 million. Additionally, this article is from a right-wing tabloid site of questionable honesty, and is based on taking 4chan comments and random tweets at face value and then accusing the "Remainstream press" of failing to perform "basic journalistic research" for not doing so.
I would phrase it this way:

The law says racism is illegal in certain situations, and society says racism is undesirable in most situations.

The law and society aren't claiming that racism is statistically non-optimal -- in fact, there are lots of things more optimal than status quo that many people would find totally horrifying.

If are widely replacing human systems with AI systems, I think this is a legitimate concern.

I really depart from the article in two areas:

1. The AI will inherit the biases of its creators. This is possible but far from guaranteed. And relatedly, inclusivity of the development team guarantees nothing regarding the goals of the system.

2. Criticising the people who are warning of the problem and trying to do something about it. This is related to the AI control problem. There is no switch that can be flipped that will prevent AI systems from Bad Ideas. It's not that we just aren't flipping it to preserve our chokehold on captialism. Implementing morality in AI systems is a genuinely monumental problem. And the people who are doing something about it are behaving very altruistically.
> Sure - but the converse - punishing them for leaving

In what world is punishing having a worst deal that they have now because they don't have the duties?

And yes, you talk about mutual beneficial union, that is not what UK wants

Do you have read your link? Because it says that the contagion will happen if there is a good deal with UK. Just the contrary you say