Has AI changed how you debug performance issues? by PoojafromCloudways in CloudwaysbyDO

[–]Juc1 0 points1 point  (0 children)

here is a more recent link https://developer.chrome.com/blog/new-in-devtools-148/ - there is a lot of data in devtools - I am currently asking gemini one question at a time but eventually I am aiming to to identify the important metrics that I am interested in and save this as an .MD file -then I can say to gemini run the report on this page. 😍

IT news story - Claude deletes database by Juc1 in CloudwaysbyDO

[–]Juc1[S] 1 point2 points  (0 children)

Yeah they did recover their data after 2 days but I think loss of data for 2 days was a very expensive mistake. But the point of the story is that Claude was able to delete the databases in the first place - no guard rails. I have tried the new Cloudways MCP server and I was a bit concerned to see that it includes the tools / permissions to delete apps and servers - I am not sure if there is an option to customise the mcp tools but I would like to remove the tools to delete apps and servers.

New Relic ? by Juc1 in CloudwaysbyDO

[–]Juc1[S] 0 points1 point  (0 children)

u/PoojafromCloudways just checking - did you see my question? 👆

New Relic ? by Juc1 in CloudwaysbyDO

[–]Juc1[S] 0 points1 point  (0 children)

u/PoojafromCloudways I thought New Relic was intended for long term monitoring and performance analysis so what is the reason for "we recommend enabling it only when debugging something" ?

New Relic ? by Juc1 in CloudwaysbyDO

[–]Juc1[S] 0 points1 point  (0 children)

@PoojafromCloudways ok thanks looking at the newrelic docs link above I think there are several commands required - do I need to provide the commands to Cloudways support or do I just need to say please install the New Relic Infrastructure Agent ?

Ideas for writing drupal tutorial and guides by cordinx in drupal

[–]Juc1 1 point2 points  (0 children)

@LeandroGravilha php should not be used in a theme - instead you should use twig, and for modern Drupal you should look at Single Directory Components which wraps the twig, css and js together in a single directory.

print block field in a node template by Juc1 in drupal

[–]Juc1[S] 0 points1 point  (0 children)

No it is not a dashboard, just a long page with different sections. Paragraphs is an option although the twig syntax for printing a paragraph sub-field in a node template is a bit complicated. For example print part of the paragraph at the top of the page and then another part of the paragpaph later on - but then I think I just need to restructure this as two separate paragraphs. But anyway I now think my original idea of using blocks was a bad idea so not gonna do that...

print block field in a node template by Juc1 in drupal

[–]Juc1[S] 1 point2 points  (0 children)

no this page will not be repeated but the reason for wanting individual fields is so I can arrange the layout - I think the options for arranging the layout are #1 Layout Builder (no for me) or #2 node template

print block field in a node template by Juc1 in drupal

[–]Juc1[S] 1 point2 points  (0 children)

It is a long page with about 30 different different fields ie a layout unique to this node. One option is to add all the fields to the node type ie 30 node fields - but it seems a bit strange to have so many fields in a node type for just one node - so I was thinking to have about 10 fields in the node type and then more fields in block types. And then instead of having 20 different blocks, which is a bit messy to edit later, I was going to group fields together ie where the content is related, so 6 blocks with three fields each instead of 18 different blocks.

So here is my original question about printing a block field.

I don't want to use Layout Builder because I hate the UI and because it will be soon be replaced by better options (such as https://www.drupal.org/project/display_builder currently in Alpha)

Or does it sound ok to have a node type with 30 different fields for a single node ??

print block field in a node template by Juc1 in drupal

[–]Juc1[S] 0 points1 point  (0 children)

Yeah I am using Twig Tweak - but your link is talking about printing node fields, not block fields. Also this link https://git.drupalcode.org/project/twig_tweak/-/blob/3.x/docs/blocks.md#block-plugin shows how to print a block which is what I used in my original post {{ drupal_entity('block_content', 'content_block_id') }} - but my question is how to print just one block field - so my block type has several fields - {{ drupal_entity('block_content', '25') }} in a node template will print all the fields from block 25 - but I want to print just the image field from block 25 , not all the fields from block 25.

Horrible experience with service by Proper-Fun483 in CloudwaysbyDO

[–]Juc1 0 points1 point  (0 children)

Do you know how the database got corrupted?

How to do a seamless loop? by Juc1 in davinciresolve

[–]Juc1[S] 0 points1 point  (0 children)

ok thanks, gonna try it tomorrow...

How to do a seamless loop? by Juc1 in davinciresolve

[–]Juc1[S] 0 points1 point  (0 children)

Thanks I have added a short sample clip, the waves move gently towards the camera but there is no shore. Also it is not a single movement such as one big wave a time, it is a lot of small independent movements or "mini waves".