MariaDB: Database backup/restore after upgrade?

Trying to restore my old databases by copying the \bin\mariadb\data directory over to the new installation. This might not be the proper way, but I was going for something "quick 'n' dirty". Here's the error log:
...
2015-03-16 01:28:50 8524 InnoDB: Error: Fetch of persistent statistics requested for table "labquipsales"."search_index" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2015-03-16 01:28:53 4254 InnoDB: Error: Column last_update in table "mysql"."innodb_table_stats" is INT UNSIGNED NOT NULL but should be BINARY(4) NOT NULL (type mismatch).
...
150316  1:30:23 [Note] feedback plugin: report to 'https://mariadb.org/feedback_plugin/post' was sent
150316  1:30:23 [Note] feedback plugin: server replied 'ok'

The two Using transient stats instead. and type mismatch error were repeated dozens of times. The last two line seem to indicate that a report was sent back to the "mothership". So I guess not really a WPN-XM issue, but wanted to document this for others that might be having the same issue.

...well if this is a MariaDB issue and it ends up being fixed in a newer version, perhaps it will as well be time for a new minor version of WPN-XM that includes that version.

With WPN-XM v0.8.2 you should have v10.1.3 (x86/x64) of MariaDb.
Which issue exactly? Is it in their bugtracker?
Yes, feeback mode is on - i discussed this with the Maria guys. They need usage stats and want to know the usage and distributions of features and versions on Windows.

[ ] we need proper instructions how to save and restore a database (wiki or docs)

Documentation is gold, but it would be even better if we could automate this and offer in-place upgrades.

Physical backup of the files will not work for different versions.
An automation could use a logical database dump or export, maybe via mysqldump and then import that, after a db version upgrade.
Dumping could also be part of the backup system.

I was wondering... when I upgrade the MariaDB package on my actual production Ubuntu servers, there's nothing that I need to do - the new version is simply installed over the old one and db files are left there intact. Simply works. Are you sure that the whole dump import/export thing is necessary? Would perhaps simply not deleting the \bin\mariadb\data folder suffice?

Are you sure that the whole dump import/export thing is necessary?

No, i'm not sure. It's just an suggestion on how an upgrade mechanism could work.
But i know from the MariaDb manual, that only an service upgrade is easy and automated and the  non-service upgrade is a complicated multiple-step manual process.
How do other stacks, like EasyPHP/WampServer or XAMPP handle this?

Would perhaps simply not deleting the \bin\mariadb\data folder suffice?

Deleting the \data folder first, means that it's recreated because of the mysql_install_db execution - and that's actually like a fresh install.
--
We need some checks here:

which important files are overwritten during the extraction on top of an existing install
what happens, if its an upgrade and i leave the execution of mysql_install_db out, see https://github.com/WPN-XM/WPN-XM/blob/master/installers/full-php55-w32.iss#L1285-L1289

It could be that the call to mysql_install_db is the culprit, because an already initialized database is initialized again and thereby possibly resetted. Needs testing...

The purpose of the mysql_install_db program is to initialize the data directory, including the tables in the mysql system database. It does not overwrite existing MySQL privilege tables, and it does not affect any other data.

This is not explicitly stated in the Maria docs https://mariadb.com/kb/en/mariadb/mysql_install_db/
but in http://dev.mysql.com/doc/refman/5.7/en/mysql-install-db-problems.html
mysql_install_db is not the culprit - according to the docs.

Bounty: 600 €.


Staging environment for Drought so that we can review changes safely before pushing to prod

@jbum  @aaronhans  fyi created this

Here are some assumptions we should review with the editorial team:

Enabling proper WordPress preview so that clicking preview on any post or page will show a faithful rendering of the content exactly as it will appear in production is the top priority

This work is already underway. We plan to use the 11ty serverless plugin (https://www.11ty.dev/docs/plugins/serverless/). Carte is reviewing how to setup the pipeline that will receive the prompt from WordPress to render the latest draft version of a post. We will also need to install or build a plugin that reroutes the preview link to use this tool.

Large changes or things that need to be sent out for approval need some other type of flow that lets change be viewed before they go live.

We can do this by duplicating the production pipeline starting with our pantheon staging instance. This will provide shareable links for content published from pantheon staging. Migrating this content to pantheon production would require engineering unless we figure out how to let editors control this part.
We can set this part of the pipeline up now and it will be useful because we have some disruptive changes to make to the site management like removing all the hardcoded HTML currently used to manage recent announcements.

@aaronhans Would we have a general pattern how this process works for WP editing -> Staging -> prod going fwd? So checking in with content folks is how we would do it generically: Drought, Project, X, Project Y, etc. Correct?

Right now on the covid site editors can add a tag to a post like "staging" which will push that post only to that environment. We are going to verify with the editorial team but it seems like preserving this functionality is convenient because they won't have to deal with a separate WordPress environment. These capabilities should cover most editing workflows:

Trust the preview link for immediate review during editing
To push only to a staging if edits need to be shared for approval

In addition we have a development flow where we can modify WordPress code in dev/test live WordPress instances and migrate that to production. This can also be utilized for content changes and might be useful if major multi page rewrites are underway.
The visitor facing site is statically generated by 11ty so none of the WordPress code modifications get run when a page is viewed and we can spin up many preview environments based on different tags if desired.

Sounds great, thanks for expounding further.

Is there remaining work to be done on this ticket?  @jaredwyee

Environments for drought are up and respecting staging tags on posts or pages: https://staging.drought.ca.gov/

Noticed this discrepancy between prod and staging, where the Actions and News should be side by side. Is this something that needs to be fixed in code or somehow in WP/content post?

Weird, there is some incorrect CSS in staging that is not present in production.
I need to create several tickets for drought to start inheriting all the CSS from the newly available design system modules. When I do this I will make sure the staging and main branches are in synch and this bug does not occur anywhere

Closing this, since the staging has been created. New tickets should be created for discrepencies.


How to debug Infer's backend

Hi,
I have had experience of developing compilers' backend. Generally the backend is started in debug, e.g. gdb, and stops at some breakpoints. The backend can be executed step by step and function calls can be followed by stepping into. The IR of the analyzed program can be printed to stdout/stderr or dumped into files.
However, as a newcomer of OCaml, I cannot find the counterpart things in debugging Infer's backend, which is implemented in OCaml and compiled to native code. Ocamldebug can only work on bytecode. For natvie code, gdb can break at modules' functions, but I found it is extremely hard to print variables' value in OCaml programs. That means examining IR and analysis results in Infer's backend is not easy.
I have read the book, real-world-ocaml and seen Mark Shinwell's video 'https://www.youtube.com/watch?v=NF2WpWnB-nk'. Both them does not give much instructions on printing variables in gdb.
How do you infer developers debug hundreds of thousands of lines of OCaml code?  Could someone give some advice?
Thanks a lot in advance.

Hi,
Most of us don't use a debugger to debug Infer. We just print elements, most of the IR elements have print functions, so we use those. To debug the symbolic execution in particular, we use html files that have printed most of the execution. You get those files with the option --debug, there is an html file for each source file in the folder infer-out/captured. Also, when you print things, if you use Logging.out, the output is only available in debug mode, and in infer-out/log/....
I hope this helps, let us know if you have more questions.

Hi @dulmarod
Thank you for your replay.  My question was answered.


[README] Add supplement to install libflutter_engine.so and run Flutter app

I added the supplement to install libflutter_engine.so and run Flutter app. See also: https://github.com/sony/flutter-embedded-linux/issues/24

@Mai-Matsuura Can I request you to review?

@HidenoriMatsubayashi
I've checked the changes and it looks fine.

Thanks.


for samples with many spectra, open the 1H first, if present

Is your enhancement request related to a problem? Please describe.
If one selects one sample which has many spectra NMRrium picks a first spectrum and shows it to the user. I haven't grasp how it select the spectrum, but with this example from another issue, it picks the COSY.

Usually, chemists might expect to have a look on the 1H first.
Describe the solution you'd like
Show the 1H first, if present.
Best,
Tillmann

Current behaviour

2D Spectra > 1D
FT > FID

NMRium react wrapper can offer the feature -
Select spectra based on query parameter

Spectra ID? or Name?

Was there any feedback on that by FSU people? FT > FID is totally clear. However, 2D > 1D isn't that clear. I would expect 2D < 1D and that the 1H is displayed first.


Add PipeCD best practice blog 01

What this PR does / why we need it:
Add a blog about tips to operate a PipeCD cluster
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

/lgtm

Nice catch:D
/lgtm

@nghialv @knanao Rewrited, PTAL when you have time 🙏

Nice. Thank you.
/lgtm

Lets me merge this 🚀
/approve


Gitea won't start after upgrade

Description
When all data storage methods are set to minio, an error routers/init.go:60:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: permission denied is reported at startup.
I've given the appropriate permissions, but the bottom line is that when I start Gitea with the root user by changing the code to bypass the restrictions, it still reports this error.
Gitea Version
1.20.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.25.1
Operating System
Ubuntu 20.04
How are you running Gitea?
I compiled Gitea myself by downloading the source code and following the documentation, and this happens both when running it manually and using systemd.
Database
MySQL/MariaDB

Can you paste your configurations?

APP_NAME = Gitea
RUN_USER = git
RUN_MODE = prod
WORK_PATH = /path/to/gitea

[server]
DOMAIN = example.com
ROOT_URL = https://example.com/
HTTP_PORT = 3000
DISABLE_SSH = false
SSH_DOMAIN = %(DOMAIN)s
SSH_PORT = 22
OFFLINE_MODE = false
LFS_START_SERVER = true
LFS_JWT_SECRET = secret1

[database]
DB_TYPE = mysql
HOST = <IP_ADDRESS>:3306
NAME = gitea
USER = gitea
PASSWD = secret2
LOG_SQL = false

[security]
INSTALL_LOCK = true
SECRET_KEY = secret3
INTERNAL_TOKEN = secret4
LOGIN_REMEMBER_DAYS = 14
COOKIE_USERNAME = gitea_awesome
COOKIE_REMEMBER_NAME = gitea_incredible
PASSWORD_HASH_ALGO = pbkdf2

[oauth2]
ENABLE = true
JWT_SECRET = secret5

[log]
MODE = console
LEVEL = Error
logger.router.MODE = ,

[git]
PATH =

[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
ENABLE_CAPTCHA = true
REQUIRE_CAPTCHA_FOR_LOGIN = true
CAPTCHA_TYPE = cfturnstile
CF_TURNSTILE_SITEKEY = secret6
CF_TURNSTILE_SECRET = secret7
DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_USER_IS_RESTRICTED = false
ENABLE_USER_HEATMAP = true
ENABLE_TIMETRACKING = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS =  hidemail.example.com
SHOW_REGISTRATION_BUTTON = true

[indexer]
ISSUE_INDEXER_NAME = gitea_issues
REPO_INDEXER_ENABLED = true
REPO_INDEXER_NAME = gitea_codes

[mailer]
ENABLED = true
SUBJECT_PREFIX = Gitea
SMTP_ADDR = smtp.example.com
SMTP_PORT = 587
FROM = "Gitea"<EMAIL_ADDRESS>USER = username
PASSWD = secret8

[session]
PROVIDER = db
COOKIE_NAME = gitea_session
COOKIE_SECURE = true

[picture]
GRAVATAR_SOURCE = https://example.com/gravatar/
ENABLE_FEDERATED_AVATAR = true

[attachment]
ENABLED = true
MAX_SIZE = 4
MAX_FILES = 3
STORAGE_TYPE = minio
SERVE_DIRECT = false
PATH = data/attachments
MINIO_ENDPOINT = <IP_ADDRESS>:9000
MINIO_ACCESS_KEY_ID = secret9
MINIO_SECRET_ACCESS_KEY = secret10
MINIO_BUCKET = gitea
MINIO_LOCATION = global
MINIO_BASE_PATH = attachments/
MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = true
MINIO_CHECKSUM_ALGORITHM = default

[i18n]
LANGS = en-US,zh-CN
NAMES = English,简体中文

[other]
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
ENABLE_SITEMAP = true
ENABLE_FEED = true

[packages]
ENABLED = true
STORAGE_TYPE = minio
MINIO_BASE_PATH = packages/
CHUNKED_UPLOAD_PATH = tmp/package-upload

[storage]
STORAGE_TYPE = minio

[repo-archive]
MINIO_BASE_PATH = repo-archive/

[storage.repo-archive]
STORAGE_TYPE = minio

[lfs]
STORAGE_TYPE = minio
PATH = data/lfs
MINIO_BASE_PATH = lfs/

[storage.packages]
STORAGE_TYPE = minio

[storage.my_minio]
STORAGE_TYPE = minio
MINIO_ENDPOINT = <IP_ADDRESS>:9000
MINIO_ACCESS_KEY_ID = secret9
MINIO_SECRET_ACCESS_KEY = secret10
MINIO_BUCKET = gitea
MINIO_LOCATION = global
MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = true

[actions]
ENABLED = true
DEFAULT_ACTIONS_URL = github

[storage.actions_log]
STORAGE_TYPE = minio

All
STORAGE_TYPE = minio

should be
STORAGE_TYPE = my_minio

All
STORAGE_TYPE = minio

should be
STORAGE_TYPE = my_minio

[attachment]
;; Storage type for attachments, `local` for local disk or `minio` for s3 compatible
;; object storage service, default is `local`.
STORAGE_TYPE = minio

Does it need to be changed here too?

According to your configurations, I guess you can remove all related storage configuration and just leave one like below.
[storage]
STORAGE_TYPE = minio
MINIO_ENDPOINT = <IP_ADDRESS>:9000
MINIO_ACCESS_KEY_ID = secret9
MINIO_SECRET_ACCESS_KEY = secret10
MINIO_BUCKET = gitea
MINIO_LOCATION = global
MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = true

According to your configurations, I guess you can remove all related storage configuration and just leave one like below.
[storage]
STORAGE_TYPE = minio
MINIO_ENDPOINT = <IP_ADDRESS>:9000
MINIO_ACCESS_KEY_ID = secret9
MINIO_SECRET_ACCESS_KEY = secret10
MINIO_BUCKET = gitea
MINIO_LOCATION = global
MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = true

When I run gitea migrate-storage it reports an error 2023/09/11 15:50:07 ...d/migrate_storage.go:188:runMigrateStorage() [F] Path must be given when storage is local
I'm sure there's no storage type explicitly set to local

Is it possible to communicate further via QQ(1290147055)? This makes it easier to pinpoint why this error occurs.

Is it possible to communicate further via QQ(1290147055)? This makes it easier to pinpoint why this error occurs.

It seems that I'm unable to add you as a QQ friend (Privacy settings don't allow friending).

It seems that I'm unable to add you as a QQ friend (Privacy settings don't allow friending).

I forgot to turn off my privacy settings, it should work now

./gitea migrate-storage help
NAME:
   Gitea migrate-storage - Migrate the storage

USAGE:
   Gitea migrate-storage command [command options] [arguments...]

DESCRIPTION:
   Copies stored files from storage configured in app.ini to parameter-configured storage

COMMANDS:
   help, h  Shows a list of commands or help for one command

OPTIONS:
   --help, -h                        show help
   --custom-path value, -C value     Set custom path (defaults to '{WorkPath}/custom')
   --config value, -c value          Set custom config file (defaults to '{WorkPath}/custom/conf/app.ini')
   --work-path value, -w value       Set Gitea's working path (defaults to the Gitea's binary directory)
   --type value, -t value            Type of stored files to copy.  Allowed types: 'attachments', 'lfs', 'avatars', 'repo-avatars', 'repo-archivers', 'packages', 'actions-log'
   --storage value, -s value         New storage type: local (default) or minio
   --path value, -p value            New storage placement if store is local (leave blank for default)
   --minio-endpoint value            Minio storage endpoint
   --minio-access-key-id value       Minio storage accessKeyID
   --minio-secret-access-key value   Minio storage secretAccessKey
   --minio-bucket value              Minio storage bucket
   --minio-location value            Minio storage location to create bucket
   --minio-base-path value           Minio storage base path on the bucket
   --minio-use-ssl                   Enable SSL for minio (default: false)
   --minio-insecure-skip-verify      Skip SSL verification (default: false)
   --minio-checksum-algorithm value  Minio checksum algorithm (default/md5)

DEFAULT CONFIGURATION:
   AppPath:    D:/code/golang_code/gitea/gitea.exe
   WorkPath:   D:\code\golang_code\gitea
   CustomPath: D:\code\golang_code\gitea\custom
   ConfigFile: D:\code\golang_code\gitea\custom\conf\app.ini

The problem is caused by the user's improper use of the migrate-storage command


Segmentation fault in Netopeer2-server during reading of "stream" in create-subscription rpc

Hi,
When I'm trying to read out stream from create-subscription rpc in my application then netopeer2-server fails with segmentation error in np2srv_rpc_subscribe_cb.
My program code
cpp_rpc_example.zip
GDB Backtrace:
bt.log
My program output when I run "subscribe --stream o-ran-supervision" from netopeer2-cli:
bogdan@bogdan-VirtualBox:~/Documents/rpc_test$ sudo ./main
========== SUBSCRIBE TO RPC CALL ==========
========== RPC CALLED ==========
number of inputs 1
/notifications:create-subscription/stream= o-ran-supervision
========== RPC END ==========
Netopeer server fails on getting the stream:
/* learn stream */
nodeset = lyd_find_path(input, "stream");
*stream = ((struct lyd_node_leaf_list )nodeset->set.d[0])->value_str;
ly_set_free(nodeset);
When I subscribe in my program for create-subscription with different priority (e.g. 5)
subscribe->rpc_subscribe("/notifications:create-subscription", cb, nullptr, 5) ;
then I cannot trigger sygfault.
Model for which I'm triggering create-subscription :
o-ran-supervision.zip
Versions:
libssh v0.8.7
libyang v1.0.167
sysrepo v1.4.58
libnetconf2 v1.1.24
netopeer2 v1.1.27
Can you please suggest where the problem can be? Is it a known problem with create-subscription rpc?
Failure happens from time to time, IMO could be a problem with sysrepo mechanisms for sharing the memory.
Thank you in advance for your help.
I can gather additional info if required.
Best Regards/
Bogdan

Please try it with the current devel version of sysrepo. The C++ bindings API was changed a bit and your problem could have easily been fixed internally as well. I do not have the time to port the example you posted for the current bindings.

Hi Michal,
I've tried with devel version of sysrepo and libyang.
sysrepocfg --version
sysrepocfg - sysrepo configuration manipulation tool, compiled with libsysrepo v1.4.89 (SO v5.6.5)
Result unfortunately is the same, segmentation fault on the same line (netconf.c:660).
Output of my program:
========== SUBSCRIBE TO RPC CALL ==========
========== RPC CALLED ==========
number of inputs 1
/notifications:create-subscription/stream = o-ran-supervision
netopeer-server log:
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 1 priority 0 for 2 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
Segmentation fault
Backtrace:
bt.zip
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `netopeer2-server -d -v3'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000560cc4d79ea1 in np2srv_rpc_subscribe_cb (session=0x7fb9bce4fc40, UNUSED_op_path=0x560cc6ca28b0 "/notifications:create-subscription",
input=0x7fb9a8000c10, UNUSED_event=SR_EV_RPC, UNUSED_request_id=1, UNUSED_output=0x7fb9a8001220, UNUSED_private_data=0x0)
at /tmp/netopeer2/src/netconf.c:660
660	/tmp/netopeer2/src/netconf.c: No such file or directory.
[Current thread is 1 (Thread 0x7fb9bce50700 (LWP 10364))]
(gdb) bt
#0  0x0000560cc4d79ea1 in np2srv_rpc_subscribe_cb (session=0x7fb9bce4fc40, UNUSED_op_path=0x560cc6ca28b0 "/notifications:create-subscription",
input=0x7fb9a8000c10, UNUSED_event=SR_EV_RPC, UNUSED_request_id=1, UNUSED_output=0x7fb9a8001220, UNUSED_private_data=0x0)
at /tmp/netopeer2/src/netconf.c:660
#1  0x00007fb9bf65b1ff in sr_shmsub_rpc_listen_call_callback (rpc_sub=0x560cc6bde0b0, tmp_sess=0x7fb9bce4fc40, input_op=0x7fb9a8000c10, event=SR_SUB_EV_RPC,
request_id=1, output_op=0x7fb9bce4fc10, err_code=0x7fb9bce4fbe8) at /tmp/sysrepo/src/shm_sub.c:2580
#2  0x00007fb9bf65becd in sr_shmsub_rpc_listen_process_rpc_events (rpc_subs=0x560cc6cbada0, conn=0x560cc6bb9f90) at /tmp/sysrepo/src/shm_sub.c:2866
#3  0x00007fb9bf61e751 in sr_process_events (subscription=0x560cc6cb93a0, session=0x0, stop_time_in=0x7fb9bce4fe20) at /tmp/sysrepo/src/sysrepo.c:3086
#4  0x00007fb9bf65cd35 in sr_shmsub_listen_thread (arg=0x560cc6cb93a0) at /tmp/sysrepo/src/shm_sub.c:3235
#5  0x00007fb9c007d6db in start_thread (arg=0x7fb9bce50700) at pthread_create.c:463
#6  0x00007fb9bf34171f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
My program:
rpc_test.zip
Would appreciate any help or some workaround how to omit this issue.
What is your opinion regarding proposed workaround with using another priority for subscription from application?
subscribe->rpc_subscribe("/notifications:create-subscription", cb, nullptr, 5) ;
Best Regards/
Bogdan

Please update libnetconf2 and netopeer2 as well, it is always unsafe not to have connected releases or devel from all these projects. I have tried it several times with all devel and no crash occurred.

Hi,
I've updated also libnetconf2 and netopeer2 to devel.
Still I'm getting the same fault, his time not for the first subscription.
Netopeer-cli:

subscribe --stream=o-ran-supervision
OK
subscribe --stream=o-ran-supervision
OK
subscribe --stream=o-ran-supervision
OK
subscribe --stream=o-ran-supervision
nc ERROR: Session 1: SSH channel poll error (Socket error: disconnected).
cli_send_recv: Failed to receive a reply.

Netopeer server:
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 1 priority 0 for 2 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 1 priority 0 (remaining 2 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 1 priority 0 succeeded.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 2 priority 0 for 2 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 2 priority 0 (remaining 2 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 2 priority 0 (remaining 1 subscribers).
[INF]: SR: Event "rpc" with ID 2 priority 0 succeeded.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 3 priority 0 for 2 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 3 priority 0 (remaining 2 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 3 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 3 priority 0 succeeded.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 4 priority 0 for 2 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 4 priority 0 (remaining 1 subscribers).
Segmentation fault
My App output:
========== SUBSCRIBE TO RPC CALL ==========
========== RPC CALLED ==========
number of inputs 1
/notifications:create-subscription/stream = o-ran-supervision
========== RPC CALLED ==========
number of inputs 0
========== RPC CALLED ==========
number of inputs 1
/notifications:create-subscription/stream = o-ran-supervision
========== RPC CALLED ==========
number of inputs 1
/notifications:create-subscription/stream = o-ran-supervision
One time I've got  number of inputs 0.
Backtrace from core dump:
bt.log
Best Regards/
Bogdan

Hi,
okay, I did manage to reproduce it finally and the problem was what you have actually discovered, there cannot be several subscriptions on a single RPC with the same priority, so that is forbidden now.
Regards,
Michal


⚠ Bofrost.at has degraded performance

In f4fd114, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 929 ms

Resolved: Bofrost.at performance has improved in 149fb94.


[Question] Dark theme for Interaction.MsgBox

I'm developing a WPF application and I use Interaction.MsgBox instead of MessageBox.Show, because I want to get Windows 11 native visual style (modern buttons and icons).
MessageBox.Show:

Interaction.MsgBox:

Thanks to DarkNet, I activated the dark theme for everything I wanted, except for this dialog box. Can you help me to do this?
The beginning of my App.xaml.cs:
namespace App
{
    public partial class App : Application
    {
        void App_Startup(object sender, StartupEventArgs e)
        {
            System.Windows.Forms.Application.EnableVisualStyles(); // this is required to enable native visual styles
            DarkNet.Instance.SetCurrentProcessTheme(Theme.Auto);

Dialog box in MainWindow.xaml.cs:
        private void MainWindow_PreviewKeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Escape)
            {
                string question = "Do you really want to quit?";
                MessageBoxResult result = (MessageBoxResult)
                    Interaction.MsgBox(question, MsgBoxStyle.YesNo, "App");
                if (result == MessageBoxResult.Yes)
                {
                    this.Close();
                }
            }
        }

I had to do something similar in an automated test for a different project, let me see if that technique also works here.

This brute force technique may not be the best, but I was able to turn the message box title bar dark by having another thread that finds the window by class name and PID using the mwinapi library, then uses DarkNet to set the window to dark mode using its HWND. The background task thread does this while the main thread is blocked waiting for the dialog box to return a result. I don't notice any delay before the theme is applied.
SystemWindow? dialogBox = null;
int selfPid;
using (Process selfProcess = Process.GetCurrentProcess()) {
    selfPid = selfProcess.Id;
}

Task.Run(() => {
    while (dialogBox == null) {
        dialogBox = SystemWindow.DesktopWindow.FilterDescendantWindows(false, window => {
            if (window.ClassName != "#32770") return false;
            using Process process = window.Process; // expensive
            return process.Id == selfPid;
        }).FirstOrDefault();

        if (dialogBox != null) {
            DarkNet.Instance.SetWindowThemeRaw(dialogBox.HWnd, Theme.Auto);
        }
    }
});

DialogResult dialogResult = System.Windows.Forms.MessageBox.Show("hello", "app", MessageBoxButtons.YesNo, MessageBoxIcon.None); // Forms message box
// MsgBoxResult msgBoxResult = Interaction.MsgBox("hello", MsgBoxStyle.YesNo, "App"); // Interaction message box

It works the same with both Forms and Interactions message boxes.
You could also add sleeps or a maximum timeout via cancellation token if those are helpful to your scenario. Also, you may be able to speed up the window finding logic if the dialog box is a child of some other window you know about, but in my testing I could only find it by searching through all windows.
There seems to be a bit of a race condition where the title bar sometimes looks deactivated, but it fixes itself if you blur and focus the window again. I'm not sure what's going on there.
This logic comes from an automated test I wrote recently which asserts that an error message is shown properly in the dialog box of a Winamp plugin, then closes the dialog box automatically, without deadlocking the test.

@Aldaviva
D you now how to change the background color of the text and icon of  message boxes

@Aldaviva
Thank you I  get it worked

@memoarfaa Can you share the code?


Access token not reloaded despite ignoreCache flag

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem
When calling getAccessTokenSilently({ ignoreCache: true }); right after updating the user's name or email address, no network call to /auth0/token is being made and the name is not updated.
Only when using setTimeout (with or without delay) can I observe the network call in the dev tools and the request comes back with the new name.
What was the expected behavior?
Specifying ignoreCache: true should always cause the user to be refreshed from the auth0 API.
Reproduction

Update user details, e.g. name or email via a call to the management API. Wait for the result, e.g. with async / await.
Call getAccessTokenSilently({ ignoreCache: true });
No network request, method immediately returns with the outdated data.
Call setTimeout(() => { getAccessTokenSilently({ ignoreCache: true }); });
The network request to the token endpoint is made and returns the correct data.

Environment

Version of auth0-react used: 1.10.1
Which browsers have you tested in? Chrome 103.0.5060.53
Which framework are you using, if applicable (Angular, React, etc): React
Other modules/plugins/libraries that might be involved:

Hi @Ruyven - thanks for raising this

Update user details, e.g. name or email via a call to the management API. Wait for the result, e.g. with async / await.

You shouldn't be able to update the user's name or email from a public client like a SPA. only the user's metadata - using update:current_user_metadata, see https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-tokens-for-single-page-applications#available-scopes-and-endpoints
I'm not able to reproduce the issue you describe, using the steps you provided and updating the users metadata.
When I update the user then immediately call getAccessTokenSilently({ ignoreCache: true }) I see the new requests (have tested both for the web_message response_mode and refresh grant) and the new access token is different to the original one.
eg
<Auth0Provider
    audience={`https://${domain}/api/v2/`}
    scope={'update:current_user_metadata'}>
   // other props

const at = await getAccessTokenSilently();
const resp = await fetch(
  `https://${domain}/api/v2/users/${user.sub}`,
  {
    method: 'PATCH',
    headers: {
      authorization: `Bearer ${at}`,
      'content-type': 'application/json',
    },
    body: JSON.stringify({
      user_metadata: { foo: `foo-${Date.now()}` },
    }),
  }
);
console.log(await resp.json()); // logs updatated user metadata
const at2 = await getAccessTokenSilently({ ignoreCache: true });
console.log(at === at2); // Logs `false` because a new token has been fetched

Closing due to innactivity


Mapping local absolute file paths

Take 2.
I was able to roll back most of my changes including the string.replace() and end up with two minor tweaks that made the proper difference.
'

The platform switch on the substring performed on the URI returned from XDebug
Making sure serverFileUri gets "file://" prepended.

With these in place the relative path resolving works in all of my setups.

Since you were quiet for the last days I implemented the first change in 88dd1888f642.

Great! :smiley:

Gonna close this now as #11 is fixed :)

Thanks Felix!


Plugin naming convention

There's nothing in the guidelines about naming plugins. I'd suggest the following:

If the sole purpose of the package is to be a gulp plugin, it should begin "gulp-".
If it is not a gulp plugin (for example, if it is only gulpfriendly), it should not start "gulp-".
It should not contain anything other than alphanumeric characters and hyphens.

If the package wraps another package (and does nothing else), it should inherit the original package's name and prepend "gulp-".

@superlukas :+1:

@contra / @phated: Any feedback before I send a PR? A PR would definitely not be a good place to discuss something like this, so I'd prefer to do it in an issue.

1 and 2 are good, 3 is very eurocentric

@contra @callumacrae The portable character set defined by POSIX allows accents and tildes. Maybe that would be a better choice. FWIW, both can't handle my last name (and I'm okay with that).

Never mind my last comment; It's late in central Europe...
According to npm, the package name will be part of a URL, a directory name, and something people put in their source code. Therefore, sticking with the portable character set defined by POSIX (or another subset of ASCII) is probably a good idea.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html
https://www.ietf.org/rfc/rfc1738.txt
https://docs.npmjs.com/files/package.json#name

@superlukas Sure, but that is an npm guideline and has nothing to do with gulp. It's useless cruft to re-specify any npm package naming guidelines in our documentation.

Eh, I was thinking more just to make packages easier to use with gulp-load-plugins. Currently if you have a plugin with a dot in the name you have to either set an alias or load it manually.
I can't think of any reason not to add it to the guidelines.

I have to agree here. Strict naming conventions would make things easier when you are using something like gulp-load-plugins.
+1

@callumacrae My perspective: If our guidelines are identical to npm, and npm doesn't allow people to upload modules that don't follow their guidelines, then nothing that violates our guidelines exists or will ever exist.

Maybe you guys should just split the difference and point out why it matters (for example, programmatic loading of plugins), rather than what matters, and then just leave a link to the npm docs for further reading.

@contra @callumacrae where does this stand?

I think we should add the first two items (about prefixing) but exclude everything to do with what characters are allowed because it is already enforced by NPM. Will merge a PR if somebody sends one.

@callumacrae how do you define gulpplugin and gulpfriendly? If a module is using vinyl it's a gulpplugin? If a module is not using vinyl but works with gulp then it's gulpfriendly?
What about
https://github.com/frankwallis/gulp-hub
https://github.com/OverZealous/run-sequence
and
https://github.com/robrich/gulp-match?

@stevemao If a module returns a stream that takes in vinyl files, outputs vinyl files, and follows the guidelines then it is a plugin. Otherwise it is gulpfriendly.

I see, it makes more sense now after I read writing-a-plugin again. So I guess the three modules I list should be gulpfriendly :)


Vickel: Watch ace[\W_]*+technologies(?!.com(?<=acetechnologies.com))

Vickel requests the watch of the watch_keyword ace[\W_]*+technologies(?!\.com(?<=acetechnologies\.com)). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

ace[\W_]*+technologies(?!\.com(?<=acetechnologies\.com)) has been seen in 2 true positives, 1 false positive, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Fix distro on Rolling branch README

Addressing https://github.com/youtalk/dynamixel_control/pull/35#issuecomment-1279964997.

Thank you!


Adds ROCm support for device functions

Also adds the helper command hatlib.verify_hat
usage: hatlib.verify_hat [-h] hat_path

Executes every available function in the hat package with randomized inputs. Meant for quick verification. Example: hatlib.verify_hat_package <hat_path>

positional arguments:
  hat_path    Path to the HAT file

optional arguments:
  -h, --help  show this help message and exit

lgtm, not sure why I can't find the button to approve the change. Go ahead and merge when ready (presuming you're going to switch to the submodule in this/next change(s)).


Create a global import file

This will allow importing modules from outside folders easier.

This should now be done and working.

Add global_imports.py to the folder you're working in (copy paste from the backend or bitmessage folder)

Add from global_imports import * to the top of your python file

Add other modules to imports.py if you want

The original way of doing this was hit and miss depending on how deep a file was in a directory.  This should hopefully be a more permanent solution.


Handle files in s.data.create, update and s.endpoint

s.data.create({image: ctx.args.image})
s.data.update(100, {image: ctx.args.image})
s.data.update(100, {image: null})
s.endpoint.post('socket/endpoint', {image: ctx.args.image})

All payloads are put into FormData. This cannot be merged because Syncano doesn't support arrays sent via FormData.

Codecov Report

Merging #392 into master will increase coverage by 2.45%.
The diff coverage is n/a.


Profiles & Roles & Users browse

:warning: must be merged after https://github.com/kuzzleio/kuzzle-backoffice/pull/58

Implement browse users
Implement browse roles
Implement browse profiles
Improve unit tests

Current coverage is 85.15% (diff: 80.95%)

Merging #59 into develop will decrease coverage by 1.74%

@@            develop        #59   diff @@
==========================================
  Files            62         66     +4
  Lines           970       1004    +34
  Methods          23         30     +7
  Messages          0          0
  Branches         80         84     +4
==========================================
+ Hits            843        855    +12
- Misses           96        118    +22
  Partials         31         31

Powered by Codecov. Last update 052f00a...2d9fab2

+1

+1


Module Request: Empyrion

Module Request
Game Information:
Game Title: Empyrion
How to obtain: https://empyrion.gamepedia.com/Dedicated_Server_Setup
Suppoted OSs: Windows, Linux
Supports RCON/Console input? I believe so.
I confirm:

[x] that I have searched for an existing module request for this application.
[x] that the server is an official server distributed by the games publishers/developers.
[x] that the server is available to the general public.
[x] that the server can be run headless (without a GUI).

This looks like a fairly good candidate for the Generic module

This bit will be fun lol:
Use the PuTTY terminal emulator to access your server, if telnet is enabled in the server configuration. The default port is 30004. Be advised that, while the service uses telnet, the Raw connection type should be used. Use of the Telnet connection type causes unusual issues, such as the initial input of the password will always fail.

That's fine, AMP can accommodate that.

I have a full game module in progress for this.  Guess it means my team should pick it back up. :)

Curious if anything ever came of this. Think it is Windows only. Not sure there are many/any good management tools for this game.


✨ Repository read components completed

✅ Closes: #612
This pull request introduces several new features and refactors existing code to enhance the functionality and maintainability of the stargazers project. The most important changes include the addition of a new RemotionRoot component, a RepoHeader component, and a utility function waitForNoInput. Additionally, there is a minor refactor to correct an import statement.
New Features

RemotionRoot Component: Added a new RemotionRoot component that calculates metadata and defines a composition for rendering stargazers. This includes setting default properties and handling asynchronous data fetching.
RepoHeader Component: Introduced a new RepoHeader component to display repository information, including organization, name, and star count, with appropriate styling and layout.
waitForNoInput Utility Function: Created a utility function waitForNoInput to handle input waiting logic, ensuring that no input is received during a specified period, with support for abort signals.

Refactors

Import Statement Correction: Corrected the import statement for the Content component to use the correct case (content instead of Content).

@vanshchauhan21 can you review this PR.

@MastanSayyad Please review this PR, and assign labels given to the issues #612

This has been merged already


feat(jms): JMS support

This PR adds support for JMS @JmsListener annotation, as requested in #173
The code is based on the sqs plugin and example, with no changes made other than what was necessary to use jms instead of sqs

Hi @krzysztofxkwiecien
Great contribution! We will have a look next Friday.

Great to see that you updated the readme as well. Can you add jms to the springwolf-ui mock-server.ts as well? This allows the demo website to show the jms example.

Sure! let me know if anything else needs updating

Hi @krzysztofxkwiecien,
thank you for this contribution. We like it and resolved the issue with the test setup.
Can you add tests for:

SpringwolfJmsController (you can refer to SpringwolfKafkaControllerTest for the setup)
JmsMessageBindingProcessor
JmsOperationBindingProcessor

Thank you @krzysztofxkwiecien for this big contribution and adding this much wished feature to support JMS.
We plan to release this soon so stay tuned.

We also gather infos about who is using Springwolf. Please comment your company's name in https://github.com/springwolf/springwolf-core/issues/342 - if can.


feat: let ctx.session be undefined for missing session keys

The fact that an error is thrown upon property access is really annoying. There is no good way of knowing whether session data exists, so we should change this behaviour.

We should probably still throw an error upon assignment to ctx.session


[ASIO] Exposing IsSampleRateSupported from asio driver

Just allowing access to this helper method.

looks good, thanks


esp32 advanced

Hi Man :)
tested the new esp32 advanced and got this strange behaviour.  I'm using exactly same previous ctcio_config with working key.  Seems to connect then die then reconnect and so on ...
I have not touched code except for CTCIO .   saw u put a waiting new waiting method in code, btw any way to have more info on debug ?
Publish message
Connecting to mqtt.googleapis.com
MQTT connecting ...
JWT now:
eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NDU0MTExNjAsImV4cCI6MTU0NTQxNDc2MCwiYXVkIjoiY2hhcmdlc3BsIn0=.m6ZyoAWPmyumJZB6ZsXmKcpW1HgPZSsx/r7+8OHpXImXoy9A+Ww/RLkbpVhQbVEGgWZIj1jwfIGhrF07BbKKgw==
projects/spl/locations/europe-west1/registries/pipger/devices/esp32_02
eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NDU0MTExNjAsImV4cCI6MTU0NTQxNDc2MCwiYXVkIjoiY2hhcmdlc3BsIn0=.m6ZyoAWPmyumJZB6ZsXmKcpW1HgPZSsx/r7+8OHpXImXoy9A+Ww/RLkbpVhQbVEGgWZIj1jwfIGhrF07BbKKgw==
Waiting: 5542
Connecting to mqtt.googleapis.com
MQTT connecting ...
JWT now:
eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NDU0MTExNjcsImV4cCI6MTU0NTQxNDc2NywiYXVkIjoiY2hhcmdlc3BsIn0=.BOSlS4ZR4j/JatL7nA4NiQ3A6iTK0pF1R3XK2Tc0OBmsrfjLcsuLbUg2NM2hYWH0jbWBJAoVB7misybBnNKhvw==
projects/spl/locations/europe-west1/registries/pipger/devices/esp32_02
eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NDU0MTExNjcsImV4cCI6MTU0NTQxNDc2NywiYXVkIjoiY2hhcmdlc3BsIn0=.BOSlS4ZR4j/JatL7nA4NiQ3A6iTK0pF1R3XK2Tc0OBmsrfjLcsuLbUg2NM2hYWH0jbWBJAoVB7misybBnNKhvw==
Waiting: 5083
Publish message
Connecting to mqtt.googleapis.com
MQTT connecting ...
projects/spl/locations/europe-west1/registries/pipger/devices/esp32_02
Waiting: 5309
Connecting to mqtt.googleapis.com
MQTT connecting ...
projects/spl/locations/europe-west1/registries/pipger/devices/esp32_02
Waiting: 5768
Publish message
Connecting to mqtt.googleapis.com
MQTT connecting ...
projects/spl/locations/europe-west1/registries/pipger/devices/esp32_02
Waiting: 5309
Connecting to mqtt.googleapis.com
MQTT connecting ...
projects/spl/locations/europe-west1/registries/pipger/devices/esp32_02
Waiting: 5268

I auto close the ticket but I leave here reason of problem:
Inside pubSubClient.h. you need to modify:
// MQTT_MAX_PACKET_SIZE : Maximum packet size
#ifndef MQTT_MAX_PACKET_SIZE
#define MQTT_MAX_PACKET_SIZE 512. <------
#endif
// MQTT_KEEPALIVE : keepAlive interval in Seconds
#ifndef MQTT_KEEPALIVE
#define MQTT_KEEPALIVE 60 <-------
#endif
// MQTT_SOCKET_TIMEOUT: socket timeout interval in Seconds
#ifndef MQTT_SOCKET_TIMEOUT
#define MQTT_SOCKET_TIMEOUT 60 <--------
#endif

The advanced example is intentionally disconnecting and reconnecting to demonstrate reconnect. In practice, you would probably not want to do this, so I'll add a comment there.

For your second issue, I'll assume you're using PlatformIO... in this case, you will need to specify a build rule to set the constants.


Allow creating pull request off of existing issue

Incorporating something like this: https://github.com/jehiah/git-open-pull/blob/master/git-open-pull would make it easier to work off of existing issues without having to create a duplicate pull request issue.

I'm gonna take a look at that and see if it makes sense to include that functionality. At first glance I guess it would. Thanks for the suggestion.


support all options in .bandit

Updated flake8-bandit to support all .bandit config options including targets and excludes
cache config parsing so it can be re-used as needed

Breaking change:

python >= 3.6 required

I'm using a number of more modern python features, could of course rewrite with older methods but wanted to write the simple way first unless there are objections; for most projects I've worked on and other frequently used tools, it seems like python 3.6 is a reasonable minimum version (black, pydantic, etc).
Implements additional features as discussed in #3

Thanks @shapiromatron! Any chance you could add a couple tests for common .bandit configs?

Thanks @shapiromatron! Any chance you could add a couple tests for common .bandit configs?

Sure, how do I test? I didn't really understand how to do it with this project.

@tylerwince bump :) don't want this one to get stuck...

It doesn't appear that this has made it into a published version yet, is that correct?

@tylerwince Would you be able to publish a new release?


doc fix

Coverage remained the same at 99.76% when pulling 78bbbd22287782ec49e116343af26a01a52928c6 on ndawe:master into 5824b5416b96085894717e628f9178147357dafc on rootpy:master.

Coverage remained the same at 99.76% when pulling 78bbbd22287782ec49e116343af26a01a52928c6 on ndawe:master into 5824b5416b96085894717e628f9178147357dafc on rootpy:master.


python312Packages.renson-endura-delta: refactor

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 352731

x86_64-linux

:white_check_mark: 5 packages built:

home-assistant-component-tests.renson
python311Packages.renson-endura-delta
python311Packages.renson-endura-delta.dist
python312Packages.renson-endura-delta
python312Packages.renson-endura-delta.dist


feat: implement preliminary multipart package

This PR creates the @hattip/multipart package (for parsing multipart data) and the @hattip/headers package (for parsing header values).
They are both experimental and should not be used in production yet, as they may have security holes.

Closes #24


Fetching a message bigger than max_bytes returns undefined instead of retrying with double the size

Hi,
We stumbled upon an issue related to the max_bytes option.
The expected behavior is that if max_bytes is smaller than one kafka message, we should enter  handle_message_set(#kafka_message_set{messages = [?incomplete_message]},#state{ max_bytes = MaxBytes} = State0) in brod_consumer.erl, where we will try to fetch again with the max_bytes * 2.
However, what we've seen is that when pushing a message larger than max_bytes we never enter this case, as the list received is not  [?incomplete_message] but [{kafka_message,65,1,0,<<>>,undefined,2101125231}].
There is a test in the suite that tests this case, but do you have any idea how we could receive undefined instead of incomplete_message?
Our setup is still 1 client producing sync to kafka and one group consumer (maybe I'll have some time this week to set up a test case that reproduces this issue as well as the min_bytes one :p). Currently our config uses {sleep_timeout, 50}, {min_bytes, 1}, {max_wait_time, 50}, but I played around with the values some and we still see the issue.

looking into it.

this looks like a message of size 0.
what's your brod version and kafka version ?

I updated to the latest brod (2.2.16) and still have the issue.
However, it looks like it's an issue in kafka <IP_ADDRESS> and not <IP_ADDRESS>.

it's <IP_ADDRESS> in trivas.
I will (maybe tomorrow)

if the test case is giving false positive.
test it with <IP_ADDRESS> and <IP_ADDRESS> tomorrow.

We've tested a bit more and we have the error on <IP_ADDRESS> and <IP_ADDRESS> as well.
I also ran your test suite on my machine, and t_consumer_max_bytes_too_small does pass, but adding a log in the function shows that we never actually do the doubling (and an erlang:throw is not tripped either ^^).
So it's looking a lot like the test is giving a false positive from what I can tell :)

The test case is indeed giving false positive for kafka 0.10.
I'll investigate further into the protocol details.
I guess it's because brod is using 0.9 protocol talking to kafka,
then kafka has to downgrade the mesage format in memory before sending to brod.
this downgrade might have discarded the incomplete value field.
we did not notice this in our production even though we are running kafka 0.10
because we configured kafka brokers to store 0.9 message format on disk.

@Kwisatx I know how to fix it. Thanks for reporting this!
Will work on a pr soon.

@Kwisatx it should have been fixed in latest master.
this bug forced us to bump version to 2.3 earlier than expected :)

tagged 2.3.1
thanks again for the awesome tests.

Yep, it's all looking good :).
Thanks for the fix!


C# VS Code says "unresolved dependencies" since .csproj und .sln chaned

Godot version:

Godot_v3.2.2-stable_mono_x11_64
OS/device including version:

OS: 5.7.6-arch1-1
Mono: Mono JIT compiler version 6.4.0
MSBuild: Microsoft (R) Build Engine version 16.5.0-ci for Mono
VSCode: 1.46.1-1
Issue description:

When opening the a .cs script in VS Code it says:
There are unresolved dependencies. Please execute the restore command to continue.

Running a nuget restore solved that problem, but that was never required in older Godot Versions < 3.2.2 . It's since the structure of the solution and project Files changed.
Is that an issue or wanted behavior?

This is wanted behaviour. Godot projects now references Microsoft.NETFramework.ReferenceAssemblies so it can be built without having to install Mono on Linux/macOS or the .NET Framework on Windows. It also allows building the project with the .NET Core CLI.
BTW starting with 3.2.2, Godot will run restore before building the project, so you don't have to run the command yourself, just build the project.

Thank you for the quick respond Ignacio!


Document all pre-1.0 proposals with breaking changes

Use this issue to create a list of all proposals and enhancements, that we want to see in<EMAIL_ADDRESS>and can introduce breaking changes after implementation.

[ ] getting selector snapshot
But in this case we need capability to compare part of element properties with some object, e.g.

await t.expect(Selector('input')).containsProperties({ classNames: 'some-class', innerText: 'some text' });

[ ] eval  action

https://github.com/DevExpress/testcafe-reporter-xunit/issues/2

[ ] Rework the xunit reporter to don't report variable test metadata (screenshot paths, unstable flag, etc.) in test names.

[ ] Remove the second argument of the BrowserProviderPlugin.isLocalBrowser
[ ] Refactor BrowserProviderPlugin feature-detection methods (isLocalBrowser, isHeadlessBrowser, hasCustomActionForBrowser)

[ ] Integrate TestCafe Live to the main TestCafe code


Drop shadow cut off while dragging blocks

Expected Behavior

While dragging a block in the project editor, a drop shadow should be correctly rendered below the block.
Actual Behavior

The drop shadow below a block that is being dragged is simply cut off - its borders are the same as that of the block itself, when in reality, shadows will always have a larger bounding box than the thing they're shadows of. This looks extremely weird.
This is such a common bug, that most people just ignore it. I was surprised to find that I can't see any other issue about this - of course, there could be one in the Bugs and Glitches forum on the website itself, but I don't have the patience to look through those.
Reproduction Steps

Create a new project.
Insert a block into the workspace.
Drag the block.
Observe the block's drop shadow while it is being dragged.

Environment

Windows 10 20H1 x64 build 19043
Microsoft Edge Beta 94.0.992.14

However, I've seen this bug in a lot of tutorials and screenshots - which are in other operating systems and browsers, usually in MacOS using Safari or Chrome.

Here's a screenshot of the shadow getting cut off.


[WFLY-9538] support for -secmgr replaces old flag

retest this please

This is consistently failing on Linux only and on clustering test, SingletonPartitionTestCase.  As far an I can tell this test has no interaction with utility wsproduce.sh.

retest this please

retest this please


MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.10.03

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (@conda-forge-admin, please rerender)
[ ] Ensured the license file is being packaged.

This will enable building for R-3.5.1

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Thanks @ocefpaf !


Fix log section of sample config

Might be useful to compare tomlConfig struct and LogConfig struct.
Steps to reproduce the problem (on fresh env, incl. transocks dependencies):
$ go get github.com/cybozu-go/transocks
$ cd cmd/transocks
$ cp sample.toml /etc/transocks.toml
$ go run main.go
2019-04-21T01:03:18.730787Z ihagopian main error: "undecoded key in TOML: [log_level log_file]"
exit status 1

Additionally from using table, the file field should be filename.
BTW, thanks for building transocks and writing the article.

@jsign Thank you!


cardano-tracer-3712: try Windows tests.

Currently, cardano-tracer still sometimes has problems with Windows tests. It should be investigated deeply and fixed. Particularly, Cardano.Tracer.Test.Logs.Tests is mostly disabled for Windows.
Now, tests are restored.

bors r+

bors r+


fix: Table is not rendered correctly for Azure DevOps

Great, thanks. Could you also check previous versions and the preview? Thanks again.

Great, thanks. Could you also check previous versions and the preview? Thanks again.

No, but I'll open up GitHub Codespaces just for you ;)


Book title: "Pythia Foundations" or "Project Pythia Foundations"?

In preparing a video supplement for the Foundations book (#127), @ncorbin-id has identified an ambiguity in the title of the book.
The landing page and TOC reference "Project Pythia Foundations".
But the Preamble (and possibly elsewhere) repeatedly references "Pythia Foundations".
I think we should choose a title and stay consistent!
FWIW, my vote would be "Pythia Foundations" as the book title.

12/9/21 EWG meeting agreed to settle on "Pythia Foundations" authored by "Project Pythia" per Brian's suggestions here.
@ProjectPythia/outreach ping to make this titling resolution consistent among our efforts as well: Twitter, Medium, portal outreach/contributions etc.

12/9/21 EWG meeting agreed to settle on "Pythia Foundations" authored by "Project Pythia" per Brian's suggestions here.
@ProjectPythia/outreach ping to make this titling resolution consistent among our efforts as well: Twitter, Medium, portal outreach/contributions etc.

Book and portal are now up to date with consistent titling. Do we need to leave this issue open to address any other media?

Discussed briefly at EWG meeting 12/23/2021. Ok to close this now.


Region matching query does not exist.

I installed the package but when I run cities_light command I get that error when script is importing the cities.
Maybe the issue happens when trying to insert a subregion from a non existing region.
def _get_subregion_id(self, country_code2, region_id, subregion_id):
        """
        Simple lazy identity map for (country_code2, region_id,
        subregion_id)->subregion
        """
        country_id = self._get_country_id(country_code2)
        if region_id not in self._region_codes[country_id]:
            self._region_codes[country_id][region_id] = Region.objects.get(
                country_id=country_id, geoname_code=region_id).pk
        if subregion_id not in self._subregion_codes[country_id]:
            self._subregion_codes[country_id][subregion_id] = \
                SubRegion.objects.get(
                country_id=country_id, geoname_code=subregion_id).pk
        return self._subregion_codes[country_id][subregion_id]

On that function on the first if, a query to Region is made and it raises an exception as it doesn't find it but in the outer function calling the above one there is a try except clause but only catches exceptions from non existing Subregions (second if in the above function).
        try:
            subregion_id = self._get_subregion_id(
                items[ICity.countryCode],
                items[ICity.admin1Code],
                items[ICity.admin2Code]
            )
        except SubRegion.DoesNotExist:
            subregion_id = None

So the Region exception goes freely and breaks everything.

Until somebody proposes a fix you can use 3.5.1 which is the same without
sub-regions.

@jitp WIll be good if you share a stack trace of the error that you received and more information about your stack, like os, python version and the version of Django.

@jpic on development is fixed this issue and probably another issue.

Thank you @bomba1990.
I did the same as you did on my local copy of the source code so I could keep going on using it. After that issue another one came up and it's related to some subregions with the same geoname_code. I solved it like this:
       try:
           subregion_id = self._get_subregion_id(
               items[ICity.countryCode],
               items[ICity.admin1Code],
               items[ICity.admin2Code]
           )
       except (SubRegion.DoesNotExist, Region.DoesNotExist):
           subregion_id = None
       except SubRegion.MultipleObjectsReturned as e:
           subregion_id = \
                   SubRegion.objects.filter(
                       country_id=country_id, region_id=region_id, geoname_code=items[ICity.admin2Code])\
                       .all().first().pk
           self._subregion_codes[country_id][subregion_id] = subregion_id

It is a bit out of design but it solved the issue. I think. I'm using python 3.6.9 with django 1.11 on ubuntu 18.04

Yes, I found the same issue @jitp. But I see that the issue was on the _get_subregion_id method, the code for the filter by region is doing by country, I change this to filter by region and work perfectly.

@bomba1990 excellent! I just see your commit with the change in _get_subregion_id.

It looks like this issue was never closed and I'm experiencing the same error.

Debian GNU/Linux 8.11
python 3.6.5
Django 2.2.13
django-cities-light 3.6.0

  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.6/site-packages/cities_light/management/commands/cities_light.py", line 205, in handle
    self.city_import(items)
  File "/usr/local/lib/python3.6/site-packages/cities_light/management/commands/cities_light.py", line 504, in city_import
    items[ICity.admin2Code]
  File "/usr/local/lib/python3.6/site-packages/cities_light/management/commands/cities_light.py", line 282, in _get_subregion_id
    country_id=country_id, geoname_code=region_id).pk
  File "/usr/local/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get
    self.model._meta.object_name
cities_light.models.DoesNotExist: Region matching query does not exist.

I am getting the same error any solution?
Traceback (most recent call last):
File "manage.py", line 30, in
execute_from_command_line(sys.argv)
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/cities_light/management/commands/cities_light.py", line 205, in handle
self.city_import(items)
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/cities_light/management/commands/cities_light.py", line 501, in city_import
subregion_id = self._get_subregion_id(
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/cities_light/management/commands/cities_light.py", line 281, in _get_subregion_id
self._region_codes[country_id][region_id] = Region.objects.get(
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/khalid/Desktop/dukaan/dukandaar-web/dukandaar-web/envv/lib/python3.8/site-packages/django/db/models/query.py", line 406, in get
raise self.model.DoesNotExist(
cities_light.models.DoesNotExist: Region matching query does not exist.

@im-khalidbutt Please open a new ticket with the error that you have, the versions of Django, and if you can provide more information on your existing database.


CHEBI:73856, a synonym is missing

Hello,
CHEBI:53487 all-cis-docosa-7,10,13,16-tetraenoic acid, has synonym 'adrenic acid'
Could you add 'Adrenyl coenzyme A' to CHEBI:73856 (7Z,10Z,13Z,16Z)-docosatetraenoyl-CoA(4-)?
'Adrenyl coenzyme A'  is used in
https://www.vmh.life/#metabolite/adrncoa
and
https://hmdb.ca/metabolites/HMDB0060208
Thank you!
Anne

Adrenyl coenzyme A(4-) now added as a synonym to CHEBI:73856


Backup: Only read up to original size of file during export

This restores old behaviour and prevents lxc export failing when files are being modified inside a running container.
Addresses https://discuss.linuxcontainers.org/t/lxd-export-fails-with-archive-tar-write-too-long/7207

jenkins: test this please


You can ledge grab through the bridge

Just get to the low end, hang on, then, still holding forward, let go of A

You can do this in the original game though, so it's probably not really an issue with sm64js itself I think

yes i found out


Could not determine system version for vsadmin@op**

So trying determine if its a client issue or server issue.
Client Server Centos 7,
Tried server with: Centos7, Docker version 1.11.1, build 5604cbe
And also with:   Centos7,  Docker version 1.10.3, build 20f81ddconfig:
Config:
{
"version": 1,
"storageDriverName": "ontap-nas",
"managementLIF": "<IP_ADDRESS>",
"dataLIF": "<IP_ADDRESS>",
"svm": "o2-vm-01",
"username": "vsadmin",
"password": "******",
"aggregate": "o2_data1"
}

Figured it out , User vsadmin didnt have enough access/permissions

Cool. Was there enough information for you to hunt this down from the netappdvp.log?

(Or did you feel like you were flying blind and stumbled on it some other way?)

Never found a log. find / -name "netapp*"
Our storage guy gave full admin access as a last ditch effort to see if it would work. It did. Next week will be working through what permissions are actually needed. If could provide that, it would be helpful.
Some other questions, Is there a performance benefit using the driver vs mount the file system via NFS to the host. So our concerns with the driver is that it is daemon running on each host that needs to be configured and monitored. So looking for the best solution for a large scale deployment of things like ELK where we may have 200 hosts.
Thanks again, for responding, I work at large bank so starting to go through storage management and performance options for containers.
J.

Huh, should be here: /var/log/netappdvp.log
The log filename might be different if you specified a volume driver name when you started netappdvp.
The DVP isn't in the data path, so one of the things it's doing is performing that mount for you under the covers. There should be no difference in performance, but a significant difference in ease of use/integration into the ecosystem. Perfectly appropriate for larger deployments.
Love to talk more about what you're doing. Hit me up over email and we can chat more<EMAIL_ADDRESS>Cheers!

Hi.
Any chance you have some kind of instruction on which permissions are needed on the NetApp side for this to work? If giving admin is a problem that is.
Thanks

@paveljeloudovski This set of permissions was produced around the 1.0 release.  It may need updated (and we need to properly document them), but hopefully it helps some:
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname DEFAULT -access none
# grant common nDVP permissions
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "event generate-autosupport-log" -access all
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "network interface" -access readonly
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "version" -access readonly
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "vserver" -access readonly
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "vserver nfs show" -access readonly
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "volume" -access all

# grant iscsi nDVP permissions
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "vserver iscsi show" -access readonly
security login role create -vserver [VSERVER] -role ndvp_role -cmddirname "lun" -access all

# create a new nDVP user with nDVP role
security login create -vserver [VSERVER] -username ndvp_user -role ndvp_role -application ontapi -authmethod password```

Thanks @adkerr
We got it working.
One note though that might come handy for anyone encountering a similar problem
The permissions must be set on the cluster level for the plugin to work.
security login role create -vserver [CLUSTER]  - instead of [VSERVER]

@paveljeloudovski Glad to hear it's working for you.  Yes, if your user is cluster-scoped then you must use the cluster name in the vserver argument.  If you were creating a vserver-scoped user then you would use the vserver where the user was created.  Sorry for not making that clear, will make sure it's spelled out clearly when we update the docs.


Chunkwm and Skhd running, but no tiling happening, segmentation errors

Hi,
I migrated my mac to a new macbook, and had issues with chunkwm not working after the migration. I removed and re-installed both chunkwm, skhd and homebrew. After re-installation, it is still not working. Chunkwm and Skhd are both running, but the windows are not resized/tiled, nor can they be controlled. Mac osx sierra
brew services list yields
Name    Status  User    Plist
chunkwm started halvard /Users/halvard/Library/LaunchAgents/homebrew.mxcl.chunkwm.plist
skhd    started halvard /Users/halvard/Library/LaunchAgents/homebrew.mxcl.skhd.plist

chunkc tiling::window --swap east  gives a seg error,
7189 segmentation fault  chunkc tiling::window --swap east
ps aux |grep chunkwm gives
halvard           5526   0.0  0.1  4384532  13924   ??  S    11:28PM   0:00.29 /usr/local/opt/chunkwm/bin/chunkwm
halvard           7198   0.0  0.0  4258468    184 s000  U+   11:52PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn chunkwm

Stopping the brew service, and just running chunkwm directly in terminal gives a long list of segmentation errors, line by line.
Running 0.3.4 of Chunkwm, installed with homebrew using brew install chunkwm
Any suggestions to what I should try?

Update: Resolved.
It turns out that my hosts file did not have localhost defined, so Chunkc was unable to resolve the localhost. Not sure if that was the migration assistant, or a freak error when the high sierra was installed.
Adding <IP_ADDRESS> localhost to the hosts file (can be found in /etc/hosts resolved the issue. Chunkwm is now working like a charm!

took me hours before finding this. Please add it the docs/userguide alongside 'displays have separate spaces'
thank you though! 👍

Honestly doubt this needs to be documented. Not mapping localhost to <IP_ADDRESS> is a configuration error that is probably breaking more than just chunkc.
In the default /etc/hosts file you can find a comment at the top saying this:
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.

<IP_ADDRESS>	localhost
<IP_ADDRESS>	broadcasthost
::1             localhost

Damn, I just lost a considerable amount of time trying to understand why I was getting the Segmentation fault errors. This was the problem for me too.
I also migrated from MacBooks, so I believe Apple's Migration Assistant does not copy /etc/hosts thus you end up with a blank file.
I would love to see this in the docs it would have saved tons of time, I was almost giving up :(


Re-export miniplex from miniplex-react?

miniplex now once again is a peer dependency, so this issue is obsolete.


feat(faq): explain how My Projects works

I've answered this question a few times on Discord. It seems FAQ-worthy.

Thank you so much!


Abend On Window Close

If the GUI window is closed by selecting the window frame close (red) icon, the program terminates abnormally.

Fixed in version 2.5.2


Invert response merging responsibility

Motivation
This PR proposes a way to invert the responsibility for response merging, so that extensions have more control over how they merge themselves into the final result.
Implementation
The idea is that merging the response is no longer implemented in our base listeners. They're instead implemented in extension listeners.
To make sure that extensions are doing the right thing, we created a separate class ExtensionListener, which should be the only one used by extensions. We also marked our other listener classes as private constants, so that only the Ruby LSP can use them.
Let me know what you folks think of the design. This gives more power to extensions, but of course they may accidentally mutate the response in a weird way.
As a follow up, we could write response wrappers for the requests we allow extending, where we hide the original response to minimize potential impact.
Automated Tests
Because Listener is now a private constant, I suggest we namespace all of our tests with RubyLsp. It makes it easier to refer to constants inside the namespace anyyway.

Closing this for now. We'll revisit addon response merging in more detail and make sure the interface sets up authors for success.


Support epytext docstrings

Is your feature request related to a problem?
At the moment, we can only properly understand the Numpydoc format.
Desired solution
Also support epytext.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

Won't work on this since its too niche.

We might get this almost for free by using the docstring_parser, so maybe I'll spend some time on this.


ImportError: No module named 'core'

I tried to run the first example from the manual:
http://nbviewer.ipython.org/github/SheffieldML/GPyOpt/blob/master/manual/GPyOpt_reference_manual.ipynb
The line:
import GPyOpt

fails with the following error:
ImportError: No module named 'core'

Happens on Python 3.4 / Windows 8 x64.
I think the problem is Python 3.x, but I cannot use another version because of other packages... any way to fix this?

Hi stmax82,
we have't done the shift of GPyOpt to Python 3.X as we did with GPy but
this will happen in the upcoming weeks.
I will keep you posted.
Javier
On 24 September 2015 at 15:23, stmax82<EMAIL_ADDRESS>wrote:

I tried to run the first example from the manual:
http://nbviewer.ipython.org/github/SheffieldML/GPyOpt/blob/master/manual/GPyOpt_reference_manual.ipynb
The line:
import GPyOpt
fails with the following error:
ImportError: No module named 'core'
Happens on Python 3.4 / Windows 8 x64.
I think the problem is Python 3.x, but I cannot use another version
because of other packages... any way to fix this?
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPyOpt/issues/3.

Hi! +1 on this, I hit the same the issue

Hmm @javiergonzalezh where are you with this one? @glouppe is mentioning on
twitter he'd be interested in helping, I'm sure you'd be very happy with
that!! I'm sure @mikecroucher would also be happy to provide some informal
advice (when he's recovered from his flu!).
On Sat, Feb 27, 2016 at 7:58 AM, Gilles Louppe<EMAIL_ADDRESS>wrote:

Hi! +1 on this, I hit the same the issue
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPyOpt/issues/3#issuecomment-189603345.

We were planning to address this directly with with the release of the level branch. Because it may take a few weeks to have it fully ready, let me check with @mikecroucher what we can do with the master.   @glouppe, any help is welcome!

I'm almost 100% recovered from flu and itching to get this project converted to Python 3.5. I assume that you'd like it done in such a way that it also runs on Python 2 as a first pass.

@javiergonzalezh I can work on that, while of course maintaining Python 2 compatibility. As a scikit-learn developer, I have experience with that :) Unless @mikecroucher you prefer tackling that yourself?

@glouppe Ideally, I'd like to tackle it together. I think we all have a lot to learn from someone of your experience

That's great guys, thanks a lot. The devel version has a number of new bits and quite a lot code restructuring but it is not fully usable yet (code runs but I need to write some wrappers and tests). Shall we first for the master then?

Sure, lets play.

Okay then, I'll start branching off the master branch and work within my own repo. @mikecroucher I'll give you write access over there so that we can work together. Does it work for you?

sounds great!

Great work all!
On Sat, Feb 27, 2016 at 5:43 PM, Mike Croucher<EMAIL_ADDRESS>wrote:

sounds great!
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPyOpt/issues/3#issuecomment-189689329.


Embedding/weight_random failing: NameError: global name 'random' is not defined

It works only if I change line 160 in chain_breaks.py from "unembedded[v] = random.choice(vals)" to "unembedded[v] = np.random.choice(vals)"
In [284]: next(dimod.embedding.weighted_random(sample, embedding))
NameError                                 Traceback (most recent call last)
 in ()
----> 1 next(dimod.embedding.weighted_random(sample, embedding))
C:\Users\jpasvolsky!git_DocsOS\env\ADTT\dimod\dimod\embedding\chain_breaks.pyc in weighted_random(sample, embedding)
124     for v, chain in iteritems(embedding):
125         vals = [sample[u] for u in chain]
--> 126
127         if _all_equal(vals):
128             unembedded[v] = vals.pop()
NameError: global name 'random' is not defined

Great! I think your fix should be a PR

PR 180.
From: Alexander Condello<EMAIL_ADDRESS>Sent: April 18, 2018 8:43 AM
To: dwavesystems/dimod<EMAIL_ADDRESS>Cc: Joel Pasvolsky<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [dwavesystems/dimod] Embedding/weight_random failing: NameError: global name 'random' is not defined (#179)
Great! I think your fix should be a PR
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/dwavesystems/dimod/issues/179#issuecomment-382432692, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgdtKtO6YA9J_VNxzwu8PddvRuBb_5a6ks5tp17wgaJpZM4TaG6M.


[MM-23833] Fix missing labels in Marketplace modal

Summary
This was broken in https://github.com/mattermost/mattermost-webapp/pull/4567.
I assume the E2E test would have caught this bug, but they are broken for me locally.
Ticket Link
https://mattermost.atlassian.net/browse/MM-23833
Screenshots

To be fair I don't understand enough about E2E test to know if they are broken by code or by my dev environment.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-5266.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed


Fileopenbox Documentation Indicates Wrong Return value

The fileopenbox documentation on the API page says "Returns: the name of a file, or None if user chose to cancel". However, if Cancel is selected the returned value is '.'
>>> easygui.fileopenbox(filetypes = ['*.csv','*.txt'])
'.'

confirmed, even on develop.

confirmed, even on develop.

Fixed so now it returns None.


compiler warning for call to requestFrom

Hi Rob,
Compiling in Arduino IDE 1.8.13 for ESP32 target. Using version 0.1.4 of AM2315
I'm getting following compiler warnings:
"
In file included from /Volumes/develop/Arduino 1.x/libraries/AM2315/AM2315.h:23,
from /Volumes/develop/Arduino 1.x/libraries/AM2315/AM2315.cpp:16:
/Users/xyz/Library/Arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/Wire/src/Wire.h: In member function 'int AM2315::_readSensor()':
/Users/xyz/Library/Arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/Wire/src/Wire.h:104:13: note: candidate 1: 'uint8_t TwoWire::requestFrom(int, int)'
uint8_t requestFrom(int address, int size);
^~~~~~~~~~~
/Users/xyz/Library/Arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/Wire/src/Wire.h:102:13: note: candidate 2: 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)'
uint8_t requestFrom(uint8_t address, uint8_t size);
^~~~~~~~~~~
"
changing type to uint8_t on lines 198 & 199 (var length & bytes) should avoid the warning...
Thanks for the Lib!

Thanks for the issue,
I will look into it asap.

Release 0.1.5 fixes the issue,
if there are still problems reopen this issue or open a new if needed.

I'm confirming, bug fixed with 0.1.5
Big Thanks!


Fixing helm broker port issue

Description
broker port should refer to {{ .Values.broker.service.port }}
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7044 (99cd4e6) into master (6aac7dd) will decrease coverage by 7.94%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #7044      +/-   ##
============================================
- Coverage     73.35%   65.41%   -7.95%
  Complexity       12       12
============================================
  Files          1453     1453
  Lines         72027    72013      -14
  Branches      10428    10428
============================================
- Hits          52837    47106    -5731
- Misses        15663    21503    +5840
+ Partials       3527     3404     -123

Flag
Coverage Δ

integration
?

unittests
65.41% <ø> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Bluetooth: LL split assert on connect

Describe the bug
For a custom nRF52 board I recently switched from 1.14.99 to 2.0.99.
After a connection starts I see:
assert: '!conn->llcp_rx' failed
and then:
[00:02:37.065,216] <err> os: r0/a1:  0x00000003  r1/a2:  0x0000000a  r2/a3:  0x00000001 [00:02:37.065,216] <err> os: r3/a4:  0x0001e96a r12/ip:  0x000000f7 r14/lr:  0x00011073 [00:02:37.065,216] <err> os:  xpsr:  0x6100001b [00:02:37.065,216] <err> os: Faulting instruction address (r15/pc): 0x0001107e [00:02:37.065,216] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops [00:02:37.065,246] <err> os: Current thread: 0x20002228 (unknown) [00:02:37.143,127] <err> os: Halting system
To Reproduce
Compile using (the default)
CONFIG_BT_LL_SW_SPLIT
if I use the
CONFIG_BT_LL_SW_LEGACY=y
option I everything works as usual
I'm happy to add any other tests/debug info that would be useful.
Other Bluetooth options in use
CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_SMP=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CTLR_DATA_LENGTH=y
CONFIG_BT_CTLR_DATA_LENGTH_MAX=247
CONFIG_BT_CTLR_TX_BUFFER_SIZE=266
CONFIG_BT_RX_BUF_LEN=266
CONFIG_BT_L2CAP_TX_MTU=266
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=y
CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=13
CONFIG_BT_PERIPHERAL_PREF_SLAVE_LATENCY=0
CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=42
Expected behavior
No assertion
Impact
annoyance. We'll use the Legacy LL for now.
Environment (please complete the following information):

OS: Linux
Toolchain: Zephyr SDK 0.10.3
Commit SHA: f646f8d0cfd08f4eebff4a3b5bc623701228e650

@aolowin thanks for the report. Can you try again now that we've merged https://github.com/zephyrproject-rtos/zephyr/pull/19137 ?

Same result using commit: 1911a7599c9f02ced307f12f41d376307cf6db47

@aolowin I have seen this recently, and could be a bug in the new controller, there has been some work done in 1.14 controller that needs porting to 2.0. I will post updates here on the fixes.
If you can use nRF sniffer, have your application use SMP debug keys, and capture the on-air traffic, it will be easy for me to reproduce and validate a fix. You may attach the logs to this issue
.
Until then if you are using the legacy controller on the upstream master, please also use:
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_TICKER_COMPATIBILITY_MODE=y

@aolowin any chance you can provide sniffer logs?

Is this what you're looking for? Sorry for the long delay, I got pulled onto another project.
LL-split-19198.zip

@aolowin I cant find a BLE connection in your sniffer log. But, anyway, I have posted a PR, please revert back after testing with #19744

I've tested with https://github.com/zephyrproject-rtos/zephyr/pull/19744 and everything seems to be working correctly now. Thanks!


AI Client?

Hi,
I am trying to reproduce the results in your paper, i.e., conditional imitation learning. I notice that you are collecting data mostly from your AI (I find the corresponding AI codes on the carla server). Is there any convenient way to modify the carla server code so that it loads the built-in AI, instead of listens to the client?  Thanks

Hi,
Do you want to run the AI with or without the client?
If you want to collect data while the in-game AI drives, you should do it from the Python client. In the measurements package that the server sends every frame, it is included the ai_control. This ai_control is the vehicle control that the AI would do this frame. If you want to apply this control to the vehicle, you have to send it back to the server in the control message. We are working on the documentation of the measurements and making a cleaner API for Python, hopefully these things will be clearer soon.
If you mean running the server without a client, you should pass the command-line parameter -carla-no-networking. This way the vehicle is controlled from the keyboard (works like a standard videogame). Then you can enable the AI ("autopilot mode") by pressing "P". But in this mode you cannot extract any images or measurements, this mode is just for testing CARLA, drive around and take a look at the city.

Hi @nsubiron
I want to run with the client. :)
Thanks a lot for your answer. I didn't realize that there is AI control in measurements. Really amazing!

Hi,
@WenchaoDing I have published a gist that use ai_control  for collecting data. It is really rudimental, but for me it works.
Feel free to try it and improve.

Hi @lucosanta
I wrote a similar one and got it work now. Thanks for your answer.
HI @nsubiron
I am confused about the measurements of the traffic sign and speed limit.
In documentation, the description is

Traffic light Contains its transform and state (green, yellow, red). Speed-limit sign Contains its transform and speed-limit.

When I print these states out, I get something like
traffic_light position: (9498.998047,7041.000000,3821.324219) sign:0.000000 traffic_light position: (10272.000000,5285.001953,3821.326172) sign:2.000000 etc
It gives the whole list of traffic sign information on the map. But the position information is confusing (very large compared to vehicle position). And I cannot determine which traffic light or speed limit is taking effect.

@WenchaoDing
The positions are expressed in centimeters ( As in Unreal ) that is maybe why it seems to be very large compared to the vehicle.
We have no yet released a way to determine which is the active traffic light. We leave this decision to the user. Yet, you can use the current car position  and orientation to have a good estimate on that.
Cheers.

Hi...any idea how could this be done in Carla 0.9.6 ?


stockfish: 13 -> 14

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 129207 run on x86_64-linux 1

2 packages built:

stockfish
uchess

Result of nixpkgs-review pr 129207 run on x86_64-darwin 1

2 packages built:

stockfish
uchess

When I run stockfish on macOS, there doesn't seem to be any GUI launched.

Result of nixpkgs-review pr 129207 at 8a275690 run on x86_64-linux 1

2 packages built successfully:

stockfish
uchess

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/games/stockfish/default.nix:59:5:
   |
59 |     license = licenses.gpl2;
   |     ^


[loc][query][VSCode] Please clarify localizability

Hi, we have a question from our translator. Can you help please? Thanks!
Source:
Controls if turning on Zen Mode also puts the workbench into full screen mode.
Hot Exit is now enabled by default
Hot Exit remembers any unsaved files between sessions, so you don't have to save your files before you exit. You can disable this feature with the 'files.hotExit' setting.
File Name:
src\vs\workbench\electron-browser\main.contribution.nls.resx
src\vs\workbench\services\textfile\electron-browser\textFileService.nls.resx
src\vs\workbench\services\textfile\electron-browser\textFileService.nls.resx
Resource ID:
".resx", 0; "fullScreenZenMode"
".resx", 0; "hotExitEducationalMessage"
".resx", 0; "hotExitEducationalDetail"
Query:
Zen Mode and Hot Exit seem to be new features for VSO. Can you please let us know whether their names are translatable or not? I've only seen "hot exit" in lowercase on your page (https://code.visualstudio.com/blogs/2016/11/30/hot-exit-in-insiders)

Zen Mode and Hot Exit seem to be new features for VSO

This is correct.

Can you please let us know whether their names are translatable or not?

Zen Mode - recommend to not translate Zen Mode (which also stands for 'distraction free mode'
Hot Exit - recommend to not translate


Ability to extend this to node classification?

Hello!
Thanks a lot for makinig the histocartography package, and open-sourcing this code. Do you think it'll be possible to generalize this pipeline to node-classification? Currently working on interpretability of my model, and the generated histograms would be incredibly valuable, but it seems like it'll only work for graph classification. Any help on this? Really appreciate it!

Hi,
As you correctly pointed out, the framework is currently able to explain graph classification tasks. In order to extend it to node classification, I would suggest the following steps:

Work with GraphGradCAM, other explainers will require more time and effort to be adapted
Start with this implementation: https://github.com/histocartography/histocartography/blob/main/histocartography/interpretability/grad_cam.py
Assuming you want to explain one node at the time:

you can declare your GraphGradCAM explainer in the same way as for graph classification tasks, ie by providing the model and the names of your GNN layers
the call function will still take a class idx, ie the predicted class probably and the predicted logits for the query node
the _get_weights should still be the same (line 110)
line 114 to 118 need to be adapted

Hope this helps


Improved security, now based on generated RSA asymmetric encryption.

The server now takes in an encrypted string, decrypts, and then tries to authenticate the user.

More stuff added, only uses strings, not byte arrays.
GET at /auth/key to get the RSA pubkey (to encrypt your password)
POST at /auth with "utorid, password" where password is your encrypted password.

why? nothing is stored.


Segment bugfix

If no command specified args has command key, but it equals None

@tamarrow Please change the name of the PR to be more descriptive.

LGTM!

Can we add a tests for this?

updated with test


[WFLY-20176] Use ModuleDependency.Builder instead of deprecated ModuleDependency ctor in JSF

https://issues.redhat.com/browse/WFLY-20176

Hi @ropalka Please reopen once nearly all the 35.x PRs are processed.


Pacman should stop when, moving into a wall

Won't fix. Team decided to decline the branch associated with this issue.


Outdated

@Valkhan commented on Mon Apr 22 2019
There is no App Configuration menu, only Configuration that does not have PHP stack anymore.

Detalhes do documento
⚠ Não edite esta seção. É necessário para a vinculação do problema do docs.microsoft.com ➟ GitHub.

ID: 5e564777-8d59-9065-6f0d-d8ea3fc6ee62
Version Independent ID: ec93756c-4d7f-efc8-a8ca-9b87d1be8ac3
Content: Configurar o tempo de execução de PHP – Serviço de Aplicativo do Azure
Content Source: articles/app-service/web-sites-php-configure.md
Service: app-service
GitHub Login: @msangapu
Microsoft Alias: msangapu

Hi team,
the user reports some of the content is out of date
kind regards

@CeciAc  thanks for bringing this to our attention. I have assigned the issue to the content author to evaluate and update as appropriate.

Hi team, I have addressed this internally at: https://github.com/MicrosoftDocs/azure-docs-pr/pull/74346
Will be pushing the changes to master shortly.

This has been updated. #please-close

@msangapu-msft
Is this update already in production? because i've taken a look at the docs and the "Application Settings" is still visible but it has been deprecated from Azure Portal, We can access only "Settings".
https://docs.microsoft.com/pt-br/azure/app-service/web-sites-php-configure
This is the imagem i'm talking about:
https://docs.microsoft.com/pt-br/azure/app-service/media/web-sites-php-configure/application-settings.png
I came to this docs looking for instructions on how to change PHP version on the new version of Azure Portal.

The doc steps have been updated in the en-us locale. https://docs.microsoft.com/en-us/azure/app-service/web-sites-php-configure
@CeciAc Is there an ETA on localization?

adding to the thread @ishasahni1

The doc steps have been updated in the en-us locale. https://docs.microsoft.com/en-us/azure/app-service/web-sites-php-configure
@CeciAc Is there an ETA on localization?

Thank you, now i've been able to find what I was looking for. Congratulations to everybody!

We will now proceed to close this thread.