Blog / The Week of the JavaScript take over

Carl Whittaker
October 26, 2012

Sweet.js

Make a DSL in JavaScript with tidy macros http://sweetjs.org/

Components

A neat approach to reusable stand alone JS+CSS components from everyones favourite JavaScript hero. https://github.com/component/component/

Creating SVG vector graphics for maximum browser compatibility

Pixel density is now a thing and SVG is well supported in all major browsers. Give SVG a chance. http://voormedia.com/blog/2012/10/creating-svg-vector-graphics-for-maximum-browser-compatibility

cssConsole

Create terminal like interfaces in a browser. Because… why not? http://www.michalkowalkowski.com/cssConsole/

A novel, efficient approach to JavaScript loading

More videos of JSConfEU talks can be found here: http://www.youtube.com/user/jsconfeu

JavaScript: Function Invocation Patterns

Good to know. http://doctrina.org/Javascript-Function-Invocation-Patterns.html

Mozilla to give in on h.264

Imagine a world where we only have to encode video once. http://www.webmonkey.com/2012/10/mozilla-plans-h-264-video-for-desktop-firefox/

@supports lands in webkit

Modernizr’s days are numbered http://trac.webkit.org/changeset/131783

Bifocals

Asyncronous partials in node http://bifocalsjs.com/

Mozilla Event reference

Event soup https://developer.mozilla.org/en-US/docs/Mozillaeventreference

Opal - a Ruby to JavaScript compiler

Why not? http://opalrb.org/

Responsive sausage dog

Just because http://rsd.joshemerson.co.uk/

Matt P has found something questionable over on MSDN

Tri-state booleans

Ever heard of a tri-state boolean with 5 possible values, 3 of which are unsupported? I hadn’t until a few minutes ago. Details located at http://msdn.microsoft.com/en-us/library/aa432714(office.12).aspx. Another one to file under the sick-and-wrong category.

Here’s another link - this time one to file under the “impressive” folder:

How to Sort One Million 8-digit Numbers in 1MB of RAM

http://preshing.com/20121025/heres-some-working-code-to-sort-one-million-8-digit-numbers-in-1mb-of-ram

Andrew has been performing… sequel acrobatics

Renaming indexes in ActiveRecord:

One of the things I found which is available from Rails 3 is the rename_index method.

So if you have changed a column name which you are indexing on simply add the following to your migration

rename_index :table_name, 'old_name', 'new_name'

Please note: this may also work with symbols! I haven’t a clue!

Matt F has been mourning the passing of CEEFAX

Twefax

http://jonathancresswell.co.uk/twefax/ has been consoling me in this dark, terrifying post-CEEFAX world. It’s built using Fork-A-Twitter-Client http://fatc.onilabs.com/

RubyWeaver

Sadly http://rubyweaver.js-designz.net/ needs some tlc. Any takers?

I think these are self-explanatory:

Fortran on a Mac

http://hpc.sourceforge.net/

Spacewar!

1962’s hottest game, running on a DEC PDP-1 emulator http://spacewar.oversigma.com/