When I click the [Flutter Hot Restart] button in Android studio to restart the application, the function of IOS status bar back to the top fails

questions: When I click the [Flutter Hot Restart] button in Android studio to restart the application, the function of IOS status bar back to the top fails
expect: scroll to top available
tools: Android Studio
code:
void main(){
  // WidgetsFlutterBinding.ensureInitialized();
  // SystemChrome.setPreferredOrientations(
  //     [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]);

  runApp(MaterialApp(
    home: Scaffold(body: SingleChildScrollView(
      primary: true,
      child: Container(
          height: 3000,
          child: Column(
            children: [
              Container(
                height: 1000,
                color: Colors.red,
              ),
              Container(
                height: 1000,
                color: Colors.blue,
              )
            ],
          )),
    ),),
  ));
}

step:

click [Run 'main.dart'].At this time, everything is good

click [Flutter Hot Restart].At this time, back to the top fails.

I debug the scaffold.dart.I found that the following code threw an exception after [Flutter Hot Restart].

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[✓] Android Studio (version 4.0)
[!] IntelliJ IDEA Ultimate Edition (version 2020.1.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.49.3)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

@515445681
By status bar back to top, do you mean the Up the stack trace button is disabled after hot restart ?
Can you try the same with Android native project and see ?
Thanks.

@515445681
By status bar back to top, do you mean the Up the stack trace button is disabled after hot restart ?
Can you try the same with Android native project and see ?
Thanks.

哦，我说的"回到顶部"，是指的在ios设备上，点击状态栏时，滚动条会回到顶部。
但是当我点击Android Studio控制台的[Flutter Hot Restar]按钮后，这个功能就不可用了。

@515445681
Since I don't understand the language you replied, I'd request you to write in English.
Thanks.

@515445681
Since I don't understand the language you replied, I'd request you to write in English.
Thanks.

But when I click the [fluent hot restart] button on the Android studio console, this function is not available.

@515445681
I am unable to replicate this issue. I see hot restart button intact and active after going back to top on iOS device.

@515445681
I am unable to replicate this issue. I see hot restart button intact and active after going back to top on iOS device.

The order is wrong.
Restart first, then go back to the top

@515445681
I am unable to replicate this issue. I see hot restart button intact and active after going back to top on iOS device.

How is it, did you find the problem?

@515445681
Tried first with restart and was able to go back to the top.
Not sure what your exact issue is. Provide a video if you could that shows the issue.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Run time error with GPU

python main.py --use_gpu 1

RuntimeError: Expected object of type Variable[torch.cuda.FloatTensor] but found type Variable[torch.Flo
atTensor] for argument #1 'mat1'

I'll check it out as soon as I get some free time :)

Okay should be fixed now.
Cheers


⚠ Adacta-fintech.com has degraded performance

In 7d773e3, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 500
Response time: 1554 ms

Resolved: Adacta-fintech.com performance has improved in 65baba6 after 12 minutes.


Run in docker container

For those user without Python installed in their system or with troubles to install requirements.

Ooops, probably duplicated of #68 (sorry @gtramontina, I had a very old checkout of the repo didn't saw yours)


Improved Python 3 compatibility. Please re-upload to PyPI afterwards.

Please re-upload to PyPI afterwards to easily install everything via pip.

Thanks, @GijsTimmers!

@GijsTimmers FYI just released v1.0.0 with your fix.


Makes all Godot API's Methods lower_case

Should be able to help this https://github.com/godotengine/godot/issues/8830

this is a fine work, @ISylvox , thanks!
for eveyone else, looks good to me, feel free to merge once travis is done

@reduz Thanks... It was an easy task, but took me around 7 hour. (^_^)

Wow, that is strong dedication, thanks! Feel free to drop by on IRC (#godotengine-devel on Freenode) to discuss with other devs, some could likely give you interesting tips about using regular expressions to do such changes faster.

Thanks... It could be made faster, yup (probably less than an hour). But, I need to make sure there was no collision between others (e.g Struct with method, variable with method, etc) :-)


First draft for an API to add models from other VSCode extensions.

Proof of concept draft for feature request https://github.com/continuedev/continue/issues/803
Exports functions "addExtensionModel" and "removeExtensionModel" through the VSCode extension API.
addExtensionModel accepts a CustomLLM object, as well as callbacks to the third-party extension to be notified when the model is added and removed.
Added field extensionModels to ContinueConfig, which holds the CustomLLM model specifications for models added by extensions. This field is not serialized to config.json. Config loading routines are adadpted to construct CustomLLMClass instances from all models declared in extensionModels and add them to models.
Also reworked vscode/src/loadConfig.ts:ConfigHandler to keep track of extension models on the VSCode extension side and improve configuration update event handling generally.
There seems to have been a bug/leak in earlier code where models removed by the user where removed in the webview / continue server configuration but not in the configuration object held by the VSCode extension: debugPanels handler for deleteModel would not remove the model from the config object and not trigger a config reload. This should be resolved by the changes.
Not sure if this would be the best way to handle this - it feels a bit hacky and there might be a better way to keep track of the extension models. The whole interaction of extension code with continue server(?)/webview code appears quite complex and I have missed a better way. Please consider this a proof of concept draft - any feedback welcome.

@lupreCSC just wanted to make sure I also referenced other discussion in this PR: https://github.com/continuedev/continue/issues/803#issuecomment-1963329296
Questions there would be good to understand before moving forward.


Update README.md

Including Monix in the list of projects using macro-compat, as it's turning out to be a serious user :-)

Awesome! Thanks :-)


fix(node): update import paths to fully qualified specifiers

As per exports definition in package.json, some modules don’t have fully qualified specifier so using them throws ERR_MODULE_NOT_FOUND error.
Two other things to note:

Is there a reason why we don’t use unev version of Buffer? Currently it’s expected buffer package is installed but I thinks was not intended?

I’ve tried running tests for Workerd but I’m getting following error:

Error output
Workerd: 1.20241202.0 (compatibility date: 2024-12-02)
Module fallback server listening on http://localhost:8888
Running tests...
workerd/server/server.c++:4025: debug: [ TEST ] tests:crypto_getRandomValues
workerd/server/server.c++:3052: error: Fallback service failed to fetch module; payload = 404 page not found
; spec = /?specifier=%2Funenv%2Fruntime%2Fnode%2Fcrypto%2Findex&referrer=%2Ftests&rawSpecifier=unenv%2Fruntime%2Fnode%2Fcrypto%2Findex
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (in promise); stack = Error: No such module "unenv/runtime/node/crypto/index".
    at Object.test (tests:11:20)
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (async); stack = Error: No such module "unenv/runtime/node/crypto/index".
    at Object.test (tests:11:20)
workerd/server/server.c++:4033: debug: [ FAIL ] tests:crypto_getRandomValues
workerd/server/server.c++:4025: debug: [ TEST ] tests:unenv_polyfills_buffer
workerd/server/server.c++:3052: error: Fallback service failed to fetch module; payload = 404 page not found
; spec = /?specifier=%2Funenv%2Fruntime%2Fnode%2Fbuffer%2Findex&referrer=%2Ftests&rawSpecifier=unenv%2Fruntime%2Fnode%2Fbuffer%2Findex
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (in promise); stack = Error: No such module "unenv/runtime/node/buffer/index".
    at Object.test (tests:39:20)
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (async); stack = Error: No such module "unenv/runtime/node/buffer/index".
    at Object.test (tests:39:20)
workerd/server/server.c++:4033: debug: [ FAIL ] tests:unenv_polyfills_buffer
workerd/server/server.c++:4025: debug: [ TEST ] tests:unenv_polyfills_path
workerd/server/server.c++:3052: error: Fallback service failed to fetch module; payload = 404 page not found
; spec = /?specifier=%2Funenv%2Fruntime%2Fnode%2Fpath%2Fwin32%2Findex&referrer=%2Ftests&rawSpecifier=unenv%2Fruntime%2Fnode%2Fpath%2Fwin32%2Findex
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (in promise); stack = Error: No such module "unenv/runtime/node/path/win32/index".
    at Object.test (tests:110:23)
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (async); stack = Error: No such module "unenv/runtime/node/path/win32/index".
    at Object.test (tests:110:23)
workerd/server/server.c++:4033: debug: [ FAIL ] tests:unenv_polyfills_path
workerd/server/server.c++:4025: debug: [ TEST ] tests:url_parse
workerd/server/server.c++:3052: error: Fallback service failed to fetch module; payload = 404 page not found
; spec = /?specifier=%2Funenv%2Fruntime%2Fnode%2Furl%2Findex&referrer=%2Ftests&rawSpecifier=unenv%2Fruntime%2Fnode%2Furl%2Findex
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (in promise); stack = Error: No such module "unenv/runtime/node/url/index".
    at Object.test (tests:24:17)
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (async); stack = Error: No such module "unenv/runtime/node/url/index".
    at Object.test (tests:24:17)
workerd/server/server.c++:4033: debug: [ FAIL ] tests:url_parse
workerd/server/server.c++:4025: debug: [ TEST ] tests:util_implements
workerd/server/server.c++:3052: error: Fallback service failed to fetch module; payload = 404 page not found
; spec = /?specifier=%2Funenv%2Fruntime%2Fnode%2Futil%2Findex&referrer=%2Ftests&rawSpecifier=unenv%2Fruntime%2Fnode%2Futil%2Findex
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (in promise); stack = Error: No such module "unenv/runtime/node/util/index".
    at Object.test (tests:100:23)
workerd/io/worker.c++:2067: info: uncaught exception; source = Uncaught (async); stack = Error: No such module "unenv/runtime/node/util/index".
    at Object.test (tests:100:23)
workerd/server/server.c++:4033: debug: [ FAIL ] tests:util_implements
workerd/server/server.c++:4025: debug: [ TEST ] tests:workerd_implements_buffer
workerd/server/server.c++:4033: debug: [ PASS ] tests:workerd_implements_buffer
workerd/server/server.c++:4025: debug: [ TEST ] tests:workerd_modules
workerd/server/server.c++:4033: debug: [ PASS ] tests:workerd_modules
workerd/server/server.c++:4025: debug: [ TEST ] tests:workerd_path
workerd/server/server.c++:4033: debug: [ PASS ] tests:workerd_path
Tests failed!

Hey @niksy could you expand on how you use/test the cloudflare preset?

@vicb I haven’t changed anything for Cloudflare preset, this is Nodeless preset. I think this preset is not used for Cloudflare Workers so changes in this preset shouldn’t affect Cloudflare usage.
As for workerd changes, I didn’t know there is definition to use $cloudflare over index so these changes are not (and shouldn’t be) applicable here. I’ll revert them.
Nevertheless, I still get same error locally when running test even without these changes, although you’re right, it passes in the CI. Is there something that needs to be set locally for this to work (I’m not blocked by this, just tryin’g to see if I’m using this correctly :))?

As for my following question

Is there a reason why we don’t use unev version of Buffer? Currently it’s expected buffer package is installed but I thinks was not intended?

I’ve been using this module without aliasing anything, only injecting values, so buffer was trying to find package in node_modules instead of using alias definition, but maybe this should be explicitly defined like in this PR for cases where you don’t want to alias anything.

@vicb I haven’t changed anything for Cloudflare preset, this is Nodeless preset. I think this preset is not used for Cloudflare Workers so changes in this preset shouldn’t affect Cloudflare usage. Correct me if I’m wrong?

Oops I thought you updated the cloudflare preset because the workerd test were modified, I should have paid more attention.
Cloudflare preset inherits from nodeless so it might need to get updated when nodeless is.
Workerd tests work out of the box for me.
I'll look at the changes during the week.

@vicb

Cloudflare preset inherits from nodeless so it might need to get updated when nodeless is.

From what I can see, Cloudflare preset explicitly references $cloudflare export so this shouldn’t be an issue?

LGTM, thanks @niksy and @pi0


Fix clippy warnings

I thought we'd be able to make all our PRs green, but the prost-derive thing still breaks it :(

Codecov Report

Merging #70 (e14337e) into develop (f22b243) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop      #70   +/-   ##
========================================
  Coverage    60.91%   60.91%
========================================
  Files           24       24
  Lines         2259     2259
========================================
  Hits          1376     1376
  Misses         883      883

Impacted Files
Coverage Δ

src/tendermint/mod.rs
0.00% <0.00%> (ø)

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 f22b243...e14337e. Read the comment docs.

I thought we'd be able to make all our PRs green, but the prost-derive thing still breaks it :(

I opened an issue in tendermint-rs here to track this at the very least. After the SPV module, I'm going to try and fix this there if they haven't by then.


Cannot change SkiaLabel width at design time.

As a default feature of Label, I need to visualise the label actual size at design time so I know how big it should be without overlapping other compoents. But in FMX project, this is not possbile. Width cannot be changed.

Hi @tanghzuk188!
To set custom sizes in TSkLabel control, you need to set the property AutoSize to False.

Thanks for the quick response. It works now. The default FMX.autosize is false, so neglect it. my fault. this is a really good package. Do you have any comments on my another question at stack https://stackoverflow.com/questions/72306293/skia4delphi-how-to-make-mixed-coloured-animated-text-word . thanks

Do you have access to Telegram? In our official Telegram group, I posted a few days ago a small example of a text animation. How can you make your animation based on my example...
https://user-images.githubusercontent.com/11139086/173080374-d38da8b9-b603-4a89-a133-1a8b97fb9d68.mp4
TextEffect.zip

thanks for the small sample. I will study it. Not in Telegram group yet, will register one later.


new ID format makes bot framework completely unusable for certain use cases.

The new ID format makes it impossible to integrate our application with the bot framework for msteams.
Part of our application relies on being able to send users within a company updates as specified by the company. This means we need to be able to locate user IDs and send the message to that user without the user having sent a message to our application before.
previously we could (although it was hacky) make it work by pulling a list of user IDs from o365 and do some simple string manipulations to send a messages to a user. Thursday night a change was pushed out to the ID format that is completely opaque. This makes it impossible for our application to use the bot framework.
new format:
"from": {
"id": "29:1xUE_8WVVQxzRRQw54AkdMuRMeIfaDgHB89Nfph2bAD_BPYuyi6ulw-r80Mhv4Q5p4G8lCViMyxScjYwMQo6uGg",
"name": "James Lawrence"
}

old format:
"from": {
"id": "8:orgid:c3ec28d6-7188-45ec-996a-1e9341a6e307",
"name": "James Lawrence"
}

We are encrypting the userid now but it will be consistent within your bot code and therefore usable for such things as a key for storing user data, etc.
We will be releasing additional support around querying users, teams and channel information and that id will be used for that functionality.
As far as your specific use case, though, let me follow with the team to find the appropriate way to do this.  Ultimately this sounds like Graph API - being able to query org-wide information, especially for users outside the Teams ecosystem - but I'll check.

we are using the graph api currently to get the list of users, the problem is mapping those ids to these new ids.

@james-lawrence could you solve this issue? Let us know if you need further help or updates from our side.

its been managed. this is still an actual issue though. it won't be fixed until a roster is available and CreateConversation works.

@james-lawrence How did you manage to construct user id? I am also using Graph API to fetch all users.


Show loading icon on balance if first time waiting for reply

Mainly on lbry.tv, the first wallet balance call may take a few seconds, so it would be good to give a loading indicator when this happens so the user doesn't think their wallet isn't loaded.

closing for https://github.com/lbryio/lbry-desktop/issues/3903


Failed to Login

After some time docker running I can no more log in to my NGINXPROXYMANAGER:
I have to manaually docker restart nginxproxymanager.
Here are server logs:
2023/07/26 17:55:42 [error] 11102#11102: *332 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "POST /api/tokens HTTP/1.1", upstream: "http://<IP_ADDRESS>:48693/tokens", host: "proxy.afzal.website", referrer: "https://proxy.afzal.website/login"
2023/07/26 17:56:07 [error] 11069#11069: *334 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "GET /api/ HTTP/2.0", upstream: "http://<IP_ADDRESS>:48693/", host: "localhost:81"
2023/07/26 17:56:08 [error] 11135#11135: *351 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:48693/", host: "proxy.afzal.website", referrer: "https://proxy.afzal.website/"
2023/07/26 17:56:23 [error] 11135#11135: *366 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "POST /api/tokens HTTP/1.1", upstream: "http://<IP_ADDRESS>:48693/tokens", host: "proxy.afzal.website", referrer: "https://proxy.afzal.website/login"
2023/07/26 17:56:37 [error] 11069#11069: *368 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "GET /api/ HTTP/2.0", upstream: "http://<IP_ADDRESS>:48693/", host: "localhost:81"

can you provide browser logs?

It says :

can you provide browser logs?

ANd there is no thing inside console of browser. It just shows bad gateway on screen

does this occured multiple times or just onces?

it occurs after 5 hours at average

can you send me the full docker logs?

I have just restarted docker now. Now everythng is working for sometime. Here is full log:
nginxfulllogs.log

does the issue still exist?

does the issue still exist?

I had migrated to Caddy. It is simple easy and awesome. Anyway I moved to caddy because of issue in NPM. So it is straight forward , issue is still present in NPM.

Sorry, but I can't reproduce this error
Maybe this is something that could interest you, I plan to create based on this fork of the NPM a Caddy-Proxy-Manager

Sorry, but I can't reproduce this error Maybe this is something that could interest you, I plan to create based on this fork of the NPM a Caddy-Proxy-Manager

Sorry for late reply.
There is alreaady CaddyProxyManger but kind of Dead Project.

Sorry, but I can't reproduce this error Maybe this is something that could interest you, I plan to create based on this fork of the NPM a Caddy-Proxy-Manager

Caddy has a simple CaddyFile for everything but a web ui will be much more appreciate. Yes I am waiting for it.

The link here does not work anymore.

The link here does not work anymore.

thanks! fixed now

Sorry, but I can't reproduce this error Maybe this is something that could interest you, I plan to create based on this fork of the NPM a Caddy-Proxy-Manager

Sorry for late reply. There is alreaady CaddyProxyManger but kind of Dead Project.

doesn't look very useable

Sorry, but I can't reproduce this error Maybe this is something that could interest you, I plan to create based on this fork of the NPM a Caddy-Proxy-Manager

Sorry for late reply. There is alreaady CaddyProxyManger but kind of Dead Project.

didn't know there is already something like that, but yes doesn't seem to be maintained

I think I know the reason, will be fixed in the enxt release

should be fixed now


Added camel humps (Key map settings)

Name of the extension you are adding
Camel humps
Why do you think this extension is awesome?
Makes writing code better
Make sure that:

[x] ToC updated

Sorry for the long reply! Thanks for the nice suggestion, but I think Migration section might be more appropriate for this (since we only keep extensions in other sections)?

I'm fine with the migration section and changed the file

Great! Thanks


Sorting algorithms of C++ added

The sorting algorithms of C++ namely QuickSort, MergeSort, SelectionSort, Shell Sort, Heap Sort are added to the sorting folder.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 42ae6790-dc5f-11e8-a919-2b33139089d4


Add test suite for desired behavior of non-flattenable lines

A few test cases to demonstrate the desired behavior to fix #76. The test suite currently fails with
LineTest:
- lineNoFlat cancels grouping *** FAILED *** (26 milliseconds)
  "[

  ]" did not equal "[  ]" (LineTest.scala:17)
- lineNoFlat preserves nesting *** FAILED *** (1 millisecond)
  "[

  ]  " did not equal "[]  " (LineTest.scala:21)
- lineNoFlatNoIndent cancels grouping *** FAILED *** (1 millisecond)
  "[

  ]" did not equal "[  ]" (LineTest.scala:25)
- lineNoFlatNoIndent ignores nesting *** FAILED *** (0 milliseconds)
  "[

  ]" did not equal "[  ]" (LineTest.scala:30)
- it's possible to use print multiline strings and use .grouped *** FAILED *** (1 millisecond)
  "foo([''' '''])" did not equal "foo([
    '''
  '''
  ])" (LineTest.scala:38)

This PR is not intended to be merged so it can be closed.


Error "credential-cache is disabled in this build of Git" on PlugInstall

:PlugInstall is showing this error: credential-cache is disabled in this build of Git.
I have recently moved from Linux to Windows (pray for me), so excuse me if it's a common issue. Interesting matter here is that I can clone repos from powershell/cmd without any error. I tried both enabling and disabling credential manager while installing git-for-windows, but same result.
By the way, I set up SSH keys to interact with GitHub. That should be okay, right?

Oh, the other plugins I've cloned manually. I didn't have time then to open an issue here.

NVIM v0.5.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe /DWIN32 /D_WINDOWS /W3 -DNVIM_TS_HAS_SET_MATCH_LIMIT /MD /Zi /O2 /Ob1 /DNDEBUG /W3 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -D_WIN32_WINNT=0x0600 -DINCLUDE_GENERATED_DECLARATIONS -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -ID:/a/neovim/neovim/build/config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/nvim-deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include
Compiled by runneradmin@fv-az152-786

Features: -acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files/nvim/share/nvim"

Run :checkhealth for more info

Type:

[x] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[ ] Linux
[ ] OS X
[x] Windows

Vim:

[ ] Terminal Vim
[ ] GVim
[x] Neovim
[x] nvim-qt

vim-plug includes -c credential-helper= for fetch,checkout.

@janlazo, so it should work if I have git-for-windows's credential manager enabled, right? But it doesn't. I checked with both enabling and disabling it.
Also, isn't there a way to enforce using the SSH keys? Like, the way git clone behaves when the argument is of the form git@github.com:user/repo.git (probably - I'm not sure)?

Also, isn't there a way to force vim-plug to use the SSH keys? Like, the way git clone behaves when the argument is of the form git@github.com:user/repo.git (probably - I'm not sure)?

You can put this before any Plug statement.
let g:plug_url_format = 'git@github.com:%s.git'

@junegunn, the g:plug_url_format setting worked. Thanks. A small issue, though. After the cloning is done, the status after the cloned plugin doesn't change to something like "Installed now," which, if I remember correctly from last month, is what used to happen in my Linux machine.

Not important, though. Plugins are being installed. That's enough for me. Thanks again.


Added full keyboard control

Arrow up and down for MenuItem selection
Enter or right arrow key for SubMenu activation
Enter for MenuItem fake click activation
Escape and left arrow for SubMenu closing
Escape key only for ContextMenu closing

🎊 Awesome work!
I'll test this branch as soon as I get some free time
FYI: I too started working on same thing in #96, but could not complete it.

Mh I found a problem with the "Dynamic Menu" and "Customization" example which need to be fixed before merging. But u can still continue trying it out with the other examples. Look into it in the next few days ;)

Ok, wasn't that hard to fix

I tested the branch, everything looks awesome!
Just make the requested changes and the PR will be GTG

Well if the properties have defaults, then they are by definition not
required. isRequired is only to be used when it is required that the
user of the component provides those props.

This weekend I will fix it and add some more code comments to the new internal props.


Fix merged file

@alexbuckgit : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Don't prevent Promise.reject() in the no-return-wrap rule

Using return Promise.reject() is not wrapping, but just another way to reject the promise. I don't think this rule should be concerned about a stylistic issue.
If not, there should at least be an option to turn off requiring throw.

I personally favor:
myPromise.then(() => Promise.reject(new Error("bad thing")));

Over this:
myPromise.then(() => {
	throw new Error('bad thing');
});

I kind of always thought of this as a stylistic rule, but I'm fine making
it configruable!
On Sun, Nov 27, 2016 at 12:37 AM Sindre Sorhus<EMAIL_ADDRESS>wrote:

Using return Promise.reject() is not wrapping, but just another way to
reject the promise. I don't think this rule should be concerned about a
stylistic issue.
If not, there should at least be an option to turn off requiring throw.
I personally favor:
myPromise.then(() => Promise.reject(new Error("bad thing")));
Over this:
myPromise.then(() => {
throw new Error('bad thing');
});
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xjamundx/eslint-plugin-promise/issues/50, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPBf3ZdieEdV6J-HqQKJmMTe798B-xHks5rCUE7gaJpZM4K9GE_
.

I'd be interested in fixing this. Is this how you'd like the option to look?
/*eslint promise/no-return-wrap: ["error", { allowReject: true }]*/
myPromise.then(() => {
  return Promise.reject(new Error("bad thing"))
});

Sounds good!
On Sat, Oct 7, 2017 at 8:52 AM Christopher Joslyn<EMAIL_ADDRESS>wrote:

I'd be interested in fixing this. Is this how you'd like the option to
look?
/eslint promise/no-return-wrap: ["error", { allowReject: true }]/myPromise.then(() => {
return Promise.reject(new Error("bad thing"))
});
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/xjamundx/eslint-plugin-promise/issues/50#issuecomment-334944961,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPBf14VkfgTWqZhvRNmGjNvltt5ffenks5sp54xgaJpZM4K9GE_
.


Adopt the new branch strategy

This PR edits the contribution guide for the new branch strategy discussed off-line.

LGTM.


Bump versions and improve CI config

Current dependencies on/for this PR:

main

PR #75   👈

This stack of pull requests is managed by Graphite.


Add UTs and Code coverage as part of CI

Issue/Feature Description:
Current CI for multi-cloud is simply build the components. It should actually encompass UTs, coverage and automation
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Subtasks :

Create UTs for multi-cloud/file
Create UTs for multi-cloud/block
Create UTs for multi-cloud/backend


How to use this plugin in phonegap-build?

Hi fellas, i really need this plugin for buid.phonegap which allows me only to do stuff in the config.xml.
Is it possible to use this plugin there?
If yes, than how?

Development is currently focused on Cordova; PhoneGap Build isn't currently supported.


Issues Template Modify

Issue 1

Issue template files are in .md format which is not looking good
it doesn't have separate columns for content and drop down menu and checkboxes

Current View

Solution

I will write yml code for issues template
I will add drop down menu for operating systems, Device, Version, browser etc.
Sample

Issue 2

There are no checkboxes in issue template
When contributor (GSSOC'23) raise a new issue then many time they didn't mention GSSOC label
It is also tough for project admin to label the issues

Solution

I will add important checkboxes in issue template (sample below)

Hi @parasss19
Thanks for your interest in contributing to the project.
We are currently not accepting any issue template modification.
Do check out https://github.com/foss42/api-dash/issues/56 to contribute to this project.


Players can't talk ingame

Hello,
here's the error the console is outputting when a player tries to chat :
https://pastebin.com/ZW099qad
You can see discord messages ingame, but impossible to chat from there.
Thanks in advance,
Jin

Hi,
You didn't give your discord bot enough permission in your discord server.
In your server go to server settings > Rôles. Select your bot name and add the manage webhook permission. Otherwise you can add the administrator permission that will give every permission to your bot.
Hopping this will resolve your issue.
Denis
PS: I will add a tutorial soon

that fixed it thank you !! keep the good work :D


Pytest - IntegrityError

We have a model with audit log.
We test this model using pytest.
Having IntegrityError during test-tearing-down.
See screenshot attached.
Solved with: instance.audit_log.disable_tracking()

Closed.
Reason: wrong project


Fix ANSIBLE_LIBRARY variable handling

When we introduced the ability to pass down the user-specified ANSIBLE_LIBRARY variable value to the molecule, we wrongly assumed that the variable will always contain a single component, which is not always true.
This commit makes sure that we properly handle scenarios where users specify multiple directories in the ANSIBLE_LIBRARY environment variable.
Fixes #3083
PR Type

Bugfix Pull Request

@tadeboro please rebase and thanks for addresing it.


Dataset Download issue

Hi,
I am unable to download dataset as it requires BaiduNetdisk account and outside china it is not working. Can you please share the drive link?

Maybe you can download the dataset from the dataset's official website.


Indicators (multiple locations): Inconsistent formatting of dates

To reproduce:

Open an indicator with any sort of periodic target (annual, semi-annual, etc.)
Note that the date ranges are formatted with leading zeroes for single-digit months, i.e. Jan 01:

Now click the Save changes button.
Note that dates are now formatted without the leading zeroes:

Technical detail from Mahmood: "When you first open the indicator form, the data is pre-formatted using python language. When you click save, data is refreshed and formatted using javascript."
Looks like we display the leading zeroes on the Indicators page as well:

However, we do NOT display them on the Collected data record:

REQUESTED FIX
Let's always display dates WITHOUT leading zeroes. That includes the following locations:

Indicators page
Indicators configuration (modal and non-modal) > targets table
Collected data record

Validated. No leading zeroes in the three locations specified.


Timber activation test with 'template_include filter'

Prevents server errors on the front end without adding extra checks in php template files, but hijacking the requested template to a no-timber.php template.

Hey @mgiulio — thanks for the PR and sorry I'm only getting around to this now. In your opinion what issue or problem does this resolve? I want to make sure this is fixing or improving something (esp. b/c it's adding a new file) rather than simply a "different" way to do something

It's not a critical feature, but just a suggestion on how the Timber 'presence' test(that is, checking if the plugin is activated) could be done, especially when a front-end template is rendered.
In this way, whatever template would be rendered, if Timber is not installed/actived, the no-timber.php file is rendered instead, without repeating the test  in every template, but keeping this code segregated only in function.php

@mgiulio thanks for that info! You're totally right: this simplifies things so that the error appears on all page variations (single.php, archive.php ...) without actually having to add code to each. I just changed the file organization and merged! Thanks so much!

@jarednova I am glad that you found it useful!


Failing when running on Mac with M1

Failed running on Mac with M1 chip using DO droplet
PLAY [Wireguard server setup]*********************************************

TASK [Gathering Facts] ****************************************************
ok: [xxx.xx.xx.xx]

TASK [apt update] *********************************************************
ok: [xxx.xx.xx.xx]

TASK [Install wireguard] ***************************************************
changed: [xxx.xx.xx.xx]

TASK [wg0 down in case it's up] *******************************************
fatal: [xxx.xx.xx.xx]: FAILED! => {"changed": true, "cmd": "wg-quick down wg0", "delta": "0:00:00.017250", "end": "2022-01-14 05:39:29.010561", "msg": "non-zero return code", "rc": 1, "start": "2022-01-14 05:39:28.993311", "stderr": "wg-quick: `/etc/wireguard/wg0.conf' does not exist", "stderr_lines": ["wg-quick: `/etc/wireguard/wg0.conf' does not exist"], "stdout": "", "stdout_lines": []}
...ignoring

TASK [Create wireguard keys directory] ************************************
changed: [xxx.xx.xx.xx]

TASK [Create wg server and client keys] ***********************************
changed: [xxx.xx.xx.xx]

TASK [Get server key] *****************************************************
changed: [xxx.xx.xx.xx]

TASK [Create wg0.conf from template] ************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [xxx.xx.xx.xx]: FAILED! => {"changed": false, "msg": "Could not find or access 'wg0.conf.j2'\nSearched in:\n\t/poor-mans-vpn/templates/wg0.conf.j2\n\t/poor-mans-vpn/wg0.conf.j2\n\t/poor-mans-vpn/templates/wg0.conf.j2\n\t/poor-mans-vpn/wg0.conf.j2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

PLAY RECAP **************************************************************
xxx.xx.xx.xx             : ok=7    changed=5    unreachable=0    failed=1    skipped=0    rescued=0    ignored=1

I guess the play cant work at all.
 "Could not find or access 'wg0.conf.j2'
Searched in:
    /poor-mans-vpn/templates/wg0.conf.j2
    /poor-mans-vpn/wg0.conf.j2
    /poor-mans-vpn/templates/wg0.conf.j2
    /poor-mans-vpn/wg0.conf.j2 on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see the remote_src option" `

the file referenced here  https://github.com/amritb/poor-mans-vpn/blob/f3c855dfc6f38f46f4c9677e5780d18834b83e61/playbook.yaml#L48 is just not present.
When youre keen of using ansible maybe check https://github.com/githubixx/ansible-role-wireguard when you just want to get something up I very much like this one https://github.com/angristan/wireguard-install


[bug] Notification uses Windows Powershell

Describe the bug

Reproduction
new Notification('Title', {body: "This is the notification body"});

Expected behavior
The app's icon and app's name instead of Windows Powershell. I shouldn't need to provide that myself.
Platform and versions
PS C:\Users\maste\Documents\GitHub\r2-t2> yarn tauri info
yarn run v1.22.11
$ C:\Users\maste\Documents\GitHub\r2-t2\node_modules\.bin\tauri info

Operating System - Windows, version 10.0.19044 X64
Webview2 - 99.0.1150.39
Visual Studio Build Tools:
   - Visual Studio Community 2022

Node.js environment
  Node.js - 17.3.1
  @tauri-apps/cli - 1.0.0-rc.6
  @tauri-apps/api - 1.0.0-rc.2

Global packages
  npm - 8.3.0
  pnpm - Not installed
  yarn - 1.22.11

Rust environment
  rustup - 1.24.3
  rustc - 1.57.0
  cargo - 1.57.0
  toolchain - stable-x86_64-pc-windows-msvc

App directory structure
/.git
/assets
/build
/dist
/node_modules
/public
/pyi-specs
/src
/src-tauri
/__pycache__

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.4
  wry - 0.13.3
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../build
  devPath - http://<IP_ADDRESS>:3000/
  framework - React
Done in 7.98s.
PS C:\Users\maste\Documents\GitHub\r2-t2>

Stack trace
No response
Additional context
No response

No it doesn't.

I installed it using both .msi and nsis, but it still did not work. Do I need to setup for certificateThumbprint as well? or is changing bundle identifier enough?

I used winrt_notification instead of notify-rust, and it worked.
Apparently, notify-rust is designed primarily for XDG, and there are many features in notify-rust that does not work in Windows or Mac.
If you are trying to show a notification on Windows and if you do not want to see Windows Powershell as a notification generator,
(both dev and build)

Set proper name for tauri.bundle.identifier in tauri.conf.json.

{
   "tauri": {
       "bundle": {
           "identifier": "com.condoso.my-projectname.whatever"
       }
   }
}

Instead of Toast::POWERSHELL_APP_ID, put the identifier on step 1.

Toast::new("com.condoso.my-projectname.whatever")
.title(title)
.text1(body)
.sound(Some(Sound::SMS))
.duration(Duration::Long)
.show()
.expect("unable to toast");


Do you accept pull request on the file build.py?

Today I've tried build with Visual Studio 2022, and it worked after some trial and error. During the process, I modified some building related files, since VS2022 is a 64bit program and the location of some directories changed. Also I found that the file build.py could be improved drastically. For example, if there are some errors and the execution got interrupted, and you restarted build.py. You will find that it re-extracts Chromium's source code! And that's more than 600,000 files and the size is more than 8GB, and nothing changed!
I could create a pull request if you would like merge my change to these files.

Yes, please open the pull request

Has Visual Studio 2022 been supported?

built succesfully with https://github.com/teeminus/ungoogled-chromium-windows

built succesfully with https://github.com/teeminus/ungoogled-chromium-windows

How is this version different from the original version on https://github.com/ungoogled-software/ungoogled-chromium-windows?

There is no difference.

@teeminus I am developing on VS 2022, after I run "py package.py" successfully, no .sln files are generated? And I've fixed some code in build\src, I can't run "py build.py" successfully. Did I do anything wrong?

I don’t use VS, so I cannot answer any questions on that topic, sorry. The package.py script is supposed to run after successfully running build.py as it’s used to generate the installer package.

Sorry for being unclear, and it's a shame you're not using VS. I am developing on windows. With the first build I successfully ran build.py and package.py and then I customed some code in build\src.
I then ran build.py again with no success, so I couldn't run package.py to spawn a fresh install of my patch.
Sorry I'm pretty new to ungoogled-chromium.
I read the documentation very carefully and took a week to try it without success.
And I just have to ask everyone here.

The build.py script is build to run only once. If there are artifacts left from a previous run, it will fail. Try checking out the chromium build instructions on how to use VS.


Code lenses to switch between bicep and JSON module source

Fixes #12757
No source was published:

Showing module's main.bicep source:

After clicking on "Show compiled JSON":

Microsoft Reviewers: Open in CodeFlow

I see that @shenglol has already reviewed, so I'll skip the review, but wanted to say, this experience looks super nice!


Update jsoniter-scala-core, ... to 2.30.12

About this PR
📦 Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.30.9 to 2.30.12
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #1165.


Documentation: DataLoader example is missing context setup code

Expected Behavior
The example in the Optimizing N+1 queries should cover all necessary steps to set up a data loader.
Actual Behavior
The example is missing the code that adds dataloader into the context and choosing the spawner. The following code, for example, can be added.
    let schema = Schema::build(QueryRoot, EmptyMutation, EmptySubscription)
        .data(DataLoader::new(
            UserNameLoader,
            async_std::task::spawn, // or `tokio::spawn`
        ))
        .finish();

I eventually found the solution in the example code folder. However, it isn't obvious how the DataLoader should be new()ed and a task spanwer should be provided. I think other users could  benefit from an improvement documentation.
This feels like a simple fix. Let me know if you'd like a PR.

Sorry for the late reply, I really need PR. 😀

Sorry @sunli829, this has fallen off my attention. I just created the PR.


Screenshots in add-on listings should be localizable

I should be able to have different screenshots for different languages in my add-on listing. My screenshots all show localized strings and the users looking at screenshots should see the strings in their language.

AMO doesn't even support this, afaik, so the chance we ever add this is so negligible I'm not even sure it's honest to leave this open.

If I file an issue about it upstream for AMO and they fix it, will that fix eventually make its way into ATN? If so, where do AMO issues get field nowadays?

Image captions can be localized. Would be nice if the images could be localized too.

If I file an issue about it upstream for AMO and they fix it, will that fix eventually make its way into ATN? If so, where do AMO issues get field nowadays?

No promises, but it would substantially increase the likelihood of it eventually arriving, yes. We're quite far behind relative to AMO because they've made a lot of incompatible changes. But even a patch on their version would be easier to backport than developing it myself.
Please note that ATN is NOT under active development. I do critical bug fixes and features that are necessary for basic functionality to continue working. I say "no" to all non-critical feature requests as a rule. The reason for that is that we do not have a dedicated webdev nor a designer, so any dev time on this site has to be fit into no more than 30-40% of my overall time. And as we add more services, the amount of time I have to spend on webdev on any particular site continues to decrease.
This feature would:

Be used by few developers
Require new UI design/coding
Require database and file storage changes that would be incompatible with upstream addons-server

There are a lot of web-facing things that need improvement before I worry about trying to add features like this to ATN. For example, the in-client Discovery Pane needs a complete redesign and rewrite, and that's something that millions of users see every week. So does the core thunderbird.net website, and we're working on that too. The list of things is long, and 1 full time person only goes so far.
In any case, the upstream AMO repo is here.

Somebody beat me to it: https://github.com/mozilla/addons-server/issues/5662. Two years ago.
Closing here, no reason to keep open if it's that unlikely to ever be implemented. sigh


#Issue-392 properly fixed

Forgot for a sec it was an appimage

@accessdeniedIT Can you give a quick brief about this change ?

Fixes Linux Icon issues

I closed it.

@lapstjup

@accessdeniedIT I think #392 is the issue this fix is for ? It shouldn't be closed until the PR for it gets merged.

@thesanjeevsharma Do we want relative imports for assets ? Also @accessdeniedIT - where is the png file saved? I cannot see any new png file added to assets as part of this PR.

it's an appimage, the image/png already exist in a temp file that itself creates @lapstjup

@thesanjeevsharma Do we want relative imports for assets ?

Relative imports for same directory, else absolute imports everywhere. @lapstjup
Here, it should be absolute as it's outside main dir.


how use file type of vue

how use import file type of vue

@eeolqy Same reason as the previous issue.


MSID: 100737 Version: 1 DOI: 10.1101/2<IP_ADDRESS>0342

MSID: 100737
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>0342
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=100737
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0342

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/100737v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>0342
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/100737/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Hi @naushinthomson is this something we can address on our side, or will we need the authors to update bioRxiv? Thanks!

On page 16, line 379 of the manuscript, we wrote, "The motor function of mice was assessed by the rotarod test using an MK-610A rotarod treadmill for mice (Muromachi Kikai, Tokyo, Japan), as described previously (24)." However, this citation number is incorrect, and the correct number is 25, not 24. We are very sorry about this mistake. We would like to ask you to correct the reference number from 24 to 25.

Hi @naushinthomson is this something we can address on our side, or will we need the authors to update bioRxiv? Thanks!
On page 16, line 379 of the manuscript, we wrote, "The motor function of mice was assessed by the rotarod test using an MK-610A rotarod treadmill for mice (Muromachi Kikai, Tokyo, Japan), as described previously (24)." However, this citation number is incorrect, and the correct number is 25, not 24. We are very sorry about this mistake. We would like to ask you to correct the reference number from 24 to 25.

Hi @acollings Yep, we can correct it on our side, but they'll just need to make sure it's updated for subsequent revisions so we don't need to keep making this change for each version!

Thanks @naushinthomson!


save config.json faster during provisioning CORE-4136

@patrickxb r?
This tries to address what we talked about last night. Instead of running the config.json transaction in the Login engine, we instead do it in loginProvision so we can commit the file before we start asking the user about paper keys.

The commits d07a1a52b248...337e9c800739 introduce visual changes on linux. :mag_right: 3 changed

Changed: unlock_folders-Single (before) (after)

Changed: unlock_folders-Normal (before) (after)

Changed: unlock_folders-No_paperkeys (before) (after)


fixed sidebar inconsistent issue, class had underscore instead of dash

Class for "Archives" section in sidebar had a underscore instead of dash.
(Eg. "sidebar_title" instead of "sidebar-title" )
Fixed Issue #1

What issue does this address? Please explicitly  describe your changes.

Revised!

👍


Dialog: showErrorBox or entire API can be called before ready?

This API can be called safely before the ready event the app module emits, it is usually used to report errors in early stage of startup. If called before the app readyevent on Linux, the message will be emitted to stderr, and no GUI dialog will appear.

This at the end after the showErrorBox summary. Does it apply to the whole API? I know it says "API" but just want to be safe.

Only showErrorBox can be called before the ready event.

:+1:


Allow to instantiate with a custom Guzzle client

Hi!
It looks like this used to be supported (according to the docs) but was removed in https://github.com/ahinkle/packagist-latest-version/pull/3.
Is it maybe something you'd reconsider supporting? My use-case is wanting to provide a user agent as is kindly requested in the Packagist API docs: https://packagist.org/apidoc
Thanks!

Thanks

Thank you - have a nice weekend!


[BUG] MultOneHotDiscreteTensorSpec.is_in raise a RuntimeError when input is not a one hot tensor

Describe the bug
MultOneHotDiscreteTensorSpec.is_in raise a RuntimeError when input is not a one hot tensor.
# The input is tensor([[0, 1, 0],
#        [0, 0, 1],
#      [3, 0, 1]])
test/test_tensor_spec.py:310 (test_multi_discrete_conversion[device0-shape0-ns1])
Traceback (most recent call last):
  File "/Users/waris/Projects/rl/test/test_tensor_spec.py", line 338, in test_multi_discrete_conversion
    assert one_hot.is_in(categorical.to_onehot(categorical.rand(shape)))
  File "/Users/waris/Projects/rl/torchrl/data/tensor_specs.py", line 909, in is_in
    vals = self._split(val)
  File "/Users/waris/Projects/rl/torchrl/data/tensor_specs.py", line 882, in _split
    vals = val.split([space.n for space in self.space], dim=-1)
  File "/Users/waris/Projects/rl/venv/lib/python3.10/site-packages/torch/_tensor.py", line 789, in split
    return torch._VF.split_with_sizes(self, split_size, dim)
RuntimeError: split_with_sizes expects split_sizes to sum exactly to 3 (input tensor's size at dimension -1), but got split_sizes=[5, 2, 3]

Expected behavior
Should return False instead raising an error.
NOTE: In general when we test method that return boolean, we should also write tests for the False case.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

Good catch
Is there a clever way of doing this or should we just capture the error and return False in that case?

NOTE: In general when we test method that return boolean, we should also write tests for the False case.

hehe, indeed :)

Good catch Is there a clever way of doing this or should we just capture the error and return False in that case?

I'm gonna work on a simple and clever way of doing it, because exception handling can lead to performance issue.


Modify DeveloperGuide.md diagram for storage

Coverage remained the same at 91.094% when pulling e3d07272906b0ca9c8b337d498046641655bdc89 on aditya-storage-diagram into 4632a6cffc5ab1bbffc812367439fb65b75b2548 on master.


Bug: "ActionOpenDocumentTree" shows empty items

See:

Interesting. I suppose those documents don't have names/mime types? (I'm not sure how to reproduce it to see what's going on exactly.)
Do you know what they are?

Why would that matter?
The files have names. The mimetype is an extra data.
The names can't be empty.
You show empty cells.
As for what those are, one is a folder named "gif". One is a folder named "animated webp". Folders !!!
Not only that, but the app shows 2 items with the exact same name, and both don't even exist : "New Folder". On a normal file manager app, and by connecting the PC via USB, I don't see those folders. And, the "files" app also shows them even though they don't exist.
The sample app shows 22 files&folders in total. There are actually only 16 files&folders on the "Download" folder. I tried to restart the OS, and I still see this bug. Trying to press on the empty items shows a toast "No activity found to open null".
A huge bug on Android Q, I think. Android still can't handle files correctly, especially with SAF.
And this is just for existence of files&folders, which is the most basic thing when querying the file system.  When it comes to actually reading and writing from them, it becomes much worse.
The whole SAF API is one big mess. It has all the kinds of disadvantages I can think of: slow, non-standard, no compatibility, no support for third party libraries, breaks apps, non-intuitive for both users and developers, doesn't really provide access to files via file-path, fails to provide the same functionality as File API, no monitoring of files, no full framework support (some framework functions still require file-path alone), no way to grant access to the whole file system...
Really, Android is on the tenth year, and instead of making File API better, it got worse and we are forced to use SAF.
How could it be? Why would Google be a part of such a terrible decision?

I'm sorry, but I'm not able to reproduce the problem, and so I'm not quite sure how to address it. (Either in the sample or providing a use case to the team to identify a bug in the SAF itself)
What device/OS version was this observed on? Does the "Files" app show this directory correctly?

Pixel 2 Q.
OPA1A.190711.020.
As for "Files" app, it doesn't show empty names, but it seems to ignore the folders that I've mentioned ("gif" folder for example doesn't get shown at all).
Why would SAF fail to show a simple folder?
Here, the 2 folders of "gif" and "animated webp", if you really want them:
https://ufile.io/zt35l83j
https://ufile.io/j8g3whn3
Guys please don't force SAF on developers. See how badly it's implemented?
It can't identify folders that my own PC can (connected via USB)...
Even "Files" app, which is a system app (A system app!) can't handle it well, showing only some of the files.
Here, bug report file if you want it too:
https://ufile.io/1rxpw8wv
According to the whole experience I got from how Google handles SAF since it started with Q first preview, nothing that I ever wrote them has succeeded convincing them it's bad and should not be a replacement for files API. Doesn't matter how many bugs, doesn't many how many flaws, doesn't matter how much it's not backward compatible, doesn't matter how it's not supporting libraries, linux commands and even Android's own framework, doesn't matter its performance, doesn't matter the boilerplate code used for it, doesn't matter duplicate code to handle both it and Files API, doesn't matter the bad UX and multiple steps, doesn't matter lack of support by adb, doesn't matter lack of API functions that we have on File API, ...
Doesn't matter anything.
I'm really disappointed.

Here, opened a new bug report:
https://issuetracker.google.com/issues/141672530
And my guess, looking at all of the issues and requests I've made: It will be closed with the comment that either it's too old, not reproducible, or "working as intended" with some weird excuse that doesn't make any sense.

Thank you. Since this seems to be a bug in the platform, rather than this sample, I'm going to close this issue.

Issue still exists though.


Improve back-pressure Ticket pressure across lifecycle cross components

Right now the node eagerly drops tickets potentially too early in the process. To make it reflect actual load more accurately, we should ensure that a Ticket from processing a request is dropped exactly when all of its resource use has concluded.
Whether it is feasible to drop the Ticket approach entirely in favor of making proper request-response patterns offered by juliet fixing this issue remains a matter of scope.

Housekeeping: Removed the automated sprint allocation and moved it back to triage.

Triage update: Not Condor related. Therefore removed from Condor/2.0.0 release.


Bring back the ability to select a range of feeds using x-y on commands such as rss.clone

Is your feature request related to a problem? Please describe.
In the previous major version (v5.x.x), when cloning or performing an action that allowed you to select many feeds, you were able to use x-y,z,a, but now it's only possible x,y,z,a. This makes it really annoying when I want to, say, clone certain text/embedded properties from feed 1 to feeds 2-80.
Describe the solution you'd like
Please bring back to the ability to select a  range of feeds using x-y when performing actions that allow the user to pick multiple feeds, instead of only being able to individual reference/choose a feed using x,y,z,a.

Thanks for the suggestion. I intended to reimplement this but it had slipped my mind. I'll try to get it in the next patch.


unable to load user info

Hi,
For some reason I'm not able to fetch user info from the database in AngularFire version 1.1.2. Here's my code:
var ref = new Firebase(FIREBASE_URL),
auth = $firebaseAuth(ref);

auth.$onAuth(function (authUser) {
    if(authUser){
        var ref = new Firebase(FIREBASE_URL+'users/'+authUser.uid);

        var user = $firebaseObject(ref);
        user.$loaded().then(function () {
            $rootScope.currentUser = user;
        });
    }else{
        $rootScope.currentUser = null;
    }
});

The user object has firstname, lastname etc as fields but none of them are available. Not sure what's wrong here. Kindly help.

There is no code here to authenticate the user. We can't help troubleshoot an authentication issue without a complete, minimal repro.

Authentication is done using an authentication factory. Here's the code form the factory:
myApp.factory('Authentication', function($firebaseArray, $rootScope, $firebaseAuth, $location, FIREBASE_URL){
"use strict";

var ref = new Firebase(FIREBASE_URL),
    simpleLogin = $firebaseAuth(ref),
    obj;

obj =  {
    login: function (user) {
        return simpleLogin.$authWithPassword({
            email: user.email,
            password: user.password
        });
    }, //login

    logout: function(){
        return simpleLogin.$unauth();
    }//logout
}; //obj

return obj;
});

Login is initiated by ng-submit="login()" which is handled in the registration controller here:
    $scope.login = function(){
    Authentication.login($scope.user)
        .then(function (user) {
            $location.path('/meetings');
        }, function(error){
            $scope.message = error.toString()
        });
}; //login

The statusController checks for the login state and initializes view variables. The code is:
var ref = new Firebase(FIREBASE_URL),
auth = $firebaseAuth(ref);

auth.$onAuth(function (authUser) {
if(authUser){
    var ref = new Firebase(FIREBASE_URL+'users/'+authUser.uid);

    var user = $firebaseObject(ref);
    user.$loaded().then(function () {
        $rootScope.currentUser = user;
    });
}else{
    $rootScope.currentUser = null;
}
});

Let me know if I missed anything else. Thank you.

A error is clearly being eaten here at some point. Try adding a catch to your $loaded() promise:
user.$loaded().then(function () {
  $rootScope.currentUser = user;
}).catch(function(error) {
  console.log(error);
});

I bet you will see a PERMISSION_DENIED error, meaning your security rules failed. This could be a result of many things (as Kato alluded to): (1) you may not actually be authenticated yet (please very that authUser.uid is defined) or (2) your rules may be rejecting the request for some other reason. If it's (2), then you should provide us with the relevant rules you have. Also, try using the simulator in the Firebase Dashboard to test your rules.
FWIW, you can simplify:
var user = $firebaseObject(ref);
user.$loaded().then(function () {
  $rootScope.currentUser = user;
});

to:
$rootScope.currentUser = $firebaseObject(ref);

currentUser will "just work" in your HTML template since AngularFire handles all the compile / digest loop for you.

@jwngr no error is caught with the $loaded method.

We will need a live repro to help you further. Looking at a block of code only gets us so far. Please provide a Plunker (you can fork my AngularFire seed Plunker to avoid any boilerplate) with a reproduction of the issue. Once you have that, re-open this issue. Thanks.

I was adding some extra info for the user after the registration. Here's the code:
register: function (user) {
        return simpleLogin.$createUser({
            email: user.email,
            password: user.password
        }).then(function(regUser){
            var ref = new Firebase(FIREBASE_URL+'users');
            var firebaseUsers = $firebaseArray(ref);

            var userInfo = {
                date: Firebase.ServerValue.TIMESTAMP,
                regUser: regUser.uid,
                firstname: user.firstname,
                lastname: user.lastname,
                email: user.email
            };

            firebaseUsers.$add(userInfo);

        });//promise

So the problem was, a new id was automatically created for every new user. I had to make two changes to make it work. First, to provide the user id:
var ref = new Firebase(FIREBASE_URL+'users/'+regUser.uid);

and second to add the userinfo with the set method.
ref.set(userInfo);

Once I did that, the users in the users table were identified by ids like simplelogin:1 etc
Now, I'm able to fetch user by the same id. Thanks for your help folks!

There's no reason to be using $firebaseArray in this context. You aren't modifying a collection. You're modifying single records in a singular context, and they have predefined keys. Since there are no bindings to the UI here, AngularFire isn't really necessary.
This would be simpler, more performant, and less buggy:
register: function (user) {
        return simpleLogin.$createUser({
            email: user.email,
            password: user.password
        }).then(function(regUser){
            var ref = new Firebase(FIREBASE_URL+'users');
            var userInfo = {
                date: Firebase.ServerValue.TIMESTAMP,
                regUser: regUser.uid,
                firstname: user.firstname,
                lastname: user.lastname,
                email: user.email
            };

            ref.child(regUser.uid).set(userInfo, function(err) {
                 // handle errors
            });
        });

Just starting out with angularjs and firebase @katowulf, some experiment should be forgiven.  Appreciate you taking out time to explain. I'll keep that in mind. Thanks a lot.

@steady-daddy please experiment and have fun. Also thanks for reaching out with your questions; we love helping people build amazing apps and everyone is new to the community at some point. Everything above is intended to be a learning tool and not a correction. Have a great day!


"Use Exclude Settings and Ignore Files" is too subtle

Issue Type: Bug
This feature somehow got turned off for me. It was very hard to find, and very subtle when you do find it.
Steps to reproduce:

Start a Find In Files search.
There is a tiny "..." symbol under the search box. Click it.
In the "Files to Exclude" box, there is a gear symbol.
Either by accident or out of curiosity, click the gear. It seems to do nothing.

Expected results:
Find In Files should work.
Actual results:
If the gear doesn’t have a thin square box surrounding it, Find In Files doesn’t work: searches are overwhelmed by hundreds of hits from your .git directory, your node_modules directory, etc.
Other factors:

Setting is hidden.
Gear symbol is not obvious.
Clicking the symbol has no immediate effect.
The setting is persistent.
The only information provided requires you to hover the mouse for several seconds, revealing a tooltip: "Use Exclude Settings and Ignore Files"

VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:06:21.742Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (3.18GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (32)

Extension
Author (truncated)
Version

laravel-blade
KTa
0.0.1

vscode-mjml
att
1.6.0

vscode-icontheme-nomo-dark
be5
1.3.6

handlebars-preview
cha
1.1.0

npm-intellisense
chr
1.3.0

compulim-vscode-closetag
Com
1.2.0

vscode-eslint
dba
1.7.0

vscode-dash
dee
2.0.0

mjml-syntax
dig
0.0.1

githistory
don
0.4.4

xml
Dot
2.3.2

EditorConfig
Edi
0.12.5

tslint
eg2
1.0.40

vscode-npm-script
eg2
0.3.5

vscode-great-icons
emm
2.1.45

prettier-vscode
esb
1.7.2

php-intellisense
fel
2.3.10

code-runner
for
0.9.5

graphql-for-vscode
kum
1.12.1

easy-less
mrc
1.4.5

python
ms-
2018.11.0

cpptools
ms-
0.20.1

Go
ms-
0.7.0

vsliveshare
ms-
0.3.1011

debugger-for-chrome
msj
4.11.1

vetur
oct
0.14.3

vscode-sql-beautify
sen
0.0.4

vscode-nginx
sha
0.6.0

json2yaml
tux
0.2.0

vscode-mermaid-preview
vst
0.10.1

gitblame
wad
2.6.3

change-case
wma
1.0.0

(8 theme extensions excluded)

In the next release, 1.30, we will show a hint at the top of the results when this feature is disabled, that says "exclude settings and ignore files are disabled". Would that help? You can try it in Insiders now


Docs - difference between link preview  and tooltip

This PR will add a one-liner difference between using a link-preview and a tooltip.
The question I tried to answer was: "Is there an alternative that solves keyboard accessibility?"
Fixes: #432

Hi! Thanks for the PR.
This does not seem to document the difference between the two, especially since Tooltip isn't more accessible, it's just a different use case. I'll be closing this, but thank you for the effort nonetheless 🙂

Hi! Thanks for the PR.
This does not seem to document the difference between the two, especially since Tooltip isn't more accessible, it's just a different use case. I'll be closing this, but thank you for the effort nonetheless 🙂

Got it. What differences would you like to see written about?
To me, it felt like they did the same function of showing some extra information in a given context except the tooltip can be accessed through the keyboard.
Since I missed the mark, an outline of what this looks like would help me contribute better.


GraphQL/PeeWee: rename 'items' to 'numberOfItems' and 'number_of_items'

Closes https://trello.com/c/sano156L/938-new-app-use-consistently-numberofitems-numberofitems-in-python-instead-of-items

@pylipp @aerinsol I'm actually wondering whether quantity is not even a better name (plus, one double-naming candidate less - we can call it both in the GraphQL and the Python internal worlds the same since it has just one word - instead of numberOfItems which would also have to be written - for Python - number_of_items).
If you both agree, I can change it quickly.
Also be aware that this doesn't change the database column names of course - so no changes for Dropapp.
It would require query adaptions though (very easy/quick ones) for any partner using the API though.

@spaudanjo I am ok with changing it, but I would like item to be part of the naming, as quantity is vague (boxes? Something else?). Not worried about leaving the db named the same, that's one of the benefits of using an ORM - no costly schema migrations.
I will leave @pylipp to comment on the other points.

 New App: use consistently numberOfItems (number_of_items in Python) instead of items

addressed you comments @pylipp 🌞


[CLIENT] registration page logic

Once #9 and #10 are done, get the revolut ID from the registration page, and implement the onchain registration logic by invoking the zkramp contracts

@0xChqrles is this issue open for contribution?

Gm @0xChqrles i am still interested in this once #9 and #10 are done

Hi, I would love to work on this if it's available


Twitter no longer works and is now X.com only

Would it be possible to update the extension to point to x.com?

yeah any twitter domain will redirect to x dot com

All right. I will work on it and upload it.

The issue was resolved with the following commit:
https://github.com/Flkalas/TwitterMediaAssist/commit/9f087b601fbac7b007f030d3d0a9b87f27b1d04d
A new version has been submitted to each store and will be reflected within one day.


Fix example code in README (#4)

It seems like argument names changed to components_x, components_y from x_components, y_components. So, I updated example code in README.

Hello @MrPeker! It seems that you've installed https://github.com/halcy/blurhash-python, which is blurhash on PyPI, while this project is called blurhash-python. It's a bit silly, but I realised the naming mistake too late. Some parts of the library interfaces are similar, but naming of the arguments, which you've changed in the README.md file, are different. This project uses x_components and y_components as defined in blurhash/__init__.py file. https://github.com/woltapp/blurhash-python/blob/d90b9cab0ca9076a41bcb8ff1129c7c2a2ccb13c/src/blurhash/init.py#L14
I will close the pull request since the argument names are correct in README.md.

Oh, sorry 😅  Thanks for clarification @lautat ! I hope the issue helps people who encounter the same error when they search on Google.


IGN403 should be aware of development networks

Assuming Ignition has some way to know that a network is a development network, then IGN403: You have sent transactions from 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 and they interfere with Hardhat Ignition. Please wait until they get 5 confirmations before running Hardhat Ignition again. shouldn't be thrown for those kinds of networks.
To be honest I don't fully understand the reason for this error (and as far as I can tell, Ignition doesn't have a reference with expanded explanations about errors like Hardhat does). But I can imagine someone starting a node, running a transaction with the default account, and then trying to deploy something with Ignition. I can imagine it because it just happened to me.
One easy way to detect if a network is a development network is to send a hardhat_metadata request. If it doesn't fail, then it's a development node. This works both on Hardhat and Anvil.

Something similar happens when you deploy on a Hardhat or Anvil node with automining disabled. When the deployment transactions are (manually) mined, Ignition hangs. You have to mine four or five blocks more for the deployment task to finish.
I guess the underlying reason here might be the same: there is a "safe" number of blocks used to consider a transaction finalized. If that's the case, I think that number should be 0 for development networks.

We detect whether a network has automining enabled. If automining is enabled we don't require confirmations. If automining is disabled we use the config value for required confirmations (there might be some weird rules for private besu chains, but leaving them out of it).
I think the feature your requesting is, "detect a development node with automing off and set a the number of required confirmations to 1"? This in effect would add three categories:

Normal network (use config for required confirmations)
Development network with Automining on (use different strategy for confirmation)
Development network with automining off (override config for required confirmations and set it to 1).

That makes sense to me, yes.


Hotfix ns2b3 viz

Adds a fitness view of ZIKV NS2B3 so that we can get a demo for P1/P2 for argos. This uses DMS data from the Evans lab, analyzed by the Bloom lab (see this notebook, and specifically this csv). This PR enables usage of
pose_to_viz.py --viz-target ZIKV-NS2B-NS3pro --pose ZIKV_NS2B3_ligands.sdf --protein ZIKV_NS2B3_apo.pdb --out view.html --color-method fitness

It also fixes an oversight: when running this script we were not aligning input structures to the master structures found in metadata (this was only happening in the end2end docking workflow in the prep phase). Now, users can add align=True to HTMLVisualizer() to enable this.

[ ] This PR is pending Jesse Bloom's approval of the set threshold of -1.0.

Developers certificate of origin

[x] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #646 (966d481) into main (ed9d9a8) will decrease coverage by 22.93%.
The diff coverage is n/a.

Additional details and impacted files

I have done the abstraction of that function. Would you mind checking to see if the zika example works? Is the structure available for public consumption?

Hang on something was changed in dab52ee to make the values different, let me check

Hang on something was changed in dab52ee to make the values different, let me check

Ignore me I am stupid we changed the color scheme.

Oh right, I removed some colors from that list. Now instead of white -> slightly pink -> slightly red -> red -> very red, we color as white -> red -> very red -> super red etc. Makes it much easier to distinguish between 0 fit mutants and 1 fit mutant.
We should still overlay a color bar/ legend to the interactive view.


Set a session-level statement timeout per connection

Tunable via POSTGRES_STATEMENT_TIMEOUT and defaulted to 1 minute to match prod.
Counterpart to https://github.com/ello/ello/pull/2109.
[#146710477]

Oh, @jayzes the environment variable needs to be added here so we have access to it: https://github.com/ello/apex/blob/master/elixir_buildpack.config

@alanpeabody ah right - done in https://github.com/ello/apex/pull/123/commits/ed9a8415002ab3db977db5c9c6e2cd86c8493257


Adds yolov3 model using tvm to AutowareAuto

Hello @daggarwa, and thanks for the PR. As part of the PR I see 3 models, but only one seems to actually be used. Why is this? We'd rather have the other 2 removed if they are actually not needed.

Hello @daggarwa, and thanks for the PR. As part of the PR I see 3 models, but only one seems to be used. Why is this? We'd rather have the other 2 removed if they are actually not needed.

Hi @LucaFos Please wait. The PR is not finished yet. I will clean up stuff and submit for review soon.

@LucaFos I think this PR is ready for a first round of review. You can find instructions here : perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/README.md on how to build the model and run the example pipeline. Please let me know if you face any issues or have any questions. Thanks.

Current status:
@daggarwa to rebase on tip of master in order to get the update of the TVM version (and keep the master version of install_tvm.sh), and fix the shell-lint errors in the CI.

Current status:
@daggarwa to rebase on tip of master in order to get the update of the TVM version (and keep the master version of install_tvm.sh), and fix the shell-lint errors in the CI.

@ambroise-arm  I will be able to have a look at this in this week and resolve this.

Current status:
@daggarwa to rebase on tip of master in order to get the update of the TVM version (and keep the master version of install_tvm.sh), and fix the shell-lint errors in the CI.

@ambroise-arm I will be able to have a look at this in this week and resolve this.

I am working on this today. Will try to resolve it today

@ambroise-arm I am getting this error with the latest version of TVM :
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
  Check failed: (lib_handle_ != nullptr) is false: Failed to load dynamic shared library ./deploy_lib.so ./deploy_lib.so: cannot open shared object file: No such file or directory
Stack trace:
  0: tvm::runtime::DSOLibrary::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1: tvm::runtime::CreateDSOLibraryObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
  2: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&)
  3: tvm::runtime::Module::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  4: main
        at /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/example_pipeline/main.cpp:174
  5: __libc_start_main
  6: _start
  7: 0xffffffffffffffff

Would you happen to know anything about this?

Hi @daggarwa, which command gives you that error?

@ambroise-arm I am getting this error with the latest version of TVM after rebasing :
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
  Check failed: (lib_handle_ != nullptr) is false: Failed to load dynamic shared library ./deploy_lib.so ./deploy_lib.so: cannot open shared object file: No such file or directory
Stack trace:
  0: tvm::runtime::DSOLibrary::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1: tvm::runtime::CreateDSOLibraryObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
  2: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&)
  3: tvm::runtime::Module::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  4: main
        at /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/example_pipeline/main.cpp:174
  5: __libc_start_main
  6: _start
  7: 0xffffffffffffffff

Would you happen to know anything about this?

Hi @daggarwa, which command gives you the error?

@ambroise-arm I am getting this error with the latest version of TVM after rebasing :
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
  Check failed: (lib_handle_ != nullptr) is false: Failed to load dynamic shared library ./deploy_lib.so ./deploy_lib.so: cannot open shared object file: No such file or directory
Stack trace:
  0: tvm::runtime::DSOLibrary::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1: tvm::runtime::CreateDSOLibraryObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
  2: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&)
  3: tvm::runtime::Module::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  4: main
        at /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/example_pipeline/main.cpp:174
  5: __libc_start_main
  6: _start
  7: 0xffffffffffffffff

Would you happen to know anything about this?

Hi @daggarwa, which command gives you the error? Edit: I guess https://github.com/autowarefoundation/modelzoo/pull/57/files#diff-2d5ed8b1bab389029af8f4026b52acf0df48764dfc5b94bab9d92a91892f2a8cR18

@LucaFos Yes exactly. This is giving the error:
docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /home/divya.aggarwal/.Xauthority:/home/divya.aggarwal/.Xauthority:rw -e XAUTHORITY=/home/divya.aggarwal/.Xauthority -e DISPLAY=:1 --net=host -v /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/:/home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/ -w /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco//example_pipeline/build --entrypoint '' autoware/model-zoo-tvm-cli:local bash -c 'LD_LIBRARY_PATH=:/usr/local/lib/ ./example_pipeline'

Any idea how do I remedy that?

@ambroise-arm I am getting this error with the latest version of TVM after rebasing :
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
  Check failed: (lib_handle_ != nullptr) is false: Failed to load dynamic shared library ./deploy_lib.so ./deploy_lib.so: cannot open shared object file: No such file or directory
Stack trace:
  0: tvm::runtime::DSOLibrary::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1: tvm::runtime::CreateDSOLibraryObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
  2: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&)
  3: tvm::runtime::Module::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  4: main
        at /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/example_pipeline/main.cpp:174
  5: __libc_start_main
  6: _start
  7: 0xffffffffffffffff

Would you happen to know anything about this?

Hi @daggarwa, which command gives you the error? Edit: I guess https://github.com/autowarefoundation/modelzoo/pull/57/files#diff-2d5ed8b1bab389029af8f4026b52acf0df48764dfc5b94bab9d92a91892f2a8cR18

@LucaFos Yes exactly. This is giving the error:
docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /home/divya.aggarwal/.Xauthority:/home/divya.aggarwal/.Xauthority:rw -e XAUTHORITY=/home/divya.aggarwal/.Xauthority -e DISPLAY=:1 --net=host -v /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/:/home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/ -w /home/divya.aggarwal/ade-home/modelzoo/perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco//example_pipeline/build --entrypoint '' autoware/model-zoo-tvm-cli:local bash -c 'LD_LIBRARY_PATH=:/usr/local/lib/ ./example_pipeline'

Any idea how do I remedy that?

Hi again @daggarwa, I just tried your code. First I deleted the contents of

${MODEL_DIR}/example_pipeline/build

then I followed the steps in

perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/example_pipeline/scripts/yolov3-416.sh

except for the last command, where instead of
docker run      -it --rm      -v /tmp/.X11-unix:/tmp/.X11-unix:rw      -v ${HOME}/.Xauthority:${HOME}/.Xauthority:rw      -e XAUTHORITY=${HOME}/.Xauthority      -e DISPLAY=$DISPLAY      --net=host      -v ${MODEL_DIR}:${MODEL_DIR}      -w ${MODEL_DIR}/example_pipeline/build      --entrypoint ""      autoware/model-zoo-tvm-cli:local          bash -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ ./example_pipeline"
I simply ran
docker run      -it --rm      -v /tmp/.X11-unix:/tmp/.X11-unix:rw      -v ${HOME}/.Xauthority:${HOME}/.Xauthority:rw      -e XAUTHORITY=${HOME}/.Xauthority      -e DISPLAY=$DISPLAY      --net=host      -v ${MODEL_DIR}:${MODEL_DIR}      -w ${MODEL_DIR}/example_pipeline/build      --entrypoint ""      autoware/model-zoo-tvm-cli:local       ./example_pipeline
and it seems to work for me.

Any idea how do I remedy that?

Hi again @daggarwa, I just tried your code. First I deleted the contents of
${MODEL_DIR}/example_pipeline/build
then I followed the steps in
perception/camera_obstacle_detection/yolo_v3/tensorflow_fp32_coco/example_pipeline/scripts/yolov3-416.sh
except for the last command, where instead of
$ docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v ${HOME}/.Xauthority:${HOME}/.Xauthority:rw -e XAUTHORITY=${HOME}/.Xauthority -e DISPLAY=$DISPLAY --net=host -v ${MODEL_DIR}:${MODEL_DIR} -w ${MODEL_DIR}/example_pipeline/build --entrypoint "" autoware/model-zoo-tvm-cli:local bash -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ ./example_pipeline"
I simply ran
$ docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v ${HOME}/.Xauthority:${HOME}/.Xauthority:rw -e XAUTHORITY=${HOME}/.Xauthority -e DISPLAY=$DISPLAY --net=host -v ${MODEL_DIR}:${MODEL_DIR} -w ${MODEL_DIR}/example_pipeline/build --entrypoint "" autoware/model-zoo-tvm-cli:local ./example_pipeline
and it seems to work for me.

We had an offline chat to resolve this. This happened due to the model file not being present on my system after a fresh clone of the repo. I have pushed all the changes discussed now.

See the inline comments, plus a question: is there a reason why the .onnx file is called yolov3-416.onnx instead of yolov3.onnx?

@LucaFos There are different models for yolov3 based on input size of image:
YOLOv3-320
YOLOv3-416
YOLOv3-608
YOLOv3-tiny
YOLOv3-spp

Reference here: https://pjreddie.com/darknet/yolo/
I ported the one which takes in an image of size 416 * 416 in this PR hence I specified the 416 in the onnx model file name. Hope this helps.


Show unavailabilities in event page

Make sure when you're testing to also run https://github.com/coderdojobraga/bokken/pull/175

Link Checker is failing in packages/ui/components/landing/Footer/config.tsx although i didn't even touch that file.

@MarioRodrigues10 Could you please merge main into this branch? 🙏🏼
#183 fixes the CI failing.


Write a post-bufferization, post-vector-distribution privatization

The transform-dialect based strategies allows significant reduction of performance cliffs and better generalization for reductions.
On reductions whose size is a multiple of 32 (within a certain range), IREE's strategy performs a more aggressive on-the-fly privatization that never introduces a private temporary buffer.
This shortcut is not available in the general case but should be easily recoverable with a generic privatization analysis that performs memr2reg on shared memory.

@nicolasvasilache @matthias-springer Setting this as a P2 - please bump up if needed.


any update for this repo?

Sorry, due to some restrictions, the code is not allowed to be posted here. There will not be an update.


How to build docker image for faster rendering on binder online?

It seems that github repository with Pluto notebooks take longer time to build on binder because it builds a docker image everytime we click the binder link.
Would it be possible to create docker image itself of the julia environment we are working with Pluto notebook, and push it to the github repository to host it online for faster rendering??
If yes, can you help me how to create docker image that is binder-pluto friendly??

Yes!
We've tried a lot of different approaches, but most of them didn't worth the effort.
Some context:
Binder has a tool to convert a repository to a docker container with Jupyterlab and then to run that. It's called repo2docker and it basically looks for Dockerfile, requirements.txt, Manifest.toml/Package.toml, and, depending on what of these it finds, it installs everything and uses the resulting docker container.
Binder also caches the docker containers, so if you get a cache hit, none of these matters. But on to our adventure!
The most binder-friendly approach might seem to create a repo with a single Dockerfile, doing FROM mycontainerregistry:myimage, and that's it. That sounds cool, but in practice, your image would be around 2GB and that takes some time to build too.
This PR does that: https://github.com/fonsp/pluto-on-jupyterlab/pull/1/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557
It starts with a jupyter-ready image (what binder can run) and adds julia and Pluto on top. Note that it's quite old! Julia is at 1.9 now!!
The workflow  of that PR uploads the docker container it builts in ghcr.io (docs about that)
So you end up with something that looks like this: https://github.com/JuliaPluto/docker-stacks/pkgs/container/pluto-jupyter
then, in the above example, you make a github repo with 1 single Dockerfile (and no other file would be needed) that does
FROM ghcr.io/juliapluto/pluto-jupyter:latest

And that's it! zero build time, all download time.
That didn't work great in practice. You can experiment with various variants of this (and rerun the experiment as any part of the pipeline that was slow, may now be fast!)
Hope that helps, let me know if something is not clear and/or you have more questions!

If you find yourself trying out many binder experiments by going to mybinder.org/gh/.... in a new tab and timing it with your phone's stopwatch, and then realising you lost the logs... We have some tips to improve this workflow! Email me if you're interested!


Fix CR apiversion and target namespace/name

CR is expected to live under openshift-kube-descheduler-operator/cluster.

@mdame PTAL

/lgtm

/lgtm cancel
Something I noticed, the CR shouldn't be created until after at least the namespace. So Could you rename the cr to just 02_kube-descheduler-operator.cr.yaml. This will let you deploy the whole operator with just oc create -f manifests/.

Picked into https://github.com/openshift/cluster-kube-descheduler-operator/pull/66, so I'm going to close this so we don't need to open another BZ
/close


ability to provision upon server init

need the ability to configure a set of credentials upon server initialization

This is documented in example_tac.tac and example_conf.json - required no extra code in the server itself.


Add PowerShell Core to the Microsoft Store

This way, PowerShell Core can be updated automatically and can be used on Windows 10 in S mode.

/cc @joeyaiello @SteveL-MSFT

Windows 10 in S mode doesn't run Powershell by design. https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-10-s-planning#what-is-blocked-in-windows-10-s
That said, why not for the rest of the world that doesn't run Windows 10 S?

Aye. If there's an issue with it being there for Windows S, surely it can just be listed as incompatible or something, or just run in constrained language only if run on Windows S.
Having it on the Store would be a great addition, giving it a supporting framework for delivering updates without a great deal of extra work... Assuming getting it on the store at all isn't an insane amount of work :)

Should A key upgrade,or automatic silent upgrade, .NET framework and powershell 6 on windows  #5490

Asked for again in #9827

The good news is we already have msix builds.  There's one issue that I wanted to get fixed before we publish to the store, but perhaps we can move forward and just relnote that limitation.  I'll look into this next week (6.2.x will be first)

Considering we've had some newer msix builds that require you to be able to sideload apps is this something that is far off on the radar or is this a planned for 7 GA?

I'm planning on starting with Preview5.  Wanted to publish Preview4 but our versioning didn't match Store requirements, so I've already made a PR to fix that.

Any news on this, now that the 7 version was released?

@rodrigoscna Steve recently tweeted this about store updates
https://twitter.com/Steve_MSFT/status/1235266800343871488?s=20

@kilasuit Great to know! Thanks!

looks like this has moved a little bit more now and is looking very hopeful https://twitter.com/Steve_MSFT/status/1295887521537118209?s=20

so, it's... done?

@pronichkin - I think that for preview yes we can say it is, but for the stable that'll hopefully happen for the 7.0.4 release (if there is one)

Stable will come later in the Store.

Hello! any updates on getting the new preview (p7) on the store? Pwsh is saying that there's a new preview release but it doesn't appear to be up on the store yet.

@Gnbrkm41 it can take up to 3 days from it being published to the store for it to be marked available for download from the store as per this tweet from @SteveL-MSFT earlier on https://twitter.com/Steve_MSFT/status/1303755418028523520?s=20

@Gnbrkm41 I am able to see it: https://www.microsoft.com/store/productId/9P95ZZKTNRN4

@ChristopherHaws under the hood the reference used for the PowerShell Preview (Store) entry in the below Session menu screenshot will update seemlessly when the new versions of the store apps are installed

If you set this in your settings.json
"powershell.powerShellDefaultVersion": "PowerShell Preview (Store)"

that will then mean that it always uses the Store version & when that updates it will just work (as it just has for me & the latest update install)

@Gnbrkm41 it can take up to 3 days from it being published to the store for it to be marked available for download

@Gnbrkm41 it is now in the store :-)

Yep. Noticed it this morning. Thanks 😃

I reported this one yesterday:
Microsoft Store not updating to latest version of PowerShell Preview #13615
:)