Comment on: What is the best comment in source code that you have ever encountered?
16 06 Dec 2016 22:56 u/netk6 in v/programming[VOATDEV!] Favicons #3 (JavaScript)
1 0 comments 28 Sep 2016 23:21 u/netk6 (self.programming) in v/programmingComment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
Aaand it's submitted in voatdev!
/v/voatdev/comments/1314056
Thanks for your support!
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
Sorry to disappoint, but I'll be updating the image after I've improved the script.
I'll try so snapshot another post of yours ;-)
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
Indeed. However, I didn't like the parts where it installs additional packages without asking first, and then requires apache to be stopped before it can even show the --help switch. That was quite scary and obscure, to say the least. But it's alright now.
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
It's done!
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
I'm currently reading documentation on let's encrypt. In the process of installing it. I'll switch to HTTPS soon.
Cheers!
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
Exactly. 40% of the times, it's under example.com/favicon.ico, which can contain 16×16 + 32×32 + 64×64 + 128×128 versions of the icon, each in BW, 1bpc, 2bpc, 8 bits per color, with transparency, the other 60% I need to download another HTML document to find the <meta tag> containing the appropriate information.
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
I had to make it more official, so I just bought a new domain name.
Now I also need an SSL certificate for this domain to serve content over HTTPS.
Only then can every body use it safely. And I shall post in /v/voatdev/ (again)
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
1 26 Sep 2016 00:16 u/netk6 in v/programmingComment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
More info: http://favicon.netk6.com/
Improve voat: http://favicon.netk6.com/voat.html
I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!
2 1 comment 25 Sep 2016 02:20 u/netk6 (..) in v/programmingComment on: [VOATDEV?] Favicons #2
Unfortunately, yes.
Some websites link the favicon from the HTML and use the largest icon they have, e.g:
<link rel="icon" href="touch-icon-ipad-retina.png">
<link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png">
If I don't find an exact 128×128 version of the favicon, I downsize the one that is just a bit larger.
Ultimately, I will downsize that 152×152 version if I don't find a 16×16 one.
On the other hand, some websites do it the right way, serving a <1KB favicon containing layers from 256×256 to 16×16, in 2, 4, or 8 bit per color version. Impressive.
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
I've updated the homepage. I find it looks nicer like that. Those numbers are better on the top.
Thanks for the feedback!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
Just to let you know that I've looked in the case-sensitivity issue, but the fix won't be easy considered the current architecture and rewrite rules. I'll have more time over the week-end though.
Cheers!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
Thanks for the useful link. I'm planning to find a way to display the best version depending on screen resolution and DPI. This will be useful!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
Thank you a lot for this bug report, you are correct!
URL paths are case sensitive, but domain names aren't.
I'm looking into it right now. I'll report back!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
It's fine! Unless you didn't even look at the page, it means I did not properly construct it.
Back to the blackboard!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
There's a little table with this information on the homepage.
Here is it:
| W × H | Path | Total icons | Total size |
|---|---|---|---|
| 16×16 | 16/ | 2,089,567 | 2.5GB |
| 24×24 | 24/ | 969,398 | 1.8GB |
| 32×32 | 32/ | 943,181 | 1.7GB |
| 64×64 | 64/ | 322,174 | 1010MB |
| 128×128 | 128/ | 165,549 | 969MB |
*edit: … aaand it's updating, numbers are increasing again!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
Yeah, buddy! fuck facebook!
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
Not a all! Thanks for your interest.
It's a mixture of shell scripts, imagemagick, PHP and tweaked Apache configs on a crude Debian install. Nothing fancy on the software side. Hardware is much better.
There's no framework, as I wrote it all myself. The first update (connecting to +1 million websites) took about 8 hours. A refresh now takes about 2.
Cheers!
// 20051207 temporary fix