skysight-inc/HackerNews huggingface dataset:
Re Wisconsin, as someone who has lived in the state all his life, and been confident that we'd elect a Democrat as president since the mid-90s (and definitely in the last 12+ years I've been voting), I believe the state is swinging.

Walker's recall showed how red the state is, once the people outside Madison and Milwaukee actually vote. (Disclaimer: I live in Madison, and commented to others that I didn't realize Wisconsin had turned red.)

Obama is back in Madison shortly, but he really needs to head up to the north of the state. Unless he thinks he can carry it by getting the vote out in obviously blue areas.

On the other hand, I don't think he can sway people in two days, so getting people excited where he knows a vote will be a vote for him might be the best bet.
Ah, I see, thank you. I assume my mistake was thinking of assets in an old-world fungible sort of way, where if you buy an asset in one market you can sell it to someone else in a different market, rather than a new-world sort of way with highly complex financial products that you perform complex transactions with. Is that the explanation for why you can't buy the asset at the cheaper price and sell it at the more expensive price immediately, rather than waiting for the prices to converge? Or is it that by performing two independent transactions you can do both simultaneously and so expose yourself to less risk?
JavaScript Timeout and Interval Manager
Yes, because it's a great idea to go globally changing things that are used across the virtual machine by the code of many more people than just you.

I must have blinked and missed whatever happened that made everyone think global variables are now all the rage.
Most important to me would be a condorcet winner, something we do not have in FPTP (ftfy)
Which is why I love working in a Java EE application server like Geronimo where very smart people have gotten paid lots of money to do that boring grunt-work for me, and I can just spend my time building features and deploy a nice scalable system when I'm done.
That would be around 1 million potential voters out of 235 million total. My suspicion is that attention would shift towards numerically larger special interest groups.
I'm fifty and full time programmer. What the OP is missing is that while we have much more experience and are thus wiser on some aspect, our brain is much less agile to adapt and learn new things. If we would learn faster, we would also forget faster and loose the power of experience.

Any task where our experience is of value would be satisfying for me to do. Unfortunately we have all these stupid kids around in our way thinking they know it all better than us. The worst is the regression of html, xml and javascript we are forced to use but are shit. All the good thing of "old" languages are lost.

Note that the languages will change, but the fundamental concepts and principles remain the same.
This kind of misses the point - sure it's still simple for a four line function, but it's whether callback oriented code scales for anything other than the most simple of projects.
Facebook Likes to be able to Experiencing
From foot traffic to web traffic and today, the amount of Wants, Twitter updates, Mentions and also 1s - marketing is definitely and it looks, will always, about quantitative analytics.
Bulletin: German nuclear exit delivers economic, environmental benefits
I've found things like Lombok and LambdaJ to be super helpful as far as verbosity.

One thing that does frustrate me is that the compiler enforces a target bytecode level at least as high as your source version. Meaning that even the simpler syntax for initializing generics isn't allowed even though it's pure syntactic sugar and has no impact on the generated bytecode.
Uhm, I suppose the ball is in your court. If you believe this must be decided empirically, you'd better curl all the github.
What really bothers me on this project, is that all accounts of it i've read sofar (i don't have an insider's view, which might make me think different) is that it sounds like "let's experiment with the savages and see if they can come up with something".
It's like in the good old days of colonial empires. Do the little savages have brains ? How do savages's brains work ?? Are they really so different than ours ??? Does the size of the skull or caudal appendice explain it ?

Drawing a caricature here, but principles don't change that much.

Only thing it seems to prove is that kids are all naturally born hackers. It's what society does to them later on that takes that ability away (like using apps or loving Steve)
> where most of your developers are mediocre

Does anyone have evidence (including anecdotes) that Java 7 is simple enough for mediocre developers? Every new feature in Java that I have seen, starting from and including generics, seem like the non-orthogonal hacks that make C++ so frustrating to learn.
Eh, editor in chief? That means he can write well. That's all. The idea that a guy like Elon Musk is successful because he's somehow delusional is idiotic.
I started using Internet when I was 10 and started to dabble in HTML and then PHP3 and later 4. Earned a decent amount of money (for a kid), but then I just stopped because of workload in highschool and college.

Man, my skills got rusty I can barely write something these days. So, dont you ever stop doing that because returning to programming can be hard - your brain wont function at this ultraspeed it is functioning now.
That is a more significant finding!

Dropping out of the overall top ten may have little or nothing to do with better security since the calculation is intentionally skewed to measure by number of affected users.

MS bugs got raised to the top in a desktop dominant world, but they've lost ground (and therefore importance in this calculation) against mobile/tablet/etc devices making the most successful cross platform products capable of affecting more users.
Google+ comments are annoying don't you think? There's hundreds of them under every popular post, and they add exactly zero useful information. The real name policy appears not to stop people from posting trivial bullshit like "$X FTW" (surprise, surprise). Google demonstrates again (see the youtube trainwreck) that it can't handle comments in a way that furthers interesting discussions while pushing the one-liners and trolls down to the bottom.
I was expecting an article pondering this, but instead I get a product page where the Android version is available, but iOS is coming soon.

Too little information to know for sure.

They may have more experience with Android. They may see a niche they can fill on Android that is already full(er) on iOS.

Maybe the iOS team ran into an issue and decided to stall.

But to answer the OP's question, yes, I think it can be wise to develop Android before, and even instead of, iOS. It all depends.
Yes, Java has grown into a monster, like Windows, but there's too much sofware for it, noone is going to rewrite it, so Java will be with us for quite a while.
As a response to a claim about what the NYT reported it makes perfect sense.
A Proposal to Improve Architectural Education
I don't get it.

I'm sure a lot of bloggers in the area may be doing something similar, so what in particular is newsworthy about this one?
Red states love Pinterest, blue states love Macs
open data is important. sure. but it is certainly orthogonal to open (or free) software.
The two most important electoral reforms that the US could adopt would be to switch voting to Saturday, so that most people don't have to take time off work to vote; and to put the administration of federal elections in the hands of an independent, professional, non-partisan electoral commission.
Pretty sure that's what he was trying to fix when he said candidates should be awarded a lump sum of money and nothing more can be used. It levels the playing field.
> That hardly reflects the will of the people in the context of a /national/ election.

Federal.
Sony Xperia tablet will resume sales 
Sony Xperia tablet will resume sales in mid-November
> The Haskell vs. everything else language war really is important though.

What is remarkable about Haskell is that it builds upon bleeding edge programming language research. While I think that Haskell vs. everyone else is just another language war, I find it a real pity that "mainstream" languages seem to categorically ignore everything that programming language and compiler research has come up with in the last 30 years.

I'm still waiting for someone to find a sweet spot between Haskell and the more mainstream languages. A language that has a dynamic feel to it but is a statically typed (with type inference, of course) safe language that compiles to fast and efficient native code.
The $80 billion is only the yearly interest Greece has to pay. Their total debt is $402 billion.
So this is in the 1-2% range compared to Greece's issues. That's still an incredible amount for a single person.
That's Magic Thinking. Just because you want something doesn't mean it's going to come true. There are thousands of other entrepreneurs you've never heard of, who were also highly motivated but it didn't work out for them. (That's why you've never heard of them.)

To explain the relative success of SpaceX and Tesla by Elon Musk "wanting success" is a fallacy. You should instead reason by first principles (as Musk himself recommends for entrepreneurs to do) and analyze what they did in the past couple of years, what worked and didn't work, what factors were involved, and how that led to where they are today.
Apple regularly loses security shootouts, and is widely derided by security people. Their only advantages are their niche status (which they are losing) and their lack of consideration towards old apps (they can dump old APIs which are hard to secure, and make other backwards-incompatible fixes, because they just don't care that much about backwards compatibility).
Well I'm no expert (only what I know from university 10 years ago and working in related areas of finance), but it's the latter.

One further piece of the story is that the positions are in different markets for related (or the same) financial instruments, e.g. if two different markets have different prices for e.g. USD/EUR you have a profitable arbitrage opportunity when the difference is large enough to cover finance/transaction costs.

In other words, we're talking about situations where two markets have priced the same thing differently and obviously both cannot be correct -- therein lies the opportunity for arbitrage, before the prices converge.
Ask HN: How do I send video output of a program on one Mac to another Mac?
Apologies if this question is off topic for HN. I am desperate.

There is a plethora of hardware and software solutions for capturing video, sharing desktops and streaming videos to TVs out there. None of those seems to be applicable for my specific problem.

I am posting here in the hope that some creative video minded person might be able to help. (Pointers to better places to ask this question are also appreciated.)

Question:
On my two Macs I would like to send video output (from Resolume Avenue, Pure Data, Processing, whatever) via ethernet to a second machine. Preferably in a way that would allow to use the stream as a video input device in Quartz Composer or Resolume Avenue.

Is there a software to do this?
When I was 14 I had a mustache and was chasing girls. I was failing all my classes in school and my favorite past time was licking the bus window.
>You won't get someone else's freed memory but you're quite likely to get your own back and in that case it won't necessarily be zeroed.

Surely the kernel never gives a process it's own pages back. It would keep an unneeded page around that could just be pointing to the zero page.

Reading your other comment I assume what you mean is that it is a two step process where the kernel always gives zero pages but glibc's malloc implementation keeps some stock of pages and will return them back in a malloc() after a free(). That way you're not guaranteed to get zero'd memory on every malloc() since not all of it comes straight from the kernel.

The calloc() implementation has checks for that and will do the clearing when the memory is coming from the glibc stock and not the kernel. But even in that case it's only doing clearing when the page is already in the process address space. So a process will always receive zero pages from the kernel, but the malloc() implementation is made more efficient by giving you back some of your own free()'d memory that from the kernel's point of view was never given back.

Does that sound about right?
What metrics can we use?
Facebook phone
How rare is the Earth?
This guy must really love his null pointer exceptions.
Except he's not a random famous guy. He's the creator of Linux, and a very respected hacker, so it's not that sheepish to be interested in the tools he chooses for his work.
Can you be more specific about what you've tried and why it didn't work? Some obvious solutions come to mind but I suspect I don't understand exactly the parameters if the problem.
> 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.

Um, not quite; you've misstated the conclusion of the news organizations' study of the uncounted ballots. In a much-expanded recount, according to the Times wrap-up piece in November 2001 [1], Gore might have won in a few possible scenarios, but only by a teeny, tiny margin at best (smaller than the margin Bush ended up with). Even that possibility depended on the different counties' election officials recounting the disputed ballots in the same way that the news organizations' independent auditors did.

The Times had endorsed Gore --- as it has every other Democratic presidential candidate starting in 1960 [2]. Yet the lead grafs of the Times piece were commendably explicit: "A comprehensive review of the uncounted Florida ballots from last year's presidential election reveals that George W. Bush would have won even if the United States Supreme Court had allowed the statewide manual recount of the votes that the Florida Supreme Court had ordered to go forward. Contrary to what many partisans of former Vice President Al Gore have charged, the United States Supreme Court did not award an election to Mr. Bush that otherwise would have been won by Mr. Gore."

[1] http://www.nytimes.com/2001/11/12/politics/12VOTE.html

[2] http://www.nytimes.com/interactive/2012/10/28/opinion/presid...
I Germany you can declare yourself personally broke, just like a company would. After that anything you earn within a seven year period is used to pay off the debt. When the seven years are over, you are freed from the debt. Starting a zero.
What are you going to build in 2013?
Société Générale did and get 1,7B€ of the 4,9B€ from tax deductions.

I think if Kerviel would repay it they would be taxed back on it.
The author argues that callbacks do not necessarily impact code's readability in a negative way. However, he does so while presenting examples in CoffeeScript, a language where reduction of the usual JS callback boilerplate (`function() { ... }`) is one of the main perks.

In other words, he claims there is no issue by presenting a possible solution to it.
True religion outlet
Gmail Gets an Efficient Improved 'Compose' Experience
The Cinnamon desktop is a Kickstarter worthy effort. I believe it supersedes Linux Mint in its possible impact, because it is potentially usable on any Linux flavor.
A good friend of mine programs to support her work as an artist.

It's not a perfect setup, but no one said you have to be all-in on your career your whole life.
The problem is not callback, the problem is that callbacks exists in Javascript.

Callbacks themselves, when used wisely, can often enhance code readability, hell LISP has had function references since forever, but I think the most complain about callbacks are actually complains about callbacks in noisy languages, mostly likely languages with noisy syntaxes like Javascript and Java. When read that way, the disgust towards callbacks do seem to have merits. As the author has pointed out, the 2 getPhoto() functions at the end express and do exactly the same things, but obviously the CoffeeScript version reads better.

Callbacks have been around a long time and I've never heard of people complain as much about them as people have for Javascript and I conjecture the reasons are as follows:

1) There's no named parameters (keyword arguments) in Javascript, so people pass around objects literals into functions to emulate them.
2) Making lambdas in JS is too easy, but the syntax is too noisy.
3) Oh so many aliasing of this;
4) Self-chainable JS libraries like jQuery makes the style of calling multiple functions too easy. But lines can only go to long before becoming unwieldy, so people tend to indent chained method calls multiple times.
5) No modules and global namespace pollution is frown upon, so people are hesitant to flatten deeply nested callback chains.
6) There are a dozen ways to make a JS class and/or object depending on frameworks, and they are not at all compatible.

All of these "features" coagulate in JS into giant blobs of snot like this:

<script>
$(document).ready(function() {
var $main = $("#main");
$main.
hide().
click(function(e) {
$.ajax({
type: "POST",
dataType: "json",
contentType: "application/json",
success: function(data, textStatus, jqXHR) {
data['rows'].forEach(function(line) {
$main.append($("<p>", {
className: "row"
}).append(line));
});
}
});
}).
show();
});
</script>

Words for the wise, when you see a shiny new jQuery plugin, stop, think for 3 minutes, and then put it inside a Backbone View or whatever your favorite framework is other than jQuery*. If you don't know anything other than jQuery, now is probably the best time to learn a few.
Ask HN: Best resources to understand Objective-C
I'm attempting to learn Objective-C, with experience in PHP, Python, Ruby, JavaScript etc. Even with my experiences and writing in Object Orientated style, I'm unable to grasp Objective-C and it's structure.

What resources are best used to learn about the NS classes, things like filling a list view, why there is no procedural way of doing stuff and the differencing between - and + in definitions?
Next Hacker News: Lady Gaga switches back to iPhone.
I wonder if this is due to graduating people who can't code Fizzbuzz.

Eliezer, so far not many people on HN have believed my little anecdote about this, but there appear to be graduates with master's degrees in computer science from reasonably decent universities in the United States who can't pass "Write a program using a for loop to print the integers from 1 to 100" as an initial interview screen!

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

There may be some people with accredited degrees in computer science who are very lacking indeed in the most elementary programming skills.
> The electoral college is incredibly unfair to voters who live in states that lean opposite their view.

The Constitution doesn't mandate how electoral votes are allocated. Maine and Nebraska, for example, distribute the electoral college votes by congressional district. So the winner take all policy of most states isn't due to the electoral college itself, but how the states choose to implement it.
LOL I'm 46 and just got a gig writing in C again and I love it. I stay current, I am fluent in Python, Perl, PHP, C++, Java, Javascript etc. But it has been nice returning to a nice warm pile of C code. Now before everyone piles on to tell me how horrible C is realize this, in our environment we're handling 500,000 queries per second and have under 100ms to complete a round-trip transaction. Yes you can attempt that in Java with 20x the servers. Sometimes you just need good old fashioned low level languages to eek out every penny of low-latency power from your servers. (I can already hear the arguments about Elang, Haskel or whatever is popular this week).

@chmike Personally I still learn very rapidly and when I integrate it with past experience it's very powerful. I make the joke that I'm like a diesel engine, one crank is equal to 10x the lawn mowers some younger programmers are using. That said I love learning new stuff from the younger crowd, I'm convinced they keep me young because they inspire me and I try harder to keep up while sharing with them the mistakes I've made so they hopefully avoid a couple of them! :-)
...best Linux DEs I know are:

1. latest Mac OS + ssh-ing into your Linux machine
2. a Windows 7 + ssh-ing into your Linux machine
3. latest Mac OS or Windows 7 + Linux server in the VM

(...now fastening my seatbelt and gettin ready to be downvoted all the way to hell:P )
LinkedIn sitemap.xml
Hire Text Ad Direct to promote your websites and get guaranteed sales
Most traders/hedge funds/investors who say they are market neutral aren't. Market neutral is a farce because of the one thing all arbs use - leverage - lots and lots of leverage. If you use leverage - you must assume that anything that can blow up in your face will - usually at the worst possible moment. That includes all shorters, derivative sellers and leveraged net-long funds.

They win a little every day - keeping their volatility in check - as if that fucking measures risks, and they do that year, after year, after year. 5 years later - BA BOOM! They blow themselves out of the water because during crises all correlations go to one and counterparty and liquidity risk get you killed as your convergence pairs blow themselves to smithereens.

Hell even the shorters can get perilously close to not getting paid. John Paulson made a ton of money, but only after his counterparties came through. They almost didn't pay up because the world was crashing around them and they had no cash on hand. Michael Burry also got himself into a similar situation. If you are betting for the end of the world, you should probably consider that no one will have enough cash to actually pay you and would rather default and see you squirm. Even when you bet for the end of the world - you're net long.

This is fundamentally what shorters don't seem to get - you can't bet for the end of the world - because if you do a) no one will pay you, or b) if they do, you won't be able to throw out your gigantic mounds of paper fast enough to get your hands on guns, food, water and shelter.

There is no such thing as risk-less arbitrage in the real world - just like there's no such thing as efficient markets, an economist who knows what he's doing, a finance major who knows how to invest or a hedge fund manager who is actually market neutral. Everyone is net long - always has been, always will be.

If you're running real money, and I'm talking billions - the only proven long term strategy is either a) statistical short term highly liquid front running (RenTech/Shaw) or b) long term value (Buffett) - owning companies that do well and not owning those who do badly (this is much more important).

Leverage in chaotic, short term, extremely path-dependent and correlated markets is just plain stupid.
What makes a great API?
Great stuff. I have a Python version here: https://github.com/thedavesims/LetterHack

It was very basic but it's had some great contributions since.
Gastritis dieet - Good to know it | Good to know it
You can write GTK+ in pretty much any language, so if it was painful, you chose the wrong one.
You seem to be missing the most important question of all: what is it that you want to do? Just "learning programming" is like learning to hammer nails. Sure, it's a useful skill, but if you don't have a slightly higher goal you'll get bored quickly.

I'd recommend Python, but them I'm pretty biased, having used it since about 2000. If you can give us more of an idea about your background and what you're trying to achieve, I'm sure you'd get a much better response
> Can't he just declare private insolvency?

He could propose to pay back 199 Euro per month.