News for hackers. Stuff that matters.
Re:Show HN: Pulse — A simple pulsating indicator. by retube on Sunday September 18, 2011 @03:47AM (#3009732)
Top of hacker news: a dot that.... pulses. And doesn't even work in most browsers.

I mean I know it's the weekend and maybe a slow news day, but really?

Re:Show HN: Pulse — A simple pulsating indicator. by eykanal on Saturday September 17, 2011 @10:47PM (#3009330)
Stick it on Github as three files - image, html, css - so folks can "watch" it. I've found that the watch feature of github helps me remember all these little nifty snippets of functionality so that, one day, when the need comes around, I actually remember that the thing exists, I can find it easily, and I can use it.
Re:Show HN: Pulse — A simple pulsating indicator. by flexd on Sunday September 18, 2011 @05:50AM (#3009883)
The only problem about that on GitHub is that you can't "unwatch" all the notifications while still watching the project. I'm watching 128 repositories and my news feed is just noise to me now. :-/
Re:Show HN: Pulse — A simple pulsating indicator. by Pewpewarrows on Sunday September 18, 2011 @12:52PM (#3010615)
GitHub needs a major overhaul of the entire activity stream. Right now I'm forced to use the GitMarks Chrome Extension and keep a very curated list of projects / people to watch. And the feed is still chaotic and unusable most of the time. They overhauled Issues from a useless issue tracker into my primary Project Management tool, so I'm quite confident that they can revamp the actions feed successfully.
Re:Show HN: Pulse — A simple pulsating indicator. by eykanal on Sunday September 18, 2011 @07:42AM (#3010019)
Someone from GitHub needs to see this comment.
Re:Show HN: Pulse — A simple pulsating indicator. by dpritchett on Sunday September 18, 2011 @10:27AM (#3010259)
I follow my friend's hobby projects, but my news feed is 99% CoffeeScript updates. It'd be really nice to have more control over that view.
Re:Show HN: Pulse — A simple pulsating indicator. by albertzeyer on Sunday September 18, 2011 @09:12AM (#3010147)
I do that, too.

And same complaints as one of this post childs.

Sometimes though, I wonder why I don't use the tools which were made for this. I.e. the browser bookmarks.

Maybe the browser bookmarks really need some improvements to be useable. Because in many cases, I tend not to use them (leave open tabs instead, use 'watch project' on GitHub, and so on).

E.g., there could be some rules, like when I bookmark a page on GitHub, it automatically puts it into a bookmark directory called "GitHub projects" or so.

Maybe also more dynamics. Like there could be scripts running on a bookmark directory which check for updates on the specific site/project and push them up, print a headline or so.

Re:Show HN: Pulse — A simple pulsating indicator. by moeedm on Saturday September 17, 2011 @10:53PM (#3009345)
On it.
Re:Show HN: Pulse — A simple pulsating indicator. by dfc on Saturday September 17, 2011 @11:12PM (#3009368)
I do not get it. All I see is a blue dot. Clicking it says "target acquired" but I can not acquire a new target...
Re:Show HN: Pulse — A simple pulsating indicator. by mannicken on Saturday September 17, 2011 @11:15PM (#3009374)
It only works on webkit browsers.
Re:Show HN: Pulse — A simple pulsating indicator. by pharrington on Sunday September 18, 2011 @02:24AM (#3009633)
Using JavaScript to render to a canvas will work in all modern browsers, while maintaining (or even enhancing) the CSS's flexibility. I first thought the JavaScript solution would even be about the length of Moeed's CSS, but after writing it out my code's about 5x longer :(

edit: here's a jsfiddle of it in action http://jsfiddle.net/MftVp/

Re:Show HN: Pulse — A simple pulsating indicator. by epicureanideal on Sunday September 18, 2011 @04:35AM (#3009798)
With jQuery I doubt it would be 5x longer.
Re:Show HN: Pulse — A simple pulsating indicator. by udp on Sunday September 18, 2011 @07:19AM (#3009983)
jQuery doesn't provide anything that would make the above code shorter.
Re:Show HN: Pulse — A simple pulsating indicator. by zhwang on Sunday September 18, 2011 @01:45AM (#3009593)
Firefox 5+ supports CSS3 animations and transforms with the -moz prefix. A quick replace all in pulse.css gets the animation working fine.
Re:Show HN: Pulse — A simple pulsating indicator. by mannicken on Sunday September 18, 2011 @01:57AM (#3009610)
This effect can be realized on every JavaScript-supporting browser, or in fact any animated-.gif-supporting browser.

I think it was a proof-of-concept work.

Re:Show HN: Pulse — A simple pulsating indicator. by aj on Saturday September 17, 2011 @11:25PM (#3009395)
I can't but I'd downvote this simply for not being cross browser compatible in some form
Re:Show HN: Pulse — A simple pulsating indicator. by ubi on Saturday September 17, 2011 @11:41PM (#3009416)
An idea can be interesting without being cross-browser. The author makes no claims about this being the defacto-enterprise-grade blinking dot.
Re:Show HN: Pulse — A simple pulsating indicator. by techdmn on Sunday September 18, 2011 @12:18AM (#3009473)
Might be nice if the link title mentioned it, so save the rest of us the time.
Re:Show HN: Pulse — A simple pulsating indicator. by 0x12 on Sunday September 18, 2011 @06:31AM (#3009940)
I think the idea of a pulsating dot has been around long enough that it could have been implemented a bit more solid.
Re:Show HN: Pulse — A simple pulsating indicator. by Haraldson on Sunday September 18, 2011 @07:09AM (#3009974)
Are you using an image element to support printing? There's no other reasons to not use CSS3 to create the dot (or the somewhat more pragmatic approach of setting it as a background image on the target element, reducing your markup), as I see it?

I think you should also expect that people could want more than one target on their maps. There's no downside to switching from IDs to classes here.

Re:Show HN: Pulse — A simple pulsating indicator. by abcd_f on Sunday September 18, 2011 @12:06AM (#3009453)
I understand it is a very neat piece of CSS scripting, but how does this compare to a simple animated GIF from practical perspective?
Re:Show HN: Pulse — A simple pulsating indicator. by pharrington on Sunday September 18, 2011 @01:06AM (#3009546)
GIF's don't support alpha transparency, making them the opposite of practical for an effect like this.
Re:Show HN: Pulse — A simple pulsating indicator. by 0x12 on Sunday September 18, 2011 @06:29AM (#3009938)
At least GIFs work more or less the same on all browsers. This is an excellent example of how not to do it.

Imagine the support call: "Click on the blinking dot" : "I don't see any blinking dot" : "It blinks for me, do you use a webkit browser?" : "A what?"

Re:Show HN: Pulse — A simple pulsating indicator. by rocktronica on Sunday September 18, 2011 @12:46AM (#3009515)
CSS beats graphics because it can be changed programatically. Browser supporting, _all_ the parameters can be changed to suit the rest of the UI. If the designer writes their CSS in browser like I do, it's instantaneous and immensely powerful.

With images, it's, well, you know, slower.

Re:Show HN: Pulse — A simple pulsating indicator. by cosgroveb on Sunday September 18, 2011 @12:12AM (#3009462)
Well you could script it to change the rate of pulsing in JS I guess... Still don't think this is very exciting anyways. Why the png and not pure a pure css icon for instance (although that's not very interesting to me either)?
Re:Show HN: Pulse — A simple pulsating indicator. by kilian on Sunday September 18, 2011 @07:56AM (#3010042)
I recently did something similar for more general elements as a jquery plugin: http://jquerypulsate.kilianvalkhof.com/ it uses the outline-offset css property, which doesn't seem that well known but seems quite useful too.
Re:Show HN: Pulse — A simple pulsating indicator. by Bootvis on Sunday September 18, 2011 @08:00AM (#3010050)
Very nice, I see myself using this before friday :)
Re:Show HN: Pulse — A simple pulsating indicator. by oscilloscope on Saturday September 17, 2011 @10:49PM (#3009336)
Nice little effect. Could work well on realtime force-directed graphs:

http://mbostock.github.com/d3/ex/force.html

Re:Show HN: Pulse — A simple pulsating indicator. by driverdan on Saturday September 17, 2011 @11:24PM (#3009392)
Last year I (along with the rest of our Node Knockout team) built a game that had a pulsing dot similar to this one. We used Raphael (SVG/VML). Although it's much heavier than this using Raphael is cross-browser. It might be a suitable fallback.

I want to open source the whole project but haven't had time to clean it up.

Re:Show HN: Pulse — A simple pulsating indicator. by Empact on Sunday September 18, 2011 @12:13AM (#3009464)
My suggestion: don't bother cleaning it up, just publish it. If the two realistic options are your code dropping off the face of the earth because it's never published, or it being put in a place where someone might find it useful and run with it, the latter is far more beneficial to society.

If you're concerned about your personal reputation (which in my experience tends to be the case) then consider you're likely better off as a prolific coder than a sparse one, and if anything we should be pushing the industry towards more open exchange of code so as to reduce loss & waste.

Re:Show HN: Pulse — A simple pulsating indicator. by driverdan on Sunday September 18, 2011 @11:34AM (#3010408)
By clean it up I mean make it work again. It was built on an older version of Node and doesn't work with API changes made since then.

What you say is true though. I'll set a deadline to fix it by. If it isn't done by then I'll just put it up.

My code is always perfect in every way so I'm not worried about reputation. /sarcasm

Re:Show HN: Pulse — A simple pulsating indicator. by SkyMarshal on Sunday September 18, 2011 @03:01AM (#3009680)
That, plus the fact that if people like it they'll fork and clean it for you. FOSS + karma ftw.
Re:Show HN: Pulse — A simple pulsating indicator. by steve8918 on Sunday September 18, 2011 @01:28AM (#3009577)
Pretty nice, but it appears that whatever method is used to generate the pulse, it causes the CPU utilization of the Desktop Windows Manager (dwm.exe) to shoot up to about 10-15% when using Chrome.
Re:Show HN: Pulse — A simple pulsating indicator. by gmantastic on Sunday September 18, 2011 @04:17AM (#3009769)
<blink> 2.0?
Re:Show HN: Pulse — A simple pulsating indicator. by bwblabs on Sunday September 18, 2011 @05:07AM (#3009830)
I must agree with most people complaining here, it should work on ALL modern browsers (including IE9).

The implementation is not even great either, see this screenr I made: http://screenr.com/azAs

Re:Show HN: Pulse — A simple pulsating indicator. by pongo000 on Sunday September 18, 2011 @02:39AM (#3009654)
I'll be more impressed when this can work on my non-JS enabled browser.
Re:Show HN: Pulse — A simple pulsating indicator. by ajarmoniuk on Sunday September 18, 2011 @09:14AM (#3010150)
doesn't pulse on chrome 14.0.835.165m on windows
Re:Show HN: Pulse — A simple pulsating indicator. by kiranryali on Sunday September 18, 2011 @02:15AM (#3009629)
I would make the pulsing ring easier to see
Re:Show HN: Pulse — A simple pulsating indicator. by skadamat on Sunday September 18, 2011 @02:48AM (#3009663)
haha this looks like the one on Foursquare, neat work regardless though :)
Re:Show HN: Pulse — A simple pulsating indicator. by schwa on Sunday September 18, 2011 @12:13AM (#3009465)
A little bit (i.e. completely) derivative of the Maps app on the iPhone.