synchronization – How to sync my local files in a shared Google drive folder?

You will find detailed instructions to your answer within the Back up & sync files with Google Drive and the Drive File Stream help pages, depending on the kind of account you have.

Having already gone through the first step (Choose a sync solution), you can Turn on sync for your organization.

As a quick reference for the differences between the two options (Compare Backup and Sync & Drive File Stream) please read the following:

+-------------------------------------------------------------------------+-----------------+-------------------+
|               Compare Backup and Sync & Drive File Stream               |                 |                   |
+-------------------------------------------------------------------------+-----------------+-------------------+
|                                                                         | Backup and Sync | Drive File Stream |
| Use files in My Drive                                                   | Yes             | Yes               |
| Use files in shared drives                                              | No              | Yes               |
| Sync only selected folders in My Drive                                  | Yes             | Yes               |
| Sync only individual files in My Drive                                  | No              | Yes               |
| Use native apps, like Microsoft Office & Photoshop                      | Yes             | Yes               |
| See who's editing with real-time presence in Microsoft Office           | No              | Yes               |
| Integrates with Microsoft Outlook, Meet scheduling                      | No              | Yes               |
| Sync other folders, like Documents or Desktop                           | Yes             | No                |
| Use with your personal Google Account, like MyPersonalAccount@gmail.com | Yes             | No                |
| Use with your work or school Google Account                             | Maybe           | Yes               |
| Upload photos and videos to Google Photos                               | Yes             | No                |
+-------------------------------------------------------------------------+-----------------+-------------------+

How to sync my local files in a share Google drive folder?

I have been given access to a shared Google Drive folder. I want to download the content of that Google drive, modify / add / remove content in that on regular basis on my local machine.

I want to automatically sync up the changes in the Google drive itself in the same shared Google drive folder as it’s being used by multiple users. How can I do it?

Why do prices of all cryptocurrencies move in sync? [closed]

For example, when bitcoin moves up/down, most other cryptocurrencies also move for a similar amount. What is the reason behind this? I almost see no point in investing in different cryptocurrencies, when it seems that when Bitcoin falls, Ethereum (or any other crypto) also falls.

Only reason I can figure out myself is because all cryptocurrencies belong into the same group of currencies, but is there something else that affects these same price changes?

architecture – How to do background sync instead of fetch requests on UI changes?

For example, let’s take a simple web application with comments feature. In my understanding, when a user posts a new comment, the following would occur:

  1. display UI loader;
  2. update the front-end state;
  3. send a fetch request to the API to post a new comment;
  4. Wait for the response;
  5. send another fetch request to the API to request the new list of comments;
  6. waiting;
  7. update the front-end state with new comments;
  8. update UI to reflect the new state with a new comment;

And the user needs to wait while front-end app interacts with back-end on almost every data change. The same way we did it earlier with PHP/Python/Ruby, ajax, server-side rendering and templates.

That makes me think what’s the point of adding so much front-end complexity with something like react, when the result is basically the same.

My question is: are there any alternative approaches to this? Is it possible instead to do the above case the following way:

  1. user clicks to post a comment;
  2. update the front-end state;
  3. update UI to reflect the new state with a new comment;
  4. sync front-end state with API DB in the background;

iphone – How can I sync my books on two different devices with a Windows PC?

I’m not entirely sure where to begin with this question but here goes. I have two devices: an iPad mini that is pretty old (a gift from my father from years ago) that is on iOS 9.3.5 – it doesn’t seem to be able to update any further than that. I also have an iPhone XS running iOS 13.5. I have some epub files on my desktop pc running Windows 10 that I’d like to sync to these devices and (if possible) track reading progress between them. Is this something that can be done? I realize the iPad mini is pretty out of date and that may be a limiting factor, but I would prefer to read things on my iPad at home and continue reading on my iPhone while I’m out and about. I’ve looked up varying guides that explain how to use iCloud Drive to do this, but every time I try to get iCloud drive working on my iPhone, I’m met with this screen – I’m not even 100% sure that I can use iCloud drive on the iPad mini what with it being so old (the “Books” app on it is still called iBooks, even). Is there any way I can accomplish easy syncing between the two devices?

screenshot of iPhone XS attempting activate iCloud Drive

Multisite User Sync Question about blog authorship

I used to have a single wordpress site with a buddypress section (logged out visitors would see the blog only, but logged in users would see the buddypress area). I realised this was ineffective so i converted it to a multisite, where my “public” website was the root domain, and my “intranet” was at /team subdirectory. When I visit the network site admin, I see 190 users. When I visit the public website admin (which was the original site), I see 190 users. When I visit the /team subsite admin, I only see one user: me, the superadmin. Something looks odd, but I know that at the back-end, WP has only one users table so things should theoretically be fine.

  • The posts on my public website are written by people who register to be part of my intranet subsite.
  • The intranet should be the area where members can update their author bio, their profile image, etc. We also discuss new article drafts there.

My questions is: Should new members register on my main root site, or on the /team subsite. That is, should the “register/join our team” link point to http://main.com/register or http://main.com/team/register ? Does it make a difference? How do I configure the backend of my multisite so that there is only one blog, and all articles, drafts, etc are shared across my main site and my team site (for example, I want each member’s profile page on the team intranet to list all the posts that they have written for the public website).

Here is stuff that I have tried thus far (not working, and doesn’t answer my question above):

wp-config.php

define( 'WP_DEBUG', false );
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'localhost');
define('PATH_CURRENT_SITE', '/wordpress2/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define ( 'BP_ROOT_BLOG', 2 ); // "2" is the team subsite $id

bp-custom.php

define ( 'BP_ENABLE_MULTIBLOG', true );
add_filter( 'bp_is_multiblog_mode', '__return_true' );

define ( 'BP_ROOT_BLOG', 3 );
add_filter( 'bp_get_root_blog_id', 'filter_root_blog_id' ); // return blog ID in

I also installed a plugin WordPress Multisite User Sync/Unsync but not sure if that solves my problem.

How can you sync video files with animations within Unity?

I’m wondering if anyone might be able to offer some advice regarding an issue I am currently facing in trying to sync video files with animations within Unity.

Ideally my aim is to have a video file play whilst an animated camera (exported from blender) moves in sync with the rendered video file. I’ve nearly got this working, however there is a very slight delay between the two in which at certain points (quick rotations of the camera) the animation lags behind the video.

I’ve tried a number of methods to try to ensure that the animation frame playing is the exact same as the current video frame, and whilst this appears to be the case with regards to the information returned in the console, in the game view there is clearly a discontinuity.

Does anyone have any ideas as to how this might be solved?

Thanks.

synchronization – Sync with bitcoin-qt very slow (0,01%)

Bitcoin Core is capable of full sync in a relatively short period of time depending mainly on the hardware.

Most of the work done is not actually downloading the blocks, it is validating them and every transaction that they contain. It not only depends on downloading the blocks but also on the quantity and complexity of every transaction. The downloading of the blocks themselves is usually not an issue if you are connected (outbound) to several nodes. I am able to download blocks generally in forty-five seconds each (which includes the request time etc. and validation as well as the transfer) when I have been offline and am catching up on my restricted local 256Kbps link. My upload speed is low, and latency is high. At the rate of one block per forty-five seconds, it would currently take over two-hundred-and-sixty-three days to complete the whole blockchain as there are more than 506822 blocks as of writing.

From my personal experience, the initial sync actually took over five days to complete on a 2.5GHz Core i5 notebook with 4GB of RAM running Fedora with Bitcoin Core v0.15.1. For that, I used ADSL2+ and never perceived the actual downloading of the blocks to be the issue.

Performance of initial sync

Performance of initial sync largely comes down to the individual performance of your computer, provided your internet is fine.

Always use the latest release version of Bitcoin Core (includes bitcoin-qt and bitcoind) downloaded from the official site at www.bitcoin.org. An upgrade is safe and easy, just safely exit Bitcoin Core first and make a new secure backup of your wallet.dat before you upgrade.

Adjusting parameters

There are some parameters that you can look at and consider depending on your system. Always make a backup of your wallet before making any changes. The parameters can be entered at the command line or generally in your bitcoin.conf file, which you would need to exit and restart Bitcoin Core in that case to see the effect. Some things to consider that could make a difference:

I am presuming here that you are running bitcoin-qt which is the GUI version and not bitcoind.

If parameters are used in the bitcoin.conf file, omit the leading -.

  • -datadir= You could have your datadir on a fast drive. If you move your whole .bitcoin folder you will need to specify this parameter on the command line. Note that if you change your datadir and do not copy the .bitcoin folder over to the new location first, it will create a new wallet and begin downloading the blockchain again from the start.
  • -dbcache= The default for this is 450. If you have 8GB of RAM, you could easily set this to 4096
  • par= The default for this setting is auto, but I do not know what the automatic setting does. You could try setting this to -1 which leaves one core free.
  • -banscore= You could try setting this to 10 to kick off misbehaving nodes sooner.
  • -listen= You could temporarily set this to 0 to disable incoming connections while you get the initial sync done. Your busy node does not need the additional work.

After the initial sync, you can revert these settings to their defaults but probably leave your datadir wherever you put it.

Some of these parameters are available as options in the bitcoin-qt Settings > Options menu.

TLDR; The short answer if you want it fast is, get a fast computer, loads of RAM, a fast HDD and, fast internet. The same as anytime you want anything fast on a computer.

In the real world, and from personal experience, using an SSD increased sync speed more than 10x on my example system from the performance noted above.

Anecdotes

Real life example of varying system performance: I know someone personally who had to work on a quite large, but not extraordinarily large, Illustrator file. He opened it on his ~12-month-old upper spec Mac which usually performs great and, it was virtually unusable (slow to respond). Just for kicks he thought he would try the same file on a bog standard PC, opened it in Illustrator and it was completely normal. Some hardware/software builds have bottlenecks for some processes. The opposite result is probably true for some operations.

Also note, I have observed that exiting and restarting Bitcoin Core during initial sync seems to speed it up a bit for a while once it connects to nodes again.

Referencing again personal experience, syncing on Windows 10 64-bit seems to be orders of magnitude faster than syncing on Linux on the same hardware – even if Windows is running in Gnome-Boxes, it easily churns through 100 blocks per second during the initial stages of download.

Alternatives

If you are in serious trouble waiting to sync Bitcoin Core (a full node client) and you do not need the additional features that Bitcoin Core provides then, you may consider trying Electrum (not a full node client) which does not need to do the initial sync. On Fedora 27, getting Electrum is as simple as sudo dnf install electrum.

safari – Audio/video drift out of sync (Catalina 10.15.4)

I’m running an imac 5k from late 2014. A few weeks ago, I was watching a movie on the apple TV app (not the device) on my imac. I started to notice that after about 2 min, the audio and video started to drift apart. Pausing the video briefly and then restarting fixed the issue for a couple of minutes and then the problem came back.

Today, the problem got really bad with Safari watching YouTube. After about 30 seconds the video becomes unwatchable. I checked Vimeo and the same thing happened. So it’s not just the AppleTV app or the website. Since this is also happening in AppleTV app, I’m wondering if it has something to do with some Apple software.

Now, when I watch YouTube with Chrome, there is absolutely no problems at all.

I’m stumped. Any ideas as to what could be going on?