Better HN
topnewbestaskshowjobs
Log inSign up

newtron

68 karma · joined Mar 21, 2011 (15y ago) · 15 submissions

Submissions

1.

Keeping The Big Small: How To Avoid Duplicate Downloads In Responsive Images(mobile.smashingmagazine.com ↗)

1 points · by newtron · 13y ago · discuss

comment 15y ago · link · parent

That's awesome, thanks for showing me that. It would definitely be cool to implement something similar for browsers with SVG support, then fallback to the generated spans for those without.

comment 15y ago · link · parent

That's interesting, I'll definitely take a look at Raphael. Did you just need the silhouette, or did Raphael let you do the click through thing too?

comment 15y ago · link · parent

I don't think you're being a jerk, I think it's great feedback. :) I appreciate your candor about forgetting to revisit.

I'm hoping to add better fallbacks shortly.

comment 15y ago · link · parent

That's really cool, I didn't know about that. Thanks!

The difference here is that with alphaPun.ch you're only clicking through the transparent parts of the image; the opaque parts still block clicks. If I understand that document correctly, pointer-events would only allow you to click through the whole image. (Except with SVG?) Is that right?

comment 15y ago · link · parent

For the initial launch, my intention was to build something interesting using new HTML5, CSS3 and JavaScript features and techniques. Now that it is launched and working in the browsers targeted by the contest (current Firefox, Chrome and IE10pp2) my goal will be to expand it to work with browsers that don't support all these features.

comment 15y ago · link · parent

I don't have it registered with the α unicode character, only the normal roman a -- http://alphapun.ch or http://www.alphapun.ch.

comment 15y ago · link · parent

The limitations of the contest were that it must support current versions of Chrome, Firefox, and IE10pp2, which it does in this launch version. Now that it's working in those browsers, further browser support and better fallbacks are my top priority.

Yes, the fallback is not adequate for a general release tool, so maybe I should have waited before posting it here. But, I thought people might still find it interesting, and I wanted some feedback before submitting it for the contest.

Apologies to those that are being frustrated by these limitations at launch.

comment 15y ago · link · parent

It lets you upload a transparent PNG or GIF and will trace the opaque parts. It then spits out some HTML/CSS/JS that you can put on your site that allows you to click through the transparent parts of the image.

comment 15y ago · link · parent

Thanks! Now if you do need it, you'll have options. :)

comment 15y ago · link · parent

BTW, I have a write-up about it here: http://davidnewton.ca/introducing-alphapunch

comment 15y ago · link · parent

Performance is a valid concern, but so far in the tests I've run I haven't hit any real problems. If you encounter any slow downs or real performance issues, I'd love to hear about them (and hopefully eliminate them!)

Thanks!

comment 15y ago · link · parent

As a Safari user, I actually totally agree, and it was a hard choice to leave it out of the first iteration. The reason was that this was made for the 10K Apart contest (10k.aneventapart.com) and I was really, really struggling to get the code in under 10k. Having the extra functionality pushed me over the edge. I will definitely be making it support more browsers over time, and adding more options. Or, you could always fork it on github and add it yourself. (https://github.com/nwtn/alphapun.ch) :)

14.

Show HN: αlphaPun.ch(alphapun.ch ↗)

61 points · by newtron · 15y ago · 32 comments

15.

The Current State of Hyphenation on the Web(davidnewton.ca ↗)

2 points · by newtron · 15y ago · discuss