HNHacker News
TopNewBestAskShowJobs

HoLyVieR

127 karma · joined May 28, 2011

submissionscomments
HoLyVieR··on Wi-Fi hack creates 'no iOS zone' that cripples iPhones and iPads
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.
HoLyVieR··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··on A Social Coding Experiment
Nothing stops you from prefixing your function with an underscore.
HoLyVieR··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··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··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··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··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··on Oatmeal fundraiser for Tesla museum is a triumph
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 ?
HoLyVieR··on How Copyright Enforcement Robots Killed the Hugo Awards
With Flash you can use the RTMFP protocol to do the exact same thing (stream audio, video and data in P2P). It's just not a very known technology.

If you really can't wait for P2P technology for browser you can check it : http://labs.adobe.com/technologies/cirrus/. As far as I know, it's the only way to do true P2P in a browser.

HoLyVieR··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··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··on Try Haxe
What's the point of compiling to CoffeeScript when it compiles to JavaScript ?
HoLyVieR··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··on Google App Engine community support is moving to Stack Overflow
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.
HoLyVieR··on Google App Engine community support is moving to Stack Overflow
They used to, but now they don't. You can see their official answer here : http://meta.stackoverflow.com/questions/83591/how-to-run-a-p...
HoLyVieR··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··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··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··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.
HoLyVieR··on Canada Is About To Pass Sopa’s Evil Little Brother. Politely
An other major factor is the current conservative government. It has already taken unilaterally decision on subject like "hand gun register" and "omnibus law" despite the strong disagreement of experts, the public and even potential lawsuit from the province. If the prime minister wants C-11 to pass, it will pass.
HoLyVieR··on Support an Open Internet, create your own freedom.txt
For the humans.txt, there is an add-on for Chrome that let's you see very easily when a website has one. I do read them when I see one especially if it's a site that I go to often.
HoLyVieR··on SOPA sponsors return: "think of the children"
The thing with certificate is that you have to trust that the certificate authorities won't sell (or give) fake certificate to ISP or government. If they do so, the ISP can MITM you.
HoLyVieR··on Don't write on the whiteboard
If your someone who isn't very experienced in mathematics, it's better to do them in order (easiest to harder) that's how your suppose to progress. If you're starting with the last one, it's normal you feel lost, it's like starting mountain climbing with the Mount Everest.
HoLyVieR··on Node.js stdlib ported to CoffeeScript (6,501 additions, 15,896 deletions)
It's not really an "incredible sounding statement", it's just logic. What makes a program more bug prone is the amount of logic there is in it. If it takes you 1000 lines of code in language X and it takes you 500 lines of code in language Y to write the exact same thing, you still have the same amount of logic in both language. The only difference will be the density of the code. Changing the density of the code doesn't change the fact that it will have the same amount of potential bug in it.
HoLyVieR··on Node.js stdlib ported to CoffeeScript (6,501 additions, 15,896 deletions)
The thing is that it correlates proportionally and if you change from a more verbose language to a less verbose language you only change the proportion, not the amount of bug.
HoLyVieR··on [dead]
You forgot my personnal favorite :

"Lazy load content for speed and SEO benefits"

This guy either works at Google or doesn't have a clue of what he's saying. SEO is already black magic. That kind of claim requires heavy evidence which are simply not there.

HoLyVieR··on WebSockets RFC is now official
You can already do peer-to-peer UDP communication in a browser with Flash RTMFP protocol. If I remember right it was shipped with Flash 10, which got released 4 years ago.
HoLyVieR··on CoffeeScript Means Giving Up on JavaScript
The situation of CoffeeScript and Javascript isn't the same. All the existing debugging tool will only show you Javascript code when you want to debug. C is different on that point. Almost all (if not all) the IDE in which you can code and debug allow you to debug without having to ever see any line of assembly. You don't have to understand the generated assembly code to code in C, because you will never have to look at it.

The situation of CoffeeScript would be like C if the only way to debug C code was to debug it in assembly.

HoLyVieR··on Education Hacks: Schools kill creativity - Sir Ken Robinson
The experience that I have so far in the education system is pretty much that it kills creativity. To me one of the source of the problem is that most evaluation and work we do in school are made to be solved in one and only way. And when you manage to do something creative out of it, nobody notice and it just passes as if it was something normal. It seriously kills your motivation to find more creative solution. After 3 month in CEGEP* in a computer science program, I lost all my motivation to try to do better stuff. I even had final project where my team wanted to do some very interesting and the teacher did pretty much everything he could to make it flat and boring. That was the most discouraging project I ever did of my life.
Page 1 of 2Next →