Various troubles playing Web videos across different browsers

YouTube/Facebook videos fast-forwarding in Safari, not playing at all in Chrome, out of sync with sound in Firefox

For the past few weeks or so I found that on both my Macs (an iMac Late 2013 running macOS High Sierra 10.13.16 and a MacBook Air 2012 running macOS Mojave 10.14.5), Safari is often unable to play YouTube videos except in fast-forward. Sometimes reloading the video a few times helps, sometimes a reboot is needed. Just relaunching Safari never helps.

To verify whether this is YouTube, Safari or macOS, I tried on the iMac to access YouTube with current version of Google Chrome and Firefox 57.0.4. Google Chrome plays the audio but shows black for the video. Firefox plays the videos with sound but out of sync (and, it seems, with frames missing).

The same issue affects Facebook videos too.

I have ClamXAV and while it did scan a few times during that time period, it never found anything.

Any ideas as to what could be going wrong and how to troubleshoot?

Can I schedule various task using an Android App?

I am looking for an android app in which I can feed various daily routine task or regular task with time.

The app must give sound notification at the time fed in the app.

Can I schedule various task or daily routing task using Android App? If yes, pls let me know about the app that can be used without rooting android phone.

Thanks is advance.

Regards TekQ

What are the various kinds of graphs that can be defined on $C(X)$

I was considering the space $ C(X)$ where $ X$ is a topological space and $ C(X)$ is the set of all continuous functions from $ X$ to $ \Bbb R$ .

What are the various kinds of graphs that can be defined on them?

One possible graph is $ f\sim g\iff fg=0$ which is commonly known as zero divisor graph.

What are other ways where we can utilize properties of $ C(X)$ to find graph theoretic properties?

Can someone kindly direct me to some possible research going on in this direction and maybe also provide some research links?

Thank You.

Various gnome-shell running after gnome-shell terminal closed

I start from gnome-shell to run the following command

tmux new -s "main" alacritty & 

Then run commands on the new shell of alacritty

pkill -9 terminal #to kill the gnome-shell terminal  

At the moment, pstree to review the current process

me@host:~: $   ps -ef | grep shell me    2986  2831  4 12:08 tty2     00:00:06 /usr/bin/gnome-shell me    3049  2745  0 12:08 ?        00:00:00 /usr/lib/gnome-shell/gnome-shell-calendar-server me    4073  4020  0 12:10 pts/2    00:00:00 grep --color=auto shell me@host:~: $   pstree -asp 2986 systemd,1 splash   └─gdm3,1710       └─gdm-session-wor,2695           └─gdm-x-session,2816 --run-script...               └─gnome-session-b,2831 --session=ubuntu                   └─gnome-shell,2986                       ├─ibus-daemon,3020 --xim --panel disable                       │   ├─ibus-dconf,3024                       │   │   ├─{ibus-dconf},3027                       │   │   ├─{ibus-dconf},3028                       │   │   └─{ibus-dconf},3043                       │   ├─ibus-engine-sim,3401                       │   │   ├─{ibus-engine-sim},3402                       │   │   └─{ibus-engine-sim},3403                       │   ├─ibus-extension-,3025                       │   │   ├─{ibus-extension-},3035                       │   │   ├─{ibus-extension-},3036                       │   │   └─{ibus-extension-},3047                       │   ├─{ibus-daemon},3021                       │   └─{ibus-daemon},3022                       ├─{gnome-shell},2988                       ├─{gnome-shell},2990                       ├─{gnome-shell},2991                       ├─{gnome-shell},2992                       ├─{gnome-shell},3007                       ├─{gnome-shell},3014                       ├─{gnome-shell},3015                       ├─{gnome-shell},3016                       └─{gnome-shell},3017 

Why are there still so many gnome-shell running?

Can you send bitcoins together from the same wallet if they have been received via various different addresses?

What has been sent to your individual bitcoin addresses is supposedly recorded in the blockchain, but can you then send all of the combined bitcoins (that you received via various different addresses) at once with your public key? For example, if I received 1 bitcoin via address 1, 2 via address 2 and 5 via address 3, all of these addresses being derived from the same public key, and I wanted to send 6 btc to a friend, could I send all of them at once with my public key? Or would I have to send a combination of bitcoins from different addresses, i.e. by separate transactions? And if I could send them all together using the public key, how is it determined that I am in possession of all of these bitcoins if they were sent not directly to my public key, but to various irreversibly hashed addresses derived from my public key?

Interpreting various First Aid error messages

Can someone provide documentation or their own knowledge to interpret the below messages? I’ve researched this diligently but no post has the same combination of messages that I have. There are 5 types of messages. Posts online mention different combinations of them, but none with all 5 and just the five.

Here are the five types of messages output by Disk Utility’s First aid after stating “Checking snapshot 1 of 14”

error: Cross Check : ExtentRef physical extent (#####) has kind APFS_KIND_UPDATE but was not referenced previously 

where ##### is like “0x86e266 + 4”. There are 42 of these messages.

error: Cross Check : FSroot tree references extent (#####) which is not present in the ExtentRef tree 

where ##### is like “0x86e266 + 4”. There are 50 of these messages.

error: btn: invalid btn_btree.bt_key_count (expected 11503462, actual 11503483) 
Snapshot is invalid 
The volume /dev/rdisk1s1 could not be verified completely. 

The only message I can diagnose with some certainty is the fourth one, according to this Apple Developer post, that says that some Time Machine snapshots were corrupted when Apple switched from the old file system to the new APFS.

I appreciate your help,

Raw First Aid output follows:

Running First Aid on “Macintosh HD” (disk1s1)  NOTE: First Aid will temporarily lock the startup volume.  Verifying file system. Volume could not be unmounted. Using live mode. Performing fsck_apfs -n -l -x /dev/rdisk1s1 Checking the container superblock. Checking the EFI jumpstart record. Checking the space manager. Checking the space manager free queue trees. Checking the object map. Checking volume. Checking the APFS volume superblock. The volume Macintosh HD was formatted by hfs_convert (748.21.6) and last modified by apfs_kext (945.250.134). Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking snapshot 1 of 14. error: Cross Check : ExtentRef physical extent (0x29afd5 + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29afde + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29b165 + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29b4d6 + 3) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29b4e5 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29b56f + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c28c + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c295 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c298 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c29e + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c40d + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c416 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c423 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c428 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c542 + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c549 + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c88e + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29c894 + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29ccd6 + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29d793 + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29da3e + 6) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29da46 + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29dad1 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29dadc + 3) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29dbf3 + 3) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x29dcee + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f272 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f276 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f29f + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f2a8 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f2c9 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f2d8 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x44f314 + 2) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x812aa4 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x82deee + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x836441 + 1) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x86e266 + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x86e2be + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x86e2ca + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x86e2d6 + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x86e6ff + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : ExtentRef physical extent (0x86e77b + 4) has kind APFS_KIND_UPDATE but was not referenced previously error: Cross Check : FSroot tree references extent (0x86e266 + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x86e2be + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x86e2ca + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x86e2d6 + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29afd5 + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29afde + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b165 + 3) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b168 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b4d6 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b4d7 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b4d8 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b4e5 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29b56f + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c28c + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c295 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c298 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c29e + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c40d + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c416 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c423 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c428 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c542 + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c549 + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c88e + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c894 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29c895 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29ccd6 + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29d793 + 3) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29d796 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x86e6ff + 4) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29da3e + 6) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29da46 + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29dad1 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29dadc + 3) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x86e77b + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x86e77d + 2) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29dbf3 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29dbf4 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29dbf5 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x29dcee + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f272 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f276 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f29f + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x812aa4 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f2a8 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f2c9 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f2d8 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x82deee + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x836441 + 1) which is not present in the ExtentRef tree error: Cross Check : FSroot tree references extent (0x44f314 + 2) which is not present in the ExtentRef tree error: btn: invalid btn_btree.bt_key_count (expected 11503462, actual 11503483) Snapshot is invalid. The volume /dev/rdisk1s1 could not be verified completely. File system check exit code is 0. Restoring the original state found as mounted. 

Looking for help taking advantage of various C++ features

So I’ve got this simple ring/circular buffer class:

template<class T, size_t sz> class CircularBuffer {      std::array<T, sz> buffer;     size_t head;     size_t tail;     bool isFull;  public:     CircularBuffer() :         head{0},         tail{0},         isFull{false} {     }      void put(T item) {         buffer[head] = item;         head = (head + 1) % sz;         if (isFull) {             tail = (tail + 1) % sz;         }         isFull = head == tail;     }      T get() {         auto result = buffer[tail];         tail = (tail + 1) % sz;         isFull = false;         return result;     }      bool empty() const {         return tail == head;     }      size_t capacity() const {         return sz;     }      size_t size() const {         if (isFull)             return sz;          if (head >= tail)             return head - tail;          return sz + head - tail;     } }; 

And I was looking for clarification on a few things.

First, the new constexpr keyword, what here, if anything should I apply it to? (I’m assuming the size_t size() const member function could use it? Anything else?)

Second, all of these member functions are quite small, should they be inlined?

Third, in the T get() member function, I do auto result = buffer[tail];, should I use auto& instead, or any other versions? (or even just T/T&?) Should that be a const as it’s not modified within the function, and only potentially modified once a copy is returned via the functions return parameter.

Any other feedback is welcome, Thanks!

Where can I find official depictions of the written alphabets/scripts of the various languages of D&D?

To add more flavor, I want to create documents written in the actual script.

I remember awhile back seeing examples of the Common/Elven/Dwarven alphabets for instance, but can not recall where I can find those.

Is there a place online where these alphabets are available, the ones that at one point I remember seeing in official WoTC books?

As a side question, were these alphabets copyrighted by WoTC, or did they take them from real-world sources? If so, which book can they be found in?