skysight-inc/HackerNews huggingface dataset:
It's remarkable how similar this code looks to the monadic way of doing it.

For this Kal code...

task getUserFriends(userName)
wait for user from db.users.findOne {name:userName}
wait for friends from db.friends.find {userId:user.id}
if user.type is 'power user'
for parallel friend in friends
wait for friendsOfFriend from db.friends.find friend
for newFriend in friendsOfFriend
friends.push newFriend unless newFriend in friends
return friends

Here's a pseudo-ish implementation in pseudo-ish Haskell.

getUserFriends userName = do
user <- findUser userName
friends <- findFriends user
if (User.type user) == "power user"
then friends ++ parMap rdeepseq $ (getSecondNodes friends) friends
else friends

getSecondNodes firstNodes friend = do
secondNodes <- findFriends friend
diff firstNodes secondNodes

I like the concept of Kal, and I look forward to seeing what people do with it. Regarding syntax, I have to admit that I share the opinions of a few others in terms of preferring symbols over so many keywords, but that's a minor nitpick. Great job!
JResponsive - A simple library for set callback for other resolution
That sounds like state to me.
> Governments always have all of the money.

Unless you use bitcoin!

In the past, the best solution to a government you didn't agree with was to leave. Head into the unknown and try new things. That, in practice, rarely ever happened on a macroscale (the new world was firmly cut out and brought under the European model of ownership in centuries as its colonies with no real room to experiment, while simultaneously slaughtering entire civilizations of actual divergent societies) but I'd like to think space presents us with a real opportunity to pick up a few thousand people, find a rock in a habitable zone with water, and try things differently.
While reading the new pricing structure, I realized that the Mailboxes feature [1] (allowing programmatic creation of mailboxes via the API) is deprecated. That's too bad; it was the reason I started using Mailgun in the first place. Is anyone aware of an alternate service that offers this feature, short of managing my own mail server?

1: http://documentation.mailgun.com/quickstart.html#using-mailb...
It's admittedly a bit link-baity. The async structures in Kal do compile to callbacks in JS.
Stand Against NSA Surveillance: Become an EFF member
Why does no one seem to care that the bottom 15 degrees is missing from virtually every projection? If it's just because it's un-inhabited why not cut off the top 15 degrees as well?
I agree 100% with this. It takes a lot more than style and price to sell an app.

You need to understand the customer base a bit more. The best pricing and the most style may not be enough of a differentiator for many of the potential customers you are courting.

Get involved in selling the product before you build the product. It's way too easy to end up building the wrong thing if you don't talk to customers early.
Why do they need to mark themselves as YC companies if they don't want the boost associated with being YC?
Do you have any other method of updating the UI without calling corresponding methods? I'm lost on your argument.
Again, it's only a stretch if you don't know about depraved-indifference murder. This isn't a weird loophole; it comes from common law.
I'm almost disappointed that he didn't stick North America in there with the rest of them.
> As it stands, they were already prohibited and this resolution reaffirms that.

Slight nitpick: they were prohibited only without prior ICANN approval (second whereas). Companies like Google attempted to get that approval (Google wanted "search"), which spurred ICANN into making a decision about what circumstances they would allow them. This decision essentially states ICANN won't approve any dotless domains.
Your simplification ruins the example because in the real world, as in lutusp's example, managers are investing in a portfolio of stocks, not 1 in 6 with a 1/6 chance of a 600% return.

There is a reason for market theory and the saying that you can't outperform the market in the long term: everything will average out.

Lutusp's example is perfectly adequate and theoretically sound
Can we all stay clear on the fact that he was doing 80mph on residential streets? That's not ticketable-speeding; it's criminal.
Are you releasing this under an open source license? I teach music lessons, and I'd love to use this to create lessons for my students.
Promotions and titles play a huge part in a lot of people's self-image, even at Google. While I was there, I heard more than a few engineers describe their near future goals as "Achieve level n by next year" instead of "build this thing" or "Improve this technology" etc. We liked to think we were better than "traditional" software companies like Microsoft or IBM but it was all the same. Corporatism and careerism as far as the eye can see.
A side-by-side line-by-line interactive display would be wonderful in writing Kal. Reading the JS explains what it's doing quite well, except that the Kal compiler uses way too many compound comma-separated statements instead of semicolons.
I added syntax highlighting to the github landing page manually for now. Try the .tmbundle if your editor supports it. It's not full featured but it gets the colors going. I'm working on getting it into pygments.
PlanBlock
I like your Peirce Quincuncial projection. It makes Florida look much more excited.
>Stories like this always remind me that large groups of people can work on unknown projects without the public finding out.

Yes. Between this and secret Apple product launches, so much for the common anti-conspiracy argument that says: "Do you think a fake moon landing would have been kept secret while requiring so many people working on it?"

:-)
Steve Jobs would have hated “Jobs”, the movie
Updated daily, its an events site full of places, people, and events around Boston and Cambridge! started initially as a pet project, its about time i let this puppy into the wild
House panel withheld document on NSA surveillance program from members
Cool. I see the date picker has been fixed - thanks muchly & thanks for putting this out there.

In terms of feedback :) I gave it a shot. The only one that had a native date picker component (on my setup) was Chrome. The polyfill version didn't seem fully operational (just an overflow list of the same date?).

The Chrome native suffers from the same UX snafu that so many Date Pickers do - it's fine for relative dates, but terrible for absolute ones. If you want to schedule an event in a week it's great. Or of you want to search for flights.

However, if you want to enter a Date of Birth, it's terrible. You have to scroll through hundreds of months to get to the year you want.

So maybe you fall back to typing? In the native picker in Chrome, you can muddle through the day/month piece, but you can't type a straight year. e.g. start by typing "19" for "1975" and it'll match "1909". This also makes it impossible to enter a date in the 2000's!

You do get a "spinner" that might let you set the year, but the buttons are so small I think it defies practical usability.

Bah! Interestingly the iOS version does not suffer from this gripe as has a slot-machine three drum date selector. It does default to today, but it's pretty easy to move +/-50 years in either direction.

Sorry, that was a genuine rant. I know this is not intrinsic to Brick, but for me a universal Date Picker is #1 bugbear that I'd like it to solve.

(* The Chrome one also defaulted to the wrong timezone. Clicking "today" selected the wrong date.)
Why? It's the same title as the article, so why would it be edited? Unless the TC article had a different title when you posted.
The AMS-IX (one of the world's largest internet peering exchanges) does not show so much as a dent.
Does this mean that Fedora is wrong when they say "This means that we cannot include MP3 code, even as source."?

https://fedoraproject.org/wiki/Forbidden_items?rd=ForbiddenI...
All these posts about raising large amounts of money make me wish for follow-up posts about how the money will be, or was, spent. Without customers, revenue, or product, how do you figure out how much you need?
Client IDs in Multitenant RESTful API URIs
Doing 80 in a 40 and then bragging about it isn't evidence of intent to kill.

It is, however, evidence of a state of mind that comprehends the speed limit and not only disregards it entirely, but does so deliberately.

The law calls that (among other things) "depraved indifference".

Similarly: imagine you got drunk at a friends apartment, picked up a rifle, and fired several rounds through the floor and into the apartment before (this happened with a friend of mine, now deceased). Imagine you killed someone. You clearly didn't intend to, but no reasonable person could fail to grasp the implication of firing a gun blindly into someone else's apartment. You were recklessly indifferent to the lives of the tenants below you, and have committed second-degree murder.

Driving 80 in a 40mph residential zone is no different from firing a gun blindly through the floor of a top-floor apartment. When my late friend did that, I'm sure he had no comprehension that he might have killed someone. Thankfully, he didn't.
And this is the real reason why museums don't allow photography.
I Love callbacks, wtf is wrong with you guys :'(
For posterity, the key quote for those looking to intuit Buffett's view comes on page 13: "I'm convinced that there is much inefficiency in the market."
I'm puzzled by the bootstrapping process. It's written in Kal itself, and you distributed compiled code as JS. Do you have a way of re-boostrapping from only the source in github?
Does anyone know if there is a JS dialect out there that adds support for callback-less async code without also adding a bunch of other coffeescripty syntax changes at the same time?
The OP said that 'there are a lot of women in SF who are rather plain looking but due to gender imbalance act as if they were extremely attractive'.

To me that this statement can be true or false (I've never been to SF so have no idea). It either is or it's not true.

Separately from that, one can argue 'It's sexist to grade women based on their looks and to likewise imply that attractive women can be expected to act differently than homely ones'.
I'd like to give each tenant a container and let them run Docker app containers within that.
SpaceSuit: Spatial queries for any SQL database
DIY Open-Source Cellphone
99devs - Where Developers Meet Entrepreneurs
That would be TameJS: https://github.com/maxtaco/tamejs
For the curious, the equivalent example from the OP using promises[1]:

function getUserFriends(userName) {
return db.users.findOne({ name: userName }).then(function (user) {
return db.friends.find({ userId: user.id });
});
}

[1]: http://promises-aplus.github.io/promises-spec/
$30/month is too much for this to get Wal-Mart traction (which is what it needs, because not even the daughters of seniors buy FitBits online). Seniors often live on what they call "fixed income" which is a euphemism for government aid, pensions (which are diminishing), etc. A new expense cannot be covered by working harder or smarter. A $30/month new expense is exactly why lots of seniors do not have smartphones (ironic then that Amulyte folks say they considered making a phone app but not enough of the audience have smartphones, then made a device that costs the same as a smartphone data plan).

Consider that the Kindle 3G comes with free cellular service. The hardware is in the same price ballpark, so why does Kindle let me download entire books for free, but Amulyte charges me $30/month to publish tiny updates that I hope I don't need?

Also consider the SPOT satellite messenger. It costs $150 plus $150 per year, which is much cheaper than Amulyte. The main downside for this application is that it does not work indoors--but the SPOT folks could add GSM capability and then their device seems almost universally better (the one exception being ergonomics for seniors).

Finally, ergonomics. Amulyte can't be too large, or it will be a constant dangling reminder of dying. And it obviously shouldn't be black in color--if not because black implies death then because new little black electronic widgets are really confusing and scary to old people. Round and light-colored would make a difference for some of the target audience.
You're mistaken on both counts, even though your top-level point is essentially correct.

On the first count, you're mistaken because there's no reason to assume that the distribution is symmetric. This doesn't damage your point, but as klodoph says, your actual example numbers are not necessarily representative. You'll note that this minor mistake in your comment has attracted a legion of minor corrections, all of them correct, all of them missing (or at least ignoring) your most-important point.

On the second count, that's like saying that math is the foundation of computing, and so the two are indistinguishable. klodolph is correct that the two are different, and it doesn't affect your point at all, so you should acknowledge the minor correction and stick to the relevant point.

More generally, did you notice that your top-level comment was basically saying "Warren Buffet is wrong about this aspect of investing"? You could be right, but it's not likely. I believe the reason for this mistake is that you may have have misread this sample of Buffet's thinking (and your overall claims as I understand them may actually agree with and Buffet as I understand him).

(In my humble understanding) Buffet claims that there may or may not exist investors who have superior (or inferior) skill, but that in MOST cases the results are due to luck, and "skilled" investors are mostly indistinguishable from lucky investors. Although I have not seen you agree or disagree with this claim, I note that all of your arguments are consistent with this. Your arguments revolve around being unable to determine which are which, after the fact; so do Buffet's! I further note that it seems ludicrous to claim that there do not exist anti-skilled investors, and thus all other investors will be more skilled than the mean skill level, and that this probably won't matter, because luck will drown it all out.

My overall points here are:

* I agree with your high-level claims (as I understand them) about money-managers
* I believe Warren Buffet, in this letter to Katherine Graham, agrees with
your high-level claims
* nearly every commenter in these threads agrees with your high-level claims
* the comment by wheaties is a counter-example
* some of the minor details of your points are technically wrong or confusing,
in ways that invite nit-picking, but do not impact your actual argument

On the other hand, starting on page 15 (of 19), Buffet suggests (and advocates) an alternative (his #5) that is NOT fully respectful of the efficient market hypothesis. So your position is not Buffet's entire position (though I see from your Equities Myths page that you have noticed this, and you suggest that perhaps Buffet is nothing except lucky).
Dont confuse closures with callbacks. Asynchronous non blocking code is the nice thing and callbacks are the price you have to pay to use that in JS,
Simple Twilio API wrapper in GO
"They promise to deliver flowers to anywhere in San Francisco in less than 90 minutes."
When a friend says that now you can respond:
"BloomThat Shit"
Microsoft is quite pro-active in tracking and licensing exFAT. They're generally quite polite about it, but insistent (as is their right).

I've heard different anecdotes on the price, but it's not cheap. An Ars article from 2009 places the flat fee at $300k[1], although I've heard of niche device manufacturers paying $100k.

[1] http://arstechnica.com/information-technology/2009/12/micros...
Actually I went from Gentoo to Arch. I tried, tirelessly, to run a stable Gentoo desktop (server is much easier). However its not worth the wait in terms of compile times or just emerge pains to begin with. The Arch model is great if you want the cutting edge with stability. Gentoo seems more bleeding edge and less reliable. Defiance is my goto on the reliable side of cloud and virtual instances. Arch and Debian are very complimentary in my case.
Would a reasonable person have foreseen the possibility that driving 80mph down a residential street might kill someone? Yes. It's easy to kill someone with a car even when driving the speed limit. Far easier when treating a residential street like a dragway.

Did the person consciously choose to drive 80? Yes. The gas pedal didn't get stuck. They didn't have a micro-stroke or go into diabetic shock. We know that they consciously chose to drive unsafely because they bragged about it.

Reasonably foreseeable outcome. Conscious, deliberate choice. Ergo: recklessness.
Windows 3.0 had it before Windows 3.1.
Because it's so hard to prune all those millionaires.
The wikipedia page says: "Maps based on the projection continue to see use in some circles."

Don't the mean "in some spheres"? ;)
Are you or are you not included in the group consisting of 'everyone'?
How exactly are callbacks the best part of JS? Callback aren't a language feature, they're a pattern of doing async code with anonymous functions. Anonymous functions are used for far more than just async code and cannot be replaced with an await keyword which only replaces the need to use callback for async code.
How about your neighbor's public wifi? (Neighbor could be a few cities over...)
just a note: you mean Berklee, not Berkley (2 different schools)
Forget the 4th, how is this not a violation of the 13th Amendment?
It doesn't have to be a 'system' that's replicable. It might just be on a case-by-case basis. Maybe a few people just have a knack at seeing something most others tend to miss and that this varies from stock to stock.
The RAM is the thing with Macbook Air's that permanently soldered to the system board. Everything else is difficult to replace due to the form factor, but still replaceable.
Sorry, I didn't see those. I count on the site to flag for duplicates. Apparently it can miss some.
> He said that everyone in Russia just laughed it off, and they knew that nothing would ever happen.

That is in large true. There was no constantl stream of news on dangers of evil empires and scare us with total annihilation. At least in the 80s it wasn't happening as far as I remember. "American imperialists" was still used in propaganda and news but it wasn't serious. Or rather few took propaganda seriously. Heck by 80's the hottest thing in Soviet Union were American jeans, music, products, movies. All that was underground, the forbidden fruit if you wish.

Now what you should be worried about it that you have been brainwashed. There was no equivalent real life credible threat to the extent it was dramatized and inflated in American propaganda. You should be worried perhaps that in a country with supposedly a free press and open criticism people were mislead in a much large and degree than in a totalitarian communism country. CIA and other intelligence agencies chronically overestimated and inflated figures and threat models in order to get more funding. That should worry you. That is happening today as well when it comes to war on terror.

Another point is a joke I like to tell people and (I've mentioned this before, so I apologize to those) -- when the Soviet Union fell we found out "everything they told us about Communism was a lie and everything they told us about the American style Capitalism was true". I'll leave it at that joke.
when popularity doesn't work, go for exclusivity.
It's more obvious if you have multiple levels.

function getUserFriends(userName) {
return db.users.findOne({ name: userName })
.then(function (user) {
return db.friends.find({ userId: user.id });
})
.then(function (friends) {
return somethingAsync(friends);
});
}
The only way to re-bootstrap is to download a compiled (JS) release from npm, then use that to compile the .kal source in the git repository. Then you can use your newly compiled version of kal to recompile itself. This is how I create the npm releases.

It's not turtles all the way down, though. If you look way back, the 0.1ish releases of the compiler were written in CoffeeScript. I ported the compiler source over from CoffeeScript file by file as it matured and eventually got rid of the dependency entirely. Technically, you could start with the last release that was written in CoffeeScript and compile up to the current release.
In some intranets, users might be relying on mDNS (Bonjour) or WINS (SMB/CIFS) name resolution, rather than static DNS; both of those mechanisms, by default, get resolved at lower-priority than DNS (because they're quite slow, so you don't want your computer checking them first every time), so if there's a real DNS entry it'll get used.
Or, perhaps the stock market doesn't reflect value, and insider trading (in one form or another) is the norm, not the exception?
As far as I can tell from reading the readme, it does NOT support throwing exceptions from within callbacks.

Because, of course, there's no way to technically do that in anything that is JavaScript at its core -- at least as far as I'm aware of. Correct me if I'm wrong?

It says "This includes error handling via callbacks." -- not error handling via exceptions. Elsewhere it says "Any errors reported by fs.readFile (returned via callback) will be thrown automatically.", so maybe it converts certain callback error functions to exceptions? But in any case, that's not the same as throwing an exception inside of a callback, and having it "bubble up". Unless I'm misunderstanding (which would be great!).
Nope. If you don't have a "com" domain at your local network, "example.com" and "example.com." point to the same machine.

The TLS domain is matched by the web server, it has no relation to DNS, except that both use the same domains.
Probably 90% of the time I'm using my laptops is when I'm actually sitting at my desk and they are always plugged in at that time. I recently read where someone else had stated that it was good to remove the battery (if you can) if using the laptop with external power.

Any idea if this this accurate or will prolong battery life? I've got an (almost) brand new Thinkpad with a large, expensive battery that I'd like to preserve as much as possible (like anyone else).
Yes, it's called "JavaScript". Specifically, combining generators with promises.

http://blog.alexmaccaw.com/how-yield-will-transform-node

Definitely not as clean as a whole new language, but you can program like this today, at least in bleeding edge node and some recent browsers.
> "The executive branch has now confirmed that the rules, regulations and court-imposed standards for protecting the privacy of Americans' have been violated thousands of times each year,"

And you can bet that if they admitted to those, the real violations are orders of magnitude worse.

Nothing coming out from either the White House or NSA or other secret agencies will be taken seriously anymore. Whatever they release and say, at least in the next year or so related to the spying, is just going to be regarded as more PR and lies. They have completely lost any credibility.

Now the bad part -- this doesn't seem to bother them. That bill to defund the NSA was close but not close enough to scare them. Now, what could happen as a nasty side effect is they notice our apathy it will just embolden them.

Anyone notice any promises of them shutting down their operation? Nope. Neither have I. But one can bet they will ramp them up.

This is like the tiny criminal that when he finds out everyone knows about his crimes but nothing really comes out of it either through apathy or fear, they just ramp up the intensity.

"We record %2 percent of traffic and there wasn't that much outrage, why don't we just record 20%".
Hmm. I've already hit 100 cycles after only 3 months of owning my Macbook Retina 13-inch...

I guess that makes me a ... power user? ;)