Dai Codes (@daiscog) header
Dai Codes (@daiscog) profile picture

Software Engineer living in Cardiff He/him

Cardiff, Wales
Joined August 2020
Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)Photo by Dai Codes (@daiscog)
When the very CEO of the platform itself is sharing fake news and conspiracy theories, it's time to leave.
17
I guess I won't be shopping at @Argos_Online then...
1
56
@ArgosHelpers FYI, TLDs with more than four characters have been around for a long time now...
1
31
And it also seems your website can't cope with passwords with non alpha-numeric characters!🤦‍♂️
37
Using a Proxy and some nifty TypeScript typing to create simple page objects in @Cypress_io blog.dai.codes/cypress-testi…
1
Replying to @angular
@Angular component testing in Cypress switched from beta to general availability. If you haven't tried it out so far: Do it now. You will not regret it. Big promise 👍
Today your tests get an upgrade. Welcome to Cypress 11! 🎉 Dig into all the exciting upgrades and changes: cypress.io/blog/2022/11/08/a… #testing #BrowserTesting
3
3
15
BBC reporting on DPRK (North Korea) overlaid on queen funeral procession
736
21,315
2,772
85,439
Gotcha: Optional chaining in @angular component templates will evaluate to **null** if the expression to the left of the ?. operator is nullish (it would evaluate to **undefined** in JS/TS). Which is a bit of a pain when you're using strict type checking. blog.dai.codes/angular-templ…
1
There are 22,143 fewer NHS Beds today than there were in 2010 - the equivalent of losing 8m NHS bed spaces a year This has doubled waiting lists to over 5 million & was used to justify handing private health £10 billion to “clear the backlog” Tory cuts to justify privatisation
91
1,979
67
4,272
Thing I learned today: * Visit any repo on @github (e.g. github.com/angular/angular) * Make sure you're logged in with your github creds * Hit the . (dot) key on your keyboard #github #vscode #awesome
2
Nice to see @joehartofficial making his @CelticFC debut this today. He's "head and shoulders" above the other 'keepers at the club. 🧴💇‍♂️
Just noticed I've been mentioned under 'special thanks' in the @angular CLI 12.1.0 release back in June. It was only a tiny contribution, but still feels pretty cool to be acknowledged for helping out with such an enormous and widely-used OSS project. github.com/angular/angular-c…
Dai Codes retweeted
Only France have won more matches than Wales in the last two European Championships combined 🏴󠁧󠁢󠁷󠁬󠁳󠁿 What a team 👏👏👏
12
108
10
896
Dai Codes retweeted
This is what it means to Gareth Bale 😆 #EURO2020
89
563
82
7,572
30,000+ #Turkey fans in the stadium, but all I could hear for the last ten minutes was 500 #Wales fans belting out Hen Wlad Fy Nhadau and Yma O Hyd. ♥️
I've added a "testing" section to my post about handling loading states in @angular components, which demonstrates using marbles testing to unit test #RxJS observables (a subject worthy of an article of its own, one day...) blog.dai.codes/handling-http…
1
1
How to avoid using tap in an #RxJs Observable to push to values to Subjects, for example, to control the visibility of loading or error states in an #Angular component. blog.dai.codes/handling-http…
1
3
ngx-http-request-state is a small Angular lib I've recently published to help with this npmjs.com/package/ngx-http-r…
Shame though; an injectable internet connection sounds awesome.