Live data from Hacker News

Animating URLs with JavaScript and Emojis

matthewrayfield.com

141–150 of 173 posts

Re: Animating URLs with JavaScript and Emojis

#142

I'm just waiting for mainstream media sites to abuse this to put: 20% OFF SUBSCRIBE NOW in the URL of their page. Edit: HN doesn't support emoji in comments. That was supposed to be surrounded by sirens.

If you ever see emoji in hackernews comments then hackernews, as it has been, is over.

..why? i see comments with ':-)' all the time. are the people here so pretentious that they're fundamentally opposed to using an ideogram?

better hope there aren't any closeted road-signage-designers lurking on HN then

Re: Animating URLs with JavaScript and Emojis

#143

Earlier quoted context omitted.

If you ever see emoji in hackernews comments then hackernews, as it has been, is over.

..why? i see comments with ':-)' all the time. are the people here so pretentious that they're fundamentally opposed to using an ideogram? better hope there aren't any closeted road-signage-designers lurking on HN then

Emojis are too jocular for the tone we are trying to strike here. They lower the level of discourse down to something more like Reddit or Twitter.

Re: Animating URLs with JavaScript and Emojis

#144
post #47

Earlier quoted context omitted.

Github does this for pull request status, it’s really great

Looking around for more, https://travis-ci.org/ updates it with build succeeded | failed | in-progress. The few websites I first checked, like Facebook, I must've misremembered. But it's definitely still out there in the wild.

Gitlab CI also updates the favicon

Re: Animating URLs with JavaScript and Emojis

#146
post #145

Those idiots over at Google AMP are working on destroying the web when they could be working on something productive like this.

Is this satire, or...?

It's just humour. AMP is obviously trash unless you're a Google shill, and this project isn't exactly productive. But at the same time I do honestly believe the world would be better off if AMP developers resigned themselves to building useless stuff like this instead of AMP.

Re: Animating URLs with JavaScript and Emojis

#149

Earlier quoted context omitted.

You can already use Greek letter variable names in Python: https://stackoverflow.com/questions/17043894/what-unicode-sy... I've used θ in code dealing with angles before.

That's a bad idea. How are other developers supposed to type this character (unless they are from Greece)?

keep it in the copy paste buffer, obviously /s.

For an even more extreme version, look at Perl6's atomic operators: https://docs.perl6.org/language/unicode_ascii#Atomic_operato... (or any other operators on this page for that matter).

IMO, it's not a "bad idea". Code is meant to be read, not written. If it renders the code more readable, then that's a win. But obviously, whether those symbols actually make the code more readable is debatable.

Re: Animating URLs with JavaScript and Emojis

#150
post #134

Earlier quoted context omitted.

Or, just open in a new tab.

Tab will still foobar your history though, wouldn't it?

yeah, but only for that tab... same as on an incognito tab.

edit: apologies... I'm still used to the old history behaviors, I don't use it much.

Post reply on HN