HoLyVieR's comments

HoLyVieR | 12 years ago | on: The anti-virus age is over

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.

HoLyVieR | 13 years ago | on: Freely available programming books

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.

HoLyVieR | 13 years ago | on: Fermat Theorem Puzzle

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.

HoLyVieR | 13 years ago | on: Latency Numbers Every Programmer Should Know

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.

HoLyVieR | 13 years ago | on: Skrillex Quest

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.

HoLyVieR | 13 years ago | on: Chrome Canary for Developers

Just out of curiosity is there any difference with "Chrome Developper channel" and "Chrome Canary" in term of available features ?

HoLyVieR | 13 years ago | on: JQuery now runs on every second website

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.

HoLyVieR | 13 years ago | on: Should Error Messages Allow User Feedback?

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).

HoLyVieR | 13 years ago | on: Try Haxe

What's the point of compiling to CoffeeScript when it compiles to JavaScript ?

HoLyVieR | 14 years ago | on: JSX - a faster, safer, easier alternative to JavaScript

> 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.

HoLyVieR | 14 years ago | on: PHP-Snow - A concise, dry and beautiful language that compiles to PHP

What I hate is the trend to overlook maintability of the code just to get something that will take less keystroke to write.

People are creating new language in good faith and they want their language to look nice. I don't think anyone can disagree on that. The problem is that the aspect of the maintability of the code is overlooked in the process of the creation. When you overlook this aspect it may not hurt you in the short term, but it hurts in the long term. It may be nice for you to code something in a way now, but everyone that will have to maintain your code may not find it nice to read.

HoLyVieR | 14 years ago | on: PHP-Snow - A concise, dry and beautiful language that compiles to PHP

I don't know if I'm the only one, but I hate with passion this trend to remove syntax from a language and call it an improvement. It may be easier to code, but the code you produce is often more cryptic and harder to maintain. The aspect of the maintainability of a language is often disregarded even tough it's a very important aspect. That project is a very good example of this. Sacrificing readability for a few keystroke is never a good trade-off.

HoLyVieR | 14 years ago | on: There is no simple solution for local storage

localStorage may be slow for read/write, but it's very easy to mitigate the problem by doing memory caching and delayed writting. Also storing file in localStorage is a bad idea. There are better way of caching file (offline storage, expire headers, etag, etc.)

localStorage has a lot of space for improvement, but I don't think they should stop to advocate it. It just feel like going backward.

HoLyVieR | 14 years ago | on: Ask HN: JavaScript Dev Tools

If you are seeing JSLint as a dictatorship, you are probably seeing those tools from the wrong way. Those tools helps you spot potential mistake and help your code be a little better. What they give you is advice, you will find that from time to time the advice they give you aren't that great and you are always free to ignore them in those cases.
page 1