about the 'auth_database' and 'DBNAME' problem

I use MongoDB3.0 and  Flask-PyMongo 0.5.1 and Python2.7
this is my DB config:
MONGO_HOST = '<IP_ADDRESS>'
MONGO_USERNAME = 'mongo'
MONGO_PASSWORD = 'xxxxxxx'
MONGO_PORT = 27017
MONGO_DBNAME = 'test'
MONGO_READ_PREFERENCE = 'SECONDARY_PREFERRED'
MONGO_REPLICA_SET = '27017'
MONGO_CONNECT_TIMEOUT_MS = 20000
I want to use 'test' DB(DBNAME = 'test'), but the program always tell me  ' Authentication failed'
I check the mongoDB's log, and found the message like this  " UserNotFound Could not find user mongo@test"
My user's information is in the 'admin' ,not in the 'test'.
Then I found the code in the file names 'init.py' ,and the file is in the package named 'flask_pymongo'
code in 128 lines is :
auth_database = 'admin'
code in 165-166 lines is :
if key('DBNAME') in app.config:
auth_database = app.config[key('DBNAME')]
I mean,after that code the  'auth_database' is not I wanted.
I want the auth_database='admin' and MONGO_DBNAME = 'test'
They are different.
Can you  give us the config paramer  like ``MONGO_AUTH_DBNAME='admin'`?
Thanks

I may have introduced a bug in 0.5.1, but could you please test with MONGO_AUTH_SOURCE or the authSource parameter in the query string? The value for either of those should be "admin" in your case (or generally, the DB in which the user you're authenticating at resides). From my reading of https://docs.mongodb.com/manual/reference/connection-string/, it seems like this ought to work, unless something I've done in Flask-PyMongo is preventing it from working.

It is working now .
MONGO_AUTH_SOURCE = 'admin'
Thinks a lot.


Multigrid: telescope.nvim plugin text is burred

When I enable multigrid, the telescope.nvim plugin's popup windows have blurred text. The popup window outlines are solid, but the contents are blurred and dimmed, as if they are in the background.
I'm reporting this here, but I'm not really sure if this is a telescope issue or a Neovide issue.

I'm using Neovide built today from e1d8d404167f5c6d5471ce1404493eb1805e94d2 (main) on Linux using Rust 1.50.0 stable.

I only just noticed, but further, the actual buffer is not blurred.

(I deleted a comment about the buffer behind not being blurred because I was just crazy — it's not supposed to be.)

This is a known issue. Telescope renders two windows, and neovide doesn't have a way to turn off window background blurring on a per window basis. The change to enable that is somewhat involved because it requires reworking the setting syncing logic. Its in progress, but I haven't gotten the time to go hammer it out yet.

Understood. Thanks for letting me know; I'm happy to use Neovide without multigrid until that's resolved, but I get it may be low priority.

its actually relatively high priority. The new multigrid stuff is awesome and I'd like to get it running for most people

I really love multiGrid mode and can't work without smooth scroll anymore!
So maybe someone would be interested in quick and dirty workaround for this - I disabled border from plenary.nvim that is used by popup.nvim plugin and use builtin neovim border. It does not support window titles but it looks like this:

To apply this go to directory where popup plugin sits, for me its ~/.local/share/nvim/site/pack/paqs/start/popup.nvim
Create file no-border.patch with diff below and git apply no-border.patch
diff --git a/lua/popup/init.lua b/lua/popup/init.lua
index 8d8fe6e..d036700 100644
--- a/lua/popup/init.lua
+++ b/lua/popup/init.lua
@@ -157,6 +157,10 @@ function popup.create(what, vim_options)

   win_opts.style = 'minimal'

+  if vim_options.border then
+      win_opts.border = 'single'
+  end
+
   -- Feels like maxheigh, minheight, maxwidth, minwidth will all be related
   --
   -- maxheight  Maximum height of the contents, excluding border and padding.
@@ -328,7 +332,7 @@ function popup.create(what, vim_options)

   local border = nil
   if should_show_border then
-    border = Border:new(bufnr, win_id, win_opts, border_options)
+    --border = Border:new(bufnr, win_id, win_opts, border_options)
   end

   if vim_options.highlight then

Closing in favor of more detailed issue https://github.com/Kethku/neovide/issues/589

@Kethku I had a look at #589, and that seems to be more about font rendering than multigrid. It's possible I'm missing a more fundamental issue that underlies both, but I feel like this is different.

https://github.com/Kethku/neovide/issues/720 woops this is the one I meant

let g:neovide_window_floating_opacity=1

I'm using this as workaround, floating windows are not longer transparent, but other features of multigrid working fine.

I'm using this as workaround

Tried it, but the telescope windows just become the same color as the background instead of transparency.

Hmmm, i must've changed some other option too. Yes.
let g:neovide_window_floating_blur=0

This one.

let g:neovide_window_floating_blur=0

Tried this one too. The result is the same as above :(

Oh, i found one more constraint. It works only until you resize neovide window :)

Or maybe you should resize it to some magick size.
Better to wait for proper fix :)

Hmmm, i must've changed some other option too. Yes.
let g:neovide_window_floating_blur=0

This one.

I noticed that this fix with opacity fix works nicely, but randomly
Simply reopening popup window until text is rendered correctly solves the issue :D
However it can mean that it somehow depends on the order or priority of settings. May be some neovide or Neovim settings cause a bug if loaded in wrong order?


Unable to start REPL with dependencies

Here is an example project where I have tried to use this plugin to drop into a Kawa REPL with dependencies managed by Maven: https://github.com/logc/kawa-joda
I intended to use org.joda.time as an example, however I can't drop into a REPL, even without the extra dependency. What am I doing wrong?
$ mvn com.github.arvyy:kawa-maven-plugin:repl
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.github.logc:kawa-joda >----------------------
[INFO] Building kawa-joda 0.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- kawa-maven-plugin:0.0.4:repl (default-cli) @ kawa-joda ---
Error: Could not find or load main class kawa.repl
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.468 s
[INFO] Finished at: 2020-11-03T21:25:24+01:00
[INFO] ------------------------------------------------------------------------

... and let me also thank you for writing this plugin! I am just starting to play with Kawa, so possibly I am overlooking very obvious things. :smile:

You should remove <scope>provided</scope> line on the kawa dependency. With provided scope, maven won't download kawa distribution from central repository and won't add it to classpath automatically for you.

Ah, I see! I have fixed this in the example repo, added joda-time, and now it loads in the REPL correctly:
λ mvn com.github.arvyy:kawa-maven-plugin:repl
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.github.logc:kawa-joda >----------------------
[INFO] Building kawa-joda 0.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- kawa-maven-plugin:0.0.4:repl (default-cli) @ kawa-joda ---
#|kawa:1|# (import (class org.joda.time LocalDate))
#|kawa:2|#


[WFLY-20084] With ts.bootable, ensure the test-feature-pack is built …

…before ts/int/basic runs
Follow up work on https://issues.redhat.com/browse/WFLY-20084, the initial bit on which broke PR CI with -Dts.bootable.

Thanks @jamezp and @jasondlee


Initial implementation of the Event Bus (INotifier)

This implementation uses emit to support duck-typing of data for
notification events on Net45 and DNXCore50.
For now the initial dispatch or 'splat' of event data is done using
reflection. Next change will update it to also use code generation.

Hi @rynowak, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

/cc @davidfowl - if you want another repo please create it and I'll move the PR there :rocket:

@rynowak With the way you said "This implementation uses emit to support duck-typing of data for
notification events on Net45 and DNXCore50." Does this mean that you are expecting this to change or was it just info about the implementation for people info?

This implementation uses emit to support duck-typing of data for
notification events on Net45 and DNXCore50

Mostly informative. There's also no emit on portable 159, so if we care about event bus on that platform it comes without duck-typing.

Humm how do we fix this! We need it for core and we need it to have duck-typing! Who do we need to bribe, beg to, have a hit man sent after ( @davidfowl your our hitman :D ), etc???

There is duck-typing support on CoreCLR/dnx.
Portable Profile151 includes windows phone and store apps where there is no support for codegen/emit. We have some libraries that produce an additional flavor for this platform in addition to ney45 and dnxcore50

Sounds good to me.

Moving this PR to another repo.

Which repo it go to?

(will be going to) https://github.com/aspnet/EventNotification/

Thanks!
On 13 May 2015 at 16:10, Ryan Nowak<EMAIL_ADDRESS>wrote:

(will be going to) https://github.com/aspnet/EventNotification/
—
Reply to this email directly or view it on GitHub
https://github.com/aspnet/Logging/pull/181#issuecomment-101844876.


Bluetooth address 00000000

After openup and try soldering again, I got it recognised in mac #101, but unable to discover or be discovered by other device, also no luck with airdrop.

So it's soldering problem or hardware problem or mac problem?

Please follow the way in https://github.com/stevezhengshiqi/XiaoMi-Pro/issues/7. If you are using Xiaomi-Pro, you have to disable your native bluetooth to enable other bluetooth module.

If you are using Xiaomi-Pro, you have to disable your native bluetooth to enable other bluetooth module. Please follow the way in stevezhengshiqi#7.

I'm pretty sure that I have replaced that next... maybe got overwritten when I pull the repo to update efi, after replacing the kext no Bluetooth device found.. so must be something went wrong with soldering.... sorry for that... I will try resolder tomorrow, any tips are welcome.


Typings

Is it possible to create typings for typescript? My knowledge in typescript is still very limited and I'm having a hard time to get this working.
Any help would be appreciated.

I can do that 🐰.

@WebDevTmas @msoltysik would either of you be willing to add your review for #277 ?
If it looks good we can merge it.


Enable config instrumentation.thread.tracing by default

This configuration option is disabled by default due to the possibility of enabling this causing a breaking change for some users using custom instrumentation inside of threads. Our next major release should enable this by default to allow all users threads to be automatically instrumented.
Must have

Please add your estimate, @tannalynn and @hannahramadan :)


Tooltip to sidebar icons

Reason/Context
Description
Please try answering a few of those questions

What changes have to be introduced?

Add tooltip to sidebar icons and visualizer icons

Will this be a breaking change?

No

Screenshot

I would like to  work with this enhancement


FIle not found when using array of multiple sited on sftp.json

Expected Behavior
To download an syn file to:
workspace/david (from remote /homer/david/)
workspace/freeswitch (from remote /etc/freeswitch/)
Actual Behavior
VisualCode error "file not found"
Steps to Reproduce the Problem

create a new folder
add sftp.json with the following:

[
    {
        "context": "david",
        "host": "<IP_ADDRESS>",
        "port": 22,
        "username": "root",
        "password": null,
        "protocol": "sftp",
        "agent": null,
        "privateKeyPath": "/Users/david/.ssh/id_rsa",
        "passphrase": null,
        "passive": false,
        "interactiveAuth": false,
        "remotePath": "/home/david",
        "uploadOnSave": true,
        "syncMode": "update",
        "watcher": {
            "files": false,
            "autoUpload": false,
            "autoDelete": false
        },
        "ignore": [
            "**/.vscode/**",
            "**/.git/**",
            "**/.DS_Store"
        ]
    }
    ,
    {
        "context": "freeswitch",
        "host": "<IP_ADDRESS>",
        "port": 22,
        "username": "root",
        "password": null,
        "protocol": "sftp",
        "agent": null,
        "privateKeyPath": "/Users/david/.ssh/id_rsa",
        "passphrase": null,
        "passive": false,
        "interactiveAuth": false,
        "remotePath": "/etc/freeswitch",
        "uploadOnSave": true,
        "syncMode": "update",
        "watcher": {
            "files": false,
            "autoUpload": false,
            "autoDelete": false
        },
        "ignore": [
            "**/.vscode/**",
            "**/.git/**",
            "**/.DS_Store"
        ]
    }
]

Click on sftp->Download

Requisites (important to diagnose the problem!)
Extension Logs
[set option sftp.printDebugLog to true, then reload vscode, reproduce the problem, get the logs(view -> output-> sftp)]
Specifications

Version:
Platform:

Please provide the logs.

Sorry about that, I saw the requirement, but wasn't sure how to get the logs. Here they are:
[info] config at /worksapce/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/worksapce/david"}
[info] config at /workspace/freeswitch {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/etc/freeswitch","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/workspace/freeswitch"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[info] config at /worksapce/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/worksapce/david"}
[info] config at /workspace/freeswitch {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/etc/freeswitch","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/workspace/freeswitch"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[info] config at /worksapce/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/worksapce/david"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[info] config at /worksapce/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/worksapce/david"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: SyntaxError: /Users/david/Documents/local_ubuntu/.vscode/sftp.json: Unexpected token , in JSON at position 689
at JSON.parse ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/node_modules/jsonfile/index.js:36:18
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:439:3)
[info] config at /worksapce/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/worksapce/david"}
[info] config at /workspace/freeswitch {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/etc/freeswitch","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/workspace/freeswitch"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: SyntaxError: /Users/david/Documents/local_ubuntu/.vscode/sftp.json: Unexpected token } in JSON at position 686
at JSON.parse ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/node_modules/jsonfile/index.js:36:18
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:439:3)
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: Error: (/Users/david/Documents/local_ubuntu/.vscode/sftp.json) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: SyntaxError: /Users/david/Documents/local_ubuntu/.vscode/sftp.json: Unexpected token } in JSON at position 675
at JSON.parse ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/node_modules/jsonfile/index.js:36:18
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:439:3)
[info] config at /Users/david/Documents/local_ubuntu/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/Users/david/Documents/local_ubuntu/david"}
[info] config at /Users/david/Documents/local_ubuntu/freeswitch {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/etc/freeswitch","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/Users/david/Documents/local_ubuntu/freeswitch"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[info] config at /Users/david/Documents/local_ubuntu/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/Users/david/Documents/local_ubuntu/david"}
[info] config at /Users/david/Documents/local_ubuntu/freeswitch {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/etc/freeswitch","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/Users/david/Documents/local_ubuntu/freeswitch"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[info] config at /Users/david/Documents/local_ubuntu/david {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/home/david","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/Users/david/Documents/local_ubuntu/david"}
[info] config at /Users/david/Documents/local_ubuntu/freeswitch {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"root","password":null,"connectTimeout":10000,"agent":null,"privateKeyPath":"/Users/david/.ssh/id_rsa","passphrase":null,"interactiveAuth":false,"secure":false,"secureOptions":null,"passive":false,"remotePath":"/etc/freeswitch","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":["/.vscode/","/.git/","/.DS_Store"],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":512,"context":"/Users/david/Documents/local_ubuntu/freeswitch"}
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)
[error]: Error: (/Users/david/Documents/local_ubuntu) config file not found
at Object.getConfig (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/modules/config.js:133:15)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:28:41)
at Generator.next ()
at /Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:7:71
at Promise ()
at __awaiter (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:3:12)
at FileCommand.handleFile (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:25:16)
at pendingTasks.concat.map.target (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:72)
at Array.map (native)
at FileCommand. (/Users/david/.vscode/extensions/liximomo.sftp-1.1.6/out/src/commands/FileCommand.js:45:53)

You config context are /Users/david/Documents/local_ubuntu/david  and /Users/david/Documents/local_ubuntu/david. You could only get sftp worked under these two directory. The /Users/david/Documents/local_ubuntu/ is parent of them.

Hello, thanks for helping me out.
I don't understand what you mean, can you provide a working sample?

Just use a single config with context setting to  /Users/david/Documents/local_ubuntu/

I first had to do "sftp: upload" and then "sftp:download" on each of the directories.
No, you needn't.  You can invoke sftp:download from the Command Palette(ctrl/cmd + shift + p).

Greetings. I have the same problem, but i fix with specified context, example:
"context": "/laragon/www/project/"


Android ResideMenu Shadow

Hi, i was running through my view Hierarchy and the i stop on the reside menu.
I see that the Image View For the shadow is taking a lot of time to Draw is it normal or is there a way to improve this.

Maybe you can tell me too, why there is 3 layout for the reside menu??
What is TouchDisableView and Action Bar Overlay Layout??
Thanks


how to fix colcon build ros2

[0.720s] ERROR:colcon.colcon_core.package_discovery:Exception in package discovery extension 'prefix_path': object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/package_discovery/init.py", line 250, in _discover_packages
descs = extension.discover(
File "/usr/lib/python3/dist-packages/colcon_installed_package_information/package_discovery/prefix_path.py", line 30, in discover
num_packages = len(packages)
TypeError: object of type 'NoneType' has no len()

This is a duplicate of #2, so closing.


Crash when editing a published article

Ghost Version: 3.12.0
Installed from Docker image ghost:latest

I have an article with code highlights and images.  After publishing, I then go back and unpublish.  I start to make some changes (doesn't seem to matter what changes I make).  I observe a crash in the console (attached). At this point the changes are not saved and when I go back to "posts", I receive a warning saying that my changes are unsaved.
This is reproducible, happens every time.
I peered into the code and it seems it's trying to make an animation at that point on an element that does not exist and bombs out.

PS - Congratulations on this excellent project.

Hey @chrishornmem 👋 This was fixed in Ghost 3.12.1 that was released a couple of days ago, an upgrade should sort it out for you 🙂
Closing as a duplicate of https://github.com/TryGhost/Ghost/issues/11685, https://github.com/TryGhost/Ghost/issues/11689 and https://github.com/TryGhost/Ghost/issues/11693

@kevinansfield thanks for quick reply.  Looks like latest docker is still 3.12.0?
https://github.com/docker-library/ghost/blob/698b7407674e87fc0519d173e7da877e02171e71/3/debian/Dockerfile
Do you know when the image will be updated?
Keep up the great work.

@chrishornmem the docker image is a community project and not supported by the Ghost team. You'll need to ask over on https://github.com/docker-library/ghost

Ok thank you

On 30 Mar 2020, at 14:05, Kevin Ansfield<EMAIL_ADDRESS>wrote:
@chrishornmem https://github.com/chrishornmem the docker image is a community project and not supported by the Ghost team. You'll need to ask over on https://github.com/docker-library/ghost https://github.com/docker-library/ghost
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/TryGhost/Ghost/issues/11697#issuecomment-605986436, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXYTXGD6TZXHTDDSA5KKQTRKCKJVANCNFSM4LVVZTHQ.


Error : The Content-Range header length does not match the provided number of bytes

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
When I save the Draw.io project into OneDrive or Google Drive by app.diagrams.net , and the navbar pop-out  the alert like this: Unsaved changes
and I click the yellow button and Draw.io show this message Error saving file : The Content-Range header length does not match the provided number of bytes.
I click the "try again" button but Draw.io can't save this project loop.
To Reproduce
Steps to reproduce the behavior:

use a lot of UML object and screenshot in app.diagrams.net. Please click this to see the screen
duplicate this page to 5 page
Draw.io pop-out error message in navbar
Click this error button
pop-out the error message :  Error saving file : The Content-Range header length does not match the provided number of bytes.
Click "try again" button but Draw.io can't save this project and show this error message loop.

Expected behavior
I can save this Draw.io project.
Screenshots
Please see upper url.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 15.9.4

Desktop (please complete the following information):

OS: Windows 10 Professional
Browser: Chrome
Version 96.0.4664.93 64 bit

Smartphone (please complete the following information):
no use smartphone
Additional context
【 Please note this】
When I rename page name to number, it can save like this.
Or delete one page but no change page name, it can save like this.

@mararad please check with file > 4MB

I created the 4.8 MB file. Tested in Chrome Version 96.0.4664.93 (Official Build) (64-bit), Win 10 Pro and diagrams.net 15.9.4

Reproduced the error when I tried to save it to OneDrive in Chrome.

When diagram pages were renamed to simply 1,2,3,4 and 5 there were errors in console but the file was saved to OneDrive

The same file was saved to Google Drive successfully

@mararad @davidjgraph   Thank's for your reply.
Please see this test VOD and use this test project.
This draw.io project is changed screenshot photo to desktop background and replace some keywords by our original project.
I save this test project and share you test, you can refer to these reference.


Cannot compile the lib on Linux x86_64

This is the log: https://ghostbin.com/paste/kq2em

Interesting!
What's your Rust/Cargo version? Where did you install it from?
Also, you're trying to compile it on root? I mean, I'm flattered by the trust you place in my library, but that's kinda dangerous isn't it? (;

I'm running inside a Docker container(https://hub.docker.com/r/janerik/rust-emscripten/), it's probably because my Rust is 6 months old :/. Thanks for the help

That's what I thought.
I'm curious - could you check which exact version of Rust that container has? (rustc --version)
Well, yeah, unfortunately installing emscripten is a pain, although I might try to do something about it in the near future. (I have an emscripten Travis build bot set up; I just need to hook it up to cargo-web.)

root@3d13feba5294:/asmjsvm/src# rustc --version rustc 1.14.0-nightly (3caf63cc0 2016-10-24)

I've added automatic Emscripten installation to cargo-web (Linux/x86-64 only for now), so hopefully now it won't be necessary to use antiquated containers just because they have Emscripten bundled.


ExistValidator, targetRelation does not work when owner and related active record use different db connection

What steps will reproduce the problem?
class Unit extends \yii2tech\filedb\ActiveRecord
{
}

class Product extends \yii\db\ActiveRecord
{
    public function getUnit()
    {
        return $this->hasOne(Unit::class, ['id' => 'unit_id']);
    }

    public function rules()
    {
        return [
            [['unit_id'], 'exist', 'targetRelation' => 'unit'],
        ];
    }
}

$product = new Product(['unit_id'=>1]);
$product->save();

What is the expected result?
No errors.
What do you get instead?
Calling unknown method: yii\db\Connection::getQueryProcessor()
It tries to use Product connection instead of Unit connection to read data.
It worked ok on <IP_ADDRESS>
Additional info

Q
A

Yii version
2.0.?

PHP version

Operating system

Looks like
https://github.com/yiisoft/yii2/commit/1474e2d61a46b36d824a4211d89d42ed9268619c#diff-a183cabc1fe0fc2db443994c8400c1a806fdaad8c9eb5fc189bedeb5d4e31e3d
broke previous functionalty

@WinterSilence please take a look at this.

@bizley
problem not in current PR. You can revert changes and try run given example at $forceMasterDb = false - no effect. To fix it method must use $relationQuery->primaryModel::getDb() instead $model::getDb(), but it's broke logic of $forceMasterDb

looks like if we use
$exists = $connection->useMaster([$relationQuery, 'exists']);
current $connection passed to exists() method of $relationQuery
if we use
            $exists = $connection->useMaster(function() use ($relationQuery) {
                return $relationQuery->exists();
            });

passed null

@phrakon you right, $forceMasterDb ignored in any case

Anyway, my case should use forceMasterDb=false.
I think your commit fixed an old error. It should be
 $exists = $connection->useMaster(function($db) use ($relationQuery) {
                return $relationQuery->exists($db);
            });

useMaster passes current connection to related. I was wrong to use forceMasterDb=true, and the mistake confused me.

@phrakon

I think your commit fixed an old error.

yes. but I'm didn't thinked problem was "deeper".

The case two errors are getting code work :) My opinion, they should make forceMasterDb equals false by default

@phrakon your code.
@bizley Еxplore problem:

"master DB" is connection using in $model i.e. $model::getDB()
$relationQuery->exists(); use connection $relationQuery->primaryModel::getDb()
If $forceMasterDb is true, then must be $relationQuery->exists($model::getDB());
I'm right?

I need to take a closer look at this since I didn't expect that your update would cause problem, it looked all right. Let me get back to you with this.

@bizley I already said that problem was even before my PR, I'm only fix it. it's happened because your tests don't cover it. $forceMasterDb must be false by default.

@phrakon can you confirm this? You said it was ok on <IP_ADDRESS>

@bizley what does @phrakon have to do with it? what will change if I'm set $forceMasterDb = false? Nothing? (:

I solved it by adding forceMasterDb = false. I wrote above, it looks like @WinterSilence fixed an old bug. My opinion is that you should set forceMasterDb = false by default several year ago (when the feature was implemented).
It broke my code due to the fact that I did not study the validator well enough, and an error in the framework did not allow it to be immediately identified. Those on the one hand, it would be necessary to accept the fix, on the other hand, it can break the code of someone like me.

after deep exploring i'm find answer - method have invalid logic and use $model::getDB() instead $relationQuery->primaryModel::getDb():
private function checkTargetRelationExistence($model, $attribute)
{
    $exists = false;
    $method = 'get' . ucfirst($this->targetRelation);
    /** @var ActiveQuery $relationQuery */
    $relationQuery = $model->{$method}();
    if (!$relationQuery instanceof ActiveQuery) {
       throw new \yii\base\InvalidValueException(
          'Method ' . get_class($model) . '::' .  $method . ' must return instance of yii\db\ActiveQuery'
       );
    }

    if ($this->filter instanceof \Closure) {
        call_user_func($this->filter, $relationQuery);
    } elseif ($this->filter !== null) {
        $relationQuery->andWhere($this->filter);
    }

    if ($this->forceMasterDb && $relationQuery->primaryModel instanceof ActiveRecord) {
        $connection = $relationQuery->primaryModel::getDb();
        $exists = $connection->useMaster([$relationQuery, 'exists']);
    } else {
        $exists = $relationQuery->exists();
    }

    if (!$exists) {
        $this->addError($model, $attribute, $this->message);
    }
}

Also, I'm found many LSP BC in class ActiveRecord, but we skip this now..

"master DB" is yii\db\Connection::$master

I can confirm that even though DB connection from the second model is used the called method comes from the first model.

@WinterSilence that won't work - primaryModel points to the parent model so it won't use relation model's query object. I've got some idea to just fetch the relation model and use that but we will lose benefits of just calling exists().

Yes, $relationQuery->modelClass points to the relation model. Current implementation is to call exists() on the primary model relation method and that is the problem.

I'm updating the title of the issue because it's wrong.

@samdark this shouldn't be closed as I understand, even after rollback (which is weird anyway because WinterSilence said that this is not a problem in his update - I agree with that - and yet he rolled it back) the problem is still here. I've tested it on a previous implementation.


Create locale_ru.xml

Hi, thanks for your submission. I forgot to reflect the most recent change in the translation files and just pushed a new commit to fix that. Can you update your translation to include the Total Quality parameter, please?
Note: The cut recommendation was misleading; The quality is called "Total Quality" since there will be additional quality parameters in future like length quality, convexity quality and shape quality, which is what the game calculates first behind the scenes

Done

Merged. Thanks for your contribution!


Improve Error Handling

Set up an action/reducer-based system for error handling and display.

I ... have no idea how I opened this here. Was meant for an entirely different repo. Sorry!


Documentation is missing for some http endpoints

Documentation is missing for those end points below:

execute_action                                POST, OPTIONS                  /conversations/[sender_id]/execute
log_message                                   POST, OPTIONS                  /conversations/[sender_id]/messages
predict                                            POST, OPTIONS                  /conversations/[sender_id]/predict

please refer the attached images.

Thanks for raising this issue, @tmbo  will get back to you about it soon.

you are just in time 😄 - we actually just released a new major version which adds all of the above to the documentation in a new format:
https://rasa.com/docs/core/server/#operation/predictTemp
Let me know if there is something else you are missing.


Add GPU support for basic ML algorithms like TRF fitting

It would be great if cuML models were directly compatible with naplib's TRF function.
Probably need to either allow input data to be of type cupy.ndarray and check to see if this is the type, or just assume it is one case or the other.

After testing, current naplib.encoding.TRF can take a cuML.linear_model instance and everything still works great


Release 8.1.0

Summary of the Pull Request
Release 8.1.0
Added

Agent: Added coverage percentage in Cobertura reports #3034
Agent: Added maxPerPage to ORM #3016
CLI: Added onefuzz containers files download command to download the blob content to a file #3060

Changed

Agent: Reconfigured OneFuzz agent to not consume S_LABEL symbols from PDBs #3046
Agent: Update elsa::sync::FrozenMap now implements Default #3044
Agent: Updated agent to use insta Rust crate for snapshot tests of stacktrace parsing #3027
Agent/CLI/Deployment: Rework events to limit how much data we're attempting to send to Azure queues #3069
Agent/Service: Bumped Rust version, several Rust dependencies, and several C# dependencies #3049, #3037, #3031, #3023, #2972, #2814, #3052, #3067, #3068, #3056, #2958
Service: Made our validation errors more specific so that we can handle them appropriately and reference them in documentation #3053
Service/CLI: Updated the Azure DevOps logic to consume the list of existing items once #3014
Service: Cap recursion in ORM #2992
Service: Collect additional report field in an ExtensionData property #3079

Fixed

Agent: Parse .NET exception stack traces when we see them in crash log outputs #2988
Agent: Tweaked some of the parameters for the agent's logging to avoid task logger occasionally skipping messages #3070
Agent: Allow libfuzzer verification to retry #3032
Agent/CLI: Added new endpoint to update the pool authentication in order to fix multiple stop messages from being sent after node shuts down #3059
CLI: Changed --check_fuzzer_help to --no_check_fuzzer_help #3063
Service: Include exception information when validation fails #3077
Service: Added another truncation case for 'Request body too large...' errors #3075
Service: Fixed the logic for marking task as failed #3083

Codecov Report

Merging #3086 (d22b4b6) into main (4044e5c) will decrease coverage by 1.97%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3086      +/-   ##
==========================================
- Coverage   31.75%   29.78%   -1.97%
==========================================
  Files         307      127     -180
  Lines       36770    13884   -22886
==========================================
- Hits        11678     4136    -7542
+ Misses      25092     9748   -15344

see 180 files with indirect coverage changes


feat: remove -wip suffix in metrics packages

Which problem is this PR solving?
These packages are already been marked as private, so they don't get published before they are ready to go.
Refs: https://github.com/open-telemetry/opentelemetry-js/pull/2871#discussion_r836905154
Type of change

[x] New feature (non-breaking change which adds functionality)

Not really a new feature. This is breaking but we have not published these packages yet so I just marking it as new-feature as it is kinda significant.
Checklist:

[x] Followed the style guidelines of this project

Well, not all packages that depends on @opentelemetry/sdk-metrics-base has been updated to the latest API definition.

This has done in #2871


Face Recognition Inaccurate

I know viseron only leverages the functionality provided by dlib for Face Recognition. However, it is regularly incorrectly recognizing faces (i.e. there is a face in the stream, but it is not the face that has been detected).
Is there a way to get a confidence score into the binary_sensor for face detection? Or, alternately, a way to only indicate a particular face if the confidence is over a certain value? This would allow me to know whether I should trust the data received.
Finally, if dlib could produce more debugging information, I'd be able to determine which face image was being matched incorrectly and potentially, remove that image from the reference.

I can look into getting more confidence values in the binary_sensor.
It would also be possible to make the sensitivty configurable.
Im thinking of implementing a more sophisticated version of this with perhaps OpenFace.
Its not that simple unfortunately, what is happening is it takes all the images and creates a single model per face, so you cant exactly pin point which image it is matching with.
One thing that could improve accuracy aswell is alignment, which basically means that a face viewed at a slight angle will be morphed into being viewed from the front

Confidence values would be a good start anyway. I don't know what it is about this ONE face that I have registered (with 7 different images for that face) but, almost everyone is detected as THAT face. It's hilarious, but, not very useful. :) I've tried removing certain images with no change in results. Next, I'm just going to delete that face entirely to see if that improves anything.

yeah that is definitely not optimal... I find it hard to find good examples on the web on how to perform highly accurate face recognition sadly

Closing, for better accuracy you can use DeepStack or CompreFace


Update injected.html

In most browsers, window.location.pathname already contain slash "/" at the end of the path. therefore window.location.pathname + '/ws' create double slash in the path such as "ws://example.com//ws". Which is not perfect.
And if I put a gateway server in front of live server, such as golang http handler, will automaticly cleanPath and return a 301 if the path contain double slash.
This pr is trying to make this right by removing the ending slash, if there is any, before '/ws' is appended.
remove duplicated slash in WebSocket path (from ws://example.com//ws to ws://example.com/ws)

v2.0.0 now use live-server directly. If you still have this issue, please submit a PR to live-server project. Thanks.


iOS: incorrect dark theme support

When shown on device using dark theme, dialog's text is drawn according to dark theme, while its background is still belonging to light one. See screenshot attached.

Expected behavior - dialog background should be black.
Tested on simulator:

Device: iPhone 11 Pro Max
OS: iOS 13.0

Unfortunately, Rate my app has no control on your specified dialog as it's the native iOS rating dialog. You may find some useful info here.

Got it, thanks!


bug: some .md syntax styles are missing

It seems to be working normally in theme press. Did you open Inspect to check if those was rendered?

Style does not exist in custom theme

Markdown CSS can be set by theme.
This is https://github.com/YunYouJun/valaxy/blob/f3ab87f7a97bb0447e2d2175533e206220f80bf5/packages/valaxy-theme-press/styles/markdown.scss customed by theme-press.

This looks good, but I think a documentation description is needed


Misc updates to requirements and build files

Types of changes

[X] Docs change / refactoring / dependency upgrade
[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue
Move the minor changes from #151 to here.

black>=22.3.0: This is to fix import issues with click and unicodefun documented here
The .pre-commit-config and setup.cfg seem to be pinning the python version for black and mypy at 3.7
gym has undergone significant maintance over the past year, and 0.17.2 is basically deprecated. However, 0.25.0 soft-migrates to returning five values (instead of four) in env.step, along with a few other breaking changes.

How Has This Been Tested (if it applies)
I created a clean conda env with python=3.8.10, built mbrl-lib, ran the tests, and ran pre-commit.
Checklist

[X] The documentation is up-to-date with the changes I made.
[X] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[X] All tests passed, and additional code has been covered with new tests.

Thanks a lot for the update @Rohan138! Looks like we will have to fix a bunch of mypy errors before we can merge. If you can try to address some of them that would be great, but I'll also set aside Friday to help out with this.

I'm here to say that I'm shocked that they changes the env.step() API. A bit of a weird one, I wonder if there's a kwarg for keeping it the same, so everyone can env.step(action, use_old_api=True).

Yes, currently the default is still the normal obs, reward, done, info; however done is being split into terminated and truncated over the next few releases. There's a few other changes e.g. env.seed and env.render are being deprecated in favor of env.reset(seed) and __init__(render_mode). This issue summarizes most of the changes.

On mypy, that's weird, the mypy errors don't show up unless you remove the python=3.7 pin. I'll try to retest with fresh conda envs for all four python versions.

Fixed the mypy errors in #163. There was some inconsistency between what we got from pre-commit's mypy command and directly running from the command line. Setting python_version=3.9 got rid of this, and then I fixed a few type errors.
Can you rebase on top of latest main and push? With the latest version we only need to keep the changes to requirements file in this PR.

Rebased; do you know why you need to specify python=3.9?

I'm not sure why the 3.9 is needed, to be honest. Also, don't really understand why CI is failing in this branch and not in main; I guess it might be related to gym's version. If you set python_version=3.9 and run pre-commit locally, do you get these errors?

No, I tried running both pre-commit run --all-files and mypy mbrl --no-strict-optional --ignore-missing-imports, both passed...

Weird, I get some errors when I run. Maybe a python version issue? In any case, I also get these errors in main, so I don't really know how the previous merge failed to detect them, but I'll try to fix on my side.

OK, looks like all of these errors are due to gym's version. If I downgrade my environment's gym to 0.17.2 mypy passes. Also, some of these changes look breaking, so maybe we want to hold off on this PR until we can ensure all utilities are compatible with 0.24.

Hmm, that works for now, but 0.17.2 is a little old and out of date. We should probably bump the version past 0.19.0 at the very least (That's when Gym became actively maintained)

I'm definitely interested in bumping the version to 0.24, it's mostly a matter of me finding some time to do it, which is a bit hard these days :(
I'm running mypy mbrl --no-strict-optional --ignore-missing-imports and the conda environment produces the conda list output in the attached text file.
mbrl_conda.txt

I was also looking at this one because merging the change away from black python 3.7 would be super useful. It's definitely pretty weird. The Env[Any, Any] is really weird, and then a lot of places where env.reset() is called, the type checker is seeing Union[Any, Tuple[Any, Dict[Any, Any]]] instead of the ndarray

Pushing some changes here https://github.com/Rohan138/mbrl-lib/pull/1 for the pr

Running the tests now; it might also be feasible to update all the way to gym==0.26 or Gymnasium (the new fork of gym by the maintainers; gym is now unmaintained). They have better type support and fixes, but some large API changes to the step and reset methods.

I'd help with the changes and am a technical advisor to Farama if we have questions, I'm sure they would help.

Closing this PR since it's become stale and a little convoluted;I'm cherry-picking the neccessary changes and moving them to a separate PR.


Create stale.yml

This adds a bot to manage stale issues and PRs.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix value/type system issues

In this PR, we:

Replace all CheckComparable() and CheckInteger() with asserts
Add a null flag to value type and simplify the IsNull()'s check
Inline simple functions in type/value
Support shallow copy in varlen type

#419

Coverage decreased (-0.2%) to 63.242% when pulling fbf5fe8a9a50e342b97113652bfb9328f6a2e15f on jessesleeping:master into 1c0bd4ee320cc1b6420e667e85c81afcc1d97b34 on cmu-db:master.


Connection reset by ip port 22

HI there,
I have just received my new raspiblitz v 1.7 and I cannot ssh into the node.
I always get this message in the terminal: Connection reset by IP port 22. I have pinged it and it connects. So I am stuck. Can anyone help? I dearly want to get my node up and running.

Have you tried to flash a fresh image of RaspiBlitz v1.7.0 to the sd card?
https://github.com/rootzoll/raspiblitz#downloading-the-software

Thanks for the advice. I will try this. Can you point me to some very detailed instructions on how to flash the SD card foe someone who is computer illiterate? Thanks.

see the instructions here: https://github.com/rootzoll/raspiblitz#write-the-sd-card-image-to-your-sd-card ... the Balena Ether is a quite easy app to flash an image to an sd card

Thanks for you advice but because I am such a computer illiterate I can't seem to download balena etcher onto my Linux elementary. Maybe there is another app I can use. Anyway I don't want to use you your valuable time for such a Luddite like me.

Check if you can find Etcher of some other SD card tools on your Linux Distros App Store.
With most Linux Distros you should even be able to write an image to an sd card without any extra app. Download the image file (its an img.gz file) from right-click menu unzip/unpack the file to a (img file) and then often on right-click menu there is the option to write image to a drive - there you choose the sd card and then its flashing.
If your Linux distro is does not have the last option .. you can also go to the terminal and use the dd command to write an image to a drive. But thats just your last option.

Dear rootzoll, I have managed to download balena etcher and the software but now when I use balena etcher, I have no target to select. What does this mean?

Thanks everyone I have resolved this issue with help over in telegram . Thanks!


feat(compute): Add example for MIG All Instances Config

Description
Fixes #343027535
Note: If you are not associated with Google, open an issue for discussion before submitting a pull request.
Checklist
Readiness

[x] Yes, merge this PR after it is approved
[ ] No, don't merge this PR after it is approved

Style

[x] My sample follows the rules described for Terraform in the Effective Samples style guide
[x] My sample follows the other requirements and best practices in the Contributing
guide

Testing

[x] I have performed tests described in the Contributing guide:

[x] Tests pass: terraform apply
[x] Lint pass: terraform fmt check

Intended location

[x] Yes, this sample will be (or already is) included on cloud.google.com
Location(s): https://cloud.google.com/compute/docs/instance-groups/set-mig-aic#gcloud

[ ] No, this sample won't be included on cloud.google.com
Reason:

API enablement

[x] If the sample needs an API enabled to pass testing, I have added the service to the Test setup file

Review

[x] If this sample adds a new directory, I have added codeowners to the CODEOWNERS file

I need to fix tags

/gcbrun

/gcbrun

/gcbrun

/gcbrun


add test cases priority

P2 is the default value, why does it need to add explicitly?

I use regex to get the casename and priority with internal code, also keep them consistent with existing cases.


Added meta.json and logo.png for JSF Form Archive Utility

Dear @ivy-sgi could you help review this PR and give your suggestion on the following:

the logo for this new utility
the translation text for name and description
Thank you so much!

For the logo, it's hard for me 🐤
I found and just have 2 ideas:

@ivy-sgi do you have any idea for it?

Hi @nqhoan-axonivy ! Why not using the standard AxonIvy Utility Logo already added to this connector?
I would change the name to
en: UI Archive Utility
de:  UI Archiv Utility
en: This tool allows you to capture snapshots of your UIs, making it easy to save and track what inputs users made at specific times.
de: Archiviere Screenshots der Benutzeroberflächen und dokumentiere so die Eingaben deiner Nutzer zu bestimmten Zeitpunkten

Hi @nqhoan-axonivy ! Why not using the standard AxonIvy Utility Logo already added to this connector?
I would change the name to en: UI Archive Utility de: UI Archiv Utility
en: This tool allows you to capture snapshots of your UIs, making it easy to save and track what inputs users made at specific times. de: Archiviere Screenshots der Benutzeroberflächen und dokumentiere so die Eingaben deiner Nutzer zu bestimmten Zeitpunkten

Ah I just want to find a logo that relates to the feature that this tool supports instead of using the default logo


Timeout on connection

Hello, I tried searching through the connection properties and the docs for a connection timeout but I couldn't find anything. Is there a way to wait a certain amount of time for the server to come online instead of instantly throwing an error?
Thanks in advance

I have never seen such a feature in any library, do you know of any doing that?
I think it’s better to do that in your application.

Yeah, certainly. I think the Java client does so.

It's also in the URI spec for RabbitMQ as well. I tried setting that but it didn't do anything.

Should be fixed now using the connection_timeout query param in the uri!

Awesome, thanks so much for fixing it quickly! I noticed that on a recent commit you made Channel !Clone. Is the idiomatic way to get a copy of a channel now to just wrap it in an Arc? Thanks in advance

Also, as a heads-up, this doesn't seem to work:
let addr = std::env::var("RABBITMQ_ADDR").unwrap_or("<IP_ADDRESS>".to_string());
let uri = format!("amqp://{}:5672?connection_timeout=10000/%2f", addr);
let conn = Connection::connect(&uri, ConnectionProperties::default()).await.unwrap();

I get this error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IOError(Custom { kind: Other, error: "invalid digit found in string" })', src/main.rs:89:16
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Panic in Arbiter thread.

Am I doing something wrong? Maybe I'm just missing something

Yeah, Arc is the right way to share a Channel I'd say.
In your example, the timeout is set to "10000/%2f" which is why it fails like this

Ah, okay, that makes sense. I saw the /%2f in the examples and emulated it, what exactly is that doing? I assume it's a format string for a float, but I don't think it's ever explained.
Thanks again.

It’s the « / » vhost, url encoded
On Sun 3 May 2020 at 23:41, Nicholas Jones<EMAIL_ADDRESS>wrote:

Ah, okay, that makes sense. I saw the /%2f in the examples and emulated
it, what exactly is that doing? I assume it's a format string for a float,
but I don't think it's ever explained.
Thanks again.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/sozu-proxy/lapin/issues/274#issuecomment-623186854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABWNXTAC4VFMTHTYZJJEC3RPXQJ3ANCNFSM4MX6JWEA
.


node_modules/@circlon/angular-tree-component/node_modules/mobx/lib/types/observableset.d.ts:21:22 - error TS2420: Class 'ObservableSet' incorrectly implements interface 'Set'.   Property 'toJSON' is missing in type 'ObservableSet' but required in type 'Set'.

Building with angular 10 not working
node_modules/@circlon/angular-tree-component/node_modules/mobx/lib/types/observableset.d.ts:21:22 - error TS2420: Class 'ObservableSet' incorrectly implements interface 'Set'.
Property 'toJSON' is missing in type 'ObservableSet' but required in type 'Set'.
21 export declare class ObservableSet<T = any> implements Set, IInterceptable, IListenable {
~~~~~~~~~~~~~
node_modules/@types/core-js/index.d.ts:78:5
78     toJSON(): any;
~~~~~~~~~~~~~~
'toJSON' is declared here.

@tobiasengelhardt is this a valid issue? Just curious here

@tobiasengelhardt is this a valid issue? Just curious here

Which version of the tree are you using?

Which version of the tree are you using?

I have the same issue building with angular 11

I have the same issue building with angular 11

tsconfig.json
{
  "compileOnSave": false,
  "compilerOptions": {
    "skipLibCheck": true, --< add this line

tsconfig.json
{
  "compileOnSave": false,
  "compilerOptions": {
    "skipLibCheck": true, --< add this line

Thanks @Adam-Michalski

Same problem here with angular 11.
"skipLibCheck": true, fixed it.


Thermal Protection notification bug

Hello, i have problems with the thermal protection runaway notification. I get still notification every 10 minutes although i deactivate it with "0".

I have the same issue, tried to set the SoC to 0 degrees to turn of, did not work. Now I'm trying to set SoC to 0 and all the above in picture provided by Sle77en, as well


Abusing tcp tunneling in Azure Bastion

https://codyburkard.com/blog/bastionabuse/

not a vulnerability but rather an attack surface


Issue #36564 update regex for spread operator

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #36564

Congrats @enrider  on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Add retry logic for CMake download operations

Closes #5224.

Thank you @danieljurek! Yes, we could set DOWNLOAD_LINK outside of the loop, but then if we want to print the same message on each retry attempt, then we would need to have the same if() condition inside the loop, and I thought, if we're going to repeat the condition twice anyway, I might as well set the DOWNLOAD_LINK in the loop as well, it should be harmless. Pros: less lines, guaranteed same condition which is only present once.

Actually, let me do one thing....

@danieljurek, please check out the new iteration.


[BUG] Plonk Poseidon Hash Parameters not Public

The way that Poseidon hash parameters are currently added to a hash gadget using add_input, which treats them as secret inputs rather than public constants.  Thus a verifier cannot be certain that the prover used the correct constants to compute their hash.  This qualifies as a bug b/c a prover could choose trivial parameters (like MDS matrix = identity, all round constants = 0) and more easily find hash preimages.
I believe the best way to fix this is to use add_witness_to_circuit_description because this method of creating variables makes the variable's underlying value visible to the verifier.  Thus the verifier can be certain that the correct poseidon parameters were used in generating the hash proof.  I would like confirmation from plonk experts at ZK garage before fixing this.

To elaborate on why add_witness_to_circuit_description seems correct:
This consists of two calls (see here):

add_input to add a new variable to the composer
constrain_to_constant to demonstrate that the variable was added with a given value.  This step reveals the value to the verifier.

The constrain_to_constant method is appropriate when the constant argument is truly constant across all instances of the circuit (see here).  So things like hash function parameters qualify as constant, whereas things like the publicly visible hash output we wish to prove pre-image knowledge of would not qualify as constant b/c this is different in each instance of the circuit.

Ok, summery of our chat:

For private inputs: Use add_input
For public inputs: Use custom poly_gate function:

composer.poly_gate(
    a,
    a,
    a,
    F::zero(),
    -F::one(),
    F::zero(),
    F::zero(),
    F::zero(),
    Some(passed_a),
);

Where a is the variable already in the circuit, and passed_a is the value passed from outside world.
3. For constants: Use add_witness_to_circuit_description
The plan for implementing this:

Modify from_native function for Poseidon. Instead of add_inputs, use add_witness_to_circuit_description, since we are dealing with constants.
Add a function inside the MixerCircuit called add_public_input for handling public inputs


Authenticate GitHub access in actions workflows

Akin to populationgenomics/cpg-infrastructure-private#182, this sets up git+https:// authentication credentials via a credential helper in each of the workflows that needs to pip install metamist-infrastructure, which is done by checking out the relevant code from the sample-metadata repository — which is currently private so accessing it requires credentials.
See the cpg-infrastructure-private PR for further details of the technique used.

Updated to use the SAMPLE_METADATA_REPO_TOKEN secret name, which reflects that this token is a fine-grained one that provides access only to the sample-metadata repository.
@illusional ✈ 🌴 Please have quick look at this one too from your 🏖 — like the other one, the PR checks demonstrate it working.


Speedup containers

Closing, as the docker container should be started with additional permissions to allow remounting (--privileged). There would have been a 4 second speedup on a non-busy host.


ARM Support for halcyon-kubernetes

Enabling ARM and ARM64 Support for halcyon-kubernetes deployment feature enhancement requested by @ravishivt
To enable ARM Support:

in group_vars/all.yml, set arm_enabled: true
set kube_sdn: flannel

@ravishivt  -- Let me know if this is the functionality you are looking for.

This change is

Closing to re-factor the PR.
Thanks for the input everyone.

Re-opening PR for re-factoring

I refactored this PR so it will dynamically check to see if the system is ARM-based by parsing the output of uname -a, as per @ravishivt

Thank you for the input @ravishivt! My latest commit addresses all of the possible architecture scenarios for Flannel and dashboard deployments.  Please review and see if this is a good solution.

I will give it a go.  I glanced through the code and it looks good.  Great work @aric49!


get puente connected to travis-ci

We should be running tox for all environments on every pull request etc on Travis.

We should wait to do this until we've moved this to the mozilla org.


VSCode randomly removes keyboard shortcuts, breaks copying and pasting

VSCode randomly removes keyboard shortcuts, breaks copying and pasting. I honestly don't know how to describe it better than this, because it is seemingly all that is happening. After a few minutes in VSCode, copy/cut/paste stop working entirely in the program via the keyboard shortcuts and only work via right-click. They work outside of VSCode

VSCode Version: 1.20.1
OS Version: MacOS High Sierra

Steps to Reproduce:

Open VSCode
Use VSCode
Copy/paste/cut via CTRL work
Seemingly arbitrary amount of time later, copy/paste/cut stop working, random

Hello I'm experiencing something similar, but regarding the keyboard layout. I use a Latin American Spanish keyboard, which works as expected in every program on my laptop. I open VSCode and after some time (random it seems) the layout (or key mapping) changes to english, only on VSCode, in every other software it works as is set in windows. After restarting VSCode the layout is Latin American Spanish again, but after some time it changes back to english.
Of course the issue is that this changes the entire key map, which causes a few inconveniences. I don't know if this and @Connorelsea issue are related, but since both issues are quite similar instead of creating a new issue I added to this one.

VSCode Version: 1.20.1
OS Version: Windows 7 Pro 64

Does this issue occur when all extensions are disabled?: Yes

For keyboard layout related issues please follow this guide for trouble shooting https://github.com/Microsoft/vscode/wiki/Keybinding-Issues. If the guide doesn´t help please reopen the issue.


Typo of tull should be full.

"Disable or re-enable tull-text indexing for a table"  Says tull and not full.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5332b85c-c67f-2dfe-3fec-d4bc978822de
Version Independent ID: 6239c2b0-c81e-f22c-bdff-1393cd372aab
Content: Create and Manage Full-Text Indexes - SQL Server
Content Source: docs/relational-databases/search/create-and-manage-full-text-indexes.md
Product: sql
Technology: search
GitHub Login: @pmasl
Microsoft Alias: pelopes

Fixing it. Thanks!


Gosnappi: Error-logging can be more effective so that it becomes more readable for users

Some error message I am mentioning here for example -

'0 <= PatternFlowIpv4TosReliability.Value <= 1 but Got 2\nvalidation errors'

suggested way - PatternFlowIpv4TosReliability.Value is not in range [0, 1]

'PortName is required field on interface DeviceEthernet'

Adding line number for which error is coming will be helpful for this type of scenarios.

@ajbalogh FYI
We need to put some effort in ensuring that error is more consistent. Some basic rules that we need to follow are:

Use node names as used in openapi yaml. e.g. ipv4.src.value instead of PatternFlowIpv4Src.Value
Try to pinpoint exact node in which error occurred. e.g. flows[0].packet[1].src.value

This maybe a little difficult to achieve, but failing to provide exact node where the error occurred might be confusing

Before implementing this, let's have a list of all possible errors for an example node and see if they look ok.


Release 1.0.0

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5491bda). Click here to learn what that means.
The diff coverage is 24.52%.

@@            Coverage Diff            @@
##             master     #124   +/-   ##
=========================================
  Coverage          ?   16.45%
=========================================
  Files             ?       15
  Lines             ?     1015
  Branches          ?        0
=========================================
  Hits              ?      167
  Misses            ?      837
  Partials          ?       11

Impacted Files
Coverage Δ

base/settings/settings.go
0% <ø> (ø)

base/settings/startup.go
100% <ø> (ø)

base/settings/include.go
0% <0%> (ø)

base/pm/runner.go
0% <0%> (ø)

base/utils/redis.go
0% <0%> (ø)

base/pm/pm.go
0% <0%> (ø)

core0/builtin/btrfs/btrfs.go
31.39% <31.39%> (ø)

base/utils/cmdline.go
60% <60%> (ø)

Continue to review full report at Codecov.

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


Attestations are never deleted and grow indefinitely

Solution : clean attestation

Codecov Report

Merging #434 (96c0cc3) into main (9e65f97) will decrease coverage by 0.23%.
The diff coverage is 44.44%.

@@            Coverage Diff             @@
##             main     #434      +/-   ##
==========================================
- Coverage   28.67%   28.43%   -0.24%
==========================================
  Files          47       47
  Lines        6553     6537      -16
==========================================
- Hits         1879     1859      -20
- Misses       4527     4529       +2
- Partials      147      149       +2

Impacted Files
Coverage Δ

module/x/gravity/keeper/ethereum_event_vote.go
47.93% <22.22%> (-2.81%)
:arrow_down:

module/x/gravity/abci.go
77.20% <66.66%> (-1.65%)
:arrow_down:

Agreed that the indefinite growth of these events is not good, will get back to you on the review.


Is TFS SCM integration possible

#20999
It's been a while since I used regular TFS but from memory:

I don't think TFS has a staging concept
TFS workspaces are readonly until you check out the files explicitly

Given these and more differences with git, would TFS SCM integration be possible?

I actually also thought that SCMs that need to do something to make a file readonly need some work by the extension. I would think that a save participant could be the solution for extensions to make the file writeable (e.g. check out) before the save goes to disk. Seems like a straightforward solution (hopefully).

It is possible & they are working on it. 👍


audit/improve KZG10 code

the main bottleneck of Jellyfish currently are:

FFT
KZG commitment

And KZG dominants.
It appears that arkwork's KZG implementation may not be optimized, for example:
https://github.com/arkworks-rs/poly-commit/pull/98
The non-optimization in the example is not critical to us yet because it is for the verifier, and CAPE uses solidity verifier rather than rust verifier (cc @philippecamacho).

we will use our own PCS APIs for this

move HP PCS to Jellyfish/primitive
update Jellyfish/plonk to new PCS
implement univariate KZG batching for PCS (different PR)
update jellyfish/plonk with pcs batching (different PR)


[nanogui] Update to 2020-06-04

Fixes https://github.com/microsoft/vcpkg/issues/11743

Update nanogui to new repo https://github.com/mitsuba-renderer/nanogui
Update to latest commits, and update the patch to match the source changes.
Disable to build examples for saving build time.

/azp run

/azp run

/azp run

@BillyONeal, I notcied some PRs still failed on OSX, could you please have look?
Agent name: 'vcpkg-eg-mac-05'
Agent machine name: 'vcpkg-eg-mac-05'
Current agent version: '2.164.6'
Failures:
##[error]ENOENT: no such file or directory, stat '/Users/vagrant/Data/work/1/s/scripts/azure-pipelines/osx/initialize-environment.sh'

@PhoebeHui if that happens, push a merge with origin/master to fix it. Pipelines appears to use old azure-pipelines.yml from before merge if GitHub hasn't remerged it itself

@BillyONeal, thanks for the information!

/azp run

@PhoebeHui are you still working on this one?

We need add 3 new ports for supporting this changes, I will reopen this PR when I have time.

We need add 3 new ports for supporting this changes, I will reopen this PR and continue the work when I have time.

You can add Apple support later on, please add windows support for now


Database Notifications - Customizable "Mark All as Read" Action

Description
This feature introduces the databaseNotificationsMarkAllAsReadAction() method, which allows passing a closure that returns a custom action. It enables full customization of the Mark All as Read button using the same methods available for customizing trigger buttons.
public function panel(Panel $panel): Panel
{
    return $panel
        ...
        ->databaseNotifications()
        ->databaseNotificationsMarkAllAsReadAction(fn (Action $action) => $action
            ->button()
            ->outlined()
            ->size('sm')
            ->color('success')
        )
...

Visual changes

Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

If this is approved, I can also submit the Clear Notifications actions.

@leandrocfe please check my remaining comments

@leandrocfe please check my remaining comments

@danharrin did you see my answers?

I don't see any responses, sorry

I don't see any responses, sorry

I fixed it implementing as you told me
https://github.com/filamentphp/filament/pull/14157#issuecomment-2528142984
But I think we need
if ($action = static::$markAllNotificationsAsReadAction) {
    return $action;
}

Because when we are using Notifications in standalone mode, we can do this in the provider:
public function boot(): void
{
    DatabaseNotifications::trigger('notifications-trigger');
    DatabaseNotifications::$markAllNotificationsAsReadAction = Action::make('markAllNotificationsAsRead')
        ->label('Mark all as read')
        ->button()
        ->action('markAllNotificationsAsRead');
}

I don't see any responses, sorry

Hey @danharrin,
I fixed it implementing HasActions and HasForms as you told me:
https://github.com/filamentphp/filament/pull/14157/commits/d71eb2d8e38aad7b213581a10768bc9842a0f20a
But I think we need this
if ($action = static::$markAllNotificationsAsReadAction) {
    return $action;
}

Because when we are using Notifications in standalone mode, we can do this in the provider:
public function boot(): void
{
    DatabaseNotifications::trigger('notifications-trigger');
    DatabaseNotifications::$markAllNotificationsAsReadAction = Action::make('markAllNotificationsAsRead')
        ->label('Mark all as read')
        ->button()
        ->action('markAllNotificationsAsRead');
}

Does it make sense?


Adding ZZT?

Okay, this is going to be a tricky one, but I'm going to put together my case. No hard feelings if it doesn't fit the spirit of the list.
ZZT was made in 1991 by Potomac Computer Systems (later Epic MegaGames, even later Epic Games) as an action/puzzle game, but its built-in game creation system with scripting functionality turned out to allow it to be a surprisingly versatile game creation tool. See: "About ZZT".
Bitsy and PuzzleScript are on the list. Now, ZZT has been shown to have similar or higher versatility than Bitsy (see, for example, one of Dr_Dos's modern recommendation lists) as well as attract a similar audience. While it was originally made as a game, I will admit, its quirky set of limitations (60x25 board size, stat limits, board size limits, unusual scripting language without proper arithmetic, etc.) effectively makes it comparable to a fantasy console in my eyes.
For the formal details:

Name: ZZT
Author: Tim Sweeney
Year: 1991
URL: https://museumofzzt.com/ (ZZT hasn't had an official website in almost two decades, this is your best bet)
Language: ZZT-OOP (well... Instructions)
Price & License: Free, MIT (via a decompilation project but done with the rightsholder's permission, see The Reconstruction of ZZT)
Platform: This is where it gets a bit tricky.

ZZT itself targets DOS,
Zeta is a tiny emulator dedicated to ZZT which expands that to Windows, Linux, and browsers,
There are work-in-progress ports for more obscure platforms (consoles, phones),
It is highly recommended to use an external editor tool like KevEdit for greater functionality (Windows, Linux, Mac),
While I'm looking into making a native implementation that fixes all of this stuff and combines it into one thing now that the engine is MIT-licensed, the status quo is admittedly a bit tricky.

Display: 60x25 character mode (plus 20x25 non-user-changeable sidebar on the back, I suppose).

Again, no hard feelings if it doesn't belong - I am curious, however, as I've always seen ZZT as a thing with very similar appeal to a fantasy console. (And, if yes, is its spiritual community-made successor MegaZeux, or is that too close to a general game engine? Hmm...)

Thank you for the info! I will read and experience more when I get back home.

Added both ZZT and MegaZeux. They have built-in vm, interpreter, world editors, etc. and have selective limitations. Although it was tagged a game creation system when it originally released, I'd say it's more close to a FC in many aspects than generic game engine for nowadays point of view.
I don't wanna miss gems just due to it came out before the term "Fantasy Console" was widely used.

One major correction - MegaZeux stopped being maintained for DOS first in the mid-00s; the current mainline targets Windows, Linux, Mac, browser, and a whole ton of other things, with the primary supported library being SDL2.

Updated.


Add aliases field to every device type

Aliases are natively supported as part of the contract schema, see: https://github.com/balena-io/contrato/pull/8/files
Change-type: minor
Signed-off-by: Stevche Radevski<EMAIL_ADDRESS>

@balena-ci I self-certify!


Create Issue Forms

Describe the bug
Currently, the issue template for this repo seems to be basic also it is less visually appealing.👇
Currently

Changes I will make

Prerequisites
Please go through the following questions for yourself before submitting an issue.

I am running the latest version
I checked the documentation and found no answer
I checked to make sure that this issue has not already been filed
I'm reporting the issue to the correct repository (for multi-repository projects)

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what behaviour were you expecting.
Screenshots
If applicable, add screenshots to help explain your problem.
Please provide the relevant information about your setup
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Will add issue forms to the respective issues to make it easier for the contributor to raise it.
Here is an example of how a Bug Issue Form will look like 👇

Kindly Assign this issue to me

Hello @avinashkranjan
I noticed this issue is still open. Can I take it up? If yes, could you please assign it to me? I would love to contribute and help resolve it.
Thank you


padthv1: 0.9.0 -> 0.9.2

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build padthv1

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: padthv1
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: padthv1
Partial log (click to expand)
shrinking /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2/lib/lv2/padthv1.lv2/padthv1.so
shrinking /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2/lib/libpadthv1_ui.so.0.9.2
shrinking /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2/lib/libpadthv1.so.0.9.2
gzipping man pages under /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2/share/man/
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
stripping (with command /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip and flags -S) in /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2/lib  /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2/bin
patching script interpreter paths in /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2
checking for references to /build in /nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2...
postPatchMkspecs
/nix/store/v3i6jkilfgc3vzwkrdv5lsp8kvjd9siz-padthv1-0.9.2


Wire in confirmation modal to endpoints page

endpoint actions

This issue was moved to cloudfoundry-incubator/stratos#1497


Ability to support both OIIO 1.x and 2.x

Hi again,
Our main renderer for the foreseeable future seems to only support OIIO 1.x (unfortunately).
In #316 it was mentioned supporting both API's in the future was an option.
It looks pretty trivial to do so, as the only file that needs changing is OiioImageLoader.cpp, and the OIIO_VERSION_MAJOR def could probably used to branch in the pre-processor.
Assuming the paper work for #355 goes through ok, would this be an acceptable solution?

Don't the changes in #316 already support both OIIO 1.x and 2.x? I don't think any #if on the OIIO version is needed.

Alister and Larry,
We're not yet using the recommended "auto" pattern with the two create() functions, which is recommended for code that needs to support both OIIO 1.x and 2.x:
https://github.com/OpenImageIO/oiio/wiki/OIIO-2.0-Porting-Guide
My sense is that we'd need to apply this pattern to OiioImageLoader.cpp for correctness in both versions, though Larry would know with certainty.
-Jonathan

I think it might even be easier than I said in that wiki page:
std::unique_ptr<ImageInput> in (ImageInput::open(...));

I think that's all there is to it, since you can initialize the unique_ptr in this manner whether II::open returns a raw ImageInput* (1.x) or returns a unique_ptr directly (2.x). It will delete when it goes out of scope, there's no need for the destroy() call.

Thinking about this a bit further, the simplified pattern described above may not work consistently in OpenImageIO 1.x.  In this situation, the ImageInput object will be allocated on the heap in the OpenImageIO DLL, and then wrapped by a unique_ptr in client code.  When the unique_ptr goes out of scope, it will be deallocated from the client heap, which is not a safe pattern in all environments (e.g. in Windows builds where the CRT is not shared between application and DLL).

Ugh, you may be right. In OIIO 2.0, there's a custom deleter for these, so the memory free will definitely happen on the DLL side. But, yeah, 1.x may be messy.
The way I described it in that porting guide wiki, I think, is correct for both cases.
I do also recommend encouraging everybody to upgrade to OIIO 2.x. Anything 1.x hasn't been a supported release for a couple years now.

Thanks for bringing this to our attention, @alister-chowdhury.  This should now be addressed in #393, and let us know how it works for you.


Blurhash with gifs

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Can we receive blurhash with the gif payload? Is it possible?
Motivation 🔦
This will make the UI seem more attractive on loading of images

Hey @PROda221,
I’ll share this with my team, but it’s not in our near-term plans.
We’ll keep it in mind for the future.
Thanks!


Access to Mesh fields.

Is it possible to add bindings to access Mesh fields which is useful for mesh generation like here?
I've seen such bindings in old version of raylib-ocaml (0.2.0 I think), but it seems to be gone now for some reason.

Hello again.
I am not ctypes expert so I have a question. When in this code CArray instance created by of_list function will be collected? Should I wrap mesh object to keep all respective arrays reachable to OCaml GC to avoid memory corruption? I've encountered suspicious issues that may be related to CArray lifetimes.
Thanks.

What are the issues you've encountered?
I notice that when I force gc in the example with GC.full_major (), I get errors when unloading the models with Array.iter unload_model models at the end.
free(): double free detected in tcache 2
double free or corruption (out)

I suspect that raylib tries to free the memory even though that's handled by the OCaml GC in this case? I didn't have any problems at runtime though and get no errors if I just don't call unload_model.

I was generating a number of meshes (with ~1k vertices) and noticed visual glitches when drawing them.
Some refined pseudocode:
let finalise _ = prerr_endline "carray is freed" in

let carray_of_queue queue =
  Ctypes.Carray.make ~finalise … queue.length in

let mesh = Raylib.Mesh.create () in
Raylib.Mesh.set_vertices mesh (carray_of_queue vertices)
Raylib.Mesh.set_texcoords mesh (carray_of_queue tex_coords);
Raylib.Mesh.set_normals mesh (carray_of_queue normals);
Raylib.Mesh.set_indices mesh (carray_of_queue indices);
Raylib.upload_mesh (Raylib.addr mesh) false;

Then I observed carray is freed in logs before the mesh is uploaded or drawn. As far as I understood Ctypes.CArray.t instance returned by carray_of_queue is not accessible right after the function call and is being freed because Mesh.t instance is opaque to OCaml GC. That's probably naive conclusion but the issue was fixed after I returned wrapped object like { mesh; verts_carray; normals_carray; … } to keep Ctypes.CArray.t instances accessible for GC.

Hello.
As currently implemented mesh manipulations are fragile:

Without storing the carray instances separately for preventing being collected by GC leads to memory corruption issues.
Calling unload_mesh causes double free issue and occasional crashes.

I've managed to come up with the following workarounds:
let create () =
  let mesh = Raylib.Mesh.create () in
  ...
  Raylib.Mesh.set_vertices mesh vertices;

  (* Fixes #1.
     The implementation is stolen from discussion of the aforementioned ctypes
     issue *)
  add_gc_link ~from: mesh ~to_: vertices;
  mesh

let unload mesh =
  let empty t =
    let ptr = Ctypes.from_voidp t Ctypes.null in
    Ctypes.CArray.from_ptr ptr 0 in

  (* Fixes #2. *)
  Raylib.Mesh.set_vertices mesh (empty Ctypes.float);
  ...
  Raylib.unload_mesh

But I presume since Raylib itself is positioned as a tool for those who tries to avoid meddling with low-level stuff this workarounds are not obvious. Probably it should be done in the library itself. Or at least the issues should be noted in documentation.

Thanks for keeping up on this.
I agree that those interactions are not obvious and are best handled in the bindings (somehow).
For the first issue, we can probably wrap the (two?) CArray create functions and add the workaround.
For the second issue I'm not so sure though


Split CI file

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Packagist Release

The current packagist release seems to be out of date? It is based on tag 2.1.1, and seems to differ from the master branch. Would it be possible to update the release?

Indeed. I pushed the v2.2.0 tag and it's now available on packagist. Thanks @Radiergummi
Enjoy

Perfect, thank you!