11.04.2014 23:31

Please Visit: http://ift.tt/1ajReyV





JSLint - The JavaScript Code Quality Tool







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jzdwnR

via LifeLong Community

11.04.2014 21:35

Please Visit: http://ift.tt/1ajReyV





So before we dive in, let's rule two things out. First, I'm not a JVM expert and second, microbenchmarking is hard. The bigger problem is that it isn't only hard but also looks very easy if you start. You put your test code in a loop, use System.nanoTime or something similar to measure the total ...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/ORl8qo

via LifeLong Community

11.04.2014 21:34

Please Visit: http://ift.tt/1ajReyV





Using Caliper for writing Micro Benchmarks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/ORl8qc

via LifeLong Community

Reshared post from Jeffery yuan:

Please Visit: http://ift.tt/1ajReyV




Using Chrome DevTools to Bring Back Browser Default Context Menu


Original Post from Jeffery yuan:


Using Chrome DevTools to Bring Back Browser Default Context Menu

http://ift.tt/1ndqOHl

Describe How to bring back browser default context menu(we all miss Chrome DevTool's Inspect Element function) in most site, and take Google Drive as a special example.






Using Chrome DevTools to Bring Back Browser Default Context Menu







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nduLMf

via LifeLong Community

Chrome: How To Create Custom Keyboard Shortcuts For Extension http://ift.tt/ON9ZXB...

Please Visit: http://ift.tt/1ajReyV



Chrome: How To Create Custom Keyboard Shortcuts For Extension

http://ift.tt/SbJMA4



Geeks love keyboard shortcuts – they can make you faster and more productive than clicking everything with your mouse. We’ve previously covered keyboard shortcuts for Chrome and other browsers, but you can assign your own custom keyboard shortcuts, too.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1eqy0Ab

via LifeLong Community

SELECTING CHILD ENTITIES WITH GQL QUERIES http://ift.tt/1eu2QCh...

Please Visit: http://ift.tt/1ajReyV



SELECTING CHILD ENTITIES WITH GQL QUERIES

http://ift.tt/1eu2RX6

A one-to-many bidirectional relationship is similar to a one-to-one, with a field on the parent class using the annotation @Persistent(mappedBy= "..."), where the value is the name of the field on the child class:

SELECT * FROM Model where _key_ = KEY('Make', 'canon', 'Model', 'canon eos 5d')

Key makeKey = KeyFactory.createKey(Make.class.getSimpleName(), makeName);

// Can create the Model key by specifying parent key...

Key modelKey = KeyFactory.createKey(makeKey, Model.class.getSimpleName(), name);

// Bam! Get the child entity in a single query

Model model = pm.getObjectById(Model.class, modelKey);



You're right. I don't recall really struggling to choose the name “Make” it just seemed like the only option at the time, probably because in EXIF data it is called Make and Model. Now that I look at it, “makeKey” is a pretty stupid variable name, I just never read it in my head in the way ...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1eu2QCj

via LifeLong Community

Joseph Kony 2012 KONY 2012 http://ift.tt/xenSHO

Please Visit: http://ift.tt/1ajReyV






KONY 2012







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1iwbIsg

via LifeLong Community

Increase your Google App Engine quotas for free http://ift.tt/1lLiQFe...

Please Visit: http://ift.tt/1ajReyV



Increase your Google App Engine quotas for free



http://ift.tt/XDXvAZ



Increase your Google App Engine quotas for free







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1sCLqg4

via LifeLong Community

The wait is over: JDK 8 is here! http://ift.tt/1sCLn44...

Please Visit: http://ift.tt/1ajReyV



The wait is over: JDK 8 is here!



http://ift.tt/1lLiT3U



A developer's list and crib-sheet of some of the best resources on the web for learning about Java 8, now in general availability.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1lLiQoS

via LifeLong Community

How to copy to clipboard in Chrome extension function copyToClipboard( text ){ var copyDiv = docume...

Please Visit: http://ift.tt/1ajReyV



How to copy to clipboard in Chrome extension



function copyToClipboard( text ){

var copyDiv = document.createElement('div');

copyDiv.contentEditable = true;

document.body.appendChild(copyDiv);

copyDiv.innerHTML = text;

copyDiv.unselectable = "off";

copyDiv.focus();

document.execCommand('SelectAll');

document.execCommand("Copy", false, null);

document.body.removeChild(copyDiv);

}

http://ift.tt/1k5yYSd



While developing a Chrome extension you can come up with the situation to copy text to clipboard. I was searching over internet since I found following code







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1lL2RqM

via LifeLong Community

Using Text instead of String to store large texts in GAE's datastore import com.google.appengine.ap...

Please Visit: http://ift.tt/1ajReyV



Using Text instead of String to store large texts in GAE's datastore



import com.google.appengine.api.datastore.Text

Text text;

http://ift.tt/1g82YYG



I just started playing with Gaelyk and GAE. The goal is to learn the GAE APIs and services and improve my groovy foo! So, in order to practice it I've chosen to develop a simple pastebin like application using Gaelyk. I started it by modeling the main entity: Snippet, which is a very simple POGO ...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1g82X7j

via LifeLong Community

Reshared post from Kirill Evstigneev:

Please Visit: http://ift.tt/1ajReyV






Original Post from Kirill Evstigneev:


Java #GarbageCollection tuning - a never ending quest.

A comprehensive story from LinkedIn,

- they work with 40GB Java heap,

- and managed to keep the app responce time within 60msec - without GC-induced pauses.



Interesting that they found G1, designed for large heaps, behaving not so well as good old CMS.






We're seeking intelligent problem solvers who are inspired and motivated to change the world.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1qri1S6

via LifeLong Community