skysight-inc/HackerNews huggingface dataset:
Developer says HTML5 performance is ‘horrible’
From what I can see, in my area (north England) the job market is almost entirely dominated by PHP and .net openings, with some Java on the side. Ruby and Python only very rarely get a look in, I imagine it would actually be difficult to find work in this area if you only knew Ruby or Python.

The job market in CA is very different to pretty much everywhere else in that emerging and niche technologies tend to be under-represented outside of CA, most likely because of budget constraints in web development, most clients want a simple Joomla or WordPress site and couldn't care less about anything else as long as they don't have to pay over £2,000 for it.
Sikuli is great. We use it to click on the "Sync Branch" button on GitHub app window every minute on our dashboard screen. Seeing a live stream of commits is very motivational.

The only problem is that the Sikuli scripts can stop working easily when you resize the window or restart the computer. Something changes on the screenshot so it stops finding the button.
If higher taxes assisted him then why is the United States faltering and our educational system becoming such a joke? I mean to say are we not paying enough taxes? If so how high should they be?

Keep in mind that in the US, much school funding comes from property taxes, and is highly tied to the specific location of the school. Thus, affluent areas "magically" have better schools, and poorer areas have worse schools.
Popular use doesn't define reality.
> I wonder what percentage of the population will have never owned a DVD player in the next generation.

Probably the same amount of people that have never owned a record player or, for the younger people, a CD player.

> If netflix owned their own hardware and could reach out and touch it, would this have happened?

Yes, outages happen whether you have the hardware in your own hands or have it hosted by a cloud provider.
Except the problem most people actually want to solve is not "convert newlines to <br>", it is "convert some text to html", and this function may lead to think that it does that, when it only does a tiny fraction of that. And that's how injections are born.
Apologies for that! Seems to work fine in Safari. I should have used the link to the original article (see below).
There seems to be a lot of data centres cropping up in Sydney, with Amazon being the biggest. Has anything changed in the AU landscape which has made data centres more viable now?
I find it a little troubling that you're implying that welfare and high taxes made New York one of the richest cities in the world.
6 Useful HTML5 Tools
When creating, there are two (main) vectors: original and compelling. Imagine "Compelling" on the y axis, and "Original/Unique" on the x axis.

We've found a lot of patterns that make things compelling. Next time you watch a movie, set a timer on your watch. At almost exactly ten minutes into the film the exposition and character build up finishes and the plot begins. Why? Because that's been found to be a compelling amount of time to do that. Take more time, and you bore the audience, less and you risk losing them because they don't identify with the characters enough.

But notice I said "most movies". Because it's compelling, it's used often and that makes it unoriginal. Pop songs are all around three minutes and the hook comes at a certain time into the song, every time. So when you make something compelling, you are usually taking away from its originality. If you go for originality, you risk that people won't like it as much.

Genius is when you can make something both unique and compelling. It's rare. And then it's copied to the point where it soon becomes unoriginal. But that moment, when it's beautiful and you've never seen anything like it - that's a wonderful moment.

What Alexander is bringing up is that, while Hollywood films and pop music favors compelling over original, architects usually favor creating something original at the expense of it being compelling. And he is saying that quality without a name is the creation of artifacts that people actually like.

If I remember right, Kent Beck introduced Erich Gamma to Alexander's ideas with the notion of letting users create their experience in software. Erich took it in a different direction obviously, but I can't help but think that Kent had the stronger instinct of what Alexander was trying to say.

We have to remember when creating that startup: It has to be original or everyone will have done it already, but it's additionally about creating something that people will want. And there's the rub. First because that's extraordinarily difficult. But also because the original part is such an extension of your individuality -- it's you -- that then to modify it to adjust it to reflect what to people will like, means taking yourself out of that very personal work.
Get Norton Ghost for your Windows setup. It works and is a no-brainer.

Once a month do a full image on both Windows and OSX systems. Save the images to another backup drive and take that backup to a safety deposit box at your bank.

If you want to be really paranoid, find a provider that offers fireproof storage for media. If you can't, go to your local storage facility and rent a small unit (maybe $30 to $75 per month, depending on where you live). Buy a fireproof safe and stick it in there. Once a month (or whatever) rotate drives through the safe.

You can also avoid the storage unit rental expense and locate a fire-proof safe at a trusted friend's or family members home or garage. Be creative.

In other words, creating a system that will virtually ensure the security of your data isn't hard or expensive --particularly when compared to the value of the data you are trying to protect.
> right now I just prohibit using this for anything illegal

Forbidding such use doesn't limit it though.

If you're going to profit from this in some way make sure you don't accidentally set yourself up as a prime target for a lawsuit based on contributory infringement.

This means that before you get into the money stream you have to make 100% sure that the content you profit from was acquired legally.
Microsoft's strategy chief limits role, will retire in 2014
Answer Line: Old vs. new Microsoft Office file formats
Not disagreeing what you said, but your quoted example of Python implementation of `nl2br` is wrong, the original PHP's implementation did handle all (\r\n, \n\r, \n and \r), see: http://php.net/manual/en/function.nl2br.php & http://phpjs.org/functions/nl2br/
Didn't everybody in the world already know K&R is the only C book worth touching?
The sad truth is that if you exclude innercity slums, themurder rate in the us plummets to mostly normal levels.
the back button issue in IE10 mobile has still not been solved in WP8. It's one of the first things I noticed is the lack of a back and forward button. The back button definitely does not behave in the manner described unless resumed by holding down the back button and then going into the app but that's just confusing.
Tensors in scala using shapeless and type arithmetic
This must be the weirdest complaint about Python I've heard so far.
I'm not sure that I see your point. Adding extra bits is more work for the legal team, and might lead to 'bugs', but a clause like this is going to lead to pissed off engineers who might leave.

To further mangle the analogy, what if I release bug free code that doesn't do what it's supposed to do?
Simple CI with git hooks for your rails projects
If you're dealing with ascii plaintext the main significant difference is how it deals with new lines vs HTML.

The function never purports to do anything other than convert newlines to BR tags.
Why can't I watch Star Wars digitally yet?
I'll definitely be getting some legal advice before setting up any kind of paid service, but do you have any specific advice or guidelines to follow?

I'm assuming that right now, I can just say, "this is an RSS aggregator like Google Reader, and it's up to users to comply with copyright laws," but it would definitely be tricky once I begin charging.

In general, would some kind of automated verification like Google Apps (DNS records or sending an email to the owner of the domain name) suffice?

Anyway, thanks for the help!

EDIT: The nature of my app is very similar to Stitcher Radio (http://stitcher.com/). They seem to have a really detailed signup page for podcasters (http://stitcher.com/contentProviders.php). That seems to be the best way to protect against infringement.
We spend quite a lot on education, up to 40% of state budgets in our largest states like California. Spending per student is among the highest in the world. There is no reason to think we would do better by spending even more. To be European, we should probably spend less.

If we want to emulate Europe, and in some ways we do, we should reduce the size of our schools (e.g. France), end a lot of our special programs for challenged children and replace them with a high level of personal attention with the goal of integrating the child (Finland), and develop integration programs and job tracks for immigrants and tightly enforce participation (Germany.)

One of the boldest and most European proposals is to eliminate much of the Department of Education, which does not successfully regulate curricula and implements one expensive program after another without progress. European countries have ministries and departments to oversee education, but since the countries are smaller, the departments are closer to the size of some of our state programs. Eliminating or reducing the DoE to one or two small, specialized, service- and research-oriented departments might possibly reduce expenses while increasing the quality of education in the country at the same time.

In short, I think you will want to support fewer education layers, programs and departments, and smaller schools and budgets, if you want public education in the United States to be more European.

Edit: I would like to add that private schools are very diverse and their students accomplish many remarkable things. In addition to meeting needs that standardized schools cannot, and being run better as small, atomic organizations usually are, private schools and universities drive innovation in education and are the places today from which tomorrow's public best practices will be derived. In most European countries, there are many private schools, so that is another thing you will want to emulate in the European model.
Yes, let's exclude statistics in order to normalise them. Because if we cut out the bits of statistics that sway them, we can claim the distribution is the same as elsewhere!
I was pleasantly surprised to see this wasn't a link to php.py, the somewhat bizarre port of the PHP standard library to python:

http://code.google.com/p/php-py/source/browse/trunk/src/php/...
Why not? Most languages have a standard library that does all kinds of simple but useful stuff. PHP is aimed at the web so a function that deals with part of the web/non-web mismatch seems like a useful thing to include.

Removing it would simply cause newbies to have to wrange with str_replace to build trivial web apps.
Privacy or Public Good: Why not obtaining consent may be best practice
Ask HN: Why aren't there more Python in-person courses?
Sorry if the wording is confusing, not sure how else to title this. I don't mean formal Universities (like MIT which has a course in Python, etc). Referring more to the likes of DevBootcamp, StarterLeague, etc...

I noticed (maybe incorrectly) that Python seems to be the most popular language discussed here as well as in a lot of the online education stuff (Coursera, Udacity, etc...) but when it comes to 12-week training in-person programs like the above, they are mostly or all Ruby. Is there a reason why there are more/all Ruby courses and no Python courses like them (as far as I can see) aside from maybe no one with Python chops is interested in running a DevBootcamp-like course or something, or am I totally missing something here?

Please no comments on language doesn't matter as much as programming principles (I get that at the end of the day). More curious as to why they all appear to be Ruby-centric.
TechCrunch is more like the TMZ of Tech.
Thanks for the linkedin link. Quartz seems very flaky
Great Video Apps for iPhone and iPad
I was only responding to your strawman. Still, if you want a specific example of welfare that everyone should be forced to pay even without an appeal to morality - emergency room treatment. Despite all the moral hazards, you want the service to be there, and you don't want to tell anyone, "well, you're bleeding to death, but you didn't think to pay for insurance and you have no money, so go die." It's no substitute to have it be a charity; then you'd have either no service or even more free riders. At least this way even those living paycheck to paycheck still contribute.
Yeah, they seem to have stalled in recent years. Either Carmack has lost interest or they've reached the point of complexity where a few volunteers aren't going to cut it.
> And of course, we had the Newtown shooter who didn't leave behind any notes, manifestos, or in fact any evidence that he wanted to be infamous (even if posthumously).

He left plenty of evidence that pretty much guaranteed he'd be infamous. Nothing will do that like several dozen dead bodies. Notes and manifestos are optional.

These assholes may have many different drives but the one thing they seem to have in common is that they pick their targets to guarantee that they will become notorious. Stomping on an ant hill will kill many more but won't put you on CNN.

Apropos CNN, the one thing the media could do with cases like these is to restrain themselves in the way they cover these incidents. I'm pretty sure there is a large element of copy-cat behaviour in here that could potentially be reduced by the amount of media coverage given.
How about charging users $1 per year for the mobile app. If this were to happen it would either make people stop using mobile (unlikely) and they will resort to using the website (which is good for FB) or make a billion per year in revenue. Plus this would change the dynamics of free apps forever. I think it would be interesting for the mobile app ecosystem as a whole... more people would charge for apps.
I don't think this is a particularly fair test of ARM and x86 as architectures, though it is of Tegra 3 and Cloverview as specific systems. Cloverview just came out, but Tegra 3 is nearly 2 years old. Cloverview is on Intel's 32nm process node, whereas Tegra 3 is on TSMC's 40nm node (and remember that Intel's 45nm node actually had better performance than TSMC's 40nm).

And I've never quite understood NVidia's design choices with Tegra 3. All the other ARM SOC vendors used a low power version of the process node they were on for their ARM cores, but NVidia used the standard process version for 4 of their cores and the low power version only for the 5th core. And yet those four cores are clocked only slightly faster than the cores of their competitors, while their 5th core is clocked way lower.

Now, NVidia's GPUs are top notch and while it hasn't been that successful in recent generations of phones I assume that NVidia's existing Windows software compatibility is why it was selected for the Surface.

EDIT: I seem to remember that there were some big issues on the GPU front a couple of years ago with NVidia's design tools and TSMC's 40nm process having something of an impedance mismatch. The big improvements between NVidia's GPU's from that time to their current generation attest to these issues being sorted out.
This is all well and good, but what you say does not invalidate the use of statistics. That is to say, even if there are, as you claim, common factors between the events, they may still be randomly distributed in time.
Since mass shootings are such a rare events, the data is overdispersed, so a negative binomial distribution is likely more appropriate than a Poisson distribution. This, along with quasi poisson, is commonly used by criminologists to account for such problems.

See this paper for a more detailed discussion:

http://www.crim.upenn.edu/faculty/papers/berk/regression.pdf
A counter-example I can think of is Drew Houston. http://mixergy.com/drew-houston-dropbox-interview/

If you’re interested in understanding how something like sales works I would literally just go to Amazon and search for the top rated few books on sales just read them ... I did that for books on sales, and finance, and management, and negotiations.

What's special about podcasts and videos imo is they can convey someone's mindset better than raw text on a page.
A part of this is Europe's abhorrence of violence in general dating back to the end of world war II. Those lessons are slowly being forgotten but there definitely still is a strong undercurrent to that effect.

Having a half decent welfare program is another element in there. But with the current crisis and the upcoming pension plan troubles it remains to be seen if we can sustain that and if we can not I predict an increase in crime and associated violence.
I find Christopher Alexander to be a much more opinionated architect than Alexander-pattern advocates are about software, at least in A Pattern Language.

For example, one of Alexander's patterns is to make buildings not more than four stories tall. He presents compelling evidence that living in tall buildings increases rates of mental illness and stunts physical and intellectual growth of children, and explains why the 5th floor is one too many. He is not saying, "maybe you should use the four floors pattern here," he is saying, "buildings should not be this tall!"

Another example is that homes on a street should somewhat cluster together and their doors should face each other. What is the equivalent in software of shaping a street to create a few small communities this way, not as an option but simply as the better way to make a street?

I know we don't wish to be dogmatic about things like REST, but the power of Alexander's ideas come from the superiority of his specific patterns over other ideas, not just his power to organize the practice of a profession into patterns.
How to Overclock your Raspberry Pi
Clearly not, it was a satire of our industry. I was comparing the attitudes of people, the languages they use were merely for the purpose of the narrative, it could quite easily have been Node.js and Perl or Python and Haskell
Kickstarter in summer
Localtunnel v2 available in beta
> a ban on possession, given that criminals are willing to break laws, wouldn't have a huge effect

A recurring element in a lot of these shootings is that the shooter gets/steals his weaponry from an uncle, dad's rifle cabinet, a friend or so on. These are the kind of people that would dutifully get rid of their guns if they were banned. Thus closing up a potential source of destructive firepower for nutcases.

> I think Europe generally doesn't have incidents like this, not because it's disarmed, but because even "losers" in Europe can live a somewhat comfortable life compared to losers in the US.

Is there any indication that any of the recent shootings happened because the shooter didn't have any food to eat, no shelter or bad healthcare? Because that's the sort of comfort that a welfare state provides and I don't see the link.
Could you help me figure out how to change my top bar color? I can't seem to find the option.
By grouping statistics into these things we call "countries" we are also "excluding" certain statistics. For instance, why are we ignoring cartel murders just south of the US/Mexican border even though the US drug market is the driving factor?

The parent comment is providing a better, more specific grouping that helps shed light on where murders are actually happening in the US and points us towards where we need to focus our efforts if we want to actually change the murder rate in the US. Inner city interventions will result in the greatest improvements to the murder rate, whereas focusing efforts elsewhere has literally zero chance of bringing the murder rate into line with the rest of the G8 because that's not where the murders are happening.
Which Platform You Should Target For Your First App: Android Or iPhone?
What is being suggested is that the plaintext may contain a random html tag (Perhaps if supplied by a user, or perhaps because that tag is meant to be displayed as plaintext as well. The reason doesn't rally matter, "tags" in any situation are still valid plaintext). By passing text to something that replaces new lines with br the implication is that it is now safe to drop into HTML -- however now that tag from before can take effect (particularly bad if its a script tag). Thus, this function doesn't make sense unless it is at least also coupled with HTML escaping.
Violent offenders were the [victims]
of most State prison homicides
(61%), and their jail homicide rate
(5 per 100,000) was over twice that
of nonviolent offenders (2 per
100,000).

== Interesting to note that Prision murder rates are higher than many states in the US, and many countries in europe. None of this is guns, though. It seems in the abscence of weapon x a killer will use y or z. lots of people killed this way with pens and spoons etc.
Very clever approach.

It strikes me that the transition functions for a character or a substring is only dependent on that string, not its position. The article annotates ranges of the string with the transition function, so if the string contains repeated substrings, it needlessly repeats the same data.

To fix this, you could store the string and its substrings in a trie: the data is automatically de-duplicated. You may also be able to get the same effect with a hash table, using a rolling hash to efficiently compute when a substring is in the table.

This sort of optimization seems valuable, because the suggested approach is quite memory intensive. Per the Java implementation, if your NFA has N nodes, then the transition function needs to store a bitset of length N for each of N possible states, meaning that the memory usage goes as the square of the number of nodes in the NFA.

edit: Also, thinking about this de-duplication made me realize a simpler explanation of the technique. You have a regex, for which you generate an NFA, that has some states. We also have a target string, that has a lot of substrings. For every state, precompute and cache the state transition produced by every substring. So you end up with a map whose keys are pairs (state, substring) and whose values are sets of states.

Then if the target string is mutated, you can use the cached state transitions for the unchanged parts to quickly determine whether the regex matches the now-mutated string.
GNU sed maintainer resigns
Tons of murders happen in residential neighbourhoods that are not at all "innercity slums".

And the police itself kills an astonishing number of people each year, compared to a any western european country.
Which is fine, as long as you make sure that your text doesn't contain any characters like "&", "<" or ">".
Doesn't look like anything I'd need so no upgrade I guess. Although the syslog support might be useful.

edit: double checked the previous changelogs and the settings detection change might be useful. On another note, the removal of python2.5 so soon is welcome.
Without looking at the list I K&R isn't on it. It's really all you need to get started, you can find code snippets and experiment to get past that.

Has anyone noticed how many books on C are 4 times the size yet leave you with less valuable information than K&R?
Is your backup complete?
I've seen Ushahidi in practise in a disaster area, extremely impressive.
Everything you need to know about pointers in C
Pointers in C with explanation and examples.
I learned a ton from SAMS "teach yoursefl C++ in 21 days". Yeah I didn't think I would either, but it was given to me at work, and I went through about 75% of it and it was pretty damn good.
Excluding inner city slums only in the US stats or elsewhere?