IT

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 






 







 


IT

 

 

AI  

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

Web  

 

 

PlayStation  

 

YouTuber  

 





 

 





 

 

 












John Resig - 10th Anniversary of jQuery  

13users  
johnresig.com  


Today marks the 10th anniversary of the release of jQuery. I announced it back at BarCamp NYC 2006 when I was still in college. Its incredible to think of how far its come and just how many people have contributed to its success. To them I am forever grateful, thank you. Last year I wrote up an annotated version of the original jQuery release in which I dumped many of my thoughts regarding the w




 

2016/01/15 08:34
 









 

















John Resig - Using Waifu2x to Upscale Japanese Prints  

135 users  
johnresig.com  


In my spare time Ive been working on a database of Japanese prints for a little over 3.5 years now. Im fully aware that Ive never actually written about this, personally very important, project on my blog  until now. Unfortunately this isnt a post explaining that project. I do still hope to write more about the intricacies of it, some day, but until that time you can watch this talk I gave at




 

2015/05/21 08:24
 

















 











John Resig - Annotated Version of the Original jQuery Release  

10users  
johnresig.com  


Recently I was prompted by Daniel Lamb to try and find old versions of jQuery for his jQuery Archive project. Thankfully I was able to find one in the Internet Archive from just a couple weeks after its release, in January 2006. I then took that opportunity to put that code online and I used the new Genius annotation beta to mark it up with a bunch of thoughts and memories around the release of th




 

2015/04/13 23:51
 









 











John Resig - Write Code Every Day  

167 users  
johnresig.com  


Last fall, work on my coding side projects came to a head: I wasnt making adequate progress and I couldnt find a way to get more done without sacrificing my ability to do effective work at Khan Academy. There were a few major problems with how I was working on my side projects. I was primarily working on them during the weekends and sometimes in the evenings during the week. This is a strategy t




 

2014/04/11 07:56
 



















 











John Resig - Node.js Stream Playground  

44users  
johnresig.com  


This summer I had the opportunity to attend NodeConf and it was a fantastic experience. I really appreciated how every session was a hands-on coding session: I felt like I walked away knowing how to put a bunch of advice directly into practice. One of my favorite sessions was the one run by James Halliday and Max Ogden exploring Node streams. Specifically they sat us down and had us run through th




 

2013/11/17 01:48
 

















 











John Resig - Gittip at Khan Academy  

5users  
johnresig.com  


For a while now Ive been a huge fan of Gittip. I think theyve created one of the most interesting models for funding Open Source development. One of the missing pieces, for most Open Source developers, is having consistent, reliable, income backing your development. Some developers are sponsored by their work place, others have a job but do Open Source work on the side. Even others may not have




 

2013/07/17 07:21
 













John Resig - Asm.js: The JavaScript Compile Target  

30users  
johnresig.com  


Like many developers Ive been excited by the promise of Asm.js. Reading the recent news that Asm.js is now in Firefox nightly is what got my interest going. Theres also been a massive surge in interest after Mozilla and Epic announced (mirror) that they had ported Unreal Engine 3 to Asm.js  and that it ran really well. Getting a C++ game engine running in JavaScript, using WebGL for rendering,




 

2013/04/04 00:20
 















 











John Resig - WebKit is the jQuery of Browser Engines  

16users  
johnresig.com  


The news has just come out that Opera is switching all of their browsers (both mobile and desktop) to use WebKit (specifically, Chromium). Ive seen a lot of gnashing of teeth on Twitter and I feel like I can respond because I use to feel the same way back in 2008-2009. However this is 2013 and the Chrome/Chromium team has made it obvious that any form of stagnation or lack of innovation does not




 

2013/02/13 23:46
 

















 











John Resig - Fixing Google Analytics for Ghostery  

3users  
johnresig.com  


As an avid user of Ghostery, which blocks all sorts of tracking scripts, pixels, and other web bugs I frequently run across a surprising issue: The case in which the Google Analytics ga.js script has been blocked from loading (which is intended) but then some critical piece of functionality on the site is broken. The most common place I see this is when a site adds some event tracking to a signup




 

2013/02/09 02:01
 













John Resig - Secrets of the JavaScript Ninja Released  

3users  
johnresig.com  


Happy news! My book, Secrets of the JavaScript Ninja is finally in stock on Amazon! Its been available on Manning.com for over a month now but I think Amazon has been struggling to keep the books consistently in stock. You can get an ePub or Kindle version of the book at Manning.com. Ive written about the writing process for this book previously (and why its taken so long to get out). I especia




 

2013/02/08 09:38
 













John Resig - Keeping Passwords in Source Control  

11users  
johnresig.com  


I learned a neat tip from my co-worker, Craig Silverstein (more on Craig joining Khan Academy), recently and I thought others might find it to be useful. It has to deal with the eternal question: How do you store sensitive configuration options (such as usernames, passwords, etc.) in source control? Typically what Ive done is to just punt on the problem entirely. I create a dummy configuration fi




 

2013/02/07 06:30
 











 











John Resig - i18n Module for Node and Express.js  

7users  
johnresig.com  


As a follow-up to my post from last week on a strategy for i18n and Node.js Ive published my module for handling internationalization in Node and, specifically, Express.js. The module is now available on NPM and can be installed by running: npm install i18n-2 The code and documentation for the module is available on Github here: https://github.com/jeresig/i18n-node-2 Ive designed the API to work




 

2013/01/16 01:45
 









 











John Resig - A Strategy for i18n and Node.js  

26users  
johnresig.com  


Recently I internationalized a Node/Express web application that Ive been working on and it seems to have gone fairly well (users in multiple languages are using it happily and Im seeing a marked increase in traffic because of it!). Not much of what Im writing up here is particular to Node, per se, just a general strategy for internationalizing a web application. Ive used enough internationali




 

2013/01/12 08:15
 















 











John Resig - Talk: Khan Academy Computer Science  

3users  
johnresig.com  


This past weekend I gave a talk at EmpireJS on the Computer Science platform that Ive been developing at Khan Academy. The talk explores that platform and then goes into deeper technical details about how the real-time execution on the site was achieved. I recorded the talk on my laptop (so please excuse the echo as it wasnt properly miced up) and you can watch it here: A slightly older (stats




 

2012/10/27 00:16
 













John Resig - Redefining the Introduction to Computer Science  

22users  
johnresig.com  


Im incredibly excited to take this opportunity to announce a new project that Ive been leading here at Khan Academy: Khan Academy Computer Science. Were releasing a completely new platform that targets people with no programming knowledge and gives them an engaging and fun environment to learn in. Over everything else we wanted to emphasize creativity and exploration and make it approachable fo




 

2012/08/15 02:49
 











 











John Resig - Secret Omens: Book Update  

8users  
johnresig.com  


Jeff Atwood wrote up a post today on the merits of writing a technical book in this day-and-age and specifically called out my past post on programming book profits and my work-in-progress Secrets of the JavaScript Ninja. I wanted to give a brief status update on the book and how its going. I started the book in early 2008 and was actually quite productive, finishing nearly the entire book that y




 

2012/07/12 04:31
 







 











John Resig - JavaScript as a First Language  

33users  
johnresig.com  


At Khan Academy weve been investigating teaching Computer Science to students in some new and interesting ways. The most interesting aspect of which is that were likely going to be teaching them JavaScript as their first language. Were in a very unique position as were primarily aiming to teach students whove been through our previous math and science-centric curriculum. Because of this we ca




 

2011/12/22 05:01
 











 











John Resig - jQuery 1.6 and .attr()  

11users  
johnresig.com  


jQuery 1.6 and 1.6.1 are out the door. Congrats to the team and everyone that was involved with the release! A relatively controversial change in 1.6 was regarding how attributes and DOM object properties were handled. In 1.6 we wanted to take the major step of completely separating the two, allowing us to create an .attr() method that wasnt quite so mealy-mouthed with regards to how attributes w




 

2011/05/14 02:31
 





 











John Resig - Next Steps in 2011

21users  
johnresig.com  


Today Im announcing a major change in my life: Im leaving Mozilla Corporation and joining Khan Academy. I joined the Mozilla Corporation in January of 2007, just over 4+ years ago, as a JavaScript Evangelist. During my time at the company I had an amazing opportunity to promote JavaScript. Its been an incredible experience working with everyone at Mozilla. The company is easily one of the most




 

2011/05/04 01:24
 







 











John Resig - Pulley: Easy Github Pull Request Landing  

5users  
johnresig.com  


Ive created a simple tool for landing pull requests from Github, which Im calling Pulley. Landing a pull request from Github can be annoying. You can follow the instructions provided by Github (pulling the code, doing a merge) but thatll result in a messy commit stream and external ticket trackers that dont automatically close tickets. The series of commands that you run will typically look




 

2011/04/22 12:14
 



 











John Resig - Revised JavaScript Dictionary Search  

5users  
johnresig.com  


After my two previous posts discussing dictionary lookups in JavaScript and JavaScript Trie performance analysis even more excellent feedback came in from everyone. Out of all the results two techniques seemed to be most interesting  and promising for reducing general memory usage and load time. String-based Binary Search The first technique proposed was left as a comment by a commenter named Ran




 

2011/03/24 11:46
 



















John Resig - JavaScript Trie Performance Analysis  

19users  
johnresig.com  


After my last post discussing dictionary lookups in JavaScript the unanimous consensus seemed to be that utilizing Trie would result in additional space savings and yield performance benefits. A Trie is a relatively simple data structure. At its simplest form youre building a tree-like structure where each final leaf results in a complete word. This allows for some very efficient use of file size




 

2011/03/18 00:24
 















 











John Resig - Dictionary Lookups in JavaScript  

6users  
johnresig.com  


Ive been working on a browser-based word game, naturally written in JavaScript, and have been encountering some interesting technical challenges along the way. Ive written up my thought process here for others to learn from (note that most of this happened over the course of a month, or so). Ive often found that while a final solution to a problem may be rather elegant and make perfect sense




 

2011/03/16 08:26
 





 











John Resig - Learning from Twitter  

30users  
johnresig.com  


An issue popped up on Twitter this past week that caused the web site to be generally unusable for many users. It appears as if attempts to scroll were unbearably slow and caused the site to be unresponsive. The Twitter team investigated and determined that if they reverted the version of jQuery that they used back to 1.4.2 from 1.4.4 the site would be responsive again. After more investigation th




 

2011/01/21 06:08
 















 











John Resig - Google Cr-48 for Coding  

5users  
johnresig.com  


The other day I saw the announcement for the new Chrome OS test laptop and decided to sign up on the off-chance that I might be able to snag one. In the request form I made it very clear that I would be attempting to use this laptop for development (easily my primary activity). Surprisingly the laptop arrived this morning and Ive been having fun putting it through its paces. (Note: There doesnt




 

2010/12/11 08:36
 













John Resig - Fast JavaScript Max/Min  

9users  
johnresig.com  


Ive been saving this technique for a while now  its simple, but its good. Whats the fastest way to find the largest, or smallest, number in an array? Theres a bunch of implementations floating around  including some nicely object-oriented approaches in Prototype. However, none of them can compare to the raw simplicity of this: Array.max = function( array ){ return Math.max.apply( Math, arra




 

2010/11/19 13:14
 





 











Things You Might Not Know About jQuery  

4users  
johnresig.com  


Creating Elements jQuery provides an alternative to the traditional DOM createElement. You get to just write straight up HTML. $("<li/>"); Creating Elements If you wish to modify the element or bind events to it, just use jQuery methods. $("<li/>") .click(function(){}) .attr("id", "test") .addClass("clickable"); Improved Creation In jQuery 1.4 we provided a new way to create an element and then mo




 

2010/03/05 14:16
 







 











Introduction to jQuery  

4users  
johnresig.com  


Load up this page in your browser. http://ejohn.org/apps/workshop/intro/ Not required, but good: Download and Install Firefox and Firebug. All code here: http://github.com/jeresig/jquery-workshop What is jQuery? An open source JavaScript library that simplifies the interaction between HTML and JavaScript. Created by John Resig in 2005, released in January of 2006. Built in an attempt to simplify t




 

2010/03/05 14:16
 







 











John Resig - Spring 2010 jQuery Talks  

4users  
johnresig.com  


I gave a number of talks this spring on jQuery and especially on some of the recent additions made in jQuery 1.4. Below are all the slides and demos that Ive given. The conferences / meetups that I spoke at (or will speak at, in the case of MIX), and the talks that I gave, are as follows: Webstock (Wellington, NZ) (Introduction to jQuery Workshop, Things You Might Not Know About jQuery) Future of




 

2010/03/05 08:09
 





 








 




























 

John Resig - JavaScript Programmer  

 



j

k

l

e

o
 
 
















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 





x