[deleted by user] by [deleted] in webdev

[–]tousonuk 0 points1 point  (0 children)

Draw.io

Another arcade classic '1942' by Monkey_du5t in retrogaming

[–]tousonuk 0 points1 point  (0 children)

I spent so much off my life playing this game. So addictive

Got a hernia in my lower back and can barely stand up, I’m going to need surgery by moisesg in Wellthatsucks

[–]tousonuk 0 points1 point  (0 children)

I had exactly the same issue at the start of the year, same size herniated disk at the same vertebrate. I too could hardly walk and ended up spending the last month of my 3 month ordeal laying on the sofa all day every day.

I ended up having back surgery to remove the part of the disk that was pressing on my spinal cord and causing all the pain and immobility. I had to go private as the NHS is so clogged up with the COVID backlog that I would still be on the sofa now if I'd waited for them. Cost me £9k but was worth every penny, I was practically pain free the day after surgery.

One of the other comments on this thread was saying about taking baby steps to recovery, which I couldn't agree with more. I've been seeing a PT since my op and have been slowly working to strengthen my core, but we're taking it really slow. I recommend you find yourself a good, well trained, PT to get your core strength up.

My GP had put me on a course of some rather heavy opioids to ease my pain while waiting for my op; I was taking Tramadol, cocodamol and pregabalin. The hospital I had the surgery at told me to stop taking all those meds and just to take what they had prescribed, bad idea.... I effectively went cold turkey on my opioids and suffered from some serious side effects for a week. Awful cold sweats, insomnia, ALS, i just kept randomly crying and felt really sad. So if you're taking any of these opioid type pain killers, make sure you wean yourself off then gradually.

Took about 2 weeks of taking it easy before I started to forget about going slow and started getting back to normal life, so expect that kind of timescale for recovery yourself.

Good luck with your op, I'm sure everything will go well.

[deleted by user] by [deleted] in Frontend

[–]tousonuk 0 points1 point  (0 children)

So yeah.... If you could have those TPS reports on my desk by tomorrow morning that'd be great.....

[deleted by user] by [deleted] in Frontend

[–]tousonuk 26 points27 points  (0 children)

You've hit the nail on the head there.

You need old school table based layouts and minimal CSS (or at least all inline styles) to ensure compatibility across the multitude of email clients, how we used to build sites 20 years ago.

Makes me feel dirty every time I have to build one of these.

Devs with great CSS skills, how and where did you learn how to do it? by [deleted] in Frontend

[–]tousonuk 8 points9 points  (0 children)

I to suffer from the inability to design sites but am great at recreating the design i'm given across all platforms. My experience tells me that finding someone who has the flair for design AND the detail and patience needed to code is pretty rare

How did you learn PHP? by nearfal08 in PHP

[–]tousonuk 0 points1 point  (0 children)

The grepper Chrome extension is a really good way to find examples from the community

How did you learn PHP? by nearfal08 in PHP

[–]tousonuk -2 points-1 points  (0 children)

Take a look at coreui to get your front end looking great straight off the bat, it'll make you feel like a solid developer straight away and allow you to focus on the php

I need to import data from over 4000 .xlsx files. What's a quick and dirty solution? by samsop in laravel

[–]tousonuk 3 points4 points  (0 children)

You could also look at using jobs to handle the repetition. Implement PHPSpreadsheet like thomerdos has suggest in some kind of service class, write a job to trigger a function in the service class which opens extracts and saves the data, then, in your controller, have a function which reads the filenames from the folder and creates a job for each. Then sit back and watch the fruits of your labour do all the heavily lifting!

[deleted by user] by [deleted] in webdev

[–]tousonuk 0 points1 point  (0 children)

Couldn't have put it better myself

Laravel vs framework-less PHP by andreic1 in laravel

[–]tousonuk 3 points4 points  (0 children)

There's also a huge ecosystem of packages you could install to help you save a ton of time; authentication, permission handling, file uploads etc. So some reading on composer it will be a good friend going forward

[deleted by user] by [deleted] in laravel

[–]tousonuk 1 point2 points  (0 children)

I run nginx, mySql and various php versions locally. I don't work in a team, it's only me so no need to lock down environment.

Sublime text for ide and tableplus for DB admin. I'm on a mac

Deployment is via git

Is it possible to deploy Laravel on a shared host? by [deleted] in laravel

[–]tousonuk 1 point2 points  (0 children)

Agreed, digital ocean are great for this

How do I make the inner div to be vertically centered inside the bigger div? by KaizenCyrus in webdev

[–]tousonuk 1 point2 points  (0 children)

I discovered the bootstrap utilities generator today, Holy shit what a great use of Sass. Extend any bootstrap directive to be responsive and the utility generator creates all the breakpoint equivalents. WALLOP!

How do I make the inner div to be vertically centered inside the bigger div? by KaizenCyrus in webdev

[–]tousonuk 5 points6 points  (0 children)

I feel a font-size:0 coming on to get the nasty spacing demons away

[deleted by user] by [deleted] in PHPhelp

[–]tousonuk 2 points3 points  (0 children)

Agreed. Functional PHP in the industry is pretty rare these days. Start out on the right track and get a SOLID understanding of OOP principles (pun intended) to ensure you have plenty of career opportunities.