Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "wp"
windows update code
Me: PHP, please load the images.
Me: Come on PHP, the deadline is tonight.
PHP: Haha nope.
Me: What if I swap the libraries?
PHP: Still no.
Me: What if I add a symlink?
PHP: No. And also I hate you.
Me: *gives up and sends an email to the client saying we have to delay the release*
PHP: lololol jk here's the images haha
1st link: react is the best one.
2nd link: Angular is the best one.
8th link: Vue is the best one.
Me: I knew it.19
Prospective client: “I have a website through which I sell music, both physical copies and downloads, but am having all kinds of issues with it”.
Me: “Like what? Tell me more.”
Client: “Go to www... I’ll go through them with you”.
So I go, and client proceeds to rattle off a list of totally random shit for the next 26 and a half minutes without even stopping for breath, telling me what he’d prefer, talking through how easy other “similar” websites are and comparing his own website to them, as well as all the things that flat out just don’t work. He ended with the line “I just paid my developer who told me it was all good, but now he’s telling me he’s too busy to work on it”.
Meanwhile I’ve had a gander at “view source” and can see it’s been “built” with Wordpress, and with a fuck ton of plugins and shit to boot... you can only imagine the sense of euphoria I’m feeling at this point.
Me: “Did you have a contract with your developer?”
Me: “Do you have a budget in mind, either for just making right or for ongoing development?”
Client: “Yes, but minimal”.
Me: “So what do you want from me?”
Client: “I want to know how much it’s going to cost to fix!!!!” (apparently irritated by my question).
Me: “Oooook... Is there any way I can have access to your website to investigate, or clone it so I can recreate what’s going on?”
Client: “Yes” (gives me details of how to log in to his hosting, and WP admin).
Turns out, he had over 50 active plugins for literally EVERY. SINGLE. FUCKING. PIECE of functionality on his website. Furthermore, it was pretty clear that some plugin functionality overlapped, because... well, if you don’t know how to do something, install a plugin or seven to get it done, right?
Me: “So can I ask, what exactly is your budget? Just to give me ballpark as to how best move forward?”
Client: After going into how he’s already spent a lot of money on it already, “If we could we agree on below £200?”
Me: “...what, a month?”
Client: “No! In total. To make it right. Once it’s done it’s done, surely?!?!”
*a long silence*
Client: “So... what do you think?”
Me: “Burn it. Burn it all down”.9
Someone advised him that WP runs faster on Ruby.
Now, he wants me to port WordPress to RubyOnRails !!!18
My brother just started learning web development. Day 1 of playing on his own domain, and he breaks his WP install twice in an hour. He sends me the following text:
This is like a horribly frustrating game.
Best summary of software development I've ever heard, and it's only his first day.6
Had to explain a developer from a wordpress dev agency where to find the wp-config.php file and what it does/what the values do.
This person has been doing this for years.
I looked at this config file for nearly the first time in my life.
I literally had to explain her which variables stood for/did/meant what.
I am fucking done with today.9
Haha so this just happened;
Father in law came to me asking 'hey you as an IT guy, why does my Spotify app stops after x minutes every time'?
I say to him 'dnno never had the issue on Android, but you have a Microsoft phone, right?'
So he says; 'why are you asking? Isn't my Windows phone good enough for you? Ok already I'll try searching for an answer myself then on Google'.
So I go 'k k hold on I'll Google it for you'.
When self-proclaimed Wordpress-wanna-be-webmaster-wizards of the universe ask me why it takes us so long to finish a project and that he can do anything we do in WP in a short period of time:9
Lol 😂. I was expecting a mnemonic of some kind but this works too.
The best minds of my generation are thinking about how to make people click ads…That sucks.
- Jeffrey Hammerbacher, former Facebook engineer1
Few months ago I stopped making anything on WordPress (code style wasn't for me, less reinventing the wheel), yet got offered well paid job with mostly WP responsibilities.
People ask me - why I stopped making stuff on WordPress? Welp...10
Ubuntu 17.04 with the Gnome Shell did not look very polished, so I switched to Fedora instead. After making some tweaks, it looks like I'm going to stick with Fedora now after using Ubuntu for more than 4 years.
The current installation is Fedora 26 with:
• GNU/Linux 4.11.10,
• Gnome Shell 3.24.2 (with a few extensions),
• Arc-Darker GTK+ theme,
• Paper icon theme,
• Pali terminal colour theme, from Gogh
• And a pretty wallpaper! (http://wallup.net/wp-content/...)33
A CMS raping WordPress so hard up the ass till there is no tomorrow. I hate that bastardized piece of fuck. “Hey I want you to fix my page and its wordpress. I pay 20 bucks.“ Well fuck you too sir. Wordpress is no cms you wanna be coders. Get back to your fucking photoshop and design something original! Every fucking wp page looks the same. Every “nice feature“ is some kind of monkeypatched workarround. No problem i set preview pictures for every post just to enable some weird slider to function.
I also love those buttfucked files with just a “require foo“ which also just requires “bar“. Drop that fuck. Implement autoloading. Nobody uses php4 anymore step into the future. “easy to learn“ fuck me and fuck you untill you vomit jizz! Clusterfucked spaghetticode thats easy, easy to put another rotten load of clusterfuck on top. Also those security features. I put an empty index.php to prevent directory traversal. N I C E! Stop using wordpress as CMS, its a blog engine. Nothing great has every been written on top of wordpress and never will. I dare you to deny everything related to it and if you are one of those designer guyd, you can gargle my jizz you fucknut!
Starting 2017 i will start a counter and rape every 10th Wordpress which gets abused as cms i encounter into oblivion on their 0,99$ webhosting shit.
Fuck this I'm so mad about that crap17
1.) Please make WordPress die();
2.) Please prevent recruiters from getting my contact info.
3.) Please ban all "coder meme/joke" sites from instagram. They repost long dead jokes and the jokes don't even make sense if you know how to code.9
Once I used to wonder how youtube made money.
Now every time I watch a youtube video I am reminded how.12
Submitting long written text on browser.
2. Ctrl+a Ctrl+c
My devGoals for 2018:
- Build a RESTful API with NodeJS just for learning.
- Finish my first product (electronics sideproject).
- Convert more people to use CraftCMS or at least not use Joomla or WP.
- Get a raise.
- Add Continuous Integration to more projects.
- Add more unit testing where appropriate.
- Create and release a mobile app.
To be continued...
*playing to be continued meme sound*9
Wanted to make a website with some of my friends about whatever kid thing we were into at the time. None of our parents cared, it was the 90s and nobody took the internet seriously.
Copied and pasted bits of html into notepad and FTPed them to some free webhost over dialup. The website lasted three weeks -- my friends got bored, I got hooked.
A few years later I found myself wondering why some websites used ".php" instead of ".html". I discovered this shiny new thing called PHP 4. Built a website for some video game I was into using it. Spent the next two years teaching myself everything there was to know.
Took programming in high school. Chose CS over mechanical engineering because I liked the university better. Got an internship which turned into a job which turned into a career.1
Friend asked my if I could create his webshop.
Some time after that he told me “It’s ok. Will install WordPress. If it doesn’t work I will come back.”
1) I don’t like to be your second choice
2) FUCK WP
Just now he came back: “Hi WP works, but I have a problem removing x”
F: “Fix it”
Me “Sorry don’t work on command”
F: “Just do it we are friends”
To be continued11
End of second week at a new job. Found what I thought was a bug and wanting to impress I fixed it. The dev reviewing my code had just started a week before me so he also had no idea what was going on. It went live Friday afternoon.
Come back Monday morning and turns out I completely broke everything and nobody could use the site all weekend. I thought I was done for sure. Was shitting myself all day waiting for the call.
TURNS OUT NOBODY EVEN NOTICED4
at a recent interview:
🕴️ interviewer: are you familiar with PHP?
Jr Me 👶: well I'm currently studying it but I thought this was a front end position? I'm looking to work with js, sass and UI design.
🕴️: Well PHP is frontend and we are working with it in our CMS.
👶:... *Getting weird WordPress flashbacks*.. I think I'll continue looking but thanks for your offer.
Later that day I checked if their websites have wp-login.php and woop de fucking doo... It does.. as well as all their clients sites..
Dodging bullets like the freaking Choose one! Ps. Second time this happens.. gotta start checking this before going to the interview..7
Let me tell you a story:
One upon a time poor lil PonySlaystation received a call. It was a nice guy who cried about his WordPress website had been hacked. So the clusterfuck began...
He gave me the login credentials for the hosting back-end, DB, FTP and CMS.
A hacked WP site was not new for me. It was probably the 6th of maybe 10 I had to do with.
What I didn't expect was the hosting back-end.
Imagine yourself back in 1999 when you tried to learn PHP and MySQL and all was so interesting and cool and you had infinite possibilities! Now forget all these great feelings and just take that ancient technology to 2018 and apply it to a PAID FUCKING HOSTING PROVIDER!
HOLY FUCKING ASSRAPE!
Wanna know what PHP version?
5.3.11, released the day before gomorrah was wiped.
The passwords? Stored in fucking plaintext. Shown right next to the table name and DB user name in the back-end. Same with FTP users.
EXCUSE ME, WHAT THE FUCK?!
I have to call Elon Musk and order some Boring Company Flame Throwers to get rid of this.
Long story long, I set up a new WP, changed all passwords and told the nice guy to get a decent hoster.4
9:30 - College
10:00 - Heard we got to build a fucking portfolio website in WordPress.
10:02 - Said I already had a personal portfolio
10:03 - Heard I still have to build a fucking WordPress portfolio website..
11:20 - Remembered I put on my portfolio that I don't want to fucking use WordPress!!!!!
Now - I live in pain. Building a WP site so I do NOT have to do it later :/12
I posted a while back about a manager I had who vaped excessively indoors, during meetings, one on ones, etc. He was a total asshole. He was still a total asshole if you overlooked the strawberry scented Cape Canaveral act. This guy was good at CSS, I will give him that, but that's all he was good at. Couldn't comprehend basic JS, scared of jQuery, and would promptly shoot down ANY approach that didn't involve using WordPress. He was also one of the biggest power tripping egotistical know it all mother fucking pieces of shit and worst human beings in general that I've ever met. At least he had paint-by-numbers going for him.
We had a meeting with a client one day that wanted some kind of IRC thing with SMS support. I can't remember exactly what it was now, and it doesn't matter. I had been working on a slack-like clone for months at that point, and it was ok. It was a for-fun kinda thing. Not great by any stretch, but it worked. Mostly. I thought it might be a possible head start for the client's app, so I showed it to my manager.
I didn't get five words out before he's screaming and yelling in front of God and everyone. Customers, colleagues, the owner. "Don't work on anything without my permission ever again". I stood there, shocked. Actually couldn't speak for a couple of minutes. It was the same thing around the now very quiet and awkward open floorplan office. When words found me again, I turned to this sack of shit and said "I need to have a word with you in private". Long story short, I ended up walking out that day.5
you guys complaining about doing PHP and WP because you needed money sounds like confessing about doing porn in college
"Sorry mom, but I really needed the money ..."1
I work as a freelancer on *****.com also I have published a theme on theme***.com
Yesterday a indian client message
Client: wii you be able to help me to install a wp theme and customize it to my liking?
Me: sure why not, send me the link to that theme.
Client: here's the link (link to my theme)
Me: (oh i will make money from both side :D ) do yoy bought a license ?
Client: (shocked) who need license , download it from *****.com
Me: (crying in background)18
Client - "We absolutely totally 100% neeeeeeeeed this plugin added to our wp site that another team built. "
Team - "Nope sorry you can't have it the plugin was deprecated 2 years ago, and the service you want to pull a feed from dost work like that any more. Here are other options A B C D. "
Client - "No we want it. You have to make it work or we are cancelling our account."
Team - "see ya"2
WordPress related, get ready for some disgust.
So today early in the morning my boss forwarded me an email from a client, it was about a bug, and asked me if I can have a look at it and fix it.
"Yaay, WordPress!" I thought and opened the page containing the mentioned bug. She wrote that in the italian version of the page, users can select dates in the calendar, which should be disabled, like in the german version.
So yeah, I opened the code. Everything in the function looked perfect. Really. And the Data was also correctly set in the backend of WP.
The function was only 3 lines of code:
- Get the german post ID of the current post (german or italian) by its ID (using a Polylang function)
- Get an Advanced Custom Fields field by name and from a post with the ID from before
- json_encode its content and echo it to a JS var for initialization and later use in some AngularJS.
No fucking missing semicolon, it was fucking perfect like a sunset with your soulmate.
So I tried to find the bug with my personal way of debugging:
When a creek suddenly is full of water mixed with shit, walk upstream through the turds until you reach clear water. This is where the bug is.
=> So I first looked at the HTML source: Turds.
=> Then the ACF field content: Still turds.
=> Then the ID of the german post: Shit stain and turds (var_dump: null)
=> Please god at least $post->ID? Nope, fart smell and turds.
=> Nothing more to check: Clear fucking water and the flowery smell of 99 devVirgins
So it replaced $post->IT with get_the_ID() and it worked like a charm.
Afterwards I feel stupid, but $post->IT worked all the times before...
FUCK YOU WORDPRESS YOU UGLY PIECE OF HUMAN-CENTIPEDE-PROCESSED-DOGFART.
Thanks for your patience.
Only one beer was sucked dry during the writing of this fucking rant.2
Those SEO guys that believe they are some kind of web Gods for building a real crap over WP with a $50 theme and fucking Visual Composer (the most fucked up piece of shit ever) and then ask you to just "optimize" their bloated site so they can get a great score on PageSpeed Insights.
No way I'm gonna put my hands on that *thing*.7
Like most people I needed some extra cash during uni, so I proceeded to learn CSS + Photoshop (yeah, I know). Followed by PHP and WordPress.
It can be a very shitty platform until you realize that you can stop combining plug-ins from all over the place with dubious code quality and roll your own.
Anyhow I kept at it until I was able to join a niche company doing a quite popular caching plug-in for WP (yeah, W3 Total) when I suddenly became *very* interested in anything and everything performance.
This landed me a very cozy consulting gig in the Nordics - they were using WP for an elephant-traffic website and had run into a myriad of perf issues.
Fixing them and breaking the monolith awarded me with skills in nodejs, linux, asynchronous caching among others.
I was soon in charge with managing the dev boxes for the entire team, and when the main operations dude left, I was promoted to owning the entire platform. (!) Tinkering with Linux for most of my life really came in handy here. (remember Debian potato?)
Used saltstack + aws cloudformation to achieve full parity between all environments. Learned myself some python and all various tips and tricks which in the end amounted to 90% reduction in time-to-first-byte and considerable cost savings.
By the end of the 2yr contract I had turned myself into a fullstack systems engineer and never looked back.
Lawyers not getting along resulted in us having to abandon NewRelic, so I got to learn and deploy the ELK stack as a homegrown replacement, which was super-fun.
Now I work in the engineering effectiveness department of a Swedish fintech unicorn where all languages under the Sun are an option (tho we prefer Python), so the tech stack is unlimited. Infinite tools and technologies, but with strong governing principles and with performance always in mind so as to pick the right tool for the job.
It's like that childhood feeling when you've just dumped a ton of Lego on the floor and are about to build something massive.
I guess the morale here is however disappointed you feel by your current stack - don't. Always strive to make things better, faster, more decoupled, easier to test, etc. and always challenge yourself to go outside the comfort zone.6
So we're hiring for a new junior dev and for the most part it's been going great! We have some promising candidates and I am so glad to finally have a new dev on the team!
However, I would like to take a moment and offer a few suggestions to the people who wish to work for this great and illustrious company:
PLEASE PLEASE PLEASE APPLY FOR THE JOB USING THE METHOD INDICATED IN THE AD. Please use our fancy, top-of-the-line, whiz-bang, cloud-based "talent acquisition" system that we paid way too much money for. I promise you, it's easy! Please don't send in your application by email, mail, telephone, Facebook, Twitter, Instagram, Snapchat, telegram or carrier pigeon. But most importantly...
FOR THE LOVE OF ALL THAT IS BEAUTIFUL IN THIS WORLD DO NOT SHOW UP AT OUR OFFICE UNANNOUNCED RESUME-IN-HAND. Believe it or not I do have an actual job that I spend my day doing! If I'm not in a meeting or at lunch or working from home, the best possible scenario is that you'll get 30 seconds of awkward small talk and be pointed to our whiz-bang, top-of-the-line "talent acquisition" system which you should have used in the first place (you did read the ad, right?). And at this point whatever you do...
DO NOT DEMAND AN ON-THE-SPOT INTERVIEW WHEN YOU SHOW UP UNANNOUNCED TO OUR OFFICE! Like, really? Do you think that you've wowed me so with your 30 seconds of awkward small talk that clearly I cannot wait to see what you will do with an entire hour? Look, I prepare for my interviews. I research you, your previous employers, your school and the hobbies you list on your resume. I check out your GitHub and LinkedIn. I may even Google your name! If that is all in order, I try to hassle some people into sitting in with me, find a time that works for everyone, and hope that there is a meeting room available. I'm not going to interview you at reception at 4pm on a Friday afternoon.
Please submit your application through our whiz-bang, top-of-the-line online "talent acquisition" system. Once I figure out how to log in, I promise I will spend an evening and read through all your cover letters with the utmost care. If you seem OK, you'll get an interview. There aren't that many developers in this town.7
Every time I hear my boss say "surely it can't be that hard" or "that's what, like a 5 minute job?"
well this is a NO!
There is no way on this fucking earth every single library is being used to show me a god fucking dam search result that returns absolutely nothing no matter what i search for.
To any wordpress "DEVS" out there FUCK YOU and your FUCKING plugin madness.
I would love to hear from a WP dev how you justify this kind of bullshit!11
Wordpress does not suck. If you know how to work it.
Past period I saw so many rants on WP. My rant is that it is not 100% WP fault. Yes there are seriously structural problems in WP but that does not mean you cannot create top-notch websites.
At my work we create those top-notch WP sites. Blazing fast and manageable. Seriously we got a customer request to make the site slower because it loaded pages to fast (ea; you hardly could see you switched pages).
- We ONLY use a strict set of plugins that we think are stable, useful.
- We have everything in composer (and our own Satis) for plugins.
- We use custom themes & classes. Our code is MVC with Twig.
- In our track history we have 0 hacked websites for the past 2 years.
- Everything runs stable 24/7
- We have OTAP (testing, acceptance & production environments)
- We patch really fast
These are sites going from $15k++ and we know our shit.
Don't hate on WP if you have no clue what you are doing yourself.
That is my rant.23
Dear Chrome/firefox developers,
If someone presses the back button after they click on a link it means don't load that page and not go back to previous page.4
It is once again that time of year when we say farewell to our current interns and say hello to a brand new batch.
The two groups overlap for a few days. During this time the old interns show the new interns the ropes, while the mentors silently weep in the lunchroom having realized that nothing that they've said over the last 12 months has had any effect whatsoever.
Some choice quotes:
New Intern: It says 'uncaught exception'.
Old Intern: Oh don't worry that will fix itself on production.
OI: Did you pull the code?
NI: Yeah, but I have all these weird brackets everywhere... [merge conflict]
OI: Oh yeah that happens sometimes, just delete them.
NI: It says "push to master rejected". [we enforce code reviews]
OI: Ohh that means the server is broken. You should tell someone, they have to reboot it.
NI: Where did that file save to? [we use ONLY macOS and Linux]
OI: C:\Users\<your name>\My Documents\...
OI: You can use either pgAdmin or MySQL Workbench. I like Workbench better but I couldn't get it to work, it kept giving me errors.
And of course...
OI: No, we don't use Linux. We use CentOS.
I did the math today. Only 35 more years and I can retire.5
It's truly amazing how much a single line of perl can do. Such a time saver.
I only wish that I could understand what it does two days later.1
Feeling awesome after migrate everything from WordPress to Laravel. Kill WP. Fuckkkkkkkk youuuuuuuu. 😣3
I bought hosting and domain last year, I uploaded my site and left it for months. Last month I logged onto my webhost's user panel and the "login to cpanel" option of my hosting directed me to someone else's premium hosting, I realised it late and I had already deleted whole of the WP site as I presumed it was mine. I left the database intact, reached out to the domain owner getting the info via whois, surprisingly he is was all fine losing his merchant navy academy website.
However, I WAS NOT FINE because I am not fucking expecting my webhost to give someone access to my hosting, just like I got access to his.
Been two weeks and they are unable to fix it and I am pissed off. I had no urgent need but I WANT ACCESS WHEN I WANT.
They are not as big as GoDaddy but they are a reputed hosting provider in my country with nice and fancy WP domain etc management portal and everything. I never expected this from then. How the fuck would they let this happen.5
Am I a machochistic fuck?
This sunday I had the glorious idea to fix a not-so-recent Wordpress website for a friend.
Imagine an upgrade from 3.3.2 to 4.9.8! (and PHP 5.5.old to 7.2.new
Oh boy. I thought it was impossible, because the site uses a free theme from 2012 and had some other plugins installed.
But what kind of developer am I, if I give up so easily?
I forced XAMPP to run PHP 5.6.stoneage in order to let me debug this thing. After some fixing in different files, I was able to get the admin panel back, disabled some plugins and then overwrote the installation with WP 4.9.8. After firing up the admin panel I had to fix 20 differend PHP files in the plugins.
Finally! After the plugins were updated, all worked again.
Except for the backend part of this free crappy theme. It uses an old version of JQuery UI widgets with custom mods.
I've done enough for today so I let it be like this. I'm not in the mood to load a second JQuery version.4
Best girl i've met.
I attended a CMS Conference last month(I don't use a CMS, i'm just interested with the topics about DevOps and UI/UX). I met this pretty lady ( I find her cute and awesome.) who's one of the speaker, she talked about design principles and applying it to BEM with SASS. After the talk, i asked her some questions about her dev't workflow like what tools she used and some best practices. Our conversation went well and exchange some of our knowledge and ideas also i introduced her to devrant (She's a wordpress user, i showed to her how the community hates WP, idk if she registered). After her talked we separated ways and ended seeing again after the conference as she's looking for a cab going to a mall (Same directions where i'm heading to), We talked again and decided to have dinner together. I felt like she's the best girl i met as she's into TV shows i like (Silicon Valley and Mr Robot). We added ourselves in FB and saying goodbye to each other. After a week or two, i just found out that she already into a relationship and it broke my heart.
I guess im back to the start, but i'm happy that i made a new friend.15
if I ever get a tattoo, chances are that it's "life is too short for WordPress". Or maybe I'll have that line on my tombstone.1
I'll admit - I come from a WordPress background of almost 9 years in the making. I guess I can justify it because of all of the sites I created using it, it was the best that it could be on WP. Fast, efficient, custom - none of that off-the-shelf themeforest crap. I created everything custom. I actually knew what was going on behind the scenes of WP.
And now I'm wondering WHY IN THE ABSOLUTE FUCK I ever bothered trying to become an expert in WP. It's the largest use of PHP in the fucking world and it doesn't even have native composer support. And by the time you actually get your project set up using composer you have to add a fucking mirror of the wordpress.org plugin repo to get anything to work. It's 2018 and you'd think that WP and composer would have all of this shit figured out by now.
And don't get me started on git - as soon as you have more than 1 person working on a WP site, I hope you have hourly backups of your DB because someones work will get overwritten. So you all either need to work on the same staging area of work around each other by pushing/pulling the DB and schedule your workflows.
I guess WP CLI and the REST API are a step in the right direction, but the foundation of everything is just so fucked up.
I don't feel like I've wasted my web dev career, but I definitely wish I had started down this path a lot earlier. I guess you don't know what you don't know. Thanks for reading!2
WTF!!!!! I officially have someone trying to extort me just had this in my email box this morning!
My name is [name removed], I'm an IT security expert and I found a security issue on your website.
This email is personal and in no way related to any of my employers.
I was able to access to a lot of files which contains sensitive data.
I attached a screenshot of the files I found to this email.
I would be happy to give you the method I used to access these files in order to let you fix it.
Would be a monetary compensation possible?
Please forward this email to the right person, if your are not responsible for the security of the website.
He can basically see the contents of my wp-config.php. How has he managed this?78
Web on Phone :
Status : ✅
upload images : ✅
Direct Messages : ❎
app for Windows PC
Status : ✅
upload images : ❎
Direct Messages : ✅
Web on PC
Status : ✅
upload images : ❎
Direct Messages : ❎
app for WP
Status : ❎
upload images : ✅
Direct Messages : ❎
🙄🤷♂️ May be instagram was meant for Android and Iphones only7
A "online" friend wants me to create a wp website.
I declined it.
Then he asked me, if I would at least try it, when I have free time.
GO AND FUCK YOURSELVES. MANY PEOPLE RANT ABOUT JOB HUBTING AND INSANE REQUIREMENTS. SO HERE IN SPAIN I'M SURE THE SITUATION IS WORSE. NO FUCKING JOBS. WHEN YOU FIND AN OFFER THAT DOESN'T MENTION PHP, JAVA OR COBOL OHH. YOU NEED TO BE A FUCKING WP, FULL STACK, ANDROID AND IOS DEVELOPER, A FUCKING SYSADMIN AND HAVE 99 YEARS OF EXPERIENCE. SO YOU CAN SAY: hey search a junior offer! YEAH SURE ONE SECOND. 4-15 FUCKING YEARS OF FUCKING EXPERIENCE. GO AND FUCK YOURSELVES AAAAH8
Often when I struggle with a complex programming task or get stuck in a bug, this cube and a big cup of ☕ helps me to get back on track.
But when nasty legacy PHP code or WP templates hits the fan, only a mental institution can help...5
I had spent the last year working on a online store power by woocommerce with over 100k products from various suppliers. This online store utilized a custom API that would take the various formats that suppliers offer their inventory in and made them consistent. Now everything was going swimmingly initially, but then I began adding more and more products using a plug-in called WP all import. I reached around 100k products and the site would take up to an entire minute to load sometimes timing out. I got desperate so I installed several caching plugins, but to no avail this did not help me. The site was originally only supposed to take three to four months but ended up taking an entire year. Then, just yesterday I found out what went wrong and why this woocommerce website with all of these optimizations was still taking anywhere from 60 to 90 seconds to load, or just timing out entirely. I had initially thought that I needed a beefier server so I moved it to a high CPU digitalocean VM. While this did help a little bit, the site was still very slow and now I had very high CPU usage RAM usage and high disk IO. I was seriously stumped the Apache process was using a high amount of CPU and IO along with MYSQL as well. It wasn't until I started digging deeper into the database that I actually found out what the issue was. As I was loading the site I would run 'show process list' in the SQL terminal, I began to notice a very significant load time for one of the tables, so I went to go and check it out. What I did was I ran a select all query on that particular table just to see how full it was and SQL returned a error saying that I had exceeded the maximum packet size. So I was like okay what the fuck...
So I exited my SQL and re-entered it this time with a higher packet size. I ran a query that would count how many rows were in this particular table and the number came out to being in the millions. I was surprised, and what's worse is that this table belong to a plugin that I had attempted to use early in the development process to cache the site. The plugin was deactivated but apparently it had left PHP files within the wp content directory outside of the actual plugin directory, so it's still executing scripts even though the plugin itself was disabled. Basically every time I would change anything on the site, it would recache the whole thing, and it didn't delete any old records. So 100k+ products caching on saves with no garbage collection... You do the math, it's gonna be a heavy ass database. Not only that but it was serialized data, so when it did pull this metric shit ton of spaghetti from the database, PHP then had to deserialize it. Hence the high ass CPU load. I had caching enabled on the MySQL end of things so that ate the ram. I was really desperate to get this thing running.
Honest to God the main reason why this website took so long was because the load times made it miserable to work on. I just thought that the hardware that I had the site on was inadequate. I had initially started the development on a small Linux VM which apparently wasn't enough, which is why I moved it to digitalocean which also seemed to not be enough, so from there I moved to a dedicated server which still didn't seem to be enough. I was probably a few more 60-second wait times or timeouts from recommending a server cluster to my client who I know would not be willing to purchase it. The client who I promised this site to have completed in 3 months and has waited a year. Seriously, I would tell people the struggles that I would go through with this particular site and they would just tell me to just drop the site; just take the money, just take the loss. I refused to, this was really the only thing that was kicking my ass. I present myself as this high-and-mighty developer like I'm just really good at what I do but then I have this WordPress site that's just beating the shit out of me for a year. It was a very big learning experience and it was also very humbling as well, it made me realize that I really don't know as much as I think I might. It was evidence that there is still so much more to learn out there, I did learn a lot from that experience especially about optimizing websites the different types of methods to do that particular lonely on the server side and I'll be able to utilize this knowledge in the future.
I guess the moral of the story is, never really give up. Ultimately things might get so bad that you're running on hopes and dreams. Those experiences are generally the most humbling. Now I can finally present the site that I am basically a year late on to the client who will be so happy that I did not give up on the project entirely. I'll have experienced this feeling of pure euphoria, and help the small business significantly grow their revenue. Helping others is very fulfilling for me, even at my own expense.
Anyways, gonna stop ranting. Running out of characters. If you're still here... Ty for reading :')8
So there is a WP plugin for GDPR conformity. True to form of the shitty WP plugin ecosystem, it has a major security hole that allows taking over the WP installation:
Someone to me: "Can you optimize this website for Page Speed Insight"
Me: "But it's a fucking Wordpress,.. Go home."6
I regret commenting on a WordPress blog using my full name. Although there was nothing stupid on what I wrote, I just hate it that I googled my name and it showed. I just want to delete my useless information / myself on the internet.
Never will this happen again.10
Today one of my friend just became a hacker...😂😂
The whole thing he did is:-
Opened a random WordPress site(found by luck) and in the URL bar he tried to type wp-login and it worked. Login page for WordPress dashboard board loaded and he told me that he hacked that website.
I said to him "Go On broda you are a LEET hacker..........4
My biggest dev regret is that I did not intervene when we decided to use WP for a huge website.
1 year after going live I had to add new features and translations; imagine the PITA-level!
Young me was too reluctant.2
The worst architecture I've seen is WordPress.
How can you be so drunk to design such a filthy mess?
In some way PHP might be to blame. Its API is a fucking mess as well and may have stirred WP developers in this puke around so they couldn't come up with a better CMS architecture.
Don't get me wrong. I do love PHP. But only in it's OO form with namespaces and type hints and composer dependencies.
I've seen enough of PHP functional programming and it still haunts me.9
What's your favorite CMS? I'm toying with the idea of creating a blog for myself and I really don't wanna use WP.19
Just received the code for a WP site that needs a redesign... The guy who owns it outsourced the job to some indian folks who filled it with at shitton of plugins, and now it's both ugly as hell and a bitch to work with...
So one of my clients got their wordpress site hacked and basically just redirects to scam links and well.. I looked at in the server file manager and their are like three directories with this wordpress site (not clones but the same?) one in the root, a version in a folder called old and another in temp.. with 3 separate wp databases.. DNS entries had malware redirects, the wp-content folder was writable to the public and contained a temp folder with tons of encoded malware and ip links to malicious sites.. there was encoded malware in index.php, has like 20+ plugins, oh and the theme uses a dynamic web builder so the code is basically unreadable in source and scattered.. and the redirects seem to happen randomly or at least on a new session or something. Oh.. and did I mention there are no backups? 😃2
Just found out some of our smaller sites (wp) have been hit with a shell...
In fucking January.
My colleagues didn't think to tell me this.
They figured someone must have had the pass or something and started posting about Viagra...
No. It's the fucking ico vuln...
I hate work right now.
I dont know if the algo is broken or something but i suspect @ThatDude is a machine. I see him even on every forsaken rant!
Probably a very sophisticated AI droid since his freakin' funny too..4
I made a WP site SSL proof today. God-fucking-dammit that was annoying.
Anyone who's ever done that kind of task knows that with a well made site, this takes no time at all. But not with this gem. The siteurl and home variables were (sometimes, and sometimes not) set to some random, probably dev URL, resulting in faulty absolute paths. The site was set up in such a way that media files were always saved as absolute URLs, even within templating items in the DB. I got no idea how all of this even resulted in a working site before I started on it. Got it sorted out in the end, but man... thank God we may curse at work when there's no customer around.6
Wow so much hate for WordPress. Le me to the rescue 💀
Yes WP is bloated and crappy and full of security issues etc etc. Agreed. That doesn't mean it is useless though.
It is alright to use for someone who is not really good with web, someone who just needs a blog, someone who just needs a home page, about page and contact form with a possibility of updating photo and text once or two times a month.
It is not suitable for e-commerce nor lots of transactions/forms involving websites.
As long as you know what kind of horse/vehicle you are on, you won't end up in the dirt.4
Warning: w-rated for "wordpress", s-rated for "stupidity"
Yesterday in the morning I receive an E-Mail from a designer guy that we should update a plugin in a client's WP because their visual composer in the backend doesn't seem to work anymore.
My boss confirms the task. I'm fucked.
The anger in me rises.
So I try the Wordpress login, it works. I create a backup with Duplicator and run it locally. 2 hours later I found a solution so I want to upload the files to Abominationpress.
BUT THE FUCKING FTP LOGIN DOES NOT WORK...
I write him back asking for the correct login data. 24 hours later he writes me back the exact same username and password.
THANK YOU YOU LOBOTOMIZED BRAIN-AMPUTATED IDIOT.
It already gave me cancerherpes when he mentioned WP, but this shit is just fucking too much.
Now waiting for the response.5
When you walk in at work in the morning, hoping for a quiet Friday at work, but nope. I check our WP monitoring and see that half our sites aren't responding. Well fuck. Turns out that the firewall service we use to protect our sites experienced a massive DDOS attack. So the service we use to keep our sites safe ironically caused downtime. Me, our Devopser and another dev spent the entire morning bringing the sites up again and bringing the customers up to date. FFS, I need more coffee.2
As I am working with WordPress for the really first time I am making horrible experiences now.
But fucking bitch - NO. As I found out after searching and digging. I have to create a menu in wp-admin first. Then add a menu-widget to the sidebar. And then install a plug-in to make the links only visible for logged in user. Wtf?
WordPress takes all the joy in doing web development for me. I won't do that anymore. I will force all new clients to use proper tools to make their shit work for them. And as I am the expert in this things I am the one who suggests the right tool.
Fuck this shit.9
Conversion topic: a security feature the PM doesn't like
PM: but WordPress doesn't do this.
Me: yes but WP is hacked every couple weeks and isn't exactly a security standard!
Debate continues for 5 minutes... And I'm forced to remove the feature 😑1
Dev.to app asks me to type in my github username and password into the github login page opened in their app. Is there no better way to do OAuth on Android apps?8
Designers use plugin in WP to modify UI. CSS and JS is saved (somewhere?) in database. No version control. Changes are made across different envs at the same time and all need to be migrates to prod later.
TL;DR: Fuck Wordpress and their shitty “editor”.
Client told me the Wordpress editor was unusual slow on their site. I inspected the network traffic, while fiddling around in the admin pages. What I found was an even worse nightmare than expected. Somehow the fucktard of an “engineer” decided to implement the spell check module, to parse all other text areas on the page - even the fucking image sources. The result is a browser sending a GET request to fetch the images from the server every time an author triggers a keyup-event. Disabled the spell check and everything was back to budget-ineffective-feces-Wordpress normal.3
browsed LinkedIn articles, saw one about "good qualities of WordPress Developer", first bullet point is "following coding best practices" is it just me or that is one of the main things wrong with WP
So, here is the worst experience, not one.. but recent two of many of the encounters I had with my OOP teacher... (I am in Second Year of Engineering). Lets Call him T.
To give a background of T... He knows nothing but acts like he is the master... you'll get to know this...
*me developing a website for a client and T just bumps in*
T: Hey, what are you upto.
M:Nothing sir, just some Web-dev stuff.
T: What languages do you use?
M: I am currently using embedded ruby.
T: No no, I meant, what languages do you use for web-dev?
*inner* M: Ok, try to act stupid... He is not worth of all the knowledge.
M: Sorry sir, I just use simple HTML-CSS.
T: Ohh, I use Wordpress... It's a great language to build websites.
*inner* M: He has no idea what WP really is, he is a fuckshit.
T: It's so simple and easy, that you code for Desktop view, press Ctrl-M and then it automatically makes it for mobile view.
*inner* M: Bursts out into laughter
M: OK sir, will look over it.
*He is teaching, suddenly topic comes of Oracle Certification for Java*
T: I know many of you have idea about java, but do you have what it takes to be an OCJP..
*inner* M: LOL...
T: It is a really hard thing, and I can bet... I can bet *he did repeat that twice* that no one from you can even qualify OCJP.
*inner* M: It's time... It's time
M: Excuse me sir, first of all it's OCA... OCJP does not exist anymore... And secondly, I am an OCA...
*inner* M: Yeah... Fuck you bitch!
*assucimg inner* T:Fuck, asshole..$#@#%@!@$@%#
And whole class was like -> o.O1
Well, seeing as I deal with a fair few WP sites I have quite a few tales of this but they're never very fun.
Thankfully I set up a few traffic monitoring tools so I can watch whatever is happening when we have a live site and over the past few months there have been a LOT of attempted crypto-mining hacks.
It's basically people trying to abuse the xmlrpc function in WP to send malicious code and install it if it runs. Thankfully it's easy enough to block because they all use the same sort of instance to run the attack. It's always Windows 7 using Firefox 40 for some reason...
Just the usual brute force attempts to login and simultaneous attempts to abuse the xmlrpc. Nothing fun... yet.2
[SERIOUS ADVICE NEEDED, PLZ HELP]
I am going to school again for like 4 days from tomorrow (don't ask me why, blame the government) and I feel a bit depressed. I just don't know what I have done in the last 2 years.
What I learned:
- Bunch of stupid facts from devRant
- C# stuffs
- Games are expensive
- Music production
And.... that's it, tbh
I don't really have "PERSONAL PROJECTS" that everyone is bragging about, I just have bunch of empty projects with a cool name but just Program.cs in it.....
I am worried of what to do now.
I just feel I made the wrong choice going with C#.
I just feel I should have went with JS.
With JS, you can do
- React Native + Cordova + Titanium + etc and make native android/ios/wp apps
- The WWW stuffs
- Electron --> Cross platform desktop apps (win/mac/linux)
- UnityScript (deprecated, but whatever) --> Games
So, what I am seeing now is a thick fog in the way to my future + career etc.....
I am stuck rn.
Should I continue with my pace and learn more C# and the things I do rn, or change the language and start from scratch, or as a last resort, leave the "make stuff by coding" industry and go to music industry, or just go to the airport and do planespotting and upload in youtube to earn money?
Serious advice please, and no jokes about C# and JS. These languages may suck, but YOUR language may suck more.11
Of course the shouting episodes all happened during the era I was doing WordPress dev.
So we were a team of consultants working on this elephant-traffic website. There were a couple of systems for managing content on a more modular level, the "best" being one dubbed MF, a spaghettified monstrosity that the 2 people who joined before me had developed.
We were about to launch that shit into production, so I was watching their AWS account, being the only dev who had operational experience (and not afraid to wipe out that macos piece of shit and dev on a real os).
Anyhow, we enable the thing, and the average number of queries per page load instantly jumps from ~30 (even vanilla WP is horrible) to 1000+. Instances are overloaded and the ASG group goes up from 4 to 22. That just moves the problem elsewhere as now the database server is overwhelmed.
Me: we have to enable database caching for this thing *NOW*
Shitty authors of the monstrosity (SAM): no, our code cannot be responsible for that, it's the platform that can't handle the transition.
Me: we literally flipped a single switch here and look at the jump in all these graphs.
SAM: nono, it's fine, just add more instances
Me: ARE YOU FUCKIN SERIOUS?
Me: - goes and enables database caching without any approvals to do so, explaining to mgmt. that failure to do so would impair business revenue due to huge loading times, so they have to live with some data staleness -
SAM: Noooo, we'll show you it's not our code.
SAM: - pushes a new release of the monstrosity that makes DB queries go above 2k / page load -
Tho on the bright side, from that point on I focused exclusively on performance, was building a nice fragment caching framework which made the site fly regardless of what shitty code was powering it, tuned the stack to no end and learned a ton of stuff in the process which allowed me to graduate from the tar pit of WP development.5
Beware: Here lies a cautionary tale about shared hosting, backups, and -goes without saying- WordPress.
1. Got a call from a client saying their site presented an issue with a third-party add-on. The vendor asked us to grant him access to our staging copy.
2. Their staging copy, apparently, never got duplicated correctly because, for security reasons, their in-house dev changed the name of the wp-content folder. That broke their staging algo. So no staging site.
3. In order to recreate the staging site, we had to reset everything back to WP defaults. Including, for some reason, absolute paths inside the database. A huge fucking database. Because WordPress.
4. Made the changes directly in a downloaded sql file. Shared hosting, obviously, had an upload limit smaller to the actual database.
5. Spent half an hour trying to upload table by table to no avail.
6. In-house uploads a new, fixed database with the help of the shared hosting provider.
7. Database has the wrong path. Again.
8. In-house performs massive Find and Replace through phpMyAdmin on the production server.
9. Obviously, MySQL crashes instantly and the site gets blocked for over 3 hours for exceeding shared hosting limits.
10. Hosting provider refuses to accept this was caused by such a stupid act and says site needs to be checked because queries are too slow.
11. We are gouging our eyeballs as we see an in-house vs. hosting fight unfold. So we decide to watch a whole Netflix documentary in between.
12. Finally, the hosting folds and enables access to the site, which is obvi not working because, you know, wrong paths.
13. Documentary finishes. We log in again, click restore from backup. Go to bed. Client phones to bless us. Client’s in-house dev probably looking for a cardboard box to pack his stuff first thing in the morning. \_(ツ)_/¯
And here it is: Todays absolute privacy nightmare which makes me glad I'm not using google services
Google has accidentally locked out users because their documents content violated the ToS
Not entirely sure whether I should be annoyed about WP because of the crazy situations at work that seem to happen at random moments, keeping me from focusing on important stuff, or whether I should be glad for it that those sites at least make for good stories for DevRant and keep me entertained. 😐🤔1
(Keep in mind I am 16 and I have never had an internship or a job)
I have a potential internship that I can partake in over the summer. It is a mainly front-end job and it is paying 15-20$ an hour. However, the one catch but they use WordPress to code all of their client's sites. I have tried to use WordPress before and I have not had much fun. I feel it is more confusing than it has to be. Should I try again and relearn it to get some early job opportunity and expand my portfolio or should I try freelance work instead?
If you vote WP could you link some good ways to learn it?13
you know what was fun?
Back in 2012, I started developing an app for the windowsphone (7 back then) which was basically an offline backup navigation for pilots with a few extras likr weather data for pre flight planning.
It was so cool doing all this back then, because there weren't many wp devs out there.
Microsoft even sent me 6 different phones (straight from Redmond) to play with (and keep them).
Those were the days 😀😀1
I could finally find the time to hang with my wife and watch a show. Two minutes in a customer calls to tell me his site is fucked. "I didn't change anything". Well, who renamed the style.css file in the WP theme then? Argh!1
FUCK YOU WORDPRESS wtffff with that shit , i can't use multisite if running in 8081 port ?, fuck you! your """ cli """, your media folder with that month and year stupid subfolders, your plugins and your fucking unit test running on a complete WP instance. GO FUCK YOURSELF! stop with that shit and remake all that shit.7
So for the past few days I decided to create my own personal blog because I wanted to start blogging again. Anyways, I setup a basic WP website (sorry wp haters xD) and installed a pretty cool free theme that I tweaked all over the place.
I was thinking of cool things to add while I'm just in that setting up phase and I really admired that whole dark/light mode toggling feature :) so I spent the past day or so creating my own and it works finally, even across different pages! So i thought I'd share. (Please excuse the BS posts, its strictly for testing. Havent actually started writing posts yet xD)
Heres also a link to this terrible js file I wrote that controls the logic lol (I'll have to refactor quite a bit but it works)
Any feedback is appreciated as I'm still just developing it :)14
Just let me add a new feature to this Wordpress site, I'll just enable debugging to see if it produces any errors.
TURN IT OFF!! TURN IT OFF!!
All I could see was error upon error upon error. Mostly from old and not updated plugins.
I'll just leave it there till client decides they want a new rebranding and start from scratch1
In my recent project which passed on to us from other. Its a magento parallel wordpress system. Inside a magento helper file they loaded wordpress wp-load.php. Inside wordpress they loaded magento. I have seen recursive functions; this is the first time i see recursive cms.1
After over two days of debugging, lesson learnt don't assume your table's prefix nor depend on other APIs for SQL injections1
Alright sit down boys this is gonna be a good tale (also a long one).
I'm currently developing a wordpress site for a Client. Everythings works well enough, I had a few "wtf is this shit" moments. Now we decided to give him access to the wp site so that he can see and change (I know, I know don't judge me pls), so I set up tunneling with ngrok, but that PIECE OF SHIT WP DIDN'T WORK ANYMORE. You asking why? Oh I'm telling you why, wp uses ONLY absolute paths. Well fuck, I ain't gonna touch that piece of shit php code, so I installed a plugin and shit was working.
In short, after a few fucking HOURS that shit finally worked. Well that would be a great fucking end for our little tale right? Yeeeeaaah no, I shit you not, it gets even better!
After a few days my client gets back at me that he can't enter fucking wp-admin to work on the text an stuff (again pls don't judge me for granting him access to the backend of wp during development). So I checked it out and that piece of shit didn't work. If anyone would happen to know why, I would be grateful bc for the love of spagetti monster I HAVE NO FUCKING CLUE!
So I said to myself well fuck this shit and put it on a webhoster. Uploaded all the files, and migrated the db. Sounds like it finally worked right? Well guess again buddy. So I needed to go to the database, updated values manually for wp to have the correct url and then still needed to force it to refresh every fucking link.
As it finally works now, this tale is also finished then and I really hope that part 2 is never ever comming!
Sorry for the (somewhat) long rant but this is some next generation bullshit.
I just don't get the WordPress hate or CMS hate in general. Using these is not perfect, but neither is _anyone's_ code. Get over that and be more productive for your client. Unless you're the best coder the world has ever seen, and you're _always_ available to push content for an organization of 90 or 900 or 9,000 people, nobody CARES about your "coding purity". They want a website that they can still operate if your ass gets hit by a bus. Don't like WP? Find a CMS that ticks most of the boxes for your client's needs. If you have the time, budget, and long-term inclination to provide bug fixes for it, write your own Awesomesauce Custom CMS(TM) and release it to the open source community so we can finally replace WordPress with the next best thing.
Otherwise, launch site, get check. Repeat until you can retire.10
I recently started on a project, in WP though, but I strongly believe the dev is an imbecile. He's no longer with us (thank god)
Doesn't remove old code, just comments it out, or leave the file there. He loved to use and rewrite plugins, so you can't update them.
I removed this one particular plugin, which seemed to hold the website together, because when I removed it, all the suppressed errors suddenly popped up.
I've used 3 days to clean up the code
Did I say that there's a .scss file for the site, but it's written as normal css and the output .css file has also been changed, so I can't clean the scss file and compile it, because that fucks up the css file =}
Okey, so the recruiters are getting smarter, I just clicked how well do you know WordPress quiz (I know it's from a recruiter, already entered a php quiz An might win a drone)
So the question is how to solve this issue:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx
A set memory limit to 256
B set memory limit to Max
C set memory limit to 256 in htaccess
D restart server
These all seem like bad answers to me.
I vote E don't use the plug-in, or the answer that trumps the rest, F don't use WordPress4
So, I was tasked with making a webpage for itsvet project, I must use a CMS, current site uses WP, I decided to use Drupal
I'm gonna need a stressball to make it out alive,
Oh, also, I must create a CTF-hacking contest for our school2
My latest project is overhauling a WP site my company outsourced to a local "development" company. Why is development in quotes you may ask? Because their idea of development is about 30 plugins and minor changes to a theme. The only saving grace here is that they used a child theme.3
Boss: I want a simple form builder.
Boss: It must cover all our customers needs. They can build their own form and save their customer submission.
Me: What is their needs?
Boss: Quiz Form, Sales Form, Events Form, Bla bla bla..
Me: Ok, that's not simple so we need to analyze the system first.
Boss: It's similar to wordpress (referring to wp cms) so it must be easy.
Me: But, Wordpress already started before I work here. And..
Boss: I already have a customer and I need it in 1 months!
Halp Rant: my friend is "launching" his WordPress site for his guitar lesson business this weekend and is hellbent on inviting me over to "tell him how to optimize the site before launch," regardless of all the times I've tried to tell him how WP is not very performant by nature and that his site will be fine. He thinks that I have the knowledge, and might think that not showing up will show a lack of interest in his success, but I don't know how to tell him that being a full-stack developer doesn't necessarily mean that I am familiar with how WP developers write plugins and themes. How do I explain this in layman's terms?
For reference, I mostly work with C# and JS frameworks, not PHP.8
just found out a vulnerability in the website of the 3rd best high school in my country.
TL;DR: they had burried in some folders a c99 shell.
i am a begginer html/sql/php guy and really was looking into learning a bit here and there about them because i really like problem solving and found out ctfs mainly focus on this part of programming. i am a c++ programmer which does school contest like programming problems and i really enjoy them.
now back on topic.
with this urge to learn more web programming i said to myself what other method to learn better than real life sites! so i did just that. i first checked my school site. right click. inspect element. it seemed the site was made with wordpress. after looking more into the html code for the site i concluded all the images and files i could see on the site were from a folder on the server named 'wp-content/uploads'. i checked the folder. and here it got interesting. i did a get request on the site. saw the details. then i checked the site. bingo! there are 3 folders named '2017', '2018', '2019'. i said to myself: 'i am god.'
i could literally see all the announcements they have made from 2017-2019. and they were organised by month!!! my curiosity to see everything got me to the final destination.
with this adrenaline i thought about another site. in my city i have the 3rd most acclaimed high school in the country. what about checking their security?
so i typed the web address. looked around. again, right click, inspect element and looked around the source code. this time i was more lucky. this site is handmade!!! i was soooo happy because with my school's site i was restricted with what they have made with wordpress and i don't have much experience with it.
amd so i began looking what request the site made for the logos and other links. it seemed all the other links on the site were with this format: www.site.com/index.php?home. and i was very confused and still am. is this referencing some part of the site in the index.php file? is the whole site written inside the index.php file and with the question mark you just get to a part of the site? i don't really get it.
so nothing interesting inside the networking tab, just some stylesheets for the site's design i guess. i switched to the debugger tab and holy moly!! yes, it had that tree structure. very familiar. just like a project inside codeblocks or something familiar with it. and then it clicked me. there was the index.php file! and there was another folder from which i've seen nothing from the network tab. i finally got a lead!! i returned in the network tab, did a request to see the spgm folder and boooom a site appeared and i saw some files and folders from 2016. there was a spgm.js file and a spgm.php file. there was a contrib, flavors, gal and lang folders. then it once again clicked me! the lang folder was las updated this year in february. so i checked the folder and there were some files named lang with the extension named after their language and these files were last updated in 2016 so i left them alone. but there was this little snitch, this little 650K file named after the name of the school's site with the extension '.php' aaaaand it was last modified this year!!!! i was so excited! i thought i found a secret and different design of the site or something completely else! i clicked it and at first i was scared there was this black/red theme going on my screen and something was a little odd. there were no school announcements or event, nononoooo. this was still a tree structured view. at the top of the site it's written '!c99Shell v. 1.0...'
this was a big nono. i saw i could acces all kinds of folders. then i switched to the normal school website and tried to access a folder i have seen named userfiles and got a 403 forbidden error. wopsie. i then switched to the c99 shell website and tried to access the userfiles folder and my boy showed all of its contents. it was nakeeed naked. like very naked. and in the userfiles folder there were all, but i mean ALL files and folders they have on the server. there were a file with the salary of each job available in the school. some announcements. there was a list with all the students which failed classes. there were folders for contests they held. it was an absolute mess and i couldn't believe it.
i stopped and looked at the monitor. what have i done? just to learn some web programming i just leaked the server of the 3rd most famous high school in my country. image a black hat which would have seriously caused more damage. currently i am writing an email to the school to updrage their security because it is reaaaaly bad.
and the journy didn't end here. i 'hacked' the site 2 days ago and just now i thought about writing an email to the school. after i found i could access the WHOLE server i searched for the real attacker so if you want to knkw how this one went let me know in the comments.
sorry for the long post, but couldn't held it anymore12
Picked up a WP project with source files, npm modules etc all in the theme folder. My day will be miserable. Fuck that shit5
@localhost long weekend are for feature development...1 week from launch...in your in laws bonus room.6
I'm supposed to migrate a WP site and modify it accordingly by tomorrow.....
Went on a shopping spree instead.4
...when you find yourself circumventing your own security measures that you lectured the entire team about...1
My friend @evilarcher sent me his wp website to check, I really like the design, soooo minimalistic...🤔🤔😂
He sent me a link that runned it on localhost 😂😂👏7
Just wanted to thank the creators of devRant on the UWP version of the app. A lot of developers don't even consider developing for WP users (they have valid reasons), but on the other hand, the devRant guys...you have my respect and gratitude gentlemen.3
After working with a coworker on some odd issues, I finally decided to check on the actual ticket he needed assistance with.
From now on, we will optimize our HTML for aesthetic appeal in Chrome's dev tools. display:none is verboten.
Sometimes I wonder if I've had a stroke or if I've died and am in purgatory.
A client decided to give a refresh to his website. So he said he wanted me to take care of it. Curious because he has an IT guy full-time just for the website.
When I offered the hosting service too the IT guy got crazy, he started making a lot of questions like why should I take full control of the website. I replied that's optional, I can just deploy the website in the current server.
The client said, yes I want you to take care of everything.
IT guy again making questions about what database I'm planning to use, what framework, what version, bla bla bla.
At this point I said to my self: Well, maybe this guy made an awesome job. Probably he used a framework that I don't know. The database must be neat and tidy.
So, I go an check the current website... WordPress... Are you freaking kidding me? The IT guy getting crazy for a premium WP template? Why is he full-time anyway? Why is the client looking for someone else?1
So you know how everyone hates on WP plugins? How you have to update them, make sure they are not causing any problems etc etc. How is this any different from including modules in your code and keeping them updated/compatible and working properly? Seems like they come with the same set of problems?2
All code and no tests makes a software buggy, hard to maintain and a pain in the ass to work with.3
The WordPress Gutenberg editor is now starting to hit unsuspecting users who havn't been following up with the preview phase. They mostly hate it, and the arrogance from the WP pricks is stunning.
My favourite quote from WP.org admin Otto: "This is the future editor in WordPress. It is happening. There's no stopping that train now. People thinking that they can somehow stop the train are people who are standing in front of a train. That never really ends well."
Yeah you little dipshit, do you know what did end FUCKING well? Not having put myself on your bloody track in the first place so that I can sit back and enjoy my popcorn! :-)13
This extension is awesome. You can have dark theme on every website. Although sometimes it fucks up the website layout a bit.
If for some reason you decide to write a shim for a VERY COMMON LIBRARY in your project:
2. If you decide to ignore (1), at least make sure the SHIM WORKS THE SAME WAY AS THE LIBRARY
Two days of debugging sudden untraceable errors led me to find that a .so wasn't copied correctly during maintenance. fml
Just noticed github shows Infinite contributors for chromium repository. (https://github.com/chromium/...).
Also, I clicked on the contributors tab and the page is still loading. Guess it will take infinite amount of time to finish loading :?3
Modifying .htaccess for WordPress multisite so that my custom url(slug) will redirect to wp-login for security reasons.
It is like performing a neuro surgery where the slightest of mistake will get u paralyzed.
I have already reached a vegetative state..
I wonder what more damage I could do? FML.3
So I was opening a support ticket on the portal of our cloud provider
I went to copy the affected database instance to put it in the ticket
for some reason ctrl+c didn't work and I pasted what was in my clipboard instead
and didn't notice until the issues was submitted
This what was in my clipboard
If there is anything worse than a bad, not willing to learn programmer is a so called plugin programmer.
Who only knows how to install plugin over plugin to do a simple task.
Just had to fix something on one websites (wp site, I know, just kill me) where the guy had like 25-30 plugins (some where disabled). And most of them were for adding new widget positions.3
Chrome has failed me. At least, I was disappointed.
So, I have been working with an animation studio to make some changes to their Website, typical WordPress website.
Nothing wrong there, I have a copy of their WP site running on a localhost so I can make changes & tests before pushing to bitbucket (then to be deployed). Now, a lot of the changes I have been making are minor css, html & js changes. Mostly FrontEnd changes.
The frustration came when working on a couple JS sheets; I would change some CSS and JS, save the files then go over to Chrome to test them out.
Open the localhost and test the changes, CSS changes worked! Looks good, but for what ever reason the JS functionality would not change. 2 ish hours of frustration, seeing only half of these changes working I decide to step out for a coffee break. Then I remembered; Chrome has a nasty habit of caching files it has used before for later use. Turns out it was using some older versions of the files that it had cached.
Thankfully I remembered this; only ended up being 2 hours of frustration. For anyone else using Chrome for development; keep this in mind.1
Someone mentioned that client want to use wordpress instead of they current website because it is cheaper! Ok lets see how cheap it is.. each time wp release update after updating you need go through all website and check if nothing is broken.. plugins will need update as well because usually they run on specific wp version. Fixing theme and plugins requires dev time.. despite all those things.. have common sense. Maybe it is good for some type of business to host few pages without any business logic or use as blog without scare to loose everything and do not store users data.. someone mentioned that it is secure to run anything because updates are the best security to avoid security breaches. So why banks are not running on WP? Why health service is not using WP?
Have to change out the audio player on a WordPress site for a podcast. Can't follow the code properly because wp forgets that standards are a thing. Code readability is shit as well. Fucking WordPress.6
I actually do have something to rant about!
The people I've decided to work with... are complete and utter fools. They don't want to keep updated with new practices and merely talk about awesome stuff... Let me elaborate.
The first person is someone I spent really many hours just writing with, I've helped him build on his personal project, which has now become our project (which I've done most of the work on now). He keeps writing about things that aren't fucking relevant for the current task - furthermore, he completely refuses to use any type of collaboration software in order to keep an eye on tasks we want to, and already have completed. He likes Git but doesn't provide helpful git messages, sometimes even stuff like 'forgot this'.. never any freaking description of what's actually been done! Not even after agreeing it should be done, he just doesn't understand what a helpful message is apparently.
I might be a bit special regarding wanting to follow practices, but how the fuck do you make any amount of money by being so ignorant!? He was a WP 'developer' a while ago, and has since changed to JS and are using a framework which he doesn't understand - he can't even remember what the documentation states.
So why do I 'work' with him? He knows a lot of phrases he's read in books, blogs, and the likes. That makes him really inspirational and positive and he really wants to become successful(like me!). But over the last few months, I've realized how bad he is at programming - he doesn't know basic programming concepts and have a hard time applying any sort of knowledge to his programming. If it's not pre-built, he can't use it, not even if the documentation has specific examples. He barely grasps the concept of binding data to a variable. He wouldn't know how to access it again though, it's just for the sake of binding it to some existing functionality.
The other guy really likes his old style. He hired me to maintain some application. Which has turned out to be a hell of several small tasks he needs to be finished or reworked - with no clear definition of the task. Most of the time, he'll do some initial changes, show the changes to me, vaguely explain what they do (not what he's trying to achieve) and first THEN ask me to do these changes, most often in some files that don't exist (he uses the wrong filenames so I have to guess/ask where the changes need to be made).
To top it all off, old syntax is used and don't get me started on the spaces+tabs for indenting lines... Because I've already added a great ESLint+Prettier conf and everything should be nicely formatted according to pre-defined rules.
But he won't take the time to install some plugins in his editor and I'm left with sometimes buggy, badly formatted code (the code I have to make changes with!) - that's while he several times have agreed that I can do what I want and that he even questions his own ways when looking at my changes which he calls by-the-book.
So why the motherfucking fuck do I keep working with him?
Well, he keeps paying so that's really nice - I haven't been able to properly execute the bigger tasks(which pays more) though, due to a lack of information or some badly written code I couldn't quite figure out how works (at a glance).
He also keeps talking about these new projects he wants to make.. he even has these freaking papers with descriptions and data-structures and we converse really good about these new awesome projects. He also likes cryptocurrencies(which is an interest of mine he has inflamed quite a bit) and lastly, he seems like a genuinely nice guy who I'd like to spend some time with even besides coding and work.
So now I stand here - stuck with people that make me feel like a demi-god or something because I use a git style-guide and ESLint+Prettier with the Airbnb style-guide.
What should I do? I'd really like some remote work and have a desperate need for money... So much so, that I might even have to pick up a fulltime job, in order to save my sorry ass - all because I like speaking with people who just like the thought of programming...
I'm actually quite lonely with my thoughts and they are the two only people I've had some sort of relationship with - who has an invested interest in programming/dev... I really like that, despite having to follow their thoughts as they surely can't follow mine.
Please be my friend or give me some paid work lol.
Also, I've been moving the last couple weeks - those weeks has been the most stressful of my life and have not contributed to my overall wellbeing and relations with people... It's good to be back at the computer again and be reading some devRant though!1
TL;DR (it is indeed a text wall) => read the tags, it should be enough for you.
Context : my sister works as an "everything"-manager for a small non-profit company dispensing classes in some crafting art. Her boss (let's call him Nic) is also a friend of her, and he's more of a "thousand ideas a second" type of guy than a "more monies for me", so he speaks very friendly, directly, and doesn't always think about the management and costs of his decisions.
His website, on which users can book for classes, is a Wordpress (you already know it's gonna be bad). I already talked to him about getting a custom and fine-tuned website. Having seen my sister use it for administrative tasks, it's a real pain and really not suited for their particular needs. Also, getting a custom website would permit some manual tasks automated (so less work for her). But he won't accept because "SEO is better on Wordpress".
Yesterday, 23:30 (11:30pm) she called me on Messenger, asking if I could dispense some advice to her boss because he struggled migrating the companys website to another server. Looking at the time, I said she could put me though so he could tell me quickly his problem, but I wouldn't do anything until at least tomorrow. Things went a bit like this (on Messenger) :
Nic : Yo. What's up ?
Me : I'm fine, thanks, and you ?
N : Fine, but not the server... It's so slow and I can't seem to get the perfs up. It's pissing me off. I switch from /Offer 1 from hosting provider/ to /Offer 2 from hosting provider (SSD included !)/, I thought it'd be better but the TTFB is still struggling at min 5 seconds. You know what I mean ?
Me : Yes...
N : Anyway, here is the speed test for the original server, and here is the speed test for the VPS one. [me to myself : oh, it's a VPS, ok...]
You see, it's worse on the VPS. Of course, without any plugin everything is perfect, but I just need them.
Me : AFAIK, but I'm no expert on the subject, a VPS will already be slower, because it's virtualized. But I may be wrong here. Anyway, the problem is clearly Wordpress : your plugins are adding a shitload of operations on your server, so SSD or not, if the CPU is overwhelmed, having better I/O won't change anything. They aren't always written by developpers with speed and optmization in mind, so you may be using a rocket-launcher just to kill a fly.
N : I already told you that a custom website means shitty SEO. Having a clean and quick code may be nice, but if nobody uses it, you're screwed. If Wordpress represents 1 out of 3 websites worldwide it's for a reason. Aren't you stubborn ? Anyway, can you work on that or not ?
Me : I didn't say you NEEDED a custom website. I just said that, just as you admitted earlier, the problem is clearly caused by the plugins. You told me about your matter, I tried to find an explication. Unfortunately I'm really not able to do anything about this side of things. It may not be the best explaination, nor the only one, but it's 23:40 now and I'm not experienced on Wordpress and server optmization.
Anyway, Wordpress' SEO may be excellent, but it doesn't mean it's crap on other websites. You "only" have to be cautious with it. [it's not as if you hadn't to be cautious with WP SEO too, anyway...]
But I won't insist, rest assured. Who's the most stubborn out of you and me, by the way ?
I can try to find some info, but won't promise you to do anything. Maybe send me a list of your plugins, so I can try to find some info on them tomorrow when I come home? [I was expecting to find out if one of them was known to slow down the system, so we could potentially narrow down his problem]
... wait for his answer ...
N : There are 62 of them. It'll be simpler if I just send you the passwords so you can look at it by yourself.
Me: [Wait wut] Ok.
... By the way, having people click on your website is good, but having them to stay on it (when you know that most users leave if the page isn't loaded in 2 seconds) is better. You have to find a good balance between speed and SEO. Or have big monies to get a server on steroïds. GAFA has all 3, the rest of the world finds compromises.
N : Here's the solution ! I put a 500 Mbps on my i7 7700 !
... A night passes, I don't answer ...
N : You good at configuring servers ? Especially for CDN ? If I put one in /location A/ and one in /location B/ (for security and SEO)... I have a i7 8350 8Go, it should be enough, and I could later add another in /location C/...
I haven't answered yet. Because I never configured a server, and also because I still can't do anything about his website because a) it's Wordpress and b) he didn't even send me the access codes. I'm just trying to stay calm for the moment.
WordPress File Delete to Code Execution
The vulnerability was reported 7 months ago to the WordPress security team but still remains unpatched.
my wife just got a request from a specialized search engine for her custom site to be crawlable. on the one hand it might help her gain visitors. on the other hand i now have to look at wordpress and might have to adapt to its standards. meh.3
FUCK you "WP iThemes Security Pro".
First of all, your FUCKing services isn't really secure, more like security by obscurity.
Don't get me started on how you probably don't have a dedicated team of security experts.
But oh well, the customer insisted I must install you, despite my advise.
Second of all, Don't FUCKing send me emails regarding "Scheduled malware scan failed" without it containing the FUCKing error message, not some generic "http_request_failed" error, why did it FUCKing fail?
Last but not least: Don't FUCKing clutter is with with your giant ass logo that takes up half my screen or FUCKing spam such as your upcoming events, newly published books/articles, incorrect "documentation"2
Im having a sort of dilema. I recently started taking freelance work for web developement (and design ack) and Im uncomfortable with the state of the industry. Ill explain: Say if I bid a client for a simple 1-3 page site w contact form (a new page, not migration) My suggestion is to use djangocms, django, or just static html/css/js (ie bootstrap), which produces clean, fairly secure, and fast sites. Of course I can throw a templated unoriginal wordpress site together in a few hours 2 days latest, so I offer that option as a sidenote on the bid, charging almost 2x more. For some reason I dont understand they choose the wp shitshow. I explain all the reasons that not the way to go( which I wont list, if u dont know, u never used it. google up) but they dont care abt the details, they rather pay more for shit job. OFC I reluctantly deliver what they want, but as a result my portfolio is full of unoriginal shit Im not happy showing off. I have a few sites Ive done on the side my prefered way, but they not deployed and sit in my github for all intents n purposes unviewable to potential clients.
I want to be proud of my portfolio, and it to be a representation of what Im capable of. BUT, I gotta eat, and work is better than no work.
There are so many "wordpress designers" oversaturaring the field and it lowering the overall standard of what we are capable of. I just begining my dev journey, but if I cant have a body of work Im proud of, theres no way I can see doing this the rest of my life, and that makes me really sad. My love of developing, coding, and IT/computers in general drove me to change careers from audio engineering to web development, and the fact that this fucking mr. potatoe head of a CMS is slowly turning that love into hate really pisses me off. So Im ending this !rant looking for hope.
ArseHole, for simple CRUD, my client suggest to use WordPress. Then they added payment and booking system. I asked why still using WordPress????? It's nightmare to work three peoples on functions.php file.
Fuck off. Go fuck yourself. 😣7
About 3 years ago, we had 4 different WordPress sites for various clients.
My colleagues thought it'd be a genius idea to keep them all in one repo. Even more genius, for local development, a single installation which implements a switcher for the wp-config.php files so we can switch between sites. Not bad in theory.
Fast-forward to present day. 1 client left; another site got converted to using Laravel because they always asked us to update their content so no point using a CMS; whereas the remaining 2 sites use differing versions of WordPress on their live sites, no less than 18 months out of date, have no dev sites, different collection of plugins and themes and both modified to the deepest darkest depths of fucking hell that's barely recognisable as WordPress anymore and next to no documentation or comments around the changes.
The functions.php file of one of these themes is over 4000 lines long!!!
We're keen to upgrade our servers to use Ubuntu 16.04 which defaults to PHP7, so all the already deprecated WordPress functions will then fail to work completely as will have been removed.
Both of these clients have agreed that they wish to convert Laravel as well so there's not really much point in going through the clean up process of their WordPress sites. Just copy the database nuke it all and start a fresh with Laravel FFS!
They also wish to completely redesign and discuss what features to keep/add/remove. With no date for these redesign meetings in sight, we won't be converting to Laravel any time soon, nor upgrading our servers in the foreseeable future either!
This is all because of one dev in the office and his history of failing to keep on top of breaking changes!
Fuck you! Seriously, fuck you!!!
If I was your superior, then you'd have been fired long ago!3
is vagrant box VVV always this slow to up the first time? because I don't need most of this stuff and I could have started a WP environment by hand already.4
trying to analyze and debug code from a wordpress plugin -> fml!
i should just dump this shit and make my own. oh, no time and budget, no problem, i love to spend hours reading someones code and beeing inefficient as fuck ¯\_(ツ)_/¯
(i suggested to do it on our own a few weeks ago, now i should fix it till end of the day)2
So for the past month I've been working on a new website for my department, it looks beautiful has a custom CMS and is all around great (not to tout my own horn or anything). Now my boss has taken it to the marketing department to get a final approval and they responded saying that a lot of departments are complaining about not being able to maintain their pages and how terrible the current ones look. They want to create WP sites for all the department's and make us maintain them. I know why I hate WordPress but they can't understand what's so bad about it. How do I convince them my custom solution is better than the monstrosity of WordPress?2
So this is a short sad story of how TeamViewer redirected to .us from .com
They made me change office for some days since people decide to go on vacation and leave the office empty , since I was too bored to reinstall TeamViewer I decided to use it online
After the whole morning connecting to various pc's and afternoon elaborations suddenly TeamViewer breaks down, I watched the URL and notice I finished on wp-admin , three seconds later I call the devs , two minutes later discovered a small XML tree
Just in time to finish the working day
And that's why you should never change people's offices and leave yours empty
Yet another WordPress rent... But..
I normally don't develop for WordPress so I didn't knew that every Wordpress Site has by default a RESTapi enabled.
Which makes it super easy to scrape content, remove Ads and so on..
Just add /wp-json/wp/v2/pages/ to any url that's running wordpress..
Works also with media uploads, comments... Everything...
so one of our managers sent me an email what has to be changed in our FAQ section which runs on WP...
but then i remembered, our cleaning lady had a surgery and wasn't here for a week, maybe she will not come for another week and the kitchen is already starting to get real smelly...
so i created a user for our manager and sent him the credentials to his brand new WP editor account so he can make his changes and went to wash the dishes instead
What the fuck is this trend of pricing cloud services by the minute? I mean It's fucking great and all that I buy 2 minutes with a sql db but who the fuck actually does that?
After another night working on a server I (strongly) suggest we move our shit to a cloud service. It's cool providing I promise the costs don't rape us blind folded. Seems easy enough, right? Nope it's not.
6 hours later, halfway to becoming a fucking network engineer and I'm more lost than ever.
Seriously can't the fuck AWS and google cloud show a monthly price - even an estimate for generic shit like $x for the average crappy wp blog!
If anyone has some helpful info / experience on the true cost of hosting generic web apps - the retardedly simple app I'm trying to price is:
1 php web application with 150 domains, 3gb mysql db and 30gb ssd.
I gets has 45000 sessions with 250000 page views.
Your help would be greatly appreciated. Currently I'm leaning towards deploying a clone sending 250 000 random requests and praying my $300 cloud platform credit will cover the bill.4
Yes WP sites can be bad.
But as bad as it can be, just as easy it can serve as a good kickstarter for the next website.
If just the developer behind said website has some kind of dignity about the code they produce and respect for their fucking job!
1. Don't use bloated plugins.
2. Always vheck out alternatives.
3. Don't ever use paid plugins/themes... just don't.
I for one, whenever installing a plugin, if said plugin generates any kind of unexpected output such as a notice it's an immidiate uninstall, and then rolling my own.
I also use a bare minimum boilerplate theme which does not bundle any frameworks, additional libaries or other kinds of that bloatware for all my wp sites, this ensures that every site is somewhay unique.
I've seen so many "devs" being lazy as fuck, using the wrong themes/plugins to "code" the site.
No! using page builders such as visual composer or bloatware slideshows does not count as good tools.
If you buy a theme from themeforest thinking it will save you hours of custom development, then fuck you... go drown in acid.. because guess fucking what?
It will save you absolutely jack shit in the long run..
Anything stating otherwhise is marketing bullcrap4
Back from Christmas vacation, contractor account expired, no VPN, no mails.
Of course, contractor IT is not available.
Is there any good, developer-friendly alternative to WordPress? So sick of plugins that have no API documentation and still use SVN. Working with PHP is seriously the least of my complaints with WP.
Favorite CMS right now is Lektor but it’s not designed for use with clients and I haven’t figured out a quick solution to make it work for that use case. It’s also very lacking in features, so only suitable for very basic content.9
I got into hell and sinned there.
This was a few years back when I was getting into webdeb. I was working with WordPress at that time and a start-up asked me to help them build a website on WordPress through a mutal friend. That was my first WP site and it is a jungle of unorganized code. I didn't bother making a child theme, overwrote PHP files without documenting it and changed CSS in the orginal files. Instead of a child theme, I made a monster.
The worst part is, that site has never seen an update coz an update in WordPress would undo all my work. I should prolly burn the server the site is hosted on to purge my sins.
WHY ARE GRAV SLIDESHOW PLUGINS USELESS FUUUUUUUUUUUUCK
OWL SHORTCODES DOES NOTHING, LIGHTSLIDER DOCUMENTATION IS THE VAGUEST THING EVER AND THEIR NON-MODULAR EXAMPLE DOESN'T WORK, AND THERE AREN'T GOOD ALTERNATIVES.
... I ended up installing Bootstrap on the site just to get the slideshows working. It looks like shit and is bloating my page so I'M EITHER FIXING THOSE PLUGINS OR SWITCHING BACK TO WORDPRESS. IT MIGHT BE HORRIBLE BUT AT LEAST IT'S FRIENDLY AND THE COMMUNITY DOESN'T IGNORE ME ON THE SLACK CHANNEL2
Fuck, I made a mistake. Some mail server didn’t deliver double-opt-in mails, because I forgot to change the SMTP server during a hosting transfer two weeks ago, yeah I forgot..
The issue became clear yesterday, we store the data in the DB and I wrote a little script to resend the mails. This thing runs WP and used the wp_mail stuff with the underlying PHPMailer.
Well, within the loop to resend the mails I forgot that this will all be done on the same instance of PHPMailer and thus, I’d have to clear the previous recipients.
Guess what… about ten people got into the recipient field and thus got mails that weren’t intended for them.
A recipient complained about it, otherwise I wouldn’t have noticed it.
Damn I suck, this is going to be a nightmare.1
I am traumatized a bit by seeing so many web applications being "hacked" together by WP integrators.
We see a lot of shit applications when companies knock on our door to have a look at their "sick" systems built on shit like that.
Usually when we feel sorry for the company we stage it up. If freak WP applications had a proper debug log, the first line would read: [WARNING] Put me out of my misery. 😵
Worst of all is that usually we could've built the webapp for half the price the customer spent originally with a proper framework and architecture.3
So I know React & Vue, webpack, Node/Express, ES2018, GraphQL, all the "fancy stuff" but I'd also like to get some skills creating/customizing WP templates.
Any recommendations on how to get started?
(other than "eww WordPress, pls kill yourself")2
-I have a project to finish due next week from an interview i had and i mentioned that i want a server side role, i am more of a PHP & MySQL (laravel).
-Also told them i am not very good at the front end
-So good so far
-They gave me the requirements
-BUILD A FU##ING website using
- BOOTSTRAP AND WORDPRESS
two let's call them tools i have NEVER used and also mentioned that
So here i am having my fking pulse over 100 trying to damn figure out how this bs works.
End my suffering
Have a nice day!!13
Assuming Mac: Alfred for OS such as searching and opening apps, using spaces to setup smart project areas, divvy app to quickly size and move around the windows, terminal shortcuts to open files in the OS or in an editor, transmit for hidden files and dragging between panes and server + occasional mounting for preprocessing, inbox-zero mentality, a properly setup google drive app so you don't email forked files back and fourth, beanstalk for deployment of larger stacks, surge.sh for targeted front-end sites, Ember CLI or brunch for build pipelines, CodePen for UI experiments outside of the project, slack instead of email, pick up the telephone and just call for clarification more often, stylus is easier to maintain then scss, hire designers that actually know what their job is if you can. For arduous WordPress administration, rightclick open in new tab for everything - or half your time will be pushing the back button, wp-migrate pro, and in general try to get out of WP when you can.
Remote into a machine in order to remote into a machine to setup wordpress site on an IIS server using wamp behind nginx. That was my day, as the FE dev who never built the WP site and knows diddly squat all about setting up servers.
Talked the bossman, he just asked that I finish the project before being put back on my usual ERP maintainer role.
I agreed to it and the faster this fucking plugin is done, the faster I can go back to my optimization and maintenance project :D
I tried to install a WP blog on my website. Now I understand all the negativity towards WP. Image uploading doesn't work (500/404), thumbnails don't generate and the plugin that's supposed to fix it crashes every time.
Wanted to use WordPress for a landing page with a knowledgebase, installed wp, remembered how shit it is and deleted it right away. It never felt so good to press that "Delete database" button.
I'll stick to a responsive theme for now.
I'm a full stack web dev (LAMP, MEVN), not a sys admin. Besides complete control of my os, are there any benefits to a Linux-based os like arch or ubuntu? I've played around and set up both in VMs, but I'm struggling to find a benefit that justifies the setup commitment.4
Why assume it's "malicious" when I'm the one that rooted my own phone?
It's even more ridiculous when I'm prompted to SIGN IN OPPO account to maintain the root status. Who's the fucking malicious one now?
This piece of shitty pink notification permanently stuck onto my drawer and I can't seem remove it. GG fucking WP but I'm just going to live with it.4
Todays website fail:
Notice: The called constructor method for WP_Widget in FollowMeWidget is deprecated since version 4.3.0! Use
instead. in /home/vapingst/public_html/wp-includes/functions.php on line 3893
Notice: The called constructor method for WP_Widget in FooterContactUsWidget is deprecated since version 4.3.0! Use
instead. in /home/vapingst/public_html/wp-includes/functions.php on line 38931
I started learning WordPress out of curiosity.
Configuration and deployment was easy peesy.
Site is up and running, BUT
Real challenge is, customize it according to clients requirement.
I purchased paid theme as well. It has theme builders installed to.
But I couldn't make it according to client requirements.
I neither found any resource where I could learn WP site customization.
What I'm doing wrong?18
Wordpress so fun.
We need to update a theme you say.
Update failed, you are on the latest version.
You need to update this theme ...1
Question for all the WP Haters: what do you use as a CMS in place of WordPress?? I am a fan of WP for an easy to use / deploy CMS, but am looking for other CMS to test out.6
Using Pressbooks to produce a business eBook from a WP site. Couple hundred posts with some images. Good so far.
Anyone use it or something you really liked? Read mixed reviews re Anthologize.
Decided to try the beta build of WP 5.0 today to get a feel for Gutenberg block development, but it's not building confidence. Following the examples in the Handbook (Link: https://wordpress.org/gutenberg/...) and it's failing when trying to set up the rich text editor because apparently the object it relies upon is undefined. Been trying to track down the code for the basic paragraph box for an hour or so now so I can see how it's doing things, and haven't turned up anything useful.
I need help speeding up my website. It's hosted on GoDaddy shared and uses Managed WordPress. I've run tests on Pingdom, PageInsights, GTMetrix and load times vary from 1.3s to 5s depending on the server location. Apparently Managed WP GoDaddy uses a CDN and their own caching plugin (Varnish). I don't know if that's good or bad.
PageInsights says I need to optimize images. I'm using WP Smush but clearly it isn't helping too much. I always manually resize all my images to <=100kb.
Also, the age old leverage browser caching problem... How do I fix that?
Thanks a lot for taking the time to go through this :)4
Just typed this into the Python interpreter and my whole system just froze. Guess I have to do a force shutdown.
x = list(range(1, 999999999))
So is there a way you can somehow configure your linux system such that the window manager/system is never out of memory or processor time? So that atleast I get can atleast kill the process which is freezing the system.3
Quick Plesk config question...
Been getting open_basedir() notices in the WordPress logs, and frankly it's flooding the log right now. Sample below:
[24-Feb-2019 07:05:19 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/webspacedomain.com/SiteInstallDirectory/wp-content/db.php) is not within the allowed path(s): (/var/www/vhosts/webspacedomain.com/:/tmp/) in /var/www/vhosts/webspacedomain.com/SiteInstallDirectory/wp-includes/load.php on line 397
Checking the settings for open_basedir in the domain's PHP settings, it's currently set to the following default value:
By my read, that **should** be granting permission to the directory. I just checked it against the setting on the dev server (which doesn't report this error), and it's configured in the same manner. Only difference between Dev environment and this one is that the one in Dev is in vhosts/webspacedomain.net/DEV instead of just vhosts/webspacedomain.net
Is there something I'm missing here?4
Being in a situation at work where 50% of my time I can work on really exciting new Laravel projects where I got free hands on everything technical. Enjoying this very much. The other 50% is fixing existing broken wordpress sites with like 5 billion plugins. Want to shoot my fucking head off doing this shit, need to convince my boss to hire someone else just for the wp shit
I'm beginning to design websites using WordPress. The issue is, every client wants their website to be styled differently. ive looked into creating my own themes, but a new theme for each client is just unrealistic.
Somebody pointed me towards dopewp.com, which is a Bootstrap based theme with a page builder. I've settled for the idea that I need one theme that'll do the job everywhere, but there's more questions past that.
should I develop my own Bootstrap theme, or use freemium software (which I hate) like dopewp? another option would be to build my own Bootstrap theme, or a completely new Bootstrap CMS.
I just don't know...6
Hey guys. I'm searching for potentiometer calculators but I have a problem...
Where do I get the R1 and R2 for a given pot?
I wanted to know what pot should I use to regulate 0-12V and 0-5V.
Also, can this potentiometer handle a 400w power supply current?:
I'm designing the box for my power supply and I want to regulate the voltage on one of the exits.9
I once used Wordpress for my portfolio. I now feel dirty. I know there are some who wouldn't admit that they use wp sometimes and that's understandable. I think making my own cms would be better. Has anyone of you here done that? What back-end tool did you use?5
Developing a WP site that is English by default but will need a French translation that can be switched over to when needed...basically just a duplicate site with translated content...any idea on which plugins are best for this?5
after a long struggle this has become a rant.
we've tried numerous ways to make local server/xamp/bitnami work with ubuntu 14.04 so that we can get working on WP and then setup git repo. thought life would be easy one day.
are we the only one suffering to make this thing work?
Microsoft? what a fucking joke
I do /remotelogout in skype. Next thing you know you can’t relogin with skype for WP. It says “*login successful, but we can’t log you in right now*”. Peace of shit.
On Android works with no problems, I wonder why WP has 0,00000000NULL% market share.
Trying to read the description/usage for WP functions to figure out what's going on is like getting lost inside a maze...inside a maze.
I swear people write these descriptions for people who already know what the functions are and what they do. #UselessToMe
started working on an existing project of a customer from our company today.
The readme.md says you need to run it in docker but apparently thats wrong. You have to symlink the repo inside wp-content/themes. Then install some packages via npm but only for node-7 because node-sass will only work that way. Then install some packages via bower becausy, why not? and lastly run a webserver via gulp that serves the parent wordpress-directory.
But wait, theres more:
The staging environment is a macbook for internals, thats running in our office 24/7 and serves the website via ngrok...
Anyone worked with WordPress + React?
I'm trying to think how I can host WP as my back-end and React as my front-end.
Currently I'm thinking of hosting them separately as two different domains as the back-end can be called as an API by the front-end.6
Built my first singleton today. Dunno if I need it, should've used it, or if I even did it right, but I think I did.
In all seriousness I made a singleton and have no idea what I'm doing. It works and I think I understand it but it is in WordPress so no one ever knows.
Wordpress for E-Commerce? Is this a practical thing to do... I am certainly not a WP user but thought it was cool to construct a bloggling site or something else similar, but E-Commerce? Maybe on a small scale, but I can't see a big sophistcated shopping center being effective with wordpress? What are your thoughts? Secruity issues with plugins ect?4
Craft CMS or WordPress? I’m solid with WP given every site I develop in my day Job is built in it (for continuity, maintainability and cross team dev reasons). But have seen lots of good things about Craft recently, worth learning?4
Best way to troubleshoot a long ttfb on a wp woocommerce site? Yes I know wp and woo == boo. Still, a friend of mine has a shop and needs some help with it. Shared hosting, 6-7sec load for homepage, 4-5secs for product page7
Just finished a WP chatbot plugin with dialogflow.
implementation took a while week and many pains in arse.1
Todays website fail:
Fatal error: Call to a member function using_permalinks() on a non-object in /hermes/walnaweb11a/b2165/moo.hamradiosciencecom/hamradioscience/wp-includes/comment-template.php on line 771
Unlocking your potential takes time.
Throwing away time is so easy to do and we are all guilty of it. How much of your time have you wasted not living up to your potential? The answer is brutal and may overwhelm you.
You have probably wasted some of your time but at least you haven’t wasted your whole life, yet.
You still have time and that’s the best reason to stop wasting it and unlock more of your potential. It hurts to know you have been lazy or procrastinated, but it hurts even more to ignore that fact and pretend everything is great.
Has anyone developed websocket server in Nodejs?
I am planning to use socketcluster. Has anyone had experience using it? Is it good or should I go for something else?11
Todays website fail, looks like someone is using a NFS mount for the site:
"Deprecated: Non-static method PageLinesTemplate::current_admin_post_type() should not be called statically, assuming $this from incompatible context in /nfs/c03/h03/mnt/166492/domains/makerspace.com/html/wp-content/themes/pagelines/admin/class.options.metapanel.php on line 30"
If anyone is looking for a great tutorial on getting started with a docker cluster check out https://dockerswarm.rocks/
I had a 4 node cluster up on Digital Ocean with Traefik + Lets Encrypt, Prometheus, Portainer, Grafana all that good stuff in under 2 hours. Not much longer to test a basic WP and Next Cloud container with full SSL. Neat stuff. Just burning through $100 credit for testing but it's been fun5
Today was the first time I realy used wordpress...
FUUUUCKING wp, the editor is nofucking shit better than ms notepad! How is it that so many people are using it and actually like it?! fuuuck....
What alternatives do you use for your homepages? I personaly prefer bolt.ch1
What do you guys think of wp plugin that displays charts from MySQL tables and wraps into a shortcode?2
New to wordpress.
How would i send a mail using 'wp mail smtp' plugin? I completed the procedure and test mail was successful. How would i call this from UI. No tuts saying anything about that i guess4
Should I be guilty for turning to WP wheb customers ask for a simple CMS?
Given more time and resources, I'd definitely work on something myself but I feel like the widespread use of WordPress has set an expectation of a rapid outcome to customers, and I'm just not given enough time to work on something better.1
"Want to learn more about building PROFESSIONAL sites with WordPress? Come to the free introduction class"
Oh the irony...
Guys I've inherited an older WordPress plug-in that was custom made by a previous developer. I'm refactoring it as it won't work with the latest wp but the previous dev has used sessions to send form variables from one form to another and I don't know why. I'd like it to be stateless in an ideal world but have been checking out the WordPress docs on cookies but they don't reveal a lot. Any ideas what I can do? Can I send the data without sessions using the native WordPress filters, hooks and actions etc. Cheers1
Any tips for using Grav? Got a few Web projects on my plate and going to use it for that. Don't want to deal with WordPress anymore.