Everything’s Better with a British Accent.
7th March 2010; Discussion
За последние шесть лет JavaScript совершил скачок в нашем сознании и превратился в мощный язык программирования: в эдакий LISP для народа, работающий прямо из браузера. С тех пор многие компании сделали ставку на дальнейшее развитие веб-приложений, неотъемлемой частью которых является детище Брендана Эйка. К примеру, прошлогодняя конференция Google I/O началась именно с показа возможностей JavaScript и HTML5. Всё это означает, что программы на этом языке стали намного интереснее, а их отладка сложнее.
Вместе с развитием языка и браузеров не стояли на месте и средства отладки и профилирования JavaScript кода. И сегодня, при правильном использовании этих средств, сам процесс нахождения багов и узких мест может быть вполне безболезненным и интересным. Эта статья кратко описывает одну из таких программ, которая носит название Web Inspector и входит в состав всех браузеров на основе WebKit.
I don’t understand blog posts, emails and other messages that begin with an apology. If you’re sorry to interrupt me with that spam, don’t send it. — Seth Godin
18th February 2010; Discussion
Hello. I am Anton Kovalyov, I work as a software engineer here at Disqus and this blog post is about one project I was working on. It extracts all the static parts out of our embeddable code which makes our widget much faster than it is now. We are still testing this update but you already can try it out. For more details on the project and how to enable it for your website, continue reading.
It has been a little more than two years since Disqus was launched and today we have hundreds of thousands websites and millions of commenters using the service. During this time, we were constantly upgrading our infrastructure to handle this growth. But eventually we arrived at the point in which we had to revisit our initial approach to serving our client-side JavaScript code.
17th February 2010; Discussion
A short follow-up to this post. Apparently, both Chrome and Safari restore built-in method if you try to delete it from the prototype. In other words:
Array.prototype.map = null;
[].map
> null
delete Array.prototype.map
[].map
> function map() { [native code] }
10th February 2010; Discussion
About a week ago we pushed my media attachments feature and yesterday we officially announced it. Media Attachments was a feature I wanted to do since my day one at Disqus. I really like when system is smart enough to extract links to images and videos and present them nicely. It is simple, there is no need for additional buttons. If you want to share an image or a video—just put a link inside your comment and press the button.
Media Attachments is also a very flexible feature: we will support more services (photos, videos and others) soon.
7th February 2010; Discussion
So I read this article about an attempt of one air force analyst to sell secrets to Iraq and China and there author claims that two puzzles created by Regan (the spy in question) were sent to the National Security Agency, where cryptanalysts spent hundreds of hours without any result. Then, they found some other guy that cracked the first code and apparently it was enciphered with Caesar’s shift.
Now, are they telling me that NSA cryptanalysts failed to break Caesar’s code? Because I can hardly believe in that.
KHUH LV D ZHE SDJH ZKHUH BRX FDQ SODB ZLWK WKLV FLSKHU: FDHVDU VKLIW FLSKHU.
4.4. Dress Code
Since attendees must wear their name tags, they must also wear shirts or blouses. Pants or skirts are also highly recommended. Seriously though, many newcomers are often embarrassed when they show up Monday morning in suits, to discover that everybody else is wearing T-shirts, jeans (shorts, if weather permits) and sandals. There are those in the IETF who refuse to wear anything other than suits. Fortunately, they are well known (for other reasons) so they are forgiven this particular idiosyncrasy. The general rule is “dress for the weather” (unless you plan to work so hard that you won’t go outside, in which case, “dress for comfort” is the rule!).
— The Tao of IETF: A Novice’s Guide to the Internet Engineering Task Force
5th February 2010; Discussion
Brewer’s Theorem is pretty neat. It essentially states that you cannot have a clustered system that supports consistency, availability and partition-tolerance at the same time. So, if you want to build a nice clustered system you have to stop partitions from happening, or accept the fact that from time to time affected services will either be unavailable or inconsistent.
Eric Brewer presented this theorem in 2000 and two years later it was proved to be correct by Seth Gilbert and Nancy Lynch of MIT.
I was introduced to this theorem through a pretty good article by Julian Browne: Brewer’s CAP Theorem. Also, there is another interesting article—A CAP Solution (Proving Brewer Wrong)—in which author claims that consistency, availability and partition-tolerance is possible if we loosen the at the same time condition.
Gold medals go to teams from Shanghai Jiaotong, Moscow State, National Taiwan and Taras Shevchenko Kiev National universities.
Page 1 of 7