kernel – error when running sudo apt-get upgrade (linux-headers-generic related)

i am trying to run sudo apt-get upgrade, but it says:

linux-generic : Depends: linux-headers-generic (= but is installed

to try to fix this, i manually downloaded the following packages from the ubuntu kernel team site and installed succesfully:


so when i run $ uname r it says:

~$ uname -r

i thought it would solve the problem, but i still get that same message from before installing. don’t i have the updated version of the headers they need? why is that a problem? what even is the problem?

Question related to Vector Space, Subspaces and their complements?

Thanks for contributing an answer to Mathematics Stack Exchange!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

To learn more, see our tips on writing great answers.

push your site ranking with tier 1 niche related backlinks for $5

push your site ranking with tier 1 niche related backlinks

we designed this service not only for latest google requiremnt it is also google serp imrovement with high authority backlinks pointed to your money site with relevant content and images as tier 1 so it is a niche related backlinks package that’s why it is so powerful and will defintly boost your ranking safly as the processe of link building used in this service is 100% manuel.

and because we value you as a client and we go extra mile to help you succeed we will build extra amazing dofollow backlinks as tier 2 to make tier 1 backlinks even more stronger.




100% Satisfaction guarantee
Deliver great result
Niche related backlinks
Quality manuel link building
We take the safety of your site very seriously


8 – Drupal way of storing data related to a node

Create a custom content entity with entity_reference fields relating each “email” entity to a node and a user.

The information you’re saving is neither part of the node’s content nor part of the node’s metadata. It is metadata about an email that has been sent. Since the email records aren’t related to any particular revision of the node, you want the email records to remain even if the node is reverted to a previous revision. So you shouldn’t put the email records in a node field of any kind.

Creating a custom content entity is more useful than creating a custom table, because – as you have pointed out – you can make use of the built-in Entity API, which allows you to add field bundles, but also makes it easy to relate your records to node and user entities, and optionally do cleanup if those users or nodes are deleted. If you generate your custom entity using Drupal Console then it will work out of the box with views.

number theory – How to prove this identity related to multiplicative functions

This is question 2.6 of textbook Apostol introduction to analytic number theory and I am unable to solve it.

Prove that $sum_{d^2 | n} mu(d) = {mu}^2(n) $ .

RHS = r where $n = p_{1} … p_{r} {p_{r+1}}^{a_{r+1}}…{ p_{k}}^{a_k} $ , $a_{r+i}$ such that i>0 .

But i am not able to prove lhs equal to it. So, can you please help! !

Is there non human risk related to idle sessions?

Let’s say the OS is Windows or Linux

As a System Admin, I think the answer to this question is : NO

I always configure end users machine for auto lockout for a given idle session time. Because I’m think, if the user leaves the machine without locking it, I should try something to at least protect my network

What if I did not do that ? Do you think there could be reasonable risk not related to a malicious person taking advantage of an idle session ?

Publish Business Related Guest Post On DR 75+ for $8

Publish Business Related Guest Post On DR 75+

Do Follow Guest post is the most effective backlinks in link building strategies. Because it drives Traffic from the post which can convert to customers.

If you want to see its effects or boost your website ranking in Google or other Search Engines, You should write & publish Permanent Do Follow Guest Post from High Authority websites with 100% whitehat method.

Benefits to your website:

  • Do Follow post
  • Permanent Post
  • High Domain Authority
  • Get more traffic
  • Whitehat method 100% safe
  • 100 % highly effective
  • Boost your website ranking
  • Traffic can convert to customers
  • Delivery on time


views – Create a related content block which sorts the nodes of related content by how many tags they share?

You can do this with Aggregation, but you have to be careful about some details.

The first thing to do is to create a block listing your desired content, with contextual filters that will restrict the results to only nodes that are tagged with the same terms.

A very popular method of doing that is through Has taxonomy term ID contextual filter set to Provide default value of Taxonomy term ID from URL (with other options appropriately set).

I haven’t been able to achieve the Sorting through Aggregation that way. Perhaps someone will come along and shed some light on this, whether and how it can be done.

I have been able to do it with a different strategy, the one that is usually necessary when dealing with Entity references in general. It relies on Relationships to introduce sibling nodes, and ID as contextual filters. Here are the steps to create it:

List nodes tagged with the same Taxonomy terms

  1. Create a View of type Content, Filter it as usual to Content types, the taxonomy field not empty etc. Show fields Title and the field containing your terms, show Multiple values in the same row although that won’t matter later, format as Table simply for readability, you can change it later.
  2. Add a Relationship (search for your field name) Taxonomy term referenced from field_yourtags.
  3. Add another Relationship Content using field_yourtags,
    it will be set by default to use the Relationship from the previous step
  4. Add a Contextual filter ID (from Content Category) and set it to use the second Relationship (the one from the previous step, it will actually be the only choice next to “Do not use a Relationship”) with other options:
    When the filter value is NOT available:
    Provide default value
    Content ID from URL
    When the filter value IS available or a default is provided
    Specify validation criteria (optional)
    (your appropriate types)
  5. Add another Contextual filter ID but this time Do not use a Relationship:
    When the filter value is NOT available:
    Provide default value
    Content ID from URL
    More: Exclude

    This will exclude the node you’re currently viewing from the list.

    If you want to check the output in Views Preview at this point enter the same node ID both times, for example to see what the block would output on node 14 enter 14/14.

    Don’t worry about the multiplicates, we’ll turn them to the best use with Aggregation 😉 They are listed the number of times that the tags match between them and the current node!

    Aggregate results according to common terms count

  6. Turn Aggregation on (Use aggregation option in the third column set to Aggregate), don’t worry about the red message in Preview. All fields and filters now have Aggregation settings. You only need to change the one on your taxonomy field:
  7. Click on Aggregation settings for the “Content: Yourtags” field and change it to Count DISTINCT. Notice how your tags are now replaced by numbers indicating how many common terms those nodes have with the current node!
  8. Now we just have to sort the View using this data: Add a Sort criteria:
    Content: Yourtags
    Do not use a Relationship
    Sort descending
    Aggregation settings: Count DISTINCT

Now you can Place your block in a Region and check the count on nodes.

Additional perk of this approach is that it won’t list anything if the current node isn’t tagged with any terms, while with the “Has taxonomy term ID” method you get all results.

user expectation – Data visualisation – how to visualize relative size of data charts related to each dimension rather than the overall amount of replies

Currently, I redesign a data-driven platform and what is confusing is a presentation of data on a comparison view. As you can see the bar’s size is relative for each value (rows), but not relative to overall data. Each dimension (row) has a different total amount so that’s also not relative /proportional in comparison to another dimension(rows). I’m concerned about how to visualize data to make it more clear for the user. Currently for instance in the example below the value of 3 is more than double the size of a chart with 8 replies. So it’s totally confusing…example

altcoin – Why does everything related to cryptocurrencies except Bitcoin seem fake?

I’m not exaggerating when I say that I’ve seen thousands of websites in the last few years, countless just the last few weeks, which appear like they were auto-generated by a computer. They seem to take words and phrases such as “global world”, “future”, “blockchain”, “change”, “platform”, “innovator”, etc., and just generate word salad sentences which then somebody makes a visually slick-looking website for, with generic photos/colors/illustrations vaguely related to technology.

Just one example out of so many I don’t even know where to begin:

No matter how long I spend on these websites, I can’t make any sense of anything that’s said. Where is the software to download? What do they actually do? What do they want? Is this actually a “thing”, or does it have zero users and is just trying to make it seem like it’s a thing?

I gave up on Ethereum today. I simply don’t believe that it’s real. Seriously. It just doesn’t have any software to download, and the (apparently) previously existing C++ implementation of their wallet/fullnode just links back to the “official” website, which in turn doesn’t list any desktop applications.

I no longer believe that any of these websites are real. I use Bitcoin (Bitcoin Core), so I know that at least Bitcoin is real, but all these other cryptocurrencies and related websites seem entirely fake.

I did my utmost to find out information or get information from a human being, but nobody wants to answer any question. Their chatrooms are ghost towns. Even the Stack Exchange category is dead.

Unless I’ve gone crazy, or I’m in some kind of fake Internet bubble, it doesn’t seem like there exists any other actual cryptocurrency besides Bitcoin. And even that, virtually nobody has even heard of in the real world.

I’m not talking about obvious scams such as “send Bitcoin to this address and we will double it!”. I’m talking about all these seemingly professional and wildly promising (but vague) websites which seem to be nothing but vaporware…?