Metamask (Chrome extension) web3.js console: ETH transaction issue (synchronous methods) + web3.version

I am playing around with Metamask and the web3.js API using the Google Chrome console. However, I have two issues: 1) I am trying to send a simple transaction using Ganache GUI (localhost 7545) and I am entering the code below: > ethereum.enable() > web3.currentProvider.selectedAddress <.”0xb8662b66584ae08a88341df0d2b3fa7a65eb158c” > var transaction = { from: web3.currentProvider.selectedAddress, to: “0xA8b62F503181D9A56683129de1B98ea4Bf143a40”,…

Enable GL_INTEL_performance_query on Intel HD 500?

I am trying to use the OpenGL extension: GL_INTEL_performance_query to read the Intel performance counters from an integrated Intel GPU (HD 500). This extension is supported on my hardware and also available on OGL starting OpenGL 3.0 When I run the following code snippet on my machine: if( !IsExtensionSupported(“GL_INTEL_performance_query”) ) { printf( “ERROR: extension GL_INTEL_performance_query…

Failed to sync file to remote server using lsyncd: cannot rename file name

I use lsyncd to synchronize the files on the local server to the remote server (mounted Azure disk). When replacing the files, sometimes the synchronization is successful and sometimes the synchronization fails. Who can tell me what should I do? The error is as follows: rsync: rename “/opt/data/demo/1.0.0/js/.8.js.cC1d1M” -> “demo/1.0.0/js/8.js”: Permission denied (13) I am…