Better HN
topnewbestaskshowjobs
Log inSign up

dbushell

1,104 karma · joined Mar 3, 2012 (14y ago) · 76 submissions

https://dbushell.com
Submissions

comment 13y ago · link · parent

Fully minified and gzip compressed I've found SVG to be neither smaller nor larger than an alternate PNG version. It really details on the complexity with the image itself. Obviously you get the scalability factor for free. I suspect mutliple SVG files inline of the same document will benefit for a small compression boost.

Sending them inline of HTML simply reduces HTTP requests. Latency there is a big bottleneck. You have to balance that with the fact that the browser can't cache the SVG for use across multiple pages, like it can with a background-image or <img> element.

62.

A Responsive Design Review(dbushell.com ↗)

6 points · by dbushell · 13y ago · 2 comments

63.

Multiple Accounts and SSH Keys(dbushell.com ↗)

1 points · by dbushell · 13y ago · discuss

64.

5 Tips for Responsive Builds(dbushell.com ↗)

4 points · by dbushell · 13y ago · discuss

65.

Apple’s Russian iTunes launch plagued with "pornography bug"(9to5mac.com ↗)

69 points · by dbushell · 13y ago · 25 comments

comment 14y ago · link · parent

You might enjoy my attempt. No jQuery dependency and binding to an input field is optional.

https://github.com/dbushell/Pikaday

comment 14y ago · link · parent

That doesn't make their advice wrong.

68.

The real cost of Retina(dbushell.com ↗)

1 points · by dbushell · 14y ago · discuss

69.

Show HN: a refreshing JavaScript datepicker(github.com ↗)

2 points · by dbushell · 14y ago · discuss

70.

JQuery UI 1.9.0(blog.jqueryui.com ↗)

4 points · by dbushell · 14y ago · discuss

71.

Vector graphics, Retina, and You(dbushell.com ↗)

1 points · by dbushell · 14y ago · discuss

comment 14y ago · link · parent

Quite a bit hand-wavy! Only because SVG support is easily detected with the likes of Modernizr http://modernizr.com/. Background images with CSS are very simple to provide both SVG and a raster fallback graphic for. Image elements aren't as simple, but I'd suggest defaulting to SVG in both cases and replacing the source if support doesn't exist. That way the issue with eventually disappear alongside legacy browser usage.

As you said the benefits of high pixel densities are visually huge. A small and temporary JS hack is a price worth paying in my opinion.

73.

A case study in Responsive Web Design(dbushell.com ↗)

1 points · by dbushell · 14y ago · discuss

74.

The LoveDsgn Story - starting up and closing down a design community(dbushell.com ↗)

1 points · by dbushell · 14y ago · discuss

75.

UX and Privacy: The Fickle Web(dbushell.com ↗)

1 points · by dbushell · 14y ago · discuss

76.

Browser Support? Forget It!(dbushell.com ↗)

1 points · by dbushell · 14y ago · discuss

123