skysight-inc/HackerNews huggingface dataset:
Here's an example of SQLite http://gaiustech.wordpress.com/2010/09/19/scope-in-database-...

And processing a logfile http://gaiustech.wordpress.com/2010/09/13/analyzing-logfiles...
Indeed. They may negotiate some privacy agreement in the sale (that is, fb and the feds), but that agreement will likely expire in due course, as it becomes a 'burden' to the business.
Racket is definitely multi-paradigm, it has a pretty nice line in OOP on the side. Pretty sure at least some OOP is required for any GUI stuff in Racket.
Rosetta code is sometimes reasonable for answering these questions:

http://rosettacode.org/wiki/CSV_data_manipulation#Haskell

(early Google search result for 'rosetta code csv')

edit: Looking at the python code, I would call the approach esoteric, but I guess that's just an opinion (I would use the csv module without giving any consideration to the quality of the structured file). So who knows how idiomatic the code is.
The argument seems confused.

'Few developers admit that they do only
random or partial testing and many will tell you that they do
complete testing for some assumed vision of complete. Such
visions include notions such as: "Every line of code has been
reached," which, from the perspective of theory of computation,
is pure nonsense in terms of knowing whether the code does
what it should.'

It is as if he had never heard of 'use cases', which in fact are not mentioned anywhere in the text - a pretty glaring omission. The portion of the code that is reached is irrelevant as long as you have covered all of the use cases of the system. Ideally code that is not run for any of the use cases should be removed but it does not prevent the software from being fit for purpose.
Commercial Drones Declared Legal; Release The Tacocopters
Yep. This can be very useful. You could even print out the values of variables at certain points. It become less useful though as the output of the program increases, or as your program becomes more complex. that's when the things mentioned in the OP are helpful.
To expand on this, Haskell is excellent to make your own parser. Take special note of say Chapter 16 Parsec of Real World Haskell[1]. This is the sort of application where you would choose Haskell over Perl/Python/Ruby.

Of course parsing is something thats very important if you are making your own DSL. And this is another application where Haskell really shines. This is why the guys who do programming language research produce papers with code in Haskell. Its orders of magnitude easier to make your toy language for exploring evaluation order in Haskell than it is to do the same in Java.

Its easier to learn a language if you're building something you're interested in though. Personally, I learnt a lot of Haskell implementing a web app with Yesod[2].

Good luck.

[1] http://book.realworldhaskell.org/read/using-parsec.html
[2] http://www.yesodweb.com/
Maybe in general, but many specialist bloggers know how to look up the proper records that aren't on the Internet, or are (say) personally attending court sessions that won't end up on the week for weeks. Live blogging on court cases is fascinating.
Check "The Elements of Style" by William Strunk Jr. It is a classic book on writing style. It's short, inexpensive and very instructive.

Disclaimer: English is not my native language.
Actually no you couldn't be more wrong.

XML can be read as a stream and at certain points like after reading an element or attribute, an object can be created on the fly or a property on an object set and the type deserialised at the same time. The types don't have to be native types either; they can be complex types or aggregate types such as any numeric abstraction or date type you desire.

See java.xml.stream (Java) and System.Xml (CLR) for example.

As for readability, some XML is bad which is probably what you've seen but there's plenty that's well designed.

XML is afflicted with piles of criticism which usually comes from poor understanding or looking at machine targeted schemas that humans don't care about.

You'd complain the same if you looked at protobufs over the wire with a hex editor.
Does Bitcoin meeting a dictionary definition of a currency (that is being a medium of exchange) really matter given his actual point (which you've clearly understood)?

Also, if your defence of Bitcoin as a currency is to compare it to the Zimbabwean Dollar (a currency ridiculed and later abandoned) then is it OK if I ever need a lawyer that I pass on you and go to the next guy? ;-)
xmonad, darcs, pandoc are three big ones
I share your opinion, I very greatly appreciate this sensor in the MBP, as it adjusts the screen's luminous emittance and the keyboard backlights brightness. Now, I wonder about its capabilities. Can it also measure "ambient color"? A quick search didn't reveal any published specs.
Factoring out a common constructor in tests is an example of making the tests resilient against changes in the underlying code. If the constructor changes, the tests need to be fixed in one place, not in 50.

Other examples may be around a `setup` method. If the method is private, don't test it. Then you can refactor freely. If it's public, test the pre/post conditions around the method in as few places as possible (hopefully one). Even if other tests rely on the object having been "setup", just trust that it works. If the specification of `setup` changes, you just have the `setup` tests to update, not the entire object.
I could be mistaken, but weren't there a security issue a while back with keys generated at boot time by using /dev/urandom? Since there weren't enough entropy, using urandom created an silent failure in the security design.

I think this is a key point that the article is missing. Silent security failures are very, very bad. Blocking will at least provide assertion that either things are as expected, or the issue will be detected early.
Not if there are hundreds of such things that are treated as trivia to be memorized rather than glimpses of underlying concepts to be understood. Then the trivia becomes the point rather than the understanding, similarly to the parent's example of lines of code becoming the point rather than a good program.

A lot of teachers feel like they don't have time to teach concepts because they have to spend all of their time teaching the answers to specific questions on the test.
Sorry, cash in person only.
This is exactly what I have been looking for! Rich text editing in webpages is complicated, and I haven't find a good solution until now. Google doc ends up with thousands of divs and span elements, TinyMCE uses iframe. While both of them seem to work, they are not elegant and sometimes I experience bug with incorrect text cursor location.

Another reason I like about canvas implementation is the flexibility. I have been working on a text rendering engine for Japanese for some time, and found that DOM is simply not good enough for special layout. Here are some examples:

1. Writing direction. CSS does have the writing-mode property, but that doesn't work well in different browsers.

2. Ruby tag support in vertical writing mode sucks.

3. No browser supports hanging-punctuation yet.

More to be listed...
It should be the browsers' job to fix these problems, but anyway, I finally end up with using canvas to calculate the position for every single character, that gives me flexibility that DOM doesn't have.

Keep up the good work!
AP: Man said to create Bitcoin denies it
In terms of brand perception, I think Newsweek is far more concerned that people know they exist, rather than the quality of journalism. I thought they had gone out of business years ago.
Terror attack: Dark day
The nice thing about FP is that you can basically copy-paste algorithms direct from academic texts, tweaking only very slightly for syntax. It's this way in Racket, I imagine it's even more easy in Haskell!
It depends. EchoNest has a similar track feature for any given track, which could trivially be used for playlisting. But it also provides an incredible amount of data. There are countless ways you could create different playlisting algorithms with their APIs.
Apparently the account is linked to the original Bitcoin paper. Timestamps can be edited though, it depends on the integrity of the site itself.
Out of curiosity, do you eat diet foods low in fat? Do you eat a large percentage of packaged/processed meals or made from "scratch"? Margarine or butter?
High-dose of vitamin C supplementation reduces amyloid plaque burden
Felix Salmon has a nice write-up on this: http://blogs.reuters.com/felix-salmon/2014/03/07/the-satoshi...

I like his summary: Both answers ("he is Satoshi" and "he isn't Satoshi") are improbable, yet one of them must be true.
pandoc is a beauty
Bitcoin isn't a currency by most textbook definitions. As Bitcoin is now, it will never replace fiat currencies because it is not a stable store of value (among other reasons). For now, Bitcoin is just another way to send fiat and something of an investment.

So Bitcoin fanatics who believe Bitcoin will replace fiat are wrong - unless they're willing to accept major changes to the system that go against their usual beliefs. (And even then, I doubt many governments would sit idly by, for good reason.) But for practical people who don't want to deal with buyer fraud, exorbitant fees, and lack-of-privacy, Bitcoin is great.

Buffett may be a killjoy and trying to preserve the current system which tends to benefit the wealthy and well-connected. I'd guess he probably has a lot of stake in that. But he is correct for now.
That's comparing apples and oranges. There's no reason someone will take someone that didn't go to college instead of someone that did if both are equally inexperienced.
High frequency trading: More relaxed than you think
Thanks for your honest answer. I'm of the opinion that it's legal (first amendment, etc), but rather unethical, especially since the evidence isn't conclusive.

Regarding safety, currency stored in banks tends to be less susceptible to theft via coercion. If someone breaks into a house, holds a person at gunpoint, and demands their bank details, they probably won't be able to successfully transfer a few million dollars out without triggering some internal check. On the other hand, you could easily do that with bitcoins, assuming that the private key hasn't been locked up in a vault, or the transaction secured with multiple keys.

I still feel it's an unlikely scenario, but it seems that claiming someone has $400 million in untraceable digital currency is going to impact their safety more than claiming they have $400 million in a bank, or in shares.
It is also their choice to put themselves in as much debt as they want. And it is an employers choice to hire someone with a piece of paper for arbitrary reasons.

The problems aren't with trying to change the minds of millions of people, it is with reconciling a system that no longer works because we are still operating under the false tautology that human labor, of any kind, has value.
The ultra rich are starting to like the risks involved in asteroid mining
If Satoshi wanted to post a more credible denial he could easily do so. Why not just tweet a photo of today's newspaper in front of some Japanese landmark, where Dorian Nakamoto couldn't possibly be? The fact that Satoshi posted a denial but couldn't be bothered to take the extra 5 minutes to do it in a way that proves it wasn't Dorian almost makes it seem more likely that Dorian was just posting this from his basement.
Fiat is only "backed by government" in the sense that you're forced to obtain it to pay debts and taxes. Other than that, the Fed can print more to prevent deflation and the Government can act politically to try and stem inflation. There are limits to that control.
I have a manufacturing company (started in 2004), and since 2008 the number of overqualified applicants has been huge. I have hired mechanical engineers as personal assistants, a person with a bachelors of mathematics as a nanny, and hired another mechanical engineer away from Pizza Hut to do CAD work (which does not require a degree, a 2 year community program is fine).

We get unsolicited applications all the time, and the variety of education and backgrounds is large. Who would you hire though? The person with several DUI convictions who just got out of jail, or the engineering graduate who hasn't been able to find work in their field for 2 years? I have had both apply for a low-level warehouse job, at the same time.

It is a tough job market out there.
It's the first time that an introverted guy has been "accused" and then hounded by the press about it, though.

(I'm not trying to give a definite answer either way here.)
Well, if they spent those four years at one place of work, then they're probably the college graduates' supervisor.
I think that having college educated historians as high school history teachers is a terrible waste of resources.
Gotta' have a teaching certificate for most public school institutions. Private schools is less formally strict in that sense, but where I'm from they struggle to keep up with the public schools - thus they require teaching certificates too.
S-expressions are also a reasonable choice, with some well-placed carriage returns and a serialization implementer that names things well
Here's a list compiled by someone else:

http://haskell-news.blogspot.com/2008/01/top-10-most-popular...

Here's a GitHub search. Mostly libraries, but a few end-user programs:

https://github.com/search?p=1&q=language%3Ahaskell+stars%3A%...

I didn't realize Pandoc was written in Haskell. Darcs of course, and xmonad window manager are the ones that come to my mind.
3 Small Tips Before You Send Off That Cover Letter
it looks nice but the on-boarding process is a shame. Advertising the "get yours free" knowing that the cap has already been achieved is not really honest as for me.
Last time I touched Racket it was still called mzScheme. Good times.
I think that a person with a passion for advertising/marketing would much rather work in their chosen field than serving food.
Crisis in Crimea: A Story Map of the Place Everyone's Watching
I was making a joke about being explicit versus implicit ;)
parrot is definitely not dead. Some people left.
It has some architectural problems (missing 6model and slow method calls) and had to survive some destruction done over the last years, but it had a good jit and has better threads than moar, which will bite moar sooner or later.

parrot threads are essentially lock-less and scale linearly,
moar threads are traditional, they lock on every single hash, array or object access.

The parrot jit will come back soon.
And I just fixed all internal compiler optimizations, so parrot -O2 is safe again.

On the other hand, the moar GC and calling convention is better than parrot, their new GC is a copying one, similar to the third vm targetting perl, p2 on potion. http://perl11.org/p2/
Employers have very little incentive to look beyond their usual filters for "diamonds in the rough." Especially when it comes to lower-level, lower-paying positions.
I actually think the article has some value (rubber ducking is good :), but continuing the parent's line of criticism: "Now step through the code using a debugger".

That's all he says about that! Even for experienced developers, and depending on the language, editor and other factors, installing and configuring a debugger is often non-trivial. In fact setting up a working environment is a whole other adventure for a newbie, and a different set of knowledge and skills than programming. Yet this author merely recommends the debugger without giving clues.

Of course he can't give directions for every situation, but recognizing the big leap in the advice would be more considerate of the intended audience.
1. It is always circumstancial. Nothing said can be assumed to apply to everyone.

2. Depends on the school.

3. Depends on your talent.

4. Depends on how much extra you put in between now and applying for jobs or whatever you do in the industry.

5. Depends where you live.

6. Depends on economic conditions 3 - 5 years from now.

At that, if you live in the US, remember to take all the CLEP tests you can this summer to skip as many "mandatory" general ed classes as possible. Assuming you are actually incurring debt or spending money to attend.

But just as a general rule, just having a piece of paper saying bachelors of science in CS doesn't mean jack for most people. You need a portfolio. You need that much more than the degree, in the end.
I thought the politics part was totally out of place and made him sound like a nut, FWIW.
5 minutes with me and git rebase usually do the job :)
+1 for weebly! Their tools have been awesome for when I need something good looking up quickly.
The market can still irrational longer than you can stay unemployed. :(

That's assuming that the college degree is a worthless signal, BTW. The scary thing is that the college degree probably is a useful signal. It's an insanely expensive one in terms of time and money, though. And after you finish your undergraduate, you may find out that there is a new, more expensive, longer signal that you are expected to complete to be an office assistant.
Haskell also matters from a business point of view! I can tell you that hiring Haskellers immediately connects you with the top of the food chain in terms of hiring.
They stopped printing a real magazine in 2012. They were purchased by a new company and this issue is the first one in print again.

So, I think it was a very effective tactic.
> are we in a temporary bubble of high salaries?

There's no guarantee. I worry about the same thing.

> I don't think we treat our elders with respect

This is why software is an extremely immature discipline.

* We don't want to use discipline because it hurts our 'flow' (JS semicolon debacle)

* We don't learn from the past ("coupling's not real!")

* We don't respect our elders...unless, of course, you're famous (e.g. Carmack)

I love building things, but the sentiment (at least on HN) is disgustingly populist at times. It's like the whole industry tries to make itself mediocre.
If I had 30 million British pennies it wouldn't be legal tender, because nobody is required to accept that volume by law. Does that mean my 30 million pennies aren't currency?
Oodles? This depends very very heavily where you live.

I know many many people who after getting their CS degrees had to move away. In fact I know way more people who moved than stayed or went back to their hometown.
"Here's the thing: bloggers can only research up to the scope of what's on the internet."

I think this is clearly false in terms of potential. It's probably the case that too many bloggers do limit themselves to internet research.
Thanks! ill take a look :)
Oh wow, this is a beautiful tool that I've always dreamed of having! Wonderful! I agree with some of the nitpicks, but overall, omg I've always wanted this. Thank you!
Maybe not "tooth", but why do we use the phrases "a third" and "a fourth" for fractions, but not "a second" for half?
Ask HN: Who is hiring that can sponsore H1B?
Yeah, apparently the problem with using high speed jets if they can't hang out close to look out the window and figure which people are the bad guys. Helicopters are too lightly armoured and get shot down and current drones are a bit lightly armed to hold off loads of enemy troops. Maybe in the future when the drones are more like http://youtu.be/zjympX1bxI4?t=18s retiring the A10 would make sense
I think you may have gotten it the other way around - Buffet doesn't feel confident about measuring/guestimating the value of bitcoins, and so he doesn't consider it a currency. A while ago, i read that Buffet's investment strategy is to find companies/stock that is undervalued, and buy it. That means his mindset is that any investment must be made by first making value judgements. In the case of bitcoins, he must be judging the volatility of bitcoins is way too high, and that investing in it isn't a good return on investment.
I think that's true for every field. Some people love degrees when they hire though.
Meaning you feel it is not that much more productive?

Are there things in haskel that would make you recommend it over lisps?
On the game I'm currently working on, it's built very heavily around Lua. So for the save system, we simply fill a large Lua table, and then write that to disk, as Lua code. The 'save' file then simply becomes a Lua file that can be read directly into Lua.

This is absolutely amazing for debugging purposes. Also you never have to worry about corrupt save files or anything of it's ilk. Development is easier, diagnosing problems is easier, and using a programmatic data structure on the backend means that you can pretty much keep things clean and forward compatible with ease.

(Oh, also being able to debug by altering the save file in any way you want is a godsend).
The Vision of KDE
That's the real elephant in the room, it's about minority vs majority - Captain James T. Kirk would vigorously defend Dorian Nakamoto's rights for privacy.

Look at the man and how distressing all of this must be:
http://www.youtube.com/watch?v=GrrtA6IoR_E
Online Payment for E-Commerce in Brazil
I'd wager it's because there is a 'Buy Now' button.
With over 400 million active monthly users, that would be much closer to $399,000,000 than $0.99 every year.

WhatsApp has nearly twice the active users as Twitter, and many more than Skype, LinkedIn, Instagram, and even Angry Birds.

Not only that, WhatsApp has a user:employee ratio of over 8,000,000:1. That is quite remarkable, over 8x the users per employee than Youtube.

There is much more value in WhatsApp for FB than just eyeballs.
You're misfiring on the "theory" bashing there. The whole theory-practice argument comes from whether given a desire to learn subject X, it's better to study for a while before practicing or jump straight to practice.

When the argument is whether it's better to study an entirely different X or jump straight to practicing Y, if the goal is to get better at Y there's no argument. The problem isn't that the college students were "studying theory", it's that they were on the wrong thing entirely for where they ended up. They're not going to get paid better for their subject X theory.

(And it's a dumb argument since the correct answer is "both at the same time to the extent possible", which at least the computer science programs have definitely picked up on in the last 15-20 years. And knowing the Internet as I do, the "to the extent possible" words are not extraneous... obviously we are not going to put a brain surgeon in a brain on day one of school, OK?)
Looks like you might get flagged for spam, but that's a cool idea!
PHPUnit has assertions for matching against CSS selectors, assertSelectCount and friends.

http://phpunit.de/manual/3.7/en/writing-tests-for-phpunit.ht....

Which is basically turning them into AssertTag calls behind the scenes, which is good as they can be cumbersome to write if not very simple.

The main problem I had with it was the poor error messages it provides on failure (basically "false != true" rather than printing out what it was looking for and what it had found to provide context).

It doesn't look like Nette is going to give any better error messages since it's just passing true or false into a simple Assert.
The best introduction about Facebook's "Hack" language I found:

Part 1: http://www.sitepoint.com/hhvm-hack-part-1/

Part 2: http://www.sitepoint.com/look-hack-php-replacement-hhvm/

Would be great if Facebook would publish more official information.