6 ms·
> If a user has 251 Karma, they can set the color of the top bar in their profile settings. The default is #ff6600. Here's the complete set of colors users have
by sammorrowdrums 5y ago
> If a user has 251 Karma, they can set the color of the top bar in their profile settings. The default is #ff6600. Here's the complete set of colors users have set.
It's so close, why isn't the required karma 256?
- blumomo 5y agoif user.karma > 250: css.topbar.bgcolor = ( user.prefs.topbar.bgcolor or “#ff6600” )
- xqyf 5y agoCSS only: [bgcolor="#ff6600"] { background-color: transparent; }
- tchanglington 5y agoError correcting karma
- wingsingweoij 5y agofrankly it's ridiculous that there's a karma limit on a client-side cosmetic feature. I understand one can write a custom CSS rule for this, but if it's already built into the website....
- leephillips 5y agoUnless you have to earn it, you won’t appreciate it.
- windowojji 5y agoI appreciate my custom CSS just fine, thanks.
- Oddskar 5y agoIt's added flavour, I think. Not every website has to be intuitive or hand people things on a silver platter.
- pessimizer 5y agoRidiculous that it's so low.
- windowojji 5y ago[bgcolor="#ff6600"] { background: #008 !important; } body > center > table > tbody > tr:first-child > td { background: #008 !important; } Here's some CSS rules if you want to change it yourself instead of relying on an obviously poor design choice.
- blaser-waffle 5y agoNice things shouldn't be available for throwaways or sock puppet accounts.
- LeoPanthera 5y agoI've always wondered why this feature exists and I'm still not sure, nonetheless I've set a custom color (currently a fetching shade of purple - 8185E2), and change it about once a year, previously 00FF91 and FFF200. If nothing else, I can tell at a glance if I'm logged in or not.
- ishjoh 5y agoI tried 8185E2 and liked it. I used a color palette generator with the black text and orange logo and it spit out: CFDBD5, which gives the site a bit of a high desert brush look.
- koolba 5y agoSo that each of your sock puppet accounts can have a unique top color. It helps to remind you of which facade to present.
- blaser-waffle 5y agoShoot I do that at work for admin vs non-admin logins, or different gmail accounts (personal vs side-biz). Reddit, too -- leave one permanently on night-mode. IMO should be an SOP for anywhere that you might log in with different accounts. How many times have you been logged in as root and didn't realize it?
- dang 5y agoNow that you mention it, I do the same for my dev installation of HN.
- koolba 5y agoIt’s a great visual indicator to remind of your active environment. I use it in just about every app that supports it with custom colors aligned with the environment (e.g. blood red for prod or canary yellow for dev). Gmail supports it as well. If you have multiple accounts with an “official” corporate color, it makes it easy to realize which you’re acting upon.
- jlg23 5y agoSo that I can again drop the link that busts the "8 bits per byte"-myth ;) http://www.lispworks.com/documentation/HyperSpec/Body/f_by_by.htm#byte http://www.lispworks.com/documentation/HyperSpec/Body/f_by_b...
- samatman 5y agoI've been around long enough to have had to roll my eyes and say "fine, octet" in conversation. But I'm grateful that it's mostly stopped happening, let's not revive it!
- FridayoLeary 5y agofor fellow dumbells who can't even the their laces may i ask; eh? Can you elaborate? My older relative who studied computers thought byte= 8 bits. I also thought so. My ego is taking a hit tonight.
- bombcar 5y agoA byte is a collection of bits - now almost universally standardized on 8 bits because of network protocols and encodings - but older computers the byte wasn’t as important as THE WORD which was the bit width the machine could process at once. We now refer to 128bit instructions but those are more properly an instruction with a 128bit word. Lisp provides the ability for arbitrarily defined bytes.
- FridayoLeary 5y agoso i wasn't totally wrong. It's mainly semantics. Since i'm here, why do most storage mediums i.e usb, phones sd ostensibly follow this method (1gb 2,4,8!,16,32 etc) and why are they almost always a few hundreds mb off?
- philwelch 5y agoA kilobyte can be defined as either 1024 bytes or 1000 bytes. Similarly, a megabyte could be 1024 kilobytes or 1000 kilobytes, and so forth. Really, 1024 is the number that makes more sense, but hard drive manufacturers promoted the “1000 bytes” interpretation so they could advertise their hard drives as having more megabytes. Some standards organizations tried to “solve” the issue by defining a “kibibyte” as 1024 bytes and so forth, but you only ever see those in abbreviated forms (ie KiB). I personally hate that convention; the words are aesthetically atrocious and were only invented to please pedants (who annoy me) and dishonest marketing people (whom I detest even more).
- blhack 5y agoThis is my favorite feature of HN. Many, many years ago there was an article posted about how the colors teal and orange go so well together. So I set my topcolor to #00cdcd, and love it.
- dheera 5y agoYou don't need karma to set some color, you just need to inject custom CSS.
- windowojji 5y agoIt should be 0.
- dang 5y agoIt started here: https://news.ycombinator.com/item?id=97573 https://news.ycombinator.com/item?id=97573. I don't think that's so bad. Here's pg talking about how he wrote the code for it: https://news.ycombinator.com/item?id=98265 https://news.ycombinator.com/item?id=98265.