Show HN: What colour is your IP address?
prettyip.meetstrange.com
prettyip.meetstrange.com
I can see an actual use for this. Look for example at Identicons, Wavatars, and MonsterIDs[1]. They all use browser variables to generate random avatars for use around the web, e.g. on blog comments. I imagine this could do something similar, and a nice colour palette is a little more classy than a monster.
[1] http://blog.gravatar.com/2008/04/22/identicons-monsterids-an...
This could be ameliorated by including a site-specific secret in the hashed value; I'm not comfortable calling that "secure" but it does address this particular flaw.
Finding patterns and/or meaning out of nothing is quite interesting.
Is art useless and not worth executing?
http://www.tate.org.uk/art/artworks/creed-work-no-233-p78388
And, on a more serious note, pretty depressing.
If I went to a gallery and offered this up I'd obviously be laughed out of the place.
I don't know where to begin. If I didn't know any better I'd think this was a parody.
http://www.reddit.com/r/explainlikeimfive/comments/14y6fj/el...
And I vehemently disagree with cormullion's comment : http://news.ycombinator.com/item?id=5239734
Consider Malevich's work : http://en.wikipedia.org/wiki/File:Malevich.black-square.jpg
Yes, that's in a museum. And it wasn't made "these days" either.
When looking at client (request) logs full with IP addresses, the colorful visual cue would give you an idea which requests group to a single client.
I guess client-side is the way most people do things these days.
I agree that the server could do this, and for a small app like it is this wouldn't even be a big problem, however there is almost no impact on the end user and this way scaling is handled by 'better caching' and serving static pages faster.
Offloading to the client is a good thing in general, and I think there are few cases where it is possible but not the better option.
One of many implementations: http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-mo...
I imagine you could precompute the entire 24 bit range if you really wanted.
I mean, this thing has a failure mode where it says it can't find your IP address. That makes no sense until you look at how it was implemented.
*edit: changed standard smiling emoticon to IPv6 smiling emoticon :P
The resulting colors had no special significance, but the important point is they never changed and it let you easily visualize what was going on. I'm sure this had been done many, many times before. The difference here is that the straightforward conversion from IPs to colors means similar IPs will look very similar, whereas hashing some value to a color results in similar values looking vastly different.
It's not an exact match of course but I did my best to make it as close as possible.
[and for all the silly color names out there, it's actually pretty amazing how right most of the names that pop out of this tool seem... most really do capture the essence of the color.]
C = (byte1/255)x100; M = (byte2/255)x100; Y = (byte3/255)x100; K = (byte4/255)x100;
http://www.iana.org/assignments/ipv4-address-space/ipv4-addr...
It would still be a canonical IP to color mapping, but it wouldn't be as literal a mapping of 32-bit address into 32-bit color.
It would be cool if you could specify an IP address; I'd like to see what the IP for my hosted VM looks like. (I suppose I could set up an SSH tunnel if I am really curious...)
Step 1: determine IP address
Step 2: interpret the first three octets as red, green, and blue respectively
Step 3: there is no step 3.
Second pallete shows "183" instead of "173"
"Your IP Address is
We can't find it... Sorry! "