Advertisement · 728 × 90

Posts by Paul Grimes

Post image

Jeesh chatty G, calm down I know you like me but let's keep things cool

5 months ago 0 0 0 0
Post image

Not sure of the function of it (yet), but @laravel.com Forge's "GitHub deployment records" is really cool. Shows recent deployments in the project's github repo.

Anyone from the Laravel team can explain its function / why I like this so much? @jbrooks.uk maybe?

6 months ago 1 0 0 0

Okay, okay, okayyyyyyy.... I've come around to typescript

8 months ago 2 0 0 0
Post image

Welp. Today I learned about "click sabotage" in google ads.. if I set a budget of (say) $20 and set a specific keyword, there are bots set up by SEM companies for competitors that will click my ad frantically, blowing my budget early in the day.

1 impression for $14.

1 year ago 0 0 0 0

TIL: Creating a new AWS in the AWS "organisations" system, allows you to create a new org with a root user, but - wait for it - **They don't allow the new user to log into the new AWS org**

🤦

1 year ago 0 0 0 0

Any #aws product people floating about here? AWS organisations has _completely_ fudged my account settings up and I need a dig out

1 year ago 0 0 0 0
Post image

Jeepers LinkedIn - pheromone sprays?

1 year ago 0 0 0 0
Advertisement

Just seen on LinkedIn: Vibe Coding repair services 😂

1 year ago 0 0 0 0

VueJS - probably late to the party, but the defineModel() for deep reactivity - SO SO SO good. We're slingin' models around like crazy people over here now! 🤠

@vuejs.org

1 year ago 1 0 0 0

*bool

1 year ago 0 0 0 0

I’ve just switched mine off for the day :) Nah, the scope was fine; the code I pasted wasn’t what was actually used. I needed to reinterpret the variable using a logical OR prior to passing it to the function, so it wasn’t interpreted as a book.

Got it working, but wasted too much time on it 🫠

1 year ago 0 0 0 0

It returns index of 0, which is correct - passing the result of the findIndex (0) into a function is where javascript acts like an ass - it interprets it as false

1 year ago 1 0 1 0

FFS javascript

const index = myArray.value.findIndex(item => item.name === 'foo'); // returns index 0

ffsJavascript(index);

function ffsJavascript(index)
{
let newObj = myArray.value[index];
// not found, `index` false - ffs javascript
}

1 year ago 1 0 1 0

Sandra Bernhard! Yes! #severance

1 year ago 3 0 0 0

You’re all right. UTC always for the win; always use and convert to UTC before committing.

However: pick timestamp over datetime field types when setting up the DB, is what I learned. Your field type choice matters!

1 year ago 1 0 0 0

True, agreed - but - inserting a value into a `datetime` field, if another application connects to the DB and attempts to apply timezone offsets to the inserted data based on its own timezone configuration, the offset won't get applied to the datetime fields, only the timestamp fields. Interesting

1 year ago 0 0 0 0
Advertisement

Hope this helps another dev out there!

1 year ago 0 0 0 0
Preview
Timezone setting in questions is not honoured for certain fields · Issue #53509 · metabase/metabase Describe the bug Hi team, Our database server is configured to be UTC. When I run a query as follows: SELECT `vouchers`.`id` AS `id`, `vouchers`.`last_redemption_at` AS `last_redemption_at`, `vouch...

Case in point: github.com/metabase/met...

1 year ago 0 0 1 0

Something I learned yesterday: in Laravel (any framework really), if your users are going to be in different time zones, use timestamp() instead of dateTime() in your migrations.

dateTime doesn't hold timezone info, and if you use a BI system (eg Metabase), the date-centric fields will misbehave.

1 year ago 1 0 3 0

Prediction: WebFlow will be bought by Adobe, and rebranded "Dreamweaver" #iykyk #iamold #veryveryold #webdevelopment #html

1 year ago 3 0 0 0

AWS Console multi-session support! Yes!!!

1 year ago 1 0 0 0

I managed to lose a wordy issue submission 😭 - note to self, write it in a text editor first!

1 year ago 0 0 1 0

Ah - thanks Bron! It's usually something I'm doing too - glad it's not me :)

1 year ago 0 0 1 0

Anyone having trouble creating issues on GitHub? Hmmmm

1 year ago 0 0 1 0

Anyone out there start their programming on either of these two machines? Might be mainly folks based in Europe back in the mid 80s :)

1 year ago 1 0 1 0
Preview
Amstrad CPC 464 - Wikipedia

Having a bit of a rose-tinted look back at my first #programming efforts. Started on a Sinclair ZX Spectrum (en.wikipedia.org/wiki/ZX_Spec...), then moved to an Amstrad CPC-464 (en.wikipedia.org/wiki/Amstrad...) - I think the spectrum was cooler though, the CPC464 was really only used for games.

1 year ago 2 0 1 0
Advertisement

There's no way AI is coming for devs. I just spent a half hour disagreeing with Chatty G about some sliiiightly incorrect code it generated, and after a few rounds, it completely backtracked.

Companies relying on GenAI for code are wading into risky territory #hottake

1 year ago 0 0 0 0

Herd rules! Great product

1 year ago 1 0 0 0

Beast Games: Bumfights for the modern age. Change my mind

/oldmanshoutingatcloud.gif

1 year ago 1 0 0 0

🤣

1 year ago 0 0 0 0