skysight-inc/HackerNews huggingface dataset:
Not that we have great statistics on it, but it would seem that the odds of getting killed just because you're in the defense industry are negligible.

You should be more concerned about traveling on the highway, traveling by plane, the food you put in your body, the amount of exercise you get, and how often you risk being hit by lightning.

That said, if you find yourself in Asia being asked by agents of foreign governments to violate US security concerns... smile and nod your head then hastily get your ass to the US Embassy for debriefing and extraction.
Show HN: Generate useful .gitignore files for your project
NAT and PAT: a complete explanation
Morning HN,

OP here. I wrote this little utility to help speed up creation of my git repositories. I realized I was looking up the same .gitignore files over and over again for each project. Feedback would definitely be appreciated on everything including code, layout, and the command line utility.

If anyone here is a Windows guru and knows how to create a one-liner in Powershell or Cygwin that can curl my site aliasing a gi command, could you please email me. My contact info is in my profile.

Cheers,
Joe
Well the same about finance is certainly said, even by billionaires, like Warren Buffet. Paraphrasing Buffet here:

"The biggest tragedy of our time is that so many brilliant minds go work in the finance field"

and also, still Buffet: "Finance is the crumbs of capitalism".

Now I'd say that the reality is quite complicated: nearly anything that helps grow the GDP has a positive effect on technological progress.

Even finance, by providing liquidity, plays an important role. Now when a country like the UK has 8% of its GDP coming out of the city obviously there's something inherently rotten: you can't just have an economy made of nothing. 8% of finance is way, way, way too much and it doesn't take a genius to see were we're heading: major crisis after major crisis. These "brilliant minds" in finance managed to create crazy derived products totally unrelated to the fundamentals of the economy and it cannot possibly be good.

So it's all about finding a % that works, just as with everything. Let's take the "geniuses" that go into politics and raise public spending in a good Keynesian fashion to 67% of the GDP like Sweden in 1993 (recent The Economist article)... Government deficit running out of control, public debt accumulating fast and, eventually, lowering the % of public spending to saner level (49% in 2012) and reducing the public debt.

There's a place for ads. There's a place for a disrupting company like Google who brought us so many things (including a free OS for smartphones, cutting the grass under would be monopolist' feets like Apple or Microsoft). There's a place for finance. There's a place for reasonable public spendings (what there probably should be no place for are crazy socialists who are going to use intellectual terrorism to get elected and then constantly raise the power of the state and raise public spendings, constantly strangling the public sectors and destroying the entrepreneur mindset and, inevitably, leading to state default and authoritarian states).

The question is: "Which % of the economy should it represent so that we work efficiently?".

Just as with nearly everything: "Which % of the GDP should public spendings represent before there are diminishing returns?" (hint: it's way lower than what socialists think it should be but I'm still a statist: I'm not an anarchist and I do believe there should be a reasonable state).

Mostly, I'm siding with Buffet and with GP here: there are two many great minds working on too many bullshits.
> they need to adapt their businesses to the realities of this century's technology.

You say this like it's immensely easy.

So say you're head of HBO's original programming dept. It can cost over 100 million dollars to produce one season of a quality show. You can only release it on a medium that allows it to be continuously and freely distributed. How do you make money?

Ads and Product placement is about it. You really think you'll make that 100 million back?? Especially considering that people could just edit out the ads and redistribute your work, it's really only product placement that could make money.

Operating at a loss is not adapting. There's a reason that all of the content currently on netflix/hulu/etc. is already using DRM-enabled plugins. Because you're a f*ing lunatic if you think you can make money through any other method. Throwing out the same old "they must adapt" mantra isn't getting either side anywhere close to a healthy solution.
I wasn't trying to scare people off of angular, as it's what I am currently trying to use. I find it to be a very good framework, but also plan on checking out ember.js to see if it provides more for me overall or not.
Also in Dutch :)
I certainly don't equate marijuana to beating people (where did that word marijuana came from? It was about drugs. What about Krok? [1] Besides, you could count the victims of the drug scene, the mafia, gangs and everything that is behind drugs, bribe, weapons or prostitution. Buying drugs sponsors crime).

Anyway, back to topic.
The point is that Singapore has one of the lowest crime rates in the world [2], that doesn't come ouf of nowhere and is bought with very strict laws.
Actually i was trying to make a point to not equate your own understanding of legality with another. We are all bound by certain laws and what we take for granted may sound very strange to others. For example, i find it very, very strange that, in the U.S., people are allowed to carry guns. Can't get it in my head. But well...

[1] http://io9.com/5859291/krokodil-russias-designer-drug-that-w...
[2] https://en.wikipedia.org/wiki/Crime_in_Singapore
Heroku Alternative - My Managed Metal Private Cloud or Metal MVP
My Managed Metal Private Cloud or Metal Alternative

Sick of the Heroku/EC2 magic and want your own dedicated VPS or server?

I'm very interested in starting a business to build an outsourced DevOps team and have been doing my own for years.

If you want a single server with a "standard" stack: Ubuntu, Postgresql, Rails, Passenger, Nginx, Nodejs then I would be happy to build the entire thing and manage it. All I need from you is your ssh key and I'll give you the Capistrano config you need to deploy. Done! Want to add another app to your server? Email me and I'll give you a new Capistrano script for you app.

I'll charge a $50/m premium on top of your deployment of choice which could be a) a Rackspace VPS, or a dedicated server on iWeb (starts at $79/m).

This is my MVP. If this is popular I'll automate all of this. But for now, I'm happy to help you get away from Heroku.

You can hit me up at jevin@quickjack.ca
I agree. I was almost hit by a truck while crossing Orchard at Grange.
Bought it, and yes it worth the money and is a bit too basic. I think they are planning to do a sequel with more advanced topics, especially regarding ember data.
Last names offer  clues to social mobility over generations
"Americans", you mean Cubans? Equadorians?

Really, you do not seem to be aware of the fact that or people leave in either Nothern or Southern amercian continent, and many of them do not speak English.

Each time any US citizen calls US citizens "Americans" it hurts the heart of hundreds of millions of people.

Shit.
...don't get mad for the question, but: anybody has any arguments for using Perl instead of, let's say Python, these days? (besides the "I already know it incredibly well" argument)

...cause the lack of an answer to such a question has only one conclusion: the language is dying, even if this is not already happening in a visible way!

(don't get me wrong, I'm not a Perl hater, and fyi, I think the world would be a much better place if Rasmus Lerdorf would have learned Perl and written a nice Perl web framework instead of inventing PHP :) )
Well, Google could probably add it to Chrome. Chromium users, however, wouldn't get it. They already do this with the proprietary PDF viewer [1]

[1] http://googlesystem.blogspot.com/2010/08/google-chromes-pdf-...
Challenged accepted!

Just kidding. :)
This same method can be used to extract encryption keys from RAM on a desktop computer.
https://citp.princeton.edu/research/memory/
It is not a matter of "heuristic", it is a matter of basic respect you have for other people living in other places.
Ember has changed quite a bit from its SC roots. I would probably use Angular over SC myself, but if given the choice to use Ember would much rather use it.
That is not true, since there is a significant commercial part of the BBC and since the parts of the DRM submissions quoted referenced reasons of control over BBC identity (mixing streams etc.).

But lets say for the sake of argument it is true, then there would be no need for the BBC to actively campaign on a part of a standard that they themselves would not/could not have elected to use and would only be imposed on them by others.
inDinero is seeking for, what they call, Lead Software Engineer for months now. I remember this because I would want to work there but they are seeking more than one person.

What went through my head when I read the job ad.

"Are you self-motivated? Do you strive to be the best? Do you want to be an integral part of our explosive growth?"

- Yes, yes, but I don't like explosive things.

"you'll have to be super smart, well-versed in CS concepts and studies""

- They are probably going to ask me to implement sorting algorithms on a board, from their website their product seems simple, no need to back to my old algorithms book, who knows.

"Both founders (Andy and Jessica) studied computer science before starting the company, and they wrote most of the initial code until product launch."

- Ok, I will be dealing with a lot technical debt.

"...you will communicate across our accounting and sales teams to discover what will make our clients super happy and what will help us increase sales in new verticals..."

- I'm sorry, this is not what a lead engineer does. No serious engineer would want to do that, I would be busy enough dealing with technical debt, implementing new features and actually leading a team of engineers.

"Looking to the long-term, you will also need to upgrade Rails, make sure our servers will scale, ensure high-security, and modularize key parts of the code base. We know that even if you're leading a team you'll probably still want to spend time coding, so this role also affords the time to do hands-on programming."

- See, you want more than one person. And you clearly don't really understand the role of a lead engineer. You are asking for a CTO/Product designer/Engineer.

This is why I didn't even consider applying.
I find that libertarian types love it. Its dystopia is closer to their own dystopia.
Just that KJS -> JavascriptCore. Is that understood as part of KHTML/WebKit?
Prior to the 1.0 RC, Ember's API changed a lot because we were seeking for the best abstractions. We didn't want to lock ourselves in when there was a better way to do things. Now that we've hit 1.0 RC, the API is generally frozen. We'll only break existing APIs in exceptional cases. Once 1.0 Final is release we'll be sticking to SemVer.
That's great to hear that Concrete5 is working so well for you! I'd be interested to hear more about the "inline" editing feature.
Windows 3.1 was not released until 1992.
Really though, they're announcing this strategy publicly because they really don't want to be sued and are trying to get the Pirate Bay to back down.
>We should be paranoid. Media companies do not have our interests or the interests of an open web at heart. Give an inch and they'll take a mile. Why shouldn't they? The fact is that DRM benefits media companies almost exclusively while seriously harming user freedom. That's not vague paranoia, and imagining it evolving into something worse isn't an unfounded fear either.

It is vague paranoia. You're still just throwing out rhetoric without any concrete reasons. It doesn't harm user freedom, I don't know how to express this any clearer: "THEY'RE ALREADY DISTRIBUTING THROUGH DRM-ENABLED PLUGINS". All this would do is standardize it and allow users to access DRM content from website like hulu/netflix without needing two different private closed-source plugins.

>Do you mean logging in to Gmail? That has nothing to do with HTTPS. HTTPS ensures that two parties can communicate in any way they wish without being eavesdropped on. (And it also suggests trust, but that's a different issue and the spec allows the same eavesdropping protection using self-signed certificates.)

>In fact in most any client/server HTTPS connection one party is going to have what amounts to "total control". I don't understand how DRM within HTML is fundamentally changing that situation. It's just giving the server copy protection over the media it allows the client to access. It eliminates the need for plugins such as silverlight/flash/etc. that are already being used. It's not like these content companies hand out their media unprotected as it stands.

You're still ignoring the meat of my argument. Lets just drop the whole HTTPS analogy/credentials analogy. The rest of what I said is still valid.
Is Angular the JS frameworks for hobbyists?
I have been playing and trying to built stuff with Backbone and ember few times.

JS is the language of web and it needs to be known but alas (or luckily) I'm not a daily JS developer and code most of the times in python so I'm far from mastering it.

My main issue was that I was hitting the learning curve every times I was coming back to my backbone or Ember code. Why? probably the lack of experience in JS, the amount of boilerplate code, the lack of structure/guidance (too agnostic for an hobbyist)

Recently I gave a go to Angular, it feels good! Clear codebase, very explicit and so very easy to come back into it after few days.

I'm not starting the debate which is better or not. But I thought that it was maybe just a very well suited framework for people like me who develop backend most of the time WHO ARE JS HOBBYISTS ...

Any feedbacks ?
I honestly don't think that The Pirate Bay admins will chance rising to this. It is probably a (very obvious) ploy by CIAPC to trick some of TPB's admins out of hiding and put them in a court setting. Rather than rising to the bait with the threat of a lawsuit, they should have laughed, made a joke or two and moved on.

I don't think it will be long before the cloned site will be hijacked in some way and turned into a pirate bay proxy or simply nuked into oblivion by the numerous TBP defenders.
It's not just you, it's a pretty oddly designed layout for a landing page.
This was only true briefly. The guides on emberjs.com reflect the currently released version, 1.0 RC. Since we've hit RC the APIs are now frozen.
Given the spread of the device APIs that Mozilla was forced to develop for Firefox OS, I think it is clear that Firefox OS has already done more for Mozilla's mission than maintaining the previous embeddings ever could.
Right now on the top page: "	Multi talented developer wanted for YC company"
Multiple domains names per blog, too?
It was just a domain name.
The docs are actually quite good now. As we've just released 1.0 RC, the API is also frozen which will help the docs improve even further.
Were you trying to start a conversation to discover their pain around the problem you think they have?

It sounds like you were pitching a solution already. You should have a problem and a "customer" in mind, but not be sold on your solution, yet. More than likely your solution isn't right, but talking to customers will help you refine your solution into one that will solve their "pain".
Ours is basically a CRUD App, i tried to build it in Ember.js but gave up after not finding an step by step getting started (like the one in angularjs homepage),

after that i started to learn angular, it had an step by step guide and working with ng-repeat was such a bliss, we were able to launch a simple billing system in about 5 days using angularjs, egghead videos help me whenever i find something difficult to implement (like 2 way binding between controller and a directive)
Wow.. I've been using Perl heavily for the last three years and he still managed to cram some amazingly useful stuff I didn't know into that short talk.

Well worth watching if you still equate "Perl code" with "line noise" :)
Because the browser is an open stack. There are many layers interacting from the network protocols up to the rendering and scripting engines, and they are all open. The implementations are generally open, but more importantly it's possible to look into the data itself. You can see why this is a problem for DRM. To "properly" lock it down, you'd have to close the entire stack, and then you'd have to outlaw open source implementations. The whole thing is just not designed to disobey the user. Keep in mind that this would have to cover the entire chain, from the network connection all the way up to the screen you are allowed to play the content on.

For that kind of DRM to work, your browser would have to be turned into a black box that is difficult to inspect, designed to be controlled entirely from remote, and illegal to alter.

If this series of events were to unfold, closing the browser would not be done to benefit the content industry directly. They don't need that to deliver content, because they can always just put out an app and pump out their stuff that way. They can also just make a plugin if they want to deliver video content through the browser - which would possible with current technology today. That's not why they are proposing this. Instead this move would serve solely to restrict user freedom to use anything but approved apps for approved content.

So to make it clear why this outrage exists: there is absolutely no technical need to include this natively in HTML5. The proposal does not aim to give something to the content industry, it is instead designed to take something away from everybody else. That's not a subtle difference. But, as I said earlier, it's doubtful it will/could play out this way. The only way to achieve this "dream" is by making the web as it exists today illegal to use, and then enforce that ban through extensive ISP surveillance. In which case a DRM solution for HTML5 wouldn't matter anyway.
>Pharmaceuticals are a good example

The pharmaceutical industry also provides us with plenty of opportunities to pick on them. Take a drug that's about to go off-patent, make a trivial change to their process, get a fast-track approval from FDA (because it's essentially the same), and a new patent (because it's new and improved!). Competitors play this game too, making copycat drugs which are very similar enough for marketing, but just different enough to deserve their own patent. I'm having a hard time sympathizing with any pharmaceutical company. Disclaimer, I'm almost done reading Goldacre's new book.
Thanks for your thoughts. I agree that WordPress is very powerful from a sysadmin point of view. I also mention in my article that I'm not necessarily suggesting that things need to be fixed on the back end. However, from a Client front end editing perspective some things need to be made a lot simpler and easier.

Also, there need's to be a way for us as developers to create more complex layouts like 3-Column responsive designs, parallax scrolling sites etc.

I'll be sharing more of my ideas for WordPress and what we as designers/developers can do to help WordPress be a better solution for our Clients over the next several weeks.

I'm interested to hear what some of the code bugs are that need to be worked out.
Flash and silverlight have offered DRM capabilities for years and only a small minority of websites have used them.
The current DRM proposal [1] requires specific platform-specific CDMs (content decryption modules) that are not prart of the the browser. Those can be anything, from an open source module with cross-platform support to (most likely) a closed-source binary distributed by the OS and not available for use by specific browsers.

[1] https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-med...

More reading

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20944
http://arstechnica.com/business/2012/02/unethical-html-video...
iPlayer already only supports a few specific web browsers that have particular proprietary plugins installed.
I'm curious how this would run inside an Android webview. Anyone have some hardware to try it out?
This is hardly a new attack, and certainly isn't Android specific (as suggested by the article).

Similar attacks have been demonstrated on PC RAM for the recovery of similar encryption keys.
Sure, multi-tier has been a focus from day 1, so a common example is a workflow where you want to hop between tiers of a 3-tier application, touch load balancers and monitoring along the way, and so on... that's all trivially possible primarily because it's push, not pull, based. Ansible can both code up and execute those kinds of workflows very quickly. A major core other aspect is not requiring any agents on the remote nodes, not even having a server, and not needing an additional PKI. Because it's using SSH, it's using your OS credentials, so if your boxes are, for example, using Kerberized SSH, that just works out of the box.

The resource model is still very puppet-like (state=absent/present, idempotence, etc), in that we have states and convergence, but I have tried in many places to not make this a programming language, and keep the amount of syntax down. A key focus was making the content readable, so you didn't have to think about dependency ordering and could tell by skimming the playbooks top to bottom exactly what they will do.
Please teach me how to get traffic for my campaign
Dear Friends,

I designed a really good product - the Orobis Transform. But I just cannot find a way out to promote my campaign. The generous ThechieDIY editor, Tom, who told me here is my chance to get help. Is there anyone could teach me or help me? This is my campaign: http://www.indiegogo.com/orobis-transform
- CPAN

- efficient and compact regex scripts

- one-liners.

Of course, some of these could be considered a reason NOT to use Perl depending on your specific circumstances.
If we are able to play games which required a fairly decent PC 15 years ago in a web browser today, imagine where we will be in another 15 years time.
We need a standard for DRM for Netflix, Hulu, etc. Otherwise they will forever use Flash or Silverlight. How can anyone argue against it? Content providers must protect their content from being stolen. Do you want to make an app and everyone steals it and doesn't pay for it? Probably not.
I suspect the only reason PoBox/Veber are now filing a trademark is to pre-empt a challenge on the domain. They are just domain squatters who got hold of python.co.uk and now see it as investment -- possibly one of their last chances at surviving, seeing how they're rumoured to be £ 300k in debt.
I will take the desktop over the web any day for complex applications.

My experience in web development projects makes me every day more convinced that the only thing the browser is good for, is documents.
> “We are outraged by this behavior. People must understand what is right and wrong. Stealing material like this on the internet is a threat to economies worldwide,” a Pirate Bay spokesman told TorrentFreak.

Hilarious!
It is not at all the case that every film they show that they do not make is on iplayer. Most films are not. Most the content they make is on iplayer, but not all content they don't make. Not all content is even available in the live streams, eg sport which has other rights.

I would be happy for only BBC-commissioned content to be available without DRM and the rest to be not available or use plugins. Or indeed I would be happy for the BBC to not broadcast the output of Hollywood etc which is easily available elsewhere commercially eg on Netflix or Sky. I do not think that showing "Madagascar" is really a public service...