skysight-inc/HackerNews huggingface dataset:
But even if we consider it wrong that "society" conditions men and women to behave differently, there's nothing wrong with companies promoting more people that are already more aggressive, which turns out to be men more often. I think it's the purpose of the companies to earn money, not to change the society; actually, I actively don't want them to influence the society too much (their influences are too powerful already), except through advancing the technology (again, within the frameworks that the civil society sets up).
> But to me, it is still far better than any of the alternatives. I like the way it protects the user from doing potentially dangerous actions by hitting a single key and I'm not bothered by command-o, command-delete at all.

What danger is finder saving a user from that other file managers aren't?

Its great for you that you don't mind command-o for open and return for rename. But please don't ask me not to think that making the most used file browser operation to be multi-key shortcut isn't beyond insane. This is exactly the thing that I hate most about this ... 'you are holding it wrong' is the kind of feedback I get from most OSX users.

> You can also get crazy file density in the Finder: http://i.imgur.com/wLW9WvF.jpg

I'm honestly not sure whats the point of this. I don't want to fit many files just for the sake of it. I want it to be useful like this http://imgur.com/EqB1drO
> if Pao had simply chosen not to date him then none of this would've happened.

Or he would have not taken no for an answer and kept trying.That last is strongly suggested by the fact that he came on to her, got told "no, you are married", made up this whole elaborate lie of a separation, got told "no, you should reconcile", and then kept the lie rolling long enough that Ms Pao figured he was separated for real. This guy is as persistent as Pepe le Pew.
AGPLv3, self-hosted solution.
I don't know; a 100% increase in whatever you've got is generally thought of as significant.
I'd always thought that the Cuban stalemate lasted so long as enough of the refugees from the revolution were alive and active in Florida politics, I hadn't realised there was a subsidy dimension to it as well.
GitHub Sticky Headers extension
In some cases you don't even have to log into anything, just type one line to create migration and another line to run it.
Where physically will weirdos live? The bay area was certainly a haven of which only a subset were technologist. And from that culture and thinking came many of the technical miracles of our age, many ideologically driven.

My concern is really painfully mundane: uncontrolled cost of living increase means there could never be a mass migration of free thinkers to the bay area today.

So individual programmers being gradually displaced in a technologist's social setting today is just a sliver of that larger displacement with its very basic cause.
"And why is changing a "no" to a "yes" unlikely? Do interviewers never change their mind afterwards?"

It's not that they never change their minds, it's more that they usually don't. Especially after telling someone officially they're rejected. If a company rejected me then phoned me up two days later saying they changed their minds I wouldn't look too favourably on them.

"I'm mildly annoyed at the person in question, and I'm outraged at all the people coming out of the woodwork to defend him."

Personally I just think he's a weirdo who's clearly not that smart. But I've seen some people call him a "sexual criminal". I'm like WTF! That's a bit extreme. That's the sort of thing the outrage culture is describing.
Show HN: Use Remaining balance of gift cards
I think you need to re-read my comment again.

As I mentioned, the merits of her case haven't been decided in either direction - let's all wait for the judgement.

However, I'm pointing out this whole ludicrous "she's one of us!", and "occasional public win!" is pretty absurd.

Here in Australia, we love rooting for the underdog, but as I said, none of the parties in this case are underdogs.

It's not like Kleiner is able to out-lawyer her. I mean, really? She's a lawyer, married to a ex-hedge fund manager (who has previously successfully sued for discrimination, and ironically been sued himself as well) - they have oodles of experience, and millions to fund this to completion.

To me, this is just a case of two adversaries, slogging it out in a civil case. Kleiner is trying to slant this as, office relationship gone wrong, and Pao has sour grapes. Pao is trying to slant this as, company was out to get me because I'm a woman, and they are a bunch of misogynistic pigs. If there was wrong here, I'd want justice meted out to the wrongful party.

However, I don't for a minute think that Pao (or Kleiner) is on "my team", or that either party represents the voice of the people.

They're just two rich parties, slogging it out, and we should hope that justice will prevail.
REMOVE the lame weak ciphers in LibreSSL/OpenSSL NOW
Why not just join the TypeScript project instead of subvert it with a fork?
> Historical data on sales of paintings would've never told Picasso to pursue Cubism, or for Salinger to write 'Catcher in the Rye'.

In that case I wish art would be data-driven, and produce more of the pre-Picasso paintings that are fun to look at and pre-Salinger books that are fun to read.
Do they make any money?
Why is .tel in both 2005 and 2009?
Instant Approval Auto Loan for Bad Credit: Various No Credit Car Loan Programs
Journalism was always a distraction.
How is her needing money a relevant argument in deciding if her lawsuit has merit?
No, and this distinction is essential:
You're welcomed based on what you can do and not on what you are. "white male" is un-meritocratic, is something you "are", and not something you can "make" by talent and effort. "code" is cold, hard, unforgiving ("you can't argue with a root shell"), and meritocratic. She's saying: Nevermind who you "ARE", you're welcomed if you can "PRODUCE" (great code). That's exactly the antithesis of what you're implying with "white male" or "black female" or "$X $Y". The mere fact of using "$X $Y" or $MINORITY should give you a hint of how much this concepts are considered. If something fits in a variable, is waaay less important than the algorithm, it is just content, a parameter, "Lorem ipsum" if you like it.
Say that you have a program that splits its output into two files, each given by command line arguments. A normal run would be

<input.txt munge-data-and-split -o1 out1.txt -o2 out2.txt

but since the output is huge and your disk is old and dying, you want to run xz on it before saving it to disk, so use >():

<input.txt munge-data-and-split -o1 >(xz - > out1.txt) -o2 >(xz - > out2.txt)

If you want to do several things in there, I recommend defining a function for clarity:

pp () { sort -k2,3 -t$'\t' | xz - ; }
<input.txt munge-data-and-split -o1 >(pp > out1.txt) -o2 >(pp > out2.txt)
Isn't the whole "N-Point Evangelism" getting tired and cliched yet? Success isn't N-principled and de-constructing a company's history and "moves" into this form is just cheap pop-psych.

If you wanted to find out why SF.com worked, you'd need to write a large book. You'd need chapters on each key individual, each key decision, the environment they were operating in (how lucky they were), the risks, the interpersonal conflict and cooperation. There's at least a lifetime of work gone into SF, split across hundreds of people+.
For their investors.
You still need to supply the local variables to your ORM-like so that it can perform interpolation into the string (a feature which is actually best done by the database driver, NOT your ORM-like). Perhaps we can suggest this syntax:

s.add "WHERE foo > ?", bar

Or even this:

s.Where "foo > ?", bar

At that point, you've reinvented ActiveRecord or hundreds of other query builders, it also avoids you having to remember the ordering rules of sql as to which part of the query must be built first. There's a reason these query builders have converged on similar syntax.

I see where you're coming from - you don't want to learn two sets of syntax, but many query builders nowadays are very well thought out, and have a simple syntax which just echoes SQL while avoiding sqli and statement order issues, they also usually have an sql() option which lets you just send SQL if you wish for a complex query.

There are very good reasons people keep inventing layers over SQL:

They help avoid sqli

They centralise db access so you can optimise in one place by say adding caching layers to queries

They mean you don't have to deal with the vagaries of SQL for simple queries unless you want or need to
iTunes, app store and iTunes connect experiencing problems
It is a shame this comment is all the way down the page. It summarises my reaction to the article fairly accurately.
I would come. I'm in the middle of a project involving a lot of parsing. Heck, I'd even speak.
Once you discover <() it's hard not to (ab)use it everywhere :-)

# avoid temporary files when some program needs two inputs:
join -e0 -o0,1.1,2.1 -a1 -a2 -j2 -t$'\t' \
<(sort -k2,2 -t$'\t' freq/forms.${lang}) \
<(sort -k2,2 -t$'\t' freq/lms.${lang})

# gawk doesn't care if it's given a regular file or the output fd of some process:
gawk -v dict=<(munge_dict) -f compound_translate.awk <in.txt

# prepend a header:
cat <(echo -e "${word}\t% ${lang}\tsum" | tr [:lower:] [:upper:]) \
<(coverage ${lang})
"41 Billion dollars has been wasted on unused gift cards since 2005"

Really?
Someone hands me a list of servers, user accounts and passwords to get a bunch of files from.

This is a standard task which comes up all the damn time in any level of sysadmin work. I'm never going to connect to these machines again, and can't get anyone to cooperate about them. Which means, I'm going to need to feed that list to ssh or rsync with password authentication.

Your current options to do this are jump through ridiculous hoops with expect, or switch to something else entirely (like paramiko, which is awesome but doesn't solve the rsync case cleanly).

Yet all this could be solved by just having a damn --read-password-from prompt which would do it automatically. It would also be nice to have --skip-permissions-checks (and actual error messages which specified which permissions, on what file, are missing rather then current silent failure).

Which I think I'm going to code up for the next time I end up doing something like this (probably alongside "use JSON for remote rsync file specifications").
The disastrous events that would break the internet
It is a classic - but also quite old - there are some new techniques for countering this: https://www.schneier.com/blog/archives/2006/01/countering_tr...
That's where the 'nobody is on [insert social network name other than fb/twitter]' argument fails. There are always some communities that form around these websites for a variety of reasons . For example google plus has got some early success with photograpers, probably because its photo viewing experience was way ahead of the competition at the time.

It is always a pity to see such a space disappear.
Skype is censoring links to dx.com
After sending message with link it appears for 1/10s at responders chat.
(This comment originally posted: https://news.ycombinator.com/item?id=8023247 )

Please have a look at David A. Wheeler’s page on Trusting trust [1], including his 2009 PhD dissertation [2], where he clearly demonstrates that it is possible to have trusted (not in the MS sense...) computers (I think).

You may also be interested in 'Countering "Trusting Trust"' on Schneier's website [3], which discusses a 2006 paper, also by Wheeler.

[1] http://www.dwheeler.com/trusting-trust/

[2] http://www.dwheeler.com/trusting-trust/dissertation/html/whe....

[3] https://www.schneier.com/blog/archives/2006/01/countering_tr....
I think you got it backwards. The "dongle thing" is about a feminist bully, not about two guys making a harmless joke. The consensus is that Adria was the problem here, how anyone could come to a different conclusion is beyond me.
I'm in the same situation, with a 11" MBA.
I think I'll go for the 13" MBP Retina. I can't wait another year for the Retina MBA.
Yup. I'll give you most of that - there's a pretty big learning curve with SQLAlchemy.

But, taking the lazy joining example. Someone didn't understand how it worked and now you have to fix it, which is probably as simple as changing that loading strategy to something more suitable for the way you're using the data.

Let's rewind to the late 90s. If I wanted two tables of data to write into the page in an interlaced fashion I would look at how wide they were. I'd make a decision about using two queries or using one larger join. The two query approach was sometimes required due to the size of the data, but it meant cryptic output logic to track positions of cursors relative to each other. The single joined query was simpler to deal with, but still required tracking a last_parent_id so you could swap during the interlacing.

Other developers (those same ones that didn't understand lazy joining) would loop over the first query, running extra queries in the loop (I saw this a lot). Same bad performance as the lazy join.

When you discovered this issue in the code it was a total pain to fix. You're talking about rewriting whole load of code to the point of being unrecognisable from the code you started with.

Contrast that with how easy it is to fix in the SQLAlchemy case. I mostly don't worry about loading strategies now until I'm deep in development. Something's running a bit slow, take a look at some logs, tweak a couple of things and you're golden again. That's such a powerful abstraction.

Regarding the config of the engines etc, again, it's something you need to learn. But really, someone's starting an application from scratch and they just want to dump some code in to handle all their db interactions, but they don't want to know how it works? That's on them, either learn it or use the sensible defaults (in, for example, flask-sqlalchemy).

SQLAlchemy ORM separates you from what's underneath, but it's an ORM, that's kind of the point. If you need to be closer to the metal, use SQLAlchemy Core.
Anyone know how to turn this into an ePub or some convenient e-reader format?
I've been waiting for this, servers the size of ashtrays.
It's missing .gb
I guess their idea is that you charge it overnight and don't have to charge it during the day.
Ask HN: Is it time for a Greatest Hits?
I see the same classic documents being pulled up repeatedly over the years -- today, it's _Reflections on Trusting Trust_. Perhaps HN should have a Greatest Hits* page where links that have met some criteria are available, and then stop allowing them for submission?

The advantages would be that (a) new people might have their eyes drawn towards them, (b) it's easier to reference them when they become relevant in a thread, and (c) it makes a little more space for the new submissions.

Drawbacks would largely be related to visual clutter and curation costs, I think.

* Or call it Well-Known Works, or Classics, or what have you.
This is awesome, somehow it reminds me of the Commodore 64
IANAB but

> there is a critical mass under which there isn't enough genetic diversity to preserve the species (I've seen ~30 quoted for some rare mammals)

The Blue Book ("Viable Populations for Conservation") puts it between 50 and 1000 individuals for 95% probability of survival over 100 years, but it's highly variable between species and ecosystems on both intrinsic (r-strategy which you quoted) and historical grounds: for the second case, the Mauritius Kestrel was brought back from an effective population of 2 mated pairs. But its ecosystem has a carrying capacity of under 1000 individuals and it had already gone through several genetic bottlenecks.

The weta are r-strategist anyway, Poor Knights wetas have clutches of 200~300 eggs.
Turn your Raspberry Pi into a music player
Windows Machines still vulnerable to Stuxnet exploit 5 years after patch
Once upon a time, I offered cost estimates on a per-feature basis. It didn't take a lot of time for this strategy to bite me. Over the last few years I have established more stable contracts and now I tend to give estimates for larger blocks of work. My estimates per feature are still often wrong, but this risk is mitigated by spreading the estimated effort across a large set of features.
/<\(

For those wondering, man, which uses less as a pager, has vi-like key bindings.

"/<\(" starts a regex-based search for "<(" (you must escape the open paren).

This is the origin of the regex literal syntax in most programming languages that have them. It was first introduced by Ken Thompson in the "ed" text editor.
Thx, is really fun to use. A recording feature or an export as an WAV/MP3 file would be great.
They have never issued a dividend to investors in over 10 years as a public company. Investors, employees and founders presumably all cashed out at a good profit though
I'm in "nerd culture". If it's too brittle to fit the needs of people in it, to hell with it. Change or die.

I'm reminded of Grigori Perelman's critique of mathematicians: "But almost all of them are conformists." "It is not people who break ethical standards who are regarded as aliens. It is people like me who are isolated."

If anyone of us is a nerd and can't improve their own culture, GTFO. And take your "dongles" and Big Bang Theory goofiness with you. No special privileges for those who simply preceded others temporally. Dinosaur.
Yeah, this would be interesting. There are a couple ways to get hits [1, 2], but these seem to be in the recent past, so it would be interesting if these reached back a few years. Or, if there is a some type of user curated Hits list.

[1] https://news.ycombinator.com/best

[2] https://news.ycombinator.com/over?points=300
Hey, I'm working on a save feature right now, hoping to get something up later today.
Essential Plugins for Gulp
The problem here is that hacking, gardening or whatever else people do is not "owned" by those who practice it currently or did before others and neither should it be. If they wanted to start their own Abrasive gardening club, where they would be abrasive to each other, then not many people would complain. I don't think it would be healthy, but they are free to do so.

What they aren't free to do without push-back is to tell others who want to do gardening that they should tolerate their abuse. I agree with Angorak that there is nothing in what we do that would require people being assholes which is why I, too, find it unacceptable.
Ahhhh..haaa...ha....DOH! I've never even thought of looking at the manpage for bash before. Thanks, you've just made my life better.
When the option is between that and a couple of days (or even hours) trek to the nearest hospital, for life threatening conditions then it may well be a lower risk option in some cases.

We shouldn't be afraid of new technologies because they have a risk associated with them. We just need to place that risk in context against the risks of existing solutions that we already live with.
> bullies ... taking a classmate's lunch money

Gotta love USA.

Any other language it would be more like "juvenile delinquents stealing money from children"
Well, the basic strategy for Blackjack is still slightly in favour of the house

But yeah, you might track cards (good luck doing that with 10 decks though)
That's a GREAT experiment. A hacker will not change his opinions on the article, either good or bad. He might even ask "so?".
A non-hacker hating the article will mutate opinion, and now regard the piece as an inspiring essay from a challenged minority.
Lenovo still shipping infected systems as customers grapple with removal?
Pipes are very cool and useful, but it's hard for me to understand this common worship of something like that. Yes, it's useful and elegant, but is it really the best thing since Jesus Christ?
:) Lotto draws are independent so you have an equal chance of winning with any numbers.
Five Minute WatchKit
Ask HN: How good are your testers test?
I am working in a company which every people has his job definition. While I develop my application, I expect testers to test application in a daily basis. But generally they do test the application just before release dates. When I tell this situation at scrum meetings they got it personal.

This situation effects me because I am needed to work at releases till late night. Otherwise I would work less.

What would/did you do in similar situations?
I was developing online gambling games for 6 years and I'm totally on Justin Curzi's side here. Oh, and if anyone's interested in how those games are made feel free to AMA.
Tips for displaying images in WatchKit
That's hard to say. In the case in the article, the machine is obviously mis-leading players by suggesting a less than optimal strategy. At the same time, if the manufacturer of the machine wanted to lower the payout without indicating anything to the player, they could simply adjust the probabilities of the cards as they are dealt (I assume that is how most video poker machines work anyway). I don't believe that individual players will have any idea whether or not they are receiving the advertised payout, they can only respond the the outcome of the game. Gambling companies do often advertise high payouts but I suspect this is only attracts new players while the real odds affect how long the players continue to play.
What is the point of a status page if it doesn't display the status? Perhaps they are evaluating the status of their systems internally. Just wow.

http://www.apple.com/support/systemstatus/
"You still need to supply the local variables to your ORM"

That can be done automatically in many languages. At least in the sense you can do:

"where value=$(bar)"

and not:

"where value = ?", bar

OpenACS was an old web framework for the Tcl language, but it even had that 20 years ago!. The company backing it failed in the .com era, and the lack of types was a turnoff for many - but it made SQL much much more readable. And of course the queries were turned into prepared statements. A query looked like this:

select foo
from table
where age>:min_age
and name != :user_name

Things like this can also be done in node.js (disclaimer: I wrote the blog post below):

http://ivc.com/blog/better-sql-strings-in-node-js/
Continuous Testing for React applications with wallaby.js
If anyone is wondering why this has come up again, this was referenced by the US government during their proposed hack on xcode and the iOS SDK.

Leaked NSA discussion 'Strawhorse: Attacking the MacOS and iOS Software Development Kit': https://freesnowden.is/2015/03/10/strawhorse-attacking-the-m...

Article: https://firstlook.org/theintercept/2015/03/10/ispy-cia-campa...