« first day (2806 days earlier)      last day (2138 days later) » 

10:27 AM
@JackJohansson That's so mental. I wonder if the same is happening with the rest of the EIG owned hosts like Hostgater.
 
@ChristineCooper Idk, this is the first time I see something like this. And it was unexpected, since bluehost is recommended by WP since like 2006
 
11:14 AM
Theme developers who use wp_is_mobile() all over their code... stop.
 
 
1 hour later…
12:29 PM
Just spent the longest time trying to figure out why my theme changes have no effect on mobile until I realised client installed this: wptouch.com
Basically adds a dedicated theme for mobile.
I hate it.
 
 
1 hour later…
1:37 PM
@ChristineCooper I never ever accept a project that needs me to work on an existing wp website, it's just not worth it. Should be fresh install
The files and plugins I can deal with, but a messed up DB is a nightmare to organize
 
it's worth charging some time beforehand to look over the site and spec out what needs doing
after which giving a report, and you can decide if it's for you or not. They can then take that to another developer and save time, and have a much better idea of what actually needs to be done
 
Usually it's not worth the effort, let me give 1 short example xD
There was a website with a plugin installed that would interfere with the attachments
and store the full external URL in the _wp_attached_file, which holds the relative path not the URL
Imagine 9k images stored that way.
I had to write a full plugin the same as Regenerate Thumbnails, to retrieve all the attachments and store them locally, generate meta data, update DB, preg_match post contents etc etc
 
2:10 PM
sounds like the job for a CLI command
 
The worst part is that the author had a filter that prevented the core functions to output the proper attachment URL
And he was using autoload and non-static classes to add the filter, and the filter had a randomly generated name, impossible to identify and remove
Had to remove the class to get rid of the filter
 
2:49 PM
yes, as much as closures are neat, I try to never use them as hook handlers for anything that is not super trivial
and the single object class is the only thing worse than a singleton
always fun meeting them
 
I bet he considered wp_get_attachment_url filter super trivial @MarkKaplun
 
but @JackJohansson, you are really missing out by not working o such things. There is no greater challange than trying to remove 20 plugins from a site that uses 100 ;)
it is not the filter that may be trivial, but the handler
 
I do. I accept a website that uses 100 plugins, and rewrite it from scratch to use 2 plugins.
 
yoast and w3tc?
 
I use litespeed cache though :D but close one, LSC and autoptimize
I have my own class to generate fields for schema markups, no need to use yoast
 
2:54 PM
LSC?
 
litespeed cache
works much faster than other cache plugins, specially on litespeed servers
 
oh, but why autoptimize
 
autoptimize was the only plugin that could help me merge JS files without errors in some cases
That's why I like it
The others would give JS errors =(
 
IMHO merging JS just slows the site
 
Maybe, but you know how clients care about gtmetrix right?
 
2:56 PM
oh LOL sure
 
"Hey, gtmetrix says you have to combine js, please combine js?"
 
yes so sad
but than yesterday I had a discussion with a certified devops that wanted to trn off redis
 
But you know, when you show them that you can do anything but u don't do it for a reason, they start to trust you, and they don't force you to do so anymore. That's the bright side.
 
shop, so a lot of page load can not be cached....
 
Not really familiar with that
 
3:02 PM
since that is the third ukrenian I have the displeasure to work with, I wonder how unique rarst is, seems like very
redis === mecache i.e.object caching. Don'tstart a site without it eve if you do LSC
 
I'm sure I'll be tagged as racist for saying this ( xD ) but mostly people who speak russian are not very nice to work, play, coop etc with
 
GRRRRRRRRRRRRRR
but than some people claim I am not nice to work with
:)
 
Why? Because you don't simply agree with everything?
 
right now those people include one ukrenian that do not understand why you should not modify parent themes
 
Just help him modify wp core files and he'll like you again
 
3:08 PM
I want to attribute it to general sociapathy developers suffer from but I start to suspect culture is also involved
and LOL
 
I usually work alone because I don't have the temperament for such occasions
 
ofcource he is afraid that upgrading any of the 100 plugins might break the site ;)
 
Then that website sucks from its tail to it's head
Probably one of those that never read the log for deprecations
 
the interesting fact, that even such lously constructed site can still work well when you look at it from the outside
 
and then press Upgrade, boom website gone.
 
3:11 PM
LOL don't even talk about deprecations
It is on my list
 
I was kind of like him before, but after meeting SE and spending like 2 years here, I don't think about just the code, but its impacts on others too, its performance, future development, and a hundred more
More accurately SE made me think better, not learn more coding
Probably should invite him too :P
 
well, 5 montsh ago there was no source control, so there was some progress even before I joined
and as I said, the site is successful, so it is very hard to point to any specific thing and claim it is just horrible, because at least right now it isn't
and this discussion remonded me that I need to figure out how the logo is added on mobile. Doing responsive HTML and CSS is too easy, and there is probably some user agent detection somewhere
 
That's interesting though. 10 years ago, just merely the coding itself was more important. Now, even choosing the proper development software matters :P
use wp_is_mobile() kappa
 
that what realy annoys with that guy, maybe I just can't find the right words but it seems like he doesn't want to even think about moving to the next level
 
Not everyone desires to improve, I've seen this personally.
Anyway I don't wanna take your time, I've just finished the project yesterday and I'm free as whatever, but I'm sure you have things to attend to
 
3:28 PM
lol, I am never here when I am truly busy
 
4:24 PM
doesn't autoptimise crush your TTFB?
all these caching plugins are worthless in the face of the overwhelming superiority of a memcached or redis dropin
 

« first day (2806 days earlier)      last day (2138 days later) »