skysight-inc/HackerNews huggingface dataset:
Your answer sounds like the solution to the mutable data question, not the pure/impure question.
For the question of memory usage on a lazy language vs a strict language, there is no asymptotic difference. The strict program can be viewed as a series of commands, each modifying the state of the program. For example, consider the following code:
int double(int x){
int ans=x;
ans=ans2;
return ans;
}
The above code can be viewed as:
Input state | execute(ans=x) | execute(ans=2x) | execute(return ans)
where execute takes as an input both the state of the program, and a command. (As an aside, this is the approach of piping a state variable across functions is how Haskell handles IO)

The above code can also be viewed as:
Input | A(x) | B(x) | C(x)

Evaluating this lazily will get you:
C . B . A . Input

What the program wants to return is the final output of C. When the program tries to return C, it will go down the chain of expressions it must evaluate until it reaches one that it can, in this case A(Input). Once A(Input) is calculated, we no longer need Input it memory, so it can be garbage collected. At this point, the program is:
C . B . Input'
Because Input' is the same size in memory as Input, we are, at this point, using no more memory than the strict version of the program. We can continue this argument until we eventually arrive at the final state, in which we have our answer.

With this, we can see that any strictly evaluated program can be done lazily with no more than twice the memory requirements (there is a point where we need both Input, and Input'), which from an asymptotic standpoint is equvilent.
Use passive nagios alerts. Or something like Cronologger.
Because the right lessons are self-evident and if you can't see that then there isn't much point in bashing my head against a wall trying to explain that, no, the reason you failed in Afghanistan and Iraq and, for that matter, Vietnam, isn't because of some failed public relations campaign.

(But I'll give it a go regardless.)

It's because, regardless of intent, war is hell, and eventually everyone will know someone who has had an arm blown off as collateral damage, or they'll read about the fifth wedding ceremony this year to have been accidentally vaporized by a cluster bomb. Everyone will either have been directly affected by, or at least know someone directly affected by, the ongoing civil war instigated and perpetuated by a foreign power. I mean, can you imagine if the Chinese tried to do nation building the US? No matter how bad it were to get in the States, people would resent that and they would be right to.

And it doesn't help that the US has a well-deserved reputation, in the Middle East and elsewhere, of propping up failed states run by ruthless, brutal dictators. You have no moral high ground to claim. None.

But honestly, this is just a basic, common sense thing. Your military should engage the armed forces of other countries when those armed forces pose some existential threat to you. In no other case is it appropriate. If you don't already know this it's because you are willfully ignorant to it. So, please just fuck off.
clicky: http://wallofaweso.me
Python 3.2 lets you write Python on the iPhone
Sadly, Amazon doesn't support Canadians yet.

I have a personal policy: I will never build a business that relies on a PayPal product. I've read too many horror stories about frozen accounts where people were punished for being successful to risk my client's money with them.
History is littered with societies in general.
This is not a good analogy. Many programmers have training in computability theory and understand some very discrete principles. Just because they may become entrenched in UX or some other facet of coding, does not mean they're just "hacking" stuff together in a pleasing way.

"A Software Programmer is like a cook who has an undergraduate degree in Organic Chemistry." May be a more apt analogy.
Envy is toxic.

There's nothing wrong with ambition or aiming to make lots of money, but when these are driven by envy you maximise angst on missing a goal and you will always have someone to still envy no matter how successful (unless you're literally one in a billion successful).
I would be curious to see what effect this has on PHD programs
So, if I didn't care about the name on my resume, already having as I do a pretty decent career, why can't I just skip law school and do the online law course?
What needs to be addressed to make HTML5 enterprise-ready?
>There is no algorithm that can determine the truth of any proposition in arithmetic (for example).

Currently, yes. But I don't see that this is necessarily true. Why do you think it is?
cool, what versions of ghc? (or is it haskell platform only?)
(I am doing some 7.6.* heavy work, and thats ignoring occasionally playing with just patching GHC itself! :) )
Why would that be? Surely you're not suggesting that people who make poor medical choices deserve to die...
Why Game-Makers Shouldn't Bank on HTML5
I've been on the receiving end of it so believe me when I say it royally sucks
why isn't the pricing listed on the site? That seems a bit odd! :-)
Text in OpenGL on iOS
Palm scanners get thumbs up in schools, hospitals
I agree that Mathematics is usually built "on the shoulder of giants", but the gist of that whole Wired article is that this dude has created a whole new branch of maths, on his own, to prove this theorem. Sounds brilliant, but risky.
My instinct is to go back and correct my typos, but it seems like this punishes you for doing that?

If so, I think that not correcting my typos is a habit I would prefer to avoid.
It sounds like that would be solved by some sort of 24 hr personal delivery service ... preferably local to you and on some form of cheap transport like a bike. Its been attempted at least once before ... http://en.wikipedia.org/wiki/Kozmo.com
> He should be entitled to include absolutely anything he chooses as something that may have the slimmest possible hope of being in some way beneficial.

Ignoring the not-slim possibilities of serious harm from side-effects? (Not to mention interactions with other treatments, making them less effective or more harmful.)
Yeah. Surely not...
I have an infiniti with a backup cam. When it rains, the thing is sometimes useless. I'd like a windshield wiper thing or equivalent solution for that camera.
Microsoft confirms long life for Windows Phone 7.x
It'd be really interesting to run the numbers on this... would Wolfram Alpha have that data?
Notice how many people on this page expressed the exact same thing, though. Even if you change it to 3, people still won't know how to change it or even that it can be changed.

Now "3" just seems like an arbitrary decision. Why 3? Why not 2 or 4 or 5?

Instead, I might take the fact that everyone here on HN mentioned it* as a signal that they're (1) anxious to change it and (2) can't find a way to relieve that anxiety.

(2) is happening because the attention is (rightly) focused on the typing bit of the screen.

What if there were a slider from 1 to, say, 5 right below the the typing area? It'd be easy to ignore but users would notice it as soon as they felt anxious about changing the number of words.

If you made it tie in dynamically with the value at the bottom of the page, it might also be an opportunity to "teach" your user to look at the bottom of the page for more advanced configuration options. Better yet: have a smaller version of the slider down there and connect the two. Then there would be literal movement to draw the users' attention to the bottom section of the page.

Other design nit: the top bar representing time and the bottom bar representing position shouldn't both be skinny orange lines. I realize the bottom bar is slightly thicker, but it still implies a connection where there isn't one.

A small non-orange triangle pointing up would be a good icon for the bottom bar, indicating "you are HERE." When a user makes an error, the triangle could advance and in addition to the letter turning red, it cloud leave a tiny red "X" on the same line as the triangle beneath the mistyped letter.

*: With the huge caveat that people on HN are lousy whiners and typically can't see the forest for the trees. Depending on how you feel about my feedback, I'm happy to be included in that bunch this time around. :)
POMELO:Fast, scalable, distributed game server framework for node.js
But a mathematical proof is like a card-pyramid, building steps upon steps to reach a very specific peak. Any bugs anywhere in the structure could be serious indeed, unless they can be patched.
Scott Murray has published some great tutorials on D3.js (http://alignedleft.com/tutorials/d3/), and has an O'Reilly book on "Interactive Data Visualization for the Web" that's about it as well: http://shop.oreilly.com/product/0636920026938.do
1. Agreed

2. Meh, doesn't matter

3. Yes

4. Agree, I signed up and am intrigued, but still not totally clear on what it does.

5 and 6. Sure.

7. How do I add it to a wordpress blog? (just wondering, not a criticism).
The implementation and developer SDK uses a SLAM-based algorithm: http://en.wikipedia.org/wiki/Simultaneous_localization_and_m...

Here's a link to the SDK: http://developer.pointcloud.io/sdk/
I don't know the scope of Colin's cron problems, but filtering out mail in this case seems like a less preferable solution than simplifying the way cron does email to begin with. Filtering e-mail in this case is like putting your fingers in your ears when you walk by a loud stereo you've left on instead of just turning it off. As a developer, cron doesn't give me a lot of control over where e-mail is sent unless I jump through hoops to give myself that control. Ignoring the complexity of the reports, and the fact that filters like that don't easily scale across different recipients, the fact is that cron's e-mail capability is extremely coarse-grained. For every run of every job, the entire output is e-mailed out to the address specified in the crontab. This gets very unwieldy.

I've had to write cron table entries with a blank mail recipient in the crontab itself, and handle the specific mailing cases in the job script. This sucks. I'm not sure I think the solution is something that reads cron-mail and automatically generates filters, but I would very much like it if cron supported e-mail lists based on return codes or something else like that.
It is silly, yes. You see it when you log in. We're in the process of reworking the front page, and part of that will be getting the pricing onto it.
You've got a useful product, it's just that I have no clue that it is one. I'd suggest you throw away the video for a list of features, or something that'll highlight how quick and easy it is to use your product. Check out good landing pages of other startups. (They're a dime a dozen, think Shopify, Stripe etc.) Six Revisions has a good article on the basics you'll need for a landing page. (http://sixrevisions.com/content-strategy/designing-landing-p...) If you're not much of a designer yourself, you could consider paying a little bit over at 99Designs and getting a landing page out.
Some companies do computerized made-to-measure clothes. These reportedly work pretty well, but the lead time and effort required by the consumer is very large. The ones I know about only do business wear.
Reporting the same. Chrome and Safari are fine, FF lags significantly.
Microsoft building clean powered data center at waste water plant
It's nice that you know more about the semantics of C# than the maintainers of the .NET framework.
That's fair.

I guess my counter argument would be that it's a problem when meta on a different thread, or when there are more than 1 or 2 meta threads a week. Otherwise they are easy to avoid and infrequent enough that meta threads don't crowd out more legitimate ones.
RT needs to be seen in the context of reasoning about programs.

Suppose we want to define a constant function f such that f x = 0. Under strict semantics in a total language, you're fine. Under strict semantics in a partial language f undefined blows up. So constant functions, the simplest kind possible, don't even exist! OMGWTFBBQ!

You can still reason about programs, but at a very low-level, i.e. on operational semantics. RT is high-level reasoning. Math, which does have constant functions, seems pretty successful, so we'd like a slice of that cake, please.
Haskell platform at the moment, but we can add things relatively easily, especially if they have debs available (in ubuntu 12.04 or elsewhere).
Well, I think there is no hard limit for this. I think that diagrams, tables and such are just tools for the author to better convey his message. If the author is skilled enough to put all the content into some form other than paragraphs then it's all good. I would, personally, rather have read the whole sentences and paragraphs, but that's just me and I can appreciate well written (created?) infographic, too.

As I hinted above the problem is that the more novel the form is, the more skill it requires from author to be understood when using this form. Paragraphs are boring, old school and thus easy to produce in such a way that the readers will know what to do with them. On the other hand creating a diagram or concept/mind map that will be immediately readable is much harder.
How to prepare for technical interviews
The Kickstarter model doesn't work for consultant. It's about wants vs. needs: the kickstarter model is for wants, consultants are for needs.

If I pledged to a kickstarter project to buy yet another iphone case and the project failed to launch, I'll just have to make do without yet another iphone case. No big deal.

If I need to hire a consultant to build an e-commerce website or to set up a payroll system, I need that to happen no matter what. I can't wait 21 days only to find out the consultant never gets enough pledges to "launch." Then what? Pledge to another consultant, wait another 21 days and rinse and repeat?
Well looking at the quality of written English, it would be quite possible...
I have a poor sense of how I spend all my time, and that leads to sub-optimal decision making. I've been building a web app to easily track my time usage and display it as a historical calendar, and adding features to get the most insight out of reflecting on it (running stats, notes, etc.) The most recent handy feature was an xmpp chat bot interface for lowering the friction on adding data.

The inspiration was the quote "Those who cannot remember the past are condemned to repeat it", which jives with the observation that how one spent their time last month is a better predictor of their future than how they wish they would spend this month. People have a lot of inertia, but tend not to notice.

I'd be especially interested in any tips about research on past-time perception.
I completely agree with you and would start working on these fixes if I wasn't lying in bed with my iPad. Being 16 in the eastern time zone with school tomorrow has it's disadvantages.
No, not ignoring them at all! Taking everything into account.

Yes, everything.

Did you not see the bit where he talked about having a whole lot of conventional doctors involved, and having practitioners from every discipline be made aware of the recommendations that each other were making?
I remember someone saying, "if you don't know where to start, search for '//TODO:' on Github." :)
Thank you for this - I agree that I need to make a better distinction between the first two tiers.
How Can Google Stop the Black Hats?
You must be pretty cheap if you can develop a job board of your own for less than they are charging. For a business plan, it's $99/mo.

To develop a quality job board, you're looking at at least 20-40 hours of work. What is your hourly rate?

Now factor in the cost of hosting and managing the job board.

Yep, the pricing seems about right to me.
It seems like this is missing the ability to specify queries that you might want to perform on top of the model. It would be very helpful if the intent is to learn.

For example in this pattern here:
http://dbpatterns.com/documents/507c943589cbad13b228926a/

It would be nice if the author could specify what the query for "Does user with ID X have permission with ID Y"
What Hasn’t Changed: The Internet Keeps Getting Bigger
You're getting downvoted for willfully conflating two different terms in a game of semantics in order to muddy the waters in support of your argument, you arrogant little shit.
I didn't realise you were such a cherry-picker.

You took my first comment out of context, again, but oh well.

He should be entitled to include absolutely anything he chooses as something that may have the slimmest possible hope of being in some way beneficial.

I am not in anyway disagreeing with this, and indeed supported it in my above post.

The whole open-source process is the filter.
- No, there is no filter. There is just a blog site. On which anyone may post their views and experiences, which may be observations of n=1, or n=10,000. And there is a big difference. And no way of knowing.

Maybe the process will change, and so my first post serves to illustrate a weakness in the current design

if it works, will find a far better outcome than a dogmatic approach represented by such a sentiment as "anyone with a half rational brain should be alarmed by this statement".

So why don't you just come out and say that you are an apologist for CAM, instead of trying to pick off other points of my argument?

You are not interested in my criticism of his process, or my suggestions or comparisons about how the art of medicine is not necessarily a process that is open to engagement from everyone (and there are some very good points further down critiquing my justification of this)

You say earlier I'm not here to debate the efficacy of TCM or homeopathy, that's a waste of everyone's time.
But that is what you are effectively doing, as it is becoming obvious you are not concerned with my actual commentary or engaging in meaningful debate, but rather my dismissal of the use of alternative medicine. And it is a valid technique of open discussion to dismiss that which is invalid

- another comparison - an open source project is only open to people who know or will do the hard work to learn the language it is written in - The same applies to the imperfectly developed concept of open source medicine: You have to speak the language to be able to contribute. If you dont speak the language (read: pseudoscience) it is not that you can't contribute, but your contributions are noise.
Steve Wozniak on whether Microsoft is more innovative than Apple
And ANKOS has been criticised for not being rigorous enough.

As a counter example: Time Cube guy came up with Time Cube in the way I describe.
Nothing outside of the video suggest what Mousetrack is or does.

You should have a few bullet points highlighting what Mousetrack does and why it's useful.

You should remove the registration process from the video, because everyone knows what registering an account is and how to do it. It currently takes up almost 50% of the video itself.

It's really hard to see what's going on in the video because I can't full-screen the video, and the text is quite small when highlighting and copying the script.
Given how few places are open at, say, 1am, Yelp tends to work fine. Just use the 'open now' filter
He's not talking about word processor files, but about data from other stuff. How do people open XRays or MRI scans or etc etc?

(And even word processors have problems when trying to open some obsolete format.)
Let me clarify the earlier post.

Writers use words like 'natural' and 'background' to not only correctly identify those sources of radiation, but also because the language is reassuring to readers; naturally occurring background radiation sounds normal and doesn't cause panic. If writers were to describe man-made sources of radiation as being the result of fallout from weapons testing or dispersal of waste material from a nuclear accident, readers would panic regardless of the details.

I would prefer reporting to distinguish between sources. Firstly, as people may mistakenly believe that all background radiation is natural without realizing that man-made sources are contributing to overall levels. Secondly, as radioactive isotopes affect the human body differently when ingested or inhaled, people should be aware of the different health risks from man-made sources. For example, Sr-90 is linked to bone cancer and leukemia, Cesium-137 concentrates in muscle tissue, while I-131 collects in the thyroid.

I wish there was more accurate reporting, with limits and parameters as you mention, but it seems problematic as the science is complicated, physicists are not physicians, journalists are neither, and vested interests are at play.

http://www.forbes.com/sites/jeffmcmahon/2012/05/29/should-we...
Ask HN: Calculating Destination-based Sales Tax Rates by Zip Code
Have any of you guys experienced a similar headache as what I'm dealing with today...?

I'm trying to put together a database such that I can calculate sales/use tax rates for customer orders, based on the destination zip code of the ship-to recipient.

I have found services online that maintain these tax rates for each state/county/city and provide the data through a web service look-up tool (for a fee per lookup). However what I really want is just an excel sheet of every zipcode (or zipcode range) and the associated sales tax for that region. I'll then code my own tool to look up the associated tax rate. I don't mind if the data is not 100% accurate or if it's a bit outdated.

Anyone have a database like this and willing to help out a fellow startup?
Very nice. I wanted to make some niche job boards but you just killed my dreams. Not a problem though, I have a big list of other ideas people will probably implement before me.

Best of luck on this one! I think this is definitely a lucrative idea.
Ask HN: Is the Apple D-U-N-S number requirement illegal in your country?
Tying is illegal in most countries. Yet it seems to be - by a certain level - acceptable even when there are explicit laws against it.

I've been developing an iPad application for a while. I tried to sell my last app but that didn't work. Last month I decided to finish it and release as a free app. I have two companies so I decided to create another iOS dev account to release this and future projects. The other company already had an account.

But now Apple is asking for a D-U-N-S number for all companies. I've been trying to get this number for two weeks now without any luck. D&B is asking me 249 USD to get me this number. In my country, tying is illegal can lead to jail time.

I'm lucky to have a attorney as a wife and she showed me that this practice is illegal in Brazil and can, without a doubt, lead to serious consequences - including jail.

So, is Apple D-U-N-S number requirement illegal in your country? This policy seems to be new, last year only enterprise accounts needed it.
Hair Salon Newport Beach CA Hair Stylist
How did you decide to charge a flat monthly rate rather than take a cut of job ad sales?
It was a pleasure reading through your code.
Patent Office Director on Software Patents
Who Made That Emoticon?
The text moves forward a little faster than you are able to type; this is the principle of the OK Plateau -- you need to be forced to "try" to type faster. However, it is certainly uncomfortable! But, no pain, no gain.
'Bigfoot' DNA Sequenced In Upcoming Genetics Study
Who would have thought this title was link bait?
I love how all these replies are proving OP's points about HNers being extremely detail-oriented.
I worked for several years for a company just outside Silicon Valley where people said they stayed because they liked their colleagues so much, but otherwise would have left. Two anecdotes don't make data :-)
Hacking For The Sake Of It: ‘Eboz’ Downed Google,
To further clarify, only need data on USA zip codes. Thanks in advance.
Me too. QMake can generate from visual studio, I think it also integrates with XCode.
Thanks! I put this together over the span of a day or two, so there's a few dirty spots, but pretty happy with implementation so far.