skysight-inc/HackerNews huggingface dataset:
The thing that gotos and callbacks have in common is that they are both extremely powerful. The problem is not that you can't write good code with either construct, it's that you can write bad code.

Abstraction is the process of creating self imposed restraints in order to aid reasoning. Using powerful features like callbacks and gotos is in some sense its polar opposite
False.
malloc() fails with a negative argument.
Why has this guy a better suit than me? :D

Can't he just declare private insolvency? I don't know the French laws there, but in Germany it's 6 years where you have to give your debtors everything you earn over your minimum living standard (called "Wohlverhaltensphase"). After that you are back to zero.

Edit: I think there is an exception for a conviction fine... probably that's the case here.

Edit2: No not really, because it's not a fine from the court but the money he owes the bank.
Nate Silver gives Romney a ~20% chance of winning because there's a chance that the polls are systematically wrong. Each polling firm comes up with their own likely voter model and participation model. If they're are correct in the aggregate, there's essentially a 0% chance of Romney winning, but they might not be correct (and there were times in the past where they were systematically wrong).

Basically, don't confuse uncertainty about whether the polls are accurate with uncertainty about the election if they are accurate because if they're accurate then Obama will win.
I think the author of this article has too much exposure to Rails 2.x and not enough core knowledge of Ruby. If he had actually known the language well, then he wouldn't have made any references to the deprecated rails hack alias_method_chain. Instead, he would have used modules to examplify.

The problem is though, when doing it with modules instead then the points he is trying to make totally disappears.
It's a really nice project. There are some routes that are surprising and yet seem possible in reality. Those explain some of the choices the candidates have been making, particularly with "safe" states they can't really afford to ignore completely.
Monclerダウン
Linus Torvalds switches back to KDE
Makes me respect the early engineers and programmers who have put in great thought in building these blocks. Seriously, reading through all this in HTML5, Android, iOS world of today with IDE, code samples, every book and whole communities to help you, make me respect early programmers so much. They were the real risk takers to venture into something entirely unknown and created a whole new discipline which is empowering every existent discipline and creating many more.
According to some guy who writes for Wired. Yeah, that's definitive.
In general you have to include the probability of a payment in your balance sheet, but banks are capable of stuff like that in not so obvious cases....
Google isn't the first company that would come to my mind. I'd rather go for Apple. Their mobile ecosystem might be a lot more secure than Android's, but the way they acknowledge OSX vulnerabilities and how soon they fix them is a weak spot.

Oracle with Java could also get a lot of heat.
" Our life is frittered away by detail. Simplify, simplify, simplify! I say, let your affairs be as two or three, and not a hundred or a thousand; instead of a million count half a dozen, and keep your accounts on your thumb-nail. "
-- Thoreau

This is pretty much why I find Java (and others at similar levels of complexity) distasteful and try to steer clear of anything related to it. It is also why Go appears to me as attractive: it has simplicity everywhere.
I didn't mean to imply that Haskell was some "perfect language" just that you were wrong to imply that all programming languages are essentially the same. Python, Ruby, Java, and c are all essentially the same, but Haskell, Lisp, Agda are fundamentally different and learning the former groups of languages doesn't really reduce the learning curve in learning the latter.
Ahh I see, thats a good trick, the use of cryptographic signatures din't crossed my mind.
The science behind viral marketing
It's something like this (I don't know if you already knew):

1. Try to search this http://goo.gl/dHHsU on Google. You'll find (at the time of writing) 90.300 results.

2. Find an URL like this https://twitter.com/account/confirm_email/[username]/[XXXXX-...

3. Change the URL like this https://twitter.com/account/not_my_account/[username]/[XXXXX...

Twitter "not_my_account" vulnerability:

- Information disclosure vulnerability: you'll see the email of the Twitter user [username]

- DoS vulnerability: you can click on the "I did not sign up for this account" button. After that, the Twitter user [username] email will be removed from the [username] account.
Nah. Just like the business side is constantly trying to figure out ways to not have to use programmers anymore, Haskell is all about trying to figure out ways to make mathematicians more useful
You want an AbstractFactoryFactory in Ruby? Heres the only one I've ever used or needed: Class

What does your pattern add to that?
What? There's not going to BE a portal 3...

However, this may be the Portal 2 Episode 1 game mechanic.
I think the "callbacks lead to spaghetti code" view is just an inadequate expression of the problem. I believe that people who are averse to callbacks feel so because callback-ridden code doesn't compose well. Compose-ability is an important practical consideration, but many async libraries solve this problem to a fair extent.

Also, reactive programming is not exactly the solution to callbacks like structured programming is to goto. "B needs to update automatically when A changes" criterion is extraneous to the problem.
Is it wise to develop Android before iOS?
for actually starting on a project, being broke and needing money is perhaps the strongest motivator out there. the part about outlining for two minutes and acting immediately is great.
See also: http://news.ycombinator.com/item?id=4727721
This is a problem with virtual machines vendors such as Linode where the configured swap space is usually tiny by default... It's much better to provide more swap (At least as much as RAM size) and see the performances start to deteriorate as a sign of alarm of overcommit, instead of having random processes killed.
I hate iTunes too for all of the reasons mentioned above, however there's one thing it does at least half-ok'ish:

It doesn't eat a ton of CPU while playing a few simple MP3s...

I've tried using Clementine (an Amarok-fork, my favourite music-player by far, at least on Linux) but it's just a resource-hog - comparatively at least.

So yeah - does anyone have suggestions on what to use for music playback? Something that doesn't suck? Something that doesn't waste precious CPU-cycles without reason, generating heat and wasting battery on the go?
"trying out" != "switches". Let's see how long he can stand it.
"> The electoral college is incredibly unfair to voters who live in states that lean opposite their view.
Translation:
> It's unfair that I don't get my way even though I'm in the minority."

You appear to be writing this off as a minor issue. It is not. If Mitt Romney wins 49.999% of the vote in any state, and Obama wins the rest, Obama is awarded ALL of that state's electoral votes. That hardly reflects the will of the people in the context of a national election.

IMO the solution, assuming there is a reason to keep the electoral college at all, is for each state to award to each candidate a percentage of its electoral votes commensurate with the percentage of votes that each candidate received in that state.
Scarborough didn't claim that Romney would win, so I don't see why he would ever take this bet.
Sorry if this is a dumb question, but what is Letterpress? Pretty much everything I managed to find online was describing a method for printing...
You are entitled to your dubious opinions but please do not try to change history. All newspapers agreed that Gore won Florida. What they said was that the Gore vs Bush decision would not have made a difference. That is because in his legal case Gore chose the wrong Florida counties where to request a recount. But if all votes were counted, Gore won.

And no the electoral college does not exist to avoid deadlock. Do you know what the chances of deadlock are in a popular vote of about 100 million people?

Oh and can you show me any documented case where someone gives homeless people cigarettes to make them vote for someone? How would that even work? You know you usually have to register before hand.
Chris Anderson is the editor-in-chief of Wired. The other interview is with "Wharton doctoral student Brian Wu." Both would seem to be highly credible sources on the subject of successful entrepreneurs (not successful entrepreneurship, which seems to be the source of your dismissal)
It's a new iOS game. https://itunes.apple.com/us/app/letterpress-word-game/id5266...
There is no shortage of people interested in machine learning.
Can I skip the orbs and go directly to the end?

The end has all the crazy distortions that make it fun.
I wondered that too. I believe many of these traders who circumvent the rules are thinking of a freeroll: If they can pull it off, they are set for life. Otherwise they just have to find another 9~to-5, at worst in another industry.
I can't wait for the future
Oh come on. You've set up several straw man arguments here that don't apply to the real world situations that give rise to callback hell, like fetching multiple rounds of data and aggregating many parallel callbacks at each step, or callbacks that are difficult to trace the origin of. Sure you can write good code with callbacks -- you can also write good code with goto and callcc -- but building a better abstraction makes code easier to write and maintain.
>clothes dryer, the range, and the dishwasher

I've worked and lived under emergency conditions with no power, running off a generator, and the clothes dryer, range and dishwasher were the last things we cared about. Light, telecommunications (we had long-distance antennas) and phone charging were the most critical needs.

I've also spent time in 100%-self-powered villages, and with good solar and wind power you can indeed have your dish-washers etc, just not in an emergency when you need to conserve and share energy (people running around sharing newly-charged battery packs was a common sight).

Generating electricity isn't really an issue if you have a good solar/wind pack: it's battery. I've often found running a converter from a car has been more efficient than relying on someone's home-built battery pack.
The future's browser
Asterisk 11 just available
Millions of years of evolution aren't as strong as you think. We have women out of the home and working, and lower class commoners and black people have near equal rights with the upper class nobility.

Bring it on.
Twitter to compete with Instagram with Photo Filters | Start.mv
It doesn't behave the same with calloc because calloc zeros the memory and therefore writes to each page.

Just try the same program replacing malloc( 1 << 30 ) with calloc( 1, 1<<30).
Tell him its writern in C++ .... He will switch again ;)
The author says it himself:

> Haskell code sucks, therefore Haskell sucks.” No, poorly organized code sucks. If that code happens to be written in Haskell, don’t shoot the messenger.

Basically, yes.

Not all callbacks are harmful. Not all goto's are harmful either; you can write both elegant and maintainable code using both.

That is not that point. It's like saying you can write elegant and maintainable code in assembly. Yes you can (no, really. I've actually seen some. :P)... but tangibly in real world situation is that how it usually plays out?

By tacitly (some might argue expressly even...) supporting callbacks, are these modern frameworks leading to in general an improvement in code quality or a drop in code quality, compared to the non-callback based code.

That isn't an intangible. It's empirically measurable, and I'd love to see some code metrics off git hub that measured it.

Waxing lyrical about how how callbacks can be used for the Forces of Good by Clever Programmers doesn't really impress me. So can auto-generated xsd -> C# code (I suppose) in the right circumstances.

Less arm-chair talking on both sides please; back your assertion up with some data.
Very true. XFCE & LXDE are the cleanest DEs by far (among the top five)
>However, I also like honesty.

Me too, but calling your opponent dishonest just because you disagree is something I don't like at all.

My own opinion is that expressing logically synchronous statements in terms of asynchronous callbacks is always going to be more complex than using an implicitly synchronous sequence of statements. Not because indentation is so complex, but because there are more moving parts to consider when you make something explicit that was implicit before.

This difference in complexity for logically synchronous statements is not a matter of taste, unless you deny that having more variables is more complex than having fewer variables.
Most systems have calls that tell the OS "this page must stay in physical memory". On Unix-like systems, "man mlock" probably tells you more. On Windows, I think the equivalent is called VirtualLock.
This guy ain't paying that stupid fine. He's too smart. They shouldn't call it hacking they should call it cheaping out on progammers. A decent programmer would have created a system that wasn't so easily circumvented, but instead they cheap out like everyone in finance.

This guy just got unlucky. His fine might as well be eleventy trillion dollars.

Sure he did something wrong, but if this guy owes $6.3 billion, why don't banks owe us our economy back?

Like him I used to work compliance, the complete lack of enforcement is epic. The smart firms just hire lawyers, imagine having attorney client privilege with your broker.
At present I'm of the view that simply having a Facebook account, without actively contributing content, provides me with most of the benefits without any significant costs.

What's more, I've started to notice a lot of my friends adopting this approach. I'd say my current news feed adheres to the 80/20 rule; 80 percent of the content contributed by 20 percent of the people. Perhaps even 90/10.

Meanwhile, it's not as though Facebook are getting much out of me. I can't remember the last time I clicked an ad on Facebook...
I can understand you need users desperately ... but are you going to fill every erlang thread here with elixir spam?
This sounds like a scene from the movie "To Rome with Love" where this normal guy is followed around by reporters and he tells them how he likes to brush his teeth and exactly which kind of toast he ate in the morning.

Not sure why it is interesting to know that Linus (or anybody else) is installing a piece of software to try it out. Perhaps a livestreaming site where people would go "Whoa, did you see the way he opened the browser" would have some popularity too!
Offtopic but how you are supposed to find interesting G+ comments? There is no way to sort or filter them, and there isn't even threading so you must basically read every one of the 500 comments to see if there was anything interesting in there? What's the point if +1'n stuff if the stuff with lots of +1 doesn't get promoted in anyway?
We know it's a terribly devastating "assassination piece by Johnny Diggz". That's why I fucking wrote it, asshat!
Thats what not many realize, that iolists with binaries need never be pasted together. They are basically passed to the kernel with a writev
He's not just installing something to try it out. He is announcing that he is installing something, and in that way both promoting the software he is installing and de-promoting (?) the software he is switching from.

You could read between the lines that he isn't completely happy with XFCE or he wouldn't be seeking new DE. And overall that was fairly positive "first impressions review" of KDE from Linus.
I wonder – how can you be so greedy? what a loser.
Like you, I hit wrong turns learning programming as a kid. Perhaps I got a bit farther than you, but I spent years writing in crippled languages like QuickBasic and Visual Basic, and bought poorly written, unhelpful programming books I couldn't get through. Everything I tried to write until my late teens was unfinished or a stupid toy.

What I lacked in my younger years, and it sounds like you did too, was resourcefulness. We weren't like this: http://www.paulgraham.com/relres.html The proper response to getting stuck with a dead-end IDE or book would've been to try like hell to find a different approach that works.

It would've been nice to have relentless resourcefulness as a teenager, but there's no changing the past. I'm trying to teach myself that quality now, and I'd suggest you practice it as well. In the end what you did when you were 15 just gets you some bragging rights, at best. You have the rest of your life to accomplish things that actually matter. And that's a much more important thing to know than JavaScript.
Show HN: Webgl + Mediastream API = Pixelate, my friday evening experiment
From what I've seen, mate (the Gnome 2 fork) looks decent too. After the disaster that was Gnome 3 I've went away from full DEs to a simple but great tiling window manager (awesome, that's the name of it as well as the description). Since 99% of my use cases really involve just a terminal or firefox that's probably as good as it gets for me :) No bloat, just great usability without ever needing the mouse - which is especially great on a laptop since touchpads have always been suboptimal pointing devices.
Hi, this is Ben Goertzel, the chief founder of the OpenCog AGI-focused software project and of the AGI conference series.

Comparing Google Search and IBM Watson to OpenCog and other early-stage research efforts is silly. Google Search and IBM Watson have taken fairly mature technologies, pioneered by others over decades of research, and productized them fantastically. OpenCog is a research project and is aimed at breaking fundamentally new research ground, not at productizing and scaling-up technologies already basically described in the academic literature.

Lecturing is a very small percentage of what those of us involved with OpenCog do. We are building complex software and developing associated theory. Indeed parts of our approach are speculative, and founded in intuition alongside math and empirics. That's how early-stage research often goes.

Of course you can trash all early-stage research as not having results yet. And the majority of early-stage research will fail, probably making you tend to feel vindicated and high and mighty in your skepticism ;p .... But then, a certain percentage of early-stage research will succeed, because of researchers having the guts to follow their intuitions in spite of the ceaseless tedious sniping of folks like you ;p ...

- Ben Goertzel
You mean, something like justin.tv?
I agree, besides ruby based syntax (which I don't consider a plus over Erlangs) you get pseudo mutable variables (they are not really but mimic them with a invisible sequence of Erlang like variables). The style that needs this ended up having variables like R1, R2, R2 ... in functions for sequences of operations. Its only it doesn't occur if you write in Erlang style. It might ease the transition for Ruby programmers but it is the second approach already to have Ruby syntax on the Erlang VM. The first one was abandoned probably because nobody used it. We'll see where this one will be going, its pretty young still.
My experience at amazon has been that people.drink the config kool aid. They make everything configurable but never end of changing in the lifetime of the app anything from the sensible defaults.

At that point you've just added unnecessary bloat.

There is something nice to be said about code that works right off the bat with sensible defaults.
Monty Python ? In my days, we were happy watching 'At last the 1948 show !'
I wonder if that national movement concept explains that weird spike in his histogram at 330 EV. Maybe it's because there's some "movement" concept that tips several states at the same point?
Often these things (salary negotiation, negotiating debt/fees or automatic investing) aren't replicable (instantly). There are some kind of limiting factors.
It's just not a system that scales infinitely.

That said if you are time starved (+ "cash rich") and don't want to go through all the available, cheaper resources yourself there can be a lot of value in a condensed course/infoproduct that solve your exact problem. Look at patio11's email course.
But most of these products are still absolute BS to make a quick buck.

You are absolutely right that a lot of the time ppl aren't honest about how much they actually invest into their "passive" business. (and should track it honestly).
And outsourcing to freelance writers get "high quality" content is almost always nonsense.
Just as with health issues people want a magic pill to solve their money problems. Which a lot of scammers are quick to cater to.

But that doesn't mean that there isn't a lot of advice out there, that I and a lot of other people are very happy to pay for. (for example I just bought http://saveyourself.ca/tutorials/tutorials.php (I'm working in health care).
This is Ben Goertzel, chief founder of the AGI conference series.

You are correct that the AGI conferences have a higher ratio of "speculative ideas"/"technical results" to ICML. This is intentional and I belief appropriate -- because AGI is at an earlier stage of development than machine learning, and because it's qualitatively different in character than machine learning.

Machine learning (in the sense that the term is now typically used, i.e. supervised classification, clustering, data minign, etc.) can be approached mainly via a narrowly disciplinary approach. Some cross-disciplinary ideas have proved valuable, e.g. GAs and neural nets, but the cross-disciplinary ideas there have quickly been "computer science ized"...

OTOH, I think AGI is inherently more complex and multifarious than ML as currently conceived, and hence requires more "out of the box" and freely multi-disciplinary thinking.

I think that in 10-15 years, when the AGI field is much more mature, the conferences will seem a bit more like ML conferences in terms of the percentage of papers reporting strong technical results. BUT, they will never seem as narrowly disciplinary as ML conferences, because AGI is a different sort of pursuit...