Load site modules...
lade...
random avatar

grahamcox82 - Network

Posts Subscribe

So, when writing code it's important to test that it works. And especially on boundaries - e.g. where you interact with other systems.In...

https://fosstodon.org/@grahamcox...

So, when writing code it's important to test that it works. And especially on boundaries - e.g. where you interact with other systems.

In both and , the SDK recommends injecting a mock version of the SDK client so you can control how it acts. But it's impossible to construct the error types in both cases, so it's impossible to test the error paths.

Am I missing something here? This seems like a *huge* oversight!

18.3.2023 07:42So, when writing code it's important to test that it works. And especially on boundaries - e.g. where you interact with other systems.In...
https://fosstodon.org/@grahamcox...

I'm disappointed.Messenger has lots of choices of GIFs for "what do you want", including The Notebook, The Lion King, The...

https://fosstodon.org/@grahamcox...

I'm disappointed.
Messenger has lots of choices of GIFs for "what do you want", including The Notebook, The Lion King, The Grinch and many others
It doesn't seem to have Mr Morden!

25.2.2023 12:11I'm disappointed.Messenger has lots of choices of GIFs for "what do you want", including The Notebook, The Lion King, The...
https://fosstodon.org/@grahamcox...

I did a bad thing.Uciana so far seems to be a 4X game for Android that's actually not bad. Very much has Master of Orion vibes to it.I...

https://fosstodon.org/@grahamcox...

I did a bad thing.
Uciana so far seems to be a 4X game for Android that's actually not bad. Very much has Master of Orion vibes to it.
I can see this being a new time sink...

24.2.2023 23:12I did a bad thing.Uciana so far seems to be a 4X game for Android that's actually not bad. Very much has Master of Orion vibes to it.I...
https://fosstodon.org/@grahamcox...

Can someone please confirm that it is still February? I didn't accidentally sleep all through Spring?

https://fosstodon.org/@grahamcox...

Can someone please confirm that it is still February? I didn't accidentally sleep all through Spring?

19.2.2023 17:42Can someone please confirm that it is still February? I didn't accidentally sleep all through Spring?
https://fosstodon.org/@grahamcox...

I'm not saying climate change is real, but I've just seen a butterfly. In mid February. When you normally don't see them until...

https://fosstodon.org/@grahamcox...

I'm not saying climate change is real, but I've just seen a butterfly. In mid February. When you normally don't see them until April. So maybe 5-6 weeks early.
Oh, and we're still expecting freezing temperatures later this week.

Ok, maybe I am saying that it's real..! ☹️

19.2.2023 13:43I'm not saying climate change is real, but I've just seen a butterfly. In mid February. When you normally don't see them until...
https://fosstodon.org/@grahamcox...

I get that tutorials want to keep things accessible, but when the video is on how to structure things and that's the result it really...

https://fosstodon.org/@grahamcox...

I get that tutorials want to keep things accessible, but when the video is on how to structure things and that's the result it really just makes me despair.
Literally no separation of concerns, no domain boundaries, no structure at all really.
And this is frighteningly common ☹️

18.2.2023 12:33I get that tutorials want to keep things accessible, but when the video is on how to structure things and that's the result it really...
https://fosstodon.org/@grahamcox...

Just put on an @golang architecture video, and the end result was one package for all domain models, one for the HTTP server and all...

https://fosstodon.org/@grahamcox...

Just put on an @golang architecture video, and the end result was one package for all domain models, one for the HTTP server and all handlers, and a third for all database access.
Even worse, all API handlers were on the Server type, and all database calls were on the DB type.

18.2.2023 12:33Just put on an @golang architecture video, and the end result was one package for all domain models, one for the HTTP server and all...
https://fosstodon.org/@grahamcox...

There are so many bad tutorials out there, it's quite depressing.Things like splitting code down technical lines and not domain lines,...

https://fosstodon.org/@grahamcox...

There are so many bad tutorials out there, it's quite depressing.
Things like splitting code down technical lines and not domain lines, using bare primitives everywhere, same model types used at API, domain and database layers, no thought to testing, and I can go on... ☹️

18.2.2023 12:33There are so many bad tutorials out there, it's quite depressing.Things like splitting code down technical lines and not domain lines,...
https://fosstodon.org/@grahamcox...

So, after we as an industry spend ages telling everyone how important 2FA is, Twitter has decided that SMS authentication - the easiest form...

https://fosstodon.org/@grahamcox...

So, after we as an industry spend ages telling everyone how important 2FA is, Twitter has decided that SMS authentication - the easiest form for non-technical people to use - is only for paying customers.
Which means millions of people will just turn it off.
Way to go Twitter ☹️

18.2.2023 09:37So, after we as an industry spend ages telling everyone how important 2FA is, Twitter has decided that SMS authentication - the easiest form...
https://fosstodon.org/@grahamcox...

Certainly, this doesn't seem to be possible with @auth0, @Firebase or #cognito. There may be others out there that can do this - in...

https://fosstodon.org/@grahamcox...

Certainly, this doesn't seem to be possible with @auth0, @Firebase or . There may be others out there that can do this - in which case, someone please point them out to me!

17.2.2023 18:06Certainly, this doesn't seem to be possible with @auth0, @Firebase or #cognito. There may be others out there that can do this - in...
https://fosstodon.org/@grahamcox...

There are certainly ways to fake it - e.g. storing a separate property which is the "URL Slug" - but not as the local user's...

https://fosstodon.org/@grahamcox...

There are certainly ways to fake it - e.g. storing a separate property which is the "URL Slug" - but not as the local user's username. And trying to use usernames alongside that fails when someone new signs up with a username that collides with someone else's existing URL Slug...

17.2.2023 18:06There are certainly ways to fake it - e.g. storing a separate property which is the "URL Slug" - but not as the local user's...
https://fosstodon.org/@grahamcox...

As best I can tell, there are no authentication services that support unique usernames spanning local and social users! Certainly none with...

https://fosstodon.org/@grahamcox...

As best I can tell, there are no authentication services that support unique usernames spanning local and social users! Certainly none with a free tier.
If you want to build an app with GitHub-style URLs and support social logins, you need to build the authentication yourself...

17.2.2023 18:06As best I can tell, there are no authentication services that support unique usernames spanning local and social users! Certainly none with...
https://fosstodon.org/@grahamcox...

RT @amysw_secMorning wisdom

https://fosstodon.org/@grahamcox...

RT @amysw_sec
Morning wisdom

13.2.2023 12:57RT @amysw_secMorning wisdom
https://fosstodon.org/@grahamcox...

On Lucys first visit to Narnia, no time passes in our world, despite her spending hours there.However, on her second visit, Edmund comes...

https://fosstodon.org/@grahamcox...

On Lucys first visit to Narnia, no time passes in our world, despite her spending hours there.
However, on her second visit, Edmund comes too, but a few minutes later. So that implies that time has passed for him whilst she was there or else he'd have run into her on her way out.

12.2.2023 13:21On Lucys first visit to Narnia, no time passes in our world, despite her spending hours there.However, on her second visit, Edmund comes...
https://fosstodon.org/@grahamcox...

The more I watch #TheApprentice, the more I wish he'd just sack all of them and start over.Not the 3 at the end. Not the losing team....

https://fosstodon.org/@grahamcox...

The more I watch , the more I wish he'd just sack all of them and start over.
Not the 3 at the end. Not the losing team. All of them.

10.2.2023 02:27The more I watch #TheApprentice, the more I wish he'd just sack all of them and start over.Not the 3 at the end. Not the losing team....
https://fosstodon.org/@grahamcox...

I wonder if the official API keys for the official Twitter apps have reached their quota and need billing details setting up...

https://fosstodon.org/@grahamcox...

I wonder if the official API keys for the official Twitter apps have reached their quota and need billing details setting up...

8.2.2023 23:09I wonder if the official API keys for the official Twitter apps have reached their quota and need billing details setting up...
https://fosstodon.org/@grahamcox...

In today's edition of "bizarre earworm of the day", I give you...The Wombles theme song!

https://fosstodon.org/@grahamcox...

In today's edition of "bizarre earworm of the day", I give you...

The Wombles theme song!

8.2.2023 19:52In today's edition of "bizarre earworm of the day", I give you...The Wombles theme song!
https://fosstodon.org/@grahamcox...

Wake me up in the new year...

https://fosstodon.org/@grahamcox...

Wake me up in the new year...

5.2.2023 16:26Wake me up in the new year...
https://fosstodon.org/@grahamcox...

Is it animal cruelty having my beef stew cooking in the slow cooker overnight in the same room the dog is sleeping in?

https://fosstodon.org/@grahamcox...

Is it animal cruelty having my beef stew cooking in the slow cooker overnight in the same room the dog is sleeping in?

4.2.2023 23:55Is it animal cruelty having my beef stew cooking in the slow cooker overnight in the same room the dog is sleeping in?
https://fosstodon.org/@grahamcox...

get it to production - meaning development, QA, releases, deployment, etc.And a lot of those situations likely don't have super...

https://fosstodon.org/@grahamcox...

get it to production - meaning development, QA, releases, deployment, etc.
And a lot of those situations likely don't have super efficient processes.
So this has the potential to cost the world billions or even more.
So, I'm curious. Who is liable for that? Twitter? Elon? Nobody?

3.2.2023 19:48get it to production - meaning development, QA, releases, deployment, etc.And a lot of those situations likely don't have super...
https://fosstodon.org/@grahamcox...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members

⬆️

⬇️