skysight-inc/HackerNews huggingface dataset:
Angular supports many styles of markup. Other valid forms of that snippet are:

Using xml namespace: <input type="checkbox" ng:model="todo.done">

Using underscore in the attribute name: <input type="checkbox" ng_model="todo.done">

As an x-* attribute: <input type="checkbox" x-ng-model="todo.done">

As a HTML5 data attribute: <input type="checkbox" data-ng-model="todo.done">

I think their may be a few more, but in any case, Angular is flexible enough that you can choose the representation that is best for you and your team.
Using Raspberry Pi for CCTV with Zoneminder
Why does it have to be specifically RCE? Here are some lists of Firefox's and Chrome (fixed) security vulnerabilities. Browse the lists and you'll find plenty of critical issues related to Javascript.

http://www.mozilla.org/security/known-vulnerabilities/firefo...

http://googlechromereleases.blogspot.com/2009/08/stable-upda...
Their banking is, just not the insurance.
There seems to be a common misunderstanding of what protest rights you have in the US. The first amendment does not give you the right to protest anything, at any point, in any manner that you want. In fact, the government has a duty to protect my rights if your protest in infringing on them. The Occupy movement is another group that completely failed to understand that fact. You are legally allowed to protest, but preventing someone from going to work or class is a quick way to get your protest shutdown. I don't think it is unreasonable to extend that same logic to DDoS attacks.
Anybody still supports IE6? I forgot it like a bad dream.
Using event loop lag is pretty clever. I think I first learned about event loop lag the hard when trying to do DOM animations that relied on setTimeout intervals without checking the current time.
Android Development Tutorial: Part 1 – Take the First Step
Don't we love CSS? it's so easy to do both complex things like 3D animations but also simple things like position something centered horizontally or vertically by just saying align:center, oh, sorry, it's margin: 0 auto, right, no? it's left:50% with a relative inside an absolute div, or was that an absolute div inside a relative span?

ok so doing it vertically is really easy, it's valign:middle, oh, wait, I'm confusing yucky table layout, it's much simpler, it's, ehm, line-height or something, or vertical-align, but only for text, sorry, silly of me, I just do top:50 and the relative inside absolute trick again (or vice versa, one sec let me check in JSFiddle),

Ok aligning might not be a good example, but it's so easy to have something snap to something else, like this DIV top right corner should always be on the buttom left of that other div, oh, can't do without some jQuery code? of course you can, let me go to codepen and show you for a sec, ok, never mind that, at least it's so easy to columns (more than exactly 3) that one of them is fixed width and the others are variable width, that's why we have float:left, float:right and well, nevermind.

But I can have a left navigation bar that will stretch to the bottom, or have a footer that will stay down when resizing, it's all easy and done without any workarounds or tricks or endless trips to stackoverflow or using zurb foundation / bootstrap.

So I'm surprised that a simple thing like putting something on top of the other got to be so complicated, well, you can't have it all, nothing is perfect

</rant>
But it won't. I certainly hope MIT makes serious changes in its leadership and ethics (if it turns out, after all, that MIT was in some way responsible -- that's still very unclear), but that's not because anyone's DDoSing MIT, it's because I can see the story.

If there's a bug in your system, fix the bug. Don't delete a file in another directory and call it change.
I think this opening line works better for people that don't use 24 hour time (namely Americans).

That is interesting, because Orwell was British, and I am fairly certain that 24 hour time was adopted in Britain before 1948.
Oh, I'm on it.

I have the endurance of a strict motherfucking son-of-a-bitch.
If you shadow ban someone, they will just re-register. I was shadow banned here a few months ago. I re-registered. It did nothing to deter me. What I actually did to deserve the shadow ban I have no idea. Maybe I disagreed with the wrong person?

All it did was make me lose a bit of respect for the people who moderate this place. If the mod had actually sent me a message telling me why I was banned, I could have at least learned from it.
> YOU CAN DO 95% OF PRESENTATION LOGIC IN THE HTML

For us developers that have fought for years for separation between content, presentation, and logic, this is the very reason Angular/Ember/Knockout are not as popular as Backbone or other frameworks.
Mozilla Foundation is non-profit. Mozilla Corporation is for-profit, and makes most of its revenue by selling the default search engine slot in Firefox to Google.

>I think the companies listed only develop Open Source software and sell services.

That's true, but I think it's looking at the situation completely wrong. It's sort of like saying that making left shoes is unprofitable because there are so few successful businesses that exclusively manufacture left shoes.
I've been in the Myspace beta for a while, these were my initial impressions on it. I'm meaning to write a follow up to it.
http://hasablog.tumblr.com/post/37090712393/the-new-myspace
Those are their home pages. The home page just changes depending on whether you're logged in.
I believe Google Earth's Windows download does the same thing: there is a checkbox to download Chrome as well and set it as the default browser, and it's checked by default. On the download page, not in the installer.
Why would anyone want to have on their side people who choose to give money to support a murderous anti-freedom organization like MIT?

You know what it represents now. You choose to continue to be associated with them. That is not an innocent decision.
You can't assemble if it infringes on any one elses right to get to a public destination.
Depends on who you have on your friends list. I have a few from my days of living in Mississippi, its always quite interesting what they believe, and maybe quite shocking.
The concept that ignorance of the law is not an excuse is certainly critical here. The principle exists since it would be easy to simply claim ignorance.

At the same time, the concept of "mens rea" or "a guilty mind" plays an important part in criminal law. If you knew what you were doing was wrong, and you did it anyway, that establishes intent. For example, you can't typically be punished for trespassing until you've been told you are trespassing (hence signs that say "Posted - No Tresspassing"). Once you continue onto the property, you've committed the act overtly, and are therefore guilty of a crime.
I suppose it's only natural. Us religious folk have had thousands of years of practice with people being religious for the wrong reasons. Now you atheists finally get a chance to experience people being atheists for the wrong reasons.
No, it takes you exactly where you'd expect... back to the first page you see after logging in, so the "home" page. The left side right now is Justin Timberlake, the right side is your newsfeed with posts from whoever you're following.
If the effect of a 'protest' is to prevent people from accessing online information that they'd like to access, it goes against Aaron's anti-censorship views.

Every bully wants to 'discomfort' their opponents into changing. Those who use DDoS are more like the federal prosecutors -- making 'destructive' threats, expecting change through punishment -- than Aaron.
Yeah I was comparing a DDoS to lunch counter Sit-ins of the 60s. During the civil rights movement blacks and other protestors would overwhelm a restaurant taking up all the space at the counter until the owners agreed to meet their demands. It's a proven non-violent protest that works and is very similar to what DDoS does, except instead of human bodies filling up a restaurant you're using http requests to fill up a server. Sorry for the lack of context in the original post.
But now they are saying that never talking to police can be used as evidence against you.
This is definitely neat; it's a simple, clever way to fail somewhat-gracefully.

Interestingly, this is one piece of a broader strategy for building scalable web applications, addressed in Matt Welsh's thesis (SEDA):

http://www.eecs.harvard.edu/~mdw/proj/seda/

If you haven't taken a look at the ideas in SEDA, it's definitely worth the time. Most modern web apps incorporate at least some pieces of it to great effect.
Going from being rich to poor (due to legal costs), facing years in prison, and becoming a convicted felon for life? For running what amounted to "wget -r http://jstor.mit.edu/ " to download publicly funded academic papers?

I think even someone who had never suffered from depression might contemplate suicide. His father's words may be a little too strong, but they're not entirely off-base either.
The fastest way to repeal this garbage law is for the non-christian teachers to start bringing Islam-related supplemental materials and start teaching it to all the Christian kids, and failing them on tests if they answer "incorrectly".
Can we just all calm down? there isn't proof(I haven't seen one yet) that proves that it was DDoS'd, nor do I believe that anyone has come forward to claim it. So why jump to assumptions. When you say,RIP it means to let a friend rest in peace. If any problems are faced by MIT, it shouldn't be blamed on well-wishers of Aaron. Posting it on YC, seems ridiculous to me, as if its a clear accusation, and if its posted here, anyone who did it would just stop.

Indeed it does raises eyebrows, the timing of this, but lets not jump to conclusions without solid facts.

-1 for this article. Sorry Sweettea, No offence meant.
"Should it be a crime? That's an issue for Congress. But Congress decided to make it a crime, and prosecutors have an obligation to enforce those crimes."

They certainly did enforce a crime.
Instead of returning a 503 page it could attach a ticket (by cookies) and say: "Your request will be solved in 55 seconds, be patient". The time calculation is based on statistics in the last 10 minutes or 1 hour...
I've been using qooxdoo for a while. It lets you write cross browser js like you write qt. Worth checking out.
Mr.doob about demoscene and showcasing 3D non linear video editor at dotJS
Once again, Steve Heymann appears to be the bad guy here. Here's the wh.gov petition to have him fired, too:

https://petitions.whitehouse.gov/petition/fire-assistant-us-...
Yeah - you're absolutely right. It's to do with this line:

http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js

It seems Google API's have upgraded this particular URL to point to 1.9 which deprecates jQuery.browser. Technically they need to update their template to use something like:

http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
Autocompletion in Git
I'm sorry, what? If I were attending MIT today, you can bet that I wouldn't drop out of school over some guy's suicide.
Thanks! Lots of stuff!!!!
According to the FAQ there is a private network though I didn't see a way to enable it: https://www.digitalocean.com/faq
I have been on the new Myspace for a few weeks now, and I will say that based on my experiences, and my friends who have also been beta-testing, this article is by-and-large inaccurate. I feel that the intention is to make some comedy out of a criticism, but it reads like the author is going in with a closed mind and has no intention of liking the site- which, I will add, is actually quite simple to navigate, if it does need a bit of feathering on the edges.
The author, for example, interacts with the Myspace logo button twice before she learns that it is not her profile page. But she states it as though it was a sudden discovery after years of searching ("Oooh, PROFILE. I get it. Justin is not hanging out on my profile, just the Myspace homepage. ") Perhaps I, too, am a little biased as well, but I must mention that of my friends who have used the site so far, not a one has had a negative response.
Young people today have more access to information (via the internet) than ever before. Live in isolation you can be brainwashed to believe almost anything. Live in a connected world where you can inform yourself, you make up your own mind, typically (hopefully) based on reason and logic.
They don't ever have to read your rights ... they just can't use your answers in court.
We could do worse than teaching Creationism in schools. Especially why it's wrong.

I've learned more about the theory of evolution from the [Index of Creationist Claims](http://www.talkorigins.org/indexcc/list.html) than from almost any other source (and I studied primatology).

You become convinced of nothing so strongly as when you study the flaws of its critics.
The "long tail" on tools is very true, and something that took me a while to learn. I used to think I could get away with a smaller toolset of more general tools, and to just 'wing it' by using them creatively to solve the problem. But tools are a bit like OO classes: its better to do one job completely right than a dozen jobs not quite right.
Github passes 3 million users
I believe you. Maybe I am wrong for the majority, then. But I arrived at my viewpoint because I used to be someone who disbelieved in evolution. Or rather, I believed in "microevolution" in individual species, which I later discovered in college to simply be evolution over a few hundred thousand years instead of a few hundred million. I believed this because it's what my parents taught me, and it's what I read in books (that they gave me). I haven't given up on my parents yet... I don't like to talk with them about evolution, but I do like to talk about science, and I still think if they truly understood a scientifically accurate model of the universe as we currently understand it, they would accept evolution, and the ~13 billion year age of the universe.

I am still a Christian, but I now understand and accept the scientific method as the best way to understand the physical world. I simply choose to also believe that there are unprovable and unfalsifiable things that exist beyond the physical realm.
As a student you don't get to see much evidence of the validity of what you're being taught. Sure you can do some experiments, but you have to trust most of what you learn from the high-priests of education. I'd say that for a good chunk of education the material has to be taken on trust of authority. It's not really functional to prove everything from first principles, especially before you know the subject!

Of course, once you get to a certain level you can prove all the bits of science you want to prove and you can challenge a religious person to prove the validity their teaching (and see how far you get) but by then I'd imagine the individual has made up their mind one way or the other on religion.

I'd put more credence in the "the penalties for speaking out are much lower" suggestion.
This is a common argument against activism and it's a classic logical fallacy.

You're doing X, but Y would be more effective, therefore X is pointless.

In reality what happens is that someone does X and someone else does Y, and it's not uncommon for the same group to do both.

Fwiw, I don't have any view on whether this attack (if it is one) is justified. I haven't read enough on what MIT have/haven't done so I can't comment.
Fortunately protesting at the ballot box allows Americans some measure of escape from culpability for the actions of the US government, however most are still responsible having voted for Democrats or Republicans, the very ones who have put into place many of the policies that are ostensibly so objectionable.

The fact that people find it impossible to keep their hands clean is a fact of life and of human nature, but that shouldn't just excuse everyone. It should be a reason to try for better.
I don't know that firing people is necessarily the best way to approach the problem. It might make us feel better but it won't solve the actual problem, which is the overly prosecutorial society we have.
Religion is a social phenomenon. It is the codified, formalised expression of a given group's customs and rules (which is why writing it down and letting people outside a narrow priesthood have access to it is generally a disaster - it makes it very hard for the religion to change as the culture does, because there's always someone ready to take the words seriously). Successful religions tend to be those with a significant social aspect. Even churches that are nominally the same religion often have deep divides across the social groups.

With the opportunities young people have now to explore beyond their immediate group, both physically and mentally, it's hardly surprising that religion won't take.
The Problem of Suicide
Start with Yusaf's story regarding Abraham - it would be difficult for an educated, critical-minded person to believe or respect the narrative when it doesn't even have a good moral to back it up. Many stories from the various holy books fail to show the actions of an all seeing, all knowing creator – by today’s standards it would come across as a creepy psychopath with magical powers.

Combine education with technological advancement, better medicine, better understanding of the mind, and the simple notion that you don't require a supernatural sky-policeman to be a loving, caring, empathetic individual leaves religion looking a bit impractical.
Anonymous is planning a protest at the DoJ in Washington:

https://twitter.com/youranonnews/status/291315488477282304
They probably were "personalized" but just missed the mark badly, which wouldn't surprise me. Like the post says, there was "no context".
Pick up a copy of the book "Programming Interviews Exposed", it'll give you a good guide to the standard topics covered in programming interviews. Revise those and you'll do much better.
Does anyone have any insight as to why it is this way? To me it seems insane, but I don't trust my own judgement in domains like this because I've never built anything comparable. Are there really good reasons for CSS to be the way it is?
I have a hard time getting my butt to bed and when I do, my brain is still running a hundred miles a minute. I've been experimenting and here's what works for me.

1. Turn off the TV.
2. Turn on some white noise, there are apps, mp3s, etc. Nature sounds work too.
3. Stretch. This doesnt have to be any hardcore yoga regimen. My back tends to be tense by the time I'm done working so its a good time to listen to your body and work on areas so your body is relaxed. Do this until you do feel relaxed. Sometimes its 10 minutes, other times its 30 minutes. Whichever way, it beats tossing and turning in bed for hours on end.
4. Follow up with a meditation session. Again, no need to follow any regimen here. Just sit, in the dark, collect your thoughts and at a certain point, your mind will be cleared. Its amazing what sitting in a dark, quiet environment for 5~10 minutes will do.

There are a ton of resources about relaxation techniques, find one that works for you. And if you dont want to worry about meditation styles, just sit in the dark and relax your mind or just let it wander. You'll want to learn about meditation as you get comfortable with it.

I know this may sound like some "hippie crap" to some but you'll see how important meditation is. Especially if you've been following HN for a while.

Whichever way, cut the caffeine intake, stop the late night tv sessions (I'm always guilty of this one), and relax.

Good luck.
صراحة اخبار مفرحة.بتابع مدونة اﻻستاذ سامي من اﻵن، واشكرك على تعريفي به وعمله.
Well he could have reviewed the code on a daily basis. He wasn't doing much else with his time. I bet it would take only a few minutes to glance through the code to get enough of an idea what had been worked on. If he was ever asked, he could just push off for a few hours so he could review the code in depth.

He also likely had to keep tabs on the Chinese consultancy to make sure they were producing the work for him.
the distance between knowing 0 Python and being proficient in Python shouldn't be more than 2 weeks, and the distance from 0 to "idiomatic" shouldn't be more than 3-4 weeks... and these are generous timeframes. most programming languages are very simple and i'd question whether even 1 month is going to make a difference, especially when i see companies having the same unfilled positions month after month
I'm sitting here on XP developing solely for IE6.

It is a bad dream.
That is a great distinction. Sadly I've got a bunch of robotics stuff that realize I'll never make into robots.

I gave away all of my 68HC11 gear, the boards, the chip programmers, the data books, the spare chips, everything because I realized I was never going to build another robot with a Motorola 68HC11 at its core.

Now of course, I don't miss it, but at the time, shipping it out to the silly silly folks who offered to take it off my hands it felt like giving up some precious treasure. And I realized the 'treasure' was the memories of what I had done with this stuff, not the stuff itself. I've been slowly reconstructing my robotics site to honor those memories.

I also find that I have a hard time with stuff that "could" be useful to "someone" but I can't just throw it away. I put a box of stuff like that on the table at Hacker Dojo with an exhortation to use it to hack cool things, but there was no one there to "accept" it so I don't know if it was useful or not. It was sufficient for me though to create the possibility that it "might" be useful.
While I agree in general, you shouldn't be too coy about what tools the developer will have in their hands from day to day.

Programming languages are syntax and patterns, but sometimes they're inextricably linked with productivity tools, libraries and testing frameworks, a set of best practices, a compiler tool chain, and even an execution platform.

As programmers work with these things all day every day, many of us have preferences - or at least I do. I'm happy to switch between languages that have good tools available - but if you use VB6 or PL/SQL you might as well tell me up front so we don't both waste our time.
Ask HN: What have I missed?
At my old job, I was the go-to guy. People would come to me to solve their problems. Everything was good until I took a better paying job.

First things first. I have my BS in CS from a local University in Utah. My GPA, at the end of it all, I ended up with a GPA of 3.32. Yeah, it's not the best, but I was working 30-40 hours a week to pay for it. (at least that's my excuse)I landed an internship making websites and learned python/javascript. I worked that job for a year. I worked another job for a year and a half until I got an offer for more for my exact skill set. I impressed sufficiently to receive an offer. I denied the offer and got $5k more. Then I accepted.

I just had a six-week performance review. They say I'm not completing enough work. They (my boss and the two guys on my team who told my boss (who is not directly involved with my work)) say that they expected me to be kicking ass by now.

It would appear as though I don't kick ass. What happened, then, at my last job?

Am I doomed to work for $45k for the rest of my life because of my sub-par work? I had thought that by getting a degree and having a skill set that was in demand, I'd be able to write my own ticket. Now I'm not even sure if I can write a webform.

What advice, if any, do you have for a programmer who thought he had the skills and the education to be a productive programmer, but doesn't? Should I watch all of the MIT CS courses to find out what I missed out on? Just program more? Read about and practice with new exciting technologies?

Anyway, I will probably take the advice listed here to heart and do what is said with unstoppable determination. I need to be a good programmer. I just don't know what I've missed along the way that makes me not good enough.
Aaron Swartz asks court to suppress data from MIT