Graphics overlay

**import pandas as pd;
        from matplotlib import pyplot as plt;
        import random;
        import numpy as np;


        #teorema del límite central
        muestra_binomial = ()
        muestra_exp = ()
        muestra_possion = ()
        muestra_geometric = ()
        mu = .2
        lam = 1.0
        size=1000

        for i in range(1,20000):
            muestra = np.random.binomial(1, mu, size=size)
            muestra_binomial.append(muestra.mean())
            muestra = np.random.exponential(scale=2.0,size=size)
            muestra_exp.append(muestra.mean())
            muestra = np.random.geometric(p=.5, size=size)
            muestra_geometric.append(muestra.mean())
            muestra = np.random.poisson (lam=lam, size=size)
            muestra_possion.append(muestra.mean()) 

        df = pd.DataFrame({ 'binomial' : muestra_binomial, 
                             'poission' : muestra_possion,
                             'geometrica' : muestra_geometric,
                            'exponencial' : muestra_exp})

        fig, axes = plt.subplots(nrows=2, ncols=2, figsize=(10,10))
        df.binomial.hist(ax=axes(0,0), alpha=0.9, bins=1000)
        df.exponencial.hist(ax=axes(0,1),bins=1000)
        df.poission.hist(ax=axes(1,0),bins=1000)
        df.geometrica.hist(ax=axes(1,1),bins=1000)


        axes(0,0).set_title('Binomial')
        axes(0,1).set_title('Poisson')
        axes(1,0).set_title('Geométrica')
        axes(1,1).set_title('Exponencial')
        plt.show()
**

Hello, is there any way to connect the centers of my bars?
////////////////////////////////////////////////// //// /// ///////////////////// /////// // //// ,// ///// ,/ //// ,/ ////// ,/// ,////////////////////////// ///// ,/////////////////////////////////////////////////////////////////////////////////////////// ////, 4/, 1, 2, 5, 5, 5 ///// ,/////////////////////////////////////////////////////////////////////////////////////////// /////, O / C, O / C /////////////////////////////

18.04 – Mount / Cow failed on root: Invalid Argument Overlay Mount failed

I'm using an xps 13 9365 that had data deleted from the BIOS by a friend who then considered it dead. I tried to boot with a USB boot disk (current LTS distribution (18.04 or similar)) and got into the language selection / setup menu. I chose noapic with option F6. In BIOS SATA, the Safe Boot option is set to RAID and Legacy.

But when I try to install, I'm thrown into a tiny script window with the following message

(initramfs) mount: mount / cow failed on root: Invalid argument failed when mounting the overlay

Any ideas?

Is it possible to use Adsense to show ads for a certain period of time in an overlay?

On my Android device and many free applications I have to put myself through advertising. I hope that most people understand the situation, so I will not go into it.

I would like to achieve the same in a web browser.

The idea is that someone will use my "free" service, click the Save button and then see an ad for n Seconds. After the timer reaches 0, the saving process is completed. Again, this is quite common on our mobile phones, but I have not seen it on the internet. I want to play a piece and see what the reaction is.

Is that possible with Adsense? My question is not how to program it. I can and I have. The problem is that Adsense is not displayed because Adsense is loaded at the point where the page loads, but my overlay is not displayed deterministically. I am sure that my goal here is not new, but I can not achieve it.

Web App – Effective ways to overlay a "Close" button in a full-screen application that is displayed via iframe if you have no idea about the layout of the app?

I'm creating a web-based interface for a number of internal web applications. They are all embedded in an iframe for access.

Sometimes I have to allow the iframe to be displayed in full screen to give as much space as possible to an embedded app on the screen.

What I want to do is close the full screen button when the iframe is in full screen mode. I can superimpose one well, and it works that way. Visually, however, I'm faced with the fact that the apps all have different layouts – so there's no perfect place to set the close button for all apps. I'd like the close button ideally to be in the same place for a consistent user experience.

I should add a big condition: this is on a touchscreen terminal, and the user does not use a mouse. Otherwise, I would only have a mouse movement to one edge of the screen to expose the close button, just as a full-screen web browser in Windows releases the topmost interface when the mouse is moved to the top of the screen.

I can think of different scenarios to do this, but here I ask if anyone has found an earlier UI design pattern to deal with this type of situation.

Web App – Effective ways to overlay a button to close a full-screen application if you have no idea about the layout of the application

I'm creating a web-based interface for a number of internal web applications. They are all embedded in an iframe for access.

Sometimes I have to allow the iframe to be displayed in full screen to give as much space as possible to an embedded app on the screen.

What I want to do is close the full screen button when the iframe is in full screen mode. I can superimpose one well, and it works that way. Visually, however, I'm faced with the fact that the apps all have different layouts – so there's no perfect place to set the close button for all apps. I'd like the close button ideally to be in the same place for a consistent user experience.

I should add a big condition: this is on a touchscreen terminal, and the user does not use a mouse. Otherwise, I would only have a mouse movement to one edge of the screen to expose the close button, just as a full-screen web browser in Windows displays the topmost UI when the mouse is moved to the top of the screen.

I can think of different scenarios to do this, but here I ask if anyone has found an earlier UI design pattern to handle this kind of situation.

Percent calculator with drawn overlay in C #

I would like to create a program that calculates the percentage of a selected screen size. For example, I want the user to be able to draw a box about anything he wants (possibly using an overlay?), Such as a camera image, and then type in what percentage of the screen size you want to see. So, if you enter 20%, a line or field is drawn vertically that is 20% of the currently drawn field vertically. This line would only have to be movable within the drawn box.

I would like to do this in C #, preferably with a small GUI for the user to enter a percentage. I am not looking for a complete solution to this problem. It is a learning project for me. I just want to give some guidance on where to look for resources and what to do to get a good start.

I have not made a small painting as a small guideline not the best work of art, but should give a hint.

View post on imgur.com

Many thanks

Christian

Transactions – Where can I get a visual example of the entire Bitcoin network, from the physical network to the overlay network?

* Note I am not a technical person, please excuse any misunderstandings here.

I'd like to get a sense of what the entire system looks like, from physical hardware (like miners and full nodes) to overlaid networks (possibly node transaction relays?) For mobile clients that drop and receive transactional data.

Overlay FS mount in Docker container can not be completed

Attempt to use overlays in a Docker container.

root@din:~# mount -t overlay overlay -o lowerdir=/etc,upperdir=/oetc,workdir=/root/work /mnt
mount: /mnt: permission denied.
root@din:~# ls -ld /mnt
drwxrwxrwx 1 root root 4096 Jun 12 16:54 /mnt
root@din:~# ls -ld /oetc
drwxr-xr-x 2 root root 4096 Jul 26 19:53 /oetc
root@din:~# ls -ld /root/work
drwxr-xr-x 2 root root 4096 Jul 26 19:33 /root/work

I do not know how to identify the authorization problem or if it is symptomatic of something else.

mojave – How do I change the appearance of the volume and brightness overlay in dark mode?

As you all know, Apple released a thing called Dark Mode in MacOS Mojave. My problem is that I got used to the previous appearance of dark mode when there was only a dark dock and menu bar. I've found that I can enter a command in Terminal to restore the previous view:

defaults write -g NSRequiresAquaSystemAppearance -bool Yes

That worked well, BUT there is a problem. Not everything became really white. For example, the language switch remained as a white text over a white background, which is not really readable. Brightness and volume controls remained as dark cells over a dark background, which is also unreadable. Pictures below:

Illegible volume control

Illegible brightness control

Illegible language switch

The appearance of the language switcher was entered by typing:

defaults write com.apple.TextInputSwitcher NSRequiresAquaSystemAppearance -bool No

After that, it got completely black (like a normal dark theme), that's alright for me.

Readable language switch

I believe I can do the same with the audio and brightness overlay. The problem is that I do not know the specific name of this UI element to address it with this command. I want to change his appearance into an easy one. Is there a way to do that?

One more thing – is it possible to change the color of Notification Center and notifications yourself? They also stayed completely dark. I prefer to see only the menu bar and the dock in the dark. I would be very grateful if there is a solution to my problem. Thank you in advance!

Unity – How do I correctly scale a Screen Space Overlay with its children?

I have a canvas on which 3 text objects are hosted.

These text objects are anchored so that they move and scale with the artboard when the artboard has World Render rendering mode.

Now I have to set the canvas to Screen Space Overlay.
This causes the screen to fill the entire screen.

I can let users change either the width / height of the RectTransform panel or its scaling x / y.

Neither the option scales nor repositions the text objects as before when the RenderMode was "World Space".

How is this to be achieved correctly?

Here's a screenshot of what it looks like to me:

Enter image description here