skysight-inc/HackerNews huggingface dataset:
The article mentions so many topics, but misses almost all important ones.

* First of all, use proper quoting. There are so many possibilities for file names, command line arguments, etc. that every unquoted usage of a variable is essentially a security risk.

* Then, start your script with "set -e", which stops the script whenever one of the commands fail, instead of blindly continuing and messing things up. This is the most important option for robust shell scripts.

* Also use "set -u" which makes the script stop on undefined variables. This includes $1, $2, etc., so it provides checks for missing arguments for free.

* In addition to "set -e", also set "set -o pipefail", otherwise a pipe will only break if the last command fails, while with "set -o pipefail" the pipe fails whenever any command of the pipe fails.

* After that, you may continue with spacing issues in "for" loops, and that you should not pipe the "find" output directly (instead, use either "-print0" + "xargs -0", or use "-exec"), and similar stuff.

When you got all of this right, and only then!, you may start worrying about the (relatively) minor issues mentioned in the article.
What about driving for fun? Please note, fun has no correlation to speed when it comes to driving.
“America has only three cities: New York, San Francisco, and New Orleans.
Everywhere else is Cleveland.”
-Tennessee Williams
Ask HN: What do people buy most on Craigslist?
Working on a new idea and am not sure what most people buy on Craigslist. I use it for buying sports tickets, cheap/gently used furniture, and sometimes electronics, but do you think this is what most people use it for or am I missing big categories/products?
Just because some tech is old doesn't make it bad. People solving and writing programs in 60s and 70s were just as smart as we are, work to extract their wisdom.
"It's not clear, for example, whether watching porn leads to brain changes or whether people born with certain brain types watch more porn"

So, it might not be messing with your head. Link-baity headline.
I'm biased, having learned Python first, but the biggest thing that I miss in many other languages is the single "tutorial" link.

It should exist, it should be on the front-page (Python actually fails this, but it's on the documentation page, which is second-best), and it should be complete. Rust does surprisingly well on this point, given that it hasn't even hit 1.0 yet. It also should be browsable (it can incorporate interactive features, but you need to be able to do it out of order).

Coming from the "don't make me think school" you need that one link, rather than a link to a list of resources (like Ruby has). It also will be canonical and up to date, so long as nobody drops the ball. Google can't give you that.
No, it doesn't presume that diversity is axiomatically desired. It has as an explicit condition ("if you care about...") that it is desired, but whether such desire is axiomatic or a consequence of an a posteriori conclusion about instrumental utility of diversity makes no difference.)

And, while your statement of your personal biases about quotas are, I suppose, revealing of just that - your personal biases - I am not sure what you think they add to the discussion. Certainly, you can't think that a statement of what you consider diversity to be an a secret code word for unaccompanied by either evidence or logic justifying that consideration says anything about anything other than your own bias.
I find it fits pretty well and to me it beat all the fonts listed in the article
The Tesla Roadster was officially revealed to the public on July 19, 2006, a full year before BMW started their "i Project". Hmm, I wonder what inspired them...
Expedia Spends More on Search Than Any Other Booking Site in the U.S.
1000 Reasons Why Developers Need to Start Blogging and Stop Growth Hacking
Do you have CSRF protection on login? If not, an attacker can add an XSS attack to their own account, then log the victim into the attacker's account by submitting a cross-site post request with their username and password. This could potentially then read data from any other accounts the victim is logged in to at the same time. If you don't support multiple simultaneous logins, it could still allow the attacker to generate a phishing page, at your URL, which sent them back any data the user entered.
can't solve it either :-/
Are role models in CS (and even other industries) really what drives people to pursue the career? Just looking at my own experience, its hard to pinpoint a "role model".

I'm curious why there is always such a huge focus on role models (is it a grandfathered idea from the past?) and not on the herd of other problems, such as access to tools, ease of self-learning and targeted tutorials at under-represented demographics. I'd imagine tutorials that are targeted at doing things that tend to be more popular with certain demographics would be more useful than a few famous minority or women C.S. majors, but I could be wrong.

It seems dated to me, but maybe there is some strong research that correlates to the role model idea. I'm just not seeing it.
Thanks for the feedback! That's exactly what we're hoping to do, create the "glue" around all the great content that's out there!

One question: How important are the credentials of the "expert" to you?
I also got a 500 when trying to signup with facebook. When asked about posting I selected privacy as "Only Me". Maybe that had something to do with it.

Anyway I love the website and learning tracks.
It looks as if headlines of the form "x may be y" fall under Betteridge's law of headlines.

http://en.wikipedia.org/wiki/Betteridge's_law_of_headlines
Good for you but the study compares diet soda to water. I personally don't believe the folklore that diet soda makes you crave more sugar but I'm suspicious of the claim it's better than water in aiding weight loss.
Thanks for catching that. We'll get on it.
Freedom to do something doesn't imply freedom from criticism from people who disagree with you doing it.
GoPro: Pelican Learns To Fly
You don't have friends here yet. What you want is an application that allows you to invite 100 more-or-less random people.

And why that many, anyway? What for?
tc/linux$ sha1sum *
c2a8c78a23f97ffb17bf47448c9f2daa3c8f80cd truecrypt-7.1a-linux-console-x64.tar.gz
078cdd4a58f0342cb872d7456c0ba49e310fcad9 truecrypt-7.1a-linux-console-x64.tar.gz.sig
a53a7a609a25d9a1e33f720ce5c0265ddd4e8b25 truecrypt-7.1a-linux-console-x86.tar.gz
66060f9444d5df70b4fcdeb655dc60131fce5ad1 truecrypt-7.1a-linux-console-x86.tar.gz.sig
086cf24fad36c2c99a6ac32774833c74091acc4d truecrypt-7.1a-linux-x64.tar.gz
45f65bf755d9481d8afa0d17de6a034062b7a7bd truecrypt-7.1a-linux-x64.tar.gz.sig
0e77b220dbbc6f14101f3f913966f2c818b0f588 truecrypt-7.1a-linux-x86.tar.gz
9efcd79e963126d6d8ef242857b4fafb06eb8ff0 truecrypt-7.1a-linux-x86.tar.gz.sig
d43e0dbe05c04e316447d87413c4f74c68f5de24 TrueCrypt 7.1a Source.tar.gz
caeb2bb1d5605d1fc960e936a06e52611033788c TrueCrypt 7.1a Source.tar.gz.sig
c871f833d6c115f4b4861eed859ff512e994b9fc TrueCrypt-Foundation-Public-Key.asc

tc/windows$ sha1sum *
06961d83e39c7248df09c132cb6e9b9f528ce69a Configuration.xml
88b323b416290924621901a10da3f4f7482e3f77 License.txt
4c4891f5eafcf9b96be01e31031992d9e98d39c3 TrueCrypt.exe
34442e400e6cb2534f33a0b1599defe36eefef2a TrueCrypt Format.exe
7689d038c76bd1df695d295c026961e50e4a62ea TrueCrypt Setup 7.1a.exe
e1e3efaeac2fbcdbff0c2c62ac33233bd356edfa TrueCrypt Setup 7.1a.exe.sig
62fc4f76540740e63c7f0a33e3a1b66411f0a303 truecrypt.sys
17249d979b3bc52d0a33821cc7f810337ddea2b6 TrueCrypt User Guide.pdf
17c46ebc6f4977afbcf4aa11eccee524fd95b1c8 truecrypt-x64.sys
Great Article On Functional Programming And Using the Right Tools
Great article talking about writing clean code, functional programming, and how new languages help developers write more efficiently.
> Profiling revealed that copying the format string was a significant part of the overall time.

Not surprising. In general, memory allocations and copying are to be avoided unless absolutely necessary, if you want efficient code. I've made huge performance improvements to systems simply by getting rid of a memory copy that was located in a tight loop. As the saying goes, "the fastest way to do something is to not do it at all."

Also, does anyone find the term "wait-free queueing" somewhat oxymoronic? A queue is usually something to wait in.
Login page keeps redirecting me to the sign up page. There I'm told I'm about to login to the django server (why the django server bit, just say I'm about to login), but when I enter my email address, it says a user with that email already exists and I should try logging in instead. The cycle continues.
The top 5 “24″quotes and how they can be applied to a marketers life.
Yep. DRM is totally optional. I sell ebooks on Kindle Store which are based on OpenStreetMap data. CC licence (at the time) meant that I couldn't use DRM. Not a problem.
Let us not forget the downsides of the artificial sweeteners, and the phosphoric acid in a lot of these drinks.
Well, free project by anonymous developers right?

At some point the reward metric for that shifts away from your interests. It's never going to be picked up by like, major companies for enterprise-y use since Bitlocker has that market sewn up and it's never been really practical to use with Linux (from what I recall of looking into FDE for my notebook a few times in the past).
https://lh4.googleusercontent.com/-TIXMxmH3AUo/AAAAAAAAAAI/A...
Monikers – A dumb party game that respects your intelligence
you can replace your python code with:

$ seq -w -s "\n" 99999 > outfile.txt

also, burp has a generator built into the intruder to create these types of payloads. it is very powerful.
You make the mistake of assuming an equal playing field where there clearly isn't one.
You also need to be able to out market Amazon, and get the millions of non-technical users to understand what's going on.
To me, the credentials of the "expert" are very important. They are the only indication I have going into an online course that the person who built it has any idea what they're talking about.
I dunno, seems pretty honest to me. It's what they concluded, isn't it? A correlation that should be further studied.
I think I get what you're saying. The continent of Africa contains more human (genetic) diversity than the rest of the world combined, yet almost everyone from it would be classified as "Black".
That is a useful distinction. However it is possible to hold a middle view, i.e that while the "current source tree" is most important - it is what you build and deploy, what you are most likely to base future work upon; the history is also an important artefact, and more than just a backup.

I like a good code history, but not at the expense of good current code!
I'm a bit ashamed that a similar thought never occurred to me (that is, using something like glass for helping people with disabilities, instead of just recording first-person views of roller coaster rides).

I can totally see the usefulness of an always-on helper that can provide helpful cues, to, say, autistic children who have trouble identifying social or emotional context in certain situations.
guy is such an idiot
Infinit – The easiest way to send files
There are no rules in war, not on the ground.
"Basically everything that people do very frequently can shape their brain structure and function"

So yeah, nothing to see or really learn here. Just link-bait mostly.
Thanks! What are the ideal credentials that will give you confidence in the curriculum?
The quoted bit that you object to wasn't part of an argument in the first place.
The reason it's important to ask 'why does diversity matter' has to do with overall program metrics. If you don't know why you're doing something, you can't state where you are going, you can't plan how to get there and you can't tell when you've reached the destination. It's a matter of accountability and making sure we're doing things the right way.
Spotify hack leads to rollout of new Android app
Why would you guess that? Clearly the non-asian minorities figures are abominable.
Customer Success: What The Hell Does It Mean For A SaaS Startup?
mrjob has really good integration to Amazon's Elastic Map Reduce, makes it totally painless. I had to analyze 1TB of logs for my thesis and in less than 8 hours I discovered mrjob, wrote my job, and successfully ran it on EMR. Granted I have prior experience with MapReduce, but even to a newcomer, I can't imagine that would add too much time.
I think using Bayesian methods is a good thing. The reservation I have about this post is that it's motivated as A/B testing, which in classical frequentist testing usually equates to a null hypothesis that some parameter is equal in two populations (in this example, conversion rate under method A is equal to conversion rate under method B). The rest of the post then describes a test of a single population against a known value (is the conversion rate under method B = 5%).

These are not the same problems at all, and it's not clear how the authors propose to extend the tests they're informally describing to the test of equality of a parameter in two populations. It is possible in a Bayesian framework, but it's not this simple.
Yes, the article is honest, and the correlation probably merits further study. But the headline, while technically not incorrect, is a sneaky way of summarizing the findings to try and drive traffic to the article.
Solar Powered Techstyle Haus’ Futuristic Fabric Shell Reduces Energy Consumption
Sorry, we're working to fix it! For now, you can access the Learning Path by dismissing the sign-up modal (X in the top-right corner).
No, there a big differences with Lavabit.

Lavabit was a service, TrueCrypt is a product.

Lavabit had access to all their customers' data, and told investigators that they had it. It's completely straightforward law that, given a subpoena, Lavabit must turn over evidence to the government.

TrueCrypt is a product. They do not have access to customer data. There is no requirement for TrueCrypt to "help out the government" in this case.

If you want to hang a conspiracy theory on this news[1], find some hook besides Lavabit.

[1] And I can't fault the conspiracy theorists for trying to find some explanation over this, because the damn thing is so weird and unusual.
Which TrueCrypt developers? AFAIK we don't know them yet … and why was it necessary to turn over code for an alleged open source project?

iSEC has not found serious issues but that was only phase 1 of the audit.
And all those functions wrapping [[, ugh.

maybe I should start doing this in Python

def plus (a,b):
return a+b
Slightly off-topic, but can any current Simple customers comment on their experience with the service? Their marketing is makes the service very appealing, I'd like some real world experiences though.
Extensive industry experience or a PhD in the subject, the same I would expect out of someone teaching in a traditional university or community college.
And sample size of 64, too! The interesting thought here is not the result but how such BS is published in the JİAM Journal or reported by the (relatively) serious Reuters. The answer is: people like to see confirmation of their beliefs, true or not. This positive result bias in research has been idetified as a major problem byany researchers.
The point of this is to target someone who is already about to bounce. So if you see it and bounce, either the popup wasn't triggered properly or nothing was lost.
Certainty Is an Illusion
Just that there are no known 'people who do the original work' in the case of TrueCrypt.
Willie Smits gave an interesting talk about a more systematic way of restoring a rainforest on TED: http://www.ted.com/talks/willie_smits_restores_a_rainforest
Have you considered taking him out of the public school system? There are low cost high quality community home school options in many places.
Don’t Stop Your A/B Tests Part-way Through
> the only other 'standard' shell scripts can rely on is POSIX/Bourne

Have you seen POSIX? Have you read Bourne shell documentation? I haven't. The former is expensive, the latter is not that easy to get.
I have read Single UNIX Specification, though, which is available on-line.

> But sadly most of the features that zsh/bash copied or invented themselves concern the UI, not programming capabilities.

Shell is not intended for regular programming. It's intended for small automation scripts. If you need to write anything bigger, choosing shell over Perl, Python or Ruby is a fundamentally bad idea. BTDTGTT.

And do you know how much of SUS-guaranteed shell syntax you use, anyway? Do you know what is a bashism and what is in the specification, so you can claim SUS-compliant shell has too weak language?
HIPAA in 1996 limited the ability of insurance plans to deny coverage based on pre-existing conditions. As long as you didn't have a gap of more than 63 days with no insurance coverage, they couldn't deny you coverage.
How do you find it "fits pretty well"? This is an article (a quite interesting one) about system fonts for 8 bit systems. Profont is not a system font on any 8 bit system. It makes no sense to discuss Profont in this context.
That's been my thinking as well since this came out yesterday. And it kind of makes sense why they modified the license to no longer require attribution, the only thing left in 7.2 is decryption related code, this would allow 3rd parties to distribute derivative works around decrypting legacy volumes (and possibly migrating to other encryption methods). But would stop anyone from creating a fork of earlier versions that still contained the encryption routines.
There is no source for that. Data on iOS devices is not even fully encrypted and accessible to law enforcement agencies etc.
Because "diversity" is code for "there's too many white people here." I highly doubt anyone would complain about diversity if Google were 61% black (just like no one complains about the NFL and NBA's appalling lack of diversity).

Either way, to boost non-Asian minority percentages you've got to take away from the white or Asian percentages. Hmm... who do you think's gonna be on the receiving end of that rebalancing?
Sex.xxx Reportedly Sold for $3 Million
Translating “Right tool for the job”
That's exactly what this is trying to avoid. The point of this is to not show popups to the visitor who's already engaged with the site (eg, scrolling ), and instead only show it to the visitor who's about to leave anyway.

I get just as annoyed with those timed popups, but that's exactly why I hope more people will use an option like this instead.
I am curious if there are any programs which pair developmentally disabled adults with nursing homes? I think it would be a good mix for them to have jobs in which they knowingly play a role in providing companionship and assistance for the nursing home residents.
In the text input I put:

3') + alert('
Auto backup all your photos before you loose your phone
"Bye."

Given that nothing stops you from running a centralized Git repo for things that are candidates for audits or release. If someone uses that as their reason for not switching to Git, it indicates to me that they don't understand their requirements and/or is using it as an excuse because they don't have any real reasons.

I'd even argue that if you want more control and auditing, Git is an improvement over alternatives like Subversion, because it makes it more manageable (and so more likely to actually happen) to set up workflows with far more frequent commits and subsequent reviews by a gatekeeper. You don't need to let your lower level developers even have any kind of access to the main repository, yet you can retain full history of changes that happens before their code is approved and pushed to the main repo by a suitably anointed person.
It was just a survey, not an longitudinal or experimental study.

> Because the study can’t prove that porn caused the changes to the brain, Kühn said it’s not possible to say whether watching porn is actually harmful.

> “Basically everything that people do very frequently can shape their brain structure and function,” she said.

No shit, Sherlock. At least they could have a control survey (?) to test if the effect is specific to porn or is it simply a consequence of watching more TV.
Question: has any such court order, ever, in the history of the United States, actually been given? Can it be given? Because that would be news to me.

Because while specific orders can't be disclosed if they'd give away information to the actual target, the general nature of such orders is well known - information can be demanded if held. You can't be compelled to engage in subterfuge though, and since such an order would be illegal, you could freely disclose it and let the civilian courts strike it down.

As one might note from the Lavabit fiasco, things only got weird because Lavabit decided to screw around being non-compliant, while also always having the technical capacity to decrypt everyone's email (and thus opening up the legal doorway to just seize the keys and all the data, rather then the tiny chunk that was wanted).
Amazing 3D Pong
That might make sense in a world of perfectly rational unemotional robots.

In the real world, if you worked for years trying to make people safe, and you felt (correctly or not) that you were being disrespected while others were being respected for picking at your nits, you might say "fine, fuck you all, have fun," too.

To be clear, I don't know what's going on. A "rage quit" is the most likely scenario IMHO, but this is all very weird.

EDIT: On reflection, a rage quit fits my priors, which say "there's no such thing as free-as-in-beer[1] software." So you and I should both be a little skeptical when I find it the likely explanation.

[1] It does exists, but it's the exception, and each project where it works has its own particular quirks that make it work. The successful ones typically rely on someone having a particular and unusual mental setup that doesn't mind free loaders. Stallman and de Raadt develop software for their own use, and the rest of us can use it, too.
Definitely industry experience over academic experience. We've all seen academics giving bad advice because they don't know what the industry does. IMO, online learning is all about practical knowledge.
Lift with your knees, not your back. Those goalposts are heavy.
Any opinion on "Tomb"? http://www.dyne.org/software/tomb/
It tries to be a nice LUKS wrapper with container and key files.
Finally! http://xkcd.com/949/

I just signed up, and I will find out soon if its any good.
Dr. Hans Rosling: Facts and Fiction on Global Health
Compelling headlines may lead to increased readership! Click here to find out more.
I don't find khan academy's videos to be that great to get at the intuition behind probability and stats. It's good for reference and surface explanations.

I recommend Harvard stats 110 youtube videos:
https://www.youtube.com/playlist?list=PL2SOU6wwxB0uwwH80KTQ6...

These videos are more focused on probability, but they contain a lot of great intuitions.
What the Head of Hiring at Google Doesn’t Understand About Skills
I agree that the solutions for Groningen do not scale on their own, but as others suggested a good public transportation system would go a long way.

I really don't see how horses would be better than bikes though.