Mariadb plugin 'InnoDB' init function returned error.

 O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662.
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1             | InnoDB: No valid checkpoint found.
mariadb_1             | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
mariadb_1             | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
mariadb_1             | InnoDB: If this error appears when you are creating an InnoDB database,
mariadb_1             | InnoDB: the problem may be that during an earlier attempt you managed
mariadb_1             | InnoDB: to create the InnoDB data files, but log file creation failed.
mariadb_1             | InnoDB: If that is the case, please refer to
mariadb_1             | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [ERROR] Plugin 'InnoDB' init function returned error.
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [ERROR] Unknown/unsupported storage engine: InnoDB
mariadb_1             | 2016-06-10 15:39:08<PHONE_NUMBER>31072 [ERROR] Aborting

How to build mariadb correctly? Thank advaned!

I can confirm I'm having the same issue:
mariadb_1             | 2016-06-11  9:46:19<PHONE_NUMBER>48608 [ERROR] Plugin 'InnoDB' init function returned error.
mariadb_1             | 2016-06-11  9:46:19<PHONE_NUMBER>48608 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mariadb_1             | 2016-06-11  9:46:19<PHONE_NUMBER>48608 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1             | 2016-06-11  9:46:19<PHONE_NUMBER>48608 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
mariadb_1             | 2016-06-11  9:46:19<PHONE_NUMBER>48608 [ERROR] Unknown/unsupported storage engine: InnoDB
mariadb_1             | 2016-06-11  9:46:19<PHONE_NUMBER>48608 [ERROR] Aborting

I can confirm it too
Creating network "laradock_default" with the default driver
Creating laradock_data_1
Creating laradock_mariadb_1
Attaching to laradock_mariadb_1
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] mysqld (mysqld 10.1.14-MariaDB-1~jessie) starting as process 1 ...
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Memory barrier is not used
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Using Linux native AIO
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1             | InnoDB: No valid checkpoint found.
mariadb_1             | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
mariadb_1             | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
mariadb_1             | InnoDB: If this error appears when you are creating an InnoDB database,
mariadb_1             | InnoDB: the problem may be that during an earlier attempt you managed
mariadb_1             | InnoDB: to create the InnoDB data files, but log file creation failed.
mariadb_1             | InnoDB: If that is the case, please refer to
mariadb_1             | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [ERROR] Plugin 'InnoDB' init function returned error.
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [ERROR] Unknown/unsupported storage engine: InnoDB
mariadb_1             | 2016-06-14  4:03:56<PHONE_NUMBER>65568 [ERROR] Aborting
mariadb_1             |
laradock_mariadb_1 exited with code 1

Same here. Dead in the water.
2016-06-20 14:29:35<PHONE_NUMBER>08352 [ERROR] Plugin 'InnoDB' init function returned error.
2016-06-20 14:29:35<PHONE_NUMBER>08352 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-06-20 14:29:35<PHONE_NUMBER>08352 [Note] Plugin 'FEEDBACK' is disabled.
2016-06-20 14:29:35<PHONE_NUMBER>08352 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2016-06-20 14:29:35<PHONE_NUMBER>08352 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-06-20 14:29:35<PHONE_NUMBER>08352 [ERROR] Aborting

I thought maybe their default build scripts disable innodb by default. If you ./configure --with-plugin-innodb_plugin instead of using cmake, then make/make install, it will build and install, but attempting to start the server gives the exact same error. I'm going to continue to play with this to see if I can get it to work - is this an actual bug in mariadb?

The only way I found round this was to backup my /var/lib/mysql and /var/lib/mariadb directories byh renaming them, then creating them as empty directories. I'm aware this isn't an option for many, if you're still in development and working on seed data this should work for you.

I tried that, and it starts and gets past that point, but then it gives about 1800 lines like this:
InnoDB: wrong number of columns in SYS_INDEXES record
And eventually:
2016-06-21  7:59:51<PHONE_NUMBER>30944 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2016-06-21  7:59:51<PHONE_NUMBER>30944 [Warning] InnoDB: Cannot open table mysql/servers from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2016-06-21  7:59:51<PHONE_NUMBER>30944 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist in engine
2016-06-21  7:59:51<PHONE_NUMBER>30944 [Note] Server socket created on IP: '::'.
2016-06-21  7:59:51<PHONE_NUMBER>30944 [ERROR] Fatal error: mysql.user table is damaged or in unsupported 3.20 format.
What is funny is that if I delete all of the files from my data directory, so there is nothing there at all, I get the exact same error messages. It is as if it does not recognize my mysql database at all.
Maybe my mysql table version is too new for mariadb to recognize??? It's from a production system running mysql 5.7.11, and it is rock solid. If I drop in Mariadb (you know, it's supposed to be a drop in replacement for mysql, right?) this happens, and I can't even get the server to start.
I'm going to keep trying, but so far, deleting the log files does not work, and using an empty data directory does not work either.

As an update, if I run mysql_install_db against an empty data directory, it will create the mysql and performance_schema and test databases, and then the server will start.
At this point I conclude:

The version of mariadb I'm using, 10.1.14 is not compatible with the tables from mysql 5.7.11

AND/OR

Mariadb is not quite the "drop in replacement for mysql" as they would like us to believe.

AND/OR

There is a step that I'm missing necessary to make this work with existing mysql tables.

At any rate, until I figure out how to get mariadb to work with an existing mysql database, I have no choice but to stay with mysql...

PS: This is for a production database, and no I'm not going to export all of my production data, create a new mariadb databse, and import all of my data into it. My tables are huge and this simply is not going to happen. Mariadb will either work with the existing mysql data, or I stay with mysql. Until I figure out what I'm missing or doing wrong, I have no choice but to stay with mysql...

I too just experienced the problem that OooK had. After a system reboot, mariadb failed to start, and I got the error message like this:
Fatal error: mysql.user table is damaged or in unsupported 3.20 format.
In my case, the problem was caused by a mysqldump --all-databases from mysql 5.7 and then imported into mariadb 10.1. As stated, there is some difference in mysql.user which caused the problems. Hope this helps someone directed here by google.

I'll close this old issue now, if the error still exist we'll open it back.

This error still exists:
mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] mysqld (mysqld 10.1.18-MariaDB-1~jessie) starting as process 1 ... mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Using mutexes to ref count buffer pool pages mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: The InnoDB memory heap is disabled mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Compressed tables use zlib 1.2.8 mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Using Linux native AIO mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Using SSE crc32 instructions mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Initializing buffer pool, size = 256.0M mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Completed initialization of buffer pool mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] InnoDB: Highest supported file format is Barracuda. mariadb_1             | InnoDB: No valid checkpoint found. mariadb_1             | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later, mariadb_1             | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html mariadb_1             | InnoDB: If this error appears when you are creating an InnoDB database, mariadb_1             | InnoDB: the problem may be that during an earlier attempt you managed mariadb_1             | InnoDB: to create the InnoDB data files, but log file creation failed. mariadb_1             | InnoDB: If that is the case, please refer to mariadb_1             | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [ERROR] Plugin 'InnoDB' init function returned error. mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [Note] Plugin 'FEEDBACK' is disabled. mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [ERROR] Unknown/unsupported storage engine: InnoDB mariadb_1             | 2016-10-10 17:07:16<PHONE_NUMBER>45472 [ERROR] Aborting

same here...
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] mysqld (mysqld 10.1.18-MariaDB-1~jessie) starting as process 1 ...
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: The InnoDB memory heap is disabled
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Using Linux native AIO
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Using SSE crc32 instructions
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Completed initialization of buffer pool
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] InnoDB: Highest supported file format is Barracuda.
InnoDB: No valid checkpoint found.
InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
2016-10-11 19:28:44<PHONE_NUMBER>61728 [ERROR] Plugin 'InnoDB' init function returned error.
2016-10-11 19:28:44<PHONE_NUMBER>61728 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-10-11 19:28:44<PHONE_NUMBER>61728 [Note] Plugin 'FEEDBACK' is disabled.
2016-10-11 19:28:44<PHONE_NUMBER>61728 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2016-10-11 19:28:44<PHONE_NUMBER>61728 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-10-11 19:28:44<PHONE_NUMBER>61728 [ERROR] Aborting
2016-10-11T19:28:44.699407403Z

Error
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] mysqld (mysqld 10.1.18-MariaDB-1~jessie) starting as process 1 ...
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Using Linux native AIO
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1             | InnoDB: No valid checkpoint found.
mariadb_1             | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
mariadb_1             | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
mariadb_1             | InnoDB: If this error appears when you are creating an InnoDB database,
mariadb_1             | InnoDB: the problem may be that during an earlier attempt you managed
mariadb_1             | InnoDB: to create the InnoDB data files, but log file creation failed.
mariadb_1             | InnoDB: If that is the case, please refer to
mariadb_1             | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [ERROR] Plugin 'InnoDB' init function returned error.
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [ERROR] Unknown/unsupported storage engine: InnoDB
mariadb_1             | 2016-10-26  0:25:11<PHONE_NUMBER>94464 [ERROR] Aborting
mariadb_1             |
laradock_mariadb_1 exited with code 1

Same error here on a fresh install of Laradock. Happens with both MariaDB and MySQL.

Same error
php_1      | [30-Oct-2016 13:30:25] NOTICE: fpm is running, pid 5
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Note] InnoDB: Initializing buffer pool, size = 1.0G
php_1      | [30-Oct-2016 13:30:25] NOTICE: ready to handle connections
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Note] InnoDB: Completed initialization of buffer pool
pma_1      | 2016-10-30 13:30:25,809 CRIT Supervisor running as root (no user in config file)
pma_1      | 2016-10-30 13:30:25,810 WARN Included extra file "/etc/supervisor.d/nginx.ini" during parsing
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Note] InnoDB: Restoring page 0 of tablespace 0
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] InnoDB: space header page consists of zero bytes in data file ./ibdata1
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] Plugin 'InnoDB' init function returned error.
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
pma_1      | 2016-10-30 13:30:25,812 WARN Included extra file "/etc/supervisor.d/php.ini" during parsing
pma_1      | Unlinking stale socket /run/supervisord.sock
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] Unknown/unsupported storage engine: InnoDB
mariadb_1  | 2016-10-30 13:30:25<PHONE_NUMBER>70280 [ERROR] Aborting

Hi,
I also have a same error when trying to start Maria 10.1.8 on Ubuntu 14.04 ~trusty.  Did you guys find any solution?

I updated mysql version  from 5.6 to 5.7 . The problem is resolved  now.

For the googlers out there, had the same error on startup of the mysql container. Rebuilding the container - docker-compose build mysql  - solved it for me.

Cant start MariaDB too.
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Using Linux native AIO
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Using generic crc32 instructions
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1             | InnoDB: No valid checkpoint found.
mariadb_1             | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
mariadb_1             | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
mariadb_1             | InnoDB: If this error appears when you are creating an InnoDB database,
mariadb_1             | InnoDB: the problem may be that during an earlier attempt you managed
mariadb_1             | InnoDB: to create the InnoDB data files, but log file creation failed.
mariadb_1             | InnoDB: If that is the case, please refer to
mariadb_1             | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [ERROR] Plugin 'InnoDB' init function returned error.
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [ERROR] Unknown/unsupported storage engine: InnoDB
mariadb_1             | 2016-11-15 19:50:53<PHONE_NUMBER>29856 [ERROR] Aborting
mariadb_1             |
laradock_mariadb_1 exited with code 1```

I was getting the same issue with a fresh install of laradock.

Have the problem described above ("Could not open mysql.plugin table. Some plugins may be not loaded") after installing MariaDB on a fresh centos box. No previous install of mysql. I'm wondering if that is an unusual installation environment and causing the issues I am having...

I meet the issues today, here is my solutions 👍
because I want to reused the databases' data,
so here is these steps:
1 . stop all the mysql container
2.  rmi the mysql images
3. run up -d again
everyting is ok again
and I found the reason is when mysql image start , it will create or use some files in itself
e.g. /var/log/mysql
/tmp/mysql
/var/run/mysqld
so if a new container setup with these , next time you want to set up a  new container with the same image will meet serials issues with these

finally I don't know why , /var/run/mysqld folder can't use docker-compose volumes command to reference , if as this, we can't create multiple containers with the same mysql images?
if someone knows , please point out, thanks

This is how I finally got it solved.
Issues with Docker DB images

In my case, i crash to mariadb data in ~/.laradock/data/mariadb so solution is remove or rename data folder and restart laradock
Ref: https://devhoi.com/threads/laradock-on-mac-error-unknown-unsupported-storage-engine-innodb.28/

The only way I found round this was to backup my /var/lib/mysql and /var/lib/mariadb directories by renaming them, then creating them as empty directories. I'm aware this isn't an option for many, if you're still in development and working on seed data this should work for you.
There has been some talk about just removing log files from these directories and thus preserving data though I haven't tried this.
Log files reportedly removed that fixed this issue:
/var/lib/mysqld/ib_logfile0
/var/lib/mysql/ib_logfile1
/var/lib/mysql/aria_log_control

It work for me! Thank you so much!

I had a similar issue with wordpress not connecting to mariadb. For my fix, I didn't realize that I had changed the mariadb version from the original version I started with. The issue was the data was created/saved using an older version of mariadb and changing the mariadb version to something newer caused the issue, so the database needs to be updated to work with the newer version of mariadb. Instead of updating the database, I just reverted back to using the original mariadb version I was using from the beginning.
My original mariadb version I started the project with: docker.io/bitnami/mariadb:10.3-debian-10
Updated version that caused the issue: docker.io/bitnami/mariadb:10.5
Moral of the story, don't update the version unless you need to and then plan to update the database to work with the newer version.


fix: use React-Core instead of React

We should use React-Core instead of React according to https://github.com/facebook/react-native/issues/29633#issuecomment-694187116

Thanks!
I published 0.9.1 now with both of your PRs.
Do you have any ideas if the compatibility table in the README should be updated as well?

Unlikely anything changed so it's all good.


When I run de binary I have this error, could you help me please?

Should be compiled with Nim 1.6


Ember deprecation warning

On the latest ember-cli, the following deprecation warning occurs:
DEPRECATION: Overriding init without calling this._super is deprecated. Please call `this._super.init && this._super.init.apply(this, arguments);` addon: `release`

Fixed here https://github.com/lytics/ember-cli-release/pull/53

Thanks!


Python 3.10 dependency incompatibility in python-crfsuite

python-crfsuite appears to fail to build under python 3.10. This package is a dependency of pythainlp.
pythainlp is the only failing package under Python 3.10.
pythainlp is used exclusively to to handle stop words in the thai language.
Workaround
If you don't need thai stop languages, use the changes from this commit to remove the dependency and use in code.

It is the bug of python-crfsuite. Now, python-crfsuite have this pull request. Add Python 3.10 support #131

@wannaphong Thank you for the direct link. I saw temporarily removing the parent dependency the cheapest solution. I do not envision this as a fix that would be used in this package, but it hasn't gotten updated in so long I don't think it is in danger of that anyway.


Custom Session Data

Hi,
Is it possible to access a user's session data from a route that's handling a websocket?
get "/room/:id" do |room_id|
  room = Room.find(room_id)
  user = User.find(session[:uid])

  if RoomConnAuthorizer.new(room, user).authorized?
    request.websocket do |ws|
      ws.onopen { publish(room, "#{user.name} connected.") }
      ws.onclose { publish(room, "#{user.name} disconnected.") }
    end
  else
    401
  end
end

Is something like this possible? How does one authorize connecting users? The session appears to contain some information, such as session_id, but none of the custom data (such as session[:uid]) that has been previously set.
Any help much appreciated!

A bummer that this still seems to be an issue; the only session variables available to websockets are session_id, csrf and tracking.
Is this an abandoned project?


Document conformance criteria

Document the conformance criteria for applications to meet in order to be listed.

At the moment all apps get listed here, perhaps join the Happy Solid W3C Solid Community Group call to talk about what constitutes a beneficent Solid application.

The whole point of this issue is to... literally document. What does a call bring to the table over and above this issue? Sure we can talk.. but still at the end - as an actionable item - there is going to be documentation on the repo (eg. "before making a PR, check if your app fulfills the following criteria..").
I don't understand the rationale behind closing this issue - unless of course you feel that people with access controls on this repo will decide as per the vision or being on 'team' ... without documentation.
The conformance criteria for the most part coupled with the relevant specs in the ecosystem. There may be things not explicitly in the specs (cutting edge stuff) as long as it doesn't conflict with the core stuff. Interop is key.
Reminder https://github.com/solid/information/issues/7 .. before closing issues.

Ok - sounds good. Will leave you to document and update.


Run label_image.py for all images in a folder

I tried to run label_image.py for all images in a folder as below but it seems that I cannot pass variable to the --image parameter of the label_image.py in the codelab https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#5
How can I run label_image.py through all images?
os.chdir("D:/Tensorflow/tf_files/classroom_pixel_test/Empty")
for filename in os.listdir(os.getcwd()):
if filename.endswith(".jpg"):
display(Image(filename))
imagefile1=os.getcwd()+"\"+filename
imagefile2="D:/Tensorflow/tf_files/classroom_pixel_test/Empty/"+filename
imagefile3="D:/Tensorflow/tf_files/classroom_pixel_test/Empty/29.jpg"
print(imagefile1)
print(imagefile2)
print(os.getcwd())
print(filename)
#%run D:/Tensorflow/label_image --graph=D:/Tensorflow/tf_files/retrained_graph_classroom_pixel_LR_0.5.pb --labels=D:/Tensorflow/tf_files/retrained_labels_classroom_pixel_LR_0.5.txt --image=ph_classroom_pixel_LR_0.5.pb --labels=D:/Tensorflow/tf_files/retrained_labels_classroom_pixel_LR_0.5.txt --image=ph_classroom_pixel_LR_0.5.pb --labels=D:/Tensorflow/tf_files/retrained_labels_classroom_pixel_LR_0.5.txt --image=D:/Tensorflow/tf_files/classroom_pixel_test/Empty/29.jpg --output_layer=final_result --input_layer=Placeholder
%run D:/Tensorflow/label_image --graph=D:/Tensorflow/tf_files/retrained_graph_classroom_pixel_LR_0.5.pb --labels=D:/Tensorflow/tf_files/retrained_labels_classroom_pixel_LR_0.5.txt --image=ph_classroom_pixel_LR_0.5.pb --labels=D:/Tensorflow/tf_files/retrained_labels_classroom_pixel_LR_0.5.txt --image=ph_classroom_pixel_LR_0.5.pb --labels=D:/Tensorflow/tf_files/retrained_labels_classroom_pixel_LR_0.5.txt --image=imagefile3 --output_layer=final_result --input_layer=Placeholder
continue
else:
continue

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Have I written custom code: Yes
OS Platform and Distribution: Windows 10
TensorFlow installed from: conda
TensorFlow version: 1.8.0
Bazel version: NIL
CUDA/cuDNN version: NIL
GPU model and memory: NIL
Exact command to reproduce: as above

Is it possible to make label_image.py acceptable to pass variable to the --image parameter?

Nagging Assignee @MarkDaoust: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Make sure that the category names don't have escape characters.
You can create a shell file that iterates over all images as follows:
import os
l=os.listdir(os.getcwd()+'/data') # Assuming data has is the parent directory of images
def dotremove(poi):
    for x in poi:
        if x.startswith('.'):
            poi.remove(x)
dotremove(l) #To remove hidden files
for x in l:
    txt=str(x)+'.sh'
    file=open(txt,"w")
    p=os.listdir(os.getcwd()+'/data/'+x)
    dotremove(p)
    for j in p:
        print('python label_image.py --image=/data/'+x+'/'+j+' --input_height=224 --input_width=224 --graph=retrained_graph.pb --labels=labels.txt  --input_layer="input" --output_layer="final_result"',file=open(txt,"a"))

You'll have a .sh script for each category. Run these .sh scripts.

Thanks duplex143.
I tried to run it in Jupyter notebook and found this line doesn't run. How to modify it to show the result?
print('python scripts/label_image.py --image=/tf_files/classroom_photos_test/'+x+'/'+j+' --input_height=224 --input_width=224 --graph=tf_files/retrained_graph_classroom_LR_0.005.pb --labels=tf_files/retrained_labels_classroom_LR_0.005.txt  --input_layer="input" --output_layer="final_result"',file=open(txt,"a"))
In fact, I want to write the result back to database like MySQL. Any reference for doing that?

What error are you getting for that line? Trying using python3.
As for writing the results back to DB, I've never worked on MySQL. In Postgresql, you can use Psycopg to read/write results from DB.

Hi duplex143
I am using python3 but don't get any output or error in Jupyter notebook. What is the normal output look?Is there anything wrong in --image parameter?
What the file=open(txt,"a") do? Is the result output to a text file?

You'll not get any output in the notebook. file=open(txt,"a") redirects all the output to the file named txt. So, search for txt named file. That will be a shell file.
The output will look like this:
python label_image.py --image=9733.jpg --input_height=299 --input_width=299 --graph=retrained_graph.pb --labels=retrained_labels.txt  --input_layer="Mul" --output_layer="final_result"
python label_image.py --image=14147.jpg --input_height=299 --input_width=299 --graph=retrained_graph.pb --labels=retrained_labels.txt  --input_layer="Mul" --output_layer="final_result"
python label_image.py --image=63.jpg --input_height=299 --input_width=299 --graph=retrained_graph.pb --labels=retrained_labels.txt  --input_layer="Mul" --output_layer="final_result"
python label_image.py --image=6400.jpg --input_height=299 --input_width=299 --graph=retrained_graph.pb --labels=retrained_labels.txt  --input_layer="Mul" --output_layer="final_result"
python label_image.py --image=34297.jpg --input_height=299 --input_width=299 --graph=retrained_graph.pb --labels=retrained_labels.txt  --input_layer="Mul" --output_layer="final_result"

Thanks. I was able to run the .sh file generated in terminal to get the batch classification results. I tried to run the .sh file in Jupyter with the following error. Any way to modify the syntax to make it run in Jupyter?
%run Empty.sh
File "/mnt2/cyrret/Tensorflow/Empty.sh", line 1
python scripts/label_image.py --image=tf_files/classroom_photos_test/Empty/30.jpg --input_height=224 --input_width=224 --graph=tf_files/retrained_graph_classroom_LR_0.005.pb --labels=tf_files/retrained_labels_classroom_LR_0.005.txt
^
SyntaxError: invalid syntax
Also, how can I get variables to hold the classification results as below for writing to DB?
empty (score=0.99997)
twenty (score=0.00003)
fifty (score=0.00000)
eighty (score=0.00000)

For executing a command in python, you can use os.system(cmd)
As for DB schema, it's up to you. You can do something like:
Modify the output of the .sh file so that it's something like this:
1.jpg,empty (score=0.99997),twenty (score=0.00003),fifty (score=0.00000),eighty (score=0.00000)
1.jpg, twenty (score=0.99996), empty (score=0.00003),fifty (score=0.00001),eighty (score=0.00000)

CREATE TABLE "Classification" (
    		"Img_name" varchar(100),
		    "Class_1" varchar(100),
		    "Class_2" varchar(100),
                   "Class_3" varchar(100),
                    "Class_4" varchar(100)
	)
copy "Classification" FROM 'results.csv' DELIMITER ',' CSV HEADER;

@duplex143
I was able to output the following to csv but not change to the format as you described. How to modify the output of the .sh file?
Evaluation time (1-image): 0.118s
twenty (score=0.99479)
fifty (score=0.00512)
eighty (score=0.00006)
empty (score=0.00003)

Nagging Assignee @MarkDaoust: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 50 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 66 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 80 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 95 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 110 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 126 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


View Ahead In Time For Saving Session Entity (Upcoming)

Describe the feature
Allow the saving session entity to be viewed into the future, assuming the API allows, to show when a saving session is taking place.
Expected behaviour
When selecting the entity, show on the graph view into the future for an upcoming savings session.
Use Case
Enable automations to be created & actioned based on this.
Confirmation

[X] By submitting this feature request, you agree that you have read the documentation and confirmed it does not already exist
[X] I am willing/able to help contribute to the solution of this feature

Hi. This is is already available in various ways. The saving session events entity already exposes available and joined events (past, present and future) as provided by the API.
There are also various events available that you can listen to if that's more of your thing along with services for joining events automatically.
There is also the attributes on the saving session entity which can be used for monitoring the next upcoming saving session


Running vgrun devserver.go (Error)

Just followed the install process of vugu Getting Started but receive the following error message in my terminal: " vgrun devserver.go
2020/07/05 09:42:51 initial build error: generate error: exit status 1; full output:
generate.go:3: running "vugugen": exec: "vugugen": executable file not found in $PATH"
Instructions followed:
(1) I have added the line of code to my ./bashrc file - export PATH="$PATH:usr/local/go/src/vugugen" but still does not work?
(2) I've also run the script - go generate
generate.go:3: running "vugugen": exec: "vugugen": executable file not found in $PATH
(3) Plus, in terminal, go generate vugugen -s
can't load package: package vugugen is not in GOROOT (/usr/local/go/src/vugugen)
can't load package: package -s is not in GOROOT (/usr/local/go/src/-s)
What was I expecting?
To just work by going to localhost:8080

Normally the vugugen executable is installed at "go/bin/vugugen" underneath your home directory.    Can you please provide the output of go env and echo $PATH? That might help us both see in more detail what is happening.

Hello bradleypeabody - thanks for looking.
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/urs/.cache/go-build"
GOENV="/home/urs/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/urs/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build891392039=/tmp/go-build -gno-record-gcc-switches"
Plus
I looked in the directory of the original install of vugu and in there is an empty bin folder (not sure if that helps at all).
$ echo $PATH
~/go/bin:/home/urs/.nvm/versions/node/v13.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/games:/usr/local/games:/usr/local/go/bin:/usr/local/tinygo/bin

@wr125 Thanks for that info.  Your PATH should be fine as-is.  If you do ls -l ~/go/bin/vugugen does it show the file there or do you get an error about the file not existing?
If that file doesn't exist, try running go install github.com/vugu/vugu/cmd/vugugen and see if that makes the file show up.  (That command is normally run by vgrun as part of it's startup, possibly that failed earlier.)

Actually, I think ~/go/bin might be the issue.  This post has some explanation: https://unix.stackexchange.com/questions/154281/path-environment-variable-does-not-seem-to-be-recognized
The tilde character is meant to expanded by the shell, often when an environment variable is set.  I.e. echo $PATH should have an entry like /home/urs/go/bin rather than ~/go/bin.  If you set your path like that, I'd check and see if that solves the problem.  e.g.:
(exact same path value from your post but with /home/urs substituted for ~)
export PATH=/home/urs/go/bin:/home/urs/.nvm/versions/node/v13.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/games:/usr/local/games:/usr/local/go/bin:/usr/local/tinygo/bin

I suspect that with that change, following the Vugu Getting Started directions from the top would then work - or at least it's worth trying that again to see.

A quick check and there is an executable file named vugugen and vugu in the "go/bin" directory.  So its not looking for the executable (vuguugen) in the "go/bin" directory but in /usr/local/go/src instead!

The go generate command accepts a package name as its argument, or with no argument looks in the current directory for the package (hence the error message can't load package: package vugugen...).
The normal flow is:

a comment like //go:generate vugugen -s appears in a .go file.
you run go generate in the same directory as that file, which in turn causes vugugen -s to be run, which performs the code generation

ok so my ./bashrc file is set to  export GOPATH=$HOME/go and also PATH=$PATH:/usr/local/tinygo/bin. Is this correct? Since go generate vugugen -s flag command is searching for GOROOT path at usr/local/go/src/vugugen

New output  - echo $PATH
/home/urs/go/bin:/home/urs/.nvm/versions/node/v13.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/games:/usr/local/games:/usr/local/go/bin:/usr/local/tinygo/bin. Still no joy. Also tried installing files to a different environment https://repl.it/@wr125/ but still unable to get vgrun script to work.

I managed to get vgrun script and server to run by adding the following lines of code to the ~/.profile (file)
(1) export GOPATH=$HOME/go (which is the recommended default path for go)
(2) export PATH=$PATH:$GOPATH/bin (execute go binaries from this path)
(3) export PATH=$PATH:$GOPATH/bin:/usr/local/go/bin (execute go binaries from anywhere in your linux system)

@wr125 Ok great! Glad it's working.


sorting rows of xlsx based on one column

How to sort the rows in xlsx based on column "Bill Dt" using the sheet js library
sample.xlsx

Hi,
How you added the style for the excel? can you provide the sample guidance

You can manually perform a sort of the data in JS.  The easiest flow is to convert the data to an array of arrays or array of objects (using sheet_to_json), perform a data sort in JS, then write the data back (using sheet_add_aoa or sheet_add_json).
It's also possible, as long as the cells don't have formulae whose interpretation will change, to just shuffle around keys.  For example, to swap cells D3 and D4: var cell = ws["D3"]; ws["D3"] = ws["D4"]; ws["D4"] = cell;


New landing page for the group

Old pages:

https://rust-lang.github.io/compiler-team/working-groups/async-await/
https://rustasync.github.io/team/async-foundations/

Decide where we are going to host the new page, update it, and point to it from this repo.

I'm tempted to keep this simple, and make the repo itself the landing page. A simple pull request to the README is all that's required to update, and we don't have to set up or maintain a different URL.

https://rust-lang.github.io/compiler-team/working-groups/async-await/ now points here, and the README contains all the relevant information.


VM: flaky hanging in vm/dart/spawn_infinite_loop_test

Reproduction:
tools/test.py -n app_jitk-linux-debug-x64 vm/dart/spawn_infinite_loop_test

or
out/DebugX64/dart --snapshot=out.snapshot --snapshot-kind=app-jit --packages=.packages runtime/tests/vm/dart/spawn_infinite_loop_test.dart

Can be reproduced very easily (1-2 runs is enough).
State of the threads from the debugger:
Thread 10 (Thread 0x7ffff18fe700 (LWP 157832)):
#0  0x00007ffff1b2bc79 in ?? ()
#1  0x00007ffff7e40041 in ?? ()
#2  0x00007ffff1aef661 in ?? ()
#3  0x00007ffff1aefbf1 in ?? ()
#4  0x00007ffff18fd6f0 in ?? ()
#5  0x00007ffff1b2baba in ?? ()
#6  0x00007fffeeb8ffb9 in ?? ()
#7  0x00007ffff7e40041 in ?? ()
#8  0x00007ffff7e40041 in ?? ()
#9  0x00007ffff7e40041 in ?? ()
#10 0x00007ffff7e430e1 in ?? ()
#11 0x00007ffff1ae8dd1 in ?? ()
#12 0x00007ffff1aef6a1 in ?? ()
#13 0x00007ffff18fd730 in ?? ()
#14 0x00007ffff1b2ab1a in ?? ()
#15 0x00007fffeeb8ffb9 in ?? ()
#16 0x00007ffff1a5c331 in ?? ()
#17 0x00007ffff7e40041 in ?? ()
#18 0x00007ffff7e40041 in ?? ()
#19 0x00007ffff1ae5441 in ?? ()
#20 0x00007ffff1ae8e01 in ?? ()
#21 0x00007ffff18fd780 in ?? ()
#22 0x00007ffff1b2ae73 in ?? ()
#23 0x00007fffeeb8ffb9 in ?? ()
#24 0x00007ffff1a5c331 in ?? ()
#25 0x00007ffff7e40041 in ?? ()
#26 0x00007ffff7e40041 in ?? ()
#27 0x00007fffeeb90359 in ?? ()
#28 0x00007ffff7e430e1 in ?? ()
#29 0x00007ffff1ae8dd1 in ?? ()
#30 0x00007ffff1ae5511 in ?? ()
#31 0x00007ffff18fd7c0 in ?? ()
#32 0x00007ffff1b2ab1a in ?? ()
#33 0x00007ffff7e40041 in ?? ()
#34 0x00007fffeeb920c9 in ?? ()
#35 0x00007ffff7e40041 in ?? ()
#36 0x00007ffff7e40041 in ?? ()
#37 0x00007ffff1ae8b31 in ?? ()
#38 0x00007ffff1ae8e01 in ?? ()
#39 0x00007ffff18fd7f8 in ?? ()
#40 0x00007ffff1b2aa1e in ?? ()
#41 0x00007ffff7e40041 in ?? ()
#42 0x00007fffeeb920c9 in ?? ()
#43 0x00007ffff7e40041 in ?? ()
#44 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffff3cff700 (LWP 157793)):
#0  futex_reltimed_wait_cancelable (private=0, reltime=0x7ffff3cfd260, expected=0, futex_word=0x5555581a65d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7ffff3cfd700, mutex=0x5555581a6588, cond=0x5555581a65b0) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x5555581a65b0, mutex=0x5555581a6588, abstime=0x7ffff3cfd700) at pthread_cond_wait.c:667
#3  0x00005555571bae5d in dart::Monitor::WaitMicros (this=0x5555581a6588, micros=1000000) at ../../runtime/vm/os_thread_linux.cc:448
#4  0x00005555574916ad in dart::MonitorLocker::Wait (this=<optimized out>, millis=1000) at ../../runtime/vm/lockers.h:173
#5  dart::SafepointHandler::SafepointThreads (this=<optimized out>, T=0x5555581eb601) at ../../runtime/vm/heap/safepoint.cc:157
#6  0x000055555748ca37 in dart::PageSpace::CollectGarbage (this=0x555558222208, compact=false, finalize=false) at ../../runtime/vm/heap/pages.cc:1035
#7  0x000055555747fb96 in dart::Heap::CheckStartConcurrentMarking (this=0x555558222000, thread=0x5555581eb600, reason=<optimized out>) at ../../runtime/vm/heap/heap.cc:588
#8  0x0000555557491f8a in dart::ForceGrowthSafepointOperationScope::~ForceGrowthSafepointOperationScope (this=0x7ffff3cfd940) at ../../runtime/vm/heap/safepoint.cc:82
#9  0x00005555570abcdb in dart::IsolateGroup::RunWithStoppedMutators(std::__2::function<void ()>, std::__2::function<void ()>, bool) (this=0x5555581ba1c0, single_current_mutator=..., otherwise=..., use_force_growth_in_otherwise=true) at ../../runtime/vm/isolate.cc:2413
#10 0x000055555744cbe4 in dart::CompileParsedFunctionHelper::Compile (this=<optimized out>, pipeline=0x555558e3b210) at ../../runtime/vm/compiler/jit/compiler.cc:672
#11 0x000055555744d9df in dart::CompileFunctionHelper (pipeline=0x555558e3b210, function=..., optimized=false, osr_id=-1) at ../../runtime/vm/compiler/jit/compiler.cc:769
#12 0x000055555744d43d in dart::Compiler::CompileFunction (thread=<optimized out>, function=...) at ../../runtime/vm/compiler/jit/compiler.cc:910
#13 0x000055555713475e in dart::Function::EnsureHasCode (this=0x555558e3b898) at ../../runtime/vm/object.cc:8270
#14 0x0000555557233eed in dart::TrySwitchInstanceCall (ic_data=..., target_function=...) at ../../runtime/vm/runtime_entry.cc:1187
#15 dart::InlineCacheMissHandler (args=..., ic_data=..., count=93825051900184) at ../../runtime/vm/runtime_entry.cc:1322
#16 0x0000555557227ca2 in dart::DRT_HelperInlineCacheMissHandlerOneArg (zone=<optimized out>, arguments=..., isolate=<optimized out>, thread=<optimized out>) at ../../runtime/vm/runtime_entry.cc:1338
#17 dart::DRT_InlineCacheMissHandlerOneArg (arguments=...) at ../../runtime/vm/runtime_entry.cc:1332
#18 0x00007ffff6d01097 in ?? ()
#19 0x00005555581eb600 in ?? ()
#20 0x0000000000000002 in ?? ()
#21 0x00007ffff3cfe5d0 in ?? ()
#22 0x00007ffff3cfe5d8 in ?? ()
#23 0x00007ffff64e67a1 in ?? ()
#24 0x00007ffff7e46851 in ?? ()
#25 0x00007ffff7e44071 in ?? ()
#26 0x00007ffff3cfe600 in ?? ()
#27 0x00007ffff6d020e0 in ?? ()
#28 0x00007ffff659b591 in ?? ()
#29 0x00007fffeed9f299 in ?? ()
#30 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffff5d7e700 (LWP 157785)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555581c0300) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5555581c02b0, cond=0x5555581c02d8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5555581c02d8, mutex=0x5555581c02b0) at pthread_cond_wait.c:655
#3  0x00005555571bae84 in dart::Monitor::WaitMicros (this=0x5555581c02b0, micros=0) at ../../runtime/vm/os_thread_linux.cc:443
#4  0x000055555744ffda in dart::MonitorLocker::Wait (this=<optimized out>, millis=0) at ../../runtime/vm/lockers.h:173
#5  dart::BackgroundCompiler::Run (this=0x5555581c02a0) at ../../runtime/vm/compiler/jit/compiler.cc:1313
#6  0x00005555572757bc in dart::ThreadPool::Worker::Loop (this=0x55555821c140) at ../../runtime/vm/thread_pool.cc:382
#7  0x00005555572752d1 in dart::ThreadPool::Worker::Main (args=93825039188288) at ../../runtime/vm/thread_pool.cc:434
#8  0x00005555571ba0a5 in dart::ThreadStart (data_ptr=<optimized out>) at ../../runtime/vm/os_thread_linux.cc:134
#9  0x00007ffff747fc73 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007ffff7b0fdef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ffff5e7f700 (LWP 157784)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555581c03e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5555581c0390, cond=0x5555581c03b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5555581c03b8, mutex=0x5555581c0390) at pthread_cond_wait.c:655
#3  0x00005555571bae84 in dart::Monitor::WaitMicros (this=0x5555581c0390, micros=0) at ../../runtime/vm/os_thread_linux.cc:443
#4  0x000055555744ffda in dart::MonitorLocker::Wait (this=<optimized out>, millis=0) at ../../runtime/vm/lockers.h:173
#5  dart::BackgroundCompiler::Run (this=0x5555581c0380) at ../../runtime/vm/compiler/jit/compiler.cc:1313
#6  0x00005555572757bc in dart::ThreadPool::Worker::Loop (this=0x55555821c0a0) at ../../runtime/vm/thread_pool.cc:382
#7  0x00005555572752d1 in dart::ThreadPool::Worker::Main (args=93825039188128) at ../../runtime/vm/thread_pool.cc:434
#8  0x00005555571ba0a5 in dart::ThreadStart (data_ptr=<optimized out>) at ../../runtime/vm/os_thread_linux.cc:134
#9  0x00007ffff747fc73 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007ffff7b0fdef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ffff7fb1700 (LWP 157782)):
#0  0x00007ffff7b1010f in epoll_wait (epfd=5, events=0x7ffff7fb0cd0, maxevents=16, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x0000555556da9695 in dart::bin::EventHandlerImplementation::Poll (args=93825038671936) at ../../runtime/bin/eventhandler_linux.cc:392
#2  0x0000555556e02b25 in dart::bin::ThreadStart (data_ptr=<optimized out>) at ../../runtime/bin/thread_linux.cc:93
#3  0x00007ffff747fc73 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007ffff7b0fdef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7fb3240 (LWP 157778)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7fffffffd888) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffffffd838, cond=0x7fffffffd860) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fffffffd860, mutex=0x7fffffffd838) at pthread_cond_wait.c:655
#3  0x00005555571bae84 in dart::Monitor::WaitMicros (this=0x7fffffffd838, micros=0) at ../../runtime/vm/os_thread_linux.cc:443
#4  0x00005555576e906a in dart::MonitorLocker::Wait (this=<optimized out>, millis=0) at ../../runtime/vm/lockers.h:173
#5  Dart_RunLoop () at ../../runtime/vm/dart_api_impl.cc:1781
#6  0x0000555556da51da in dart::bin::RunMainIsolate (script_name=<optimized out>, dart_options=0x7fffffffda00) at ../../runtime/bin/main.cc:963
#7  0x0000555556da6052 in dart::bin::main (argc=5, argv=0x7fffffffdb68) at ../../runtime/bin/main.cc:1210
#8  0x0000555556da6c99 in main (argc=-10104, argv=0x80) at ../../runtime/bin/main.cc:1245

The first thread (separate isolate) is looping in while (true) {}:
   0x00007ffff1b2bc70:	mov    -0x8(%rbp),%r12
   0x00007ffff1b2bc74:	mov    0x27(%r12),%r15
   0x00007ffff1b2bc79:	cmp    0x48(%r14),%rsp
   0x00007ffff1b2bc7d:	jbe    0x7ffff1b2bc86
   0x00007ffff1b2bc83:	jmp    0x7ffff1b2bc79
   0x00007ffff1b2bc85:	int3
   0x00007ffff1b2bc86:	mov    $0xf7,%eax
   0x00007ffff1b2bc8b:	mov    0x370(%r14),%rbx
   0x00007ffff1b2bc92:	xor    %r10d,%r10d
   0x00007ffff1b2bc95:	callq  *0x190(%r14)

Another thread is waiting for a safepoint, but for some reason it is not interrupting the first thread.
/cc @mkustermann @aam @rmacnak-google

If run with --trace_safepoint, VM prints infinite sequence
Attempt:11 waiting for thread Dart ThreadPool Worker to check in
Attempt:12 waiting for thread Dart ThreadPool Worker to check in
Attempt:13 waiting for thread Dart ThreadPool Worker to check in
Attempt:14 waiting for thread Dart ThreadPool Worker to check in
Attempt:15 waiting for thread Dart ThreadPool Worker to check in
Attempt:16 waiting for thread Dart ThreadPool Worker to check in
Attempt:17 waiting for thread Dart ThreadPool Worker to check in
Attempt:18 waiting for thread Dart ThreadPool Worker to check in
Attempt:19 waiting for thread Dart ThreadPool Worker to check in
Attempt:20 waiting for thread Dart ThreadPool Worker to check in
Attempt:21 waiting for thread Dart ThreadPool Worker to check in
Attempt:22 waiting for thread Dart ThreadPool Worker to check in
Attempt:23 waiting for thread Dart ThreadPool Worker to check in
Attempt:24 waiting for thread Dart ThreadPool Worker to check in
Attempt:25 waiting for thread Dart ThreadPool Worker to check in
Attempt:26 waiting for thread Dart ThreadPool Worker to check in
Attempt:27 waiting for thread Dart ThreadPool Worker to check in
Attempt:28 waiting for thread Dart ThreadPool Worker to check in
Attempt:29 waiting for thread Dart ThreadPool Worker to check in
Attempt:30 waiting for thread Dart ThreadPool Worker to check in
Attempt:31 waiting for thread Dart ThreadPool Worker to check in
Attempt:32 waiting for thread Dart ThreadPool Worker to check in
Attempt:33 waiting for thread Dart ThreadPool Worker to check in
Attempt:34 waiting for thread Dart ThreadPool Worker to check in
Attempt:35 waiting for thread Dart ThreadPool Worker to check in
Attempt:36 waiting for thread Dart ThreadPool Worker to check in
Attempt:37 waiting for thread Dart ThreadPool Worker to check in
...


Planner: update interface to remove completePrompt() method and change generatePlan() args

As part of moving prompt management into the planner (#202) we will need to change the Planner interface some. We should remove completePrompt() all together leaving just generatePlan(). And for generatePlan() we should remove both the prompt and options args and instead just pass a pointer to the AI system. The final interface should look like this:
export interface Planner<TState extends TurnState> {
    /**
     * Generates a plan for the AI system to execute.
     * @param context Context for the current turn of conversation.
     * @param state Application state for the current turn of conversation.
     * @param ai AI system calling the planner.
     * @returns The plan that was generated.
     */
    generatePlan(
        context: TurnContext,
        state: TState,
        ai: AI<TState>
    ): Promise<Plan>;
}

P0

how are we expecting to specify the prompt when the generatePlan method does not accept one as input? Are we expecting it to be preconfigured within the planner itself?


docs: fix Remix setup doc

Motivation
While following the Remix setup documentation, I encountered an error when executing the CLI on the second step. The error message is depicted in the image below:

It became apparent that the Tailwind CSS framework needs to be installed prior to executing the shadcn-ui initialization command.
Changes
To resolve this issue, I have reorganized the documentation to ensure that the Tailwind CSS installation section precedes the CLI execution section.

Other parts of this docs seems outdated too (like the remix.config.js). What do you think about suggesting to follow the tailwind installation steps (instead of retracing those steps here), then the ones related to shadcn-ui ?

Hi @alcpereira, I just updated the docs following the newest tailwind installation, feel free to merge this PR if it looks good to you.

i do not know if anyone tried this but even the changes above do not work
this might help to debug:

tailwindcss directly in the app folder works
if i copy the html output and paste it into the route (where tailwind works) ... change class to className ... the css gets applied correctly
using the output from @/components/ui/button ... comes out without any styles applied

if needed i can give a repo for this but it is literally the code from the docs + the updates from this issue

@shihui-huang is this PR ready to go? Does it require an update?

I'm closing this in favor of #3027. Please reopen if not a duplicate. Thank you.


fix #131: add backtracing to tester

This didn't go well. The linker failed to relocate the sections in .debug_line correctly, plus I see what look like relocation errors in other sections. I was hoping there would be sufficient relocation information elsewhere to make corrections, but I failed to find it probing around with llvm-dwarfdump (version 11.0.0). It's still possible it's somewhere (I'm new to dwarf), but if it is, llvm-dwarfdump --lookup isn't using it. It generates the same incorrect results that this PR does.
I tried switching to llvm 12 for both compiling and dumping. Many entries have changed (e.g. 00000000 became FFFFFFFF), plus it looks like other things may have changed, so they're obviously working on it, but it still doesn't look right, even with llvm-dwarfdump --lookup. I found a message from several years back indicating they use address 0 to indicate reloaction problems; it looks like they switched that. Even then, may of the non-0, non-ffffffff addresses appear off.

Example:
wasm-objdump -d -r test-token.wasm

...
14a425 func[9738] <eosio::detail::assert_or_throw(std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >&&)>:
 ...
 14a476: 10 82 80 80 80 00          | call 2 <eosio_assert_message>
...

llvm-dwarfdump-12 test-token.wasm --lookup=0x14a476
...
Line info: file 'libraries/abieos/include/eosio/name.hpp', line 196, column 0, start file 'libraries/abieos/include/eosio/name.hpp', start line 195

lldb-12 -o "image lookup --address 0x14a476" -b test-token.wasm
(lldb) target create "test-token.wasm"
Current executable set to '/home/todd/work/eden/build/test-token.wasm' (wasm32).
(lldb) image lookup --address 0x14a476
      Address: test-token.wasm[0x0014a476] (test-token.wasm.code + 1352822)
      Summary: test-token.wasm`eosio::name eosio::literals::operator"" _n<char, (char)110, (char)101, (char)119, (char)97, (char)99, (char)99, (char)111, (char)117, (char)110, (char)116>() + 15 at name.hpp:196

After adjusting for the code offset, this part now comes out correct:
transaction has exception: Transaction exceeded the current network usage limit imposed on the transaction (3080002)
transaction net usage is too high: 830652 > 524288

0x7fe88bf47a1d 00145df9
/home/todd/work/eden/libraries/abieos/include/eosio/check.hpp:64
0x7fe88bf477eb 00145d60
/home/todd/work/eden/libraries/abieos/include/eosio/check.hpp:140
0x7fe88bf4934e 00146548
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:174
0x7fe88bf5526a 001498e4
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:382
0x7fe88bf558d2 00149ab7
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:389
0x7fe88bf5f239 0014c551
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:537
0x7fe88bbf7838 00060897
/home/todd/work/eden/contracts/token/tests/test-token.cpp:28
0x7fe88bbf5f01 00060172
/home/todd/work/eden/contracts/token/tests/test-token.cpp:50
0x7fe88bb6e770 0003af12
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:14261
0x7fe88bb2b637 00028f20
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:14100
0x7fe88bb1abd8 000247c6
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:12959
0x7fe88bb15557 00023062
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:12932
0x7fe88bb1214e 00022231
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:12693
0x7fe88bb3cd25 0002db67
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13287
0x7fe88bb39fd7 0002cf72
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13493
0x7fe88bb39686 0002ccdd
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13449
0x7fe88bbf57a3 0005ff4e
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13171
0x7fe88bbf5459 0005fe6e
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:17448
0x7fe88c226b83 0020f75f
0x7fe88c226d14 0020f7c7
0x7fe88c226d62 0020f7e7
0x4a658b ffffb982
tester wasm asserted: transaction failed with status hard_fail

transaction has exception: Transaction exceeded the current network usage limit imposed on the transaction (3080002)
transaction net usage is too high: 830652 > 524288

/home/todd/work/eden/libraries/abieos/include/eosio/check.hpp:64: eosio::detail::assert_or_throw(std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >&&)
/home/todd/work/eden/libraries/abieos/include/eosio/check.hpp:140: eosio::check(bool, std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >&&)
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:174: eosio::expect(eosio::transaction_trace const&, char const*)
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:382: eosio::test_chain::transact(std::__2::vector<eosio::action, std::__2::allocator<eosio::action> >&&, std::__2::vector<std::__2::variant<std::__2::array<char, 32ul>, std::__2::array<char, 32ul> >, std::__2::allocator<std::__2::variant<std::__2::array<char, 32ul>, std::__2::array<char, 32ul> > > > const&, char const*)
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:389: eosio::test_chain::transact(std::__2::vector<eosio::action, std::__2::allocator<eosio::action> >&&, char const*)
/home/todd/work/eden/libraries/eosiolib/tester/tester.cpp:537: eosio::test_chain::set_code(eosio::name, char const*, char const*)
/home/todd/work/eden/contracts/token/tests/test-token.cpp:28: token_tester::token_tester()
/home/todd/work/eden/contracts/token/tests/test-token.cpp:50: ____C_A_T_C_H____T_E_S_T____0()
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:14261: Catch::TestInvokerAsFunction::invoke() const
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:14100: Catch::TestCase::invoke() const
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:12959: Catch::RunContext::invokeActiveTestCase()
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:12932: Catch::RunContext::runCurrentTest(std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >&, std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >&)
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:12693: Catch::RunContext::runTest(Catch::TestCase const&)
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13287: Catch::(anonymous namespace)::TestGroup::execute()
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13493: Catch::Session::runInternal()
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13449: Catch::Session::run()
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:13171: int Catch::Session::run<char>(int, char const* const*)
/home/todd/work/eden/build/wasm/catch2/include/catch2/catch.hpp:17448: __main_argc_argv
<wasm address 0x0020f75f>
<wasm address 0x0020f7c7>
<wasm address 0x0020f7e7>
tester wasm asserted: transaction failed with status hard_fail


Request to add an aarch64 branch

I'd like to maintain a copy of this repo build for aarch64. Can you please create a aarch64 branch so I can send you a PR request for https://github.com/KurtStam/base/tree/aarch64.

Branch created, feel free to open a PR against it.


[bug + idea] enums conversion

First of all - thank you for the great project.
I Just faced an issue that also gave me an idea - the generated sql looks like this:
sp0."entry_type" = ANY ('{10,11,13}')
I think this is from such ecto code:
where([sp], sp.entry_type in [:green, :blue, :red]) where the values ar Ecto.Enums
First of all it fails for me when executing.
Second - could we add a comment after it that points to the actual enum value?
sp0."entry_type" = ANY (10,11,13) /* green, blue, red */

Hi Daniel

First of all it fails for me when executing.

Why does it fail? What error do you see?

Second - could we add a comment after it that points to the actual enum value?

This is an interesting idea. However, It can't be implemented with the current interface of Ecto.DevLogger.PrintableParameter. We have to implement something smarter :)

Sorry, I think I messed something up because when I retried it now it works.
I was thinking it's invalid sql but I just double checked it and it's works.

Hey @fuelen, I just looked how much effort it would take and I think it may not be so hard:
In the telemetry handler we can zip the params with cast_params and use it in the inline_params function.
params = Enum.zip(metadata.params, metadata.cast_params || []) <- cast_params is nil when there are no params - this should be probably fixed in ecto_sql.
This way the function receives a tuple {[1,5],[:foo, :baz]} when running this test.
test "enum field" do
   enum_value = [:foo, :baz]
   post = %Post{enum: enum_value} |> Repo.insert!()
   assert Repo.get(Post, post.id).enum == enum_value
end

Hi @dkuku
Yes, this is an option.
However, I think, we'd have to extend Ecto.DevLogger.PrintableParameter to do this. And this requires a major version bump


Skip the cron tests on macOS 11+

These don't run due to security changes in the OS.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

https://buildkite.com/chef/chef-chef-master-omnibus-adhoc/builds/534#0532604d-7c79-4a60-8a1f-76e5d42818e6


Metron agent doesn't build on Windows

Loggregatorlib used to be able to build under Windows, and with the recent change in 80d688eca0e1d5b9e8a75ca386ae7bdb43d1435f we seemed to have dropped the ability to compile since we didn't carry across the fake Windows implementation from https://github.com/cloudfoundry/loggregatorlib/blob/2b68a3305af889947f0f8c11d0aca4817621f983/cfcomponent/logging_windows.go
Maybe we need to get CI for this project on Windows, since the Garden Windows team depends on it.

Fixed


Free pins of NodeMcu [question]

Hello,
I would like to ask which NodeMcu`s pins are not used by OTGW software?
I want to use a free pin of NodeMcu (and add in the code) to turn on/off the water circulation pump

@raf1000 there is already code to switch on and off any pin based on the status bits from the slave (aka as the boiler or ventilator heating".
The pins you cannot use are:
//define Nodoshop OTGW hardware
#define OTGW_BUTTON 0   //D3
#define OTGW_RESET  14  //D5
#define OTGW_LED1   2   //D4
#define OTGW_LED2   16  //D0
//external watchdog
#define EXT_WD_I2C_ADDRESS 0x26
#define PIN_I2C_SDA 4   //D2
#define PIN_I2C_SCL 5   //D1
Hope this helps
Robert


User's script error handler function

As discussed with @cortesi on slack, right now whenever a user's script throws an error due to various reasons, it is being handled at different places differently.
Therefore we can have a consistent error handler function which can be invoked whenever there is an error
This will also handle #2837 #2838 #2839
Function
Signature
script_error(path, message, lineno, exception)
What function will do

"Error in script XXX:NNN MMM” where XXX is the path as specified by the user (the .path attribute of Script), NNN is a line number if we have one, and MMM is a short message

The idea here is to display the above mentioned message in the console app and display the traceback related to the error in the event log.

Hi,
I was working on this and now I think of it, I have many doubts.
I was thinking that instead of keeping the signature as script_error(path, message, lineno, exception) let's keep the signature as script_error_handler(path, exc, tb = False)
The optional traceback will help us to handle whether to provide the user with the same or not
The function would roughly look like this
def script_error_handler(path, exc, tb=False):
    """
        Handles all the user's script errors with
        an optional traceback
    """
    exception = type(exc).__name__
    lineno = ""
    if hasattr(exc, "lineno"):
        lineno = str(exc.lineno)
    msg = "Error in Script {}:{} {}".format(path, lineno, exception)
    if tb:
        etype, value, tback = sys.exc_info()
        tback = addonmanager.cut_traceback(tback, "invoke_addon")
        msg = msg.join(["\n"]+traceback.format_exception(etype, value, tback))
    ctx.log.error(msg)

which can be called like this
try:
    something
except Exception as exc:
    script_error_handler(path, exc)

@cortesi  what do you think? :confused:

I think the line number extraction here works - I think a lineno attribute is the common API. My rationale for the short message argument is as follows. In the console app, only the first line (or a portion of the first line) of an error is now displayed, and the user has to switch to the event log for everything else. This makes the first line very valuable, and we need to pack as much information as possible in there. It would be nice for this line to say "Syntax error..." and "Exception raised...", and so forth - and in some cases we might be able to give even better information.
That said, the first step here is to centralise, and then we can tweak the presentation later. Play around until you have a solution that feels right - we can then merge and tweak it.

Hi, so I had this thought process that since the first line is very critical, we might like to provide the user with the name of the type of error that has been raised and providing any other information in place of this would be a big tradeoff(and fitting more than two words at the end of that line would not be very useful if the user has not maximized the window).
Maybe in the eventlog we can do like, the important first line with path,line no, name of exception type, second line a useful message and then our optional traceback


gourou: init at 0.7.2

Description of changes
libgourou is a library for deDRM'ing Adobe ebooks.  It's working pretty well for me to download and read comics bought from Kobo offline without using any proprietary software.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Failing on Darwin. Add meta.broken = stdenv.isDarwin;

Thanks, done.

Fixed by https://github.com/NixOS/nixpkgs/pull/222537.


[4.0] Diagnose exclusivity violations for noescape closures

This PR enables checking exclusivity violations for no escape closures. For testing purposes it includes all the commits from https://github.com/apple/swift/pull/10360 plus one additional commit (73d7476) that is the only new content for this PR w/r/t 10360.

@swift-ci Please test

@swift-ci Please test source compatibility

@swift-ci please clean test

CCC Information:
Explanation:
Add stricter static enforcement of exclusive access for variables captured
by no escape closures. With this change, the compiler will diagnose when
a no escape closure that accesses a capture is passed to a function if that
access conflicts with an access that is already in progress at the time the
function  is applied.
For example, the compiler will now diagnose statically on the following:
x.mutatingMethod {
x.mutate()
}
This diagnostic a warning in Swift 3.2 and an error in Swift 4 mode.
Note: This change does not distinguish separate stored properties
accessed inside the closure — inside the closure it treats an access
to a struct stored property as an access to the whole. We plan to relax
this in the future, so this change is stricter that what we intend to
eventually enforce. Nonetheless, we want to get this stricter model
into swift-4.0 branch to gauge its impact and determine if additional model
changes are needed.
Scope of Issue:
This is a source-breaking change. In Swift 4.0 it will cause errors for
code that previously compiled. Fortunately this appears rare: there is
only one project in the Swift Source Compatibility suite with violations.
That project (siesta) has 3 violations, all the in the same function.
Radar: rdar://problem/32020710
Risk: This is a medium risk change. It adds new diagnostics (errors in
Swift 4) and a new analysis pass that runs on all noescape
closures that capture variables. The key risks are implementation mistakes
(crashes in the analysis) and the potential for source breakage
in Swift 4 code. We think this source breakage is relatively rare, but it
will happen.
Testing: We've added the usual regression tests and also evaluated on
the source compatibility suite.


Spark should move towards OAuth

In the distant future

please provide some details -

why OAuth specifically?
what's the use case specifically for OAuth
how it related to other SSO issues like #279 / #288

related / possibly duplicate issues

#279 - Spark should provide real SSO functionality
#288 - Implement sso functionality

I'll be working on issue #288

ok closing this as duplicate of #288


Uncaught TypeError: Cannot read property 'prototype' of undefined

When loading the required dependencies for exporting to JPG/PNG (i.e. canvas-tools) a javascript error appears:
Uncaught TypeError: Cannot read property 'prototype' of undefined
This is because CanVGRenderer is undefined at this line:
A quick search revealed these posts / issues:

http://stackoverflow.com/questions/16149147/highcharts-canvas-tools-cannot-read-property-prototype-of-undefined
https://github.com/highslide-software/highcharts.com/issues/2311

And the 'official response' is that the file shouldn't be included, but is loaded lazily on devices that don't support SVG (see http://api.highcharts.com/highcharts#global.canvasToolsURL).

As a workaround I included this script after loading the highcharts library and before including the canvas-tools.js:
;(function () {
  'use strict';

  if (Highcharts != null && Highcharts.CanVGRenderer == null) {
    Highcharts.CanVGRenderer = {};
  }
})();

Well, nothing much that I can do. I noticed that error but never got the time to dig what was causing it, so thanks for that.
Would you mind doing a pull request on their project? If so, can you link it here?
Another solution for this warning not to appear is to use canvg directly. But I had glitches with some versions of it (title appearing twice, from what I can remember) and since most sites also pack highcharts official modules…

I'm also getting this issue.

Its more of an annoyance than an issue, as it works correctly with this warning. But as already stated, either create a pull-request on their repository or try to use canvg instead.

Ok, Thanks.

You can try the latest release of canvg if this error is an issue for you.

I was able to pull in canvg and include the files above highcharts-export-clientside and everything appears to be working fine; the error is gone.


Fixed the replacement of functions/aggregations and added a test

Codecov Report

Merging #169 (1607e8a) into main (e1a155b) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main     #169      +/-   ##
===========================================
- Coverage   100.00%   99.90%   -0.10%
===========================================
  Files           57       57
  Lines         2147     2147
  Branches       286      286
===========================================
- Hits          2147     2145       -2
- Misses           0        2       +2

Impacted Files
Coverage Δ

dask_sql/context.py
100.00% <100.00%> (ø)

dask_sql/input_utils/hive.py
90.00% <0.00%> (-10.00%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1a155b...1607e8a. Read the comment docs.


cannot execute gdal_calc.py with subprocess

if I try to launch (in run.py) the gdal_calc.py command with subprocess :
kwargs = {
        'cwd' : os.path.expanduser('~'),
        'args' : command,
        'stdout' : subprocess.PIPE,
        'stderr' : subprocess.PIPE,
        'universal_newlines' : True,
        'shell' : True
    }

    with subprocess.Popen(**kwargs) as p:
        for line in p.stdout:
            su.displayIO(output, line)

I get nothing
quick fix
os.system(' '.join(command))

but then I cannot retreive the outputs

abandoning as we now use rasterIO


Messages paging out of view

When loading a large list of messages paging goes out of view:

I will limit it to default 10 per page.


Add context manager to properly convert the precision

What does this PR do?
The fix in #8208 isn't working as expected. The check for complex64 should be
assert self.complex_buffer.dtype == torch.complex128.
This is because (from https://pytorch.org/docs/stable/generated/torch.set_default_dtype.html):
when the default floating point type is float64 the default complex type is complex128.
However, I didn't find a way to fix it, because moving the model model.double() or model.to(torch.double) does not convert it to complex128 after it has been created.
The only option I see is that the model instantiation is done after torch.set_default_dtype(torch.double) but that's outside of Lightning's scope.
To make this easier, this PR adds the following context manager:
with autodtype(torch.double):
    model = Model()
# or
with trainer.precision_plugin.forward_context():
    model = Model()

This is similar to how #9920 works.
Some other changes included:

Ensure the default dtype is restored in case of failure.
Use set_default_dtype instead of set_default_tensor_type.
Generalize the classes. This is not useful right now because set_default_dtpye only supports floating types currently.

Does your PR introduce any breaking changes? If yes, please list them.
The model is no longer moved.
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

This is no longer necessary after the addition of init_module and configure_model


add recursive solution to permutations with repetitions problem

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #52   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          85     86    +1
  Lines        1845   1855   +10
  Branches      328    328
=====================================
+ Hits         1845   1855   +10

Impacted Files
Coverage Δ

...tations/__test__/testPermutateWithRepetitionsFn.js
100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74b93d3...d0a7c1a. Read the comment docs.

Thank you for submission @mmapplebeck


Increment version for recoveryservices-backup releases

Increment package version after release of Azure.ResourceManager.RecoveryServicesBackup

API change check
API changes are not detected in this pull request.


[New game]: add multiplayer Ludo Game

🎮 Game Request
It's a Ludo Game - there's already one - but there's no safe zone in this one. This one can be played by 2, 3 or 4 players, while the other only has a 2-player mode.
Point down the features
You can choose the name and numbers of players.
There is no safe zone, so you have to be aware of the position of others.
Select program in which you are contributing
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @JPreault !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

if this is still open assign it to me

Hello @JPreault, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @JPreault ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


config/unicorn.rb not found

Hi! We're having a path related issue w unicorn not finding its config. Here's the output of foreman I get running foreman start -c all=1:
10:54:46 scheduler_clock.1        | started with pid 14176
10:54:47 web.1                    | I, [2017-05-04T10:54:47.439530 #14172]  INFO -- : listening on addr=<IP_ADDRESS>:5000 fd=11
10:54:47 web.1                    | I, [2017-05-04T10:54:47.439700 #14172]  INFO -- : worker=0 spawning...
10:54:47 web.1                    | I, [2017-05-04T10:54:47.441198 #14172]  INFO -- : master process ready
10:54:47 web.1                    | I, [2017-05-04T10:54:47.442377 #14177]  INFO -- : worker=0 spawned pid=14177
10:54:47 web.1                    | I, [2017-05-04T10:54:47.442955 #14177]  INFO -- : Refreshing Gem list
10:54:47 web.1                    | bundler: failed to load command: unicorn (/Users/dmkc/.gem/ruby/2.3.3/bin/unicorn)
10:54:47 web.1                    | LoadError: cannot load such file -- config/unicorn.rb
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn.rb:58:in `require'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn.rb:58:in `block in builder'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn/http_server.rb:752:in `build_app!'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn/http_server.rb:617:in `init_worker_process'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn/http_server.rb:639:in `worker_loop'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/lib/unicorn/http_server.rb:132:in `start'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/gems/unicorn-5.2.0/bin/unicorn:126:in `<top (required)>'
10:54:47 web.1                    |   /Users/dmkc/.gem/ruby/2.3.3/bin/unicorn:23:in `load'

Unicorn starts up fine if I run it directly with bundle exec unicorn -c config/unicorn.rb. I've tried adding a puts Dir.pwd statement inside my  ~/.gem/ruby/2.3.1/bin/foreman to make sure the path looks correct, and it does. I'm on unicorn 5.2.0, bundler 1.15.0.pre.3, ruby 2.3.3, foreman 0.84, OS X 10.12.4.
I'm a little stumped on how to debug this. Any help would be appreciated :).

Do you have a PATH or some other environment variable that is affecting it?
Going to close this as it's unlikely to be a problem with Foreman.


Minor updates to output naming and organization for immuno.wdl

A few small things that would make the final results of immuno a bit tidier:

At the top level on the results dir we have a file: pvacseq.annotated.tsv.  I think it would be more accurate to describe this simply as variants.final.annotated.tsv.  The variants aren't really coming from pvacseq.  Even though they are coming from the pvacseq sub-workflow, nothing in that TSV is a pvacseq related value.
At the top level. Rename pvactools -> pvacseq
At the top level. Rename pvacfuse_predictions -> pvacfuse
At the top level. Move fusioninspector_evidence to be inside the rnaseq dir
At the top level. Move fda_metrics to be inside the qc dir

This has now been fixed.  Thanks @Layth17 and @tmooney


NULL dereference fixes

Nice. +1 after the WLog_ParseFilter name param and strdup is NULL checked

+1 for the additional fixes


Do we need hard-code /projects

Hi!
I specifiy my own projects folder but, it's seem open hard-code /projects?
Do we really need exactly '/projects' folder?
{ Error: ENOENT: no such file or directory, open '/projects/.meteor/local/dev_bundle/.node-gyp/4.8.3/include/node/openssl/archs/BSD-x86_64/opensslconf.h'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.fs.readFileSync (fs.js:508:33)
    at getFileContentsForFile (/home/chronos/user/Downloads/nodespeed-ide/brackets-srv/search/node/FindInFilesDomain.js:217:41)
    at Immediate.fileCrawler (/home/chronos/user/Downloads/nodespeed-ide/brackets-srv/search/node/FindInFilesDomain.js:350:20)
    at runCallback (timers.js:649:20)
    at tryOnImmediate (timers.js:622:5)
    at processImmediate [as _immediateCallback] (timers.js:594:5)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',

Thank you.

I will need to look into that - we have always been using /projects in our containers. I cannot guarantee that there isn't a dependency somewhere on that path.
You are welcome to go through the code and see if you can make it more generic - and submit a PR ;-)

FYI - I have not tried using other project roots that /projects with nodespeed-ide - as we always have this defined as a directory for our Docker implementation.
You are welcome to look at the code and see if you can make it more generic if needed.


Do I need to clear old session files manually?

name: Old session files need removing
Describe the bug
I just noticed our site was down and found that it was a space issue due to a large number of session files. I had to delete files manually which had taken over 9.5 GB in about 45 days!
Do I need to setup a cron job to remove older files?
CodeIgniter 4 version
4.0.0-alpha3
Affected module(s)
Session, Filehandler?
Expected behavior, and steps to reproduce if appropriate
Old files should be removed periodically.

you can use cronjob for delete old session file. please check this url here step by step guide all thing : https://myphpinformation.blogspot.com/2024/01/codeigniter-generating-too-many-sessions-files-resolved-and-remove-session-in-cron-job.html


Viz component not populating on Home Page

Viz component not populating on Home Page
After installing the component in our full sandbox and providing the "share" URL, it ends up showing up as a blank box and then not at all on the home page itself.
Steps To Reproduce:

Add component to page.
Input URL
Adjust height to 1000.
Save and check activation
Go to actual home page
See nothing.

Expected result
Should see component with embedded URL in page.
Actual result
Nothing.
Additional information

Please delete this issue. Will create new one.

Hi @karthikkasala,
Thank you for opening this issue.
Can you confirm that the URL that you copied & pasted looks like: _https://us-east-1.online.tableau.com/t/gigisite/views/PythonExample/Seattle911?:showAppBanner=false&:display_count=n&:showVizHome=n&:origin=viz_share_link_
Can you open the developer console when accessing the page and take a screenshot, please? You can find the instructions here on how to do it on Google Chrome.
Thanks,
Gigi

Following up. Do you want me to just inspect the area where the component should be and screenshot that or something else? Thanks.

@karthikkasala if you can right-click on the page > Inspect  and open the tab called 'console' and share a screenshot here that would be great.

Tableau Viz LWC is being Archived
All outstanding PRs and Issues are being addressed and closed. Please migrate to the new Tableau View LWC.
For more information, please see the README

@karthikkasala If you encounter problems using the new Tableau View LWC, please file a bug through Salesforce.


Feature/dockerfile

This adds a Dockerfile (and a .dockerignore) that can be used to build a ready-to-use ameba Docker image, suitable for Gitlab CI, for example.
To build manually, one can do:
$ docker build -t ameba/ameba .

To use the resulting image on a local source folder, one has to "volume mount" the current (or target) directory into /src:
$ docker run -v $(pwd):/src ameba/ameba

To use it as part of a Gitlab CI build, for example, it's enough to go:
ameba:
  stage: test
  image: ameba/ameba
  script:
    - /usr/bin/ameba

The Docker image is based off alpine:3.8 for the smallest footprint, and weighs in at only around 15.4 MB.

Please add info above to the Reame.


Update float.js

A Fix for community market item listing pages where the user has items for sale.
Steam added a feature where it displays items you are selling directly on the item page, it broke the plugin on items where you have items listed. I've added a more specific selector to fix the issue.

LGTM, I'll merge next week and push updates on Chrome/FF.


return immediately from .end if request is already aborted (pre-flight abort)

Hello, I've noticed that if I do the following:
const myRequest = request.get("/whatever");
const myPromise = Promise.resolve(myRequest);
myRequest.abort();

...the request is executed anyway, seemingly because the standard Promise.resolve calls .then on the provided argument asynchronously. (observed today in Chrome 64.0.3282.119)
This PR theoretically solves this for both Promises and traditional .end by ignoring .end calls if this._aborted is already true at call time.
This may have undesired effects; for example, the promise created above when req.then is called is never resolved nor rejected, though I believe this is currently the case if any in-flight request is aborted.
Just curious whether pre-flight abort is a case y'all would be willing to support. I would be willing to address further concerns + add tests if it is something you would accept.
Thanks!

After all it turned out to be useful, so I've added it in v4


solver SetNumThreads and set_time_limit in python is not working

I create a CBC_MIXED_INTEGER_PROGRAMMING solver,
try to make it run fast in multiple-thread
k = solver.SetNumThreads(16)
print("SetNumThreads? ", k )
solver.set_time_limit(1000 * 60 * 3 )
solver.Solve()

It print out
SetNumThreads?  True
No match for threads - ? for list of commands
No match for 16 - ? for list of commands

From the cpu monitor, it seems it is not running in 16 threads. It has no difference from 1 thread.
The timelimit also doesn't work

Which OS?

I am using windows 10.
pip show ortools
Name: ortools
Version: 7.4.7247
Summary: Google OR-Tools python libraries and modules
Home-page: https://developers.google.com/optimization/
Author: Google Inc
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: ....\appdata\roaming\python\python37\site-packages
Requires: protobuf, six
Required-by:

Default compilation of CBC on windows does not enable parallelism. I have
no plan to fix this as parallelism gain is minimal at best.
Are you sure time limits are not working ? I checked and they applied.
Maybe the granularity is too large and the solver is waiting a long time
before checking it.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 21 oct. 2019 à 07:47, oneengineer<EMAIL_ADDRESS>a
écrit :

I am using windows 10.
pip show ortools
Name: ortools
Version: 7.4.7247
Summary: Google OR-Tools python libraries and modules
Home-page: https://developers.google.com/optimization/
Author: Google Inc
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: ....\appdata\roaming\python\python37\site-packages
Requires: protobuf, six
Required-by:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1656?email_source=notifications&email_token=ACUPL3KSFF6BCN3OQMTT75LQPU67XA5CNFSM4JCXTHUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBZEALQ#issuecomment-544358446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3PQHDDBEJ2QHWQXO33QPU67XANCNFSM4JCXTHUA
.

My mistake, set_time_limit works fine.
BTW, does the linux version of CBC or other solver have enabled parallelism? Or I have to rebuild everything myself?

It does.
You can test performance there.
BTW, if your problem only contains integer or binary variables, I just
pushed on master a backend for the linear solver using our CP-SAT solver.
Just use SAT_INTEGER_PROGRAMMING, after rebuilding from sources.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 22 oct. 2019 à 11:16, oneengineer<EMAIL_ADDRESS>a
écrit :

My mistake, set_time_limit works fine.
BTW, does the linux version of CBC or other solver have enabled
parallelism? Or I have to rebuild everything myself?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1656?email_source=notifications&email_token=ACUPL3LOBDDH7IPWAQ43XD3QP3AF5A5CNFSM4JCXTHUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5B6EI#issuecomment-544874257,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3NZKBBNGUZTBHCBCVDQP3AF5ANCNFSM4JCXTHUA
.

Hi.
In the version 7.4.7247
I’m not able to find SAT_INTEGER_PROGRAMMING in OptimizationProblemType for the java version.
Can you you help me pleaz?
Thx

Strange, on master, it is present, and I do not remember changing it after
the release.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 9 déc. 2019 à 18:49, Ez-Kassad<EMAIL_ADDRESS>a écrit :

Hi.
In the version 7.4.7247
I’m not able to find SAT_INTEGER_PROGRAMMING in OptimizationProblemType
for the java version.
Can you you help me pleaz?
Thx
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1656?email_source=notifications&email_token=ACUPL3PY2BH52LQNKZAIHM3QX2AK3A5CNFSM4JCXTHUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGKBMPQ#issuecomment-563353150,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3KAKJJAPH2LTYSK343QX2AK3ANCNFSM4JCXTHUA
.

Does the MacOSX version of CBC included with OR-Tools have parallelism enabled? Or do I have to build it from source to enable this feature?

It should work out of the box.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 2 juil. 2020 à 16:35, Garrett R Dowdy<EMAIL_ADDRESS>a
écrit :

Does the MacOSX version of CBC included with OR-Tools have parallelism
enabled? Or do I have to build it from source to enable this feature?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1656#issuecomment-653043220,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3NILPMUQ3ECQ4CXWN3RZSLL5ANCNFSM4JCXTHUA
.


If a text widget is empty, it vanishes from the canvas when mobile viewport is enabled

https://www.loom.com/share/51ee3be2381e4bb3abdca441e4c0b5dd
Discussion

This issue is resolved.