skysight-inc/HackerNews huggingface dataset:
There are two parts to literate programming. One is the style of commenting and structuring the code, which makes it easy for humans to follow. The other part is the tooling you use when you want to write literate programs, which includes what syntax you use for defining blocks and how do you tangle/weave your code.

There are many tools which support Literate Programming for many different languages. The usual reservation about additional tools applies: each member of a team needs to have it installed, build times get longer, time for a new programmer to start contributing gets longer and so on. It makes many people never even consider LP.

But, it's important to remember, that the tools you use are just an implementation detail. What's important is an idea that source code should be written to be read by humans, not only for computers to execute.

Sometimes there's a need to go over a piece of code with a colleague who doesn't know it. It happens a lot when a new programmer joins a project that has some code written already. This is because to understand the code you need to know the context it was written in. The problem is that programmers often don't document this context enough (or even not at all). This means that reading the code is essentially a reverse engineering someone's thought patterns. It's much more efficient just to sit next to the person and assist him in reading the code by providing a live, context-aware commentary.

LP is "just" that commentary written directly in the code. What's important is that you don't need any special tools to use this style in your comment if your language is flexible enough. Most dynamic languages nowadays are capable of supporting LP style. Don't take my word for it, see for yourself. You can just go and read some LP code. A couple of examples:

http://underscorejs.org/docs/underscore.html
http://coffeescript.org/documentation/docs/grammar.html
http://backbonejs.org/docs/backbone.html

As you can see it's a plain JS (or CS). The pages were created with "docco" tool, but you can read the source with most of the same benefits (excluding rendering of maths symbols, which docco doesn't support anyway).

To sum up: LP is not dead, it just changed its form a little. Many people adopted (or invented independently) this style of code structuring and commenting. Many real-life codebases are written in a literate style because it makes a real difference on how long it will take for someone new to grok the code. Such codebases use docstrings and other mechanisms available in the language to do exactly the same thing that previous LP implementations did.
73,000 FPS Footage of a Pistol Firing
That's a good observation. For me it's an either/or thing: Either I'm going to live in an area with good public transit, or I'm going to live in an area where I can drive a car to work in less than half an hour with convenient, free parking on both ends.

Transit-poor SF neighborhoods are the worst of both worlds.
Because software changes so rapidly.

I imagine you’re right in practice, but one might also ask whether code that is changing faster than understanding is changing too fast. It’s not as if mechanically updating literate-style documentation to reflect a change should be disproportionately expensive compared to making the change itself, or to making corresponding changes to test suites, getting the code reviewed by other people, or getting the changes merged into source control.
Greece is unlikely to pay back more than a small percentage of its current debt (it will default eventually, no country can lose a quarter of its GDP and then suddenly have surplus budgets). The current scheme is about turning Greece into an example for Portugal, Spain and Italy (who are all playing around with austerity with varying degrees of success). What this all comes back to is that many of the loans should never have been made and banks made loans for stupid and unprofitable projects.

One of the core problems in all of this is that neoliberal political thought is forcing collective responsibility for what was poor commercial and economic management of a few companies, banks and governments on taxpayers in both creditor and debtor states. Responsibility is being enforced through tax dollars going into both debt forgiveness and service cuts. Poor due diligence and risk management on the part of creditors and reckless borrowing is burdening the populations of both "Germany" and "Greece" (where Germany and Greece are the creditor and debtor nations) with the costs.
You could use LZW or prefix trees for assisting music composition. Rather less mystification with those tools though.
Not everyone wants to be cheek by jowl with strangers.
Absolutely. I take the view that if one needs very high security, you steer well clear of anything electronic and go back to the old ways. The idea of secure electronic communications is well and truly dead. If one's life depends on it, why even begin to trust IT? Over the last few years just about every aspect of IT has been exposed as a risk. I'm sorry, but its game over. Personally, I'd use the hell out of IT creating a nice normal profile for the spies, then go completely off piste for anything I absolutely needed to be secure.

What I'd like to know is why people though it was ever fully secure in the first place. It really never was.
In the US, the people (OP's words, not mine), actually do control the government. Total take over can be accomplished in six years or less. Shut down can be accomplished in two or less.

Yes, the US government has done and probably continues to do very bad stuff. NSA wiretaps are probably one of the least innocuous things it has done.

IF the US people actually did want to shut it down and change the behavior of government, they could. I don't think most do (or at least, don't regularly think about it [but may agree if prompted to consider]), know how they could, or know what actual behavior/policy they would replace things with.
The fewer comments the better. Code is constrained by the programming language, since it must be executable. But there are no such constraints on prose. While Knuth may adorn his code with extremely illuminating prose, unfortunately the same is not true for many other programmers.
What would you expect to try out without an account? The whole point is using your personal ratings of movies get new recommendations.

In most cases, I'd wholeheartedly agree with you, but in this case, the experience is pretty tightly tied to having an account.
You were on to something and then stopped...

"no matter what technical solutions you can come up with, force and law always trump those."

^this applies much deeper and further then you might have realized.
That's a term of endearment he uses with his students.
San Francisco is the second Hollywood. The new media capital.
List of ethnic groups in the United States by household income
Prior to metacpan there was search.cpan.org, and that existed for a -lot- of years by now.
Is this the death of Bitcoin?
There's a more recent book out titled "The 7 Qualities of Highly Secure Software" (2012) http://amazon.decenturl.com/secure-software Worth a read

There's also "Threat Modeling: Designing for Security" http://amazon.decenturl.com/threat-modeling (2014)
Because it takes 5-7 months to realize how much you have screwed up. And by that point you want to stay a year so you don't look like a flake. If you are astute or experienced (or read these articles and realize they are painful truth) then you can bail within the first couple weeks and not even put it on your resume.
There was no Objective-C in Apple software in the days of "when Macs had faster hardware (early PowerPC)." The state-of-the art at OS X's release was the fourth-generation PowerPC, and there was only one more major iteration of the PowerPC used in Macs. I would call this "later PowerPC." "Early PowerPC" Macs couldn't run OS X.
Booming Wind and Solar Power Has Slashed Europe’s CO2 Emissions
Consider that every page that the crawler must download is a page's worth of bandwidth your server must deliver. If these pages are generated, your server need to spend the computation to generate that too.

Add to this the fact that a crawler is able to stop and back off if its resource constraints are being overwhelmed, but as a webserver that may be serving content that is "mission-critical", for lack of a better phrase, your server probably needs to maintain a low latency. In addition, there are multiple web crawlers out there, that could hit your server at the same time.

Given that, I think the scheme you've described is a mug's game, where for every dollar's worth of damage you do to a crawler, you're doing more than a dollar of damage to yourself.
Huh, so many downvotes. Because I called him "Old Man Minsky"? That's a term of endearment.

http://donbot.com/DesignBot/Bibliography/Bib02MinskyDiscover...

https://books.google.ca/books?id=tNZLF8gtx-EC&pg=PA82&lpg=PA...
Unnecessarily editorializing the title leaves it open to being answered by my good pal Betteridge:

https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...
While I read the article, I'm currently unable to listen to either the npr or nat geo articles.

Could anybody elaborate on how they pass off the fake tusks to the smugglers? Do they, for lack of a better word, install the tusks on the elephants and wait for the elephants to be poached or do they sell the tusks to the smugglers so the smugglers can flip the tusks?
I don't see what is simple about this plan. It takes a highly irresponsible government to borrow "obviously non-repayable" amounts of money for decades. Greece behaved like a heroin user and you're putting the blame on rehab clinic.

I also don't see what exactly you mean by "You now own that country, its resources, and all the people in it".

Minus hyperbole, who owns what exactly?

If you read the terms of the bailout, it consists of prosaic reforms like allowing shops to be opened on Sundays, eliminate rampant tax avoidance, rise retirement age to merely match other Euro countries, stop hiring government employees if you don't have the money to pay them.

And at the end of the day, the only way to enforce that Greece does those reforms is to stop giving Greece even more money. Greece promised and failed to deliver before.

Those are things that Greek government should have done long time ago except they didn't, got in huge debt and now some people think that it's the lender's fault.
If debt is forgiven or defaulted upon, then it becomes harder to borrow in the future (i.e. they must do so at higher interest rates to account for the risk). If countries never paid their debt then no one would loan to them or would loan only at astronomical interest rates.
Comments like "where on earth did you pull this [...] from" and "please seek psychological help" break the HN guidelines, which ask you to comment civilly and substantively. Please don't post any more comments like this to HN.

littletimmy's comment was a good occasion to apply the Principle of Charity: http://philosophy.lander.edu/oriental/charity.html. An easy plausible interpretation was that he was asking why violence doesn't happen more often—not advocating it.
And this is a good reason to lock sudo down to a single application that is allowed to be run. In my case I only allow su for my user. Now even if an attacker were to try and use sudo they would also have to know that they can only use su, and most automated attacks will fail.
I think it was the first better done package managers. Saved the problem of installing modules on cross platforms. Most of the time it works without a hiccup. For a perl developer CPAN is a friend.
I think using a parallelizable random permutation is useful in parallel versions of certain graph algorithms such as maximal independent set. [1]

[1] https://www.cs.cmu.edu/~jshun/mis.pdf
Yes I like to win arguments rather than ...
> we pay our own parking $250/mo

Are you saying you have to pay for the privilege of parking at work? That's insane when Microsoft and the larger Bay Area companies are willing to provide free transportation to employees
Huh, I don't think he's wrong. I just wonder who is still working on AI as AI.
Shit, I hadn't heard that John Riedl died. I'm really sorry to hear it. I never had a chance to take a class with him, but Professors Konstan and Terveen were incredibly influential for me.
> I work at Amazon and we don't have any 50+ year old engineers.

> I don't know what happened to them.

That's creepy.
i think there is. consumer apps are hard though and require a lot of scale... i'd encourage you to treat this as a side project. still work on it, but don't think of it as a "startup" or "company" until it actually starts getting traction... see this -- http://blog.samaltman.com/projects-and-companies
You'll never find a decent authentication library for any language that I can trust.
It seems everyone took my comment to hint that Minsky was wrong. I did not mean to indicate that. I wanted to know who was still doing non-ML intelligent machine stuff, since ML is all I ever hear about in HN.
My first guess would be flipping a caught smuggler, or an undercover agent at some level. I imagine they have to use a real tusk, though I couldn't listen to it right now either.
Probably because of the hype. He was promoting OO and thinking about it as a competitive advantage over the competition. He probably didn't want such "powerful" (?) software to be reused by them.
I had a "smart" smoke detector that's older than nest. It would connect to other smoke detectors, and tell you "there is a fire in the garage". Or any other room or building. Which you wouldn't get from a regular smoke detector.

It's not really for residential use, but there are definitely use cases for remote smoke detectors.
Julian Bond, Former N.A.A.C.P. Chairman and Civil Rights Leader, Dies at 75
this is lame. he's not at HQ
Maybe ask the user to enter three movies they like and then give a recommendation based off those three. I'd be more compelled to sign up once I see the recommendation it returns isn't completely off the mark.
Check out the National Geographic article with much more detail: http://www.nationalgeographic.com/tracking-ivory/article.htm...

There's an interactive map too: http://www.nationalgeographic.com/tracking-ivory/map.html
One way of answering this question is to look at total number of service providers on odesk, elance, fiverr, etc...

This article has some stats - http://fortune.com/2012/11/27/welcome-to-the-age-of-the-free...
What do you base that on? Who do you think uses these "gig economy" services? First, people with high disposable income - i.e. not the poor or those with families. Second, people who are so comfortable with their smartphone apps that they'll use them to replace very small amounts of time doing the same things in more traditional ways - i.e. not a lot of old people. Sure, there are some outliers, but "young techie" pretty well captures the core demographic here.
No, ML is basically stats when you have lots of computing power. Classical AI tackled very different kinds of problems. There used to be a "war" of ideas between connectionists (which kind of turned into ML when neural networks no longer tried to be remotely biological) and computationalists, which is where Minsky would probably be closer to. He wants us to understand how minds work in order to model them better.

With ML you don't really try to understand. You throw a dumb and simple-minded algorithm at lots of data and get back good results. You don't try to model all of the complexities of an intelligent problem.

So, no, I would not say ML is a kind of AI.
> You say you can do "some_command * .mp3"...true if either a) your command is safe to run with garbage input or b) you know that you have >= one file and no whitespace in filenames.

Globbing preserves whitespace. It's up to the target function to discard it, by forgetting to quote arguments.

example1() {
[ $# -eq 0 ] && return
echo "$1"
shift
example1 "$@"
}

example2() {
for arg in "$@"; do
echo "$arg"
done
}

touch 1 "2 3" 4
example1 *
example2 *

# both examples print:
# 1
# 2 3
# 4
Disclaimer: I have worked at AWS for 6 years, from 2008 to 2014.

I like Tim's attitude here.
However, the fact that he's writing about this on his blog is by itself a testament of how privileged his position is. For any other employee, especially if not VP-level but not limited to, blogging about this very hot issue would have meant some serious consequences. Amazon's PR is not exactly that friendly - although, one has to admit, Amazon's PR is also one of the most structured out there.
I would say that you're exactly correct, when you say that the EU can never lead to a successful federal bloc. The EU is not a federation, no matter what kind of nicknames one invents for it. EU citizens and member states don't want it to be a federation (some do of course, but they are probably fewer than the people calling for the EU to be disbanded entirely).

It's pointless to compare EU to USA. They are not the same, they were never meant to be the same, and no one wants them to became the same.
AWS is for sure different; I would not call it more relaxed. (disclaimer: former AWS employee from 2008 to 2014).
Do you have any examples were you actually think that the lender is at fault and deserves punishment, while the borrower deserves a break?
Man, we need this for bridge
> Paid offerings? CUT!

Whoa whoa whoa whoa. No. My MVPs are essentially a Bootstrap UI wrapped around user accounts and the Stripe SDK, plus as little extra code as I can write.
> Greece behaved like a heroin user and you're putting the blame on rehab clinic.

No. I'm putting the blame on the heroin supplier.
Isn't it referring to the V in MVC? If that's the origin of "React is ONLY the view layer", then I think it fits.
Maybe people in that situation can now point to the NYT article to explain why they "flaked" after only a few months and it won't affect their chances of being hired elsewhere.
Can a Hotel Robot Read a ‘Do Not Disturb’ Sign?
Is there a good online resource (other than man pages) for those of us who are exceptionally lazy to learn modern Bash?
Make Peer Review Public
Ask HN: Is Android TV already a dead platform?
To anyone in the know, is Android TV a dead platform? It certainly seems that way.

From stock apps that haven't been updated in forever (you _still_ cannot subscribe to channels from the YouTube app, for example) to the fact that the featured games and apps haven't really changed in months, what's the landscape looking like?

Is it a platform worth writing apps for?
The 8th Underhanded C Contest is now open
> Why are these even worth anything or worth keeping, tidy your life, lighten up, etc. Either you really understand why 80 years of manuals, instructions and engineering notes related to 20th century electronics are of value both historically, aesthetically and culturally, or you don’t. To try to make the case would be a waste of time for both of us.

I'm not sure I do understand the motivation, but I don't think that I'm beyond understanding it. Is it that some of these systems are still in service? Is it just the history/archeology aspect?
Yes this works in fiction novels, in real life it usually doesn't work. I could list the reasons why, but show me a case where it actually worked and we can talk further. One big hurdle is that there are too many flaws in complex systems, and you have to mess up just once and that includes flaws in your technology for them to get whatever they are after. Perfection does not exist in reality. Using any sort of excessive technology makes you stand out as a target that's in need to introspection. All complexity has costs associated with it, to set up all of this is time consuming and expensive. etc. etc.
A really helpful guide, particularly for someone just starting out on Linux such as myself. Hopefully I will not get into bad habits to begin with :-)

Having looked at my scripts I seem to have been pretty cautious already (Windows batch has already scarred me plenty), but I have shored up a few minor areas.
Greece should have been allowed to default.

That's why lenders make money. Because there is a risk of default.

Bailing out an irresponsible lender to turn the problem from simple finance to geopolitics is not how you solve insolvency. That is how you use insolvency as an excuse to undermine sovereignty.

> Those are things that Greek government should have done long time ago except they didn't, got in huge debt and now some people think that it's the lender's fault.

It's not the Greek people's fault either. Also, again, when a debtor cannot pay, they default. They do not suffer arbitrarily at the whims of nations and supranational institutions because it's been literally centuries since anyone thought that bankruptcy meant that your autonomy and ability to go on with life was forfeit.

Greece's economy collapsed by 25%. The people who structured the deal predicted it would shrink less than 5%. Greece 'fails to deliver'; the people who keep trying to collect on worthless debt fail to be reasonable or realistic. The people who suffer are people who did not make the deals. People have died because of austerity in Greece. For what? Your insipidly vindictive morality?

> Minus hyperbole, who owns what exactly?
> Greece behaved like a heroin user and you're putting the blame on rehab clinic.

Presented without comment.
I'm going to focus on the "no one knows you" bit since I don't know anything about the industry/vertical you're in.

Step 1 -- The first thing to do is to build some social proof. I hope you already have a few customers. Request them to be references for your product and feature them and their feedback on your front page

Step 2 -- Ask your customers about who else in their network they think could benefit from such a product and reach out to them.

Step 3 -- As you sign on more customers, repeat Step 1 + 2

Step 4 -- Figure out if there is a pattern in your customers and try to truly understand the market they exist in.

Step 5 -- Once you understand the market, try to figure out which channels through which you can best reach that market (e.g. google ads, billboards, tv ads, partners, etc.). Of course, word of mouth is the best bet, but there are often other really lucrative channels too.

Iterate. This is just the beginning!
greycat's writing are the best thing for bash, in my opinion. The submitted article is his 'bash pitfalls'... his formal bash guide is here: http://mywiki.wooledge.org/BashGuide

greycat is a guy who idles in #bash on freenode and has helped thousands of people.
Ask HN: Reviews on Turing Academy? Programming Schools?
My brother is considering joining a programming school (sometimes colloquially referred to as bootcamps). Specifically, he's looking at the Turing School of Software & Design (http://turing.io/).

Before he commits to the tuition (17.5-19k), I wanted to do some due diligence, reach out to some alumni and check them on their 100% job placement claim.

Has anyone had experience with this Turing Academy? Are they as good as them seem? Any other recommendations for programming schools?

Thanks!