u/netk6 - 23 Archived Voat Posts in v/programming
u/netk6
  • home
  • search

u/netk6

4 posts · 19 comments · 23 total

Active in: v/programming (23)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: What is the best comment in source code that you have ever encountered?

// 20051207 temporary fix

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/programming
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 !!!

Aaand it's submitted in voatdev!
/v/voatdev/comments/1314056

Thanks for your support!

0 28 Sep 2016 21:23 u/netk6 in v/programming
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 ;-)

1 27 Sep 2016 21:22 u/netk6 in v/programming
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.

0 27 Sep 2016 20:57 u/netk6 in v/programming
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!

0 27 Sep 2016 00:47 u/netk6 in v/programming
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!

0 26 Sep 2016 21:34 u/netk6 in v/programming
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.

1 26 Sep 2016 00:48 u/netk6 in v/programming
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)

0 26 Sep 2016 00:19 u/netk6 in v/programming
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 !!!

Because we can?

More seriously, it's about doing this so we can also do this.

Example.

1 26 Sep 2016 00:16 u/netk6 in v/programming
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 !!!

More info: http://favicon.netk6.com/
Improve voat: http://favicon.netk6.com/voat.html

0 25 Sep 2016 02:31 u/netk6 in v/programming
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/programming
Comment 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.

0 23 Sep 2016 00:20 u/netk6 in v/programming
[VOATDEV?] Favicons #2
2 2 comments 22 Sep 2016 23:18 u/netk6 (self.programming) in v/programming
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!

0 07 Sep 2016 20:32 u/netk6 in v/programming
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!

0 07 Sep 2016 20:28 u/netk6 in v/programming
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!

1 07 Sep 2016 00:02 u/netk6 in v/programming
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!

1 06 Sep 2016 23:34 u/netk6 in v/programming
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!

1 06 Sep 2016 23:15 u/netk6 in v/programming
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!

1 06 Sep 2016 22:05 u/netk6 in v/programming
Comment on: [VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size

Yeah, buddy! fuck facebook!

1 06 Sep 2016 21:13 u/netk6 in v/programming
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!

1 06 Sep 2016 21:13 u/netk6 in v/programming
[VOATDEV?] Easily get a PNG icon related to any domain name or URL in any size
4 1 comment 06 Sep 2016 02:32 u/netk6 (self.programming) in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.