skysight-inc/HackerNews huggingface dataset:
One of the most powerful uses of Clojure's macro system has been in the core.async library. This has enabled the construction of a library with operators similar to Go's Communicating Sequential Processes [Hoare 1978].

What is different about Clojure's implementation is that no changes to the compiler were required - 'deep walking macros' (http://blog.fogus.me/2013/07/17/an-introduction-to-deep-code...) were used - that actually restructure the code.

The benefit of this in the library is that when a process is blocked, the wait is converted to data and the thread is freed up and returned to the pool. You can have multiple processes talking to each other with a thread-pool size of one. (And still reason about the code in a neat way).

The benefit of this comes in the JavaScript environment, (via ClojureScript) where you can compile code that you would ordinarily coordinate with threads using CSP. (With Go-lang style operators)

You can see an example of this on David Nolen's pages here:
* 10,000 processes http://swannodette.github.io/2013/08/02/100000-processes/
* 100,000 updates
http://swannodette.github.io/2013/08/02/100000-dom-updates/

This is the power of macros in Clojure - things that would require a compiler extension in another language, are a library in Clojure.
http://www.thestar.com/news/gta/2013/11/28/disabled_woman_de...
Hiding metadata is a difficult problem to solve, but it's vital.

I expect you'll have to burn bandwidth. Broadcast "all" messages to "all" users, users can only decrypt the messages intended for them, discard the others. There are probably tricks you can do to reduce it to a fraction of "all" messages but I bet it will still be a substantial amount of bandwidth.

Perhaps usenet will see a revival.
You're exaggerating the cost and neglecting the technology by-products from this mission. I think landing on the moon repeatedly from whatever nation on this planet should be welcomed and called money well spent. Eventually, space is where our descendants will be going after we suck the earth empty.
Circuit boards and putty are not weapons. Are you aware of any instance where circuit boards and putty were used to harm someone? Are such events a big enough problem to justify threatening law-abiding citizens with machine guns?

There is no factual basis for linking her activities to a bomb threat. Bombs do not look like that. Perhaps a bomb could look like that, but a bomb can look like anything, like a rolling suitcase.

My solution is to allow cops to step in only if they have reasonable suspicion to believe a criminal act is taking place. An unrecognized object should not be considered a weapon unless it is being used in a threatening manner. Walking around an airport should not be considered threatening behavior.
Eh... I upvoted you for weeding through the bullshit, but it is still bullshit. People shouldn't aggrandize like this. They should let the work speak for itself.
Count me in this bucket...
In what way are they not private?
Isn't this what Quassel http://www.quassel-irc.org/ does, or am I misunderstanding what you're asking?
I used to wish for this also. But then I found C# to be pretty good; maybe it doesn't have as many features as Scala, but it is definitely a step up from Java.

The demand for Scala on .NET just doesn't seem to be that large, couple with the fact that reified generics make encoding Scala directly kind of difficult (Nikolay Mihaylov spent a lot of time on that).
And how exactly do you propose verifying that the user agent purporting to be Googlebot or Firefox is actually who they are? They're inherently unenforceable.

robots.txt is basically a list of rules that lay out "This is how we'd like you to crawl us. We might stop serving you if you don't comply", rather than a hard-and-fast set of directives that specify how a webcrawler will be guaranteed to behave.
I don't advocate enforcing its usage, I just think it is more appropriate in these circumstances. The reflexive form isn't well established, but I don't think that particularly matters.
Languages are messy, and its difficult and futile to enforce prescriptive logic on them. To build upon your example, if you search for the form 'learn for themselves', you'll find that many people use the phrase with nouns which are nominally singular, such as 'this is something that each generation must learn for themselves'. Well, so be it.
Disclosure: I've recently been designing a rich type system for representing hierarchical datasets, and I've also worked on a large production system written in Go, so I have some skin in this game.

> Here's a long quote by Rob Pike, which whether you agree with the points he makes or not, explains why Go does not have generics.

Does it? It seems more to explain why Go doesn't have C++-style classes.

In fact, this quote is almost like hearing the concept of metaprogramming being dismissed because C macros are a disaster.

> To be fair he was probably saying in his own way that he really liked what the STL does for him in C++

The C++ STL is hardly the ambassador of type theoretic solutions to problems of software complexity and safety.

> What it says is that he finds writing containers like lists of ints and maps of strings an unbearable burden.

Writing things once is not the problem. If you want to write a red-black tree of inegers, you don't want to write the whole thing again for some other totally ordered type. So you're left with casting your way out of the problem on top of a boxed implementation. Great, you've sacrificed DRY for safety and readability because a rich type system was too hard [1]. Note: almost wrote "proper type system".

> Perhaps I'm a philistine about types but I've never found that model particularly expressive.

Or perhaps Rob Pike just hasn't explored the relevant literature in enough depth. At one point he admitted that he didn't know that structural typing had already been invented previously! This isn't to criticize Rob, I find his talks fascinating, I think he's awesome, he's a friend of my boss, etc. But he's hardly the first hard-core hacker to be ignorant of the degree to which type theory has seen dramatic advances since the 1980s.

Just think of John Carmack, who after a very long and successful career using C and C++ is only now beginning to espouse the benefits of rich type systems and static analysis, going as far as to rewrite Wolfenstein 3D in Haskell.

> Type hierarchies are just taxonomy.

Here is the crux of the problem. Rob has silently switched from the ideal of "generic types" -- which 20 years of programming language research has taught us requires engaging with ideas like type classes, higher-kinded types, type covariance, and algebraic data types -- to the straw-man of "type hierarchies". Of course type hierarchies are crap. But that doesn't mean you have to return to the stone age.

Okay, well, structural typing isn't the stone age, but it's the beginning of the journey, not the end.

[1] to be fair, it is hard, Rust is still struggling to make the right balances, as Niko Matsakis's blog posts so entertainingly demonstrate.
Call me cheap, but I pay for my bandwidth and I don't want to have to deal with slow video streaming or high ping times just so someone I've never met can buy their drugs on silkroad.

A key thing to remember is that each person's social network is relatively small. You don't have to relay traffic for someone you've never met, just for the people you've added as "friends" plus some relatively small amount of overhead for linking into the rest of the "world" in order to do searches for people you want to add as "friends."
The other side of that coin is that often the clients I get via referrals have no reasonable alternatives. They often have done all business through referrals and so the alternative to me is the open market which is intimidating and has a significant barrier to entry. The end result is that we build a solid and stable client relationship that generally only gets upended if/when money runs out.

It's a great position to be in, provided you have the throughput to expand to other clients and aren't dependent upon a single client for income.
The N9 and WebOS were the first that I remember with the swipe gesture based interface, but BB10 is a much better OS than people give it credit for.
Original "heavy boots" story (1989)
How can you find a way to drive the cost down if you are not doing it at all?

The resources don't need to be returned to earth if they can be put to immediate use on moon station.
Now, when you raise a kid it's easier to understand what's happening when she/he has the same kind of behaviors, physical type (including heredital illnesses) as you.

For instance if you have weak body defenses and your kids are too, you'll be pretty understanding and know first hand lots of ways to help them, and they'd be handicaped put in other hands. Your kid won't be some random living being alien to you [1], the outcome of putting a kid in another random family doesn't make a balanced experiment about success or failure in society.

[1] that happens with adoption for instance, but that doesn't make a neutral experiment either.
The people I know like the 'they/them' form, since it does not sound as made-up as the other words.

I'm not a native speaker, but I agree it happens to me more often that I read past a singular they without noticing than if it were an artificial word like hir.
Exception or the rule?
I believe what you want to say is that you want to declare war on him for his beliefs. Go after his writing works, even decades in the past, go after him for his current works, and seek to destroy him because he has a difference of opinion with him.
The "secret sauce" of the MOOC is the on-line community of motivated learners. Can they make this work in industrial training...?
Comet ISON, Presumed Dead, Shows New Life
Saudi Officials: “We Were Lied To” By Obama Administration Over Nuclear Talks
The original machine had a base plate of pre-famulated
amulite surmounted by a malleable logarithmic casing...

Nice. "Have you tried logarithms?" http://xkcd.com/451/
Future of OS/2 Report
You don't get it. For any casual browsing a graph means nothing. But for people putting a powerpoint together or doing hw or doing research this graph is useful. Imagine you get a comparison chart from your query (Google already does this for very very very limited comparison queries). If you get the raw data out of Wolframalpha that's even better. Instead of having a data scientist to write code to get the graph or imputing this into excel or words to get a graph, let WA do it for you. Hey here is another idea for innovators: instead of screenshot a graph but don't we have a graph importer in powerpoint?

We are just looking at 2D plot, there is nothing fancy about this graph but there are more fancy stuff you can build. A graph is a generic term in mathematics and I hope you know that. Why do we go through social graph and knowledge graph? Why not keep them behind a firewall? Why bother building a JS interpreter in Go? If you can build a machine that can compute anything (universal turning machine, well, I know there are NP problems but we can do our best to compute a subset of the computable - approximation), you can do a lot of crazy things. I think WA is nailing down how the future of computing in relation to life is going to be. Ask a question and gives you back the data to you in both representational and raw form.

Here are examples:

http://www.wolframalpha.com/input/?i=Who+is+Mozilla%3F

http://www.wolframalpha.com/input/?i=Who+is+https%3A%2F%2Fne...

If somehow we can contribute to WA's modules (we write our custom programs and WA can adopt them by means of marketplace - select to use this module, for example), then we can utilize WA powerful machinery to do our query and benefit the mass. This is where Open Source can make a big difference! Sure APIs are nice but you know, not everyone has time to manage another new website. If we can get paid to write modules and get commission share based on the number of users ... So on top of API, direct module marketplace IMHO is the game changing. This is why I like Google App Script and App Engine.

http://www.wolframalpha.com/input/?i=Who+is+Facebook%3F
Of course, if you have an actual business that does not require starting capital, you are out of luck.
Ionic html5 framework
Show HN: A backbone-style router for Twilio-Node/Express
Here's a quick summary:

There's a Rails design pattern where you send an AJAX request to your controller, and it returns a bunch of Javascript that gets eval'd by the page you're on. This is used for say, infinite scroll. You'll click the 'load more' button, the server will render a partial containing your new records, and return something like:

$('#itemsList').append('<li>My new item</li><li>another new item</li>')

So guess what? This is susceptible to XSS-ish attacks.

Let's imagine that instead of a simple list item, this request was returning some sensitive information or a CSRF token. (Egor points to various examples of this.) Normally, executing a GET request from an unauthorized domain will not be allowed because of CORS. This is what prevents me from instructing the users of my website to make an AJAX request to gmail.com, allowing me to see all of their emails.

But "wait", you say, "the content type of this request is application/javascript."

So open developer tools and type this: (using jQuery for conciseness)

$.ajax({
url: 'https://basecamp.com/[BASECAMP_PROJECT_ID]/progress.js',
dataType: 'jsonp'
})

And boom, you have a bunch of sensitive information about your Basecamp project, accessible via JSONP request from any domain.
https://www.digitalocean.com/?refcode=4d7fb2079a96
Focus on Fukushima first, and many other things that are happening here and need to be fixed, prior to solving world's energy problems and turning moon into a solar panel. WTF is wrong with people.
https://www.digitalocean.com/?refcode=4d7fb2079a96
This is the best deal I could have ever got. Thanks.
What a pitiful small child behavior.
Can you use an ASIC miner for Litecoin mining?
$9M Bitcoin haul buried in U.K. garbage dump
Daniel, how far will you go with TDD on this book? What resource will you recommend to continue learning TDD after the intro in this book?

Will you consider writing another book in the same spirit as this one (for beginners & kept up-to-date) for rails with TDD?
Ask HN: How long does it take to learn how to code well
Enough to be a pretty competent full-stack rails coder?

Let's say hypothetical person: above 130 iq, pretty good at math but not any crazy math guy, logical thinker, can dedicate 40 hours a week.
Is this possible in a year? 2 years? Or is it like a sport... it takes a talented person 10,000 hours to kinda get good enough to start their own startup?

Let me know how you guys got started and how long it took.
Agreed.

If anything, the parents would have a right to be upset, but not the child.
The "Average Joe" doesn't use Bitcoin.
It's something I was just thinking about as I was writing the comment but I didn't like the idea too much. The course now only has time for two serious projects: one is a game and another is a a little CPU. I think they're the right combination of fun and pedagogically useful.

In terms of what students would learn from this project: it would be some fairly straightforward sequencing and buffering logic and the weird combinational munging that hash algorithms tend to do. I think there's more to be learnt by building the little CPU. And we have quite a few sophomores who may not appreciate what a cryptographic hash function is and why we might be interested in building a hardware accelerator for it. We could possible do some extra sessions, introduce them to hash functions, motivate hardware accelerators and so on but it seems like it's not worth the trouble.

I think this assignment would be more suitable for a crypto/security course in an EE department.
Is it me or is this bull? You lose a lot of energy when you have to transfer it back to earth...
Just place the panels on earth already :)

Guess Elon Musk made fun of that before.
Currently, no.

However, Alpha Technologies has announced[1] an ASIC targeting scrypt (or at least Litecoin) in development.

[1] - https://bitcointalk.org/index.php?topic=341939.0
That's an incredibly personal subject. Some people can develop such bonds, others cannot get past the perceived distance. The importance of bloodlines runs very deep in most western societies (I don't know much about other societies, so I won't generalize...), and simply saying it is possible ignores a lot of social stigmas and personal attitudes.
Sorry for the long delay. Adverse possession is the common method of taking gaining ownership of land that you have occupied and used for an extended period of time as if it were your own.

I can go into more detail if you'd like.
Egor talked about it more in his original post, http://homakov.blogspot.com.au/2013/05/do-not-use-rjs-like-t...

He also linked to a post from six years ago[0] which had a good solution the problem at the time: pass data, not code (and process this data on the client side).

[0]: http://yehudakatz.com/2007/05/18/railsconf-talk-recap/
Your example makes it look like this is doable to any site that allows JSONP responses that contain sensitive data.

Is this RoR specific because RoR will always allow JSON responses to be turned into JSONP, or is there something else at work?

I'm suddenly pleased I've been holding off on doing JSONP as part of Django Slumber.
The Ways of Lust
You mentioned "creating a new record", which indicates a POST request.

I believe this only a vulnerability if the server responds to jsonp requests in GET requests.
You forgot typescript ,haxe,JSX, opal ,coffeescript and zillions of languages that compile to JS.
Isn't reading an uninitialized variable that could have been given a "register" qualifier undefined behavior? That is, the program never takes the address of __.
No worries. I don't normally respond with as comprehensive a rebuttal, but was in a write-y mood today (and as someone who hates writing, this is not something to pass up).
i bet it's dope, but I bet it's not "it".
Your posts here are very educational and inspirational. Thanks a lot for the thoughtful responses to all of the questions. Congratulations on your success and good luck with any future endeavors.
Ask HN: How or why would that happen?
You're right, will update now.
There's several more here: http://turboencabulator.tumblr.com/
> But now I want to write an "HN Alerts" service that notifies you whenever someone writes a comment with a certain keyword.

You should absolutely do this.
Why next man on Moon will be Chinese
Except for the fact that people don't download and serve them themselves.
You're a good storyteller. Great read.
JSON and clientside templating, folks. It's a wee bit more work, but it's a lot more pure, and that purity pays off in multiple regards, including security.
I fiercely applaud Thrun's update on the uncomfortable evidence he gathered, and wish him the best in his pivot.

(It still seems to me that MOOC's might be done right with enough effort, like spending $100K per hour of nationwide-reproduced instruction the same we do as with TV, but I have not been keeping up with the literature here and perhaps I don't know how pessimistic I should be.)
Yeah, we're definitely going to do it, I think one of the lessons learned is that we rushed into the campaign.
an easy fix, I think, would be to always wrap the returned code in a function that would check if the domain matches a predefined whitelist and just return out of the function if it doesn't. This can be very easily automated.
A trade off implies people understand what Google is doing, which they don't because it's secret.
They didn't break out android because it would contradict the usage numbers they would like people to believe.
"I do trust the profit motive of a small company" - Oh, you mean that small company with nearly $100MM in funding, as well as $80MM in revenues?

"bound by laws" - like the laws and regulations enforced by the FDA?
The "Eastern Philosophy" section is a bad joke.
Is there case law on disclaimers of warranty for open source software? In particular, has anyone been successfully sued for an providing free software that was not fit for a particular purpose? I was recently hoping that these disclaimers were legal paranoia, but I have no actual knowledge.
Write-only memory
There are initiatives like http://subbable.com that aim to help bridge this gap - Subscribers such as yourself can help fund your favorite channels and keep them ad-free
HN, what is your meditative practice?
>> But then I found C# to be pretty good; maybe it doesn't have as many features as Scala, but it is definitely a step up from Java.

I left C# to do Java, Java is a step up from C#.
In most cases, a program would just read from "dirty" memory and you might get a random value. In this case, whatever bits are there, they "add up" to -1, so it just works.
Not a fix at all. The client can examine the returned code.
Want to Work With Databases In Golang?  Let's Try Some gorp.
It would plunge temporarily, for sure, but not for long. Plus, why would the Chinese government do it?!
I would be much more likely to hit submit if I didnt have to put my email address in for unknown items
Understanding and Using C Pointers
I agree that it's a mistake for most sites to have a forum as some ill-conceived appendage (I once exclaimed to a friend that "forums are favelas!" on most sites), but think interest-based communities have a bright future.
Only 2-3? Please tell me your secret!
Isn't this just them trying to monetize online classes? I've read a few other articles that covered this topic and it seemed he was pivoting away from "education should be free" to wanting paid offerings. I know he has, along with others, complained about the limited number of people completing courses or passing them. I just feel like that's an excuse. I looked over a number over courses but didn't complete them because they were boring, lacked necessary prerequisites or had a poor user experience. I think it's a little early for giving up and I hope something takes free online education seriously enough to solve the problems. I'll also mention that not a single person I know outside of the tech industry has even heard of this stuff. You have to at least try a little before you quit, right?
This is an interesting shift, but feels less promising than the initial rhetoric. Vocational education in STEM fields delivered by for-profit institutions is already pretty well-trodden ground. ITT Tech, for example, is a large incumbent in this sector. Why should someone go with Udacity instead?
Neat, but seems like a novelty.

As far as usage in teaching circuits, it wouldn't be very useful after the first class. The bulk of learning about circuits is math.
That's a pure web-based QR code scanning Bitcoin wallet. Very impressive.
Still allows direct download (I registered prior to the comments), also, tux's comment history is about as positive and contributing to the community as you'd expect.
Thanks, would it be possible to get it in MOBI format. (I have bad experience converting coding books in calibre)
Sure, but this wouldn't be one of them. If a woman even suggested their employer had discriminated against them on the basis of weight, then lawsuit or not, their employer would be crucified. Sorry, but being overweight is no worse on a woman than it is on a man - not that it's peachy for either of them.
And more than that, each operating system has a different set of fonts.
the reason it didn't work is you were not using ASCI values. HTML even though it supports multi-byte strings, the constructs which power the html spec do not support multi-byte strings. Also smart-quotes are note part of that spec and will be interpreted incorrectly. replace smart-quotes with normal quotes will make it work correctly.
Okay, if that were the case, why would Facebook even have an option to make your friends list private?

There's nothing pointless about taking issue with "features" and options that don't do what they're purporting to do.
iOS Engineer Needed - drchrono