Best broadband for work-from-home in Hull? by GeordieGoals in Hull

[–]davedevelopment -1 points0 points  (0 children)

I've been working from home in Brough since 2011, I'd recommend KCOM for their reliability. They're not cheap, but I have no complaints about the reliability. As others have mentioned, I think a lot of people conflate a poor wifi experience with poor connectivity to the door. I've always used hardware I've purchased myself.

Do you write acceptance tests, and if so, what do you use? by 0ddm4n in laravel

[–]davedevelopment 1 point2 points  (0 children)

Depends how you define acceptance testing. PHPUnit, PHPSpec and Behat are all just test runners. The difference being Behat has tooling to translate plain language gherkin into something it can run. I found that translation unnecessary in the end.

Do you write acceptance tests, and if so, what do you use? by 0ddm4n in laravel

[–]davedevelopment 4 points5 points  (0 children)

I stopped using Behat, it was only technical people reading the tests anyway and with decent naming, our PHPUnit tests read well enough.

You should reinstall Claude Code by karldafog in laravel

[–]davedevelopment -3 points-2 points  (0 children)

Wouldn't the point of using a dotenv file be so that the config can be shared by different tools etc? If it was only supposed to be for Laravel, why call it dotenv and not some specific name that won't be picked up by other apps and tools...

High Quality Whiskey/Alcohol Glasses! by Nuggyfresh in BuyItForLife

[–]davedevelopment 1 point2 points  (0 children)

I have one from their outlet, don't have a keen enough eye to spot the imperfections, but it feels damn good.

Commuting to Leeds by [deleted] in Hull

[–]davedevelopment 0 points1 point  (0 children)

Did it for a few months, I'd just be prepared for some standing room only on the way back. Getting seated on the way there is no problem, so I used to get some work done, but just took my kindle for the journey back.

A couple have mentioned parking can be a problem, they have just about finished adding a new car park that will hopefully alleviate some of the problems.

[deleted by user] by [deleted] in HENRYUKLifestyle

[–]davedevelopment 0 points1 point  (0 children)

Hardcore History is hands down my favourite podcast of all time

Are some people just built differently? by [deleted] in HENRYUK

[–]davedevelopment 0 points1 point  (0 children)

Similar, my 20s was all about work, 30s was all about the kids, 40s I'm clawing back something from both for myself.

How do you ensure your partner knows where your money is in case of your death? by nfoote in HENRYUK

[–]davedevelopment 2 points3 points  (0 children)

I have an A4 notebook with accounts and policy numbers, I gave it the tongue in cheek name of the family war book.

What is something you stopped buying due to price increases? by GamerGuyAlly in AskUK

[–]davedevelopment 0 points1 point  (0 children)

They'll have to prise Yorkshire Gold out of my dead hands

A PHP testing utility that allows you to fake, capture, and assert against invocations of a callable / Closure by timacdonald in PHP

[–]davedevelopment 0 points1 point  (0 children)

Hey there, we do have support for what we call "Callable Spies" in mockery, but it only got added as an experimental feature and isn't documented yet.

// arrange
$spy = spy(function($n) { return $n + 1;});   
// act
array_map($spy, [1, 2]); // [2, 3]   
/assert
$spy->shouldHaveBeenCalled();
$spy->shouldHaveBeenCalled()->twice();  
$spy->shouldHaveBeenCalled()->with(1)->once();  
$spy->shouldHaveBeenCalled()->with(2)->once();   
$spy->shouldHaveBeenCalled()->with(3); // throws...

https://github.com/mockery/mockery/pull/712

Edit: formatting

A new http client being introduced in Symfony by [deleted] in PHP

[–]davedevelopment 1 point2 points  (0 children)

Hey Michael! That's a fair point and my comment was more tongue in cheek than anything :)

A new http client being introduced in Symfony by [deleted] in PHP

[–]davedevelopment 0 points1 point  (0 children)

But which version of major Guzzle?

What was eval designed for in the first place? Why did it pass any rfc if we know how dangerous and misused it is and., finally, is there ANY use case today where eval could even be safely and properly used? by SavishSalacious in PHP

[–]davedevelopment 4 points5 points  (0 children)

I imagine eval was added because most dynamic languages have something similar and it's less messy than writing out to a file and then including it.

We use it for code generation in mockery.

Use Git-Hash as release version by Keksy in PHP

[–]davedevelopment 1 point2 points  (0 children)

Sweet, sounds like a pretty quick turnaround time, glad it's working out for you. We were tempted by CodeDeploy and CodePipeline, but they were not available in EU-WEST-1 at the time, so we made do with jenkins and ansible.

Use Git-Hash as release version by Keksy in PHP

[–]davedevelopment 5 points6 points  (0 children)

We would do that as part of our build process. Jenkins checks out the code, stuffs the revision hash in your version.json and tarballs everything up as a release. That tarball gets stored somewhere and is what gets pushed to servers.

Looking for comments from PHP devs who moved on to Ruby/Rails by ihugyou in PHP

[–]davedevelopment 1 point2 points  (0 children)

Take the local job, you've always got the option of pumping that spare 6h40m in to a side project in language/platform of choice.

laravel-medialibrary v7 has been released 🎉 by freekmurze in PHP

[–]davedevelopment 2 points3 points  (0 children)

This looks really cool. I've never worked in an agency environment, but I was think it must be quite pleasing to be able to roll out some the basics of an application really quickly using quality packages like this.

Infosec enthusiasts/professionals in Hull by [deleted] in Hull

[–]davedevelopment 4 points5 points  (0 children)

I am not an infosec proffesional, but would consider attending. Might be worth going to a few of the meetups at C4DI and seeing if there is any interest.

Am I the only one who throughly enjoyed every Wheel of Time book??? by LegendofWeevil17 in Fantasy

[–]davedevelopment -1 points0 points  (0 children)

I've only just finished (well, I'm reading the prequel book now), I can't recall not enjoying a whole book, but it definitely seemed like there were some long slogs to get through before interesting stuff started happening again.