<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for kingkool68</title><link>http://disqus.com/by/kingkool68/</link><description></description><atom:link href="http://disqus.com/kingkool68/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 29 Jun 2020 02:58:46 -0000</lastBuildDate><item><title>Re: How to use BunnyCDN for ShortPixel Adaptive Images</title><link>https://wpspeedmatters.com/bunnycdn-for-shortpixel-adaptive-images/#comment-4972470638</link><description>&lt;p&gt;In BunnyCDN you can add rules to modify the origin URL based on a regex match. So files ending in JS or CSS can hit your webserver while everything else is served from your image compression service.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Mon, 29 Jun 2020 02:58:46 -0000</pubDate></item><item><title>Re: A-Z of Google Fonts Optimization in WordPress</title><link>https://wpspeedmatters.com/optimize-google-fonts/#comment-4972468498</link><description>&lt;p&gt;&lt;a href="https://google-webfonts-helper.herokuapp.com/fonts" rel="nofollow noopener" target="_blank" title="https://google-webfonts-helper.herokuapp.com/fonts"&gt;https://google-webfonts-hel...&lt;/a&gt; is a life saver for helping you host Google fonts locally.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Mon, 29 Jun 2020 02:54:27 -0000</pubDate></item><item><title>Re: Old CSS, new CSS</title><link>https://eev.ee/blog/2020/02/01/old-css-new-css/#comment-4784016257</link><description>&lt;p&gt;Well I don't do that anymore. Sass makes it easy to do the math behind the scenes so I can author in pixels and then have the CSS compiled in relative units. It's still important to use relative units in case someone changes their default font-size in the browser. Then the design will scale appropriately instead of having no effect if you just used pixels for sizing.&lt;/p&gt;&lt;p&gt;I know it's a slime edge case but making sure our sites respond to the needs of the user agent is the right thing to do and worth the extra hassle.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 04 Feb 2020 23:24:53 -0000</pubDate></item><item><title>Re: Old CSS, new CSS</title><link>https://eev.ee/blog/2020/02/01/old-css-new-css/#comment-4783492854</link><description>&lt;p&gt;This article is so much fun to read. Such memories. Thanks for writing it up.&lt;/p&gt;&lt;p&gt;I remember embracing the 62.5% body font size trick. It made calculating the font sizes of ems much easier as now 1em = 10px instead of 1em = 16px. I documented it as a frontend tip &lt;a href="https://russellheimlich.com/frontend-tips/ems-are-friends.htm" rel="nofollow noopener" target="_blank" title="https://russellheimlich.com/frontend-tips/ems-are-friends.htm"&gt;https://russellheimlich.com...&lt;/a&gt; and linked to an old article from 2005 that talked about it &lt;a href="http://www.maratz.com/blog/archives/2005/10/21/typetesters-base-font-size/" rel="nofollow noopener" target="_blank" title="http://www.maratz.com/blog/archives/2005/10/21/typetesters-base-font-size/"&gt;http://www.maratz.com/blog/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 04 Feb 2020 15:25:30 -0000</pubDate></item><item><title>Re: Goodbye Google Analytics, Hello Fathom</title><link>https://daverupert.com/2019/04/goodbye-google-analytics-hello-fathom/#comment-4419205617</link><description>&lt;p&gt;Webmentions! &lt;a href="https://indieweb.org/Webmention" rel="nofollow noopener" target="_blank" title="https://indieweb.org/Webmention"&gt;https://indieweb.org/Webmen...&lt;/a&gt; and encourage others to blog.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 11 Apr 2019 16:24:32 -0000</pubDate></item><item><title>Re: Goodbye Google Analytics, Hello Fathom</title><link>https://daverupert.com/2019/04/goodbye-google-analytics-hello-fathom/#comment-4419157863</link><description>&lt;p&gt;Next step, ditching Disqus. &lt;a href="https://uploads.disquscdn.com/images/ffaef121d815a3be399c60f6d63ce0c2bef2dd512ca6759bd852fa9082c05c34.jpg" rel="nofollow noopener" target="_blank" title="https://uploads.disquscdn.com/images/ffaef121d815a3be399c60f6d63ce0c2bef2dd512ca6759bd852fa9082c05c34.jpg"&gt;https://uploads.disquscdn.c...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 11 Apr 2019 15:48:03 -0000</pubDate></item><item><title>Re: Django Templates: Block and If statements don’t work like you might expect</title><link>https://chipcullen.com/django-templates-block-if/#comment-4353477543</link><description>&lt;p&gt;Sounds like the templating engine first goes and fetches all of the template parts then it goes through and evaluates the templates. It would be a waste to evaluate each template if a block was going to end up being thrown away because something else supersedes that block.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Mon, 25 Feb 2019 10:38:41 -0000</pubDate></item><item><title>Re: Django Templates: Block and If statements don’t work like you might expect</title><link>https://chipcullen.com/django-templates-block-if/#comment-4352803891</link><description>&lt;p&gt;I would have thought the if statement should have gone inside the block wrapping the content you conditionally want to render.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Sun, 24 Feb 2019 21:18:27 -0000</pubDate></item><item><title>Re: WordPress, JavaScript and PHP Conferences to Add to Your Calendar in 2019</title><link>https://deliciousbrains.com/php-javascript-wordpress-conferences-2019/#comment-4277693091</link><description>&lt;p&gt;The JavaScript for WordPress Conference&lt;br&gt;July 11-13th, 2019&lt;br&gt;&lt;a href="https://javascriptforwp.com/conference/" rel="nofollow noopener" target="_blank" title="https://javascriptforwp.com/conference/"&gt;https://javascriptforwp.com...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Wed, 09 Jan 2019 16:29:33 -0000</pubDate></item><item><title>Re: How to Make WordPress Page Cache Plugins Fly With Nginx</title><link>https://deliciousbrains.com/wordpress-page-cache-plugins-nginx/#comment-4248324847</link><description>&lt;p&gt;Why not just let CloudFront handle all the caching and not do any  fullpage caching on the WordPress side?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Wed, 19 Dec 2018 11:33:32 -0000</pubDate></item><item><title>Re: How to make better Pull Requests: Adding Steps to Test · Chip Cullen | Front End Developer</title><link>https://chipcullen.com/how_to_make_better_prs_adding_steps_to_test/#comment-4247616116</link><description>&lt;p&gt;Use `- [ ] ` to make the QA steps a checklist so the reviewer can keep track of where they are if they get interrupted. We also like to reference the original issue (and any other related issues such as regressions so they are linked) being worked on at the top of the pull request so it is easy to reference.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 18 Dec 2018 22:46:33 -0000</pubDate></item><item><title>Re: How to Make WordPress Page Cache Plugins Fly With Nginx</title><link>https://deliciousbrains.com/wordpress-page-cache-plugins-nginx/#comment-4247576608</link><description>&lt;p&gt;For multi-server setups I really like using Redis as a caching backend. That way multiple servers will be serving the same cached versions of files and purging is just a matter of clearing the key in Redis. EasyEngine sets this up for you quite easily.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 18 Dec 2018 21:58:20 -0000</pubDate></item><item><title>Re: How to Make WordPress Page Cache Plugins Fly With Nginx</title><link>https://deliciousbrains.com/wordpress-page-cache-plugins-nginx/#comment-4247575503</link><description>&lt;p&gt;AWS EFS is slow so you wouldn't want to serve static files from it. I've used fullpage caching using Redis via EasyEngine which makes use of &lt;a href="https://github.com/openresty/srcache-nginx-module" rel="nofollow noopener" target="_blank" title="https://github.com/openresty/srcache-nginx-module"&gt;https://github.com/openrest...&lt;/a&gt; Works great for 2+ servers as they will always be serving the same cached files. Purging is just a matter of flushing the key from Redis.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 18 Dec 2018 21:57:02 -0000</pubDate></item><item><title>Re: WordPress Deployment Part 5: Atomic Deployments</title><link>https://deliciousbrains.com/wordpress-workflow-atomic-deployments/#comment-4238789649</link><description>&lt;p&gt;What we do for speedy deployments is use CircleCI to compile assets, download dependencies, testing, and all that time consuming stuff. When a build passes and its a new release we commit the compiled build to a build-only specific repo. This repo is similar to your atomic deployment methodology but the changes are just version controlled in Git. The actual deployment is merely a bash script that does `git pull` on each server and is super quick.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 13 Dec 2018 12:07:20 -0000</pubDate></item><item><title>Re: The Best Photo I&amp;#8217;ve Ever Taken Was A JPEG</title><link>http://petapixel.com/?p=332376#comment-4228134312</link><description>&lt;p&gt;Everyone knows you should definitely use RAW when shooting lens caps &lt;a href="https://petapixel.com/2016/02/04/heres-a-crazy-comparison-between-raw-and-jpeg/#comment-2496379454" rel="nofollow noopener" target="_blank" title="https://petapixel.com/2016/02/04/heres-a-crazy-comparison-between-raw-and-jpeg/#comment-2496379454"&gt;https://petapixel.com/2016/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 06 Dec 2018 11:26:31 -0000</pubDate></item><item><title>Re: How to Create Your Own SSL Certificate Authority for Local HTTPS&amp;nbsp;Development</title><link>https://deliciousbrains.com/ssl-certificate-authority-for-local-https-development/#comment-4163219392</link><description>&lt;p&gt;I see others have shared shell scripts that incorporates the commands in this article. So here's my take &lt;a href="https://github.com/kingkool68/generate-ssl-certs-for-local-development" rel="nofollow noopener" target="_blank" title="https://github.com/kingkool68/generate-ssl-certs-for-local-development"&gt;https://github.com/kingkool...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;If you're on a Mac it automatically copies the root certificate to Keychain saving you a step.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Fri, 26 Oct 2018 01:07:52 -0000</pubDate></item><item><title>Re: 5 Reasons You Should Be Shooting in Raw for Beginners</title><link>http://petapixel.com/?p=299286#comment-3697797170</link><description>&lt;p&gt;#6 Better lens cap photos &lt;a href="https://petapixel.com/2016/02/04/heres-a-crazy-comparison-between-raw-and-jpeg/" rel="nofollow noopener" target="_blank" title="https://petapixel.com/2016/02/04/heres-a-crazy-comparison-between-raw-and-jpeg/"&gt;https://petapixel.com/2016/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Mon, 08 Jan 2018 13:01:09 -0000</pubDate></item><item><title>Re: Create .ics calendar files from WordPress posts &amp;#038; custom post types</title><link>http://www.shambix.com/ics-calendar-wordpress-post/#comment-3615970721</link><description>&lt;p&gt;This works. If you need something a little more flexible you might want to look at a full-featured library like &lt;a href="https://github.com/iCalcreator/iCalcreator" rel="nofollow noopener" target="_blank" title="https://github.com/iCalcreator/iCalcreator"&gt;https://github.com/iCalcrea...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 14 Nov 2017 13:40:21 -0000</pubDate></item><item><title>Re: Up to 5% Back With the New Amazon Prime Rewards Visa Signature Card</title><link>http://thepointsguy.com/2017/01/new-amazon-prime-rewards-visa/#comment-3095251591</link><description>&lt;p&gt;I saw this offer and thought I would check it out. I couldn't see the apply link so I guess I wasn't eligible even though I have Prime. Then I saw the Amazon Store Card offers 5% back and I could apply for that. So I do. and get $50 as a signup bonus. But I was confused if I was eligible for the 5% so I live chat with customer service. Three reps later and they let me know I'm an invited Prime member and not eligible for the 5% back. But they gave me $5 credit for my troubles. I go and upgrade to the real-deal Prime account for $99. Thought what they hey might as well go with the Visa card since that is what led me down this path in the first place. Signed up and then another $70 in credit. So now I have Prime, +$26 and 5% back on &lt;a href="http://Amazon.com" rel="nofollow noopener" target="_blank" title="Amazon.com"&gt;Amazon.com&lt;/a&gt; purchases.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 12 Jan 2017 01:21:10 -0000</pubDate></item><item><title>Re: 2016 &amp;#8211; Year in review</title><link>http://www.activecampaign.com/blog/?p=9098#comment-3074436075</link><description>&lt;p&gt;I'm so glad I discovered ActiveCampaign.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 29 Dec 2016 16:19:37 -0000</pubDate></item><item><title>Re: These Insane Night Shots are Allegedly Taken with an Unreleased Nikon DSLR</title><link>http://petapixel.com/2016/12/20/insane-night-shots-allegedly-taken-unreleased-nikon-dslr/#comment-3061933458</link><description>&lt;p&gt;"Hey wanna go out in the pitch black forest so I can take your picture?"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 20 Dec 2016 20:52:17 -0000</pubDate></item><item><title>Re: The Case Against Progressive Enhancement's Flimsy Moral Foundation</title><link>https://www.viget.com/articles/the-case-against-progressive-enhancements-flimsy-moral-foundation?token=62OjHnduczxOtrS2~yiR8UdccMpgvi6N#comment-3037465809</link><description>&lt;p&gt;I like to build things that "just work". Keeping progressive enhancement in mind helps me think through the various pit falls of how something I'm building might break so I can have the most resilient end-product I can. &lt;br&gt;“Good design makes a product useful.” - Dieter Rams. If JavaScript isn't available, is what I'm building still useful? Is there a way I can make it useful?&lt;/p&gt;&lt;p&gt;Is it ok to build something on the web that 100% requires JavaScript? Absolutely. The diversity of the what is on the web and how it is made is a beautiful thing. It's just that sometimes we get sites that are built in such a way that reminds me of how Apple's Magic Mouse 2 needs to be charged (i.e. misguided &lt;a href="https://i.ytimg.com/vi/J26fS29waKs/maxresdefault.jpg)" rel="nofollow noopener" target="_blank" title="https://i.ytimg.com/vi/J26fS29waKs/maxresdefault.jpg)"&gt;https://i.ytimg.com/vi/J26f...&lt;/a&gt; that those of us that care deeply about good design and having things that just work get a little bit riled up over.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Mon, 05 Dec 2016 22:22:46 -0000</pubDate></item><item><title>Re: How to use the static keyword with WordPress</title><link>https://carlalexander.ca/static-keyword-wordpress/#comment-3026290195</link><description>&lt;p&gt;"This means building classes that are more than just containers for your procedural functions"&lt;/p&gt;&lt;p&gt;What would you do about generic utility functions then? Would you just write them as functions so they can be used across several classes? I really like WordPress template tags for things and when I write plugins I like to follow the same grammar (`the_thing()` `get_the_thing()`, `is_thing()`). A lot of times I write the logic within a class and then have a simple function to access the class and do whatever needs to be done. Is there a better way to handle such situations?&lt;/p&gt;&lt;p&gt;I've worked with classes that abstract out things like a WP Post class and custom post types inherit from this WP Post class. After a while it gets messy and confusing since multiple classes are inheriting methods from other classes making it hard to debug or piece together what is coming from where. Its reasons like this that I want to fall back to procedural functions instead. Over abstraction is a beast.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Tue, 29 Nov 2016 12:04:10 -0000</pubDate></item><item><title>Re: WordPress Performance – Breaking It Down by HTTP Requests</title><link>https://www.keycdn.com/blog/wordpress-performance/#comment-2949022049</link><description>&lt;p&gt;If you want to improve frontend performance and still support emojis via WordPress' script you can roll it into your own global JavaScript file using a task runner like Gulp or Grunt. Here's an example using Gulp &lt;a href="https://github.com/kingkool68/zadieheimlich/blob/master/gulpfile.js#L17-L33" rel="nofollow noopener" target="_blank" title="https://github.com/kingkool68/zadieheimlich/blob/master/gulpfile.js#L17-L33"&gt;https://github.com/kingkool...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Of course you also have to prevent the scripts you've bundled together from being rendered on the front end. To do that you can filter them like so &lt;a href="https://github.com/kingkool68/zadieheimlich/blob/master/functions/scripts-styles.php#L66-L85" rel="nofollow noopener" target="_blank" title="https://github.com/kingkool68/zadieheimlich/blob/master/functions/scripts-styles.php#L66-L85"&gt;https://github.com/kingkool...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;While we're at it, why not serve a more modern version of jQuery to modern browsers with compatibility fallbacks for older browsers. Using conditional comments we can serve jQuery 2.x to everyone and jQuery 1.x to IE8 and below. &lt;a href="https://github.com/kingkool68/zadieheimlich/blob/master/functions/scripts-styles.php#L87-L121" rel="nofollow noopener" target="_blank" title="https://github.com/kingkool68/zadieheimlich/blob/master/functions/scripts-styles.php#L87-L121"&gt;https://github.com/kingkool...&lt;/a&gt; I'm sure no one cares about IE8 but it doesn't hurt anything to do it this way.&lt;/p&gt;&lt;p&gt;On a final note I wouldn't highlight the file size of WordPress plugins. It is irrelevant and like comparing the quality of literature based on the number of pages in a book.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Thu, 13 Oct 2016 15:36:54 -0000</pubDate></item><item><title>Re: Satire: I Shoot JPG</title><link>http://petapixel.com/2016/10/10/satire-shoot-jpg/#comment-2943204009</link><description>&lt;p&gt;I only shoot RAW when I'm shooting lens caps &lt;a href="http://petapixel.com/2016/02/04/heres-a-crazy-comparison-between-raw-and-jpeg" rel="nofollow noopener" target="_blank" title="http://petapixel.com/2016/02/04/heres-a-crazy-comparison-between-raw-and-jpeg"&gt;http://petapixel.com/2016/0...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kingkool68</dc:creator><pubDate>Mon, 10 Oct 2016 12:46:44 -0000</pubDate></item></channel></rss>