-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Conversation
Type in a query like "1.58m ohms" and get back the color codes in an electronics resistor "brown green gray yellow".
It looks like this: http://joewalnes.github.com/stuff/resistors-zci.png |
Wow! Very cool! It really looks beautiful. I have to run to the store this second, but I'm going to take an in depth look at it when I'm back. Expect a longer reply soon :-) |
Awesome. One thing that I noticed is that your attribution link does not match our cannonical style. Would you please change that to 'More at resisto.rs'? I like it on the same line though. I have deployed this plugin on my development server, dylan.duckduckgo.com (check it out :-)), and have asked the rest of the team if they have any ideas for improvements. I think it looks fantastic and expect to move forward with this quickly. Thank you very much for contributing to DuckDuckGo! |
Great! Just to be clear, do you mean changing the case of 'more' to 'More', or is there something else I should do to match the style? I also plan to add some more features to this (like the reverse query where you type in colors), but I'll submit these in follow up changes. Thank you for making such a hackable product :) |
I was referring to both the case and surrounding brackets. A reverse query feature would be very cool. I'm glad you like our plugin interface :-) If you have any suggestions or comments about it, please don't hesitate to say so or email me personally at dylan@duckduckgo.com. We're all ears. |
Ok, I've made that change. Please check it looks ok. |
Hi again Joe! Thank you for making that change. I definitely think it helps fit in with our other plugins. @yegg also recommended losing the bold - this is reserved for exact text matches. Perhaps italics would fit? Maybe better without text-decoration. I'm not sure. It was also suggested to add (ohm) after its symbol for clarity. What do you think? |
Losing bold: Will do. I find italics hard to read, so it will probably be 'ohm': Check. I'll send the updates tomorrow. I'm also planning on expanding the Goodie to include different variations cheers On Sun, Nov 4, 2012 at 6:48 PM, Dylan Lloyd notifications@github.comwrote:
|
e.g. instead of: yellow red black brown we now say: yellow (4), red (2), black (0), brown (x10)
These seems to be more common. e.g. 4.7K -> * 5 bands (old): yellow(4), purple(7), black(0), brown(x10), tolerance * 4 bands (new): yellow(4), purple(7), red(x100), tolerance
It always shows one extra color (gold = 5%). This is the most common value and showing this makes it a lot more obvious how the colors match up with a real resistor.
Hi Dylan, I've made a bunch of changes based on your feedback, and also feedback from users of the resisto.rs website:
Updated screenshot: Thanks |
Hi Joe! Thanks for making the changes we suggested. I've removed the use of You can check it out live on my development server right now at https://dylan.duckduckgo.com/?q=4.7k+ohms and it should be live within the next few days. Thanks again! |
Awesome - can't wait to see it live! :) My OCD is kicking in.... I think the padding-bottom needs to be reduced by cheers On Thu, Nov 15, 2012 at 7:29 PM, Dylan Lloyd notifications@github.comwrote:
|
Hi again Joe, It's live! (and looks awesome) Sorry for the wait. We've recently redesigned our goodies page inside and out, and were waiting for the completion of some infastructure before making a new release (ResistorColors is listed now under Science :: Reference along with your attribution). On my machine, the padding-bottom looks just right - but if you think it's better off -1 on the majority of browsers, please make the commit and I'll be happy to add it! Also what do you think of triggering on "ohms" as well as "ohm". I'm not sure if that's actually the correct way to say/write it? But it's a mistake I made. I also just noticed that it is written as "ohms" in the ZCI? Thank you for contributing to DuckDuckGo! |
Actually it does trigger on 'ohms', I'm not sure why I thought it wasn't. Check it out! |
Awesome! I tested the padding on a few different platforms. It does differ slightly, but most of them look good. Happy to leave it as is. |
Wrote a quick blog entry: http://joewalnes.com/2012/12/05/resistor-color-codes-now-in-duckduckgo-search-results/ |
Type in a query like "1.58m ohms" and get back the color codes in
an electronics resistor "brown green gray yellow".