Archive for the 'webdev' Category
From the announcement of the open source reddit:
There are only five of us who work on reddit; we couldn’t have made this site if it weren’t for a great community of developers. In no particular order, here’s a quick list of the open source products that reddit is built and runs upon: Debian, lighttpd, HAProxy, [...]
Posted in Linux & OpenSource, Python, webdev, www | Tagged: opensource, reddit, webdev | No Comments »
My friend has 73 friends and 152 Facebook applications.
IMHO, the layout is lack of usability and functionality.
Let alone the fact each application require other users to install them in to their accounts in order to view standard web content (images, flash, videos, etc.)
I am sure Facebook’s dudes need to rethink the whole concept and come [...]
Posted in Cyberlife, webdev, www | Tagged: Cyberlife, facebook, web20, www | No Comments »
stefan fountain -> coding horror -> hacker news
Jeff - here are the links for you:
Google Contacts API: http://code.google.com/apis/contacts/
Yahoo! Contact API: http://developer.yahoo.com/addressbook/
Windows Live Contact API: http://msdn.microsoft.com/en-us/library/bb463989.aspx
I’m glad these malpractices are getting more attention, they deserve to get the bad wrap on their wrist for these kind of infringements of respecting users’ data.
Stefan Fountain on June [...]
Posted in Cyberlife, webdev, www | No Comments »
Yesterday, while walking from launch, my freind Amnon David (the creator of jNext) told me that IE8 doesn’t work on hotmail.com.
Since IE8 release gained lots of credit by JavaScript Hackers (John Resig and many more), therefore, I couldn’t believe it until I saw it in my own eyes.
Plain and simple, the site is broken. Icons, [...]
Posted in firefox, ie, ie8, javascript, microsoft, web-devel, webdev, www, www-design | No Comments »
I finally was able to fix a few minor bugs and compile a new version of my js-hotkeys module. Get your copy now (tar.gz || zip)
Js-Hotkeys is a jQuery plugin that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.
Read more at:
http://code.google.com/p/js-hotkeys/wiki/about
Live demo at:
http://jshotkeys.googlepages.com/test-static.html
Posted in ie, javascript, jquery, web-devel, webdev, www | 2 Comments »
Most of today’s web developer will tell you that
the following:
<h2 id=”foo”>Click Here</h2>
<script>
$(’foo’).click = function(){alert(”Hello”)};
</script>
is better than:
<h2 id=”foo” onclick=”alert(’Hello’);”>Click Here</h2>
and the following:
<style>
body{
background-color:#ffffff;
color:#000000;
margin-top:3}
a{color:#0000cc}
a:visited{color:#551a8b}
</style>
<body>….</body>
<script>
$(document).ready(function(){
sf();
if(document.images){
new Image().src=’/images/nav_logo3.png’;
[...]
Posted in Cyberlife, google, javascript, jquery, web-devel, webdev, www | No Comments »
… and I thought this method of raising errors belongs to the far past of web development…
Posted in webdev | No Comments »
This is an example why should one follow the rule of using ‘===’ and avoid ‘==’
var a = [];
[!!a, a == false] == [true, true]
You get !!a == true and at the same time a == false, now you are confused, ain’t you?
Therefore never ever you should be using in your code ‘==’ operator.
[!!a, a [...]
Posted in javascript, webdev | No Comments »
HotKeys
September 16, 2007
jQuery Keyboard Shortcut Hooker Plugin is now called Hotkeys. Make sense, right? The script was tested on Linux, Windows, and MacOS, IE, Safari and Firefox.
The final result is relatively small file (121 lines of code). But do not let this fact misleading you by underestimating its value.
> See Live Demo
Read more at Google Code [...]
Posted in code-snippets, jquery, webdev | 8 Comments »
I rewrote (granted permissions by author) the great JavaScript module by Binny V A shortcut.js as a jQuery plug-in.
Code Sample and download a pre alpha version are available at Google Code
Cheers,
Posted in jquery, webdev | 4 Comments »
In IE (v: 7.0.5730.11) all GET request are cached. Go figure why.
In order to solve this issue, you can either switch to POST, or add a time stamp to any url you send.
function uncache (url){
return url + “&uncache=” + new Date().getTime();
}
Posted in ie, webdev | 1 Comment »