Details
-
AboutSoftware Engineering Graduate.
-
SkillsPHP, Javascript, MySQL, Elasticsearch, AWS
-
LocationEast Midlands, UK
-
Website
-
Github
Joined devRant on 6/11/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Wait? We're all here banging on about imposter syndrome and we have a genuine imposter amongst us. 😂😂
Welcome to devrant. Hopefully the woe anger and despair at a sense of inevitable doom is enough to help you in your portrayal -
My linked in / resumé demonstrates I hopped through 3 jobs in a year. It's raised questions for sure but questions I've been able to answer.
-
Try having to retroactively add TTL document expiration for time based indices only to find out it's a massive performance hit.
-
X is a cross. Literally.
-
@Fast-Nop I wasn't after instant help just don't need smart arse comments that don't answer the question. It has since been solved anyways.
-
@StefanH I can get dynamically rendered JSON+LD to be picked up by Google's Structured Data Testing tool. But if I delay injecting it til window.onload is called it doesn't get picked up anymore.
-
@smirving I get bonuses and regular pay increases too. Just happened to be a nice thing he wanted to do as well.
-
@aggelalex Haha I think my music taste would surprise a few of my colleagues. 🤣
-
@Root I'm really liking them. I didn't have anything noise cancelling or of such high quality before so can't really compare them to much else unfortunately.
-
Do you have to log the time you spend logging your time as time spent logging?
-
@Demolishun Had to calculate the name of the temp file by generating a SHA1 of the process name and it's arguments. Then locate the file and remove it.
I think a script at shutdown / reboot that cleaned the directory would be a great addition -
The flag is usually unset when the code finishes executing, otherwise you have to remove the database row.
-
I one found the exact answer to an elasticsearch query on Stackoverflow. Turns out I'd written it months previously and lost all recollection. I really surprised myself...
-
The MDN eclipses anything else they've ever given away.
-
@devios1 well the installer checks for InnoDb support using the defunct 'show variables like 'has_innodb' they fixed it in 1.7.2.X and then broke it and didn't back port the fix
-
Seeing as you're not in the web development field then I'll enlighten you. There is no PHP Version 6.0.0 so why the fuck they would ever put this as an upper bound is beyond me. I wouldn't mind if it was capped at 5.6.0 the last version of PHP 5 but then came PHP 7 starting with 7.0.0 so it's just fucking inexcusable laziness.
-
If it's a likelihood that clients have bookmarked them or you want to retain search engine rankings for the old URLs just use a 301 redirect. Old URL => New URL
If it doesn't matter the Old URL can just return 404 and will drop off. -
@rayanon I've been in communication with said client all day so if I seemed snappy you can hopefully understand why. Recent highlights include Magento Connect not working as the sever permissions weren't correct and the client asking me to draft him an email to his hosting provider.
-
@amadperson What's the rant? The client is clearly moron if he emailed me to ask me what my email address is.
-
@gitpush Yes but to email me asking for my email address, it doesn't bode well. I feel like phoning him to ask for his phone number.
-
@localdam wait what? So in every single instance of user input you don't trust the user but you'd rather ask them the time than tell them the time?
-
@shellbug why no git revert? If anything it's actually undoing a commit. Git amend just changes the the last commit message the code changes are still in the branch, right?
-
Why? I'd much rather whiteboard than be sat down and a desk where the chair isn't setup properly, with none of my keyboard shortcuts, probably a different text editor than I'm used to and be expected to code under high pressure. A whiteboard and a pen is a 100% level playing field and if you can't draw a binary tree, a basic ERD, sketch out an algorithm, an mvc diagram or at least jot down some pseudo code. Wtf are you even at the interview for?
-
@null-pointer I worked at one place where someone had looked through the window and seen the office environment and decided it was somewhere they wanted to work without even knowing what the firm did. He knocked on the door asked a few questions and if he could come on board as an intern. He got hired.
-
Personally, I don't mind much getting 200s provided they provide a boolean success.
if (response.success) {
console.log('✓');
} else {
console.log('✘');
}
It's easy enough to understand and as and when you refactor to use more semantic status codes it's easily split into
.then(
function success(response) {
console.log(response.message);
},
function error(response) {
console.log(response.message);
}
); -
Wait what?
Where is sheep array defined prior to calling length on it? Also like others mentioned why run out of sheep by having a finite number.
Also why start two counters at 0 just to increment them both at the same rate numberOfSheeps will always be equal to i in which case using i in the loop is pointless. -
@anishd19 get a client onboard first and then move forward with the idea if they're receptive.
-
@boom Just spin up a ELK stack on a VPS and get started mate, it's pretty straight forward.
-
@tankbob protractor ftw!
-
I guess I'm a little more rigid in what counts as a 'hack' Using git to clone what is effectively a public repo is not using it for any purpose other than what is was designed for.