skysight-inc/HackerNews huggingface dataset:
The whole concept of rules to warfare is on a certain level a bit silly. As if the hawks can add rules to warfare, they can make it more palatable to general public and then wage war more frequently. On other side of the coin, if war is just so horrible (many innocents and civilians needlessly killed), then warfare as a business practice for the state will become less frequent. To a certain extent, the threat of global thermonuclear war has somewhat borne out this line of reasoning.
Would that not be a UX issue? Perhaps the warning needs to include the phrase "Failsafes deactivated" announced repeatedly.
That is interesting... Can you point me to any information about Rust and how it avoids array aliasing? Is it because Rust disallows pointer manipulation with arrays?

It's a shame that C prevents these optimisations by default. I suppose that a quick runtime check could see if the arrays overlapped and could then switch to the faster loop style, but the compiler would have to decide whether the loop was important enought to be worth generating the two code paths for.
Let's not minimize Apple's contributions to WebKit. Google may have been the top contributor in terms of commits to WebKit in the months leading up to the fork, but Apple did enormous work to bring KHTML up to speed long before Chrome existed.
[pedantic mode on]
In this particular case, or at least the first test case, the unit test doesn't actually need the actual $location service; a mock will suffice to set the expectation (i.e. the path method returning a path)

For clarity, I'd pull the createController function out of the beforeEach method. Actually, in this case you don't even need to have it as a separate method; simply calling $controller will be enough, since one, the controller does not have any behavior on initialization (besides adding a function to the scope), and second because all public methods are assigned to the scope.

Third, the injector can be skipped in favor of just having the appropriate service names in the call to inject.

I took the liberty to clean up as I'd do it: http://pastebin.com/Vv63J3P5

Same applies to the second unit test. I also wouldn't use the $http service directly from a controller, or mock out http calls using $httpBackend; either use a service that wraps $http calls itself, or ngResource/$resource. Those two can then easily be mocked out in the controller spec (slurpService.scrape(url).andReturn(neatlyParsedResult))
[/pedantic]
Sorry lorensr.me. "Trust me, they're good guys" is not an argument, and in the current context, it can only be read as a small piece of damage-control astroturf.

Or rather, the NSA's perfidy has left us with no other safe default assumption, so we have to ignore on sight. The data is tainted. All of it.
It's hard to be vulnerable to XSS and CSRF with all-static content, no?

So, not only will a trickle DoS other clients, each byte will also force an O(n) traversal of $buf (burning CPU). Granted, buf is only 1000 bytes, but that's not great.

It looks like a request with no space could force you to walk (`repne scasb`) through invalid memory after $buf. Also maybe corrupt it (unescape_request_path).

It will also fail to correctly parse HTTP/0.9 (not a big deal, but part of spec). The parsing code ignores the existence of verbs other than GET. (Doesn't check that the verb is GET either.)

We don't validate that paths start with /, we just skip that byte. Okay:

mov (path), %al
...
cmp $'/, %al
je badreq

Since valid GETs are of the form:

GET /foo.txt HTTP/1.0
^-- path=buf+5

As you point out, a client close will cause SIGPIPE causing a crash (DoS).

That's all I see. But I'm not an asm expert and I'm sure I've missed something.
The difference is that Apple doesn't advertise what they're working on until it's nearly ready to ship. They don't do vaporware. So they're always going to lose out on that comparison.
As soon as it launches, Light Table will be open source.

"Will it be open source?

I'm a firm believer in open source software and open source technologies. I can guarantee you that Light Table will be built on top of the technologies that are freely available to us today. As such, I believe it only fair that the core of Light Table be open sourced once it is launched. At some level, this is an experiment in how open source and business can mix - it will be educational for us all." - http://www.kickstarter.com/projects/ibdknox/light-table
> it's the focus on things that don't necessarily have a path to revenue yet. Everything Apple does is product and revenue focused.

You don't know that. It's widely reported that the iPad (tablet) project was started even before the iPhone project then shelved a few years. Of course the iPad is the past but it should serve as an example of what was developed in the early-mid 00' you only discovered its existence in the late 00' therefore it is not unreasonable to extrapolate that you will only able to tell the story of the current projects in a few years from now. Sorry to break your narrative. It's not because you don't see any press release that there is nothing going on in Cupertino.
The aircraft has to support it, but the airport/runways no longer need to. ILS is being deprecated for synthetic glidescopes using GPS, as your precision is higher. DGPS is installed at the airport for increased position resolution, but the aircraft can fail back to WAAS in the event DGPS is unavailable.
I meant that the NSA is only looking at your information if a judge suspects that you are a foreign agent. It will not look at your information to determine whether you have done something else illegal, which is what it would do if it were part of a police state.
Evolution certainly works much slower in a near-equilibrium scenario.
Hi there, a couple of us HN regulars are putting together a site to connect devs with science projects. If you're interested in hearing when it launches, drop me an email: davedx@gmail.com
So... what are those? The Google X complex? The secret Take Over the World labs?
http://www.vim.org/scripts/script.php?script_id=2375 this seems to get a good chunk of the way there. Yes, vimscript absolutely sucks, but vim makes up for it by allowing one to write hooks to pull in pretty much any shared library you can think of. One can also embed python, perl, ruby, etc into vim pretty easily to have it available as well.
Well, in C you can definitely do that:

return (x == 5) ? foo : bar;
As a US citizen, I assume foreign countries (esp. China) spy on me. But I don't go around bitching about that. Why? Because the US will protect me. China cannot hurt me.

On the other hand, when the US spies on me, I am much more threatened, because nobody can protect me from the US. If the US turns against me (for instance, for supporting the Tea Party), declaring me part of a "violent organization", I'm in real trouble.

tl;dr compain about your own country spying on you, not other countries spying on you
True, but you have many ways performance can be improved.

On this specific case it was developer helping the gcc optimizer. These type of optimizations could produce worse code in another C compiler.

Sometimes the code is already fast enough for the problem being solved, other times rewriting the algorithm could improve performance.

Only in cases where every ms counts, does helping the compiler really matter.
As the reply in the original article explains, it is discussing the implementation details of such a function (which could equally exist in a C library). Simply saying 'call a library function' doesn't help anyone understand what is going on behind the scenes.
No offense taken. I was not asked to write this, nor guided in its contents by the government.
> I've never quite got this. Spend any time writing code that's not using classes and you end up reinventing OOP anyway.

Only if you start with C. I find that if provided with reasonable alternatives (like function composition) or consistently restricted problem domains (vector manipulations) you very well might never create anything resembling objects.
For all those that are arguing that Google isn't Bell Labs because Bell Labs invented more stuff and gave it away: there is a reason for that: Xerox PARC.

Xerox PARC is the Bell Labs of the computing industry, and its spectacular failure to do anything to help Xerox hangs heavy over commercial research labs in computing.

Google is determined not to let its lab projects be another Xerox PARC. For better or worse that means there does tend to be a profit goal at the end of most of their research.
"If you’re a C developer looking for speed (and security) you might give Raphters a look for your next web project."

I had a laugh, mixing C and security on the same sentence.
Yeah, I personally file that under "Lessons You Never Learn Enough Times." Glad my slowness could be of service :)

In retrospect, it seems like something I should have been able to deduce, since it's kind of the only thing makes sense.
Nice that you are a patriot and that you are all law abiding types. We need more people that do not ask questions in those positions...
Importantly, both Awlaki and his teenage son who was later targeted in another drone strike, were both American citizens. You can argue as much as you like in favor of the joys of murder and assassination as a way of organizing the world, but there is no conceivable argument that this is constitutional.
Yes. If the syntax breaks older browsers, many developers will avoid using the feature entirely.
How do you know we're talking about milliseconds here? These changes might save hours on a big calculation.
AT&T Invents New Technology to Detect and Ban Filesharing
> Even if you are not a citizen of the Five Eyes, you shouldn't be worried about your data being viewed unless you're involved with a group of interest, such as a foreign government or violent organization.

Is the US Tea Party considered a "violent organization"? (It's not, but that's a separate issue.) If not, can you guarantee that it won't be labeled as such under some future administration? The IRS is already targeting the Tea Party, so we have reason to believe that certain US political actors are not interested in abiding by objective laws.

If not, why do you defend the NSA?

Though I'm a US citizen, I'm sure one of the other Five Eyes countries can be employed to spy on me.
Great Song Happy That i Loved You by Eli *Must Listen*
Doesn't gcc's "-funroll-loops" do the same thing? This looks more manual work to me, unrolling loops by hand.
"Even if you are not a citizen of the Five Eyes, you shouldn't be worried about your data being viewed unless you're involved with a group of interest, such as a foreign government or violent organization."

Huh, so:

- My best friend's dad was a spy in the CIA

- During the 70s and 80s my dad worked with Russian scientists (also ones from Poland and other Communist Bloc countries). Ecology stuff, mostly.

- I've been in "interesting" circles in the crypto arena, and know people who are almost certainly under surveillance.

So, how likely is it that my email is read, that my phone records are looked at, and so on? What are the chances that I'll have trouble the next time I cross a border or try to board a plane? One percent? Fifty percent?

Am I going to get my Name on a List because I've said that we need to stop allowing the NSA to build more data centers? That I think that Dianne Feinstein needs to be removed from office?

I don't do anything that interesting and my life is quite frankly pretty boring; my personal concern about any damage from someone looking at my emails to Mom is small. But I'd still like the government to get a lot smaller in this area because I'm afraid of what things will look like ten years from now, when data mining the innocuous stuff you did fifteen years earlier gets you Special Treatment at those DUI stops.

The "developed capacity equals intent" bullshit works both ways.
This is the point of an intelligence agency, no?
The gist is that you should not value your privacy if you have nothing to hide.

This principle is absolutely forbidden to be reversed, the secret workings of government agencies are protected by the highest secrecy.

What do they have to hide?
Thanks for letting me know about parallel construction - I hadn't heard of it.

You're right, abuses probably have happened more often than those caught.
Precisely. At Bell Labs, Shannon was employed as a pure mathematician. That is how he invented information theory. No one at Google has that freedom.
Actually, it's a man, but otherwise you're right.
> “Girl” was one of those boxes, and he lost a killer co-founder because he couldn’t let her win.

in all fairness, these same alpha male-types do the same thing to men they perceive as non-threats. most of them have no problem pigeonholing men they deem weakly inferior into the same category as "useless slut." the best way to deal with them? emasculate them in every which way right from the beginning.
Did you mean to say that the person in the second example is a seller? (147 is cheaper for a buyer than 147.05, the NBBO. You "lift" an ask not a bid).
@FireBeyond

Straight from the horses mouth:

California income tax rate: 12.3%

California C Corp tax rate: 8.84-10.84%

https://www.ftb.ca.gov/forms/2013_california_tax_rates_and_e...

Federal income tax rate: 39.6% (43% 2014) [no citation needed, I trust]

Side note to you: Read around, beyond the NYT/CNN/FOX/etc propagandists. You'll find, I trust, that the US does in fact have more progressive taxation overall than most if not all OECD members. I've spoken with a few researchers and they've unanimously backed up this "finding". Tough to compare such data across nations and jurisdictions, but it's possible to get a general idea.

Want to really blow your mind? Look into enforcement - appears the US is far stricter on US rich earners foreign income than rest of OECD as well! Universal taxation of citizens is quite... remarkable.

To say nothing of my own reading of the OECD's GINI adjustment nonsense. But I don't want to make you too dubious too early. I'll leave that one for later.
Interesting to get a look at what it's like to be inside the bubble. It's compartmentalized enough that the individual actors can justify their actions by the assumed competence and benevolence of the others.

> I didn't test it, but I'm sure there was automated analysis that prevented or flagged use of US selectors.

The mental leap here is subtle, but substantial. Since I have been told I can't use US selectors , I assume the system enforces this. As such, US citizens have nothing to worry about. However, in the immediately previous paragraph, he noted:

> one employee spied on a spouse

So much for automated analysis, besides not being able to filter out US citizens' data it can't even filter out an employee's direct family. But there's no need to worry citizen, the NSA has a very high-quality workforce.

In the NY Times this morning was a piece noting that the government has concluded they don't know what files Snowden took with him (http://www.nytimes.com/2013/12/15/us/officials-say-us-may-ne...). The most technologically advanced intelligence agency in the history of the world and they have no idea what files were electronically taken by one of their own. One of their own who passed the background check by the way--I don't know why the OP is so enamored with the polygraph.
The explanation of "genetic assimilation" seems bogus to me. The expression-based trait doesn't need the gene change to propogate. The genetic change doesn't need to wait for the expression-based trait to appear. Why are we looking at them as being part of the same process, instead of coincidentally parallel ones?
The Ludum Dare 28 page: http://www.ludumdare.com/compo/ludum-dare-28/?action=preview...
> his won't be the next agile, ninja hacker, 1337

I remember words like "hacker" and "1337" being used to refer to people who did reverse engineering, participated in the demoscene or just defaced websites for fun. My, how the tables have turned.
Git-at-me: GitHub Webhook Thingy in Node.js
I agree this is a very weak justification.

But it plausibly is just what a purports to be - a portrait of the mentality of a rank and file NSA employee (I don't see any evidence that he's even "mid-ranking" if "mid" means middle management). That mentality seems to be a fusion of "surveillance doesn't matter if you have nothing to hide" and "America is under siege".

The thing is, it is good that the NSA has a lot of sincere employees are not now simply there for the power. It seems like this means instances of surveillance abuse are only period rather than constant. This puts them above the level of local police, who tend to have a fair of "ex-high school bullies and wanna be bullies". Yes, that's good but given the NSA's unchecked power, if an "institutional drift" towards the cynical use of power began in earnest, there isn't much people could do legally to stop that. And that is very bad.
Being the next Bell Labs is both an honour and a disgrace. Bell Labs funded basic sciences which provided much of the technology you see before you today. Certainly this was a great example of corporate research. However, Bell Labs was funded by a government sanctioned monopoly over the telecommunications sector in the US. AT&T repeatedly stifled innovation (see MCI) and abused its monopoly and neglected to implement the research coming outs of its labs (parallel with Xerox).

Google provides an interesting foil to AT&T. They both have/had effective monopolies over a telecommunication sector and large research operations. However, the differences are quite large. Google has not funded basic research on the same level as Bell Labs. It also is more keen to productize the research it does. Additionally, its monopoly is part of an ecosystem of services on the internet and is not as complete as Bells dominance over telephone lines.

Read Tim Wu's "The Master Switch" for a much more complete history of Radio, Television, Film, Phone and Internet communication companies in the USA. It's a fantastic read and provides the background for intelligent conversations about the telecommunications industry.
If you've got a good car, give rides to people on uber or lyft.
Does pidgin still save your password in plain text (or base64-ized) in a configuration file in your home? I haven't used them in years because of this, and we also banned it in our company to avoid mistakes.
Show HN: crowdscore.io Tracking customers journey - SaaS
This is not unlike what every freelancer faces. From my own experience, interleaving work and time off is hard, so don't bet too much on that. It's way more productive to work 4-6 hours in a row instead of eight hours on and off.

Most importantly, do not work on sundays as a norm! It will completely wreck any vestige of being 'off work', and you'll catch yourself on a monday evening wondering how long has passed since last weekend.

YMMV, I'm sure there are plenty other people here who can give you good advice. Good luck and congratulations! :)
I think of "socialism" as "unlimited redistribution of wealth." But the definition you gave checks out as far as I can tell from common sources online.

So I may be using the term in an unconventional and confusing way.

That said, how would you describe a system with high taxation and redistribution of income, but without state ownership of the means of production? (That is how I characterize the US mainly, plus massive reuglation.) There needs to be a word for it.

"Socialism" seems to fit pretty well. The definition you are promulgating seems too narrow and technical. It doesn't really matter if the state owns the means of production, or simply seizes the profits created thereby. In the end, it's the same.
>Apple is more or less only making safe bets,

Again, you don't know that because Apple doesn't use Research as a PR platform. Apple tinkered with something like the Glass.[1] It would be naive to think Apple R&D isn't tinkering with similar ideas. However Apple's marketing approach is very different and Apple on recent doesn't try to sell you on ideas that are 5 years away. Which is entirely why I'm hesitant to say "Apple isn't doing anything and Google is flying to the moon." In reality both companies are looking into very interesting products, the difference is while Google is telling the world, Apple would crucify anyone who leaked a blurry photo.

[1]http://www.theverge.com/2013/9/10/4714680/apple-developed-go...
No, but one could imagine choosing an editor because of some "look what cool thing I can do in X" article.
So, you would say that information theory has nothing to do with biology? Because that's what your first sentence implies.
Any feedback much appreciated, we have got 1 client on board in the first week so hoping that not just beginners luck :-)

http://crowdscore.io
Agile and Waterfall, buzzwords in the same class in my world.

It's an odd thing to witness; when management finds a new cure-all for their software development and IT management woes (in my place, these concepts have been extended to DBA's, BA's, Cognos jockeys, etc), as there is an almost childlike enthusiasm and loyalty to this new silver bullet concept.

I feel like the rift occurs right about here, and the blinders go on for the suits while developers and other plebes shake their heads in disgust, as another wave of "paradigm shifting management strategies" sweep their inboxes with mandatory training meetings and promotional material from Gartner and the likes.

The biggest issue is that we all want the same thing: Good Software Development, but the business environment seems to hammer technical workers with the same insanity wrapped in a new packaging, sold down the line from some haughty focus group that contracted an outside company for a $100k "Agile training package".

The only place I've ever managed to get past all of this cruft is when freelancing with a small team directly with a client; this has never happened at my day job.

Never do we worry about specific methodologies, just three people coding and skype / irc / email with clients. Treat people like humans, and learn to say no when appropriate. Good software development is just organized, civil cooperation.
Be careful what you wish for. The True Believers are the most dangerous. Cynics are more connected to reality.
Yeah, all that custom silicon Apple produces just gets magically pulled out of thin air. No research there at all. Nope.

Or all those patents we see coming out of Cupertino that frequently have nothing to do with products currently being produced. Definitely no research there.
Obviously the analogy breaks down at some point . . . but yes, I will check out that book, thanks!
> Women represent less than ten percent of venture capitalists, according to the Kauffman Foundation. Per Pitchbook, only 13 percent of first-half 2013 venture investments went to women.

When I do those numbers, it seems being a woman is a very significant advantage in this case? 30% above average success rate?
Agreed. I've watched in dismay as their focus has shifted over the years from "#include <beer.h>" mugs and t-shirts with Larry Wall quotes on them to almost exclusively TV and movie merchandise. From my vantage point, it's not that geek culture has gone mainstream and brought Thinkgeek with it, it's that Thinkgeek has shifted to a more mainstream focus and away from geek culture. Not surprisingly, it's been years since I've ordered anything from them.
Good to see some fantasy NBA fans here! A friend and I finally released Fantasy MVP (for iOS). It's designed for users who have multiple Yahoo! and ESPN basketball leagues. Get all your scores in one easy to read list, no more switching between apps, and no ads. I just wanted one scoreboard for all my leagues, so a friend and I built this.

Try it out! https://itunes.apple.com/us/app/fantasy-mvp/id738774993?mt=8...
I know what you mean. I probably should have called it a "personal challenge."