geometry – Area of surface between two lines of latitude?

Start with a sphere of radius R, then take the part of the surface that exists between any two lines of latitude. I drew a pic with two examples, one near the equator and one near the pole.

enter image description here

What is the area of this blue section of surface? I don’t know what it’s proper name is, maybe a band or zone.

I did search around for this but I found a site that has a suspicious answer. There, they say it is simply 2piR*h, where h is the altitude between layers.

First of all, I don’t know how to determine altitude except at the equator where I can use a chord function C = 2R*sin(a/2), but you have to use twice the angle there and then take half the chord to get the altitude.

Second of all, I don’t understand how it can be purely based on h and not the cosine of latitude. A band near the pole will wrap around a much smaller part of the sphere. So the position of the band must be taken into account, not just its altitude (aka thickness in the projected cylinder).

So what is a good formula to find the area of a band between two lines of latitude? And if it really is only based on altitude, how and why?

c# – What’s should I call a Location (Longitude and Latitude) associated with a DateTimeOffset?

In the Xamarin.Essentials library there is a Location class that comes with a DateTimeOffset TimeStamp.

I know I’m being pedantic and I should just move on – I know it’s to indicate a location of the device at a moment in time, but I don’t like this. Locations in three-dimensional space have no associated concept of time.

What would be a better description (and class name) for “a device location at a given instant in time”? TemporalLocation? LocationInstant?

DELL Latitude 7400 Intel Cannon Point-LP CNVi [Wireless-AC]

Lately on-boarded a new laptop DELL Latitude 7400 where I’m facing frequent service (internet) disruption where it’s connected over the Wifi network WPA2, Enterprise connection.

At the time of service failure, logs captured are as below:


Dec 17 11:55:01 MaPC CRON(76403): (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)                        
Dec 17 11:59:30 MaPC wpa_supplicant(1114): wlo1: WPA: Group rekeying completed with e0:0e:da:8e:22:a2 (GTK=CCMP)          
Dec 17 12:01:15 MaPC NetworkManager(1078): <info>  (1608195675.8267) manager: NetworkManager state is now CONNECTED_SITE  
Dec 17 12:01:15 MaPC whoopsie(1936): (12:01:15) offline                                                                   
Dec 17 12:01:15 MaPC dbus-daemon(1076): (system) Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=1078 co
Dec 17 12:01:15 MaPC systemd(1): Starting Network Manager Script Dispatcher Service...                                    
Dec 17 12:01:15 MaPC dbus-daemon(1076): (system) Successfully activated service 'org.freedesktop.nm_dispatcher'           
Dec 17 12:01:15 MaPC systemd(1): Started Network Manager Script Dispatcher Service.                                       
Dec 17 12:01:16 MaPC systemd-resolved(1001): Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. 
Dec 17 12:01:16 MaPC systemd-resolved(1001): message repeated 3 times: ( Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Dec 17 12:01:16 MaPC goa-daemon(2043): goa_ews_client_autodiscover() failed: 2 — Error resolving “autodiscover.internetmail.test.net”: Name or service not known    
Dec 17 12:01:17 MaPC NetworkManager(1078): <info>  (1608195677.3276) manager: NetworkManager state is now CONNECTED_GLOBAL
Dec 17 12:01:17 MaPC whoopsie(1936): (12:01:17) The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/3                 
Dec 17 12:01:17 MaPC whoopsie(1936): (12:01:17) Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/3  
Dec 17 12:01:17 MaPC whoopsie(1936): (12:01:17) Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/3                   
Dec 17 12:01:18 MaPC systemd-resolved(1001): Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. 
Dec 17 12:01:18 MaPC gnome-shell(2230): Can not connect to https://weathermap.org/city/108410?APPID=b941621f899bb8#012Host unreachable         
Dec 17 12:01:18 MaPC whoopsie(1936): (12:01:18) online                                                                    
Dec 17 12:01:18 MaPC systemd-resolved(1001): Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. 
Dec 17 12:01:18 MaPC systemd-resolved(1001): message repeated 3 times: ( Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Dec 17 12:01:18 MaPC goa-daemon(2043): goa_ews_client_autodiscover() failed: 2 — Error resolving “autodiscover.internetmail.test.net”: Name or service not known    
Dec 17 12:01:19 MaPC systemd-resolved(1001): Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. 
Dec 17 12:01:20 MaPC systemd-resolved(1001): message repeated 3 times: ( Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Dec 17 12:01:20 MaPC goa-daemon(2043): goa_ews_client_autodiscover() failed: 2 — Error resolving “autodiscover.internetmail.test.net”: Name or service not known    
Dec 17 12:01:20 MaPC systemd-resolved(1001): Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. 
Dec 17 12:01:27 MaPC systemd(1): NetworkManager-dispatcher.service: Succeeded.                                            
Dec 17 12:05:01 MaPC CRON(87061): (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)                        
Dec 17 12:14:53 MaPC /usr/libexec/gdm-x-session(2076): (EE) event9  - Microsoft Wired Keyboard 400: client bug: event processing lagging behind by 33ms, your system is too slow    
Dec 17 12:15:01 MaPC CRON(97792): (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)                        
Dec 17 12:17:01 MaPC CRON(99925): (root) CMD (   cd / && run-parts --report /etc/cron.hourly)                             
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: CTRL-EVENT-EAP-STARTED EAP authentication started                        
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25                        
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected             
Dec 17 12:19:38 MaPC wpa_supplicant(1114): EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed                       
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully         
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: PMKSA-CACHE-REMOVED 54:b2:61:a5:1d:aa 0                                  
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: PMKSA-CACHE-REMOVED 2c:5a:0f:53:7b:ca 0                                  
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: PMKSA-CACHE-REMOVED 60:0e:da:8d:13:a2 0                                  
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: PMKSA-CACHE-ADDED 60:0e:db:8f:22:a2 0                                    
Dec 17 12:19:38 MaPC wpa_supplicant(1114): wlo1: WPA: Key negotiation completed with f0:0e:ba:8f:22:a2 (PTK=CCMP GTK=CCMP)
Dec 17 12:19:38 MaPC kernel: ( 3621.001152) Rekeying PTK for STA e0:0e:da:8e:22:a2 but driver can't safely do that.       
Dec 17 12:20:10 MaPC systemd-resolved(1001): Using degraded feature set UDP instead of UDP+EDNS0 for DNS server 10.60.20.104.                 
Dec 17 12:20:20 MaPC systemd-resolved(1001): Using degraded feature set TCP instead of UDP for DNS server 10.60.20.104.   
Dec 17 12:20:40 MaPC systemd-resolved(1001): Using degraded feature set UDP instead of TCP for DNS server 10.60.20.104.   
Dec 17 12:20:45 MaPC systemd-resolved(1001): Using degraded feature set TCP instead of UDP for DNS server 10.60.20.104.   
Dec 17 12:21:10 MaPC systemd-resolved(1001): Using degraded feature set UDP instead of TCP for DNS server 10.60.20.104.   
Dec 17 12:21:16 MaPC systemd-resolved(1001): Using degraded feature set TCP instead of UDP for DNS server 10.60.20.104.                          

Till NetworkManager service restart internet service remains down.

Any relevant issue reported or already in the knowledgebase or any clue about it?

Thanks

sound – No Audio on Dell latitude 3410 with ubuntu 20

I’ve just installed ubuntu on my dell latitude 3410, but I cant get the audio working.
In the config, the audio output device says something like “fake output” and I see the bars moving when i play something on youtube. But there is no sound. Neither connecting the headphones. can anyone please help me? I’ve done this:

sudo apt install alsa-tools-gui
Run hdajackretask
Parser hints > jack_detect = no
Apply now
Install boot override

BUT in the left part of the screen there is message: “No codecs found”
Son I cant click “apply now” and “install boot override”

Thanks in advance.-

USB and Bluetooth stops working + failed suspend – Ubuntu 20.04 on Dell Latitude 5490

I’ve been having the problems with my laptop ever since upgrading to 20.04 (from 19.10). I am uncertain whether these issues are related, but I’ve chosen to create one post in case there is a connection as some post seem to indicate they might be. These are the problems:

  1. Suspend fails occasionally
  2. USB ports and Bluetooth suddenly stops working
  3. Bluetooth device disconnects from headset

Regarding the first issue: According to the link in this answer, suspend problems is related to the Intel i7 Kaby Lake integrated graphics and kernel versions after 5.1. I applied the kernel parameters intel_idle.max_cstate=1 i915.enable_dc=0 to /etc/sysconfig/grub as described. While this fix seem to have reduced the suspend fail rate somewhat, it does not remove the issue. From what I can tell, suspend still fails when certain programs are running. For example, suspend seemingly fails every time when either the Evolution email client or Steam is running.

The second and third issues involves external hardware connected to the laptop. I have a Logi MX Ergo trackball mouse connected through a USB transmitter and Bluetooth, an external screen and webcam connected through a Dell DisplayLink D6000 docking station, and a Sennheiser noise-cancelling headset connected through Bluetooth.

The mouse works for the most part without problems when connected through USB transmitter or Bluetooth. The docking station has been troublesome from the start, but upgrading to 20.04 has made it worse: The external screen will sporadically disconnect for for a few seconds, before image returns. Sometimes the screen image will freeze and all external USB and Bluetooth devices are disconnected. When this happens, only the integrated screen and mouse pad will work. Only rebooting will get external devices working again. As stated above, the headset will not connect to Bluetooth after upgrading. The following error messages were printed during my last reboot after the USB and BLuetooth devices failed:

enter image description here

Seemingly these issues are related to the docking station, and seem to occur more often after suspend, thoug I have no idea whether they are related. Any ideas what may be causing the problem and how it can be resolved?

Below I’ve listed details of system configuration that may be relevant:

System:
  Kernel: 5.4.0-52-generic x86_64 bits: 64 
  Desktop: Gnome 3.36.4 
  Distro: Ubuntu 20.04.1 LTS (Focal Fossa) 
Machine:
  Type: Laptop System: Dell product: Latitude 5490 v: N/A 
  Mobo: Dell model: 0JKMV8 v: A00 
  UEFI: Dell v: 1.14.0 date: 07/15/2020 
CPU:
  Quad Core: Intel Core i7-8650U type: MT MCP speed: 800 MHz 
  min/max: 400/4200 MHz 
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
  Device-2: NVIDIA GM108M (GeForce MX130) driver: nvidia v: 455.23.04 
  Display: x11 server: X.Org 1.20.8 driver: modesetting,nouveau,nvidia 
  unloaded: fbdev,vesa resolution: 3440x1440~60Hz 
  OpenGL: renderer: GeForce MX130/PCIe/SSE2 v: 4.6.0 NVIDIA 455.23.04 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  Hub: 1-1:6 info: Genesys Logic 4-port hub ports: 4 rev: 2.1 
  Hub: 1-1.2:7 info: Genesys Logic 4-port hub ports: 4 rev: 2.1 
  Device-1: 1-1.2.2:9 info: Dell USB Receiver type: Keyboard rev: 2.0 
  Hub: 1-1.3:8 info: Genesys Logic Hub ports: 4 rev: 2.0 
  Device-2: 1-1.3.1:11 info: Bizlink USB2.1 Hub type: HID rev: 2.0 
  Device-3: 1-1.4:10 info: Logitech type: Mass Storage rev: 2.0 
  Device-4: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  rev: 2.0 
  Device-5: 1-5:3 info: Sunplus Innovation Integrated_Webcam_HD type: Video 
  rev: 2.0 
  Device-6: 1-7:4 info: Intel type: Bluetooth rev: 2.0 
  Device-7: 1-8:5 info: Raydium Raydium Touch System type: HID rev: 2.0 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 
  Hub: 2-1:2 info: Genesys Logic USB3.1 Hub ports: 4 rev: 3.1 
  Device-8: 2-1.1:4 info: DisplayLink USB3.1 Hub type: <vendor specific> 
  rev: 3.2 
  Hub: 2-1.2:3 info: Genesys Logic ports: 4 rev: 3.1 

networking – Poor Wifi Signal Strength on Dell Latitude Laptop with Ubuntu 20.04

Wifi signal strength is moderate at 3 meters from the router with no obstacles in the middle. The signal strength reduces if I move to 5 meters; and if I move to the next room, wifi disconnects. This laptop did not have a wifi problem with Windows installed. The Dell latitude laptop has ubuntu 20.04. I tried setting the ant_sel to 1 for iwlwifi and that did not help. The laptop uses Intel 3165 for wireless interface.

>sudo lshw -C network
  *-network                 
       description: Wireless interface
       product: Wireless 3165
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: wlp6s0
       version: 79
       serial: 70:1c:e7:16:c2:cc
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-42-generic firmware=29.1654887522.0 ip=192.168.1.112 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:50 memory:f7100000-f7101fff```

#Link Quality at 3 Meters:

>iwconfig
wlp6s0    IEEE 802.11  ESSID:"swshaabsnl"  
          Mode:Managed  Frequency:2.417 GHz  Access Point: 34:E8:94:53:E9:48   
          Bit Rate=21.7 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=19/70  Signal level=-91 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:49   Missed beacon:0

>uname -av
Linux aniruddha-Latitude-3560 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Thanks for your help!

php – Save latitude and longitude values ​​that were retrieved using JavaScript (in an HTML form) in BD

Well i think i am close to the solution but i need a new vision lol.

I have a form:






..................
Cancelar

At this point, where I have inserted several points (…….), I would like to determine the latitude and longitude of the user and send it to the database using this form.
I take latitude and longitude as follows:


This is my add () function; and so?

function add() {

    require_once('../config.php');
    require_once(DBAPI);

    if (!empty($_POST('formulario'))) {

        $formulario = $_POST('formulario');

        save($formulario);
        header('location: ../index.php');
    }
}

And the function save (); and so:

function save($data = null) {

  $database = open_database();
  $columns = null;
  $values = null;

  foreach ($data as $key => $value) {
    $columns .= trim($key, "'") . ",";
    $values .= "'$value',";
  }

  //remove a ultima virgula
  $columns = rtrim($columns, ',');
  $values = rtrim($values, ',');

  $sql = "INSERT INTO formularios ($columns)" . " VALUES " . "($values);";

  try {
    $database->query($sql);

    $_SESSION('message') = 'Formulario cadastrado com sucesso.';
    $_SESSION('type') = 'success';

  } catch (Exception $e) { 

    $_SESSION('message') = 'Nao foi possivel realizar a operacao.';
    $_SESSION('type') = 'danger';
  } 

  close_database($database);
}

I think it's about passing the LATITUDE and LONGITUDE variables from the script in the middle of the form to the variables form (& # 39; width & # 39;) and form (& # 39; length & # 39;), but I don't know and I don't think how I can do that.
I have already seen that the latitude and longitude recording function works. I managed to display the values ​​on the screen and the browser asks if I want to grant access to my location.

Thanks in advance for your help.

C # – Do you need a regular expression for latitude and longitude that don't accept 0, 0.0, 00?

Used under regex for latitude and longitude. However, this regular expression accepts 0.

width

^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:(0-9)|(1-8)(0-9))(?:(?:\.(0-9){1,6})?))$

Longitude

^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:(0-9)|(1-9)(0-9)|1(0-7)(0-9))(?:(?:\.(0-9){1,6})?))$

I want my regex that didn't allow a single 0, 0.00.00

nikon d5600 – Remove the latitude and longitude screen when viewing a photo

Nikon D5600. I must have changed a setting and do not know how to hide the Latitude and Longitude screen when viewing photos. I.E. Black screen with "latitude and longitude" that I don't want, overlaying photo.

I am new to this camera and am trying to learn how to get the right settings for normal telephoto. I want to use manual mode, not automatic mode.

What would cause this screen to appear after taking photos? ( Just happened today when I tried to change settings, some of which I don't understand )

How do I change this setting again to display normal photos?