skysight-inc/HackerNews huggingface dataset:
Well, if you "want" that, you could also have a look at busybox -- which does cp,ls,mv and more -- in a single binary (optionally statically linked).

I actually tend to do a switch on the first argument for certain shell scripts, such as this little thing for switching between single display on a couple of laptops/netbooks:

#!/usr/bin/env sh
INTERNAL=LVDS
EXTERNAL=VGA-0

for monitor in `xrandr|grep connected|awk '{ print $1 }'`
do
case "${monitor}" in
"LVDS")
INTERNAL="LVDS"
;;
"DFP1")
EXTERNAL="DFP1"
;;
"CRT1")
EXTERNAL="CRT1"
;;
"VGA-0")
EXTERNAL="VGA-0"
;;
esac
done

twoscreen()
{
xrandr --output ${EXTERNAL} --auto --rotate normal --pos 0x0 \
--output ${INTERNAL} --auto --rotate normal --pos 768x1152
}

vgaonly()
{
xrandr --output ${EXTERNAL} --auto --rotate normal --pos 0x0 \
--output ${INTERNAL} --off
}

laptoponly()
{
xrandr --output ${INTERNAL} --auto --rotate normal --pos 0x0 --output ${EXTERNAL} --off
}

fn=`basename "$0"`

case $fn in
"twoscreens")
twoscreen
;;
"onescreen")
laptoponly
;;
"vgaonly")
vgaonly
;;
*)
echo "Usage: vgaonly|onescreen|twoscreen"
echo "called as: $0 ($fn)"
;;
esac

As a side note, for those running Debian (or Ubunut, I think) there's a couple of utilities to help search for binaries/files -- namely apt-file and dlocate. Eg:

apt-file search -F bin/cp #returns coreutils
# -F does a fixed string search, otherwise you'll
# get a list of all packages which contains files
# that *contain* bin/cp in their name such as:
# passwd: /usr/sbin/cpgr

Dlocate works with regular expressions and an index, so it's much faster and you can do:

$ dlocate bin/cp\$
coreutils: /bin/cp
Right clicking is a native part of MacOS now and has been for quite a while. Apple's own mice ship with right click enabled out of the box as do the trackpads (I believe you are incorrect that it is disabled by default. Even the demo machines at the Apple store have two fingers to right click enabled.).

I agree with the post author. Please let me decide when to open a new window. This is further complicated that links can be configured to do just about anything with JS. Nothing more frustrating than not knowing what a seemingly inconsequential "help" link in a checkout process will do. Usually it pops open a new window or reveals a hidden div, but sometimes it navigates away and blows away the entire form you've filled out. Honestly the hyperlink as it stands now is a very poor UI construct due to rampant abuse.
The examples to counter this are beyond just television.. people don't goto airports to get advertised with IBM or barracuda advertising.

People don't goto football games to watch the Goodyear blimp.

People never ask to be advertised to but..,

Where people go in mass, advertisers want to reach them.

There is no place people go consistently more than Facebook and they have the best mechanism for targeting so many niche sets of users.

And to argue facebook isn't culturally relevant vs TV. I'm a little bit lost with that one. Memes and videos everyone must watch are a cultural phenomenon heavily driven by Facebook.

The fact that Facebook advertising targets you so well (or not) is something that is a common conversation just like talking about the annoying (or not) commercials that exist on TV.
But that's a gas why does it matter?
Google most likely collaborated with HP to create it. Provided they did (because they might not have) I would argue they helped produce it.

Discarding the HP Chromebook, the Moto X and Moto G are arguably Google produced, as are the entire Nexus line of phones.
7 interviews???

I would've given up after 2.

What a broken process.
Machine learning to process, analyse video content
Ever tried to drive an 80's or early 90's minivan in five months of bad winter weather? SUVs had a great reason to exist.

They weren't developed to make minivans more masculine, they were meant to sit between the minivan and the truck, providing the best qualities of each.
Very similar to an interview process I went through about a month ago. The "full-day" interview sort of irks me. You mention how you were tired, and I imagine a lot of candidates are, 5-6 hours of straight interviewing seems too heavy.

When I had my "full-day" interview it left a bad taste in my mouth. (I ended up not accepting the offer)

> and asked me to write the HTML/CSS for the whole page.

Yowza.
It is not like profit from white males running Federal Reserves automatically goes to underadvantaged white males.

My point is that if you believe in equal abilities regardless of race/gender then you probably want to completely get rid of race and gender fields in your application form. And if you actually support discriminating against these fields, then you have to explain your decision rather than simply hit downvote button.

I can see how BlackGirlsCode may help people, but I also can see how it may harm. My guess: it probably helps(although I'm not an american). Downvote irrelevant comments not comments you disagree with.
How can I simplify the meaning of something I haven't attempted to define? How can I mischaracterise the nature of something I haven't attempted characterize?
"Of course, I also cheated. I realised that my code spent a huge amount of time counting the set bits on a byte. I could implement that on my side, or get a CPU that implements that as a single instruction."

Why not use a lookup table to memoize the results? There are only 256 possible cases for a single byte. Or is this still considerably slower than a single processor instruction on the i7?
Oh, there's worse things Red Hat can do to block access to GPL source. For example, technically they only have to provide source to their customers, and there's nothing in the GPL that stops them terminating the contracts of any customers who distribute that source code and closing off their access to updates.

In a way they're already doing that with kernel source; the actual broken-out patches applied to the kernel are only available to customers and they're contractually obliged not to distribute them otherwise their contract will be terminated and they'll lose access to support, software and security updates and the right to run RHEL at all.
Haha yes, this has been pretty amusing to answer tangential nitpicking with basic arithmetic.
Why would it make sense for Google to open an office in Oakland given it's current huge campus in Mountain View?
you just made my day :)
pg is neither a racist nor a sexist, but because he does not jump to support every pet cause of every self-described "social justice jihadi", he is lambasted as such.

Well, guess what? pg is his own person. He's just a guy who invests in startups, not some sort of idol upon whom you can project all your transformational, social-justice dreams for the tech industry.

Is there racism and sexism in tech? Sure. Is that pg's fault? No. Has he done things to mitigate this? Sure. Are the "social justice jihadis" appreciative of this? No.
I understand you have an image to protect, but I really wish you would stop dignifying this politicization and "tech journalism" garbage with responses. You're doing a disservice to yourself and the tech community, which should be lauded as one of the most meritocratic sectors of the world economy.

The real message should be: if you're a downtrodden member of group XYZ, quit whining and do something about it.
"Until we can declare both projects "fuzz clean" we recommend that people refrain from using either of the two projects to process untrusted media files."

BAHAHA What a joke.
Last I heard, Yelp blocks all Tor exits. So no, Tor won't work.
Fighting a silly virtual keyboard on a phone gets really old fast too (physical keyboards are vastly better). IMO phones and tablets have a long ways to go in the usability department, hold for new window just being one of their many problems.
I guess there must be something wrong with me too. Don't bother interviewing me.
> But that's a gas why does it matter?

You're thinking of Radon, which is a decay product of Radium (which is a metal).

Radium is soluble in water, and similar enough to calcium that it's absorbed into bones where it releases alpha particles that will cause cancer in high enough doses.

[1] - http://en.wikipedia.org/wiki/Radon

[2] - http://en.wikipedia.org/wiki/Radium#Chemical_characteristics...

[3] - http://www.ncbi.nlm.nih.gov/pubmed/16839204
Yeah I don't think it's likely either. But it's a lot more likely than Modula-2, Ada, or any of the other languages that the OP would be arguing of in favor of C.

OP is criticizing without a plausible alternative; Rust is at least more plausible of an alternative. But I also suspect that C+ASM will continue to rule the day here, especially now that these fuzzing techniques are become more widespread and industrial-strength.
Exactly what guarantee does ddg provide against state snooping that Google doesn't?
I believe Yelp and other sites that offer user reviews already implement strategies like that, weighing comments according to a reputation score based on comment frequency, average rating, bad language, time of/between submissions, IPs, etc. There is an article about that somewhere.
Oh god, it has Haswell now!! Damn the loans.
But you can always choose to open the link in a new window, quite trivially. Let the user decide.
> Notably, and relevant to this post, the number of media codecs implemented is Rust is, I believe, zero.

I'm not claiming it's production quality, but I did write an MP2 decoder in an early version of Rust: https://github.com/pcwalton/fempeg

> Rust looks great for apps and middleware. I don't see ffmpeg or x264 (both of which are implemented with significant amounts of architecture-specific machine code -- an environment where neither C nor Rust is going to be able to help avoid the kind of bugs we're talking about) jumping ship any time this decade.

I grepped through the commit log for bugs marked "j00ru", as suggested in the post, and the first 20 I found were all mostly-architecture-independent, straightforward C code (often bitstream parsing code). This is the kind of problem that Rust is generally good at securing and making performant. None of the 20 patches I looked at touched any assembly code at all.
I've seen the "radio silence after enthusiasm" routine from other companies large and small over the years, from startups to Apple and LinkedIn.
I can't wait to see whether Amazon ends up responding after seeing this...
The weird secret of Social Justice, including the "all white men are evil, because the group on average is successful" faction, is that it's mostly white men bullying other white men.
Indeed. My false positive rate [flagged errors that are really omissions from the dict.] on spell-check in-browser appears to have been about 95% over the past couple of months. I wouldn't be expecting perfection; surely some mistakes corrected is better than none.

How I envision it is also a learning tool - "can here you" would pop up a "can {here} you [here refers to location, hear to hearing sound; 'can hear you']" allowing the author to click the 'corrected' phrase. At the same time you're learning the distinctions.

Thanks for the input.
KID SNORTS SHROOMS AND GETS TRIPPY AS FUCK
If Java is somehow a problem, you can simply make a language without stack smashing but also without GC. Nobody has done this so far because nobody gives a shit about the fact that every program we use is full of remote code vulns and will never be fixed.
erm, it is a potentially racist organization, here's why: BlackGirlsCode is specifically geared for one power dynamic, black girls vs white girls. While they may be attempting to level the playing field between white and black which is politically and socially acceptable, they are furthering the gap between black and (pick an underrepresented minority). This exclusivity is exactly how every power came into power and subjugated the rest. From the very beginning the set of principles that guide this rationale of pragmatism while understandable, is hypocritical.
UI/UX Critique of iOS7
Reports indicate that the Dell 4k 28" will be 30Hz @ 4k also :(

The Lenovo Thinkvision Pro 2840m and Asus PB287Q have both been announced (60Hz @ 4k, US$799), but you might have to wait a couple of months for release.
"that can eliminate nearly every memory management related vulnerability"

This is like saying "my bulletproof vest will stop nearly every round fired at it". Too bad it only takes ONE...
Thanks for the feedback.

This is actually the result of long thoughts and discussions, and I totally was (and, in general, am) against target=_blank. So I'm just reporting things as they are and as we decided in the team, I don't want to create a religion war :)

Anyway, what made me change opinion is actually my behavior here on hn. I usually go through all the stream, select the news that I want to read and open them in new tabs. Then I start, tab by tab, to consume them. So, based on my experience, I wouldn't find too disturbing an open in new tab.
I always thought getting no response in a few days means you're not hired. This is pretty industry standard. Also, in the interviews they will always assume that you get hired. What kind of interviewer would say "well, you're probably not gonna get hired, but...".
I think there are several valid definitions for "advanced" in this context. While basic awk/sed knowledge is certainly useful -- if you can do the same thing in python/ruby/perl that might be fine.

Knowing a little bit about writing valid ksh/bash shell scripts (being at least aware of bash-isms) would certainly be useful for sys adm work.

My opinion is that the full gnu (and/or bsd) userland has grown so large over the years, that saying that you should know it all is probably overkill -- but knowing how to look things up (man, info) is a must.

As Zed's implied -- GNU documentation could stand to be improved vs bsd man pages -- although the info manuals can be quite useful.
Show HN: My Sublime Text Setup
WOMEN SUCKS DICK AT MCDONALD'S
"new release about to be pushed live, and asked me to write the HTML/CSS for the whole page."

I cringed a little at this, but this is not too bad. They probably wouldn't expect you to make it perfect. It is not always the result they want, usually they want to see the process on how to handle working through the problem.
I don't understand why this sort of thing happens. At Intel, I got the silent treatment after getting an offer. It was for an implementation (RTL -> circuit) position. We chatted about schedule and it was apparent that they wouldn't actually have a pressing need for that sort of thing for at least six months, and that they were hiring as they could and they expected to be hiring implementation folks for at least another six months to fill all of their reqs.

When we got around to discussing start date I asked if I could take a few months off between jobs and start in a few months. The hiring manager (who was an engineer, not a recruiter) stopped responding to my emails and returning my calls. Months later, I asked a friend of mine what happened and was told "X is busy". Too busy to spend five seconds responding to an email? Really?

Today, that hiring manager is at ARM and I declined an a chance to interview in his group when I found out who was in charge. I think I dodged a bullet; I can only imagine what working for the guy is like.

By contrast, I applied for a job I was completely unqualified for at another company around the time I interviewed at Intel. I didn't expect to even get an interview, and I didn't. But I still got a nice snail mail rejection notice. Many years later, I now work for that second company.

Like I said, I don't understand why this sort of thing happens. Putting aside kindness and basic human decency, even if you're completely selfish, it costs basically nothing to be polite, and the benefits are pretty large. Conversely, being rude gains you nothing and has noticeable costs.
Sorry you're being downvoted. It's a fair question. I plan on exposing her to as many topics as I can. I'll support whatever path she takes. My job, as I see it, is partly to give her a taste of as many topics as possible, then to help guide her as her interests begin to emerge.
Agreed, would be interesting to see how many of those searches ended in "!g"...
I have been unemployed for 3 years and I own a physical server.
I don't see the fact that this guy didn't get "his" job as the fail part. The Amazon employee from Vancouver at the end probably shouldn't have worded things such that everything sounded final, but maybe they simply interviewed someone the next day that they felt was a better fit for the job, or maybe something changed and the decision was made not to hire for the position they were considering previously -- it happens.

Having said that, I do think not getting back to him at all (even if that was with an explicit rejection) is a complete fail.

Based on anecdotal data, it seems to be increasingly common for modern companies (though I usually hear about it on companies that are much smaller than Amazon, which should have its HR shit together) to just go completely incommunicado with someone once the decision has been made to not move forward. Doing this is completely unprofessional (no matter how big or small your company is), especially in the face of explicit queries about the status from the person who was interviewed, and I applaud the guy for naming and shaming Amazon on that aspect of it.

Fix your shit, Amazon HR/hiring managers. Don't be jerks.
Criticism is good if valid, and it is in this case.
Ask HN: For how much money would you be willing to leave your job?
Having the interviews in Seattle isn't really that strange. If the Vancouver office is new or small, there simply won't be enough qualified, experienced interviewers there to interview you.

Also, since you believe your verbal communication skills are lacking, you should work on improving them.
Even if he had gotten a job offer, it's weird he never spoke to anyone he would be working with. Or visited the site in Vancouver where he would be working. It seems like more interviewing was still to come.
Thanks for your comment and your work - beta is one of the tools being used at BGC isn't it¹. More power to your arm! [or firings to your synapses or whatever].

>my observance BGC are good people who care about their community

It's such a shame then that they promote themselves as only caring for the part of their community that has a particular colour of skin.

¹ - http://betathegame.com/
Nice. Find a shorter one now (afaik, the best score is 12 and it's like in golf, smaller scores are better).
I don't really understand the need for discussion here.

Free education is done from the K-12 level. Its' done in many European countries as well.

Is there any reason that the US government is special, and won't be able to handle a free university education without going bankrupt?
Fuzzing has found plenty of security vulnerabilities, to be sure, but I'm skeptical that it makes static analysis obsolete. Even if it were possible to write a theoretical fuzzer that would find every possible security vulnerability, it'd still be a whole lot cheaper, and easier, to just have a tool that enforces that you write the code correctly in the first place than to spend time writing it in an unsafe language and then developing a world-class fuzzer to find all the vulnerabilities.
A) Ada isn't sexy and unproven
B) Most people who do mad algorithmz don't give a fuck if they introduce security vulns (even if they do, they don't know that other languages exist other than C), nor do they care about other languages (probably are put off by the facts that 1. other mainstream languages don't support mad algorithmz (Ada isn't mainstream) 2. if you look up any mainstream programming language you get nothing but dogma)
Some more links:

http://www.engineergirl.org/

http://www.techneedsgirls.org/

http://www.techgirlz.org/

http://www.stemettes.org/

http://www.dotdiva.org/

http://learninglabs.org/members/girls-learning-code/

http://www.girldevelopit.com/

And I'm sure there are lots of great entrepreneurial minds here who are building similar solutions too.
"GoDaddy ends support for Clojure as of null"
> Dying
One underappreciated advantage of DuckDuckGo is that it doesn't censor results as Google does, which is really useful for finding, e.g., torrent sites.
Can you elaborate on why you said this? Searching for "new york drug good samaritan law" brought me to this bill:

http://assembly.state.ny.us/leg/?default_fld=&bn=A02063&term...

Which appears to say that

2. Someone seeking health care for themselves related to a drug or alcohol overdose cannot be prosecuted for drug or alcohol use (based on evidence obtained as a result of seeking care),

1. In recognition that a person experiencing drug overdose may not be in a state to seek health care for themselves, and people sometimes engage in drug use in groups of two, someone seeking health care for a third party experiencing drug overdose cannot be prosecuted for their own drug use (based on evidence obtained as a result of seeking care),

and 5. In recognition that no one would ever engage in drug use in groups of three or more, any evidence obtained as a result of someone seeking health care may be freely used against anyone who neither made the request for health care nor experienced the overdose themselves.

(There is also some text about class A-I and A-II felonies being exempt from the good samaritan provisions.)

I don't see any obligation mentioned in the bill, although point 5 does seem a little ill-advised to me.
The other massively successful founders are also incredibly similar to the people making the funding decisions, though - in fact, quite often they are the people making those decisions.
JavaScript supports various bit manipulation operators, which treat their operands as 32 bits (and return a numerical value).
At this point, I middle-click pretty much all links, and then decide to close the window or not depending on whether I want to continue the session or not.

Since I use tree-style tabs, nesting is effectively my navigation stack - except that it's a navigation tree, which also avoids the problem whereby you lose your "forward" stack if you go back and choose a different path.

And for tabs that I want to return to after closing, I use undo tab close - with TabMixPlus, I have the last 10 closed tabs available for reopening.

The combination of TabMixPlus and (especially) TreeStyleTabs are the reason I've never been able to take Chrome seriously.
You know at some point we are going to have to sit back and ask "Where the F&*^K" does this $100M or $1B business number comes from.

The minute I get the opportunity to put my money my mouth is, I will invest solely in lifestyle businesses: one to two guys/gals wanting to build a profitable business with a yearly dividend, one where if the team makes $500,000/year we are all extremely happy.
Do tell, how much does the average person in Austin, Texas have in common with somebody in Salt Lake City, Utah? How much do those people have in common with the average person in Oakland?

Well, they have a very similar need for clean water and unless chemistry varies wildly across state lines, some sort of coordinated response would seem sensible.
My (micro-) point was more that memory bugs are going to be inherent in a codec implementation because of the nature of hte problem, obviously not that all of the bugs are going to come from the assembly.

But the macro point is just empirical: the proof that Rust is an appropriate tool for codec development needs to come in the form of a production-quality codec implementation of some non-trivial standard (VP9, say), not a HN post.
>explicitly tell you "this is off the record, no feedback will be submitted. Ask any questions you want, or just chill out and eat."

And people fall for that?