how to launch after install

how to launch after install

Please read the documentation section of the README on how to use the editor https://github.com/microsoft/monaco-editor#documentation. There are plenty of examples.

@spahnke  Thanks for reply.
I mean not embed in js. I wanna try a text editor which runs in chrome brower, does there any application for that?

@jinfagang I'm not sure I follow. Chrome renders webpages and you can embed the Monaco Editor in a webpage, no?

I mean, handle local file system such as open a directly on my local machine and then edit it just like vscode. Wonder if there is a app support it or not using this lib. This could be useful when I am not want using vscode or I want edit some file on remove server.

@jinfagang But if the editor runs in the browser, how would it talk to your local file system? You have to have another process that's serving files to the browser.
Point being, Monaco is simply the shell of an editor and your additional requirements cannot be satisfied with just this library.


Update Excel.Worksheet.Copy.md

Source and Destination must be in the same Excel.Application instance

Docs Build status updates of commit 9f0971e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Excel.Worksheet.Copy.md
:bulb:Suggestion
View
Details

api/Excel.Worksheet.Copy.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit ead9f99:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Excel.Worksheet.Copy.md
:bulb:Suggestion
View
Details

api/Excel.Worksheet.Copy.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit ead9f99:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Excel.Worksheet.Copy.md
:bulb:Suggestion
View
Details

api/Excel.Worksheet.Copy.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


compatabilty with 3.2

Hi, i have trying to get it to work on the 3.2.0-beta2 version, it will open a tinyMCE4 editor window but it has none of the configuration that i have set in the _config.php file.
any idea why?
Thanks
Rob

Bump - support with 3.2 would be great

Check, since 3.2 has already gone stable this is a must-have. Will bump this in my prio list.

Fantastic - can't imagine a SilverStripe site without this module

@mi32dogs @groundnation dev-master + branch 1.1 have been updated (1.0 branch = 3.1 compat). Could you let me know if this fixes all issues? I'll push a new tag (1.1.0) when this is ready & usable.

Hi Gavro - yep, all good – thanks for the update.

@groundnation Just pushed a fix for the editor, they've changed the link-popup functionality. Merged back, now working again.

Yep - got it, all good. Thanks.

Great, thank you


[Issue] The popover would not disappear when wrapping disabled button

Descriptions
The popover would not disappear as expected when wrapping a disabled button.

@light049
Related to https://github.com/facebook/react/issues/18753

This issue will be resolved in PR #551

@cheton Thanls for your example.
I meet another weird condition if I use another component inside the function.

const Btn = ({
  disabled,
  ...restProps
}) => {
  return (
    <Button disabled {...restProps}>Disabled Button</Button>
  );
};

const Example = () => {
  return (
    <Popover trigger="hover">
      <PopoverTrigger>
        {({ getPopoverTriggerProps }) => {
          const popoverTriggerProps = getPopoverTriggerProps();
          popoverTriggerProps.onPointerEnter = popoverTriggerProps.onMouseEnter;
          popoverTriggerProps.onPointerLeave = popoverTriggerProps.onMouseLeave;
          popoverTriggerProps.onPointerMove = popoverTriggerProps.onMouseMove;
          return (
            <Btn disabled {...popoverTriggerProps} />
          );
        }}
      </PopoverTrigger>
      <PopoverContent>
        Popover
      </PopoverContent>
    </Popover>
  );
}

You have to wrap your component using forwardRef:
const Btn = forwardRef((
  {
    disabled,
    ...restProps
  },
  ref,
) => {
  return (
    <Button ref={ref} disabled {...restProps}>Disabled Button</Button>
  );
});

FYI pointer events don't work in Safari also so I wouldn't consider it a solution. It's a problem with React's delegation/synthetic system: https://twitter.com/atomiksdev/status/1510512851198242819

This issue is related to https://github.com/facebook/react/issues/11972
See https://github.com/chakra-ui/chakra-ui/blob/next/packages/tooltip/src/use-tooltip.ts
  /**
   * This allows for catching mouseleave events when the tooltip
   * trigger is disabled. There's currently a known issue in
   * React regarding the onMouseLeave polyfill.
   * @see https://github.com/facebook/react/issues/11972
   */
  useEventListener("mouseleave", closeWithDelay, () => ref.current)

Fixed in https://github.com/trendmicro-frontend/tonic-ui/pull/561


Yourwallet

Yourwallet - helps you manage all your passes with ease.
Download it now: http://play.google.com/store/apps/details?id=eu.yourpass.wallet

#396

#395


Eslint

Codecov Report

Merging #102 into master will decrease coverage by 0.22%.
The diff coverage is 63.33%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
- Coverage   68.33%   68.10%   -0.23%
==========================================
  Files          48       48
  Lines        3550     3650     +100
  Branches      577      620      +43
==========================================
+ Hits         2426     2486      +60
- Misses        888      924      +36
- Partials      236      240       +4

Impacted Files
Coverage Δ

src/DimensionError/AgentError/index.ts
80.00% <ø> (ø)

src/DimensionError/MatchError/index.ts
66.66% <ø> (ø)

src/DimensionError/wrapper.ts
100.00% <ø> (ø)

src/Tournament/TournamentStatus/index.ts
100.00% <ø> (ø)

src/Tournament/TournamentTypes/index.ts
100.00% <ø> (ø)

src/utils/TypeGuards.ts
50.00% <ø> (ø)

src/Station/handleBotUpload/index.ts
15.62% <5.88%> (-1.92%)
:arrow_down:

src/Station/routes/api/dimensions/auth/index.ts
18.30% <7.69%> (-1.10%)
:arrow_down:

.../Station/routes/api/dimensions/tournament/index.ts
29.41% <16.26%> (-1.58%)
:arrow_down:

src/Plugin/Database/utils.ts
40.00% <28.57%> (ø)

... and 56 more

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 73c0b33...34e4545. Read the comment docs.


Implement deleting tuples

Codecov Report

Merging #854 into master will decrease coverage by <.01%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##           master     #854      +/-   ##
==========================================
- Coverage   63.14%   63.14%   -0.01%
==========================================
  Files          88       88
  Lines       14591    14598       +7
  Branches     3265     3268       +3
==========================================
+ Hits         9214     9218       +4
  Misses       3239     3239
- Partials     2138     2141       +3

Impacted Files
Coverage Δ

vm/src/compile.rs
77.13% <54.54%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


danger_plugin/rspec or danger_plugin-rspec?

How do you feel about a danger-plugin-rspec gem or about adding shared code here and having something like require 'danger_plugin/rspec' that would introduce a shared context for RSpec?

Currently having to write:
require 'danger_plugin'

def testing_ui
  Cork::Board.new(silent: true)
end

def testing_env
  {
    'HAS_JOSH_K_SEAL_OF_APPROVAL' => 'true',
    'TRAVIS_PULL_REQUEST' => '800',
    'TRAVIS_REPO_SLUG' => 'dblock/danger-changelog',
    'TRAVIS_COMMIT_RANGE' => '759adcbd0d8f...13c4dc8bb61d',
    'DANGER_GITHUB_API_TOKEN' => '123sbdq54erfsd3422gdfio'
  }
end

# A stubbed out Dangerfile for use in tests
def testing_dangerfile
  env = Danger::EnvironmentManager.new(testing_env, testing_ui)
  Danger::Dangerfile.new(env)
end

Will be:
require 'danger_plugin/rspec'

Yeah, I think that makes sense 👍

Nah, I've thought about this more, and I'm against this, I think it complicates matters more for people writing plugins, a key part of their testing infrastructure is now hidden in another gem.
As a part of building the tempting system I also documented every file that's included, now "this file" isn't included, and instead is hidden away.

Ok, global functions are an anti-pattern though.

There's also stuff like #585.

Might make sense to add a factory method on the Dangerfile class then for creating a version that is just for tests, I was just continuing the pattern we using in cocoapods

That's another anti-pattern, shipping automatically required test code in non-test environments.
I think at the very least this code should be transformed into a shared context in the plugin generator, https://github.com/danger/danger-plugin-template/blob/master/spec/spec_helper.rb, I've opened https://github.com/danger/danger-plugin-template/issues/9 for that.


Unhandled error when computing local module specifier

TypeScript Version:  3.8.3

Search Terms:

TypeError: Cannot read property 'lastIndexOf' of undefined
getPathRelativeToRootDirs throws due to missing undefined guard.
Type Checker throws if non-existent symbols are resolved, but rootDirs are not absolute.

Code
An easy reproduction can be found here: https://github.com/devversion/ts-checker-root-dir-runtime-exception.
Steps:

Clone the repo
Run yarn
Run node ./test.js.
Check the console output for the exception:

TypeError: Cannot read property 'lastIndexOf' of undefined
    at Object.startsWith (<..>\node_modules\typescript\lib\typescript.js:2044:20)
    at isPathRelativeToParent (<..>\node_modules\typescript\lib\typescript.js:102733:23)
    at <..>/node_modules\typescript\lib\typescript.js:102692:24
    at Object.firstDefined (<..>\node_modules\typescript\lib\typescript.js:347:26)
    at getPathRelativeToRootDirs (<..>\node_modules\typescript\lib\typescript.js:102690:23)

Explanation on what is happening:
Currently when developers parse a tsconfig using ts.parseJsonConfigFileContent, a base path needs to be specified. If that base path is not an absolute file path, the type checker can fail
down the road when it tries to compute relative paths based on rootDirs.
This can be observed when the relative tsconfig path is made absolute in the test.js file. At this point, the type checker will not throw, and getSymbolAtLocation works as expected.
Expected behavior:
Calling typeChecker.getSymbolAtLocation (as seen in test.js) should never cause a runtime exception. Hence getPathRelativeToRootDirs should be updated to catch cases where the relative path cannot be computed (i.e. undefined is returned).
Similarly, I'd expect ts.parseJsonConfigFileContent() to either throw if no absolute base path is specified, or expect the path to be resolved based on the CWD. Not sure if that makes sense though.
Actual behavior:
It throws with a runtime exception. See error snippet above. The error surfaces because no relative path can be computed in getPathRelativeToRootDirs. This is because (as explained above), the root directories are not absolute paths, and getPathRelativeToRootDirs does not guard against undefined being returned from getRelativePathIfInDirectory.
Related Issues:

https://github.com/microsoft/TypeScript/issues/37531

This is working as intended and providing right basePath and handing of paths is expected to be host/api user's responsibility.
The basePath passed in here should have been absolute path instead.


Got color issue when using on Git Bash

Hi @MatteoGauthier
Can you give more details on what you mean by Git Bash ? Coloring works out of the box for any terminal that supports ASCI escape sequences.


FATAL: logfileWrite: stdio:/var/log/squid3/access.log: (28) No space left on device

After running a month the docker fails because its has not enough space on hard disk
docker[1001]: 2016/03/07 11:48:22| Loaded Icons.
docker[1001]: 2016/03/07 11:48:22| HTCP Disabled.
docker[1001]: 2016/03/07 11:48:22| Pinger socket opened on FD 10
docker[1001]: 2016/03/07 11:48:22| Squid plugin modules loaded: 0
docker[1001]: 2016/03/07 11:48:22| Adaptation support is off.
docker[1001]: 2016/03/07 11:48:22| Accepting HTTP Socket connections at local=[::]:8080 remote=[::] FD 8 flags=9
docker[1001]: 2016/03/07 11:48:23| storeLateRelease: released 0 objects
docker[1001]: 2016/03/07 11:48:24| Closing HTTP port [::]:8080
docker[1001]: 2016/03/07 11:48:24| storeDirWriteCleanLogs: Starting...
docker[1001]: 2016/03/07 11:48:24|   Finished.  Wrote 0 entries.
docker[1001]: 2016/03/07 11:48:24|   Took 0.00 seconds (  0.00 entries/sec).
docker[1001]: FATAL: logfileWrite: stdio:/var/log/squid3/access.log: (28) No space left on device
docker[1001]:
docker[1001]: 2016/03/07 11:48:24| Closing Pinger socket on FD 10

The host machine has space in their hard drive.
[root@docker ~]# df -h
Filesystem                      Size  Used Avail Use% Mounted on
devtmpfs                         16G     0   16G   0% /dev
tmpfs                            16G   12K   16G   1% /dev/shm
tmpfs                            16G 1000K   16G   1% /run
tmpfs                            16G     0   16G   0% /sys/fs/cgroup
/dev/mapper/fedora_docker-root  123G   19G  104G  16% /
tmpfs                            16G  8,0K   16G   1% /tmp
/dev/cciss/c0d0p1               477M  100M  348M  23% /boot
tmpfs                           3,2G     0  3,2G   0% /run/user/0

➤ Tárliton Godoy commented:
Hello, I had a problem similar to this. Here is what I found out:
If you create a container with this image, a volume will be created as well. This volume will contain the squid cache folder with it's contents. Because the way the squid cache works (and it's configured in the squid.conf https://github.com/sameersbn/docker-squid/blob/master/squid.conf#L2972), this folder will contains several small files.
When you remove a container, it's volumes won't be removed and you can check that running this command:
docker volume ls -qf dangling=trueNow you are left with a folder with a bunch of small files. Over time, that will decrease the inodes left on your disk(source here) and you will get a message saying that there is no more space on the device.
You can either specify the volume you want to use and keep reusing it or you have to keep removing dangling volumes.


feat: create mock functionality

Description:
What does this PR do?
Implements simple mocking library.
Why is this change necessary?
What is Mocking?
What issues does this PR fix/close?
N/A
Testing:
How was this PR tested?

manual testing
unit testing

Are there any known issues or edge cases?

[x] "Common Language Runtime detected an invalid program." error when invoking mocked non-void methods.
[x] "An attempt was made to load a program with an incorrect format. (0x8007000B)" error when invoking mocked ~void~ methods.
[x] "Object reference not set to an instance of an object." when trying to run mocked methods.

Checklist:

[x] Code is formatted correctly.
[ ] Documentation is updated (if necessary).
[ ] Changelog is updated (if necessary).
[x] All new and existing tests passed (unit and E2E tests).

To do before merging:

[x] Write unit tests
[x] Enhance error handling, provide more context about the failures
[ ] Implement methods to verify that certain methods were called a specific number of times or with specific arguments
[ ] Cache method information to avoid repeated reflection calls
[ ] Ensure that the mock instance is thread-safe
[x] Provide a method to clear call records

Hey @OpalSoPL, can you review the changes made in this PR?
Obviously, I still have a lot of things left to do, but I've been agonizing over it for a few days now. I would appreciate it if someone else would take a look at it, evaluate, and possibly suggest changes. I thought implementing this would be trivial, but I was mistaken.

Yes i can, but i need to learn more about mocking, because i don't know what it is

Sure, here you can learn in general what that is.
I just found out that .NET includes a DispatchProxy class, so I will probably be able to cut the code in half, and I guess I needlessly struggled for so many hours to generate IL code.


I propose using a broader money measure

This is a nice beginning! Thank you!

[x] your formulae for Inflation computation needs improvements or getting rid of it :)
[x] consider including some other measures of prices, such as those corresponding to core inflation, to help identifying trends in prices.
[x] please note that the correlation matrix for unit-root non-stationary data requires careful interpretations, similar to those to avoid making statements about spurious regression

Thank you Tomasz. Already fix all comments request.


Uncomment & update autoscale.tf resource IDs, remove unused nginx scaling

I'm not sure what I'm looking at.  Why are we doing this?  Are we trying to fix autoscaling?

I'm not sure what I'm looking at. Why are we doing this? Are we trying to fix autoscaling?

@agordon-vivid it is for a part of WFPREV-24 that I missed ECS cluster has auto-scaler enabled. I added autoscaling.tf last week after PR approval but it failed the build after merging due to an incorrect resource ID being pointed to and including an nginx service that hasn't been defined in prevention yet(the config was essentially ripped from WFNEWS). Thus the autoscaling.tf file got commented out to prevent the build from failing.

I'm not sure what I'm looking at. Why are we doing this? Are we trying to fix autoscaling?

@agordon-vivid it is for a part of WFPREV-24 that I missed ECS cluster has auto-scaler enabled. I added autoscaling.tf last week after PR approval but it failed the build after merging due to an incorrect resource ID being pointed to and including an nginx service that hasn't been defined in prevention yet(the config was essentially ripped from WFNEWS). Thus the autoscaling.tf file got commented out to prevent the build from failing.

Great.  Thank you.  A description like "Fixed resourceId issue with Autoscaler and adding it back in.  Also removing a nginx service reference that was added due to copy-pasta mistake" would be great.  It gives me a much clearer idea of what the issue was, how you fixed it and anticipated result of the change.


Question about the absolute evaluation angles

Hi, thanks for your great work. I am confused about the absolute evaluation angles of the generated images. I don't understand what xy-plane determines these absolute evaluation angles. Any insight would be appreciated.

The model decides the gravity direction in the input image, and derives the plane implicitly.

I see. Thanks for your explanation.


WIP: packit-service

Signed-off-by: Tomas Tomecek<EMAIL_ADDRESS>

Include https://github.com/packit-service/packit/pull/350 please

@jpopelka yup, I noticed it while testing; I also had to update target_url to url in the report() function; apparently someone did not test their code -_- (that would be me)


Attempting compilation for unknown architectures

The CMakeLists.txt  in line 66 attempts compilation for sm_80 even for cuda 10.x. sm_80 support was only added in cuda toolkit 11. This causes the compilation to fail.

Fixed in above commit. Thanks for the feedback. Closing.


Ensures that the registration index is sorted by version

The registration index is ordered by version as expected by the UI.
Fixes #534

Thanks for the contribution! :)


$stateChangeSuccess

The $stateChangeSuccess event doesn't trigger when loading a page for the first time with a hash state such as: www.mysite.com/page/page_slug/#/hash1/hash2/ -
Not using Angular HTML5 mode.
    $rootScope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {
        console.info('########## state change success');
    });

Thanks @cm325. I using it in an Ionic project and was attaching the handler inside the $ionicPlatform.ready callback. Moving it outside $ionicPlatform.ready fixed it for me. It didn't cause an issue when running my app in the browser but it did cause an issue when running on an iPhone, must have been because of the slower startup time.


Optimized Toggle() in onboard_leds.hpp

Toggle() function was added in the GPIO implementation, allowing for the
dependent Onboard Leds to have a more efficient Toggle() algorithm.

Codecov Report

Merging #202 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #202   +/-   ##
=======================================
  Coverage   75.23%   75.23%
=======================================
  Files          34       34
  Lines        1397     1397
=======================================
  Hits         1051     1051
  Misses        346      346

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 8c7737d...c0bab28. Read the comment docs.


Add scorecard GitHub Action YAML

Related to #188. Once this PR merges, then I can add a Scorecard badge to the README that will display the scorecard score.

Thank you, @goneall!


implementing a google search plugin

users can call ['.lmgtfy','.google','.google-search'] <search string> and be given the url for the first result of a google search for <search string>.  Plugin uses beautiful soup to scrape google search results pages.

:+1: Thank you Flarf! I'll check out the branch, give it a spin, make a couple code style adjustments and then merge this in. If you would like to be credited, be sure to make another commit adding yourself to the CONTRIBUTORS file. :)

closing this pull request to fix my fork repo.


Page reload on screen rotate

Everytime I rotate my screen the webview reloads. How to prevent thaat?
Thanks

I've tested it on different devices and works fine till API 16 and this app is made to demonstrate File Upload but thanks for centering my attention to this issue.
You can add these classes to MainActivity:
if (savedInstanceState == null){
  web.loadUrl(webURL);
}

@Override
protected void onSaveInstanceState(Bundle outState){
super.onSaveInstanceState(outState);
web.saveState(outState);
}

@Override
protected void onRestoreInstanceState(Bundle savedInstanceState){
super.onRestoreInstanceState(savedInstanceState);
web.restoreState(savedInstanceState);
}

OR
Add these lines into AndroidManifest's activity nod:
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">

Hope this helps! Try contributing to the project, any better change will be appreciated :)

I think the issue is resolved, but I'd still like to get your feedback. So re-open the issue if needed!


[dy] Add prestart script support

Description

Support prestart script for workspaces. Users can write a custom method to edit the container config for their workspace before the container is started. The custom method takes in a container config as the argument, and returns an updated config:
def get_custom_configs(initial_container_config: Dict) -> dict:
    ...

In order to actually run the script in the workspace, Mage will

upload the script and the initial container config to a k8s ConfigMap
mount the script and config from the ConfigMap to an InitContainer
run the pre-start.sh bash script in the Init container
create and run a kubernetes-pre-start.py python script based on the get_custom_configs method.

I'll update the documentation when this PR is closer to being ready to merge.
How Has This Been Tested?

[x] Tested locally on a kubernetes cluster

Checklist

[x] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[x] I have performed a self-review of my own code
[x] I have added unit tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

cc: @wangxiaoyou1993

@wangxiaoyou1993 added validation


feat: implemented ftp backend

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Summary about this PR
I've implemented ftp backend.
I tested it locally with vsftpd and it works fine. I didn't make too much tests on tls mode, but it should be working as supftp almost handle everything for us.
It also pass all the behavior tests:
czy@czy-Inspiron-5680:~/opendal$ cargo test ftp
   Compiling opendal v0.13.1 (/home/czy/opendal)
    Finished test [unoptimized + debuginfo] target(s) in 9.02s
     Running unittests src/lib.rs (target/debug/deps/opendal-5b46cd0e7a5789ec)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 29 filtered out; finished in 0.00s

     Running tests/behavior/main.rs (target/debug/deps/behavior-516c49dc2e664db6)

running 42 tests
test behavior::services_ftp::test_create_dir ... ok
test behavior::services_ftp::test_create_file_existing ... ok
test behavior::services_ftp::test_create_file_with_special_chars ... ok
test behavior::services_ftp::test_delete_empty_dir ... ok
test behavior::services_ftp::test_create_file ... ok
test behavior::services_ftp::test_list_dir_with_file_path ... ok
test behavior::services_ftp::test_delete ... ok
test behavior::services_ftp::test_list_dir ... ok
test behavior::services_ftp::test_delete_not_existing ... ok
test behavior::services_ftp::test_check ... ok
test behavior::services_ftp::test_create_dir_exising ... ok
test behavior::services_ftp::test_delete_with_special_chars ... ok
test behavior::services_ftp::test_list_nested_dir ... ok
test behavior::services_ftp::test_list_empty_dir ... ok
test behavior::services_ftp::test_list_sub_dir ... ok
test behavior::services_ftp::test_object_id ... ok
test behavior::services_ftp::test_object_name ... ok
test behavior::services_ftp::test_multipart_abort ... ok
test behavior::services_ftp::test_multipart_complete ... ok
test behavior::services_ftp::test_object_path ... ok
test behavior::services_ftp::test_presign_read ... ok
test behavior::services_ftp::test_presign_write ... ok
test behavior::services_ftp::test_presign_write_multipart ... ok
test behavior::services_ftp::test_metadata ... ok
test behavior::services_ftp::test_read_full ... ok
test behavior::services_ftp::test_read_not_exist ... ok
test behavior::services_ftp::test_read_range ... ok
test behavior::services_ftp::test_read_with_dir_path ... ok
test behavior::services_ftp::test_stat_dir ... ok
test behavior::services_ftp::test_stat_not_cleaned_path ... ok
test behavior::services_ftp::test_read_with_special_chars ... ok
test behavior::services_ftp::test_remove_all ... ok
test behavior::services_ftp::test_stat_not_exist ... ok
test behavior::services_ftp::test_stat_root ... ok
test behavior::services_ftp::test_stat_with_special_chars ... ok
test behavior::services_ftp::test_walk_bottom_up ... ok
test behavior::services_ftp::test_write ... ok
test behavior::services_ftp::test_write_with_special_chars ... ok
test behavior::services_ftp::test_write_with_dir_path ... ok
test behavior::services_ftp::test_stat ... ok
test behavior::services_ftp::test_walk_top_down ... ok
test behavior::services_ftp::test_walk_top_down_within_empty_dir ... ok

test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 252 filtered out; finished in 0.01s

I created a example file in examples/ if you want to try.
The error handling looks kind cluttered tho, and Im trying to improve it.

So nice!

Clippy and Rustfmt are your friends. Before commit, you can run cargo clippy for checks and advices, and run cargo fmt to reformat you code.

@ClSlaid Thanks for the review. I am moving house right now so I may not update too frequent, but I hope I can get all these thing fixed within two weeks.

This PR is really great and almost done. I left some reviews on this PR. Please take a look when you are free.

I am moving house right now so I may not update too frequent

And congrats on your new move. Hoping your new house is nice and comfortable.

@Xuanwo I think I got everything fixed right now. If you find anything need to be changed, Please point out.
CI/check indcates a vulnerability due to outdated time crate:
Dependency tree:
time 0.1.44
└── chrono 0.4.22
    └── suppaftp 4.4.0
        └── opendal 0.14.1

However, according to this, the chrono team are mostly likely not going to update this dependency as the vulnerability does not affect them, and they will remove this dependency in the future.
Also for Service Test HDFS, my change doesn't touch this part, I don't know why it fails(and it success in my previous commit...).

However, according to this, the chrono team are mostly likely not going to update this dependency as the vulnerability does not affect them, and they will remove this dependency in the future.

Please add an audit.toml like databend dose: https://github.com/datafuselabs/databend/blob/main/.cargo/audit.toml#L9

Also for Service Test HDFS, my change doesn't touch this part, I don't know why it fails(and it success in my previous commit...).

It's a known issue that the HDFS test is flaky: https://github.com/datafuselabs/opendal/issues/465
Please just ignore it.

I have to admit that we (reviewers) made a mistake.
Reusing the same connection makes everything complex:

We can't use async API because we can't init the stream during build

Thus, we can't use put_with_stream because the requirement for the reader is different.

We can't return the reader/dirstream to users because they referred to FtpStream.

Thus, we have to read them in memory slower than multiple connections.

I plan to merge this PR and leave this improvement as new issue.

Use multiple connections instead of reusing the same one.
In the future, we can implement a connection pool for FTP connections.

Great work!


Kustomize deployment instructions

New page with Kustomize Operator deployment instructions, as a sibling to the existing Helm page.
Replacing the Krew instructions (numerous locations) will be a separate PR.
 Thank you! Ready for round two of reviews.

@ravindk89 additional updates if you care to have a look


Use Chart Repository

The added workflow will update releases and serve a helm repository.
This will allow users to run "helm repo add" instead of "git clone ..."
If you are willing to accept this you will need to create a gh-pages branch and enable ghpages on the repository.

I saw this on https://cncn.io and wanted to offer my thanks for a useful and well designed tool.

Thank you for your contribution. I am very happy that you find the tool helpful. I will look through the details of the PR over the weekend, but in general I like the idea of being able to serve the chart as a chart repository.

Thank you for your contribution. I am very happy that you find the tool helpful. I will look through the details of the PR over the weekend, but in general I like the idea of being able to serve the chart as a chart repository.

I can change the action configuration to point to the same directory. Will do.

I can change the action configuration to point to the same directory. Will do.

All of the requested changes have been made.

All of the requested changes have been made.


loss become infinite or NaN Training SSD300 on Customize Dataset

Error when training SSD300 with customize dataset.
Am I missing something?

/usr/local/lib/python3.7/dist-packages/mmcv/init.py:21: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
'On January 1, 2023, MMCV will release v2.0.0, in which it will remove '
/content/gdrive/MyDrive/OpenMMLab/mmdetection/mmdet/utils/setup_env.py:39: UserWarning: Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
f'Setting OMP_NUM_THREADS environment variable for each process '
/content/gdrive/MyDrive/OpenMMLab/mmdetection/mmdet/utils/setup_env.py:49: UserWarning: Setting MKL_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
f'Setting MKL_NUM_THREADS environment variable for each process '
2022-11-21 18:01:30,785 - mmdet - INFO - Environment info:
sys.platform: linux
Python: 3.7.15 (default, Oct 12 2022, 19:14:55) [GCC 7.5.0]
CUDA available: True
GPU 0: Tesla T4
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.2, V11.2.152
GCC: x86_64-linux-gnu-gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.12.1+cu113
PyTorch compiling details: PyTorch built with:

GCC 9.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.6.0 (Git Hash 52b5f107dd9cf10910aaa19cb47f3abf9b349815)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.3
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
CuDNN 8.3.2  (built against CUDA 11.5)
Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.3.2, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.12.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.13.1+cu113
OpenCV: 4.6.0
MMCV: 1.7.0
MMCV Compiler: GCC 9.3
MMCV CUDA Compiler: 11.3
MMDetection: 2.25.3+e71b499
2022-11-21 18:01:31,612 - mmdet - INFO - Distributed training: False
2022-11-21 18:01:32,382 - mmdet - INFO - Config:
input_size = 300
model = dict(
type='SingleStageDetector',
backbone=dict(
type='SSDVGG',
depth=16,
with_last_pool=False,
ceil_mode=True,
out_indices=(3, 4),
out_feature_indices=(22, 34),
init_cfg=dict(
type='Pretrained', checkpoint='open-mmlab://vgg16_caffe')),
neck=dict(
type='SSDNeck',
in_channels=(512, 1024),
out_channels=(512, 1024, 512, 256, 256, 256),
level_strides=(2, 2, 1, 1),
level_paddings=(1, 1, 0, 0),
l2_norm_scale=20),
bbox_head=dict(
type='SSDHead',
in_channels=(512, 1024, 512, 256, 256, 256),
num_classes=4,
anchor_generator=dict(
type='SSDAnchorGenerator',
scale_major=False,
input_size=300,
basesize_ratio_range=(0.15, 0.9),
strides=[8, 16, 32, 64, 100, 300],
ratios=[[2], [2, 3], [2, 3], [2, 3], [2], [2]]),
bbox_coder=dict(
type='DeltaXYWHBBoxCoder',
target_means=[0.0, 0.0, 0.0, 0.0],
target_stds=[0.1, 0.1, 0.2, 0.2])),
train_cfg=dict(
assigner=dict(
type='MaxIoUAssigner',
pos_iou_thr=0.5,
neg_iou_thr=0.5,
min_pos_iou=0.0,
ignore_iof_thr=-1,
gt_max_assign_all=False),
smoothl1_beta=1.0,
allowed_border=-1,
pos_weight=-1,
neg_pos_ratio=3,
debug=False),
test_cfg=dict(
nms_pre=1000,
nms=dict(type='nms', iou_threshold=0.45),
min_bbox_size=0,
score_thr=0.02,
max_per_img=200))
cudnn_benchmark = True
dataset_type = 'MyDataset'
data_root = 'Fruitsv2-5'
img_norm_cfg = dict(mean=[123.675, 116.28, 103.53], std=[1, 1, 1], to_rgb=True)
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(
type='Expand',
mean=[123.675, 116.28, 103.53],
to_rgb=True,
ratio_range=(1, 4)),
dict(
type='MinIoURandomCrop',
min_ious=(0.1, 0.3, 0.5, 0.7, 0.9),
min_crop_size=0.3),
dict(type='Resize', img_scale=(300, 300), keep_ratio=False),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='PhotoMetricDistortion',
brightness_delta=32,
contrast_range=(0.5, 1.5),
saturation_range=(0.5, 1.5),
hue_delta=18),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[1, 1, 1],
to_rgb=True),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(300, 300),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=False),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[1, 1, 1],
to_rgb=True),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]
data = dict(
samples_per_gpu=8,
workers_per_gpu=3,
train=dict(
type='RepeatDataset',
times=5,
dataset=dict(
type='MyDataset',
ann_file='Fruitsv2-5/train/labels/',
img_prefix='Fruitsv2-5/train/images/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(
type='Expand',
mean=[123.675, 116.28, 103.53],
to_rgb=True,
ratio_range=(1, 4)),
dict(
type='MinIoURandomCrop',
min_ious=(0.1, 0.3, 0.5, 0.7, 0.9),
min_crop_size=0.3),
dict(type='Resize', img_scale=(300, 300), keep_ratio=False),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='PhotoMetricDistortion',
brightness_delta=32,
contrast_range=(0.5, 1.5),
saturation_range=(0.5, 1.5),
hue_delta=18),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[1, 1, 1],
to_rgb=True),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
])),
val=dict(
type='MyDataset',
ann_file='Fruitsv2-5/valid/labels/',
img_prefix='Fruitsv2-5/valid/images/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(300, 300),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=False),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[1, 1, 1],
to_rgb=True),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]),
test=dict(
type='MyDataset',
ann_file='Fruitsv2-5/test/labels/',
img_prefix='Fruitsv2-5/test/images/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(300, 300),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=False),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[1, 1, 1],
to_rgb=True),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]))
evaluation = dict(interval=1, metric='mAP')
optimizer = dict(type='SGD', lr=2.5e-05, momentum=0.9, weight_decay=0.0005)
optimizer_config = dict()
lr_config = dict(
policy='step',
warmup=None,
warmup_iters=500,
warmup_ratio=0.001,
step=[16, 22])
runner = dict(type='EpochBasedRunner', max_epochs=24)
checkpoint_config = dict(interval=1)
log_config = dict(
interval=50,
hooks=[dict(type='TextLoggerHook'),
dict(type='TensorboardLoggerHook')])
custom_hooks = [
dict(type='NumClassCheckHook'),
dict(type='CheckInvalidLossHook', interval=50, priority='VERY_LOW')
]
dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = '/content/gdrive/MyDrive/OpenMMLab/mmdetection/checkpoints/ssd300_coco_20210803_015428-d231a06e.pth'
resume_from = None
workflow = [('train', 1)]
opencv_num_threads = 0
mp_start_method = 'fork'
auto_scale_lr = dict(enable=False, base_batch_size=64)
work_dir = '/content/gdrive/MyDrive/OpenMMLab/mmdetection/checkpoints/fine_tuned'
auto_resume = False
gpu_ids = [0]
2022-11-21 18:01:32,383 - mmdet - INFO - Set random seed to<PHONE_NUMBER>, deterministic: False
2022-11-21 18:01:32,607 - mmdet - INFO - initialize SSDVGG with init_cfg {'type': 'Pretrained', 'checkpoint': 'open-mmlab://vgg16_caffe'}
2022-11-21 18:01:32,608 - mmcv - INFO - load model from: open-mmlab://vgg16_caffe
2022-11-21 18:01:32,608 - mmcv - INFO - load checkpoint from openmmlab path: open-mmlab://vgg16_caffe
2022-11-21 18:01:32,696 - mmdet - INFO - initialize SSDNeck with init_cfg [{'type': 'Xavier', 'distribution': 'uniform', 'layer': 'Conv2d'}, {'type': 'Constant', 'val': 1, 'layer': 'BatchNorm2d'}, {'type': 'Constant', 'val': 20, 'override': {'name': 'l2_norm'}}]
2022-11-21 18:01:32,718 - mmdet - INFO - initialize SSDHead with init_cfg {'type': 'Xavier', 'layer': 'Conv2d', 'distribution': 'uniform', 'bias': 0}
/content/gdrive/MyDrive/OpenMMLab/mmdetection/mmdet/datasets/custom.py:182: UserWarning: CustomDataset does not support filtering empty gt images.
'CustomDataset does not support filtering empty gt images.')
/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py:566: UserWarning: This DataLoader will create 3 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
cpuset_checked))
2022-11-21 18:01:43,937 - mmdet - INFO - Automatic scaling of learning rate (LR) has been disabled.
2022-11-21 18:01:45,106 - mmdet - INFO - load checkpoint from local path: /content/gdrive/MyDrive/OpenMMLab/mmdetection/checkpoints/ssd300_coco_20210803_015428-d231a06e.pth
2022-11-21 18:01:45,299 - mmdet - WARNING - The model and loaded state dict do not match exactly
size mismatch for bbox_head.cls_convs.0.0.weight: copying a param with shape torch.Size([324, 512, 3, 3]) from checkpoint, the shape in current model is torch.Size([20, 512, 3, 3]).
size mismatch for bbox_head.cls_convs.0.0.bias: copying a param with shape torch.Size([324]) from checkpoint, the shape in current model is torch.Size([20]).
size mismatch for bbox_head.cls_convs.1.0.weight: copying a param with shape torch.Size([486, 1024, 3, 3]) from checkpoint, the shape in current model is torch.Size([30, 1024, 3, 3]).
size mismatch for bbox_head.cls_convs.1.0.bias: copying a param with shape torch.Size([486]) from checkpoint, the shape in current model is torch.Size([30]).
size mismatch for bbox_head.cls_convs.2.0.weight: copying a param with shape torch.Size([486, 512, 3, 3]) from checkpoint, the shape in current model is torch.Size([30, 512, 3, 3]).
size mismatch for bbox_head.cls_convs.2.0.bias: copying a param with shape torch.Size([486]) from checkpoint, the shape in current model is torch.Size([30]).
size mismatch for bbox_head.cls_convs.3.0.weight: copying a param with shape torch.Size([486, 256, 3, 3]) from checkpoint, the shape in current model is torch.Size([30, 256, 3, 3]).
size mismatch for bbox_head.cls_convs.3.0.bias: copying a param with shape torch.Size([486]) from checkpoint, the shape in current model is torch.Size([30]).
size mismatch for bbox_head.cls_convs.4.0.weight: copying a param with shape torch.Size([324, 256, 3, 3]) from checkpoint, the shape in current model is torch.Size([20, 256, 3, 3]).
size mismatch for bbox_head.cls_convs.4.0.bias: copying a param with shape torch.Size([324]) from checkpoint, the shape in current model is torch.Size([20]).
size mismatch for bbox_head.cls_convs.5.0.weight: copying a param with shape torch.Size([324, 256, 3, 3]) from checkpoint, the shape in current model is torch.Size([20, 256, 3, 3]).
size mismatch for bbox_head.cls_convs.5.0.bias: copying a param with shape torch.Size([324]) from checkpoint, the shape in current model is torch.Size([20]).
2022-11-21 18:01:45,304 - mmdet - INFO - Start running, host: root@5d139416e600, work_dir: /content/gdrive/MyDrive/OpenMMLab/mmdetection/checkpoints/fine_tuned
2022-11-21 18:01:45,305 - mmdet - INFO - Hooks will be executed in the following order:
before_run:
(VERY_HIGH   ) StepLrUpdaterHook
(NORMAL      ) CheckpointHook
(LOW         ) EvalHook
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
before_train_epoch:
(VERY_HIGH   ) StepLrUpdaterHook
(NORMAL      ) NumClassCheckHook
(LOW         ) IterTimerHook
(LOW         ) EvalHook
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
before_train_iter:
(VERY_HIGH   ) StepLrUpdaterHook
(LOW         ) IterTimerHook
(LOW         ) EvalHook
after_train_iter:
(ABOVE_NORMAL) OptimizerHook
(NORMAL      ) CheckpointHook
(LOW         ) IterTimerHook
(LOW         ) EvalHook
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
(VERY_LOW    ) CheckInvalidLossHook
after_train_epoch:
(NORMAL      ) CheckpointHook
(LOW         ) EvalHook
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
before_val_epoch:
(NORMAL      ) NumClassCheckHook
(LOW         ) IterTimerHook
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
before_val_iter:
(LOW         ) IterTimerHook
after_val_iter:
(LOW         ) IterTimerHook
after_val_epoch:
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
after_run:
(VERY_LOW    ) TextLoggerHook
(VERY_LOW    ) TensorboardLoggerHook
2022-11-21 18:01:45,305 - mmdet - INFO - workflow: [('train', 1)], max: 24 epochs
2022-11-21 18:01:45,306 - mmdet - INFO - Checkpoints will be saved to /content/gdrive/MyDrive/OpenMMLab/mmdetection/checkpoints/fine_tuned by HardDiskBackend.
/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py:566: UserWarning: This DataLoader will create 3 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
cpuset_checked))
2022-11-21 18:02:12,953 - mmdet - INFO - Epoch [1][50/803]	lr: 2.500e-05, eta: 2:40:55, time: 0.502, data_time: 0.083, memory: 5471, loss_cls: nan, loss_bbox: nan, loss: nan
INFO:mmdet:Epoch [1][50/803]	lr: 2.500e-05, eta: 2:40:55, time: 0.502, data_time: 0.083, memory: 5471, loss_cls: nan, loss_bbox: nan, loss: nan
2022-11-21 18:02:12,962 - mmdet - INFO - loss become infinite or NaN!
INFO:mmdet:loss become infinite or NaN!
Traceback (most recent call last):
File "tools/train.py", line 244, in
main()
File "tools/train.py", line 240, in main
meta=meta)
File "/content/gdrive/MyDrive/OpenMMLab/mmdetection/mmdet/apis/train.py", line 244, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/usr/local/lib/python3.7/dist-packages/mmcv/runner/epoch_based_runner.py", line 136, in run
epoch_runner(data_loaders[i], **kwargs)
File "/usr/local/lib/python3.7/dist-packages/mmcv/runner/epoch_based_runner.py", line 54, in train
self.call_hook('after_train_iter')
File "/usr/local/lib/python3.7/dist-packages/mmcv/runner/base_runner.py", line 317, in call_hook
getattr(hook, fn_name)(self)
File "/content/gdrive/MyDrive/OpenMMLab/mmdetection/mmdet/core/hook/checkloss_hook.py", line 24, in after_train_iter
runner.logger.info('loss become infinite or NaN!')
AssertionError: None

FAQ have some solutions: https://github.com/open-mmlab/mmdetection/blob/master/docs/en/faq.md#training

param_scheduler = [
# Linear learning rate warm-up scheduler
dict(
type='LinearLR',  # Use linear policy to warmup learning rate
start_factor=0.001, # The ratio of the starting learning rate used for warmup
by_epoch=False,  # The warmup learning rate is updated by iteration
begin=0,  # Start from the first iteration
end=1000),  # End the warmup at the 500th iteration
# The main LRScheduler
dict(
type='MultiStepLR',  # Use multi-step learning rate policy during training
by_epoch=True,  # The learning rate is updated by epoch
begin=0,   # Start from the first epoch
end=12,  # End at the 12th epoch
milestones=[8, 11],  # Epochs to decay the learning rate
gamma=0.1)  # The learning rate decay ratio
]
In learning rate scheduler,go into  Linear learning rate warm-up scheduler, and change warm-up iteration to 1200. i.e.
param_scheduler = [
# Linear learning rate warm-up scheduler
dict(
type='LinearLR',  # Use linear policy to warmup learning rate
start_factor=0.001, # The ratio of the starting learning rate used for warmup
by_epoch=False,  # The warmup learning rate is updated by iteration
begin=0,  # Start from the first iteration
end=1200),  # End the warmup at the 500th iteration


Guided Remediation: non-interactive mode

It actually can be used now :tada:
This is basically re-written from the internal equivalent, but it should be functionally similar.
Probably will end up extracting some code to use with the interactive code when I end up needing it.
imo, non-interactive mode is currently too opaque to be generally useful - there's no indication of what vulnerabilities exist and which get fixed.

Codecov Report
Attention: 224 lines in your changes are missing coverage. Please review.

Comparison is base (85563d9) 79.98% compared to head (93342b1) 57.48%.

Files
Patch %
Lines

cmd/osv-scanner/fix/noninteractive.go
0.00%
157 Missing :warning:

cmd/osv-scanner/fix/regen_lockfile.go
0.00%
32 Missing :warning:

cmd/osv-scanner/fix/main.go
3.84%
25 Missing :warning:

internal/resolution/resolve.go
0.00%
10 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #798       +/-   ##
===========================================
- Coverage   79.98%   57.48%   -22.50%
===========================================
  Files          91      118       +27
  Lines        6214     8654     +2440
===========================================
+ Hits         4970     4975        +5
- Misses       1040     3473     +2433
- Partials      204      206        +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Comparison is base (85563d9) 79.98% compared to head (93342b1) 57.73%.

Oof. Is there a way to ignore / separate the fix stuff from the rest of the coverage? At least until I add in tests.

Let's add some simple integration tests just to make sure it runs, and some small changes e.g. changes in the CLI don't accidentally break functionality.

Added two basic end-to-end tests, bringing the coverage back up to ~70%. Might make the tests take slightly longer to run. Hopefully these don't break easily if new versions of packages are released, but I've tried to pick packages that are unlikely to change.

Is this ready for merge @michaelkedar  ?

Oh yeah - this was ready to merge last week :slightly_smiling_face:


feat(arco/Slider): add formatTooltip slot

The tooltip can now be formatted with formatTooltip slot

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xzdry seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I doubt whether it is necessary to add slot for tooltip. What do you want to put in tooltip's slot?

I doubt whether it is necessary to add slot for tooltip. What do you want to put in tooltip's slot?

OK. But I think the slot name should be tooltip, not formatTooltip.

OK. But I think the slot name should be tooltip, not formatTooltip.

Sounds better, have changed


Direct Link to session hides time and session name

E.g. check out the link: https://2019.fossasia.org/event/schedule.html#5078
Expected: A direct link should show the top of the session just below the top bar.

I would like to work on this!

Should I do this addition in the 2019.fossasia.org repo ?

@mariobehling @iamareebjamal A direct bookmark link is working fine on the development branch. Do let me know if I am missing something to reproduce it.


Soil water maps as output

I think it would be great to have the model print out (optionally?) maps of available soil water.  Then we'd see if we're capturing the spatial variation in soil water that we expect in our landscapes.

It's on my list; don't let me forget.

Done.


Subscription Pop-Up

Modal Title
The modal window should have a title that displays “EXPLORE OUR PUMPKINS FIRST!!” prominently at the top.

Form Elements
Include a form within the modal that contains the following <input> element:
Email: An email input for the user's email address, ensuring proper email formatting. Implement minimum validation using the pattern attribute to ensure users provide a valid email format.

Submit Button
Include a “Submit” button of type submit that processes the form data.
When the button is clicked, the modal should close, indicating to the user that their subscription has been submitted successfully.

Is the issue still open? Can I contribute?

Yes, the project isn't started yet, it will begin at 1st of October, but today 28th of September we starting project with meeting at 12pm CST, please be welcome to join

@DanielDunevant any updates on your task?

This one is done right?

@DanielDunevant There high priorite bug, when you open modal pop-up, and click 'ESC' the modal pop-up is not closing and the x-button is disappearing. And also some issues with styling. I will provide you images from our design layout and how it's look like in our website right now. But you can verify when you testing your task from Figma
mobile figma layout

current website mobile device

tablet figma layout

current website tablet device

current website desktop device

desktop figma layout

I had it as depicted. I noticed this when I was making my most recent change. I'm not sure when down the line they were changed. I will change them back to as it was in the figma. Thanks!

@DanielDunevant great work Daniel!


Lnpbp4Mismatch non-deterministic error

Executing rgb-lib tests I've found a test that sometimes fails (around once every 10 successful runs).
The test issues an asset, sends it to a second wallet, which then sends it to a third wallet. When the second wallet calls accept_transfer to "finalize" the second transfer it (sometimes) fails with a Lnpbp4Mismatch error.

So does this happens with just a single issued asset in all three wallets?

Nope, sorry I've just noticed that the first wallet issues two assets on the same UTXO, then sends only one to the second wallet.
Instead wallet 2 and 3 are both fresh, they never issued assets.
I'll comment the second issuance and let you know if this detail makes the difference.

When the second wallet calls accept_transfer to "finalize" the second transfer

I do not get this part: the second wallet sending the second transfer (to the third wallet) should not call  "accept_transfer". Overall wallet sending transfer doesn't need to accept anything,

Sorry, I mischecked again. The test sends both assets, not just one. So in order to reproduce this on the sandbox I guess we should implement batch transfers also on rgb-wallet.

Overall wallet sending transfer doesn't need to accept anything

Call to accept transfer was there for RGB 0.9 and we just forgot to remove it when updating to RGB 0.10. But it seems that normally that call doesn't hurt. Anyway I'll try to remove it and see if something changes

Yes, the call to accept_transfer by a sending party must be a non-operation (otherwise there is a bug).
Is there any way how I can run your test in rgb-lib, reproduce the issue and debug it?

Is there any way how I can run your test in rgb-lib, reproduce the issue and debug it?

Yes, but first I need to clean the code a bit in order to make the branch public. I'll do that on Monday and then let you know when you can try it yourself

@zoedberg pls run your tests with this branch: https://github.com/LNP-BP/client_side_validation/pull/127 (add it to patches.crates-io section if rgb-lib Crate.toml)
I think I was able to figure out the case with a piece of paper and some drawings of different scenarios.

fixed with https://github.com/LNP-BP/client_side_validation/pull/129


Keywords aren't separated by spaces

{{ page.tags | array_to_sentence_string }} => foo, bar, and baz


[] Does not work inside a shortcode

I've been trying really hard to break this thing. It was not easy but I found a way to break it.
Shortcodes like this will not work:
[characters]
    []
[/characters]

If the brackets has characters like [sada], the characters shortcode works as expected. It's only when it's empty it does not work. In that case it just leave it unparsed.
On the upside I tried '"_åäö and other strange characters which works fine.

@jenstornell have you had a chance to look at my fix? I'll happily merge it, but maybe you found another edge cases or something, I want to be sure that it solves all your issues.

Nope, not yet. But if you get the same issue before and got rid of it, then it probably works? Maybe you can add that case to your tests.
I don't have my code environment ready right now, but I'll get back here when I do.
I close this as you opened #60.


Remove unintended "it.only"s.

Oops. Would be nice to lint this.

Failed in one of the enabled e2e tests.

No logging.

2nd failure seems to be flakiness in unrelated tests. Hoping for a pass on re-run. I'll go back over recent failures later today.


Support Pod enpoint's weight setting

WorkloadEntry provides a way to set non-Pod endpoint's weight:
apiVersion: networking.istio.io/v1beta1
kind: WorkloadEntry
metadata:
  name: foo
spec:
  address: <IP_ADDRESS>
  weight: 8080
  labels:
    app: foo

As https://istio.io/latest/blog/2020/workload-entry/ said:

Notice that the ServiceEntry can reference both Pods and WorkloadEntries, using the same selector. VMs and Pods can now be treated identically by Istio, rather than being kept separate.

But when we use a ServiceEntry to reference both Pods and WorkloadEntries,  and want to do traffic splitting by setting weight, currently Pod endpoint's weight can't be specified, the generated Envoy endpoint's wight is 1:
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "<IP_ADDRESS>",
              "port_value": 8080
             }
            }
           },
           "load_balancing_weight": 1
          },

For making the traffic splitting case works, Istio should support Pod endpoint weight setting.
This case was mentioned in another issue's comment:

For this, workloadentry allows setting weight, but i donot think we can do that for a pod. If we do have the use case, we can provide a way to do that.

Originally posted by @hzxuzhonghu in https://github.com/istio/istio/issues/25898#issuecomment-676206810
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane

What is the use case? Generally idea of weight is that we may not know the backing topology of a ServiceEntry since its external to the mesh. For pods, we know its backed by exactly one pod.

The use case is we have multiple k8s clusters, each of them has Istio deployed, on one k8s cluster's ingress gateway we want to split a fixed ratio of traffics to another cluster's ingress gateway.
WorkloadEntry allows setting weight, IMHO setting pod's endpoint weight should also be supported.

We can always assume the pod weight=1 and set the workloadentry weight accordingly, doesn't it satisfy your need?

Seems more like use case for https://preliminary.istio.io/docs/ops/traffic-management/locality-load-balancing/

We can always assume the pod weight=1 ...
I'm afraid we can't assume the number of pod.

Unfortunately, locality load balancing doesn't work for us, in our setup, Istio is scoped to one of the clusters, it doesn't aware pods in other clusters. And nodes in one cluster are belong to same 'region/zone/subzone'.

What you want is set a big weight for local cluster endpoints and small weight for remote clusters? something like local cluster takes priority?

@hzxuzhonghu yes, local cluster endpoints take most of traffics.

We have cluster local service settings in MeshConfig_ServiceSettings, which can be used to config one service can be accessed from the same cluster. But if we want to support like 80% traffic redirected to local cluster and 20% to remote cluster, i think we need to expand the API like the LocalityLoadBalancerSetting_Distribute

IMO, this is not a typical locality local balancing issues, the WorkloadEntry(remote cluster endpoint) is the VIP of the remote cluster's ingress gateway, in this case Envoy doesn't know the Pod endpoint's status in remote cluster.
Looks like locality load balancing is a better solution when all endpoints in a Envoy load assignment are Pod's IP.

We never suggest making a gateway as the WLE. Not sure if this can work.  For multicluster, the gateway is set a weight according to the endpoints number behind.

This use case makes sense to me. @l8huang seem to want to make use of Envoy's weighted load balancing (without respect to locality)

Is there a plan to support Envoy's weighted load balancing (without respect to locality)?

I am still not aware of setting the weight  per pod.


bug: ChatGPT-Next-Web does not work properly with nitro

Chat GPT Next (https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git) reports "fetch error" while connecting to nitro server.
Recompile nitro with ALLOW_ALL_CORS resolved this issue, but it still cannot work properly in streaming mode. The content-type of nitroStreamResonse has to be set to "text/event-stream" to make response streaming work properly.
drogon::HttpResponse::newStreamResponse(callback, attachmentFileName, drogon::CT_CUSTOM, "text/event-stream");

I have the same issue as you also, even tho it seems working fine on other UIs, very strange

if you're familiar with chatgptnextweb, can support debugging on that end

close due to non responding


Language switcher not showing current language on load

When the site loads, the language selector is blank
This should instead show the set language

https://github.com/speakforme/frontend/pull/51 should fix it.

Merged.


Bump bundler from 2.4.10 to 2.5.3

What problem does this pull request solve?
Bumps bundler from 2.4.10 to 2.5.3.

Release notes
Changelog
Commits

Things to consider when reviewing

Ensure that you consider the wider context.
Does it work when run on your machine?
Is it clear what the code is doing?
Do the commit messages explain why the changes were made?
Are there all the unit tests needed?
Has all relevant documentation been updated?

@lfdebrux  could you also bump https://github.com/alphagov/forms-runner/blob/main/Dockerfile#L14

@lfdebrux could you also bump https://github.com/alphagov/forms-runner/blob/main/Dockerfile#L14

@aliuk2012 good spot! I don't think we actually need this line in the Dockerfile, so to make bumping Bundler easier in future I've removed it in https://github.com/alphagov/forms-runner/pull/571/commits/f642f5904ff3da17d6c9bb918514159aa2aa555f.


Runnable gen-c output

Description of changes:
A PR introducing a --gen-c-runnable flag which produces a runnable C program from the compiled goto program. The existing --gen-c flag acts as a starting point, but there are a few issues listed in #237 that prevent the generated C file from compiling.
The change introduces a generic visitor pattern for transforming Stmts, Exprs, and Types, which is then used to create a transformer over symbol tables. We then create an implementation for transforming identifiers in the symbol table to valid C identifiers.
To signify whether we want the original symbol table or the transformed names one, we pass a different backend ("gotoc" vs "genc") to the rmc-rustc command. We then do some post-processing to add in some CBMC-specific special functions/macros.
Resolved issues:
Partially resolves #237 (possibly fully after more changes.)
Call-outs:
Todo:

[ ] Generate nondet_<k>() functions from a sample trace.
[ ] Add definition for overflow
[ ] Add definition for byte_extract_little_endian
[ ] Fix field access in src/test/cbmc/FatPointers/boxtrait.c
[x] Set up distinct flags for readable and runnable gen-c
[ ] Figure out testing strategy
[ ] Documentation
[ ] Clean up commits

Testing:

How is this change tested? Existing regression suite.

Is this a refactor change? No.

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Closing in favor of #334


Add more specific instructions on how to "cd" to navigate into folders.

Add instructions for linux, Mac OS and Windows.

Link added to 'cd'


Port Existing APIs to Warehouse

[ ] The "Simple" API (/simple/)
[x] The Package URLs (/packages/)
[ ] The daytime URL (/daytime) (Is this something we need?)
[ ] XMLRPC #59
[ ] JSON (/pypi/<packagename>/json)
[ ] RSS (Includes "Last Hour", and "Packages")
[ ] DOAP (Is this something we need?)
[ ] Explicit URLs (Do we need a legacy copy of this?)
[ ] Package Upload APIs #57

Closing this in favor of #387, #388, #59, #57, #389, #390, #391.


Documentation for the support of Date Math Index pattern in the search query while defining the monitors.

As a part of these issues:
opensearch-project/alerting#74
opensearch-project/alerting-dashboards-plugin#17
We have added the support for defining the query indices in the Data Math Pattern.
As a part of this issue, we want to update our documentation to aprise users of this functionality. Once the document for the required pattern is available for Opensearch, we will link it to our documentation for the plugin.

Please review and add in any comments - https://github.com/opensearch-project/documentation-website/pull/116/files.


Make player controls available on lock screen

Forgot to do this when doing background audio

This has been completed except for lockscreen seeking, which while doing this I will also fix the post-seeking jumping bug.

Finished in PR #223


Skip RuboCop in Travis for Rubinius

For some reason Rubinius seg faults sometimes when running RuboCop on Travis. Rather than have periodically failing builds, just disable it. We still get adequate coverage because RuboCop results shouldn't be different for rbx anyway.

👍

@will-in-wi thanks for the review

My pleasure. Thanks for the work you do on this!


No button appears

Hello- i tried this on Chrome and Edge but no button is appearing.  (Windows 11)  In Edge, it shows the script ran, but no button is appearing that I can see.

Never mind- i noticed at the very bottom of the code when I pasted into TamperMOnkey was line that said Save to Cacher, which was causing an error- removed that line and it works !

Thank you for reporting this issue. I've recently updated the script, which should resolve the problems you've encountered.

Removed "Save to Cacher" line:
The line causing an error at the bottom of the script has been removed. This was likely an artifact from a previous version or development environment and is not needed for the script's functionality. Sorry for that.

"Nothing happens when I start deleting":
I've improved the script's initialization and UI creation process. The script should now properly create a floating UI with all necessary controls when you load a YouTube playlist page. If you're still not seeing any action when clicking the "Start Deleting" button, please make sure you're on a YouTube playlist page and that the script has fully loaded.

Storage Access Permission Denied:
The updated version of the script no longer relies on storage access. All calls to requestStorageAccessFor have been removed, which were causing the permission denied errors you saw in the console. The script now uses in-memory configuration that's updated based on the values you input in the UI. This means you should no longer see any storage-related errors in the console.

To use the updated script:

Remove the old version of the script from Tampermonkey.
Install the new version of the script.
Reload any open YouTube playlist pages.
You should see a floating UI appear on YouTube playlist pages with options to configure and start the cleaner.

If you're still experiencing issues after installing the updated script, please let me know :)


Unexpected response 404

Hello, we are getting below error
Traceback (most recent call last):
  File "/main.py", line 496, in <module>
    service_response = invoke_service_pipe.run(
  File "/opt/venv/lib/python3.10/site-packages/haystack/core/pipeline/pipeline.py", line 788, in run
    res = comp.run(**last_inputs[name])
  File "/opt/venv/lib/python3.10/site-packages/haystack/components/connectors/openapi_service.py", line 73, in run
    service_response = self._invoke_method(openapi_service, method_invocation_descriptor)
  File "/opt/venv/lib/python3.10/site-packages/haystack/components/connectors/openapi_service.py", line 217, in _invoke_method
    return method_to_call(**method_call_params)
  File "/opt/venv/lib/python3.10/site-packages/openapi3/openapi.py", line 256, in __call__
    return self.operation(self.base_url, *args, security=self.security, **kwargs)
  File "/opt/venv/lib/python3.10/site-packages/openapi3/paths.py", line 357, in request
    raise UnexpectedResponseError(result, self)
openapi3.errors.UnexpectedResponseError: Unexpected response 404 from compare_branches (expected one of 200, no default is defined)

name: Generate PR Description
on:
  pull_request:
    types: [opened, edited, reopened, ready_for_review]

jobs:
  main:
    name: PR Description
    runs-on: ubuntu-latest
    steps:
      - name: Generate PR Description
        uses: vblagoje/pr-auto@v1
        id: pr_auto
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          openai_api_key: ${{ secrets.OPENAI_API_KEY }}
          generation_model: gpt-4o-mini
          user_prompt: test generating

Thanks for reporting - I'll fix this over the weekend!

Hey @weilinzung try it out now. I've released new version of Docker image and updated the project itself to use the latest Haystack release.
Give it a go, it should work now. Do let me know.

@vblagoje after re-running the action, now we are getting the 404 error.

Ok, thanks for reporting back, let me fix that.

Have a look at https://github.com/vblagoje/pr-auto/blob/main/action.yml - these are all parameters - you definitely need to setup your CI token to access your internal repo.

it should be the token issue, all good for now. Thanks


[BUG] Generic type doesn't work with model struct

Describe the bug
Generic type doesn't work with model struct
To Reproduce
Steps to reproduce the behavior:
use starknet::ContractAddress;

#[derive(Model, Serde, Cody, Drop)]
struct A<T>{
    #[key]
    player: ContractAddress,
    a: T,
    b: u64
}

Build Failed
Expected behavior
SHould compile without errors
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Not sure whether this should be feature request or not.

Hi @zsluedem !
Thanks for your bug report !
To me, it looks weird to define a generic model because a model is a concrete data that should be storeable. So, if you create several instances of this A model using different types for T, they belong to different models (one model per T type).
On a technical perspective, a model is expanded to a starknet::interface and starknet::contract, and, as far as I know, a starknet::interface can only contain one generic type which is the contract state type.
This is my opinion but better to wait for @tarrencev and/or @glihm opinions 👍

@remybar Thanks for the reply. The idea to make Model with generic param is to reuse some of the codes which behave similaryly.  I am thinking that I can simply define different models as long as T is Introspect. The T needs to be specific when it is neccessary.
Just some ideas.Maybe the issue is more like a feature request instead of bug

@remybar Thanks for the reply. The idea to make Model with generic param is to reuse some of the codes which behave similaryly. I am thinking that I can simply define different models as long as T is Introspect. The T needs to be specific when it is neccessary.
Just some ideas.Maybe the issue is more like a feature request instead of bug

I'm new on the Dojo project, so better to have another opinion from the core team ;-)
I would say that if you want to have generic logic, you should implement it outside models and then instanciate it in your models. For example:
struct MyGenericStuff<T> {
   a: T
}

#[derive(Model, Serde, Cody, Drop)]
struct M1{
    #[key]
    player: ContractAddress,
    action: MyGenericStuff<Action>,
}

#[derive(Model, Serde, Cody, Drop)]
struct M2{
    #[key]
    player: ContractAddress,
    position: MyGenericStuff<Position>
}

@glihm any opinion for this point ?

@zsluedem thanks for the report and @remybar for the great explanations on that.
It is not supported, mostly for the technical limitation that @remybar mentioned, where a model is actually expanded to a contract with a very defined layout for the storage that can't change and must be known at compile time. Having a generic type like T can introduce layout changes based on the type present in T.
Also in the Dojo database system, a model is identified by it's name (will be the selector soon). And this name is allowing dojo database to retrieve information from the correct storage location, and the MyModel<T> have the same name for every T you would define, causing conflict here as the storage layout is fixed at compile time.


Features/school endpoint

School Endpoint
Location

external.py

Details

update school endpoint
was only returning high school

Committed Features

update school endpoint function
remove school category list

 DS will find and share school ratings with users.

Need to look over schools.csv to make sure all schools were scraped from great schools.


Update Interacting.md

I follow the tutorial and I found in case of 3-nodes-quickstart example the private contract file has a different name.

Pull Request Description
Fixed Issue(s)

Could you help me to verify this PR and point the place where you found this file named with an underscore please?

theo is correct, it changed from a hyphen to an underscore a while back and I guess the docs are out of sync: https://github.com/ConsenSys/quorum-wizard/blob/master/src/generators/scripts/privateContract.js#L4


Crash when trying to run

Hi, I just installed Taylor via brew.
When I try running it I get:

Illegal instruction: 4

In both Xcode and terminal.
I tried to download and run the release version, but it just crashes.
Any idea of what could it be?
I'm running on a MacBook Pro with macOS HighSierra 10.13.3
With CLI Version: <IP_ADDRESS>.1.1510905681

Hi! 👋 Thanks for reaching out! We're investigation the issue.
In the meanwhile, can you please run taylor -v and confirm you're using version 0.2.3?

Yes. I'm using the 0.2.3 version.

So.. We made it work here.
We removed the installation, then installed from the source.
Not worked again.
After that we removed one more time and tried to install with brew as the first time.
And now it is working.
I don't know what actually happened, but it was just an installation problem probably.
Sorry for the inconvenience, I'm closing the issue.


Kubernetes 1.27.0 compatibility

Seems it no longer works with Kubernetes v1.27.0. Controller fails with the following error:
W0413 13:36:17.301282       1 certificatesigningrequest_controller.go:151] csr csr-m7kvc not recognized as kubelet serving csr, tried: [certificatesigningrequests]
I0413 13:36:43.732255       1 certificatesigningrequest_controller.go:86] Reconciling CertificateSigningRequest /csr-qndsk
I0413 13:36:43.732630       1 helpers.go:80] Usage does not match
W0413 13:36:43.732913       1 certificatesigningrequest_controller.go:151] csr csr-qndsk not recognized as kubelet serving csr, tried: [certificatesigningrequests]

Fixed with https://github.com/flexkube/kubelet-rubber-stamp/commit/67079b1524d6f4d1a7e950302e0a15895d56fb3c.


focus lost when click method returns false

Plugin methods can return false especially when written in arrow format. The current onClick has a boolean AND expression to reset focus to the content element. This will fail when onClick returns false. Better to ditch the AND and use an arrow function with braces here.

@Sjeiti thanks for the feedback. Please provide a code example of your suggestion.

I suggest turning this:
button.onclick = () => action.result() && content.focus()
into this
button.onclick = () => {
  action.result()
  content.focus()
}

Is that the sames as this?
	document.getElementsByClassName("pell-content")[0].focus();
i call it when a action button is clicked.  Sjeiti code looks nice


Coursework spec Q3 "development set"

I feel like "development set" here should be referring to "validation set" - still technically a correct name for a validation set but could confuse some people

Yep. Nice one. This may have been confusing so 3 points


Fix typo in Gemini tutorial mission

actial -> actual

Note: GitHub Editor added newline at the end of file, not sure if this is wanted.


Update links to WAGMI genesis.json

Docs PR Template
Apparently the genesis.json were moved from Subnet EVM to their own repository. Updated the documents accordingly
How this works
Updated a few links and some references to the genesis.json for WAGNI
How these changes were tested
A local version of the docs were built
Workflow checks

[x] ran vale /docs/file/path on all changed .md files to ensure all grammar rules pass
[]x ran markdownlint /docs/file/path on all changed .md files to ensure all linting rules pass
[x] completed the above two checks and all additional rules outlined in style-checker-notes.md to
ensure all checks pass
[x] if a doc was removed/deleted, the path to that doc must be redirected to a valid URL via the
_redirects file
[x] all files that were moved from their current directory to a new path have had their paths
redirected via the _redirects file
[x] _redirects were manually verified with the cloudflare preview link
[x] sidebars.json reflects all changes made to file path

Thanks for raising this! updated as part of the docs revamp to prevent having to rebase later on https://github.com/ava-labs/avalanche-docs/pull/1467 see the commit history.


Avoid overriding env variables with values defined in the system

When using dotenv-expand, if any of the environment variables specified in your .env file is already defined in your system, it uses that value instead of the one defined in the file.
With this change, we remove dotenv-expand from the project and use dotenv directly, in order to make sure that the environment variables are always read from the specified file

Hi @colynb, have you had time to look into this? The change is really straightforward and it can be really helpful for other people using the plugin

Hi @AlexGascon sorry, I haven't had time to look into this. Like other issues submitted on this repo, I'm kind of nervous about potentially disruptive changes so I tend to ignore them instead of responding and then after a while I forget about it. In this case, if someone depends on the dotenv-expand plugin for their deployments, this would be very disruptive for them. There are a lot of developers who depend on this and even the smallest changes could cause the biggest problems for them.

@corbyn Makes sense, thanks for looking into it anyway!
In that case, would you mind if I add it as an optional feature (e.g. as an extra option in the serverless.yml file)? The plugin is really great, but overriding under the hood the env vars specified in a file also blocks some use cases.
If this isn't fine either, do you mind if at least I add a warning to the README? That behavior is not documented anywhere and I spent a lot of time trying to debug the problem, so at least I'd like to help other developers avoiding the issue

Hi @AlexGascon I'm actually working on a new feature that lets you configure the dotenv plugin in any way you want. It's in the PR #48. Check that out and see if that allows you to do what you need. I'm betting it would and I could really use the help getting a code review. Thanks!

@colynb This is an issue that we've been running into as well that has been causing us headaches. Our CI requires system environment variables to be set in order to get our tests to work properly, but when the tests finish and we run our deployment, the system variables are being written to our Lambda instances instead of those defined in the .env file.
It seems your PR should be able to allow us to fix this. Do you have plans of merging this in the near future? If you're worried about backward compatibility, you should just be able to tag a new major version so users aren't automatically upgraded.


Adding some clarifications to ForwardPAI

https://github.com/MicrosoftDocs/office-docs-powershell/issues/3659

Docs Build status updates of commit 05e96a6:
:clock10: Full build: the average full build time is 12 min(s) 10 sec(s), this is based on the last 613 build(s) for this repository.

Docs Build status updates of commit 05e96a6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsOnlinePSTNGateway.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Figure j in exec summary and Figure 39 need forecast time series

These two identical figures (one in the main document and one in the executive summary) need the forecast catch scenarios added to the plot.

The new objects in the model object created are:
base_model$forecasts$<forecast year>$<catch stream>$depl

Example - for projected 2025 assessment forecast for 2023 catch we get:

The Executive Summary builds fine, I didn't build the rest yet

Thanks for adding these @cgrandin.
I notice that the pre-forecast relative spawning biomass time series in these plots don't match our relative spawning biomass time series without forecasts (i.e., figures e and 27) - maybe it is only for the 2024 point.  Last year, the end year (2023) lined up correctly.

It's for the 2024 point, because 2024 is replaced with the forecast value for that plot. It is the only way to make the series line up, and it is "more" correct isn't it?
In previous years it was the same, the end year in the two plots is not the same.

I don't think it is correct.  Biomass (and relative biomass) at the start of 2024 is not a forecast.  Our executive summary says rel biomass at the start of 2024 is 76.4%, but then these forecast figures say it is ~43%.  I think that's wrong.
This figure in last years document lines up with what is in the executive summary (i.e., both show 2023 rel biomass just above B0), so there must have been a change.

Ok, I can put it back to use the 2024 value from the model output. It will look really weird though as there'll be a huge bump up and then down in one year.

See how the forecasts don't line up...

Updated the 2024 depletion in b4313bc05cba55987df4594ad8cfad0a83f2cc7b

Hmm, I'm still not fully following.  While the connection to 2024 now looks good, I can't understand why No Fishing scenario would bring it right back down so drastically.  I would have thought it would have been something similar to last year where the no fishing scenarios doesn't have a huge effect (figure from last years assessment):

Am I missing something?

The values appear to be correct...
This is the chunk of code where the calculations take place:
https://github.com/pacific-hake/hake-assessment/blob/b4313bc05cba55987df4594ad8cfad0a83f2cc7b/R/load-forecasts.R#L83C6-L104C29
The depl value is Bratio_* / SSB_Initial from the forecasts mcmc values (posteriors.sso). Is that correct? See this line:
https://github.com/pacific-hake/hake-assessment/blob/b4313bc05cba55987df4594ad8cfad0a83f2cc7b/R/load-forecasts.R#L100

Nevermind... I shouldn't be dividing BRatio by SSB_Initial, it should just be BRatio itself. Stand by

The purple line should follow our decision tables for the No Fishing (a) scenario, so the points in 2025, 2026, and 2027 should be 1.00, 1.02, and 0.98, respectively.  The other catch scenario lines (green, red, blue, black) should also match the decision table median rel spawning biomass output values.  The decision table looks correct.

I was dividing by B0 twice. I blame myself for calling it biomass in the previous code even though it was depletion. I was too lazy to change it all apparently.

ohh - that looks good!  I don't blame you at all.  I blame myself for asking you to make the static and dynamic B0 plots and the fished and unfished biomass trajectories plots because then you start dividing by all sorts of non-usual stuff that gets confusing.  So I'm guessing you were still thinking on that level.....
Close this sucker up Chris.

Done in 5031a68303bd64a623784b050a9daa8a47ebd1ec
@aaronmberger-nwfsc close this please if satisfied


Source Type: List View: "Error Getting Object Names. Attempt to de-reference a null object."

Summary

After updating from 2.2 to 2.3.1, I get an error message when configuring when I get to the choose source step. "Error Getting Object Names. Attempt to de-reference a null object." We are using a list view and the object selection is now empty and can't be changed.  The error returns if I change source type (say to report) and then back to list view.  Interestingly, the List View selector still works and shows the list views available on what had been the selected object.
Version of Mass Action Scheduler

2.3
Steps To Reproduce

Create a new Mass Action Configuration record
On the Choose Source step, choose List View
Error

Expected Behavior

No error when choosing List View source type and user is able to select an object then a list view.
Actual Result

Error message appears after choosing List View source type.

"Error Getting Object Names. Attempt to de-reference a null object."

Source Type

[ ] Reports
[x] List Views
[ ] SOQL Queries

Action Type

N/A
Does your configuration use Named Credentials?
N/A

Fixed per https://github.com/douglascayers-org/sfdx-mass-action-scheduler/commit/d1dc3c6a642376bf4be02e66376a59183365e58b


logging and sending metrics issue

currently i am not seeing any detailed logging. even set DEBUG environment variable to true. i need to figure out if/why the metrics are failing to send to my splunk instance. perhaps it has something to do with the setBasicAuth implementation which i'd like to ask a question about as well if it can accept a value in the form of Authorization: Splunk token. any help would be greatly appreciated

Ohhh, this really lacks debug log info, I can optimize the debug log for that.

perhaps it has something to do with the setBasicAuth implementation which i'd like to ask a question about as well if it can accept a value in the form of Authorization: Splunk token
that means you wantn't set user and password?

I see, of course you can do that. : )
It sounds a good feature.

sounds good.


Add more examples for get_at

It’s a bit confusing.
x = einx.get_at("[v] c, b t -> b t c", einn.param(name="vocab_embed"), x, v=50257, c=1024)

I get the bracket around v, but shouldn’t there be another bracket for retrieving the index from x?

You could think of the operation more verbosely as:
einx.get_at("[v] c, b t [] -> b t c []", ...)

The elementary operation that is applied here has the signature (v), () -> (), and is vectorized over all other axes. The empty brackets are not included in einx notation though: They're ambiguous (for example all of b t [], b [] t and [] b t would be valid) and they also don't add relevant information. So einx instead assumes that tensors whose einx expressions do not contain any brackets are used as scalars in the elementary operation. Does this answer your question?

Thanks, yes, I think I get it. I'd still appreciate more examples of get_at in the docs. The operation is rather rich, and concrete usage examples can help one form intuitions.
The examples of creating neural networks using einx could also use more PyTorch examples. Jax uses a tracing compiler which makes it very different from PyTorch, so its examples are not particularly helpful for gaining intuition about using einx with PyTorch.


Feature Request: Enable / Disable Activity Feed (timeline)

With the last spring update, Windows add a new feature called Timeline.
It is possible to add enable/disable this feature from Win10Script?
Following this link by Microsoft, it can be done by the key register
EnableActivityFeed in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System.
Thanks :)

I have added and has been released


Sui fullnode stuck at checkpoint 0

I got an issue related to sui fullnode. It is stuck at checkpoint 0. Here is the details:

Network: testnet

Configs:

# Update this value to the location you want Sui to store its database
db-path: "/home/ubuntu/.sui/db"

network-address: "/dns/localhost/tcp/8080/http"
metrics-address: "<IP_ADDRESS>:9184"
# this address is also used for web socket connections
json-rpc-address: "<IP_ADDRESS>:9000"
enable-event-processing: true

genesis:
  # Update this to the location of where the genesis file is stored
  genesis-file-location: "/home/ubuntu/.sui/genesis.blob"

authority-store-pruning-config:
  num-latest-epoch-dbs-to-retain: 3
  epoch-db-pruning-period-secs: 3600
  num-epochs-to-retain: 1
  max-checkpoints-in-batch: 200
  max-transactions-in-batch: 1000
  use-range-deletion: true
  pruning-run-delay-seconds: 60

Logs:

sui-node[1114557]: 2023-04-18T06:47:24.371352Z  INFO sui_node: SuiNode started!
sui-node[1114557]: 2023-04-18T06:47:24.371434Z  INFO narwhal_network::connectivity: Spawning future narwhal/network/src/connectivity.rs:ConnectionMonitor
sui-node[1114557]: 2023-04-18T06:47:24.371456Z  INFO sui_node::admin: starting admin server filter=info address=<IP_ADDRESS>:1337
sui-node[1114557]: 2023-04-18T06:47:24.371985Z  INFO schedule_checkpoint{seq=0 epoch=0}: sui_core::checkpoints::checkpoint_executor: Checkpoint preparation for execution took 419.192µs
sui-node[1114557]: 2023-04-18T06:47:24.375421Z  INFO sui_core::checkpoints::checkpoint_executor: Checkpoint execution took 3.437126ms seq=0
sui-node[1114557]: 2023-04-18T06:47:24.375435Z  INFO sui_core::checkpoints::checkpoint_executor: Finished syncing and executing checkpoint 0

Anyone can help to check. Thanks!

meeet same issue

@Azard I found a solution, hope this help: https://www.reddit.com/r/sui/comments/12ffxrc/sui_node_error/


MySql.Data.MySqlClient.MySqlException not being handled.

Stack Trace:
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__5(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

This seems to be a randomly occurring issue.  Maybe due to too many database actions at any given time?

I have added handling of this in commit https://github.com/uncled1023/Combot/commit/97c4305d783eca2bbb730e3a62505a808862daf1


Hierarchical forecast Utils - Aggregate: Add support for exogenous vars

This change to the utility function will assist in instances where you need to generate your summation and Y_df but also want to retain any exogenous vars required for your forecast.
You will need to pass in a dictionary containing your exogenous vars and the Pandas agg functions you want applied against them.
I have currently hardcoded the list of acceptable agg_funcs but open to hear if there's a better way

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


Fix sbt/sbt#357 command line usage of test-only and test-quick

Just because sbt has a rigid syntax doesn't mean the bash command line must be rigid.
Usage: sbt test-only myTest (rather than sbt "test-only myTest" which still works)

I don't think it's worth introducing weird inconsistencies.


ModuleNotFoundError: No module named 'graphlib'

"graphlib" comes out-of-the-box in Python >= 3.9 but not for the others. Installing puan using Python 3.8 gives an import error which complains on graphlib

Should probably just require graphlib when installing puan


Main Grid is not resizing to Content Window

The main grid control in the content frame should resize accordingly to space available.

Good point, now on larger screens lot of space is wasted. Added to my pipeline. Thanks!