skysight-inc/HackerNews huggingface dataset:
I would've preferred capitalism followed its natural course, and let one or two smaller banks die, than to get in a situation where a handful of huge banks can wipe out the entire economy if they are allowed to fail.

I'm curious what makes you think one outcome is the "natural course" of capitalism, while the other is not.
DT the parent company gets the $4B, not T-mobile USA. (which is actually $3B + spectrum)
Oh, it finally works
Israel's Technion Uni & Cornell joint bid for Bloomberg/NYC tech campus
Just about all of the people who work at Apple aren't in the top 1% of income earners either. Why does it make more sense to disrupt the work of some software developers rather than dock workers? If you want to object to Apple getting tax subsidies for exporting jobs or the bailout of big banks, you should be protesting on the steps of the U.S. Capitol.
I think I might have resolved this issue. Could you try again?
> Class inheritance is not a common JavaScript design pattern. It's a hack, used by a minority of JavaScript developers, in a minority of projects.

If you don’t like the way JavaScript’s prototypal inheritance works, take it up with Brendan Eich.

You are simply wrong about the commonness of using prototypes though. Nearly every big JavaScript project is organized around extending and creating prototypes, and making instances via the `new` keyword. It’s only a few zealots who militate against using that feature... and to the detriment of their followers, who end up with code that is slow and a memory hog.
Santa's Cool New Google Search Tips Rap
SOPA Sponsors Received 4X in Contributions from Hollywood as from Silicon Valley
Here's the patent in question, #5,946,647, filed Feb. 1, 1996:
http://www.google.com/patents/US5946647

"A system and method causes a computer to detect and perform actions on structures identified in computer data... uses a pattern analysis unit ... to detect structures in the data, and links relevant actions to the detected structures. .... Thus, the user interface can present and enable selection of the detected structures, and upon selection of a detected structure, present the linked candidate actions."

And here's an older article with more description
http://tech.fortune.cnn.com/2011/07/16/apple-vs-google-insid...

"When an iPhone receives a message that contains a phone number or an address -- e-mail, Web or street -- those bits of data are automatically highlighted, underlined and turned into clickable links.

Click on the phone number, and the iPhone asks if you want to dial it. Click on the Web address, and it opens in Safari. Click on the street address, and Maps will display it."
Do not read this
Yep, this is a problem with the FB API, as I couldn't access more than that in the past.

It was meant that with time, this will grow as new posts will flock in.

As for the being 'just like loading the FB page', the kiwi gets its full glow when many services are connected at the same time.
I'm sorry you feel that way, but as someone mentioned, there was a checkbox.
The United States is 1.6 times the area of Europe, but more importantly, Europe has 3 times the population density! It just costs a lot more money over here to cover the same number of people with cell service.
Yaay! :)
Not just space, but speed as well. I've often noted significant speedups in many operations by switching to array.array. In some cases, the speedups are comparable to or even slightly better than using numpy (which is much more heavy-weight).
When one outcome is influenced by market forces and the other is not.
> Foreign Concepts ... I can't see how it's especially dangerous since just about everyone will use list instead.

I think it's potentially dangerous if/when Python newbies from other languages pick up old idioms and (ab)use them thinking they're "Pythonic".

I haven't seen it with a Python codebase, but I have worked on a Java codebase that was developed from scratch by C developers new to Java. They used lots of arrays (same sin), minimal Collections, and lots of for(i = 0; i < arr.length; i++) instead of foreach. Urgh.

So it isn't Python's fault, but I see how it could pose a danger.
If one could emit assembly we could just use any langauge for front-end development.
> If you're debugging at the interactive prompt consider debugging with a small script instead.

I don't understand this suggestion. The ability to interact with my code via the REPL is a very important python feature for me, is the author suggesting I abandon that?
Apple wins ITC import ban against HTC’s Android smartphones
Yup, and which is why the iPhone won't work on T-Mobile. No support for the frequency. Maybe they have a bit of spectrum in a market or two, but there is no way they will ever get full 3G coverage in the frequency that the GSM iPhone expects.
SOPA will mean the end of Reddit, says general manager
Advertising, support, distribution.
Much much easy when you have a distributed production/sales force.
Going through the details is the way to estimate candidate's true knowledge of a subject. Ask an easy question, then ask a very hard one, repeat depending on answers, i.e. basically do a binary search:

- Do you know what SSL/TLS is? general
- What's the maximum size of SSL protocol record? specific
- What's a cipher suite? general
- How is DH-anon suite is set up? specific
...

- What is a linked list?
- What is offsetof (and how is it relevant)?
...

- What is TCP? general
- What is TCP/Vegas? specific
...

This is the quickest way to converge to an actual level of expertise, and it really helps with filtering out people with bullshit resumes and those who cheated their way through an offline problem solving. We would say something like "You are not expected to answer all questions, we are just trying to understand what you know and what you don't know."
This is the difference in compiled output for those examples:

var i;

for (i = 0; i < 10; i++) {
doSomething();
}

for (i = 0; i < 10; i += 1) {
doSomething();
}

http://jashkenas.github.com/coffee-script/#try:for%20i%20in%...
I think you should either not bother, or make a big deal out of it - make it part of your marketing, ala Balsamiq. In between seems like the bad space to be: not attracting any interest because of the numbers, but still giving them out to people sniffing around your business that you don't necessarily want to know everything.
Lock free datastructure library
I actually don't understand the original poster's slowness with Windows. We use Perforce and VC++ .slns, sometimes with apps split into DLLs and get none of the slowness the poster talks about. Actually we get significantly better performance with this than under Unix with GCC. No-change or small change rebuilds take a few seconds, with the time being dominated by the link and proportional to the link size.
There is really no such thing as too big to fail. In the case of the "financial crisis", the few failing banks should have been allowed to fail. Some were and the sky did not fall. There were plenty of sound ones who were not involved in the nonsense. The same can be said for the automotive industry. The bailouts were nothing more than a transfer of wealth orchestrated by the government. From the middle class and the wealthy, to the incompetent clowns in the government and private industry who created the mess in the first place.

There is absolutely nothing worse for the people at large than the collusion between government and the private enterprise. It is very simply the definition of corruption. Read the Wealth of Nations by Adam Smith for more love.

As for AT&T and T-Mobile, the government created the problem in the first place. By selling spectrum, they necessitate the existence of large massive companies in the space. They're the only ones who can afford the spectrum. If the government instead chose to keep the spectrum open, like say the way they do for WiFi, you would literally be able to start your own cellphone company in your garage ... and there would naturally be quite a bit more players in the space. They would still need to cooperate to make things work, but having more choices is the goal here.

If you look hard enough, behind every market problem and failure, you'll find a fat bureaucrat and fat "business man" working together to keep each other fat and the rest of us miserable.
Oops, I should have written it using a variable instead... i.e.

for i in [0...test]
doSomething()

for i in [0...test] by 1
doSomething()

compiles to:

var i;

for (i = 0; 0 <= test ? i < test : i > test; 0 <= test ? i++ : i--) {
doSomething();
}

for (i = 0; i < test; i += 1) {
doSomething();
}

the latter one being much faster because it isn't testing the direction the counter should be going all the time.
There's a lot of things in here that are either vast exaggerations ("need a designer") or simply factually untrue (WinRT = goodbye .NET).

By the time that Win8 ships, .NET 2.0 will be six years old - do you really expect them to support it in the latest OS forever?
Depends on how you define robot—do my Roombas count? Does my bread machine?

If they do, I wonder, do most of us already?
Adapting to Inversion of Control and Dependency Injection
It sounds like he had a productive day learning, but from the article it's not clear that he came away with a real appreciation for the fundamental difference between (HTML and CSS) and Javascript.

I may be biased, but to me the verb "to code" means implementing things that require Turing completeness to express.
I'm curious if you were redirected to the mobile version of the website. When I visit plus.google.com on that same phone, it redirects to m.google.com/app/plus, which looks like a iphone-ified version of my stream.
And it goes back, and forth, and back, and forth, and

In other news, "Samsung adds four more complaints to its German patent offensive against Apple":

http://www.theverge.com/2011/12/19/2646835/samsung-apple-ger...

I would love for someone at one of these companies to explain how on earth this benefits the consumer.
1.upto(100){|n|puts [["Fizz"][n%3],["Buzz"][n%5]].inject{|m,e|m=m.nil? ? e:m+=e||""}||n}
Does someone have any data on whether people gain net traction by treating early adopters like promotional tools with shitty opt-out gimmicks like this?

Maybe early adopters were willing to suffer through more in the olden days or still are?

It seems like a stupid way to go about creating hype, loyalty, and traction for your start-up.
I do really miss the 'command' module's convienience... so much that I often code my own version using subprocess, just so I can get at Std-out, Std-Err, and the return code all in one place.
Really sucks on Windows Phone, where there is no app. The desktop site doesn't crash MIE9, but it is fairly unusable overall. Their mobile site is worse, though, it has to be designed for feature phones with WAP browsers and limited screen space.
Quarterly: A Subscription Service for Wonderful Things
I heard from a T-Mobile engineer, back when this whole thing started, that it didn't significantly change their network engineering plans for the next couple of years. Indeed, they were planning on expanding regardless. Again, just what I heard.
I love CloudFlare and their story.

IMO they are one of two (or three) recent startups that I consider to be genuine, and have a real product/service that adds actual value. The rest not so much ... just fluff and social.
I would generally agree with this but, in this case, the headline tells it all.
I could take a day long course in marketing and speak like a marketing exec..so what? That doesn't mean I'd be capable of solving real world marketing problems.

How about on day 2 the new web coder gets an assignment: The client wants an ugly picture to cascade in the background of their website and the client is thinking about moving all their data to Sharepoint because they heard it's best solution (no matter what the problem). You're job is to deliver the the correct solution. Go.
Don't disagree. Tropo does some extremely cool stuff... having a single app handle IM, SMS, tweets, voice is kinda magical. Seems to have better local number availability as well. The lack of any rate limiting handshaking for handling sms blasts was a deal killer for my app however... imo if you try to push sms faster that they can send it they should either queue the messages (as twilio does) or provide handshaking that says "can't send that message" instead of silently discarding the message.

That said, our app uses a mashup of both tropo and twilio now, we use tropo to handle "tweet" dialog with consumers.
SOPA vote rescheduled for this week, attempts silent passage
I must say I'd be interested in this kind of research.
They'll probably get 90% of the remaining done pretty quickly.
I would but the proof is rather long for a HN comment, simplistically the limit goes to infinity.
Really? My old featurephone did that!
Been there, done that, and guess what: they really don't want to hear from their constituents. Period. (And this was on a local level in the Netherlands, which I'm pretty confident is considerable more accessible and less corrupt than US Congress.)

This is about power, holding on to it and increasing it. Nothing else. Absolutely nothing else matters these people, no matter how nice, intelligent and understanding they sometimes seem appear to be. Being a politician has become a career path with no goal that has anything to do with representing the will of the people. "Ill will or spite" doesn't come into it: it's just business.

And the people have nothing to offer them in that respect except votes and obedience. As long as they get both despite everything, no strategy will give us any more access because there is simply no need for them to give it to us.

The only way this will change is if it no longer pays to ignore the people.
Other programming contest sites are good sources of problems similar to the ones that come up in interviews.

http://train.usaco.org/usacogate

http://community.topcoder.com/tc

http://uva.onlinejudge.org/

http://www.facebook.com/hackercup

http://code.google.com/codejam/

http://codeforces.com/

http://www.interviewstreet.com/recruit/challenges/
It's even worse than that. Ballot initiatives, like all electoral endeavors, are extremely expensive, so most of what actually makes it onto the ballot are bills written by the exact same monied interests that would otherwise be lobbying the state government if we didn't have the initiative system.

In a way, every "innovation" in democracy becomes a cheaper, simpler pathway for the same interests to run the game in their favor.
P, or Bryan,

Would one or both of you expand on your responses. I don't quite get it yet. (Also, lots of googling finds lots of "quad band Galaxy Nexus" references.)

Thanks,
"you need to know the subject better than the person that you're interviewing. If you don't, you have no hope of screening for good people."

I think it is not necessary and not possible that the interviewer know more about every subtopic than every candidate. It is enough that they have comparable knowledge in most topics. Good candidates can very easily know more about some parts of the subject (and maybe less about other parts). Being a good interviewer is a really tricky business, because good interviewers should see the strength of candidates and should see if the candidate know even more than them about some subtopics. I've seen some bad interviewers who asked only the very narrow topics they knew well, and basically wanted exact copies of themselves.
I really like this advice. Even if you're not doing super-duper, crazy creative "disruptive" things all the time, one can get a huge sense of satisfaction by approaching some platonic ideal of pancakes, or whatever. Even if your code (or copywriting, design, or whatever it is you do) isn't groundbreaking, you can still strive for the ideal form of whatever it is you're working on.

I heard a really good piece of advice, in the form of metaphor: If you install carpet for a living, you don't have to like the carpet you're installing, but you should be damned proud of how well you laid it down.
G+ will change the '@' into a '+' when you commit the post or comment.
Good point. I didn't address this adequately.

The usual #python response to people using the array module was to instead consider NumPy (with its excellent arrays) or use normal lists and PyPy to make it fast.
I think the author is just saying if you're debugging something in a REPL and you're finding you need to reload() frequently, then you might want to consider switching to debugging with a small script instead (and of course there's no reason the script couldn't just import the things you're debugging, and then dump you into a REPL).
This theory is trotted out every time that there is a discussion about cell phones or broadband in the US. Why do we not have incredible broadband for low prices in cities like Chicago and New York? Why did we not have great cell phone plans when regional plans were still prevalent?
Excellent point. Conversesly, the most likely is that Proctor and Gamble is perfectly positioned to enter this newly educated market and undercut this inefficient incumbent, destroying thousands of jobs in the process.

But we wouldn't have it any other way.
Based on your description, I wouldn't expect things to go well regardless of how you try to handle them. If they do go well, then you can be pleasantly surprised.

That said, one alternative is to develop a transition plan on your own and present it along with your resignation - perhaps a contractual arrangement for consulting is possible during the transition or even over the longer term.

Assuming that this is a straight up employee-employer relationship, leaving on your own terms is often acceptable - and the fact that the company is in limbo certainly is a legitimate consideration.

[IANAL] My advice would be to formalize your new enterprise before resigning and assigning all the relevant IP to the new enterprise to avoid potential personal liability [/IANAL]

In other words speak with your attorney.

Good luck.
The first stage in creating hate is removing moderate voices.

The first stage of removing moderate voices is censorship. It must be a flawed mechanism that can be abused by those in power.

SOPA is that mechanism.
Not sure how we got onto the financial crisis, but the idea that the banking system was outright saved is a fallacy. Tons of banks failed and continue to fail:

http://www.fdic.gov/bank/individual/failed/banklist.html

The big banks were provided funds from the Fed-- whose job it is to lend money in such crises--the majority of which was paid back and has returned a tidy profit to the Treasury. The public perception of events is out of whack on this one.

As far as the OP, there's a long way to go before the US is Canada as far as crappy cell service provision, but this is a step in the wrong direction.

Edit: "this" referring to T-Mobile having a negative future outlook.
The fatalistic, egotistical and selfish attitude epitomised by women being unconcerned about losing their uterus

I agree that it's fatalistic. But it's the opposite of egotistical and selfish. People with healthy egos generally care a lot about whether they will their lose organs, or their lives. The women in question apparently don't. From the article: 'So what? How long are we going to live anyway?'.

And maybe their lives suck so much that this attitude is understandable.
You can use python -i to enter interactive mode after executing a script. Maybe I should clarify that part
$ iostat -kx sda sdb sdc sdd
Linux 3.1.0-1-amd64 (Zia) 12/19/2011 _x86_64_ (8 CPU)

avg-cpu: %user %nice %system %iowait %steal %idle
0.93 0.02 0.72 0.25 0.00 98.08

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdb 7.41 2.00 1.48 5.06 547.46 67.40 188.21 0.31 46.80 129.57 22.66 7.51 4.91
sdc 7.40 2.01 1.47 5.16 547.20 77.23 188.43 0.33 50.02 164.44 17.34 6.75 4.47
sdd 7.42 1.87 1.42 4.51 546.97 45.87 199.69 0.39 65.07 211.90 18.71 7.67 4.55
sda 7.37 1.86 1.46 4.42 546.57 36.04 198.25 0.26 43.54 122.63 17.52 7.18 4.22

OK, that's 4 7200 RPM SATA disks, definitely not SSDs. They're in RAID10, so definitely better than 1 drive, but still, all under 5% utilization.

Big builds, etc. pretty much are CPU bound, even on a quad-core i7.

That's true on my single 5400 RPM disk laptop, too (though it has a much slower CPU).

These both run Linux—maybe Windows has ineffective disk caching; I don't know. But please avoid calling people who have actually bothered to measure such things and make decisions on it "fucking idiots".

(Disclaimer: no ridiculously expensive graphics cards here)
What makes you think that one of the biggest telecom conglomerate with backing of the German government will disappear?

I think it is good that this deal did not go through, good for the consumers. Because T-Mobile as well as AT&T have to stay creative to keep customers happy and prices down. In general I think there is to much concentration of power into single large cooperations anyway.
Wasn't explorer in windows 95 (can't remember what 3.X did for context menus) a prior art for first fragment? Right-click "my computer" you get one context menu, right-click ".bat" (see - pattern analysis) you get another, right-click ".doc" ...
Obviously the use of prototypes are ubiquitous in JavaScript. No one said otherwise. The use of class inheritance, as is common in other languages, like Java, C#, Python, and CoffeeScript is not common at all. Isn't that why you built it into CoffeeScript, because people were doing hacks to get super?

My point is that this is leading (and other features like await/defer will do this as well) to different design patterns. Such as Batman.js taking use of your extends keyword for consumers to implement their framework.
Some big assumptions in this post:

1. Assumption #1: T-mobile "has no plans for the future."

You can't possibly know that. If anything, the negotiated spectrum transfer and payout on deal failure is a small indication that they do have some plans for the future.

2. Assumption #2: Any carrier without the iPhone is doomed to failure.

Metro PCS does not offer the iPhone. I don't think they are going away anytime soon.

3. Assumption #3: The government needs to plan for cellular market consolidation in order to benefit the consumers.

Actually, cellular market consolidation is not good for the consumers. Consumers benefit the most when there's more competition. Having more carriers leads to more competition and gives consumers lower prices and better service -- it's simple economics.
Senate will vote next month on Protect IP copyright bill
Of course blitting half of an array will be much faster than dereferencing an equal number of list nodes. I don't think you would want to use a linked list in a situation that resembles your benchmark. If you were going to insert many more elements at a time than 1 (like, say, all 1,000), or if you had to traverse the entire list and also update some parts of it, then I would expect it to do significantly better.

Probably not in Ruby, though.
An Introduction to Dart - A Language for Structured Web Programming
Jackson USA Soloist Metallica Silver Electric Guitar 
Price: $450.86.Save $20 off Christmas Day Sale. Free Shipping Worldwide. My first guitar, a Fender Jazz Master, I traded it in for a Les Paul Deluxe.
Lenny Kravitz
this has nothign to do with sopa, do not read it.

https://plus.google.com/107304794162956058165/posts/bRpzedGR...
this has nothign to do with sopa, do not read it

https://plus.google.com/107304794162956058165/posts/bRpzedGR...
Facebook used to have a feature very similar to this, but they removed it.
Can You Learn To Code In One Day?

Ultimate HN linkbait.
When this is broken, please use the "Report an Issue" button to let folks know. I am told that the fancy JavaScript-ized links are supposed to work just like ordinary anchor-tag links, so any user-visible deviation from this behaviour is a bug. (Don't ask me why in the hell Google is so fond of breaking their fancy links.)
Yes, i do. In fact, this is one of the biggest drawcards to windows.

For instance, Windows 8 still ships their VB6 runtime from 1998.