skysight-inc/HackerNews huggingface dataset:
"Agreement: Progressive enhancement isn’t for building real apps.
All the technologies follow from the view that serious JavaScript applications require proper data models and ability to do client-side rendering, not just server rendering plus some Ajax and jQuery code.
Quote from Jeremy Ashkenas, the Backbone creator: “At this point, saying ‘single-page application’ is like saying ‘horseless carriage’” (i.e., it’s not even a novelty any more)."

I really don't understand this. While I get WAI-ARIA for accessability, Google still depends on static content for indexing, last I checked. Are we just stuck doing two separate page flows? If that's the case, why bother with the framework at all if it's just doubling the workload?

(Note: I'm looking at a way to allow the initial rendering of the page statically, then using backbone to attach to events after the fact and use as a single page application after the fact. Handlebars and Hogan handle the templating on client and server side, and both client and server models are extending a common model shared with both.

It will be great if it all works. ;)
It's sad that we have to assume the worst, isn't it?
I expect honesty in business dealings, large or small. That doesn't preclude me from having some mean lawyers on my side to ensure I'm covered, but the up-front negotiations aren't driven by them. I'd walk out too.
what? so.. how does this work?
Tech entrepreneurs: degree or dropout?
All I know is that I'd be irritated if someone started each paragraph with my first name, specially without knowing me personally. That's impolite, authoritative and just annoying.

My 2cts :P
Highly amusing to be honest.
> Yes, it's different this time. Just ask Groupon.

(The important part of what you quoted was not "you can no longer IPO without profits" but "the ability to IPO without profits harmed kozmo, and we are not making the same mistake". It's not particularly important whether or not IPOing without profits is actually still possible.)
> If you take somebody to court and you lose the case then you pick up the cost of the defence and courts time.

Or: "IBM just screwed me over, but if I sue there's a chance I'll lose, and the penalty for losing is orders of magnitude greater than I could possibly afford. Guess IBM gets to keep screwing me over."
Well Qt doesn't require X11. Qt's backends are actually VERY flexible, essentially all you need to do is provide it with a 2D drawing surface in most cases.

There is already an Android port of Qt in progress here, with a lot of things (including Qt Quick and QWidgets) already working: http://sourceforge.net/p/necessitas/home/necessitas/
Several apps using Qt have already been published in Google Play.
مسلسل فرقة ناجي عطا الله الحلقة 15 
مسلسل فرقة ناجي عطا الله الحلقة 15

فرقة ,ناجي ,عطا ,الله ,الحلقة ,15

http://tube.sbayaa.com/1350
My Python solution:

def add1(arr, val, n):
it = xrange(len(arr))
if n < 0:
it = reversed(it)
n *= -1

found = 0
for i in it:
if arr[i] == val:
arr[i] += 1
found += 1
if found == n:
break

return arr
Its not "yet another integration", Qt is already the base component of their Cascades framework which is RIM's preferred way of building BB10 apps.
I run a site for diabetics for tracking health metrics (http://carelogger.com).

2 yrs of learning: the problem to solve here is not a slightly better tool to track, but a way to track the metrics without any effort. If it requires them logging data, you'll have a straight downward usage chart.

They get super excited at the beginning to be a better person, then 2 months later fall into old habits and abandon the site.

Simple fact is we need hardware tech to monitor things transparently and without effort.

If you have any more questions let me know, I have lots of data to back this up.
Well Qt is simply a C++ API and as such can become a standard part of the Android NDK if Google chooses.
Monday I was having a conversation with a coworker about the looming major showdown between Amazon and Walmart. My take was Walmart should offer exactly this, allowing them to leverage their massive supply chain and warehouses in every city with more than 5000 people (aka "The Walmart").

Awesome to see a startup rising to the challenge.
Maybe I'm crazy but it seems there is a relatively simple solution to all this: make patents non-transferable.
Isn't their warchest of patents an asset? They may have patents that are valued in the millions. I don't think you can simply declare bankruptcy.
KDE 4.9 arrives with incremental improvements, KDE devs prepare for Qt 5
Show HN: Pocket RFC (Quick access to RFC documents from your Android device) 
Thought you guys might find this handy. Spent about a week after work hours getting it done. Feedback welcome.
this reminds me of how even fulton, the author of the ruby way, made a critical mistake in "the ruby way" 1st edition (fixed in 2nd edition) and matz chimed in saying " "Don't modify the receiver while you are iterating
over it." http://www.justskins.com/forums/collect-with-block-modifying...
> I think his issue was that the meeting was in bad faith.

Agreed, but an honest question [and I'm no fan of FB, but...]: how could FB have requested a meeting without acting in bad faith and without being dumb? Seems dumb for FB to say to Dalton: hey, we're about to launch a competitive product and, since you're going to be squashed, we wanted you to come in to talk about an aqui-hire. Now Dalton has inside-ish info on FB (which he will have post meeting anyways) and can run around telling FB's competitors that FB is bidding for his company.

I suppose one of the VPs could have pinged Dalton about meeting for coffee, but then, assuming the informal meeting goes well, Dalton still has to meet all the other VPs, Dirs. Plus FB has a lot of these conversations with companies (I've been in 3 separate ones with 2 companies), so this is kind of the process.

I don't particularly see a better way for FB to handle the situation. Were I Dalton, I would have given myself some cool-down-room and, rather than blowing off the discussion, would have engaged the folks in a discussion and then told everyone that I'd get back to them first thing in the morning. Then I would have gone for a long run and let my thoughts settle. Or at last that's what I did when this happened to me 4 years ago.
Do you think that the delivery economics work better in incredibly dense regions like Mumbai or Shenzen?
I wonder if this could be the basis for a future battery?
Oh wow, four icons. Give me a break. Look at the Google Page Speed score for that site, then tell me I'm wrong.
Theoretical linguistics was an example.
This article is a success story for MySQL because maciej is using MySQL.

This article is a failure story for maciej. MySQL may have chosen correctly for its own popularity (although that's debatable; this choice might not be a success factor) but it did not choose correctly for the success of its users, with this article being a clear example.
It's a little more complicated than that, actually. Any given application of a file format may use various obfuscation techniques on the file's header or contents that render the file invalid from the perspective of the published standard (if there is one; it is also common in these cases to change the file extension to further disguise what format the file actually uses). Programs that do this may or may not de-obfuscate the file prior to use, depending largely on how and why the file was obfuscated.

For instance, a common obfuscation method is simply removing the magic number from the file; in this case, the program may simply try to use the file as the given format and return an error (or crash; we are talking largely about proprietary software in these cases after all) if the file can't be read.
I'm not sure if you already do this, or if it's on your roadmap, but I would like the option to find specific products my friends have recommended. For example if I want to purchase a new camera, I would search "camera" and it would show which cameras that my friends (or just other refer.ly users) have linked to.

I guess you could also go as far as having users review products they've purchased and have a public "review" system, the incentive for users would be: if someone finds a review you wrote and purchases the product through the review then you get rewards, it would further allow people to not need their own network outside of referly to promote their URLs, but I have no idea if that extends beyond what you're trying to achieve with referly.
They were raided by the US Secret Service because the Secret Service is/was actually the Treasury Police (the Protective Service assignment to the Secret Service is an accident of fate).

In other words, it is/was weirder that the Secret Service protects the President than it was that they were involved in Sun Devil.

And, as someone who came up close enough to Sun Devil to know a couple things (I graduated high school in '94 and went almost directly to working in vulnerability research): many of the people who got caught up in Sun Devil were ultimately good people playing MIT-style pranks that just got out of hand... but don't valorize it. For a good long chunk of time, people were routinely hacking phone switches and rerouting calls. Almost the whole phone infrastructure --- and EVERY Internet-connected Unix system --- was owned up. It was NUTS.
You want this : http://your.flowingdata.com
You can send direct tweets to it.
I've recorded over 2000 items so far.
[edited typo]

"This means that if they lose big, they'll simply declare bankruptcy and move on."

I may not know exactly how patent trolls work, so apologies if this is a dumb question; If they declare bankruptcy, won't they have to then sell the patent(s) that they own (their assets)? Is there a way patent trolls can get around having to do this if they lose?
I agree 100% on the first point, I feel like open letters on HN are mostly a pity-party due to someones bad experience with a/b company.

Also other developers need to realize that Facebooks moves in this meeting are business as usual.

Put yourselves in their shoes and realize what their motives are as a company.
>> Without citing white lies (presumably made to save the person being lied to)
Exempt patent troll legal fees from limited liability protection--make it so you can go directly after the shareholders.
SICK Channel!

Where are you? Do you play out? I am in SFBay and really need to get out and see some live electroswing.

We used to dance at top of the mark in SF - I'd really like to help organize an electroswing party at that venue!

EDIT: I see you're in DC...

Email me your contact info: sstave at gmail dot com -- If I succeed in organizing an electroswing party in SF - your presence will be required.
I would like to see some of the ruby solutions you ran across in your interviews to see how rubyish they may have been be.
One for ruby 1.9:

def add1(arr, val, n)
limit = (n == 0 ? arr.length : n.abs)

enumerator = (n < 0 ? (arr.length-1).downto(0) : (0).upto(arr.length-1))
enumerator.each do |i|
if arr[i] == val
arr[i] += 1
limit -= 1
end

break if limit == 0
end
arr
end
> My background is mainly in embedded systems programming. My main concern when I code is for speed and efficiencey, both in runtime and in memory consumption.

Do you specify this to your candidates when they write their code?

This is the thing that annoys me most about interview programming questions. If you don't give me constraints, I am going to implement a naïve version of your requirements, because you have not given me any additional criteria by which you are going to judge my code.

Knowing things about what sorts of inputs the method has to expect (should I assume that i'm going to encounter a billion elements or not?) is really important to judge correctness of fit, or whether you're just wasting your time thinking about cases you'll never encounter.
The 'defer file.Close()' ignoring errors is used throughout the examples for golang so I assumed it was the same here. My bad.

you insist on making the wrong choice up front, which is to use defer for something which is non-trivial.

Closing a file is non-trivial? So you have multiple returns in the function and you also need to close the file... better repeat it several times instead of using 'defer'. I'm not sure what the point of 'defer' is if that is the case.

Also the code you linked silently ignores the first N-1 errors, only returning the last one. Maybe in this case it is acceptable, but what kind of error does it return? Could the ignored errors be more relevant than the final one? Who knows.
The One X has an NFC sensor, so it should work with Wallet. Doesn't it?
I thought I saw somewhere that the loathsome "Intellectual" Ventures had a program where you could rent some patents to sue with.
In Common Lisp:

(defun increment (sequence val n)
(substitute (1+ val) val sequence
:from-end (< n 0)
:count (if (= n 0) nil (abs n)))
Porting your game from iOS to Android
Part of being a good developer is teasing the constraints out of the customer. You're never going to be handed a perfect requirement. If you're not given constraints don't get annoyed, simply ask about them.
Agreed. I feel like I see this in nearly every discussion now.
I've dealt with people at App.net during my own development projects (Infostripe) and they seem one of the few who were good at communicating back. They even featured IS at one point.

Which might go to explain how they are apparently excellent at putting themselves in the news as an heir to Twitter and a major Facebook competitor. Yet aren't actually either of those things. At least so far.. fascinating.
From what I've read, loser-pays is standard practice in Europe, and judges have final say over the amount, which must be reasonable.
Yet another indication skill development is the key to a decent life. Just like nobody will pay much for unskilled labor, nobody is going to pay much for unskilled button clicking.

People who depend on laws to extract more than their labor is worth are swimming against the current.
Because in the wake of 9/11 one major criticism of how the US had managed (very real) threats was that it was operating an incompetently coordinated hodgepodge of fiefdoms that in many cases at an organization leadership level were set up to sabotage each other in much the same fashion as Eichenwald describes Microsoft's stack-ranking debacle.

One possible answer was thought to be, put all non-military national security under one umbrella and have it report cabinet-level to the President, so you won't have some petty squabble between the Coast Guard and I don't know INS preventing operations from being executed.

Obviously, the Federal Government is not in fact Voltron, and glomming together a bunch of large bureaucracies into one giant bureaucracy doesn't make government more efficient. But it's not an Illuminati plot, if that's what you're getting at.

Or... what, you just don't like the name? Would you prefer "The United States Coastal, Border, and Federal Emergency Customs, Immigration, Transportation and Protective Services Intelligence and Management Agency"?
Every patent (or group if necessary) is owned by a separate legal entity, so most at risk is the patent(s) involved in the lawsuit.
Perhaps a FOIA for all DHS DMCA take town activity is appropriate. https://www.muckrock.com
They can tell him that they're interested in an aqui-hire before hand. That's how they can act in good faith. If he shows, he gets the info they gave him at the meeting anyway. If he doesn't, they crush him, which they plan to do now, after the meeting they had in bad faith.
I'm curious if sites like this even work? There was a lot of them back when SOPA was a bigger deal and you signup, put in your email and it has some canned letter that gets emailed to your senator. If I was a senator getting these I'd filter them all to go to the trash. Unless we are using this method as some type of voting system now. It just seems like there should be a better more personal way than "spam the shit out of your senator".
Sure but if they lost the case doesn't that suggest those patents are worthless? If they can't be enforced they aren't effective patents.
JavaScript / Ruby Developers REMOTE WORKING ENCOURAGED

We're hiring JavaScript and Ruby developers to help us build social software for conferences and events. We're based in Seattle but you can work from anywhere. Full benefits, great salary and equity. Our team includes core backbone.js committers and we're working on some fantastic open source projects in support of the same. We've been profitable for almost two years and we're growing.

http://www.pathable.com/careers-at-pathable/

Apply here:

http://jobsco.re/ADjuWq
> Why this is the case I can only guess.

Because in contemporary North American culture the expectation for a company is basically sociopathic behavior within the law. But the expectation for an individual person is ethically aware and polite behavior in the face of public scrutiny.
The Startup of you Why you should live life on your own terms. Pt 1
it's not RAR don't need to start at offset 0, it's Self-extract RAR could be an exe. And WinRAR accept files like these.
Actually a bus like this would be fantastic, though I think they should hold a algorithm competition to figure out the density of startups and then the shortest path for the bus to take to hit all of them. I mean the density is laid out here: http://mappedinny.com/
One way to be both honest and not burn bridges is to say "I don't talk behind people's back". So either HR will bring in the parties involved (not likely, but in case they do, you can get your point across to them directly, probably in a constructive manner), or they won't, which you get to keep your honesty and integrity.
Unfortunately we don't have standards in place for "click to upgrade" or "slide to unlock" and potentially thousands of other tiny patents that cover the minutia of operating systems and software. Why does it matter that you can use Bluetooth if you can't do anything with it?
3D game engine in a browser
Writing OpenIndiana Image onto a USB drive within OS X
It would be nice to have an iphone app set up with an automatic reminder so it would pop up a notification everyday at 10pm asking me to fill out my form which I could do straight from the app.
Yeah, I'm vaguely aware of that history. But naming a government agency "secret service" is just a mythology-building choice in any circumstances, regardless of having a good explanation. Though the later association with guys wearing earpieces and black sunglasses taking a bullet for the President didn't help, either.

I don't valorize the '80s BBS scene per se, I just think the response was a bit over the top. Instead of fixing their shit, they tried to paint a bunch of teenage pranksters as some kind of apocalypse, as if these were uniquely evil geniuses, and raiding some BBSs and board game companies to incapacitate them was the real fix to the problem. If you're so wide-open that critical infrastructure is being owned by teenage kids of the level of technical sophistication that you find in '80s Phrack issues, there might be a bigger problem. If anything, the companies were lucky it was teenage kids and not, at that time, anyone more nefarious.

As far as the "mythos" part, the writings are what's appealing to me, mainly; there's a certain breathless, naive technical wonder of discovery that runs throughout the '80s textfiles on the subject, which is somehow endearing.
> Patent trolls by definition have no assets (technically they're NPE or non-practicing entities). This means that if they lose big, they'll simply declare bankruptcy and move on.

Not all patent trolls are tiny. Some of the most dangerous are huge, for example Intellectual Ventures. Bankrupting them would be a big win.

> The real problem--still--is software patents shouldn't exist at all.

Agreed.
Precisely. I also say, "This is a very open-ended question in which I am intentionally vague on some points. Ask me about information you want or points you need clarified."

Like I said, I have no desire for them to create the "perfect, correct" solution; but I do want to know how they think about a problem and what questions they ask in the face of deficient information. I proactively encourage them to do so, so I am not trying to trick them into failure or anything.
The OP's implementation wastes cycles in the n == 0 case because the statement `if (count == n)` is unnecessary.
How was its seller interface?
>It turns out the fingerprints belonged to somebody else...

It's more complex than that.

The problem was the fingerprints of the real bomber and Mayfield's prints were identical, each print was exact match to the other person. Exact at least to the satisfaction of the multiple fingerprint examiners each of those examiners followed a different procedure since there is no science of what's conclusive.

The problem was the FBI absolutely denied any two people could ever have the same prints although there was no way to prove that.

Even after the case was solved a test was done where the prints were sent for analysis again and the same examiners came to a different conclusion given the same prints!

Frontline on PBS covered this situation http://www.pbs.org/wgbh/pages/frontline/criminal-justice/rea...
I don't know Common Lisp, but it doesn't look to me like that works. Can you explain how it works?
cool, I'm genuinely curious how I could save those cycles without adding more elsewhere?
Why shouldn't people lie? As an ex-employee you no longer have a duty to tell the truth to your previous employer.
So what is wrong with documenting them not being nice? I have no issue seeing this. I'm an ex-fb employee myself and I saw behavior like this constantly. I'm just amazed at how angry it seems to make people that this guy reacted angrily to a situation where most others would have done the exact same.
And surely the `count++;` statement.

I don't see an obvious solution that doesn't "unroll" the three cases and doesn't waste any cycles, but maybe that is why I don't work at OP's company. ;)
You make a reasonable case. Still, context matters. It seems to me the OP was being emotional while the commenter was being snide, and the latter is more destructive.

Far be it from me on the day after Gore Vidal died to say that snideness is always a bad thing, but the community here is fragile and simply can't withstand the free flow of vitriol.
Reusable widgets are the core of the Enyo JS framework (www.enyojs.com) that I work on under sponsorship of HP.

We had a few of the Enyo engineers up at Throne of JS, but we didn't get a speaking slot. Maybe next time.
Then that's fair enough.

I have to say, I respond quite differently to "I have a problem I'm trying to solve" vs something like "I need this algorithm implemented", and a lot of the way these programming challenges are presented always come off to me as the latter, and as a result, contrived.
Ok, you just heard me explaining why I think the situation was apocalyptic, right? You could not have had a successful commercial Internet built on infrastructure as thoroughly owned up as the early '90s telco networks were.

I am also not talking about "the BBS scene" (which I was very much a part of). The BBS scene didn't own up switches. The BBS scene didn't have lists of X.25 outdials. The BBS scene couldn't rig you up a conference bridge. Lots of people posted comments on BBSs. Very few of them would know what to do with a DMS-100.

I am not saying the people to whom I am alluding were evil. They were not. I'm saying they were much smarter than "the BBS scene" as a whole, and that the pranks they were playing got way out of hand.

Also: I don't know why you're talking down early Phrack issues. Say what you will about today's Phrack, but in the early '90s, those were teenagers talking about how to reconfigure telco switches. The telco switches they had broken into and owned up.

Also, "Secret Service" originally referred to "The Secret Service Division of the Treasury", which was the anticounterfeiting task force of the US Treasury. It is less ominous in context. I do agree, though, that the name is ominous when you strip away the context.