Version History shows field was updated, even though it wasn’t

In my SharePoint document library, I have a date column with a default date (i.e. today’s date). This works fine.

My problem is: whenever I update the document itself, or any other metadata besides this date column, the version history shows this date column has changed for every version – even though its value was not changed. It’s cluttering the view and will make auditing difficult.

enter image description here

What am I likely doing wrong here? Here is the field setup:

enter image description here

ubuntu 18.04 no internet though 4g router

The connection through my mobile router (tplink mifi m7350) isn’t working anymore and I cannot understand why.

The same router used by the cell phone (android) works perfectly:

  • connecting to the router itself http://192.168.0.1 shows the admin app which declares to be connected to both the PC and the phone)
  • the phone can navigate the Internet

From Ubuntu I can see the router connected, an ip has been assigned

$   nmcli device show wlp3s0  GENERAL.DEVICE:                         wlp3s0 GENERAL.TYPE:                           wifi GENERAL.HWADDR:                         C0:CB:38:37:80:CE GENERAL.MTU:                            1500 GENERAL.STATE:                          100 (connected) GENERAL.CONNECTION:                     TP-Link_8B6B GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/28 IP4.ADDRESS[1]:                         192.168.0.136/24 IP4.GATEWAY:                            192.168.0.1 IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 600 IP4.ROUTE[2]:                           dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 600 IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000 IP4.DNS[1]:                             192.168.0.1 IP6.ADDRESS[1]:                         fe80::5a50:d171:52d3:a730/64 IP6.GATEWAY:                            -- IP6.ROUTE[1]:                           dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 256 IP6.ROUTE[3]:                           dst = fe80::/64, nh = ::, mt = 600 

the routing table seems ok:

Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface default         lrkwz-Precision 0.0.0.0         UG    0      0        0 wlp3s0 link-local      0.0.0.0         255.255.0.0     U     1000   0        0 wlp3s0 (...) 192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0 192.168.0.0     0.0.0.0         255.255.240.0   U     0      0        0 br-5a71a323fc97 192.168.16.0    0.0.0.0         255.255.240.0   U     0      0        0 br-9155247a5500 192.168.32.0    0.0.0.0         255.255.240.0   U     0      0        0 br-72b41f5e1bf7 192.168.48.0    0.0.0.0         255.255.240.0   U     0      0        0 br-04bf5a3cdf1e 192.168.64.0    0.0.0.0         255.255.240.0   U     0      0        0 br-63c28b3c6d04 192.168.80.0    0.0.0.0         255.255.240.0   U     0      0        0 br-0ab70b5d8d47 

How can I diagnose the problem?

Self signed ssl I created for localhost cannot be trusted even though I have already imported it to chrome

I generated a certificate using ssl by running the script from the following link: https://gist.github.com/bjanderson/075fadfccdd12623ab935e57eff58eb4

The script ran just fine and I received all the expected files. I’ve imported the ca.crt to my chrome under the trusted root certification authorities but chrome still won’t trust it.

I get the following errors:

Certificate – Subject Alternative Name missing The certificate for this site does not contain a Subject Alternative Name extension containing a domain name or IP address.

Certificate – missing This site is missing a valid, trusted certificate (net::ERR_CERT_AUTHORITY_INVALID).

How do i fix these two issues and get my chrome to trust my self signed certificate?

Shipment emails not being sent even though other emails are working

I’m running into an issue where Magento is not sending the shipment confirmation email after I enter the shipment for an order. I’ve tried entering the shipment in the Admin page, and also entering the shipment through the API. In both cases, the shipment confirmation email is not sent after the shipment is entered. I do have “Shipment” emails enabled under Stores > Configuration > Sales > Sales Emails.

If I go into the Admin page, go to Sales > Orders, pull up the shipment, and then click “Send Tracking Information”, the email is sent.

When I place an order, the order confirmation email is sent correctly.

When I invoice the order, the invoice email is sent correctly.

Why are the shipment emails not being sent when a shipment is entered?

Airline gave me boarding pass even though I had no visa for the destination. Can I sue?

The airline gave me the boarding pass, I went to the boarding area, waited 7 hours, and right before departure I was told I cannot board because I dont have the proper visa. Can I sue the airline for issuing a boarding pass, making me wait for 7 hours, for a flight I couldn’t board in the first place? thank you.

Airline gave me boarding pass even though I had no visa for the destination. Can I sue?

The airline gave me the boarding pass, I went to the boarding area, waited 7 hours, and right before departure I was told I cannot board because I dont have the proper visa. Can I sue the airline for issuing a boarding pass, making me wait for 7 hours, for a flight I couldn’t board in the first place? thank you.

APT always busy, no processes running for apt though

So recently I wanted to install some programs on my computer, and when I did “sudo apt install [package]” I get

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 

I left my computer on for like 2 hours, came back, and nothing changed. Does anyone know how to fix this???

virt-install hangs, no apparent error in logs and virsh list later shows its running after ctrl c exit, no domifaddr though

Got thrown into a situation managing boxes that the person before me used virt, so trying to come up to speed. As a test doing a virt-install of this:

virt-install --virt-type=kvm --name kosmos-icc --ram 1000 --os-variant=centos7.0 --cdrom=/var/lib/libvirt/boot/CentOS-7-x86_64-Minimal-1810.iso --network=bridge=virbr0,model=virtio --graphics vnc --disk path=/var/lib/libvirt/images/centos7.qcow2,size=8,bus=virtio,format=qcow2 --boot userserial=on 

It runs with this:

WARNING  Graphics requested but DISPLAY is not set. Not running virt-viewer. WARNING  No console to launch for the guest, defaulting to --wait -1  Starting install... Allocating 'centos7.qcow2'                                                                                                                                                | 8.0 GB  00:00:00      Domain installation still in progress. Waiting for installation to complete. 

Then hangs, I can hit ctrl-c and get my prompt back, doing a virsh list shows that it is running but doing a virsh domifaddr kosmos-icc shows nothing (the other one that is generic and was installed using the gui) shows the ip address (that i can ssh into) from the machine.

So not sure why it isn’t completing or if it is and being silent about it or if I am missing a switch. I was assuming the virbr0 was the way to go with the network. So still learning virsh/virt and seeing if I can via a command line install a VM and then replicate the process on a non test machine.

The install logs in /root/.cache/virt-manager show no real errors… in fact shows:

[Wed, 19 Jun 2019 11:28:38 virt-install 351] DEBUG (guest:441) XML fetched from libvirt object:  ... the xml ...   [Wed, 19 Jun 2019 11:28:38 virt-install 351] DEBUG (virt-install:744) Domain state after install: 1 

that state after install is the last line before the log sees my ctrl-c keyboard interrupt.

Should I check for nulls, even though I won’t get any, as far as I know? [duplicate]

This question already has an answer here:

  • Should one check for null if he does not expect null? 16 answers
  • Should we always write Defensive null check in code? [duplicate] 1 answer

I’m new to software engineering and right now I’m focused on learning the best practices to consistently write robust code. Recently I’ve been maintaining an application built by other people and/or my colleagues before my arrival at the company. While writing my code, I make sure of what I’m dealing with and read the “foreign” code I’m bound to use. Sometimes I find that a method is written not to return a null value. Such occasions eventually sprouted a question in my mind: should I be checking for null anyway? What if the method I’m using gets changed by a colleague and, from that point onwards, is made capable of returning null? I’m getting quite paranoid, to the point that I do such checks everywhere I use someone else’s methods to get an object I need and even do so with the methods I) wrote myself. What if someone else touches them? We’re a team working on the same things, after all. A simple example:

// GetData() never returns null, as far as I know, as of now, // and an empty list is a valid value for itemsList List<BusinessItems> itemsList = ColleagueClass.GetData() ?? new List<BusinessItems>(); BusinessItems[] itemsArray = itemsList.OrderBy(item => item.CustomerName).ToArray(); 

Without the null-coalescing operator to assign a default valid value, if somehow GetData() starts to return null, this code breaks. I’m sprinkling ?? and ?. almost everywhere this situation could happen, if something gets changed in the future. I’m concerned this might be code cluttering due to paranoia, instead of robust writing.
May I please ask for your opinions?