News for hackers. Stuff that matters.
Re:Lexadecimal - colour codes with meaning by gjm11 on Thursday May 12, 2011 @10:36AM (#2540694)
Lovely!

I think it would be improved by having a cleverer colour-based sorting algorithm. At the moment, you choose one parameter (H, S or V) to sort by, and the others have no effect at all, and it looks a bit too random.

Here's one toy example of what I think is a more natural-looking order of colours: http://i.imgur.com/xjh97.png (I took red<<1, green<<2 and blue, and interleaved their bits). Better still might be to sort by position along a Hilbert-curve traversal of the RGB cube or HSL space or something, but I couldn't work out how to do that in 5 minutes so didn't bother :-).

Re:Lexadecimal - colour codes with meaning by derefr on Thursday May 12, 2011 @04:43PM (#2542236)
> Better still might be to sort by position along a Hilbert-curve traversal of the RGB cube or HSL space or something

Like this? http://corte.si/posts/code/hilbert/portrait/index.html

Re:Lexadecimal - colour codes with meaning by eropple on Thursday May 12, 2011 @10:56AM (#2540755)
Kinda interesting looking, but why? What's the point? I hate to be the guy who says "I don't get it," but...I don't get it.
Re:Lexadecimal - colour codes with meaning by yuvadam on Thursday May 12, 2011 @07:59AM (#2540245)
That's the most beautiful thing I've seen today.
Re:Lexadecimal - colour codes with meaning by jalada on Thursday May 12, 2011 @10:03AM (#2540606)
Thanks :) I was one of the guys working on it.
Re:Lexadecimal - colour codes with meaning by romey on Thursday May 12, 2011 @11:29AM (#2540878)
Wow, I could definitely see these adding another level of depth to Alternate Reality Games / Puzzles (not to mention computer art). Beautiful design, as well.
Re:Lexadecimal - colour codes with meaning by bgraves on Thursday May 12, 2011 @08:28AM (#2540306)
I really like the "I want a T-shirt!" button. I wonder if those button-clicks are being tracked or only emailed requests. I think tracking both would be smart.
Re:Lexadecimal - colour codes with meaning by jenniart on Thursday May 12, 2011 @11:42AM (#2540938)
Haha, I'm going to start referring to colors this way in my office. It would be fun to pair colors together as a sort of designer inside joke. Like design a celebrity site with "scolds" and "celebs." Anyway, I hope they get the t-shirt thing going. That's a cool idea.
Re:Lexadecimal - colour codes with meaning by zith on Thursday May 12, 2011 @08:45AM (#2540356)
Speaking of hexadecimal numbers that mean something. Does anyone know any good numbers that stand out both in hex and in decimal? Something that would make people suspect it is a number used for debugging.
Re:Lexadecimal - colour codes with meaning by unwind on Thursday May 12, 2011 @09:11AM (#2540443)
Wikipedia knows plenty: http://en.wikipedia.org/wiki/Magic_number_%28programming%29#....

My favorite is probably the classic 0xDEADF00D, but I also like 0xCAFEBABE as used by Java class files, and 0xFEEDFACE since it's just funny.

True, these mostly stand out in hex, but they would be "very large" in decimal which often stands out pretty well.

Re:Lexadecimal - colour codes with meaning by ntoshev on Thursday May 12, 2011 @09:26AM (#2540480)
Palette-sentences, anyone?
Re:Lexadecimal - colour codes with meaning by rglover on Thursday May 12, 2011 @09:27AM (#2540486)
Genius. Not sure why this hasn't been done before. I can see using this in future projects.
Re:Lexadecimal - colour codes with meaning by pluies_public on Thursday May 12, 2011 @08:39AM (#2540338)
I love it. The basic idea is beautifully simple, and it's very nicely done.
Re:Lexadecimal - colour codes with meaning by zem on Thursday May 12, 2011 @11:49AM (#2540971)
reminds me of my brief stint in frontend web development, when i would sneak in at least one #c0ffee-coloured element in every project.