News for hackers. Stuff that matters.

Enideo

Should UA-sniffing for mobile content be standard?

Why is it that server-side user-agent sniffing for mobile content is pretty much standard now? Developing in such a way is clearly considered bad practice for desktop browsers (hence projects such as jquery and modernizr).You could possibly justify a different sub-domain for mobile content in order to reduce bandwidth and ease development. However, you shouldn't force a redirect to one or...

( Read More... | no comments | on HN )
Re:Hashify.me - store entire website content in the URL on Wednesday April 20, 2011 @04:19AM (#2465771)
A similar technique is used already on the website http://www.wondersay.com Here the URL path is the text to animate and the fragment hash stores the settings. Bitly is also used to hide the contents of the URL (and hence the messages).

This is clever, in that the entire content of the website is not stored in a database, but in external links. Obviously the biggest problem with this technique is having bots crawl your site, so Google's #! convention is used.

Ask HN: Web host without root access that doesnt suck?

I started with cheap n dirty JustHost but left in case my sites got too much traffic and they cut me off.After much looking around, I went to MediaTemple's Grid-Service, which costs more but should handle spikes without incident. However I find their servers slow, especially when querying MySQL. In one case, this page http://worditout.com/discover-word-clouds took 30 secs for PHP to build,...

( Read More... | no comments | on HN )
Re:Ask HN: How to see commands used by Linux GUI software on Thursday December 16, 2010 @11:56AM (#2012648)
Thanks to both of you for your expertise, had a feeling it might not be possible but worth a shot..

Ask HN: How to see commands used by Linux GUI software

So I'm not the best linux guy but I've been using Ubuntu several years now and I'm happy to use the command-line in many situations, helps a lot with my web dev..However, it occurred to me that it would be somewhat a useful way to learn more command-line syntax if I could see what was being used by the different GUI programs (e.g. Gnome). For example, if I right-click and say make...

( Read More... | 3 comments | 2 points | on HN )
Re:Ask HN: Can you mimic this scroll behaviour for browser/OS? on Friday December 10, 2010 @06:30AM (#1991326)
thanks..
Re:Ask HN: Can you mimic this scroll behaviour for browser/OS? on Friday December 10, 2010 @05:05AM (#1991206)
Sorry, should be in Ask HN section, how do you do that?