Author Archives: Robins

Synergy Protocol error from Server && dual system shared mouse and keyboard solution

Synergy Protocol error from Server & & Dual-system Shared mouse and keyboard scheme
Synergy profile configuration Sever end: Windows Client end

conclusion

Introduction of Synergy
Synergy is a free cross-platform, cross-system Shared mouse and keyboard software. Although it is generally good for the Server side version to be higher than the Client version, it is generally maintained to be the same version with 32 or 64 bit
Ubuntu installation: sudo apt install synergy (general version number is 1.6.2)
Windows installation: link: synergy
abstract code: asnq
thank you for sharing!
configuration
Sever end:

remember IP and fill in the Windows client later
Windows client side

fill in IP points and Start is OK.
is not easy, however, I have encountered a problem, that is, Protocol error from Server…

>

>

Resetting (or lifting) the password should allow successful connections So Here I am in Edit-> Settings: Uncheck Encryption Enable, and finally OK.
conclusion
Synergy works really well, especially when you have two screens, so there’s no delay in moving around and switching between them, just like on a computer with two screens.

Session ‘app’: Error Installing APKs

Problem description:
The new Android project in Android Studio, running on the real phone through the data cable, can see the default home page of the project. However, after hosting the project using the code cloud, the Clone project is imported into Android Studio to try again to run on a real phone. Here, the above Session ‘app’: Error APKs was found in the Event Log
Solutions:
build –clean project

modelsim actually error loading design?

After a semester of EDA courses, I finally unloaded the ModelSim five times.

I believe that many students have encountered such problems when using ModelSim. Even though every design file has been compiled, the following sentence still appears:
Error loading design.
And then… There’s no then, there’s no hint.

At this point, you may need to do the following:
1. Check whether the file is not included and not added to the project.
2. Check that the port declaration of the design file is consistent with the port when instantiated.
3. Check that the module name of the design file is the same as the module name when instantiated.
4. Check if the port that has not been modified in the top-level file is wire (it has been poked for two weeks).
Ask your teacher or boss for help.

Virgin paste, please forgive me.
Uncle Huang in 2018.6.19 17:06

MySQL startup problem (ERROR 1045 (28000): Access denied for user’ODBC’@’localhost’ (using password: NO))

2011-03-18 wcdj
 
The solution is as follows:
(1) open mysql service because I installed the selected manual boot at that time.
(2) add the bin directory of mysql installation to the system PATH environment variable, using; (semicolon) partition.
(3) then open CMD and type the command: mysql-u username -p password. Enter mysql-u root-p my root password on my machine, and you will be able to enter mysql.
 
As shown in the figure below:

 
Reset password:
$mysql -u root -p
login password # mysql server mysql> Use mysql # using mysql database
mysql> Update user set password= password (“123456”) where user =’root’ # update user password
mysql> Flush privileges # to refresh the permissions
mysql> Quit # Quit the mysql server
 

configure: error: readline library not found solution

Configure: error: readline Library not found.
Solution: Yum Install Readline-devel
The detailed process is as follows:

[root@April postgresql-9.2.24]# yum install readline-devel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package readline-devel.i686 0:6.0-4.el6 will be installed
--> Processing Dependency: ncurses-devel for package: readline-devel-6.0-4.el6.i686
--> Running transaction check
---> Package ncurses-devel.i686 0:5.7-4.20090207.el6 will be installed
--> Processing Dependency: ncurses-libs = 5.7-4.20090207.el6 for package: ncurses-devel-5.7-4.20090207.el6.i686
--> Running transaction check
---> Package ncurses-libs.i686 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-libs.i686 0:5.7-4.20090207.el6 will be an update
--> Processing Dependency: ncurses-base = 5.7-4.20090207.el6 for package: ncurses-libs-5.7-4.20090207.el6.i686
--> Running transaction check
---> Package ncurses-base.i686 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-base.i686 0:5.7-4.20090207.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================
 Package                           Arch                    Version                               Repository               Size
===============================================================================================================================
Installing:
 readline-devel                    i686                    6.0-4.el6                             base                    134 k
Installing for dependencies:
 ncurses-devel                     i686                    5.7-4.20090207.el6                    base                    641 k
Updating for dependencies:
 ncurses-base                      i686                    5.7-4.20090207.el6                    base                     61 k
 ncurses-libs                      i686                    5.7-4.20090207.el6                    base                    249 k

Transaction Summary
===============================================================================================================================
Install       2 Package(s)
Upgrade       2 Package(s)

Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): ncurses-base-5.7-4.20090207.el6.i686.rpm                                                         |  61 kB     00:00     
(2/4): ncurses-devel-5.7-4.20090207.el6.i686.rpm                                                        | 641 kB     00:00     
(3/4): ncurses-libs-5.7-4.20090207.el6.i686.rpm                                                         | 249 kB     00:00     
(4/4): readline-devel-6.0-4.el6.i686.rpm                                                                | 134 kB     00:00     
-------------------------------------------------------------------------------------------------------------------------------
Total                                                                                          311 kB/s | 1.1 MB     00:03     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : ncurses-base-5.7-4.20090207.el6.i686                                                                        1/6 
  Updating   : ncurses-libs-5.7-4.20090207.el6.i686                                                                        2/6 
  Installing : ncurses-devel-5.7-4.20090207.el6.i686                                                                       3/6 
  Installing : readline-devel-6.0-4.el6.i686                                                                               4/6 
  Cleanup    : ncurses-libs-5.7-3.20090208.el6.i686                                                                        5/6 
  Cleanup    : ncurses-base-5.7-3.20090208.el6.i686                                                                        6/6 
  Verifying  : ncurses-base-5.7-4.20090207.el6.i686                                                                        1/6 
  Verifying  : ncurses-libs-5.7-4.20090207.el6.i686                                                                        2/6 
  Verifying  : readline-devel-6.0-4.el6.i686                                                                               3/6 
  Verifying  : ncurses-devel-5.7-4.20090207.el6.i686                                                                       4/6 
  Verifying  : ncurses-libs-5.7-3.20090208.el6.i686                                                                        5/6 
  Verifying  : ncurses-base-5.7-3.20090208.el6.i686                                                                        6/6 

Installed:
  readline-devel.i686 0:6.0-4.el6                                                                                              

Dependency Installed:
  ncurses-devel.i686 0:5.7-4.20090207.el6                                                                                      

Dependency Updated:
  ncurses-base.i686 0:5.7-4.20090207.el6                         ncurses-libs.i686 0:5.7-4.20090207.el6                        

Complete!

View installation results:

[root@April postgresql-9.2.24]# ls -l /usr/include/ | grep readline
drwxr-xr-x.  2 root root   4096 Apr  2 14:50 readline

 

Syntax error, insert “}” to complete ClassBody

Syntax error, insert ‘} ‘to complete ClassBody
Syntax error, insert’} ‘to complete ClassBody
I copied the content of other Java, did not check the syntax error, also did not miss}, and then delete the} and input, delete part of the code with re-copy, found that the problem can not be solved, I found a lot of tutorials on the Internet are re-typing
*** tried many times, finally found the syntax error, less}, find every {match in the code, see which one is missing.
in class a1, the main method has no corresponding}
[picture archived failure outside the chain, the source station might be hotlinking prevention mechanism, proposed to directly upload picture preserved (img – BpYsIwiG – 1573912308800) (* https://img-blog.csdnimg.cn/20191116174957829.png)]

Matlab error “Object returned error code of the xlswrite function: 0x800A03EC

The Object returned error code of “MATLAB error” xlswrite function: 0x800A03EC
(the 2013-07-27 09:43:29)

The reproduced ▼

The

tags: xlswrite it

categories: matlab

When using xlswrite in matlab to write data into Excel documents, an Error was sometimes reported:
Excel returns: Error: Object returns Error code: 0x800A03EC.

Case 1:

There are many reasons for this error: the most common is when the user writes more data to Excel than Excel can accommodate. The working interval for Excel2003 was 65,536 rows and 256 columns. In Excel2010, the working range was increased to 16,384 columns in 1,048,576 rows.

So in the event of this error,
When you try to write an Excel document first, name the document as an extension from 2007 onwards (.xlsx), not as an extension from 03 (.xls). But if the amount of data exceeds the size of Excel2010, you can only split the data into different Excel files.

Resources: Excel2010 specification

Excel specifications and limits

Situation 2:

This error also occurs if the Excel table name has a colon (:) in the sheetname. For example, use the following statement:

xlswrite(‘test.xlsx’,0, ‘Sheet1:Sheet2’, ‘A1’);

Cause of error: an invalid parameter is introduced to the fourth line “range” of Xlswrite. Xlswrite only supports the use of “A1” of Excel within a specified range.

If you do need to store data in different Sheets in Excel, you can take the form of a loop, where num2str can convert numeric types to string types.  
example:

For I = 1:3

xlswrite(‘test.xls’,1,[‘Sheet’ num2str(i)],’A1′);

end

Case 3:

The size of a single piece of data that a user can store is beyond what Excel can accept if you try
If you write a string greater than 1024 characters in an Excel cell, an error will occur. You can try that too
Name the document as an extension from 2007 onwards (.xlsx), not as a version 03 extension (.xls).

Situation 4:

This error also occurs if the size of the data field entered into the Excel cell is 0×N.

Situation 5:

This error occurs if the stored data begins with the equals sign “=”. Because the way Excel is typed in is theta =
The A1 * A2. So when you store it, it causes an error.

(PS: Situation 4 and 5 are from the network, not verified personally.)

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Resources: [MathWorks]
Why do I receive an error (error code: 0x800A03EC) when using XLSWRITE in MATLAB?

Info:Memory module [DIMM] needs attention: Single-bit warning error rate exceeded, Single-bit fai…

Why can’t 80% of code farmers be architects?> > >
Dell server hardware monitoring software OpenManager, can monitor the battery, motherboard, temperature, hard disk, and so on. See installation usage
While monitoring OpenManage(OMSA) for Dell Server installation, you may encounter the following error message: Info:Memory Module 6 [DIMM7, 2048 MB] Needs attention: single-bit warning error rate Exceeded, Single-bit Failure Error rate Exceeded. Need to shut down and replug the memory bar. Due to the need to shut down service shutdown, will affect the business. But the problem will always be reported. Everyone would be upset if they got an alarm. Memory monitoring can be shielded as follows:

check_openmanage --check storage -b dimm=all

can see that the memory and Voltage are not tested. Memory will be detected without dimm=all.
is able to block the detection of relevant hardware. Such as temperature detection and so on. Such as:

/usr/local/nagios/libexec/check_openmanage --check storage -b ctrl_fw=all/ctrl_driver=all/ctrl_stdr=all/bat_charge=all/encl=all/ps=all/fan=all/temp=all/volt=all

Please quote from
Dimensional time: http://www.ttlsa.com/html/3880.html

Reproduced in: https://my.oschina.net/766/blog/211381