4 ms·
You can type nonsense words into this --- words for which Google will say no page in its entire corpus has a match --- and get color palettes back. What's it ac
by tptacek 8y ago
You can type nonsense words into this --- words for which Google will say no page in its entire corpus has a match --- and get color palettes back. What's it actually doing?
- bryanrasmussen 8y agowell I typed in config and got nothing.
- kasey_junk 8y agoMachine learning
- chrbarrol 8y agoI was kinda disappointed when I realized when you search it seems to basically only do a simple image search (ala Google) and return the primary color of the individual images, as can be seen by hovering over the small icon in each color result. I would not really call that machine learning, since it's basically an image search engine with a color filter.
- tptacek 8y agoIf that's what it's doing, how is it giving me colors for nonsense words? I wonder if it's just automatically accepting the spelling suggestion Google provides for searches?
- itsarnavb 8y agoIt's probably using Google custom search. I think that's the only way you can actually get Google search results as an API. Perhaps custom search displays differing results?
- hayksaakian 8y agoYou can scrape google.com with a lot of awkward ban evading. The fact that it works for non existing search results shows that it's ML
- usmannk 8y agoSee: https://news.ycombinator.com/item?id=17874276 https://news.ycombinator.com/item?id=17874276
- dsmithatx 8y agoAre the palettes accurate? Did you try a Google image search?
- blockedTwitter 8y agoIt's also filtering for safe search. So, there are results that are assuredly indexed by Google, but the query stalls the page. If you try linking to https://picular.co/four+letter+words https://picular.co/four+letter+words ...some of those four letter words won't return results, even if they do exist. Probably because they (futurememories.se) don't want to associate their product with lewd profanity, if/when people start sharing random links on social media.
- alangpierce 8y agoLooks like Google image search always has a fallback for a nonsense search query, and the images between Google and Picular exactly match (if you hover over the bottom-right of any color card, it shows the source image): https://www.google.com/search?tbm=isch&q=sdlkfjsldkfjsldfkj https://www.google.com/search?tbm=isch&q=sdlkfjsldkfjsldfkj https://picular.co/sdlkfjsldkfjsldfkj https://picular.co/sdlkfjsldkfjsldfkj If you put it in quotes, though, Google gives no results and Picular crashes (500 internal server error from an XHR): https://www.google.com/search?tbm=isch&q="sdlkfjsldkfjsldfkj" https://www.google.com/search?tbm=isch&q="sdlkfjsldkfjsldfkj... https://picular.co/"sdlkfjsldkfjsldfkj" https://picular.co/"sdlkfjsldkfjsldfkj"
- hesselbom 8y agoFixed! There's now a color palette for "sdlkfjsldkfjsldfkj" ;)
- nickelcitymario 8y agoWhat did you change? My guess is you're still doing a Google Image search, but when it returns no results, you return something random and cache this query for consistency. Is that about right?.
- hesselbom 8y agoGood guess! That's almost right, but there's no cache involved. Random colors based on a seed.