skysight-inc/HackerNews huggingface dataset:
That's definitely a change I'd bring up with the project first. I agree that having compiled code in there is bad, but it's typically not something a first time pull requester touches. Same goes for project files (Gemfiles, package.json, licenses, changelogs, whatever).
We recently finished approximately one metric fuckton of unit tests for the next release of some of our libraries, and I tend to agree very strongly that a library must be well-tested.

A problem that we ran into, though, is exactly what to test. The biggest basic distinction we ran into was testing to verify interface integrity (i.e., does this do what it says in the header documentation, pursuant to declared constraints and so on) as opposed to implementation integrity (does my ringbuffer properly move around elements, does my array resize move my elements, etc.).

The former is very useful to ensure that the library is good for users, the latter of course is much better for testing that changes to the containers don't do something stupid.
const helps optimization in exactly one case: global data.

Adding const there requires the value to be a compile-time constant, and guarantees the optimizer can inline the value rather than reading from memory. Though it still can inline the value in many cases if it can prove the variable isn't modified.

Of course, this precludes conditional constructs such as the one proposed by excuse-me; that only works as a local var and the const is again irrelevant to the optimizer.
> “That’s so random.” is one of the more annoying clichés in recent circulation. In popular parlance the word “random” often means something between “unexpected” and “unusual.”

I think that's a good fit for using the word random. Consider building an n-gram language model that tries to predict the next word in a sequence of text given some small history. Better models make better predictions. The more that word sequences seem unusual, unpredictable, or random to the model, the worse the model is doing. Just like the "random" word is hard to predict given the history, the "random" partitioning of users into experiments should be hard to predict based on characteristics of the users.
Hey, while we're slaughtering sacred cows, lets kill mocking, endotesting, expectation based testing, and the whole nine yards. It's a horrible practice that causes you to write too many tests, too many assertions, and results in tests that stay green even if you delete entire files from your codebase.
Django book status
I've found sleepyti.me to work for me. After a while of paying attention to sleeping for a preset duration instead of waking up at a preset time it became kind of automatic, and nowadays I wake up before the alarm (often just a minute or a half before) but I still set it out of habit.
You can still purchase books on Apple's devices from Amazon's store. You just can't download an app for Apple's store and sell in-app purchases without paying a cut. I buy Kindle books all the time on my iPad. I just go to amazon.com, which is Amazon's main store.
Looks like a simple webapp could be useful for this, allowing one to filter by field of knowledge, location, etc etc.
مشاهدة مباراة ريال مدريد واتلتيكو مدريد بث مباشر
Yeah I guess you are right. I've used so many open sourced projects before I was really eager to contribute my own.
I think a 4:3 screen is much better than 16:9 for a tablet, especially if you're holding it in portrait mode, which is usually how I try and hold a tablet. It's like a piece of paper. 4:3 is simply a better form factor (see what I did there). To each their own.
Am I missing something? Nobody is forced to purchase an Apple device. Nobody is forced to earn all of their revenue through Apple's devices. Nobody is forced to use their iBooks app either. How is this a monopoly? If you don't like their conditions, don't start your business or purchase books on their platform.
Lua's coroutines have the same issues that you mention for node's callback (single threaded and non-preemptive)
Giving up ownership of code is hard. In fact, it's much harder than the decision to release the source code in the first place. The ability to accept a pull requests comes requires a willingness to accept another programmer's style. This means syntax, but it also means what code blocks get factored into functions, what is a class versus a function, what is a closure versus a member variable, and any number of decisions from significant down to trite.

A major maintainer of a project is generally are aware of the weak spots in the project and has a mental picture of how he would resolve them. This picture likely differs from what the pull requestor pictured, and so the implementation differs from what the maintainer imagined it would look like.

All of these small differences make the code feel foreign to the maintainer, and gives a feeling of losing control over the code. Overcoming this mental barrier is essential to being able to effectively collaborate on Github, and it's a skill that needs to be developed.
That doesn't make any sense.

> Amazon's website is not Apple's store.

Indeed, and Apple gets no money from things you buy on Amazon.com.

> The analogy would be Walmart getting a % from songs bought on an iPod if the iPod itself was purchased from Walmart.

Only if you buy those songs through Walmart.
This is nice if you already know someone & have a rapport, but if that's the case, you can often skip it any way. Though distasteful to some hackers, small talk has a valuable function, and I wouldn't design a feature in a social application that would prevent it. Though in this case, you'll probably just get people switching from "what's the weather like, Bob?" to "How bout that weather, Bob."
Does anyone know why Microsoft didn't just use the standard _filter_, _map_, and _reduce_ function names?
Eating after waking up is a key for me. I have colleagues who have company breakfasts when I'm already thinking about lunch...I don't see how they can wait until 3 or 4 hours after waking up before they eat.
How Starwars made DrawSomething super successful...A Designer's theory
That's pretty cool.

My low-tech version is putting the alarm clock on the other side of the room :-)
I'm not sure of your point here. Your opening sentence appears to question antitrust laws? Yet your Friedman quote seems to support antitrust laws and just argue that the Valley really shouldn't get too spun up about MSFT because by the time a conclusion is reached by the processes set in place it will likely be moot. This was a pretty cut and dried case that moved rapidly (2 years) against a group of executives who were colluding to raise prices to thwart a competitor?
Absolutely agree. If the conditions set forth by Apple don't please you, stop being their customers or developing for their platform. Simple as that.
Those people also tend to get phished, or open email attachments with .exe extensions. If you buy a game from Best Buy and there is malware in it, someone will have some hell to pay. Lumping together "software I buy from people I've heard of" into the same category as "people get lots of malware" is just fear mongering.
Do these numbers include the iPad?

It seems silly to call the iPad a mobile browser. A website for a phone screen scaled up to the iPad usually looks ridiculous.
> You can just as easily ask what the asymptotic 'cost' of using a non-random access Turing machine is.

Precisely. For example, you can ask whether the best algorithm for some problem on a 1-tape Turing machine is asymptotically slower than the best algorithm on a 2-tape Turing machine.
A consumer could simply buy an alternative, but that is seldom as simple as it at first blush may seem. "Just use something other than Winodws" a million apologist would rant. That's why large companies get constant oversight."

Except that you know this is a strawman, since you regularly argue that the competition is strong:

http://news.ycombinator.com/item?id=3822163

http://news.ycombinator.com/item?id=3823863
I believe that was the episode where FopTop taught Glasses how to be a refined lady in order to impress e-m@le, but then in the end realized that e-m@le liked her for who she was, not who she thought he wanted her to be.

We all learned a little something that day...
Android is only dominent looking solely at phones (in the US). iOS is on more iPads, iPod Touches (and there are HUGE numbers of these), and iPhones than Android is on phones and tablets (in the US).
I maintain a few open source repos on github, including the rails jquery-ujs adapter and several other projects [1], and I've seen the exact responses and behaviors she describes, sometimes from people on my own teams. And it burns me up every time I see it. So much so that I wrote an article on the subject [2]. Quoting from my own article (yeah, I know):

> More importantly, to open-source authors: realize that the worst thing we can do is discourage people from submitting patches or starting and engaging in conversations about our projects.

I personally LOVE when people submit pull requests to my projects. I'm not always able to pull them in, particularly if they take the project in an undesirable direction. But I always try. Style doesn't match my "style guides"? I'll either ask you to fix the formatting, or I'll just pull your patch in and fix the formatting myself (it usually takes two seconds [3]). Documentation contains a couple inaccuracies or worded weirdly? I'll pull it in and change what needs to be changed. No tests? Ok, this one is a bit harder, but I'll either ask you to write a test, or I'll pull it in when I get time to write a corresponding test. Still, some code is better than none!

Seriously, it irritates me to no end when maintainers discourage people from contributing. The only thing that irritates me more is when people act entitled to my time to help them fix some implementation of this free software, but that's another story. People who submit pull requests of any kind almost never fall into that category.

Now, I do prefer people to open an issue before submitting a pull request, but that's only because I feel bad if they spend time coding something that is either going in the wrong direction or has already been fixed. But if you're willing to take that risk, by all means, pull away!

[1] http://os.alfajango.com

[2] http://www.alfajango.com/blog/communicating-with-engineers-a...

[3] In vim: `gg = G` There, formatting fixed.
http://meetings.io/features

[...]Just visit our front page and create a meeting room and your done. [...]

Minor typo -- "your" should be "you're"
You also can't link to your ebook store website from within the app. That's the issue.
I don't understand what you mean by "prevent you from unknowingly doing something that should have changed your behavior". If you do something without knowing it, how could it change your behavior? If it's a case where you should have changed your behavior, why would you prevent it?
TechStars Debuts New Cloud Accelerator’s Inaugural Batch
Here's one: Fogbeam Labs[1]. Our stack is JVM based, mostly being Groovy / Grails, and some plain old Java. There may be a place for some Scala and/or Clojure down the road, depending on how things shake out.

[1]: http://www.fogbeam.com
I think once a lawsuit counts the number of iPod Touches and iPads or the total in app purchasing revenue, or total purchasing revenu of the iOS vs Android platforms, they may still try.

It's unfortunately still very lopsided.
>(b) I use an O(log n) structure (such as a binary tree): since n is bounded by the size of physically addressable memory, this reduces to O(1). (See also rwmj's comment about memory access times. [1])

Uh, no. By definition, a O(log n) structure takes, on average, log n operations to get to the node you want to get to. That never reduces down to constant time, because any given access will take log n reads to get to the correct place.

Also, keep in mind that O(1) array lookup isn't really constant time. It's still variable, depending on where the information actually is stored(i.e. in the L2 cache, RAM, on HDD, etc.), the practical time can vary from double digit nanoseconds to several milliseconds. Cache misses can be hugely expensive.
Getting started with Ember Data and Rails
Solving a math puzzle with Eureqa
How Twitter accidentally fostered the universal presence
This is great—the write-ups are hilarious!

> When Roll grows up, he wants to be an astronaut or a game show cameraman.
I wrote about this the other day - I thought for sure it had to be a late april fools joke but once i started to get their emails I realized it was for serious. I don't get why they spend so much money on worthless content - just show the deals.

http://www.centernetworks.com/groupon-adds-kids-friendly-kid...
I don't know if "do not consume caffeine" is more important than "do not do cocaine", but otherwise I'd agree. That said, I personally care more about my Coke fix than I do about any impact to my sleep schedule.
Barack Obama | Remember what he said?
Interesting stuff. This is essentially a coding/compression problem. My advisor at UCLA helped pioneer the computer vision analoge for this. His work tackled encoding textures (or areas of little information) with markov random fields and areas of high information (edges, features) with graphs.

http://www.stat.ucla.edu/~sczhu/publication.html
Heartily second everything there. I stopped using an alarm clock for workdays many years ago. Waking up naturally is the best ending to sleep. The time is pretty stable, except roughly once a week, I'll remain asleep 30 to 60 minutes longer. If that happens, it was necessary, and waking up earlier to a blaring alarm would have left me zombied for the day. I do have a job where the arrival time is flexible; anytime up to about 10:30 is okay and my boss does the same. That is by design not luck, I wouldn't take a job where that was not true.

So yes, kill the alarm. (I will use it for an early flight or medical appointment, things that can't give way by an hour, but absolutely not for the daily commute.) It really does create stress.
AWS Documentation Now Available on the Kindle
yes but contrary advice says that a small snack is ok because hunger pangs disrupt your sleep.
That's not what the original post is arguing. If that was the crux of it, I'd agree with it. A good middle ground would probably be that Apple still gets a cut of in-app purchases but website links are allowed.
Is your stuff falling apart? Thank Walmart.
Definitley a joke. Did you see this gem?

Unscramble these mixed-up words:

cilhd

entcered

mraketing

I actually found that one quite funny. :)
One thing of value I have noticed with Google Plus is when you receive a gmail within gmail, Google now includes senders Google Plus photo & link to their public plus account.

This has saved me some time as I didn't have to go hunt and peck for information about who the sender is.

So plus 1 Google ... that alone has proved valuable and falls more align with being a search/identity company rather then a social network.
They disallow Amazon from linking to their ebook store from within the app.

> Only if you buy those songs through Walmart.

With Walmart disallowing songs to be bought from anywhere other than Walmart.

That's why the analogy (which has been repeated over and over) is rather silly. When you purchase something from a retailer you establish 2 relationships; one with the retailer and one with the product you purchased. In the App Store universe, Apple places itself in between the second relationship. Whether this is legal or not I will leave to those with relevant degrees.
There are supposedly a fair number of spores (and other small "critters" like microbes, viruses, etc.) that make it through our atmosphere and into space. I wonder how much, over the billions of years that life has existed, has made it into space. I'd think that it would be far more than survived on rocks from that meteor impact.
Parallel processing? To make a comparison, just because the siding on your house is badly in need of repair doesn't mean you stop doing the dishes for two weeks until you've replaced all your siding.
I don't see any data in the widgets, the javascript console tells me that the websocket closes and tries to reconnect every 10 seconds or so.
Browser is chromium 18, let me know if you need any more information.
Anti-competitive behavior doesn't become a violation of US law until it involves the abuse of a monopoly position, involves market collusion, or breaks some other law. While anti-competitive, Apple doesn't currently exercise a meaningful monopoly in mobile device operating systems: either one looks at handsets where they are actually not even the market leader or one looks at tablets which is hardly a developed market.

Apple's actions with regard to the Agency Model aren't prosecutable because of any Apple monopoly but because it involves market collusion. Now, if Google and Apple colluded to prevent eBooks from being sold on mobile OS marketplaces without a 30% cut, THAT would be prosecutable.
I decided to use a name that looked real, but isn't, and isn't mine. So far, I've yet to be caught by Google. The cost of this? Explaining to friends who don't know my opinion on anonymity on the internet.
Cool. Is an iOS version comming?
I cannot find where exactly the strawman is. Where did I say there was a lack of competition, or even that Apple was a monopoly? If you're going comment diving, come up with something better as your big hurrah.

Apple is a $600 billion company. They are getting away with behaviors that no one else could actually get away with because they're so successful. Companies that large are exactly why the FTC and DOJ oversight exists.
Ask HN: Clever Uses for Bayesian Classifiers?
What are some clever uses for Bayesian classifiers?

My new site, www.tweettester.com, lets you easily make your own Bayesian classifier in the form of a "Twitter test" (it classifies contents of Twitter accounts, but you can also input text).

My hope was that people could come up with fun tests to administer to their friends. For instance, one test is "Sex your Tweets", which attempts to guess your sex based on your recent Tweets- it's surprisingly accurate. Another test is "What politician are you most like?", trained on candidate's speeches.

What are some clever uses for this algorithm, beyond spam/not spam?
Doesn't make sense, because the big six publishers _wanted_ the agency model. They used Apple to force Amazon to use it too. What happened I think (correct me if I am wrong), is that till two years ago Amazon used its market power to pass on their low wholesale prices to the publishers: "We only will sell your eBook if we can get it for this price" In the agency model the publisher can set its own price.

Also notice, that Apple only uses the agency model for Apps and eBooks. Music songs are sold in the iTunes store for a constant price (99 cents).
.. e buona Pasqua
I've had this debate before :-)
http://twitter.theinfo.org/171745809686200320#id171799214685...

If we want to get really pedantic, I guess we could say that we're using one Turing machine (our computer) to emulate another equivalent model of computation (the lambda calculus), so the computer warms up because the Turing Machine is an inefficient emulator of the instantaneously-evaluating lambda calculus evaluator. But the lambda calculus evaluator doesn't change state.

...so, what we really need is to wait for someone to invent a lambda calculus evaluator. Then we wouldn't need to emulate them with these silly Turing machines, and we could get instant evaluations of our programs based solely on ϐ-reductions, with no side-effects (thermal side-effects included). That would put an end to this debate!

(Furthermore, who cares if P=NP if ϐ-reductions can be evaluated 'directly' instead of being emulated by these obsolete Turing machines? Even the hardest decidable problems would be solved instantaneously!)
Genetic algorithms for predicting email click rates
It's running 2.3 with the stock browser, no huge worries on it not working, I had a chance to look at stuff from a full-fledged computer and it worked decidedly better :).

That said, I'd like to discuss our particular scenario(s) and volume, is the contact@ducksboard.com the right email to go ahead and shoot a message to?
> subpixel rendering is truly the way to improve a display

Am I crazy or is that an outright falsehood? The entire point of subpixel rendering is to deal with pixels that are too large. If you make the pixels smaller, subpixel rendering becomes moot. Smaller pixels improve the display in every way that subpixel rendering does, and without the fuzziness or undesired coloring.
"my own experience suggests that, at least at the moment, ebooks are way too expensive"

Why would you think that? People that buy ebooks are generally more affluent (they have kindles and ipads) and we'd expect ebook price to follow the road of profit maximization.
The point is that the government has the ability with the cooperation of the telcos to track everything.

This telco is claiming that they have the technical means to prevent that - while in fact they have no technical difference (other than storing your email encrypted) than any other.

If all they are claiming is that they are good guys and wouldn't hand over your data if ordered then you have no more security than all the other telcos who also said that - either because they were lying or they were ordered to say so.

If your risk model is that the telco will cooperate with the US government then the solution is a telco who has no reason to do so.
I really like to put it this way: "Of the several professional mathematicians I have known, only one of them could calculate a 15% tip in her head."

Now, mind you, all of them know that, in order to get the right overall tip, every person can just calculate the tip on what they themselves ordered and pay that -- and it will magically sum to the right value. They might also know that if you had to tip self-consistently -- that is, if you also had to pay a 15% tip on your tip, and a 15% tip on your tip on your tip, and so on, that this process converges and is essentially the same as just paying an effective tip. (They might even be able to tell you that the effective tip is 15%/0.85, if they're still reasonably young.)

Those are the sorts of things they're good at. I know some who will talk your ears off about the convergence of an involution series in a noncommutative algebra and the problems of just finding a nice notation which makes the problem not look ugly, because the idea is really just so simple once you skip past the messy derivation to the intuitive result.

Computing the actual tip? Not so much. Heck, that effective tip? That's 3/17ths, if you really churn the mental gears! Who has time to divide 3 by 17?! That's what I have a calculator for. Except, well, I didn't bring a calculator because we never use them -- but that's what the computer in my office is for.
Or an iPad app that let's you connect to a meeting room and draw on a whiteboard with a stylus. :)
The problem is that industry executives got together to fix prices and raise them by 20 - 30%. I'm all for innovative people but struggle with the logic of "We're ok with crony capitalism because it drives innovation!" Surely free, transparent markets are better for innovation than manipulated ones?
However running stuff in it locks up the browser a little bit. I will definitely improve on that, but I'm glad it is at least useful.