AboutStill green to programming world, really started getting involved in web development in the fall of 2016 and been learning as much as I can ever since.
Joined devRant on 8/25/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
So slack is great. It really is. But you can't bulk delete messages so if you're using the free version prepare to delete 10k by hand.
Yeah so our team is switching to something like chanty.
Any suggestions for free team messaging tools?16
I just built a website with Hugo. And I love it. Got a request for a certain set of pages but because of the workflow the one thing I could dynamically load wasn't worth a whole wordpress site.
So I built it with Hugo instead. I played with it a little last week so I could get around but I got good this week and damn it's powerful.
I think I'm in love. I wish more projects at work could be built in Hugo.13
I started a quest to learn a new keyboard layout. And of course the twist thing that pops up is dvorak.
Dvorak has a lot of mixed reviews though so after some more research I learned about Colemak.
For the past week I've been practicing a little each day on my computer and I switched my phone to Colemak.
But I'm doing pretty good I think for just a week. Wish me luck dev family.4
I have 3 goals this year.
Maintain at least 1 new long term friendship
Be more responsible
I have way more smaller things I want to do but these are the end goals. Each entail their own struggles but I know I can do it.
Keep me responsible fam
Ok so I got namespace N.
And namespaces N\a and N\b.
I would like N\a\foo() to call N\b\bar().
But no matter what I do it says \N\b\bar() does not exist. What am I doing wrong??
I've tried including, using, requiring but nothing.8
What would you guys use to backup multiple mysql databases incrementally without root access. I've been just exporting the db through PMA but I'm switching everything to a version controlled system and would like to do the same for our databases.
Oh yeah and the reason I don't have root is we have cloud hosting which doesn't provide root access. I can't even run Yum.
For the passed couple of years I've struggled with depression. This passed year has been so much better. I found a career path I enjoy, I learned a lot about myself, and I got a full time job.
I live with my grandparents and God bless their souls but I really want to move out. This realization really came last week when they left for a vacation and left me home alone. I've already lived away from home, volunteer work, internships. But now that I'm back home I'm bored, I have no responsibilities. I should also mention that I can't be myself around them, partly because I no longer believe in their God and partly because there never really was any transition between child and adult.
I talked it over with some older friends and they agreed that I should move out and offered some regally good advice.
I'm gonna wait until they get back and attempt to talk about it with them. I mean it's more of me telling them I'm moving out they can't really stop me at this point.
Anyway just wanted to get this off my chest. Hope you have a wonderful day.3
Just got a call from an Indian scammer. He did the whole press Win + R shabang and I did what he said but the run box didn't appear (maybe cause I'm on a mac) I tried a few more times and then had a moment of enlightenment, I have a mac so that must be why the shortcut isn't working. He then goes on a rant saying everything is fine because he is the best technician and he can fix my mac too. He threatens to hack me and get my name and hack my computer but then goes straight back to his script and asks me to open my browser. I'm asked to go to a website which he mumbles so I don't understand and ask him to spell it for me. This of course is unacceptable and he goes no just type whatever you feel like typing, immediately changing his mind to xvideos.com instead. I say I can't visit the site since I am at work and he goes straight into trying to recruit me. Promises of infinite money and all I could ever wish for. Then he says I should work for him and he would pay me to watch porn which I politely decline. The final interaction was me letting him know I need to get back to work and to tell his call center buddies to never call me. He got super mad at me for accusing him of working at a call center whilst you can hear other calls in the background. 10/10 interaction.6
Pardon my ignorance but is what I'm trying to do even possible?
I have a WordPress network and have domain mapping setup. So the original was domainA.com/map and the new is domainB.com. Is there a way for me to keep both the old sub directory and new domain without redirects.
If not oh well.7
I need to have domainB show the contents of domainsA without redirect. Oh and its WordPress if that makes it worse.
Support just said "You gotta clone the website" but there's gotta be a better way.
It's cloud hosting from HostGator so I don't have access to virtualhosts.7
Got a nice blackmail email sent to my work email during the weekend. Too bad when I got back to work on Monday he already sent the pics. JK this is a work email he doesn't have shit on me.
He did send the email from my email but the password he said hasn't been since I started working here. I just feel insulted. Come on guys let's donate so he doesn't share how hard I work.
Here's the email: https://text-share.com/view/...10
How would you implement a system that allow people to share a product that's normally one price but because of the referral there is a discount. Oh and the discount is supposed to based which country you live in.
Right now the whole system runs on the honor system and a little front end verification. How do I clean up this mess??
Sure getting the user's location could work until they use a vpn. I don't really know what to do here.3
Right now everything is a CMS. And I hate it. It lets people who don't know what they're doing, think they know what they're doing and make a mess for the real developers.
All I can hope for us some huge educational effort so that if you want to use WordPress you can, but know that there are much better options.
Every change has to be approved ahead of time anyway and its literally my job to keep this website running. I don't need you poking around breaking stuff.3
Oh hell yeah. I just spent a good few hours optimizing an ok mySQL query and made it so much better and faster. Inner join ftw!!3
It's only took me all morning but I got git properly setup on our server.
We have a folder in the repo that holds the distribution files. They get split to the distribution branch. Then the hosting service clones that branch.
Finally we we got some proper version control and a good testing environment.
Oh yeah the distribution files are minified using grunt.
I want to start learning to document my code. What tools do you guys use? I've seen https://www.gitbook.com/ but their server has been on and off all day and I prefer reliable services.
This project is the reason I'm finally learning to document my code: https://gitlab.com/datwood/...1
I have an idea and I want some feedback.
I'm the only web developer and I've been updating our systems so they can be maintainable. Previously we have used Wordpress for landing pages which is complete overkill So here's the idea:
Static sites for landing pages and any forms that would need to filled out would be on a separate site.
Ok so here me out. First the landing pages barely need any maintenance so using pure HTML/CSS/JS wouldn't be a problem. This means I can strip away all of the crap from Wordpress and make the load times faster. Second all of the landing pages forms would be hosted in a single place making analytics easier for the reporting system.
Really I just despise Wordpress and am trying any practical reason to not use it as much as possible. Oh and don't worry I'll use preprocessors and minify the production files.7
I've created a little functional script you can use for formatting US phone numbers. You can check it out here: https://codepen.io/datwood/full/....
I'm sure there are improvements I haven't thought of so feel free to mention any you think of.
I've built it so that it can work any input field set to type=tel that has a placeholder.10
Functional programming vs object oriented programming.
I don't believe one can replace the other I just want to know some other people's opinions.41
I bought rim world the other day. I think I'm addicted cause I stayed up until 2am. Fml I have self control issues and I'm at work feeling like shit.5
I have a craptop that I want to install Linux on. What are some light but still capable and user friendly distros6
Last night I had a meeting at 7:30 and a social event at 6. I was just gonna skip the social event but my friends convince me to go. And it was alright.
I go to the meeting and one of the people that we absolutely need canceled but didn't tell us.
mfw I left a social event 30mins away to go to a meeting that was canceled.
Oh and the person that didn't show was my friend and they wanted to reschedule for this morning. Guess what I'm mad and hurt and just gonna be sad in my bed all day. Fuck your meeting.
Why haven't I learned about js fetch before now. I've even used socket.io!
Fetch is amazing and I just built a function for using fetch with WordPress AJAX hooks. Yes I know it's WordPress and there's jQuery but all of my custom plugins use vanilla js as a little fuck you.
Oh yeah but ie doesn't support it at all2
Ugh I hate jQuery. It's so bloated, and I can do everything I need without it. But I can't get rid of it cause WordPress absolutely needs it.
At least I can pretend it doesn't exist on my personal projects.8
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.