News for hackers. Stuff that matters.

graham_holborn

Re:What do you guys think of my new site? on Friday July 06, 2012 @01:49PM (#4208858)
1. Its not responsive. 2. Fade in takes to long 3. All of your designs are decent but they are all run of the mill nothing special.
Re:Predictive page preload - prerender.js on Friday November 04, 2011 @07:22PM (#3198162)
Update: script is no longer locked into a single preload. It can now switch preloads
Re:Predictive page preload - prerender.js on Friday November 04, 2011 @05:50PM (#3197849)
prerender.js is a script that predicts and preloads the next page when the shortly before the user goes to the page. This will make the time between loading your pages seem shorter. It is built with a prerender function and a prefetch function for other browsers. The prerender functionality is in a trial period with google chrome but, although it is auto enabled on most recent versions of chrome.

a demo of it in action here http://grahamholborn.com/ On the demo if you click before 600ms has elapsed hovering over the link there will be no effect.

Works best with chrome because other browsers function differently.

Predictive page preload - prerender.js

http://grahamholborn.com/prerender.js

prerender.js is a script that predicts and preloads the next page when the shortly before the user goes to the page. This will make the time between loading your pages seem shorter. It is built with a prerender function and a prefetch function for other browsers. The prerender functionality is in a trial period with google chrome but, although it is auto enabled on most recent versions of...

( Read More... | 2 comments | 4 points | on HN )
$a = passwO_rd1; $b = ($a striped down to lower case); $c = ($b's metaphone); $d = md5(md5($a.'salt1'.b).$c.'salt2'); $e = md5(md5($c.'salt3').$c.'salt4'); Store $d as encrypted password then store $e as a string to check against. have $e saved in a separate communal database so to brute force $e and then guess the missing characters and the right user it would be. ([missing characters]^[character set])^([password lengh] ^ [users])^2 or something along those lines
Re:Panic introduces the world's first emoji domain on Thursday July 21, 2011 @07:02PM (#2791668)
Their have been lots of emoji and other special char domains used already. you just haven't stumbled upon them yet.

Jquery animated image(script)

I built this on my lunch break for no good reason.you can turn any image into a animated image with this.animatedData = [ 50,//FRAME WIDTH (width of each video frame)50,//FRAME HIGHT (height of each video frame)200,//IMAGE WIDTH (image file width)200,//IMAGE HEIGHT (image file height)100,//SPEED in MS (FPS = (MS/10))'animated-image'// DOM ID (DOM Element ID) ];window.animateImgGrid =...

( Read More... | no comments | on HN )