Looking for some suggestions regarding CPU selection

I am planning to upgrade my current, very old server (Dual E5-2430 Xeons, 12 cores/24 HT with SATA SSDs) which has been doing duty as a shar… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1843560&goto=newpost

Advice and suggestions for going walking?

I'm going for a walk tomorrow.
Any advice? I'll be walking between 20-50 metres, which is pretty much the same as 20-50 yards in US measurements.

8 – How to add template suggestions for form elements of a certain form ID?

This is kind of tricky as you’d have to write a lot of custom code to pass the form id to a form element as you stated above. Fortunately, there is a contrib module called “Themable forms” which does exactly that, both for form elements and form element labels.

So for example, if I am on the user login page, for the form elements, I see these default theme hooks for all individual form fields.

<!-- THEME HOOK: 'form_element' -->
<!-- BEGIN OUTPUT from 'themes/custom/mytheme/templates/form/form-element.html.twig' -->

<!-- THEME HOOK: 'form_element_label' -->
<!-- BEGIN OUTPUT from 'themes/custom/mytheme/templates/form/form-element-label.html.twig' -->

Note, there is no granularity at all for the above.

Now, after I enable Themable forms, I start to see very granular theme hook suggestions being output in the form of


So for example, with the username field, I now see

<!-- THEME HOOK: 'form_element' -->
   * form-element--user-login-form--textfield.html.twig
   * form-element--form-id--user-login-form.html.twig
   * form-element--type--textfield.html.twig
   x form-element.html.twig

<!-- THEME HOOK: 'form_element_label' -->
   * form-element-label--user-login-form--textfield.html.twig
   * form-element-label--form-id--user-login-form.html.twig
   * form-element-label--type--textfield.html.twig
   x form-element-label.html.twig

You’ll now note a few things, the form id in the form element suggestion as well as the name of the form element itself.

This should get you where you want to be according to your question above.

You can install the module with:

composer require drupal/themable_forms

Suggestions for an easy way to add gps data to jpegs

Suggestions for an easy way to add gps data to jpegs – Photography Stack Exchange

suggestions for easy way to add gps data to jpegs

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

theming – Adding layout builder enabled template suggestions on page-level twig

I want to detect if Layout Builder is enabled (D8), so that I can add a new page and page-level twig templates that will allow a completely different structure for my site – in this case based on Layout Builder’s layouts.

I found this resource :

 * Implements hook_theme_suggestions_HOOK_alter() for page templates.
 * @param array $suggestions
 * @param array $variables
function MY_theme_suggestions_page_alter(array &$suggestions, array $variables) {
  if ($node = Drupal::request()->attributes->get('node')) {
      if(!empty($node) && $node instanceof DrupalnodeNodeInterface) {
          $type = $node->getType();
           // Add content type suggestions.
          array_splice($suggestions, 1, 0, 'page__' . $type);

          // Add layout builder enabled template suggestions
          try {
              $entityTypeManager = Drupal::service('entity_type.manager');
              $storage = $entityTypeManager->getStorage('entity_view_display');
              $view_display = $storage->load('node.' . $type . '.default');

              if (!is_null($view_display)) {
                  $layout_builder_enabled = $view_display->getThirdPartySetting('layout_builder', 'enabled');
                  if($layout_builder_enabled) {
                      array_splice($suggestions, 1, 0, 'page__node__layout__' . $type);
                      array_splice($suggestions, 1, 0, 'page__node__layout');
          } catch (Exception $e) {
              Drupal::logger('type')->error('Error in ifac.theme ifac_theme_suggestions_page_alter' . $e->getMessage());

But in my case this code only works for node types “article”.
What can I do to make it work for others node types using layout builder?
Any suggestions?

clothing – Warm jacket with several pockets for travel: suggestions?

I hope this is the right site for my question. If not, please forgive me.

In the early 2000s I was gifted a very warm and thick Schott synthetic jacket (not leather) that served me very well during my travels. It has 4 outer front pockets, one sleeve pocket, and 3 internal pockets, which made it incredibly practical; they are all zip pockets. It is also equipped with a removable down gilet.

Being this garment old and battered, I have been trying to find a replacement for it for years, unsuccessfully. The brand doesn’t make this garment anymore, and apparently jackets with many pockets have become out of fashion. To me, inner pockets with zip are a must while traveling, for security against pickpockets.

Do you have a suggestion for a warm winter jacket featuring a decent number of inner and outer pockets, good for traveling?

Trustworthy web hosting suggestions? | Forum Promotion

I’ve been searching various hosts, nothing I’ve tried seems to work for me in terms of free for a webpage. I’m going to pay but want to get the following:

1) Text pages, sort of a medical information site, includes probably about 15 pages of links for solid medical info (like anemias, vitamins, stomach, nerd research articles, etc.) alone. Otherwise probably 25 in total.
2) Some screenshot images of some pdf’s. A number of these would be like 100K or less or so.
3) Would need something to help me create the site. I’m an Oracle person not a web person but I can wing some small HTML type stuff.
4) Don’t need tons of space, tons of graphics, or MySQL, etc. Ability to contact me from the site would be a good, maybe a form type email but otherwise that’s it. No forums or lots of people, this is specialized. Don’t need a domain name either.
5) Do want month to month payments if possible or low cost yearly plan types.

Suggestions? What are your views on NetShop ISP web hosting solutions? Are they reliable?


Sony a7 III FTP Workflow help / suggestions

I was excited about the FTP options on the camera but..

The problem is, it has no option to ‘upload latest or failed only’

Here is my issue.

I want to have photos automatically FTP’d as currently are – of course when the camera is offline or service not available I would prefer it to retry when it does have a connection – but this does not seem to be an option at all.

I can see no way to do this automatically or even via the camera – only ftp all images again or images taken today. The issue with that is, i want to curate and clean up the images periodically.

The only option i see is to:

  • turn off auto ftp, once ftp’d then format the card – but this method has several drawbacks. (card life, hassle, etc)

Any suggestions? I really like the auto ftp but like I said, i want to curate/remove many of the photos before adding them to my permanent collection.

Thanks in advance.

Need suggestions for online platform to practice Object Oriented Programming in Python

Which are some of the online platforms which allow us to practice Object Oriented Programming in Python? Hackerrank and Hackerearth does not have Python platform for OOP, though they have Python related exercises for other concepts.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123