/tagged/development/page/2

CORS - The problem I didn't know I had

After beating my head for over a week, I stumbled upon this site today…

I’ve been fighting with a site that features audio clips (in addition to other media) that needed to operate on desktop and iPad devices. Everything to-date seemed to have been working fine, but reports of faulty audio-playback on iPad started a terrible down-hill battle. 

After trying several HTML5/Flash-fallback audio players, JavaScript configurations, media re-encoding, media encoding in multiple formats, and I’m sure something else, I wondered about the fact that I was referencing a file on a production url while I was testing on a staging site. (I think I hear Flash developers screaming, “Duhhhh”)

However, my attempt at adding a crossdomain.xml file was futile. But that got me looking. It became very likely, in my head, that a mobile device should not pull foreign content without permission; which brought me to Cross-Origin Resource Sharing. I’ts a lovely little source of knowledge that allowed one line in a .htaccess file on the production site to solve the problem I didn’t even know I had. Beautiful. 

How to Build a Popularity Algorithm You can be Proud of

Just tried out the Y Combinator popularity sort on a staging version of a client site. We’ll see how it goes.

Why are software development task estimations regularly off by a factor of 2-3?

Great example of how difficult accuracy is in custom development time estimations

(via Quora)

A stupid-I-didn’t-know Photoshop Keyboard Shortcut

Thanks to co-worker, Will, I now can spare myself some of the pain of dealing with pulling elements out of a 1GB+ PSD.

Normally, I would have to isolate a button/photo/whatever in a design screen and flatten/merge layers just so that I could crop it without taking 5 minutes. But, then I need to get some more objects in the design. So, undo a few times or revert to the Open state (waiting…) and repeat (more waiting…).

But now, all I have to do is make my marquee or selection on the object and as long as there aren’t any funky “designery-things” I can simply Cmd+Shift+C and it copies everything visible in that selection. If the object has straight edges, just open a new document, paste and Save for Web in all it’s glory. If it has some roundedness, you might be out of luck; unless it doesn’t need to have a perfect alpha edge, then just matte and GIF it.

Hope this helps someone besides me. BTW, I’m on a Mac, so I’d imagine just replace the Cmd with Ctrl for the PC users.

Responsive Images Experiment /Filament Group

The goal of this technique is to deliver optimized, contextual image sizes for responsive layouts that utilize dramatically different image sizes at different resolutions. Ideally, this approach will allow developers to start with mobile-optimized images in their HTML and specify a larger size to be used for users with larger screen resolutions — without requesting both image sizes, and without UA sniffing.

Sexy Cycle

jQuery plugin to support some neat image transitions.

(via Joe)

CodeIgniter Sparks

Install helpers/packages into a CodeIgniter2 app for quick integration.

(via Zack)

320 and up

A reverse of traditional responsive design. Starting sites from small mobile pages to normal full desktop displays.

OpenJS: Keyboard Shortcuts

Adding keyboard shortcuts to your web development quite simply.

jsFiddle

A unique four-stage tool that facilitates quick JavaScript development by having HTML, CSS and JS windows side-by-side and a result window for testing. Offers several options including JS frameworks and versions.

The ProtoFluid App

Virtual device-display site for testing media-queries.

CORS - The problem I didn't know I had

After beating my head for over a week, I stumbled upon this site today…

I’ve been fighting with a site that features audio clips (in addition to other media) that needed to operate on desktop and iPad devices. Everything to-date seemed to have been working fine, but reports of faulty audio-playback on iPad started a terrible down-hill battle. 

After trying several HTML5/Flash-fallback audio players, JavaScript configurations, media re-encoding, media encoding in multiple formats, and I’m sure something else, I wondered about the fact that I was referencing a file on a production url while I was testing on a staging site. (I think I hear Flash developers screaming, “Duhhhh”)

However, my attempt at adding a crossdomain.xml file was futile. But that got me looking. It became very likely, in my head, that a mobile device should not pull foreign content without permission; which brought me to Cross-Origin Resource Sharing. I’ts a lovely little source of knowledge that allowed one line in a .htaccess file on the production site to solve the problem I didn’t even know I had. Beautiful. 

How to Build a Popularity Algorithm You can be Proud of

Just tried out the Y Combinator popularity sort on a staging version of a client site. We’ll see how it goes.

Why are software development task estimations regularly off by a factor of 2-3?

Great example of how difficult accuracy is in custom development time estimations

(via Quora)

A stupid-I-didn’t-know Photoshop Keyboard Shortcut

Thanks to co-worker, Will, I now can spare myself some of the pain of dealing with pulling elements out of a 1GB+ PSD.

Normally, I would have to isolate a button/photo/whatever in a design screen and flatten/merge layers just so that I could crop it without taking 5 minutes. But, then I need to get some more objects in the design. So, undo a few times or revert to the Open state (waiting…) and repeat (more waiting…).

But now, all I have to do is make my marquee or selection on the object and as long as there aren’t any funky “designery-things” I can simply Cmd+Shift+C and it copies everything visible in that selection. If the object has straight edges, just open a new document, paste and Save for Web in all it’s glory. If it has some roundedness, you might be out of luck; unless it doesn’t need to have a perfect alpha edge, then just matte and GIF it.

Hope this helps someone besides me. BTW, I’m on a Mac, so I’d imagine just replace the Cmd with Ctrl for the PC users.

Responsive Images Experiment /Filament Group

The goal of this technique is to deliver optimized, contextual image sizes for responsive layouts that utilize dramatically different image sizes at different resolutions. Ideally, this approach will allow developers to start with mobile-optimized images in their HTML and specify a larger size to be used for users with larger screen resolutions — without requesting both image sizes, and without UA sniffing.

Sexy Cycle

jQuery plugin to support some neat image transitions.

(via Joe)

CodeIgniter Sparks

Install helpers/packages into a CodeIgniter2 app for quick integration.

(via Zack)

320 and up

A reverse of traditional responsive design. Starting sites from small mobile pages to normal full desktop displays.

OpenJS: Keyboard Shortcuts

Adding keyboard shortcuts to your web development quite simply.

jsFiddle

A unique four-stage tool that facilitates quick JavaScript development by having HTML, CSS and JS windows side-by-side and a result window for testing. Offers several options including JS frameworks and versions.

(via Joe)

(via Joe)

The ProtoFluid App

Virtual device-display site for testing media-queries.

A stupid-I-didn’t-know Photoshop Keyboard Shortcut

About: