Skip to content

Instantly share code, notes, and snippets.

View derek's full-sized avatar

Derek Gathright derek

View GitHub Profile
@derek
derek / gist:4743014
Last active December 12, 2015 08:18
YUI Weekly for February 8th, 2013
  • No new releases this week, but here's a reminder about upcoming deadlines for the current development cycle (Sprint 5).

    • February 12: Feature Complete Pull Request Deadline.
    • February 15: Feature Complete Code Freeze.
    • February 19: Stable Release Pull Request Deadline.
    • February 22: Stable Release Code Freeze.
    • February 26: Stable Release.
  • AlloyYUI v2 (built on top of YUI) is out! Check out the examples, API documentation, and its Rosetta Stone to compare APIs between YUI, jQuery, and AUI. Congrats to the team at Liferay and all of the contributors to the project.

  • yui-contrib mailing list activity for the week:

@derek
derek / gist:4964203
Last active December 13, 2015 19:38
YUI Weekly for February 15th, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, leave a comment below.

  • Development is winding down for the next release of YUI, currently scheduled for for February 26th. While today marks code freeze for new feature development, the pull request window is still open until February 19th for any bug fixes. With the new feature window closing, we've seen a few notable pull requests being merged into the 3.x branch (aka: 3.9.0), including Y.Tree, Normalize.css, A+ Promises, and more. Give 'em a spin and file a ticket (or [issue](https://github.com/yui/yu
@derek
derek / gist:5017021
Last active December 14, 2015 02:58
YUI Weekly for February 22nd, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, leave a comment below.

  • This week saw the release of YUI 3.9.0pr3, our last scheduled preview release before 3.9.0 GA next week. This preview release includes the addition of Y.Tree, Normalize.css, A+ Compatible Promises, Graphics Chaining, and more! See this blog post for a recap of everything that has changed since 3.9.0pr2.

  • Added to the YUI Theater this week was YUI Open RoundTable 02/21/2013, where we discussed performance benchmarking with yui-bench, YUI CSS, YUI Web Font, and as wel

@derek
derek / gist:5069245
Created March 2, 2013 01:42
YUI Weekly for March 1st, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community.

  • As announced a few days ago, the 3.9.0 GA release originally scheduled for this week has been delayed at least a week. In the meantime, you can begin using YUI 3.9.0pr3 to satisfy your v3.9 cravings.

  • We have a new team member, so here's a big YUI Weekly welcome to Eugene Kashida (@ekashida)!

  • The instance of Wordpress that powers yuiblog.com experienced a change last week which has broken the commenting capabilities. We don't have an ETA on a fix, but hopefully soon. In the meantime, you can always find us on of IRC in #yui (Freenode) and on Twitter at @yuilibrary.

  • Yesterday's [Open Roundtable](http://www.youtube.com/watch?v=e4Bdh

@derek
derek / gist:5174220
Last active December 15, 2015 00:38
YUI Weekly for March 15th, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, leave a comment below.

  • As you've probably seen, 3.9.0 is out! Thanks for your patience while we double-triple checked everything was stable for this feature-filled release. We've compiled a blog post containing all the goodies included in this release. FYI, the next release window is tentatively scheduled for April 16th, but we'll let you know when something is formalized and posted on our Development Schedule wiki.

  • Jeff Burtoft (@boyofgreen) contributed a great blog post explaining how he converted the duck shooter example from yuilibrary.com, and turned it into a fully functional Windows 8 app! Check it out @ [W

@derek
derek / gist:5272048
Created March 29, 2013 16:51
Y.Promises documentation

Promises are a tool to help write asynchronous code in a more readable style that looks more like synchronous code.

In short, promises allow you to interact with a value that may or may not be available yet.

@derek
derek / gist:5273783
Last active December 15, 2015 14:19
YUI Weekly for March 29th, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, feel free to leave a comment below.

  • This week saw the release of [YUI 3.9.1][1], a patch release that includes bug fixes and enhancements for [Handlebars][2], [LazyModelList][3] Fixes, and [Y.Tree][4]. Details of all changes can be found in the [YUI 3.9.1 History Rollup][5].

  • With the 3.9 release out the door, planning for the next release of YUI is underway! While it's too early to predict exactly what will be included, something we're hoping to include in a upcoming preview release (hopefully next week) is work from Satyen Desai on Base performance improvements. By including [these updates][6], we're seeing a 2-5x improvements in the [base-benchmark][7] perf tests in Chrome/OSX. Improvements in Base will affect anything extending it, which includes many parts of the library. Stay tuned!

  • For those anxious to get started with t

Y.Model: Instantiate a bare model
┌──────────┬────────────────────────────┬─────────────────────────────┐
│ │ Firefox │ Chrome │
├──────────┼────────────────────────────┼─────────────────────────────┤
│ v3.8.0 │ 3971.37 ±2.80% (-87%) │ 11258.29 ±4.26% (-163%) │
│ v3.9.0 │ 3596.12 ±5.37% (-107%) │ 11661.04 ±3.15% (-154%) │
│ WIP │ 7444.50 ±3.80% (Fastest) │ 29661.83 ±3.30% (Fastest) │
└──────────┴────────────────────────────┴─────────────────────────────┘
Y.Model: Subclass and instantiate a bare model
@derek
derek / gist:5777819
Last active December 18, 2015 11:48
YUI Open Roundtable for June 13th, 2013
@derek
derek / gist:5835076
Last active December 18, 2015 19:48
SELECT REGEXP_EXTRACT(url, r'(yui|jquery|dojo|angular|prototype|backbone|emberjs|sencha|scriptaculous).*\.js') type, count(distinct(pageid)) count,
FROM [httparchive:runs.2013_06_01_requests]
WHERE REGEXP_MATCH(url, r'yui|jquery|dojo|angular|prototype|backbone|emberjs|sencha|scriptaculous.*\.js')
GROUP BY type
ORDER BY count DESC
SELECT pages.pageid, url, cnt, libs, pages.rank rank FROM [httparchive:runs.2013_06_01_pages] as pages JOIN (
SELECT pageid, count(distinct(type)) cnt, GROUP_CONCAT(type) libs FROM (
SELECT REGEXP_EXTRACT(url,