DIGITAL-VM – [Tokyo, Singapore][UK/ES/NO/DK/LA] 10Gbits nodes, full SSD and 24 x 7 support

Hello folks, soon to be a global VPS provider is now offering Storage and CPU/RAM VPS in various locations in Asia, Europe and America to better accommodate to your requirements!

>>> Lifetime 30% OFF for ALL plans: exclusive30off <<<

( Applies to monthly and quarterly billing periods only. )

All VM Plans feature:

  • Multiple locations to choose from, full location list below
  • Full root & VNC access
  • IPv6 support
  • High speed Enterprise SSD storage
  • RAID10 with latest LSI RAID cards
  • SolusVM Control Panel
  • Instant activation upon payment
  • Additional IPs at a small cost
  • Monthly, quarterly and longer billing periods to choose, for your convenience
  • 7 Days Money Back Guarantee
  • 24/7 Support
  • Option to include management service at an additional $10 per month!

Our management service consists of ping monitoring to ensure your servers stay online, configuration of your server to ensure efficiency, security and more!


Our storage plans are below ( high SSD disk space plans )


  • 30GB SSD Storage
  • 1vCPU
  • 512MB RAM
  • 5TB bandwidth over 1Gbit
  • 1 IPv4
  • IPv6


  • 60GB SSD Storage
  • 1vCPU
  • 1GB RAM
  • 5TB bandwidth over 1Gbit
  • 1 IPv4
  • IPv6


  • 100GB SSD Storage
  • 2vCPU
  • 1.5GB RAM
  • 5TB bandwidth over 1Gbit
  • 2 IPv4
  • IPv6


  • 150GB SSD Storage
  • 2vCPU
  • 2GB RAM
  • 5TB bandwidth over 1Gbit
  • 3 IPv4
  • IPv6


If you need CPU/RAM power, please find below our Power VPS plans:


  • 20GB SSD Storage
  • 2vCPU
  • 1GB RAM
  • Unmetered over 10Gbit/s
  • 1 IPv4
  • IPv6


  • 30GB SSD Storage
  • 4vCPU
  • 2GB RAM
  • Unmetered over 10Gbit/s
  • 1 IPv4
  • IPv6


  • 50GB SSD Storage
  • 6vCPU
  • 4GB RAM
  • Unmetered over 10Gbit/s
  • 3 IPv4
  • IPv6


  • 80GB SSD Storage
  • 8vCPU
  • 8GB RAM
  • Unmetered over 10Gbit/s
  • 5 IPv4
  • IPv6


Locations we offer:



  • Madrid
  • Oslo
  • Amsterdam
  • London
  • Copenhagen


For all our locations and speed test links please click here.

Available payment methods:

  • PayPal
  • Alipay
  • Bank Transfer
  • Credit Card

—————————————————————————————————————————————————————————————————————— owns the entire infrastructure, from switches to servers. The infrastructure is fully redundant, 2 routers and 2 aggregators with servers having 2 x uplinks for redundancy purposes guaranteeing a 99.9% uptime with an aim to be at 100%! Servers are Dell or Supermicro, latest generation of Intel CPUs, DDR4 RAM and Enterprise Samsung SSDs.

Please don’t forget to apply your 30% off recurring discount coupon: exclusive30off

We are offering 7 days money back guaranteed, so give us a try today!

Best regards,


reference request – Enumerating trees with n labeled nodes and certain other restrictions

A tree has two categories of nodes. Some are labeled and some are unlabeled. A labeled node may not be adjacent to more than two other nodes. An unlabeled node must be adjacent to at least three other nodes. For a single labeled node, the only possibility is a single node. For exactly two labeled nodes, the only possibility is two connected nodes. For three labeled nodes, the only possibilities are an unlabeled node adjacent to three labeled nodes or a labeled node adjacent to two labeled nodes. A very preliminary set of drawings produces the following (possibly incorrect) sequence: 1, 1, 2, 4, 9, 19. My question is whether this enumeration is a new problem or one that has been dealt with.

★ServerHub★ Introducing KVM for Pure SSD ★ Super Fast Nodes [AZ][TX][IL][WA][NYC][CA][NL][DE][LA]★

ServerHub, Five High Availability Data Centers located in Dallas, TX, Phoenix, AZ, Seattle WA, Chicago IL and Frankfurt DE

ServerHub operates a global Infrastructure platform designed for ultimate reliability and scalability.

Setting the standard for the ServerHub 100% Network Uptime Promise.

Why Select ServerHub As Your Infrastructure-as-a-Service (IaaS) Hosting Provider?:

Chat with us:
Email Us:

Follow us on Twitter @ ServerHub
Like us on Facebook

Brand New ServerHub IronGrid Pure SSD VPS KVM


Pure SSD 1G Ram/50G Disk – KVM “” 2 CPU Core | 1GB RAM | 50GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $5/mo Customize

Pure SSD 1G Ram/80G Disk – KVM “” 3 CPU Core | 1GB RAM | 80GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $10/mo Customize

Pure SSD 4G – KVM “” 4 CPU Core | 4GB RAM | 120GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $15/mo Customize

Pure SSD 6G – KVM “” 4 CPU Core | 6GB RAM | 200GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $24/mo Customize

Brand New ServerHub IronGrid High IOPS SSD VPS High Volume


For a limited time ONLY. Receive 20% OFF the LIFE of your High Volume VPS Plan. Use Coupon Code: CIK3OK1JN0

Pure SSD 8G – KVM “” 6 CPU Core | 8GB RAM | 250GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $45/mo Customize

Pure SSD 16G – KVM “” 6 CPU Core | 16GB RAM | 320GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $65/mo Customize

Pure SSD 32G – KVM “” 8 CPU Core | 32GB RAM | 480GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $85/mo Customize

Pure SSD 64G – KVM “” 8 CPU Core | 64GB RAM | 720GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $170/mo Customize

ServerHub IronGrid High IOPS SSD Cached VPS


Big Data SSD Cached 512M “” 2 CPU Core | 512MB RAM | 500GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $5/mo Customize

Big Data SSD Cached 1GB “” 3 CPU Core | 1GB RAM | 1000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $10/mo Customize

Big Data SSD Cached 2GB “” 4 CPU Core | 2GB RAM | 2000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $20/mo Customize

Big Data SSD Cached 4GB “” 4 CPU Core | 4GB RAM | 4000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $40/mo Customize

ServerHub IronGrid High IOPS SSD Cached VPS High Volume


Big Data SSD Cached 8GB “” 4 CPU Core | 8GB RAM | 4000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $80/mo Customize

Big Data SSD Cached 16GB “” 4 CPU Core | 16GB RAM | 5000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $100/mo Customize

Big Data SSD Cached 32GB “” 5 CPU Core | 32GB RAM | 6000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $120/mo Customize

Big Data SSD Cached 64GB “” 6 CPU Core | 64GB RAM | 7000GB SSD RAID 10 | 1 IPv4 | 1 IPv6 | $140/mo Customize

  • If you have any questions about our services, please send us an email at:
  • We accept PayPal, Visa, Mastercard, Discover, Amex, BitPay
  • We do custom. Let us know what you are looking for and we will special order it.
  • Need multiple servers? We offer huge bulk discounts.
  • ServerHub User Agreement:…-agreement.php
  • We offer speeds of up to 20Gbit per server, and up to 40GB interface connectivity within our datacenters.
  • 10TB Bandwidth Included Standard with all Enterprise Dedicated Servers
  • 24x7x365 Customer Support. Fast Issue Resolution Times.
  • 100% Network Uptime Promise
  • Fully Redundant Juniper backbone Network, utilizing Premium BGP
  • Premium Blended Bandwidth Carriers Including Telia Sonera, Level3, GTT, Cogent Communications, Eonix Communications
  • We Directly Peer with companies such as: Google, Microsoft, OVH, Verizon, HE, CloudFlare, Verzion, Dropbox, Apple and Much More
  • Direct Major Peering include over 100 direct relationships with companies such an Amazon, Facebook, Cox, Softlayer and many more.
  • FREE access to HubGrid Portal Features including IPMI/Console Access with all Enterprise Dedicated Servers
  • Complete set of modern product offerings featuring the latest cutting edge technologies.
  • Enterprise Grade Hardware from End to End on every server we operate utilizing: Supermicro, Intel, Kingston, Samsung, Western Digital
  • ARIN/RIPE Assigned IPv4 IP Address Space – Full BGP with Best Path Routing – AS62904 (US) AS49532 (EU)

views – Merging Nodes from 2 Sources into 1 Render Array

So I’ve got a bit of a unique situation and I’m curious if anyone has any input.


  • I’m trying to figure out how to render 3 nodes from two different sources:
    • 1st Source: A field of type entity reference that allows the user to associate up to 3 nodes of type B (children nodes) with a node of type A (parent node)
    • 2nd Source: An EVA view that is being embedded into a content type’s template and pulls in up to 3 nodes that meet the specified criteria
  • The ultimate goal is to display 3 nodes that meet specific criteria – regardless of their source (i.e. either source 1 or 2 above)
  • Nodes that are set via the field value take precedence over the nodes that are being pulled from the view
  • So if 2 nodes are set via the field values, those two nodes should appear, and then the 3rd node’s “spot” should be populated with whatever node that meets the EVA view’s criteria, that is not a duplicate of the nodes set via field values, if any such nodes exist. If 1 node is set via the field value, then the view should populate 2 nodes. Etc.

Using hook_preprocess_views_view_unformatted__insert_view_name(), I’ve built out the logic to:

  • Check both sources of content to determine if values exist from each source (Source 1: Entity reference field values set on the parent node, and Source 2: Result nodes coming from a view)
  • Get the node IDs from each relevant source
  • Compare the IDs from both sources to remove any potential duplicates
  • Ensure that nodes set manually via field values take precedence over the view’s results
  • Create a storage array ($result_array) with the 3 node IDs that I want to output instead of the view’s original results
  • Load the nodes via their IDs

My question is: Can I use the same preprocess function to output/render the 3 nodes that I’ve put into the aforementioned storage array? If so, how should I go about doing that? I’ve tried several different approaches (see below), but I’m not getting the desired results. Would I need to use something like hook_views_query_alter() or hook_views_pre_render() in order to output the correct nodes? If so, should I just pass the variables from one function to the next? Or should I have started in hook_views_query_alter() or hook_views_pre_render() from the start?

As of right now, the view is still outputting the nodes from the view’s original query instead of the nodes that I need. As I indicate below in the code, I can load and var_dump() the nodes I want the view to output – but I must be missing something because I cant actually get them to render via the view. The code example below is obviously a bit simplified, but it gets the general point across. 

I have all the node IDs that I need, I’m just having a hard time figuring out how to output them instead of the view’s original results. 

Please let me know if you have any questions. Thank you!

CODE FROM /custom/moduleName.module:

 * Implements hook_preprocess_views_view_unformatted().
function MODULENAME_preprocess_views_view_unformatted__insert_view_name(&$variables){
  $view = $variables('view');

  $result_array = (1, 2, 3);

  $entities = Drupal::entityManager()->getStorage('node')->loadMultiple($result_array);


  // ATTEMPT 1:
  $view->result = $entities;

  // ATTEMPT 2:
  foreach ($view->result as $value) {
    for ($i = 0; $i < count($entities); $i++) {
      $value->_entity = $entities($i);
    // ATTEMPT 3
    for ($i = 0; $i < count($result_array); $i++) {
    ​  $nid = $result_array($i);
      $entity_type = 'node';
      $view_mode = 'eva_practices_viewpoints';

      $view_builder = Drupal::entityTypeManager()->getViewBuilder($entity_type);
      $storage = Drupal::entityTypeManager()->getStorage($entity_type);
      $node = $storage->load($nid);
      $build = $view_builder->view($node, $view_mode);
      $output = render($build);


} ```

8 – View only displays nodes that has comments when adding comment count field

On drupal 8 I am facing an issue with views.
I created a view listing all nodes of a certain content type.
I added basic fields, Title, Date content was created, and a read more link.
The view works fine with these fields, but when i add Comment Statistics: Comment count, all nodes that don’t have any comment don’t show up in the view.
It only lists nodes that received comments.

Any idea on how to fix this ? Am I doing something wrong ?


nodes – Creating content with a hierarchy

I want to create hierarchical content in Drupal, and I am trying to decide between nodes and terms.

What I want to do

I want to implement books.

Each piece of content may be a book (containing chapters) or a chapter (containing pages) or just a page.

These various pieces of content should be related to each other in a tree (the tree will be stored in a menu).

For nodes, I am thinking of using a single content type that contains an entity reference field (children) to store the hierarchy between books, chapters, and pages.

Why I am not using the book module

The navigation links provided by the book module in Drupal 8/9 do not follow the same design patterns as the rest of core (the navigation is not a block, and it’s not a menu). Out of the box, you can’t even choose where book navigation is displayed (it is displayed on the node’s full view mode only). Since the Book module went from 8.0 to 8.8 with basically no changes, it seems to have survived only by preserving compatibility with Drupal’s past. Book doesn’t even have enough interest to get its own tag here on Drupal Answers.

Why hierarchical content, not navigation

In addition to being displayed on the website, all this content needs to be formatted for export as an ebook. I have already written working code for this using twig templates and preprocess functions.

Having the hierarchy in the content makes writing the ebook export a lot easier.

Terms vs. nodes

So, I am trying to decide whether to use terms vs. nodes. I already asked a general question about terms vs. nodes for content. The consensus there was “use nodes for content, and terms for organizing the content.”

But which should you use if that organizational hierarchy is part of the content?

For content, what are the differences between nodes and terms

Nodes are content. Terms are for categorization of content, they are not content themselves.

Terms are part of taxonomies. Taxonomy is the science of classification.

The relation between nodes and taxonomy terms is that you attach taxonomy terms to nodes, to categorize the node. So if you have a blog node, you may have topics or tags, that would be attached to the blog node. You can use that to find all blogs of a certain category, or tagged with a given term. You can think of hashtags on common SNS sites as being like taxonomy terms. When you click on the hashtag, you can see all posts with that hashtag. The hashtag essentially categorizes the post.

You have listed some ways in which nodes and terms share technical implementations, such as having revisions. But how they are used is entirely different.

For content, what are the differences between nodes and terms in Drupal 9?

Here are the differences I have identified between terms and nodes so far.

Hierarchical (tree) structure

  • Taxonomy terms are hierarchical within a vocabulary by default. This can be used to provide a menu automatically with modules like Taxonomy Menu or Hierarchical Taxonomy Menu.
  • Nodes can be given a hierarchical structure in a menu (the menu contains the hierarchy), but the nodes themselves cannot be ordered in a hierarchy without some kind of custom system relying on entity references.


  • Nodes have a revisioning UI and you can easily roll back to previous versions.
  • Taxonomy terms have revision tracking enabled by default but there is no UI available yet. This will change someday.

Menu support on the edit page

  • Nodes can easily be added to a menu on the edit page.
  • To add a term to the menu, you have to create the term first and then manually create a link on the menu you want to add the link to.

Authoring information + promotion options

  • Nodes offer “Authoring information” to change the node author and/or publishing date; taxonomy terms do not provide a UI for this.
  • Nodes have a UI option to promote content to the front page and to keep it a sticky at the top of lists. Taxonomy terms don’t provide this out-of-the-box, but their display can be customized with Views and they have built-in support for hierarchies, so they don’t need sticky at the top of lists.

bitcoin core – How to configure bitcore with btc & bch nodes?

I’ve been looking for a library to directly get balances for specified btc & bch addresses and I found bitcore doing this job. Here are my questions:

1- Is it possible to use bitcore without need to become full node on btc&bch networks?

2- What is rpc and trustedpeers and how to define host, port and username password for them in bitcore.config.json in mainnet networks? because there is test config for test networks by default.

3- I found eth and xrp networks available in test config, so I think they main networks are also supported in bitcore. So is it possible to use bitcore for making transaction and broadcasting them in those networks too?

design – How to make sure all of the nodes process one API request behind a load balancer

I have an architectural question. I have an application which is subscribed to a log compacted Kafka topic. I have to process each event and store into a persistent datastore. I am planning to run the app in 4 instances with the same group-id so that the partitions are distributed with all the nodes.

During the lifetime of the application, there will be a need for

  • Resetting consumer to start from 0th offset
  • Pausing the consumer for a while
  • Resuming a paused consumer

The best way to achieve this was to implement an API which can be called from a script. The API will have an access to the KafkaConsumer object and will call the pause operation.

Now, the issue I see with this approach is there isn’t a way I know which can ensure all of the 4 instances. How can I make sure that one API (or N API where N = number of instances) call will do this operation?

Any help on this would be appreciated.