Ubuntu 20.04 icons are not shown after upgrade

After upgrading to Ubuntu 20.04 from 18.04 all default icons in system are not shown. Only placeholder for image is displayed.

How can i fix this? Maybe reloading all of default icons in the system?

screenshot

Mathematica 12.1 a lot of text shown as "$Failed" on manjaro Linux.How could I solve it?


After installing the mathematica with the official installer on manjaro , when I opened it , lots of UI texts were shown as "$Failed". However all functions works well in mathematica.

What’s the cause behind this?

How could I solve this problem?

sql – wordpress slow query shown in query monitor

I have a slow query on a wordpress site. I believe it’s my subquery inside it for the ‘abbreviation’. How can I rewrite this to make it faster? I’m not having much luck. The query takes about 0.1219 seconds I have both the query and the explain below, my goal is to modify this query to make it execute faster, thanks.

This is the query:

SELECT
    wrapper_featured_colorways.id,
    wrapper_featured_colorways.design_name AS dname,
    wrapper_featured_colorways.designId,
    wrapper_featured_colorways.submodel_id,
    wrapper_featured_colorways.sled_image,
    wrapper_featured_colorways.sled_png,
    wrapper_featured_colorways.colorway_name,
    wrapper_featured_colorways.engineId,
    wrapper_featured_colorways.yearText,
    wrapper_submodels.model_id,
    wrapper_submodels.sub_name,
    wrapper_models.model_name,
    wrapper_chassis.id AS chassis_id,
    wrapper_chassis.chassis_name,
    wrapper_manufacturers.mf_name,
    wrapper_manufacturers.mf_id,
    a.guid AS svgPath,
    afx_posts.post_type,
    afx_posts.post_title,
    GROUP_CONCAT(
        wrapper_featured_colorway_colors.color_name
    ORDER BY
        wrapper_featured_colorway_colors.sort_order
    ) AS colors
FROM
    wrapper_featured_colorways
JOIN afx_posts a ON
    (
        a.post_parent = wrapper_featured_colorways.designId
    )
JOIN afx_posts ON(
        afx_posts.ID = wrapper_featured_colorways.designId
    )
JOIN afx_postmeta z ON
    (
        (z.meta_key = 'svg_image') AND(a.ID = z.meta_value)
    )
JOIN wrapper_submodels ON wrapper_featured_colorways.submodel_id = wrapper_submodels.id
JOIN wrapper_models ON wrapper_submodels.model_id = wrapper_models.id
JOIN wrapper_chassis ON wrapper_models.chassis_id = wrapper_chassis.id
JOIN wrapper_manufacturers ON wrapper_chassis.manufacturer_id = wrapper_manufacturers.mf_id
JOIN wrapper_featured_colorway_colors ON wrapper_featured_colorways.id = wrapper_featured_colorway_colors.colorway_id
WHERE
    wrapper_featured_colorways.deleted = 0
GROUP BY
    wrapper_featured_colorway_colors.colorway_id

This is the Explain:

EXPLAIN SELECT
    wrapper_featured_colorways.id,
    wrapper_featured_colorways.design_name AS dname,
    wrapper_featured_colorways.designId,
    wrapper_featured_colorways.submodel_id,
    wrapper_featured_colorways.sled_image,
    wrapper_featured_colorways.sled_png,
    wrapper_featured_colorways.colorway_name,
    wrapper_featured_colorways.engineId,
    wrapper_featured_colorways.yearText,
    wrapper_submodels.model_id,
    wrapper_submodels.sub_name,
    wrapper_models.model_name,
    wrapper_chassis.id AS chassis_id,
    wrapper_chassis.chassis_name,
    wrapper_manufacturers.mf_name,
    wrapper_manufacturers.mf_id,
    a.guid AS svgPath,
    afx_posts.post_type,
    afx_posts.post_title,
    GROUP_CONCAT(
        wrapper_featured_colorway_colors.color_name
    ORDER BY
        wrapper_featured_colorway_colors.sort_order
    ) AS colors
FROM
    wrapper_featured_colorways
JOIN afx_posts a ON
    (
        a.post_parent = wrapper_featured_colorway(...)


1   SIMPLE  wrapper_manufacturers   
    NULL
    ALL PRIMARY 
    NULL
    
    NULL
    
    NULL
    4   100.00  Using temporary; Using filesort 
1   SIMPLE  wrapper_featured_colorways  
    NULL
    ALL PRIMARY 
    NULL
    
    NULL
    
    NULL
    45  10.00   Using where; Using join buffer (Block Nested Loop)  
1   SIMPLE  wrapper_submodels   
    NULL
    eq_ref  PRIMARY PRIMARY 4   fxgraphi_v2019.wrapper_featured_colorways.submodel_id   1   100.00  Using where 
1   SIMPLE  wrapper_models  
    NULL
    eq_ref  PRIMARY PRIMARY 4   fxgraphi_v2019.wrapper_submodels.model_id   1   100.00  Using where 
1   SIMPLE  wrapper_chassis 
    NULL
    eq_ref  PRIMARY PRIMARY 4   fxgraphi_v2019.wrapper_models.chassis_id    1   10.00   Using where 
1   SIMPLE  afx_posts   
    NULL
    eq_ref  PRIMARY PRIMARY 8   fxgraphi_v2019.wrapper_featured_colorways.designId  1   100.00  Using index condition   
1   SIMPLE  z   
    NULL
    ref meta_key    meta_key    576 const   139 100.00  Using where 
1   SIMPLE  a   
    NULL
    eq_ref  PRIMARY,post_parent PRIMARY 8   fxgraphi_v2019.z.meta_value 1   10.00   Using index condition; Using where  
1   SIMPLE  wrapper_featured_colorway_colors    
    NULL
    ALL 
    NULL
    
    NULL
    
    NULL
    
    NULL
    1431    10.00   Using where; Using join buffer (Block Nested Loop)  

```

hard drive – Free space shown on Windows 10 (BOOTCAMP partition) does not correspond to the free space shown on Disk Utility

I’m not quite sure how this works, but yesterday I used Boot Camp Assistant to get Windows on my Mac. Somehow the space available on the C drive is 10 GB whilst in the Disk Utility it shows 18 GB of free space on it.

I checked with the space analyser in the wizard tool partition to see where all the space went to (I have partitioned 30 GB for the BOOTCAMP partition and haven’t done anything on Windows, yet I only have 10 GB left already), it does show that there is only 10 GB of free space, but I’m confused as to why Disk Utility is showing different data.

I’m a little anxious about this because my Mac has low storage space to begin with so I’m worried that I installed Windows and can’t use it.

Also, if anyone knows about methods to free up some space would be great help.

portrait – autofocus shown in viewfinder and captured on actual pic is different

Equipment : Nikon D7000, Godox Flash on camera with soft box diffuser.

Background: I have been assigned the task by my family to make portrait albums of the identical twins born to my close relative. The pics I have taken are all indoor. flash pointing towards baby straight (power of flash (1/128).

Issues: The AF shown via the view-finder is shown on the baby and when I check on my laptop the sharpness shows a bit earlier from the baby. and the second issue is noise even when using flash.

Edited to keep the issue to AF

  1. is this issue of camera not able to tell exactly where the AF is or its getting changed during the click ?

some of the stats from the pics taken

  1. ISO 1000, f5, 1/50 sec, 28mm – here the focus was shown on baby but turned out to be before on the mat when viewed in laptop. Noise visible. flash fired.
  2. other pics ISO and speed is same, focal length keeps varying.

facts on equipment: Godox TT685n flash is brand new. DSLR is old 5 years old. the stock lens unfortunately has fungusfungi (whatever you call it).

Can breadcrumb placement below main menu as shown cause a confusion to user?

Is this the best way to display user navigation path in modern UX?
If user navigation path is too long for one line, can breadcrumb be split across second line ?
If not is there any alternative available in modern UX ?

Some templates prefer to show the breadcrumb at right side of the page but the application for which we are planning this feature might contain long names.

enter image description here

Will links that are only shown to logged-in users do any benefit to SEO?

Hi,

Some websites will only shown links to logged-in users. Will such links do any benefit to SEO?

Thanks… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1822686&goto=newpost

java – Disable background dim when alert dialog is shown

I want to disable the dimming of the background when an alert dialog is shown.

An option would be to design my own type of dialog box, but I rather not

My code:

public void infoWindow() {
    AlertDialog.Builder alert = new AlertDialog.Builder(this);

    alert.setTitle("name");
    alert.setMessage("Opening hours: ");

    final AlertDialog alertdialog = alert.create();
    alertdialog.show();
}

The picture below is from the web to show how a potential alert dialog would look like

enter image description here

java – Disable background dim when alert dialog is shown

Stack Exchange Network


Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange