graphics3d – How can I look directly into the center of TextureCoordinateFunction?

Manually adjusting the coefficients within TextureCoordinateFunction I can get the numbers on each ball to face the camera:

Graphics3D({
  Opacity@0.5, Blue, Cuboid({-2, -2, -2}, {2, 2, 0}),
  Opacity@1, Sequence @@ MapThread(
    Translate(
      SphericalPlot3D(#3, {theta, 0, Pi}, {phi, 0, 2 Pi}, 
        Mesh -> None, 
        TextureCoordinateFunction -> ({#1, 0.3*#2 + 0.7*#3} &), 
        PlotStyle -> 
         Texture(Show@
           Graphics@Text@Style(ToString@#1, 100)))((1)), #2) &, {{8, 
      5, 13, 3},
     {{-1, -1, 0}, {-1, 1, 0}, {1, -1, 0}, {1, 1, 0}}, {0.2, 0.4, 0.4,
       0.2}})
  }, Boxed -> False, ViewPoint -> {-5, -9, 3}, 
 ViewVertical -> {0, 0, 1}, PreserveImageOptions -> False)

enter the image description here

How can I write the coordinates inside? TextureCoordinateFunction so the numbers are facing the ViewPoint, keeping the orientation of the cube?

The solution to View the coordinates of a city from above does not take into account that I also want to see the cube from a particular perspective.

you cannot download or start software with the terminal or the software center

I tried to download zoom using a flatpak and also the way I saw described first using the terminal. Now I can't download anything from the software center, and I was able to zoom to show the download, but it won't start. Programs are downloaded and installed but do not start.
Every time I use the terminal, it seems like I'm wrong. Does anyone know how to fix this? Ubuntu 17.10 BTW I have no idea what I'm doing, but this is my only solid computer, so I really need it to work like it used to. Thank you! It says "I got an unknown content type (null) from reviews.ubuntu.com in the software center when I open it. I can still search and apparently download, but nothing works.

Chicago's Best Data Center

What is the best data center in Chicago, USA? ? … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1802403&goto=newpost

Is there a keyboard shortcut to move the cursor to the center of the current line? Can it be created?

How can I create a custom key combination to move the cursor to the center of the current line using carabiner elements? Is there any other way to do the same? I can't find anything that can be useful.

unit: how can I find the center position of two or more objects?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MoveCameraBehind : MonoBehaviour
{
    public GameObject camera;
    public List targets = new List();
    public float cameraDistance = 10.0f;
    public bool behindMultipleTargets = false;
    public string cameraWarningMsgs = "";
    public string targetsWarningMsgs = "";

    // Use this for initialization
    void Start()
    {
        if (camera == null)
        {
            var cam = GetComponent();
            if (cam != null)
            {
                cameraWarningMsgs = "Gettig camera component.";

                camera = transform.gameObject;
            }
            else
            {
                cameraWarningMsgs = "Creating a new camera component.";

                GameObject NewCam = Instantiate(new GameObject(), transform);
                NewCam.name = "New Camera";
                NewCam.AddComponent();
                camera = NewCam;
            }
        }

        if(targets.Count == 0)
        {
            targetsWarningMsgs = "No targets found.";
        }
    }

    void FixedUpdate()
    {
        if (targets.Count > 0)
        {
            MoveCameraToPosition();
        }
    }

    public void MoveCameraToPosition()
    {
        if (targets.Count > 1 && behindMultipleTargets == true)
        {
            var center = CalculateCenter();
            transform.position = new Vector3(center.x, center.y + 2, center.z + cameraDistance);
        }

        if (behindMultipleTargets == false)
        {
            Vector3 center = targets(0).transform.position - targets(0).transform.forward * cameraDistance;
            transform.position = new Vector3(center.x, center.y + 2, center.z);
        }
    }

    private Vector3 CalculateCenter()
    {
        Vector3 center = new Vector3();

        var totalX = 0f;
        var totalY = 0f;
        foreach (var target in targets)
        {
            totalX += target.transform.position.x;
            totalY += target.transform.position.y;
        }
        var centerX = totalX / targets.Count;
        var centerY = totalY / targets.Count;

        center = new Vector3(centerX, centerY);

        return center;
    }
}

The CalculateCenter function makes targets (objects) change position and disappear far away.
Even if there is only one goal.

What I want to do is if there is an object, for example a 3D cube that places the camera behind the cube.
And if there are more cubes, for example two or ten and the camera is somewhere else, calculate the average position behind the targets and place the camera in the middle behind them.

To show what I mean in this example, the view (like a camera) is behind the two soldiers in the middle position between them from behind.

But what if there are 5 soldiers, how can I find the middle position and then put the camera behind them like this example in the screenshot?

See an example

Hostmem – 1GB VPS KVM RAM – $ 9.99 a year – Los Angeles Data Center – Low-end box

Hostmem is back with a new exclusive offer for Low End Box! They have been published multiple times so far, and you can check out those deals here. This new Hostmem offer is a 1GB KVM VPS (double your last offer!) For just $ 9.99 / yr and has 1 x vCPU. This is their least expensive offering so far at Low End Box.

Your WHOIS is public and you can find your ToS / Legal Documents here. They accept VISA, MASTER, AMX, Unionpay, Alipay and Wechatpay as payment methods.

As always, we are interested in hearing your feedback, so feel free to comment in the comment section below.

Here is what they had to say about their company:

Hostmem.com is a new web hosting provider that is designed to provide a reliable web hosting environment for small and medium users. Our projected customer numbers will remain between 500 and 700 users to ensure that we have sufficient resources to accommodate all users. Introducing the DuduVM self-developed control panel as our back-end user interface. We specifically designed this interface that allows customers to pay for what they use and can adjust resources as needed. "

Here is the offer:

VPS offer

  • 1024 MB of RAM
  • 1x vCPU
  • 40GB HDD RAID-10 space
  • 0.5TB transfer
  • 100 Mbps uplink
  • 1x IPv4
  • 2x IPv6
  • KVM / duduVM
  • ~ $ 9.99 / year
  • (ORDER HERE)

Network details and node specifications are available after the break.

Remember to comment on your experience if you are a new / existing Hostmem customer.

NETWORK INFORMATION:

QuadraNet Enterprise LLC 6171 W. Century Blvd, Los Angeles, CA 90045

IPv4 test: 64.188.14.148 (Asian optimization)
IPv6 test: 2607: fcd0: fa80: 2a11 :: 1

Test file: https://la-qn.lg.hostmem.com/100MB.test


Host node specifications:

– 2x Intel (R) Xeon (R) CPU E5-2660v2

– 512 GB of RAM

– 8x 2TB hard drives

– RAID10 hardware

– 1 Gbps uplink

Let us know if you have any questions / comments and enjoy!

Web Hosting SSD – EE. USA | EU data center | 50% discount | Free SSL | Jetbackup – from 0.99 EUR / month | Proxies123.com

Get the best cost and best shared hosting package with Greenwebpage.com.
Our team has developed a special package to support all the main online solutions for your needs such as: Magento, Opencart, Joomla WordPress, Drupal.
You can update your hosting package as it grows.
We are using SSD for storage which provides much higher performance in terms of I / O and data transfer rate.
Servers are connected to the network using multiple 1 Gbps (link network) ports.

SALE 50% DISCOUNT
Each plan includes:
cPanel / WHM
Cloudlinux
CloudFlare with Railgun
Select PHP version
Instant activation
24/7/365 support
Daily external backup
SEO tools
Unlimited databases.
Free SSL certificate
Protection against viruses and malware

Locations:
Bucharest, RO
Miami, USA USA

================================================== ==============
Started
Perfect for low traffic websites.
5 GB SSD storage
2 additional domains
Unlimited email addresses
Free domain registration
Price: 0.99 EUR / month
More information l Order now

Essential
Useful for small online projects.
10 GB of SSD storage
5 additional domains
Unlimited email addresses
Free domain registration
Price: 1.99 EUR / month
More information l Order now

Advanced

Recommended for larger projects.
20GB SSD Storage
Unlimited plugin domains
Unlimited email addresses
Free domain registration
Price: 2.99 EUR / month
More information l Order now

Professional
30GB SSD storage
Unlimited plugin domains
Unlimited email addresses
Unlimited database
Free SSL certificate
1 dedicated IP
Price: 4.99 EUR / month
More information l Order now

Ultra
60 GB of SSD Storage
Unlimited plugin domains
Unlimited email addresses
Unlimited database
Free SSL certificate
2 dedicated IPs
Price: 9.99 EUR / month
More information l Order now

Latest

Unlimited storage SSD storage
Unlimited plugin domains
Unlimited email addresses
Unlimited database
Free SSL certificate
3 dedicated IPs
Price: EUR 15.99 / month
More information l Order now

************************************************** *******************************************
The benefits of being a Greenwebpage customer:
There is no downtime!
Greenwebpage's servers are in a data center, designed and equipped to the highest standards, with high-end UPS and diesel power generators.

High speed internet connections.
We have a 1TB backbone of many European ISPs.

100% solid state drives
All of our services are hosted on pure SSD storage, which makes the virtual dedicated server perform much better in terms of I / O operations and transfer speed compared to traditional storage.

Support team.
Our support response time is almost instantaneous; averaging only 10 minutes.
***************************************
———————————
Payment options: PayPal, online credit card, bank transfer, Bitcoin.
——————————–

How could I put the pivot point of a `GameObject` in the center of a text added by the` TextMeshPro` in Unity?

How could you position the pivot point of a GameObject in the center of a text added by the TextMeshPro in unity?

enter the image description here

Oh I just checked, when the text changes, the yellow rectangle doesn't update. What I need is for the pivot point to be vertically and horizontally in the center of the added text through the TextMeshPro.

enter the image description here

Lie Algebras – Lie Center Subalgebra of $ mathfrak {gl} _n $

My Lie algebra theory is pretty rusty, and I'm having trouble proving the following.

Leave $ L $ be a subalgebra of lies of $ mathfrak {gl} _n $ such that the bilinear form given by $ tr (xy) $ It is not degenerate. So any matrix in the center of $ L $ it's diagonal

Some help? Thanks in advance.