skysight-inc/HackerNews huggingface dataset:
Ah, ok; that didn't seem related to this specific discussion of yield (yield is valuable to have as an expression even in a multi-statement function), but I can see how it is reminiscent.

It should be noted, though, that when you use the lambda keyword, the result is a function, and has the same properties and behaviors as a function (including that it can contain yield and be a generator).

The lambda syntax is simply a way to declare a function as an expression. You can't have a multi-statement block embedded in an expression due to fundamental limitations of normative whitespace.

There really, though, is only one kind of "callable": "function". There are two syntaxes for declaring it, however: "def", which takes a block of statements, and "lambda", which takes an expression.

This is (to me) drastically different than the behavior difference that I believe is what you are referring to in Ruby, where Proc and lambda have different semantics for embedded usages of the "return" keyword.

(That said, I want to be clear, to both you and any random audience: I personally agree with Ruby's decision to have these two forms of callable, per real-world conversations I've had with wycats.)

(afterword) Someone else might find this interesting: I was going to also make the point that both lambda and def result in the same class (function), but it turns out that Proc.new and lambda do as well (Proc).
+1 for Hanson's book in general (which I think I might have initially read on your recommendation anyway!). I don't do a huge amount of C programming these days, but it was a huge eye-opener.
Even many startuppers, who often work insane hours on the assumption that their options will turn to gold when their company is acquired or goes public, seem to reserve special pity for lifestyle entrepreneurs who haven’t won Sand Hill Road money and aren’t perpetually “killing it” or “crushing it” in the way Silicon Valley culture demands.

Pity for people who make a good living doing what they love? I don't know who the author thinks he is speaking for, but I highly doubt it's "many" people in the startup community. Replace pity with admiration and then you have an accurate statement.
Actually large generators normally do use electromagnets today. They need an external source of power when starting, but drain off a very small part of the generated power to keep running. As jacques wrote, that isn't done with small generators because the added complexity usually isn't worth it.
With the help of a few buddies, I released my first Xbox 360 game, piniq (http://marketplace.xbox.com/en-US/Product/piniq/66acd000-77f...). That's the most ambitious thing I've done.

Less ambitiously, I made a Text Call of Duty. (http://viewthesource.org/g/cod.html)
I'm using eclipse and don't see an option for installing it on the Solarized site. Did you just set up your own color scheme that matches it?
Apple buys Israel's Anobit for $500 million
Thanks for the correction. I just have a minor wrinkle to add to your opinion of mathematics. Recreational mathematics itself could be seen as an avenue to further fields of low-hanging fruit.
What is the "special green paper" that shows the magnetic field they are using?
Maybe you're using the wrong channels. How about reaching out to biz devs at all the various Expedia-type sites to see if they are interested in doing a little up-selling during check out as an affiliate or something? This would give you targeted users who already have their wallets opened which is perfect for an impulse purchase. I think partnerships will go along way if executed properly.
SOPA markup postponed until "early next year"
I appreciate this list, but I do wish the author would have linked to the software websites instead of to the app store. On the iPad, these app store links are useless.

(As a side note, why can't these links be a little more intelligent? If they know I'm using an iPad, why not redirect to a better fallback?)
... that's not always the case. I don't know if there's enough out there yet to establish a canon, but we try to keep most reusable business logic in the models, and leave views to UI concerns. If you want to browse around:

https://github.com/documentcloud/documentcloud/tree/master/p...
We were using a landing page on App.net with default settings, so users on iOS devices were dumped straight to the app store. Users on other devices (including PCs) were taken to our landing page for a presell.

We didn't have the infrastructure to support per-ad conversion/download tracking, hopefully we will for our next big spend.
Ordinary packaging boxes classification
Well for one, that $135 billion number is totally bogus. Every pirated unit is not a lost sale. Not even close. I know a while ago someone did the math on one of their reported numbers and it ended up like 200 DVD's per customer per year - on average - which obviously is completely ridiculous.

In the end what is happening is disruption. I think these senators need to be educated more about disruption and how it ended up "killing" many old jobs in the past, too, but also created other jobs in other places.
Why Not a Bytecode VM?
Which may be acceptable if we read science to equate to biochemisty.

But the author said "Science is failing us" not "Biochemistry".

And I still disagree, there is still tons of new amazing and effective stuff being churned out. If you want to draw a line in the sand and try not taking and new medicines invented after today and see how you do fine, but I'm going to keep up because I still think there is a lot that can be done and we've barely started
Nice work Cole. Postcard on the run has something like this that they call "Gopher" http://www.postcardontherun.com/postal-gopher

But I like the open-ended use of SendSpree. Though I wish I could just type in an email, instead of having to auth with one of cloudsponge's gmail/etc integrations. This reminds me to code up a simple mailer/form for Picplum users to fetch addresses. Though oddly enough it has rarely been requested from our users.
I recently interviewed for a position with this sort of technical interview. I felt it worked very well. The interviewer was able to cover a wide range of topics in varying depth, and could see what I could easily recall and what I struggled with.

With the right set of questions, and some hints when the candidate struggles, you can very effectively gauge a candidate's limits on a subject, and see how they try to puzzle things out when they don't know an answer but know enough to take a good guess.

The key distinguishing factor of this method, IMO, is a candidate cannot memorize enough answers to bluff their way through a good questions list. If a candidate really is an N out of 10 with technology $FOO like they claim, they should have no problem answering most/all of your 50+ N/10-level questions for $FOO (my technical interview consisted of ~2 hours of this sort of interrogation for a straightforward junior web dev position. Interview length, in this interviewing style, is important for ensuring you've exhausted a candidate's book knowledge).
I think your business model might be wrong. As Iaks points out below, the $5 price point is not far from that of a used travel book.

Perhaps offer the content free, then work with top restaurants and retailers on the 'tours' you recommend and get them to offer coupons / deals or advertising, of which you can get a cut. People touring a city will get hungry, and if you can point them to a great place, they'll thank you.
Did I just see CPA and App Store mentioned in the same context?? :)
The incentives are research companies offering money for successful researchers. Since having failed attempts makes a researcher appear less successful to businesses, they hide it.

Not sure how you would 'fix' those research companies.
Started my consulting company and booked ~400k of business from formation through May 2012

Around June I will start looking for my first revenue generating employee.
Interesting. The CTR on the Deck Ads is impressive, especially considering the fact that the traffic is so highly targeted demographics-wise.

I'll bet you get a lot fewer fraudulent clicks and impressions (or as Google would say "Invalid Clicks") than you would using Google mobile or regular Google Display Network ads. The publishers of the sites you're advertising on aren't really incented to pump the numbers when they're all on flat rate. Either they have the influence or they don't.
How did you deal with the migrations problem? I usually can't bisect Rails code because there's no way to migrate from here to there anymore, let alone do so automatically..
Yea I think you are right. I was probably thinking of takedown notices (which are actually more like the censorship grecy was asking about)
Actually most things in science aren't getting more complex, in fact they're getting less complex.

If you're on the bleeding edge of particle physics then sure, things are getting more complex. But most discoveries to be made in science are relatively mundane everyday things, and just a matter of paying attention in a structured manner.

E.g. most forms of life on the planet haven't been studied in any detail for the simple reason that nobody's gotten around to it yet, but the methods and tools to do so are much easier than they were 50 or 25 years ago.

Anyone can contribute to science, and it's now easier than ever before, and some of those contributions might unearth something we didn't expect.
Thanks for the recommendation. I've been using solarized, but I like the slightly higher contrast that Jellybeans provides. Just updated my configs and looked through a several different file types (.sh, .rb, etc) and I'll be using Jellybeans from now on. Thanks again!
I don't think so. If I remember the explanation, superconductors "block" magnetism, rather like having another magnet with the same pole opposed. In that case, the magnet would probably just fall as though the tube was made of plastic or other non-conductor. (Just speculation, it has been several years since I read about superconductivity).
hahahaha love the text COD!
And is this the table? http://pics.ww.com/v/jacques/renewables/windmill/dscf0220.jp...
Thanks! I think you're right and a great idea. We've discussed a redesign for a while now. We couldn't justify the cost when we were bootstrapping. Now that some cash will begin to roll in again I think it would be worth it.
I don't think this product entirely competes with travel books.

I think the value is that it makes the decisions for you. You already have your itinerary set in logical/geographic order.

If I'm running through a city for 2 days, I know I can't squeeze in everything. I can either waste time deciding what to do or I can buy this and see something I know will be awesome.

Not to say that there isn't room for other revenue streams or that other revenue streams may be better, but I don't think direct sales should be discounted before a proper test.
Take heart: Without AdWords, Google itself was an idea that was amazing but a failing startup. You need a better revenue model than competing with cheap guidebooks.

Here's one idea: Give it away but include coupons for each stop on the itinerary. It's Groupon for travelers. Consider offering an app so people can easily carry it with them and it will always be up-to-date with the latest destinations and deals.
Carnegie Mellon is quite a stronghold of this. They don't teach much coding -- they hand you the books, give you projects and grade the results. If you produce workable code, mostly you win :-)

It's telling that CMU is considered such a great tech school. Even the best don't know how to teach programming (yet?).
Mozilla's placement of Google as the default search engine in Firefox makes a huge difference in Google's continued position as the default search engine people turn to. Google at this point doesn't provide profoundly better search than anyone else; several other search engines exist which have results more or less as good as Google's, or possibly even epsilon better. Google has three things going for their search engine: the inertia of people using what they've gotten used to as long as it remains "good enough", the pile of other services Google offers that integrate very well with each other, and Google's position as the default search engine in most browsers.
Finished my honours degree, earning first class and a high distinction on my project ("An improved 3-party protocol for tracking user visits to participating websites").

I know academic attainment is kinda uncool on HN, but I am very proud of it. I hope to turn it into money in 2012.
People did ask these things though. If you search pub med there are hundreds of papers on HDL, LDL, and their interactions with other molecules. The bet Pfizer made may not even have been a bad bet, just an unlucky one. And now we know a little bit more about HDL and it's effect on cholesterol.

Human biology is an extremely complex, chaotic system. Just because we don't know everything about it yet, that doesn't mean we will never understand it, or that we are not making progress.

You have a good point about finding ways to look at multiple causes and effects at the same time. There is some very cool work using machine learning techniques like clustering and SVMs on transcriptomic/proteomic data to try to understand relationships between genes. I would be very surprised if they don't have people doing this at Pfizer, but maybe having a few more could have helped them in this case.
Most of the K&R isms were already gone before C89, ANSI just standardized those. I learned C from a pre-ANSI book and it definitely wasn't that K&Rish
Fugazi builds archive with 800 live shows, $5 each or pay-what-you-want
UK Prom Dresses | Bridesmaid Dresses | Formal, Evening & Party Dresses
No, it's still be going slow. The very short story is "Lenz's Law" (IIRC), but basically this of it like this:

top
|
|N
|S
|

As the south pole falls down, it induces currents in the part of the pipe below it which tend to form a south pole to inhibit the movement (a north pole is also formed, above the south pole which also adds to the effect)

As the north pole falls down, it also induces currents, in the part of the pipe above, which tends to form a south pole above it and a north pole below it, and both of those effects act to retard the acceleration of the magnet.

Perhaps easiest to visualize as:

s s
N
n | n
n | n
S
s s

where the lowercase letters are the poles in the piping formed from the eddy currents as the magnet falls.
We're running a small test with essentially this approach. We're giving away the itinerary for free and then trying to upsell/cross-sell other related services -- such as a San Francisco CityPass, tours and p2p experiences. If you'd like to take a look you can check it out here (you'll have to enter your email address to get the free itinerary) -- http://bit.ly/enWxWz

My concern with partnering with restaurants and retailers is that I feel like it's a slippery slope to disingenuous recommendations. Plus, why would a restaurant offer a coupon to a traveler (at least a coupon of value)? There's no chance of repeat business. Just some thoughts, would love to get more feedback, if you have any.
Wow, that article was a little annoying.

Correct me if I'm wrong, but I get the impression that he thinks our current approach to science is wrong due to our tendency to attribute cause and effect to things where we have no conclusive proof of cause and effect?

Well, if he has a better suggestion on how to approach research, I'm all ears!

First off, I don't think ANYONE who was involved with the development of torcetrapib thought it was a "slam dunk". The success rate of drugs that have reached phase III is only slightly north of 50%.

Second, there is no way you could possibly figure out all the effects a particular drug has on the human body. You'd be doing research for the next 100 years and you still wouldn't come close. So what we do is we come up with a hypothesis (high HDL is good), we gather evidence in the most efficient manner we can (other drugs that raise HDL help prolong life in humans and animals), then we move forward with our BEST GUESS. That's how science works, you create a hypothesis, then test it.

Are our hypotheses wrong sometimes? Of course. Do we learn something from the failures? Yes. Trying a being successful 10% of the time is far better than not trying at all and being successful 0% of the time.

Merck's CETP inhibitor is in phase III right now and there is a chance that it will fail too. And I don't think any scientists feels that high HDL is the cause of reduced cardiac risks. A more accurate description would be to say "High HDL is associated with reduced cardiac risks, this drug increases HDL levels, so it stands a chance of reducing cardiac risks".

I think the author does a bad job of describing how scientists approach their work. If anything a scientist would be the first to call out a claim that something _causes_ something else. That's how their trained!
Depending on how Rovio take this I would love to see some form of collab (bet it partnered or purchased)

I can see a PvP multiplayer feature, one player in Angry Birds, one player in Misunderstood Pigs, phone vs phone multiplayer goodness.
Ah yes, looking at the source code makes it a bit obscure, because the inheritance patterns are described in the wrappers. But for generators, you can do, for example osc.append(buffer, channelCount);, because generators are by nature multi-channel, but for effects you have to create a multi-channel instance, like flt = audioLib.LP12Filter.createBufferBased(channelCount, sampleRate, cutoff); and then you can use the append function similarily to generators.

This is a design choice to make implementing new effects simple, and the framework providing this extra functionality for you.
Yes...you absolutely nailed the value we believe we're providing. Thanks :-). In fact, we've thought about re-marketing ourselves as "last minute travel guides" or something to that affect.
There Will Be Carrots That Aren't Worth It
I was helping do data analysis at a spine surgery clinic in the 90s. I remember when that healthy-person MRI disc study came out. It was interesting, but I don't think it slowed us down one bit. :-)
Womens North Face New Arrival Blue Jackets
Poll: What compiler do you use for iOS development?
LLVM-GCC
LLVM Clang
I would have to disagree that medical research lacks experimental rigor.

If you were to say that medical research _accepts_ a lack of experimental rigor (simply because there is no other option), I would agree with you.
For me, http://www.mozilla.org/en-US/firefox/new/ shows a download for Firefox 9.0 for Linux i686 English (US).
Which came out of another game programming competition, "Assemblee 2" : http://forums.tigsource.com/index.php?board=38.0
Cool. I'm a huge Pentadactyl fan, and that point (launchability) makes a lot of sense. Thanks.
I completely agree and we would love to partner with someone like this. Talking with others who have tried going down this road, I've heard it's difficult to impossible to land a partnership like that, so we've been hesitant to put a lot of effort into trying. Perhaps it's time to give partnerships a shot.
Ep 16 - Flower Boy Ramyun Shop END - Full Episode - YouTube
Maybe I overdramatized. My point in the opening of the piece was that in the dominant Silicon Valley mythology, building a "lifestyle" company is seen as a less macho and ambitious path than building a VC-backed company that has a shot at making its founders and investors mega-rich.
I have been trying to learn to code for about 3 years. Recently - I succeeded (in getting started!).

I had been on courses, bought books, read tutorials etc. but at the end of each forced exercise I still could not build a decent rails app. Then, after coming back from the US 6 months ago, I decided I wanted a GroupMe clone for the UK. So I built one.

http://bit.ly/groupmeclone

The SMS is disabled on that version as I have no intention of subsidising peoples' group-messages but the fact is it WORKS and finally learnt to code.

The controller is fat, the model is thin, there are no tests, there are lots of lengthy if-else statements, there are lots of bugs but I do not care because I finally learnt to code.

I have built little scripts for managing my kindle (https://gist.github.com/1404068) and scripts to get my Instragram pics (https://gist.github.com/1399696) and I love it.

I feel like I can finally call myself a rank amateur nuby Hacker. It feels good.
....ImpromptuItinerary.com? It's available. I don't know if I like it though. Too many vowel sounds, not enough hard consonants. Though the name is a pretty good description of the product.
> "Funding" makes it sound like Google is doing this out of charity, or like Mozilla is a pre-profit startup that needs outside investment. Neither is true.

I didn't even imply that, so don't suggest that I did. It's dishonest, and rude.

> Google isn't "funding" Mozilla; it's a customer of Mozilla. Their search traffic payments aren't charity or venture capital; they are revenue.

Yes. I know this. My concern is this customer accounts for, what, 80% of the total revenue? Are you telling me that if this deal feel through, Mozilla wouldn't be impacted? Because that is my concern. From my perspective, despite having contributed numerous times whenever I could to the Mozilla Foundation, it concerns me what would happen to Mozilla is Google didn't contribute.

Hell, my most recent donation was helped along precisely because of this fear.

> And there are other search engines who will also continue to pay for valuable traffic.

Bing. I have no doubt, but I don't know that. It's all behind closed doors for the most part.

You make it sound like Mozilla doesn't need my donations, and doesn't need the Google deal. Could it do everything it does without donations or Google as a customer? Could it? If so, great!

I feel like I'm being vilified for being concerned.
It's interesting to note the bumpy road that lead to the final standardization of C as ANSI X3.159-1989, as documented on the following post:

http://groups.google.com/group/comp.lang.c/msg/991b9116ffa83...

Dennis Ritchie spend part of that time fighting against the introduction of several new features he felt were not the proper future of the language. Unfortunately, he had little to no involvement on the C99 standardization process. The final outcome was a butchered language. I'm sticking to C89/C90 on all my C development, no matter what.

"I was satisfied with the 1989/1990 ANSI/ISO standard. The new C99 standard is much bulkier, and though the committee has signaled that much of their time was spent in resisting feature-suggestions, there are still plenty of accepted ones to digest. I certainly don't desire additional ones, and the most obvious reaction is that I wish they had resisted more firmly." --dmr
I am under the impression that the sorts of "paying attention" usually involves $milion equipment and highly qualified and experienced research staff.

What sort of study could a lone wanabe do that would actually be publishable?
Agreed. I was confused when he started the article by claiming that in "Silicon Valley, there is no more pejorative term than “lifestyle business.”"

This is absolutely not a characteristic of the startup community.
I would let SOPA define it, but since their definitions are long and stuck in a PDF, I'll paraphrase from the source: http://judiciary.house.gov/hearings/pdf/HR%203261%20Managers...

A site that either has a domain name registered outside
of the judicial district of the US, OR whose IP address
is located outside of the judicial district of the US.

So I think both of your examples could be within reach of SOPA. But then I think both youtube and facebook are out of reach of SOPA (instead they fall under existing law).
Awesome idea. What did you use for the physics engine?