Recent submissions

Comment · 11 years ago
Not all crash bug can lead to remote code execution. A null dereference bug is a good example of that. No mater the context, you won't be able to do anything other than crash the software.
Comment · 13 years ago
You can use services like VirusTotal to do a quick file check if you suspect anything. You can also check what services/program starts on boot (msconfig and services.msc). With that you can already have a good confidence level of not being infected without have an AV draining your computer performance.
Comment · 13 years ago
Nothing stops you from prefixing your function with an underscore.
Comment · 13 years ago
The problem is that the Q&A format is a very bad to ask for list of things. A "wiki" would be a much better format to have list of things that everyone can contribute to. Q&A is also a very bad format for discussion. Traditional forum, Reddit or Quora are much better choice for discussion. It's a simple mater of using the best tools for the best job.
Comment · 14 years ago
Here's an other solution. If you simply calculate the first digit and length for N=2, you will see that 2233445566 has a length of 19 and starts with 4, 7788990011 has a length of 20 and starts with 4 and 9988776655 has a length of 20 and starts with 8. If the first number had a length of 20 it could match, but since it has a length of 19 no mater the rest of the digits it can't be equal.
Comment · 14 years ago
The idea is more about knowing the scale of time it takes to help compare different solution. With those number you can see that it's faster to get data in memory from a distant server than to read the same data from disk. In common application that means using disk storage is less efficient that storing it in a database on an other server, since it usually keeps almost everything in memory. It also tells a lot about why CDN are needed if you are serving client worldwide. A ping from North America to Europe will always takes 100+ ms, so having geographically distributed content is a good idea.
Comment · 14 years ago
The problem now is that if you do it entirely with WebGL, you won't have as much people who can play it. WebGL support is still far from Flash support. It's however something that will change over time.
Comment · 14 years ago
Just out of curiosity is there any difference with "Chrome Developper channel" and "Chrome Canary" in term of available features ?
Comment · 14 years ago
I think it's a little bit early to say it's a triumph. Isn't the end goal to have an actual museum of Tesla at that place ?
Comment · 14 years ago
Comment · 14 years ago
It's not many things, if you look carefully you will realize most of what is listed can be rewritten with a CSS selector. For example ":button" is the same has "button, input[type='button']". They are mostly just shorthand and that's not extra feature.
Comment · 14 years ago
We have been doing at work with our web product for quite long time and it works well. Instead of simply showing a 500 page when an error happens and logging it, we also provide a link to let the user add information and comments about what he was actually trying to do. This helps us a lot to figure out how to reproduce the problem (it can sometimes be hard to do if it's a problem that only 1 user on over 100000 is having).
Comment · 14 years ago
What's the point of compiling to CoffeeScript when it compiles to JavaScript ?
Comment · 14 years ago
> JSX performs optimization while compiling the source code to JavaScript. The generated code runs faster than an equivalent code written directly in JavaScript.

This is just absurd. It is claiming it will run faster than JavaScript ... by compiling to JavaScript. If generated JavaScript code would run faster, it just mean the JavaScript code could have been written better in the first place. They probably have logic optimization behind the scene, but clamming it will run faster that JavaScript is just ridiculous.

Comment · 14 years ago
Your statement is mostly incorrect, the metric they use to evaluate the performance of a site is clearly indicated on Area51 and you can see the progress (or decline) on the proposal page of each website.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton