skysight-inc/HackerNews huggingface dataset:
Ok, so as the client processes more requests with the server the resource use increases, so in theory the higher the benchmark numbers the faster the server would actually respond without the extra load of the client. So (in theory) the server with the highest performance actually performs better than perceived (assuming that the tester is hitting resource bottlenecks somewhere on his server during the test, which isn't shown).

Luckily this benchmark is incredibly simple. It's not a complex system as the test is using a single set of data with two pieces of software in a single contained environment; the only thing that changes is one piece of software and one configuration: the server. Separate the server/client and your test is still the same, only with extra resources for the server and client to take advantage of (and less network bandwidth and higher latency). Knowing how http clients work, and knowing how http servers work, is it possible that the client or server could be utilizing resources in such a different way after being separated as to skew the results in a significant way?

I don't believe so. Even if you saturated a 1Gbps network link, you will see differences in CPU time between processing of requests and differences in memory use, and unless they are all fast enough to saturate that link you will see some servers process more requests than others. If you want to verify this you can follow the benchmark's set-up and try on two separate machines and let us know if there's a significant difference.
Here is how it can be done in Haskell.

Instead of using a Boolean, use a type that means what you actually want:
You want to short-circuit combine two (or more) values, returning the first one that is valid, without evaluating the later ones.

You need a type that represents a possibly-unavailable value. "Boolean" is not that type. "Maybe" is Haskell's type-safe "Nullable" type. It has two kinds of values: "Nothing" or "Just a", where "a" is a value of any type.

Some quick simplified definitions of Haskell terms:
"Control.Monad" is Haskell's generalization of "flow control"
"mplus" is Haskell's generalization of "or" (as it means in Perl/Python).

backticks are used to make a regular prefix function into an infix operator.

"undefined" is like Perl's "die" or Java's uncatchable Exception, used here to show where short-circuit happens.

ghci is a Haskell interpreter.

% ghci

> import Maybe

> import Control.Monad

> undefined `mplus` Just 1

*** Exception: Prelude.undefined

> Just 1 `mplus` undefined

Just 1

> Nothing `mplus` (Just 1) `mplus` undefined

Just 1

> Nothing `mplus` (Just 1) `mplus` (Just 2)

Just 2

This web page goes into a bit more detail on this technique:
http://www.engr.mun.ca/~theo/Misc/haskell_and_monads.htm

It's slightly complex to understand, since it so generalized, but in practice it makes for simple, safe code.
Actually, bartering is already covered in the US tax code. You're supposed to claim the fair market value of the goods/ services you received as income.

http://www.irs.gov/taxtopics/tc420.html
12 best free wordpress themes of 2011 (so far…)
Could you elaborate? Is the inactive event triggered when the screen is completely covered, and any uncovering triggers the active event?
Their motivations, quite simply, are different than yours.
I'd have a back up plan for a second nearby city so that once the town councils bike-shedding begins, Steve can just shrug and say "Gee it would have been nice to build it here but..."
I always enjoyed Peter Medawar's response:
"No, and if I do it by accident, I'll be very sorry"
IPhone game with 100+ pages of game development documentation
It's not really unusual for the older generation to spend more conservatively, even when they're extraordinarily rich. USD/CNY is at 6.44 (or so), and $20 ~= 130 RMB. When I was in China, I easily survived on about 30-40 RMB/day... not because I couldn't afford it, but good tasting food is usually from the cheap street shops. I've had my share of golden-utensil $20,000 RMB meals, and they're nothing special in terms of taste.

I'm wondering if this is cultural traditionalism or personal dedication. On the other end of the spectrum, a lot of the Chinese have been trying to copy western capitalism in spending.

The tea comment is silly. Great Chinese teas are difficult to steep. My favorite kind of Oolong (category) tea for example, will taste disgusting if the steeping temperature of the water is off by even 10 degrees, or the steeping time is extended for even 3 seconds. Maybe he hasn't treated himself to good teas!
> [most people] don't even have a basic scaffold of world events in their minds

You're absolutely right. Unfortunately, many other people do have a scaffold, a derelict one at best, provided to them through their politically tainted education and validated by their social systems.

I respect that at least you're making an attempt to enable people to stimulate their interests and seek out a more detailed education on those topics.
How Twitter evolved from 2006 to 2011
In this case the "physical robbery" parallel would be losing your key to a safety deposit box, and then suing the bank when your stuff is stolen. Don't get me wrong, I don't love banks either, but here the bank's security didn't get compromised.
Lumosity Looks To Make Military Smarter With Navy Grant
Actually, we got that already: http://userscripts.org/scripts/show/101484

However, this new extension is going to evolve - you can keep track at https://github.com/danielbeardsley/wompt_chat_chrome_extensi...
Inside the Ghost Ships of the Mothball Fleet
When you say "switch <value>", it matches the "case" statements based on if the value after "case" is equal to <value>. So, if you say

const P = 3.141
switch 3.141 {
case P:
fmt.Println("This prints")
}

When no value is specified after "switch", the value of "true" is implied, which is why you can do:

switch {
case a && b: ..
case something():
}
In The Sprawl trilogy, cash is almost never used for legitimate purchases. It's almost exclusively used for black/grey-market transactions.
The law doesn't care about their game's fictional currency. They have more incentive to protect it than a bank has to keep real money as secure as possible.
A number is the sum of its digits, raised to the appropriate powers

Sum(i=0..n, a[i]*10^i)

123, for example is 3 + 2 * 10 + 1 * 100.

A power of 10 (10^n) can be re written as

(1 + 9 * Sum(i=0..n-1, 10^i).

For example: 1000 = 1 + 999 = 1 + 900 + 90 + 9

When you subtract two numbers with the same digits, you end up being able to factor a nine out of these sums fairly easily.

I wrote a proof of the number - reverse(number) a while back. It can be found on archive.org

http://web.archive.org/web/20050314023901/http://jimfl.tense...
I loved the "Git Internals" PDF by Scott Chacon (github) probably not targeted for "Beginners" but a good read nonetheless.
Why is it a stretch? The bank is liable for funds stolen through a bank robbery, a much more aggressive criminal action. Why is the bank supposed to protect your funds in one instance but not another?
"Every high school pass out knows this equation. To maximize profit, you can either maximize the profit per device sold or you can maximize the number of devices sold. Profit has the tendency to stay constant. If you reduce the profit per device, the number of devices sold will increase."

What? NO! You maximize profit by finding out where supply and demand meet to find the point where profit and units sold turn out the maximum profit.

And the rest of the article has little to do with maximizing profit and every thing to do with gaining market share.
Sal,

The only thing novel about Khan Academy is accessibility. Its the same old teacher-centered lectures we've endured for the past hundred years, with a somewhat more charismatic instructor.

Most of the criticism I've seen of your work isn't "pseudo-intellectual babble," its merely pointing out what I've stated above, and that it isn't in line with what research tells us about how students learn. Your challenge for your critics to produce their own videos misses the point entirely.

I happen to think your videos are fine overall, and while I find some specific science content oversimplified and focus too much on mechanics rather than conceptual understanding, it serves very well for student review. For learning new content, however, I happen to believe that there is a better way.

Please view the video below:

Effectiveness of Science Videos
http://www.youtube.com/watch?v=eVtCO84MDj8

While you're there, consider his videos a part of your final challenge.
http://www.youtube.com/user/1veritasium

I am very interested in your thoughts about his approach to instructional videos.
There are some cases where these events are triggered, open and close the Smart Cover is one of them.

You can read the following API documentation for more info:

http://developer.apple.com/library/ios/#documentation/UIKit/...

My guess is they do the switch of question when applicationWillResignActive is being called. Simple as that.
Bad article. Gets a lot of stuff wrong or omits key facts, such as Apple's almost immediate huge price reduction on the iPhone. Or the subsidy model used on ATT. Without taking these things into effect, you can't do a reasonable analysis of what Apple did.
Thanks for the link, I hadn't known about those phones. It's a resistive touchscreen instead of a capacitative multitouch screen, but it's certainly fair to count it as a predecessor.
You make it sound like a conspiracy.
I get the impression that this is just a blogger writing an article about a language he likes and some he likes less.
I'm sure the Go team and Go enthusiasts would like to see Go be more widely known and used, but I get the impression that the Go team doesn't actually want it to be the "next big thing". If they did, they'd have made more popular design choices.
Disabling Facebook's Facial Recognition for Privacy
I transferred to an under funded state school from a well funded community college. The CC has computer labs that CS classes were taught in. The state school taught CS with chalk boards. I learned much more with chalk boards.
Bruce Scheiner said this many many times: it is the transactions that needs to be authenticated, not the client. This is what credit card companies do (sometimes overzealously). The transactions mentioned in the article sound very unusual, a trivial authentication mechanism would have caught them.

The judge is right, since he rules by looking at current laws, but the current laws themselves seem out of date.
> Current Mac Mini's solder the cable to the drive

ifixit.com seems to indicate otherwise: http://www.ifixit.com/Guide/Repair/Installing-Mac-mini-Model...
As I understand it, the European Smarts are much lighter and thus more fuel efficient; the US government (perhaps in a move of trade protectionism) required a lot of extra body reinforcement for Smart cars before they would allow their import to the US. At least the last time I checked, their fuel economy was on par with other four-seaters (hybrids, 3-cyls) I looked at.
How long have you been teaching programming, and how did you get into it? I'm very interesting in teaching beginner programming for a while now, as I'm completely unsatisfied with my "top 10 in CS" university's shallow approach. If you could drop me an email (in my profile), that'd be great.
But then you have to define the loop internal logic elsewhere because C++ has no lambda (yet, at least in most places where it's used in production).
All evidence points to an influx of suckers, not a closed community.
But then you have to define the loop internal logic elsewhere because C++ has no lambda (yet, at least in most places where it's used in production). God help you if you have a lot of variables that need to be compared or referenced inside the loop.
He kind of did that with his mention of Mountain View.
It is indeed a "history overview". Kahn repeatedly mentions how he'll make more detailed videos later.
>>>I don't think that makes his actions any less humble though.

Nor do I. Just wondering.
Isn't this kind of a straw man? Salman Khan is not a fascist dictator who prevents you from getting information anywhere else. He's just a teacher. I don't see how learning from him is more of a problem than learning from other teacher.
It's a matter of perspective and what is said and isn't said. Consider these 2 accounts of the same event:

- The US Forces battle terrorist extremists to bring peace to the country, remove lethal weapons and pave the way for the first western-style democratic election.

versus

- After decades of war, in which two world powers, Russia and America, secretly sent arms and weapons to the country to fight their proxy wars, and then America bringing their own troops in, the natives now use those same weapons to try and defeat the invader and preserve their traditions.
Kino.to Raided In Massive Police Operation, Admins Arrested
It covers up to 250k if I recall. Is the implication here that you can have "up to" 550k in a bank account?
In the site's current form, I think the fact that a viewer of any age can watch a history video is actually a bit problematic.

For mathematics, all of the material is broken down into the very basic components, so it's easy for a video to have a set of prerequisites which any viewer should understand before watching (with a set of links to the videos corresponding to those prerequisites).

For a subject like history, the material can't easily be broken down. As the article points out, a statement like "as you can imagine, Japan did not produce a lot of its own oil" may be common sense to someone of high-school age, but an 8-year old may have no understanding of how oil is produced or where it comes for and the statement may make no sense. This doesn't render KA as dangerous or useless, just points out a problem which needs to be solved and which they are certainly aware of :).
Along those same lines, if a hacker took advantage of a vulnerability in the banks application, but only after gaining access to that vulnerability through credentials stolen from a client/customer, is the client responsible for weak credentials protection in that instance as well?

This is a slippery slope.
To me the single best resource for really building a mental model of git (and not just learning how to do a handful of 'cookbook' actions) is the git user manual: http://www.kernel.org/pub/software/scm/git/docs/user-manual....

Once I read that, I never had to look at any git intro tutorials again.
I'm already using it, 2001:470:20::2 or 74.82.42.42, but I didn't know they did reverse DNS as well.

I'll think about it. For now afraid.org just works.
I don't think bxr is saying that hugh3 is wrong. He's saying that he is being condescending (although I'm not so sure this is typical). I guess hugh3 could have just said "Nonsensical accusation" and his point that it was "pretty much a perfect example of a bad HN comment" might have been even stronger without speculation on shareme's level of understanding of derivative trading.
Duo Push: The next generation of two-factor authentication
Which is exactly what a materialistic view of the universe would dismiss as illusory.

Huh? Apply your same logic, "following these rules can result in any one of a large combination of outcomes." Bingo, you have thinking, feeling creatures. Nothing has been dismissed.
Sure, but is that not what this story is doing anyway? Holding the frugality of a rich man as a great virtue and writing an article is indeed judging him on one trait
That's possible. It's also possible that it does not rotate in the Milky Way at all. Earth would still be passing through it faster for the part of the year where our rotation around the sun has us going at a faster velocity around the center of the galaxy.

If it helps, think of your car's tire as you drive down the road at speed v. The part of the tire that touches the road at any instant has no speed (relative to the road), and the opposite point on the tire is travelling at 2*v (still relative to the road).
Hi Sal,

Given some of the criticism of your YouTube videos, I agree with your simple advice: Let them make something better and let the viewers decide.

The Khan Academy does not have some kind of monopoly on providing education content to help people of any age learn. Rather, the Khan Academy was simply the first to resonate with so many people around the world in such a short period of time. You clearly have many people's attention.

The Internet is an open medium to provide content, and to those who think they can do better, they know that they don't need much to get something up, as has been made very clear with Sal and his use of a simple drawing tablet, screen recorder, and headset. So make it happen -- show how your content is vastly superior to Sal's that both educates and makes it fun. Oh yeah, and free.

Sal, as you have noted a few times now, you are actively looking for other people that posses your talents to educate people. Have you thought about creating an open competition on your site and let the public vote on what they think is good content and fits the "Khan Academy mold"? Just a thought :-).
I don't think this is what you are looking for, but when you said poetry it came to mind
http://webcache.googleusercontent.com/search?q=cache:M1SJtT_...

(the original seems to be down)
Ex-Google Engineer Says the Company's Software Infrastructure is Obsolete
your points are valid.

I want to clarify that this dump is for learning purposes due the lack of "open data".

If people can play with real data from real people and get "real" inputs, that can encourage curious programmers to join the data-mining party. I know there are other dumps out there, np with that. This is just another dump, it may help people come with ideas without the need of coding a a multi-threaded scrapper.
So? Linode is in a better position to prevent misuse of my VPS than I am. They can cut it off from the network and they have staff which would notice if it suddenly sent 40,000 emails. Does that make them liable if my server gets rooted because of software I install (say Apache 1.3.1 or something) and whoever rooted it installed a mail server on it to send spam from?
A good historian will use the fact that he can't divorce himself from his own viewpoint as a reminder to be extremely cautious. A bad one will use it as an excuse to indulge his particular biases.

And a very bad one will pretend that he is being value-neutral and objective, and show no attentiveness to the interpretative nature of his work.
Watches are one of the items that spending money on isn't that bad of a splurge. Nice Rolexes hold value pretty well, and antique ones are collector items.

Not that I would ever buy a Rolex. Suunto's [1] are more my speed and are like having a mini-weather computer on your wrist (altimeter, barometer, compass). They are not $15 casio cheap, but way cheaper than anything like a Tag or Rolex and actually useful for my mountain climbing :)

[1] www.suunto.com
http://www.amazon.com/Suunto-Observer-Wrist-Top-Altimeter-Ba...
Sal, I appreciate your response. You make videos that try to be helpful. Many have found them very helpful. Up until now, nobody forces people to use them so I am often puzzled by the opposition you face from some. I am a chemistry professor in a rural Western US state - I know these kinds of instructional supplements can be very helpful to many students in my state - where legislative decisions limit a school district's ability to hire and retain qualified science teachers. I've been making videos about chemistry for many years but I didn't put them on Youtube - you did, and that's what makes your efforts valuable. Congratulations!

I have many more than 20 videos made - but I find my students use them more frequently when they are created to coach them through specific problems. They use them as often as they visit me in office hours. I've also just completed a series of 35 videos for a textbook publisher that walk first year college students through very difficult chemistry problems that use multiple concepts. These are not short single topic videos so we will see how useful they are in practice. They are meant to help a chemistry student learn to think like a chemist and the jury is out as to whether that can be taught by video.

I would be happy to talk about helping with your effort in science, specifically in chemistry. I am sure there is much to be done and surprisingly, not that many working to create more content using this medium. A mix that can also provide real-time Q & A is particularly interesting. I can be reached at fletcher at uidaho dot edu. Here is an example of the kind of vid that students use to help them solve a specific problem: http://www.youtube.com/watch?v=49k88Alfh88
In 1997, the lack of widely available high speed Internet was probably the biggest thing preventing this.
Practical Guide to Controlled Experiments on the Web: Listen to Your Customers
Maybe this helps:
http://arstechnica.com/apple/news/2011/06/what-you-need-to-k...

So it does scan, not require an upload unless it's not matched. Very interesting. It's not a service I'll be using, though.
Maybe you should read the title before clicking the link then?
And the convenience of online banking just lost all of its convenience. I'd rather just drive to the bank to conduct all transfers... seems safer.
Just ask him. If your skills compliment his and vice versa, then it's merely a matter of being able to compromise and understand each other.

After all, that is one of the reasons why pg likes friend founders: comfortable enough that they trust each other, honest enough that they'll point out flaws, and understanding enough that they'll accept the criticism.
And the worlds most dangerous hot dog stand. (torn down in 2006 IIRC)
Ah, thank you. I was searching through US companies for some reason - silly considering Gandi is a French company...

It seems that they have trademarked the tag officially as well[1][2].

[1]:http://www.tmview.europa.eu/tmview/details.html?id=008458168...

[2]:http://www.tmview.europa.eu/tmview/details.html?id=3667252&#...
Because one happens because the bank didn't secure their vault enough and one happens because the client didn't secure their computers enough.
New elements added to chemistry's periodic table
Spooky to hear Jobs speak so well of Rubenstein ("I trust him with my life"), knowing that Palm will hire him away for WebOS a decade later.
Premise: Traditional economics is pricing things low when entering a market, and pricing things high in a captured market (a monopoly).

Argument: Apple does the opposite of this. e.g. Apple entered a new market with the iPhone, but priced high. Apple had a tablet monopoly with the iPad, but priced low.

Conclusion: Worship Steve Jobs as he upsets traditional economics.

Fallacy #1: The iPhone was not an entrance to a new market; PDAs, mp3 players, handheld internet, and cell phones had already began to converge into a single market, and Apple had already forayed in those markets. The iPhone was simply a premium and unique device in that market, and thus able to fetch a high price.

Fallacy #2: The iPad was not a monopoly. It was an entrance to a new market - particularly one that did not exist yet...tablets.
I'm not trying to force you to believe anything. I'm merely observing that meaning exists in minds. If you believe that all minds will cease to exist, you must believe that all meaning will cease to exist.

I'm just asking for consistency.
Something from someone. a twitpic randomizer.
Airbnb creates real estate liquidity, new concept in commercial real estate
The headline is accurate. They seek action, they are not acting yet.

You're right that there is nothing new here, however.