skysight-inc/HackerNews huggingface dataset:
Const correctness, part of the C++ FAQ
Nope: Protext.

http://www.tigerteam.co.uk/protext/
Haskell has some notoriety in the financial industry. Obviously the language isn't used as extensively as, say C++ in commercial applications, but to go to such extremes as saying "nobody" uses it is plain wrong.
The AST in Eclipse IDE
My company (ThoughtLeadr) is using Haskell to analyze big data (social networks) to great effect. Although, I will admit finding great Haskell programmers in the wild is rather challenging.

Network effect with programming languages is a difficult nut to crack. That's the reason most new languages build on the syntax and features of existing "successful" languages.

The toolchain aspect has been less of an issue for us since we're using it for pure data analysis rather than shoehorning it into building webapps etc.
Also, collapsing comment trees would be great so as to avoid having to scroll past dozens of comments in a long-winded discussion of something only tangentially-related to the submission.
Wow. I'd hate to be him. :)
An Introduction to the Standard Template Library (STL)
GoBox - a Go implementation of BusyBox
>> As for curating interesting comments to the top, this happens now and seems to work quite well.

The comments still form an N-ary tree. Useful top-level comments also take not-so-useful comments on them to the top. With the points visible, I could tell just by looking. Given the lack of time, I now find myself reading just the top-level (not top-on-the-page) comments.
The value expected from investors is longterm as well. Many startups take money from investors as a mechanism to get them on their board, provide mentorship and make connections. If the investor doesn't follow through on the mentorship, should he receive less equity?
"It's not a scam since there is the same information to everyone."

does this really make something not a scam? As far as i've seen, most people do have access to the information needed to prove something a scam. It doesns't mean they will both find it, and believe it.
No, the exchange rate ($2.6/BTC) has still not fallen under the cost of mining for the average miner who selects the right GPUs ($1.8/BTC).

The current difficulty is 1468e3. It takes 2^32 * 1468e3 Bitcoin hashes to solve a block of 50 BTC. The majority of people mine with HD 5000 or 6000 series. If you pick efficient ones, you can count on 2 Mhash per Joule. The average worldwide domestic electricity price is $.10/kWh. So the average cost of production is:

2^32 * 1468e3 / 50 (BTC per block) / 2e6 (Mhash/Joule) / 3.6e6 (Joule/kWh) * .10 ($/kWh) = $1.8/BTC
George R.R. Martin writes on WordStar.

http://www.goodreads.com/author_blog_posts/1220865-talking-a...
100 Year Old Fauja Singh Becomes Oldest 42km Marathon Runner
Ask PG: Could you, would you, add some RAM?
Earlier this year, you wrote: "Giving links longer expirations is trivially easy." Is that still true? "More" links have been breaking inside of ten minutes at peak; it'd be great to see that fixed.

Longer term, do you have any kind of reporting on how many expired link requests you get? It'd be a good way to catch problems. C'mon, HN is a critical infrastructure point now! The addicts among us need some five-nines love.
Here is a company doing it on a massive scale: http://www.climate.com/.

Basically they do it and then use their models to sell more accurately priced insurance.
A good cross-platform syncing password manager is the partial solution. I recommend https://agilebits.com/onepassword .

(I'm not affiliated, just a user. It works a charm.)

Only downside is that the keychain file is not encrypted as a whole, only the passwords, so if someone steals your database file they've a list of all your usernames and sites that you have an account on (but not the passwords thereto). It's the same for the OSX keychain, e.g.:

strings ~/Library/Keychains/login.keychain | egrep -i 'com|net|org'
Yahoo’s Levinsohn On Executive Chaos: ‘You Sort Of Get Used To It’
The REPL is not identical to the compiler. This means that you can't trust the REPL. Coming from Python and Lisp, that is a pain.

I can't agree more. This is by far my biggest issue with Haskell. It would be so much easier to learn the language if you didn't have to learn the REPL separately from the language proper.
Http://www.addthis.com/bookmark.php?v=250&pubid=ginger4u
just a nit, but you only need a mobile phone for Google two factor authentication, not a smart phone - can get code by SMS or voice message -

http://www.google.com/support/a/bin/answer.py?answer=175197

less of a nit - if your browser automatically confirms your identity, whatever token it's based on, the privacy implications may not be completely warm and fuzzy
The Psychologist’s view of UX design
In the end the author seems to be using Go for a lot more development. Are people here finding it to be a good solution? It seems like it might be the language that could bridge the iOS and Android systems for app development.
The seller still has to trade the bitcoins for something (either buy something with them, or trade them for $).

Unless they only buy virtual goods, there's a trail to follow.
I've only written two notable haskell programs.

One (git-annex) is a large-ish, serious work, and I have been very pleased with how haskell has made it better, even though there was a learning curve (took me two weeks to write the first prototype, which I could have probably dashed off in perl in two days), and even though I have occasionally been blocked by the type system or something and had to do more work. One concrete thing I've noticed is that this is the only program where I have listed every single bug I fixed in the changelog -- because there have been so few, it's really a notable change to fix one!

My other haskell program was essentially a one-off peice of code, which converted ten years of usenet posts from the 80's into "modern" usenet posts. At that point I was over the learning curve, so I wrote it as fast, or possibly faster than I would have written the equivilant in perl, banging out a 800 lines of code in 12 hours or so. And the code is clean, pure, and even has reusable modules, which would never have happened with any other language I've used. And it all worked the first time. Converting the entire known corpus of A news articles to B news, and from there to C news, with success on the first try is an amazing feeling.

I'm going to be sticking with haskell. I do worry that some of my haskell code may need fiddling to keep working for 5 or 10 years though.
Population will almost certainly run into hard limits before mid-century. The author points out resource limits in passing, but it's worse than he admits.

We run our civilization off of stored solar energy. That's what oil, natural gas and coal are. In a century we've used millions of years worth of stored solar energy. That's the energy that's powered the green revolution (along with non-renewable aquifers).

Nuclear and our small sources of renewable are the only exceptions. The rest of our power comes from stored energy. And nuclear/renewables are generally built using stored fossil energy.

Effectively, we're burning through capital, beyond a sustainable rate. If anyone has thought of a way out, please let me know.

Meanwhile, if you've been looking for something meaningful to build that will be in demand, this is it.
Thats a misinterpretation of what jgarzik said.

Basically, if the cops grab your box with your Bitcoin crypto keys on it, they know all of your transactions. This is why you need to encrypt your keys if you're doing something illegal.

tl;dr: Nothing ties you to your address but evidence not inside of the chain.
Here comes the cold, as moisturize the skin in a natural way?...see on
Are you serious?

As I said elsewhere in this thread, some countries in Europe require you to use a fob that generates another key for your second authorization factor. But you still have to type in extra numbers. How would you get around that? How does the service know that you're in possession of the key unless you give it some kind of input about the key that's unique to the key and to the current time?

Personally, I much prefer having it on my smartphone, and this seems like a good approach considering smartphone adoption rate. But Google's 2-factor will sms your dumb phone, too.
how is calling bitcoin deflationary FUD?
Just a heads up a LAMP stack on Ubuntu can be done in under an hour and half. I recently setup a LAMP stack and never setup a LAMP stack before in less than two hours.

I have some sys admin and nix experience. If I were you, unless you knew you wanted to learn how to setup and scale apps (sys admin), I'd go with webfaction
Ray Tomlinson: The first network email
Being able to forget about closing tags in HAML is such a godsend for me, just saying.
Limited-on-purpose technologies can be a great teaching aid.

But they aren't so great when it comes time to get work done. You shouldn't be fighting the language. The language should enable you to do what you need, cleanly, without getting in your way.
RVM's overriding of cd isn't portable to other shells. I can't use it in my favourite shell (fish).

Yeah, there's http://beginrescueend.com/integration/fish/, but I tried that and it started printing errors every time I used cd due to some bug (this was over a year ago, there's a good chance it's been fixed, but it just left me really shy about overriding cd).
Http://www.thivest.com/?page=1
Nice job Allan.
I would really like to know the answer to this as well. Where's the line between a "project" and a "startup"?
Many of those features are completely harmless if used correctly. By itself, exec() doesn't cause your machine to be compromised. It is a valuable function that every scripting language should have. (Would you like Python to disable os.exec* by default just to make websites more secure?) Besides, incompetent developers will always find a way to make vulnerable apps using even the most benign features. The only way to make a runtime secure against fools is to allow nothing.

There is also the logistical problem that if the default runtime can't run popular apps such as WordPress, people will simply switch to a broken runtime instead of cleaning up WordPress. This is a particularly big problem in shared hosts who need to make their service compatible with everything or risk losing business. It's been difficult enough to get them to adopt PHP 5.3.

On the other hand, safe_mode, register_globals, magic quotes, etc. can and should be disabled by default. Good news: The PHP team is finally getting around to deprecating them. Also, I use dotdeb's FPM packages on my servers, and dotdeb's default configuration tends to be pretty good.
A new version of the Monty Hall problem, now with more Bayesian estimation.
"The only concrete methodology seems to be a deep suspicion against The Man"

It's more like taking the best of different ideas and different cultures throughout history, and discarding the flawed parts. E.g. it favors the market economies, but is against an economy comprised entirely of one giant unregulated market. It makes use of the scientific method, but isn't based on scientism. It supports mainstream medical research, but doesn't presuppose that double blind clinical trials of molecular entities conducted using the medical model are the only way of demonstrating efficacy, etc.
I agree completely. It does seem really obvious now. But anyone who's had a pre-Google/Facebook online life remembers that you had different handles for diff sites. My aol name was not the same as my underground name, wasn't the same as my regular email name. At first what seemed like a good idea, "mirroring" yourself online as Poole puts it became the bane of people who were diverse in their online dealings. But I look at Google and Facebook as the "establishment internet", there for the masses. And for most people that is fine, they rarely stray from these walled off gardens. But there are still options to be as diverse or "prisimatic" as you please if you look for them.
I think there probably is some security in changing or omitting file extensions in your URIs. It seems that an awful lot of exploited sites are attacked opportunistically - you find an exploit, find a suitable search term, and google up some victims. If you can move yourself out of matching those general results, you gain the (small) benefit of not being hit by all those automated scan/'sploit scripts.

Yes, it's security through obscurity, and is absolutely not something you should rely on, but it can reduce the number of people giving your wobbly-looking front door a kick.

Of course, if everyone starts doing this, the scanners will switch to more robust methods of testing for your language and server types and versions.
With a bit of discipline, you can use ERB and still maintain separation of concerns. I think everyone knows that the controllers should do most of the work getting stuff out of the models and into a useful form, and the ERB templates should just drop that stuff into the right spots in the HTML, but too often it's just way too convenient to do something substantial (like hit the db, sort a collection, etc.) inside the template.

I guess the idea behind Mustache and other similar minimal templating engines is to force the discipline that everyone knows they should have. Personally, I think the claim that designers should be able to write templates with zero programming knowledge is a pipe dream; Mustache still has loops and conditionals (how those don't count as "logic" is beyond me) and you'll almost always have to use them.
>> Hiding scores to reduce arguments seems like a very crude and inelegant way of solving the problem.

Instead of having just the sum of all the votes (points := up - down), it may help to keep both up and down values as they would encompass information about both usefulness of a comment as well as how controversial it is.
ShawnJG posted this, I liked it. It's dead for some reason...

ShawnJG 1 minute ago | link [dead]

I agree completely. It does seem really obvious now. But anyone who's had a pre-Google/Facebook online life remembers that you had different handles for diff sites. My aol name was not the same as my underground name, wasn't the same as my regular email name. At first what seemed like a good idea, "mirroring" yourself online as Poole puts it became the bane of people who were diverse in their online dealings. But I look at Google and Facebook as the "establishment internet", there for the masses. And for most people that is fine, they rarely stray from these walled off gardens. But there are still options to be as diverse or "prisimatic" as you please if you look for them.
-----
You don't even need "sophisticated techniques", you can follow the transactions in http://blockexplorer.com/

ALL transactions, including the receiver and sender addresses are public. They have to be, since the global bitcoin network has to verify and add them to the blockchain.

A full copy of a currency's block chain contains every transaction ever executed in the currency. With this information, one can find out how much value belonged to each address at any point in history.

https://en.bitcoin.it/wiki/Block_chain
Making New Connections: How the Brain Can Develop Into Adulthood
Marco also has a tweet referencing Dan Cederholm being associated with the icon (@simplebits)

https://twitter.com/#!/marcoarment/status/125991945523822592

Edit: Dan's post here: http://simplebits.com/notebook/2011/10/17/instapaper4/
> it could be expected that the earliest shared source code and tutorials would likely contain bugs.

Unfortunately, a lot of recent PHP tutorials published in seemingly up-to-date websites also contain WTF code. Case in point: this tutorial [1] showed up on reddit a couple of days ago.

[1] http://www.anil2u.info/2011/06/object-oriented-programming-i...

Nowadays, I view any PHP code outside of Stack Overflow and Github with the utmost suspicion.
U.S. Debated Cyberwarfare in Attack Plan on Libya
> An SF author posits scientifically plausibe scenarios and shows his/her work.

You probably missed all the "soft science fiction" movement after the sixties... ( http://en.wikipedia.org/wiki/Soft_science_fiction ).

What you describe was 30-50s style "hard science fiction" --think Asimov, Clark, etc
Er, they obviously didn't want his name associated with the post, though I agree it's a good one. Maybe replace it with "An HN user posted this, ..."? Just as a kindness to them?
good article on how to fix insecure passwords -

http://www.slate.com/articles/technology/technology/2009/07/...

take a phrase - ask not what you can do for your country -> Anwycd4yc

for each site mix in some letters from the domain, ie 2nd two letters of amazon -> maAnwycd4yc

bingo
- easy to remember
- strong
- unique for each site

password safe like keypass is also good. occasionally you get services with silly password rules where your generator function doesn't return a valid password.

still important to have 2 factor on that one email account that has your banks etc., otherwise one encounter with one of these bad boys and it's all over -

http://www.google.com/search?q=usb+keylogger&tbm=isch
This problem with the repl is actually going to disappear in the next ghc release (7.4.*). In particular, as of that ghc release you'll be able to interactively define types and functions (both!) in the repl.
I've always found it interesting that modern day republicans have issues with a "large" government but have no problem with an intrusive one.
As someone who used to post a lot on forums, I agree that being able to have multiple pseudonyms is great. On the other hand, I also appreciate the value of enforcing real names in online discussions.

If you've ever read the comments on news articles on Facebook (MSNBC/Breaking News/etc.), it's amazing the hateful, racist, bigoted shit people will post under their REAL NAMES. I can only imagine how bad it would be if people could choose to post anonymously.
I've been doing a whole lot of scientific Python lately, and every time I let my program run for like an hour only to crash on an array of the wrong dimensions, or pass in a scalar where an array is expected or vice versa, I swear and wish I was using a strongly typed language like Haskell. If only it had the same tools as SciPy I'd be all over doing my scientific work in Haskell. (Not to mention it would have faster run times.)

(There are a few array libraries, but I'm pretty sure nothing as complete as NumPy+SciPy+matplotlib exists for Haskell..)
I think a startup itself is a project if it is only temporary, but startup can itself contain smaller projects.
The seller can easily buy virtual goods, like other e-currencies, and hide his trail that way.
Congrats on launching, guys!
The founding of Sierra On-line
I had an idea some time back about the possibility of isolating Electrocytes[1] into a human biocompatible form, or creating some human alternative that operates on the same principle.

I have no idea how plausible the idea is though, and is probably at least 2 or 3 major biological breakthroughs away.

Their major benefit, if my understanding is correct, is that you can scale them quite extensively, in a similar fashion to building muscle tissues, to gain more power. This would be invaluable for prosthetic limbs or high-power internal devices like an artificial heart.

[1] The specialised cells used by electric eels to generate charge for their shocking ability: https://secure.wikimedia.org/wikipedia/en/wiki/Electric_orga...
Hm. I have three responses to this:

1. It seems similar or at least parallel to something I wrote about needing new metaphors for social networking: http://blog.byjoemoon.com/post/7072771434/a-new-metaphor-for...

2. We need our social networking software to give us better representations of social context, and good representations of that context through UI.

3. Maybe it's the case that the different services will evolve into different contexts, with a different service for every context? I.e. Twitter for shouting pithy aphorisms into the public void, G+ for conversing about nerdy stuff, HN for conversing about even nerdier stuff, LinkedIn for marketers to market to each other about marketing jobs, and FB for farming?
One of the most annoying things things in science fiction is this plot line: the earth is running out of food, so several hundred thousand people get on a big ark ship to the nearest star. They then feed themselves in a few cubic kilometres simply using nuclear energy to power giant greenhouses.

Why couldn't they have done that on earth? Using nuclear power plants to desalinate water and power vertical greenhouses, back of the envelope calculations show the maximum population of the earth at somewhere around 1 TRILLION people.

Sure, that would make food more expensive, but given how dramatically the cost of food has dropped over time, we could deal with it.

For example, the price of a bushel of wheat has been within an order of magnitude of 1 UK pound for the last 1000 years. The price of everything else has increased over time, but wheat hasn't.
In any scam, the scammer promises profits which (s)he knows are a lie. No such thing happens here.

A lottery isn't a scam, even though only a few actually get money out of it. It's just gambling, and so it Bitcoin.
Numpy isn't about fast arrays
Help is on the way. Support for accepting all top-level declarations in GHCi has been recently added to GHC HEAD:
http://www.reddit.com/r/haskell/comments/kmxf2/ghci_now_supp...
When we were raising our angel round we asked our lawyers about this.

In the US, the general legal advice is that unless it's friends and family, it is not a good idea to raise money for equity from people who are not Accredited Investors. (http://en.wikipedia.org/wiki/Accredited_investor -- in short, millionaires).

IANAL, but the reason they gave is that non-Accredited Investors have more protections from the SEC and they can sue you if they decide that you didn't spend their money wisely.

There are also some complications that arise when you have too many investors on your cap table. I've heard of people getting around this by creating an LLP that invests in your company with set terms, rather than directly investing in your company. But I can't say for sure if this is good advice.
It is 2011, learn to BCC
> What bad performance?

Did you miss the video in the article? - The one where the iPhone scrolls as smooth as butter, and the other phone scrolls slow enough to make me wonder - is it frozen?

FWIW this has been my experience with Android as well. Obviously not every web page is like this, but even if 5% of the pages out there do this - it's a serious usability problem.

I just don't understand how the scrolling performance on android is still so inferior to that on iOS, especially when comparing devices where the droid has significantly higher hardware specs
House moving
We help our customers get moving quote from local, long distance and international moving companies. we'll help you find movers that best suits your budget and overall needs.
Yep, it's just slightly hidden on the "create repo" page now.
Only if they say they aren't worthless. Which in this case they don't.
You may want to visit Mr. Poole's first website, 4chan, which requires anonymous posting on some areas but allows a limited identity in others (through tripcodes). The effect of anonymous posting on content quality is immediately apparent.
It is my understanding that Pyramid Scheme was an explicit, stated design feature of Bitcoin. Because the only value of the coins are in the network effects, there would otherwise be very little motivation for early adoption and the idea would have died on the vine. By giving a huge advantage to early movers, the whole system was kick-started.

I expect that the creator already considers the system a success. The goal was not to create an investment vehicle. It was to allow people all over the world to exchange value without corporate or government interference. $30/coin or $3/coin doesn't matter. Either way, it's working.
Have you seen all the libraries up on Hackage? Haskell probably has way more real-world stuff than you think.