dartdoc generation is failing: "Could not find an option named "type"."

dev/bots/docs.sh fails on master:
dartdoc:stderr: , from material.DataTable: (file:///Users/ryjohn/code/tmp/flutter/packages/flutter/lib/src/material/data_table.dart:384:7)
dartdoc:stderr:   error: tool execution failed: Tool "snippet" returned non-zero exit code (64) when run as "/Users/ryjohn/code/tmp/flutter/bin/cache/dart-sdk/bin/dart /var/folders/3q/2gm34ftd37n43w9sxr09h0d000m6cw/T/dartdoc_snapshot_cache_WAZpHV/snapshot_0 --type=snippet" from /Users/ryjohn/code/tmp/flutter/dev/docs
dartdoc:stderr: Input to snippet was:
dartdoc:stderr:
dartdoc:stderr: This sample creates a [MaterialApp] widget that stores `ThemeData` and
dartdoc:stderr: passes the `ThemeData` to descendant widgets. The [AppBar] widget uses the
dartdoc:stderr: [primaryColor] to create a blue background. The [Text] widget uses the
dartdoc:stderr: [TextTheme.bodyText2] to create purple text. The [FloatingActionButton] widget
dartdoc:stderr: uses the [accentColor] to create a green background.
dartdoc:stderr:
dartdoc:stderr: ![](https://flutter.github.io/assets-for-api-docs/assets/material/material_app_theme_data.png)
dartdoc:stderr:
dartdoc:stderr: ```dart
dartdoc:stderr: MaterialApp(
dartdoc:stderr:   theme: ThemeData(
dartdoc:stderr:     primaryColor: Colors.blue,
dartdoc:stderr:     accentColor: Colors.green,
dartdoc:stderr:     textTheme: TextTheme(bodyText2: TextStyle(color: Colors.purple)),
dartdoc:stderr:   ),
dartdoc:stderr:   home: Scaffold(
dartdoc:stderr:     appBar: AppBar(
dartdoc:stderr:       title: const Text('ThemeData Demo'),
dartdoc:stderr:     ),
dartdoc:stderr:     floatingActionButton: FloatingActionButton(
dartdoc:stderr:       child: const Icon(Icons.add),
dartdoc:stderr:       onPressed: () {},
dartdoc:stderr:     ),
dartdoc:stderr:     body: Center(
dartdoc:stderr:       child: Text(
dartdoc:stderr:         'Button pressed 0 times',
dartdoc:stderr:       ),
dartdoc:stderr:     ),
dartdoc:stderr:   ),
dartdoc:stderr: )
dartdoc:stderr: ```
dartdoc:stderr: Stderr output was:
dartdoc:stderr: Could not find an option named "type".
dartdoc:stderr:
dartdoc:stderr: Usage: dart [<vm-flags>] <command|dart-file> [<arguments>]
dartdoc:stderr:
dartdoc:stderr: Global options:
dartdoc:stderr: -h, --help                 Print this usage information.
dartdoc:stderr: -v, --verbose              Show additional command output.
dartdoc:stderr:     --version              Print the Dart SDK version.
dartdoc:stderr:     --enable-analytics     Enable anonymous analytics.
dartdoc:stderr:     --disable-analytics    Disable anonymous analytics.
dartdoc:stderr:
dartdoc:stderr: Available commands:
dartdoc:stderr:   analyze   Analyze the project's Dart code.
dartdoc:stderr:   compile   Compile Dart to various formats.
dartdoc:stderr:   create    Create a new project.
dartdoc:stderr:   format    Idiomatically format Dart source code.
dartdoc:stderr:   migrate   Perform a null safety migration on a project or package.
dartdoc:stderr:   pub       Work with packages.
dartdoc:stderr:   run       Run a Dart program.
dartdoc:stderr:   test      Run tests in this package.
dartdoc:stderr:
dartdoc:stderr: Run "dart help <command>" for more information about a command.
dartdoc:stderr: See https://dart.dev/tools/dart-tool for detailed documentation.

After debugging a bit, this seems to only happening on my machine.

It looks like this is happening for others as well (see #69717)

Hi @johnpryan
It's not working on my machine too. I have raised this concern here in an issue assigned to me.

Can you paste the output of flutter doctor -v and dart --version?

Hi @johnpryan
flutter doctor -v :
[✓] Flutter (Channel stable, 1.22.3, on Linux, locale en_IN)
    • Flutter version 1.22.3 at /home/mitesh/fvm/versions/stable
    • Framework revision 8874f21e79 (4 weeks ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/mitesh/Android/Sdk
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = /home/mitesh/Android/Sdk
    • Java binary at: /home/mitesh/F/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /home/mitesh/F/android-studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • Redmi Note 4 (mobile) • 2685de490404 • android-arm64 • Android 7.0 (API 24)

• No issues found!

$ dart --version
Dart SDK version: 2.9.3 (stable) (Unknown timestamp) on "linux_x64"

Hi @johnpryan
Is this still an issue ?


Create design for My Achievements page

Is your feature request related to a problem? Please describe.
A My achievements page where users can see his/her rankings and achievement level, discussion answered, assignments competed, his/her top scores, badges, etc.
Describe the solution you'd like
Create a page UI for my achievement section under the profile section.

@Abhishek-kumar09 can I work on this?

@Abhijay007 Yeah, go ahead.

Hey Please add space to showcase badges also!

Hey Please add space to showcase badges also!

ok, I will also add that 😊

Hey, @Abhijay007 I would suggest making a Figma design first because that will reduce any kind of rework right and get approval from @Abhishek-kumar09, @vasudevsinghal.
and if you need any kind of UI suggestion or help in the design part you can ping me anywhere. 😃

Hey, @Abhijay007 I would suggest making a Figma design first because that will reduce any kind of rework right and get approval from @Abhishek-kumar09, @vasudevsinghal.
and if you need any kind of UI suggestion or help in the design part you can ping me anywhere. 😃

Ya! sure @adarsh-technocrat you can share the Figma design here I will try my best to implement code accordingly. We can discuss ideas and changes in UI in this thread 😊

sure @Abhijay007 I'll let you know!

Hey, @Abhijay007  can you please list down the things that we need to put in the My Achievement section! One thing already mentioned is showcase badges.

Hey, @Abhijay007 can you please list down the things that we need to put in the My Achievement section! One thing already mentioned is showcase badges.

ok, @adarsh-technocrat so I think that first on the top we can make a section  where we can show profile pic,followers, and current achievement level, something like this:

followed by this we can add a div section in which we can show details as courses completed, discussion answered, a=bages earned something like this :

and after this we can showcase some rare badges on the a page like this by making a separate section like this:

and by clicking on the badges we will redirect the user to a dedicated badges page where the user can see badges descriptions and details.
PS: ignore the color scheme for now 😄 and @adarsh-technocrat if you have more suggestions you can add them. I am also thinking about other sub-sections.

Great! @Abhijay007 sounds good I'll make something according to my imagination including your lovely suggestions and further we have different iterations on it as I complete the UI  :)
let @Abhishek-kumar09  @vasudevsinghal  also put their thoughts on the same!

Great! @Abhijay007 sounds good I'll make something according to my imagination including your lovely suggestions and further we have different iterations on it as I complete the UI :)
let @Abhishek-kumar09 @vasudevsinghal also put their thoughts on the same!

Ya! sounds good!!

Hey, @Abhijay007  actually I'm designing the UI here is the Figma link  where you can see it :)

Hey, @Abhijay007 actually I'm designing the UI here is the Figma link where you can see it :)

ok, @adarsh-technocrat got it !! looks good 👍

Hey, @Abhijay007 I think my achievement can be part of the gamification section because the things that we are putting in my achievement section it's a bit similar to those required in gamification section  #166 what your thoughts?
Cc/ @Abhishek-kumar09

Hey, @Abhijay007 I think my achievement can be part of the gamification section because the things that we are putting in my achievement section it's a bit similar to those required in gamification section #166 what your thoughts?
Cc/ @Abhishek-kumar09

yes, @adarsh-technocrat these are quite similar but I believe that these issues can be break up into different PRs like we can make a separate leaderboard section instead of showing it as a part of the gamification or my achievements page and we can show raking of an individual on achievements page and we may also need to make a separate badge page to showcase an individual's performance. what I want to say that we can break this issue into multiple PRs and starting working on, each one by one for that we can set a GitHub milestone and try to discuss the various goals we need to achieve in order to accomplish this task. we can discuss various possibilities and ideas there to make fully functional gamification or my achievements page like we may need a lot of ideas here, we need to make a whole Figma file include UI and need to break down that into smaller issues and PRs just like we did for main/basic design in starting of the project.
what are your thoughts on this?

Hey, @Abhijay007 I think my achievement can be part of the gamification section because the things that we are putting in my achievement section it's a bit similar to those required in gamification section #166 what your thoughts?
Cc/ @Abhishek-kumar09

yes, @adarsh-technocrat these are quite similar but I believe that these issues can be break up into different PRs like we can make a separate leaderboard section instead of showing it as a part of the gamification or my achievements page and we can show raking of an individual on achievements page and we may also need to make a separate badge page to showcase an individual's performance. what I want to say that we can break this issue into multiple PRs and starting working on, each one by one for that we can set a GitHub milestone and try to discuss the various goals there about what we need to achieve in order to accomplish this task. we can discuss various possibilities and ideas there to make fully functional gamification or my achievements page like we may need a lot of ideas here, we need to make a whole Figma file include UI and need to break down that into smaller issues and PRs just like we did for main/basic design in starting of the project.
what are your thoughts on this?

@Abhishek-kumar09 can I implement this?

Hey, @Abhijay007 I think my achievement can be part of the gamification section because the things that we are putting in my achievement section it's a bit similar to those required in gamification section #166 what your thoughts?
Cc/ @Abhishek-kumar09

my achievements page and we can show raking of an individual on achievements page and we may also need to make a separate badge page to showcase an individual's performance.

I also agree with @Abhijay007, On the achievements page, we can show the overall ranking of the user & things that can help him in improving it, whereas, on the badges page, we can show small tasks that users completed. I created a UI for badge page #239

@rajatgupta24 , @adarsh-technocrat is working on a new UI design we can make PR according to that we are using a different approach this time, we are making a single profile section in which achievements page has a separate scrollable section.

I also agree with @Abhijay007 & @adarsh-technocrat, On the achievements page, we can show the overall ranking of the user & things that can help him in improving it, whereas, on the badges page, we can show small tasks that users completed. I created a UI for badge page #239

@rajatgupta24 , @adarsh-technocrat is working on a new UI design we can make PR according to that we are using a different approach this time, we are making a single profile section in which achievements page has a separate scrollable section.


error

Traceback (most recent call last):
File "demo.py", line 29, in
from predictor import COCODemo
File "/home/mxy/maskscoring_rcnn/predictor.py", line 11, in
from maskrcnn_benchmark.utils import cv2_util
ImportError: cannot import name 'cv2_util' from 'maskrcnn_benchmark.utils' (/home/mxy/maskscoring_rcnn/maskrcnn_benchmark/utils/init.py)
I meet this error and dont know how to solve,could you help me?

same problem anyone know how to fix it?

i fixed the issue just go to https://github.com/facebookresearch/maskrcnn-benchmark/tree/master/maskrcnn_benchmark/utils to get the cv2_util.py


support the multi-part (upload the archive)

Description
I would like to know if there is any prediction or if you see the need to have multi-part support for file upload?
Implementation ideas
No response

@adailsonm
Which file upload API do you have in mind for multi-part support?

a file wanted to capture via BPMN and pass this multipart to my flow and upload it to s3 for examples and so any logic with files.


NCI-Agency/anet#382: Fix jsx-a11y/href-no-hash warning

By upgrading to the latest version of eslint-config-react-app (currently 3.0.0-next.66cc7a90).

@maradragan I've fixed all new issues (errors preventing the build and new warnings) that were introduced by the updated plugin.


[question] should mouseup after dragging trigger the element click event?

maybe add a way to optionally stop event bubbling during drag & drag end?

How to fix event bubbling issue on ng-drop-success menthod ?


Healthcheck is not workig

My project is based balena-wpe, it displays a website served from another service.
I added my webserver to the depends_on property, to ensure the webserver is up and running I utilized healthcheck. Yoiu can find my docker-composer.yml attached below.
version: '2.1'
services:
  Browser:
    restart: always
    build: ./balena-wpe
    privileged: true
    network_mode: host
    environment:
      INITSYSTE: on
      WPE_URL: http://localhost:90
    depends_on:
      - Webserver
    healthcheck:
      test: ["CMD", "wget", "-q", "-O", "/dev/null", "$WPE_URL"]
  Webserver:
    restart: always
    build: ./Webserver
    privileged: true
    network_mode: host

It works when I replace the healthcheck property with:
command: >
      /bin/bash -c "
        while ! wget -O /dev/null $WPE_URL > /dev/null;
        do
          echo 'Waiting for Webserver to be ready...';
          sleep 10;
          exit 1;
        done;
        echo 'Webserver up, starting the Browser now!';
        /wpe-init
      "

I can't see any error in the balena-cloud console.

Ping?

Ping


handle gaps in gage data

See comments in https://github.com/USGS-VIZLAB/vizstorm-GIF/issues/12#issuecomment-404565831 for criteria.

^ Hmmm had not considered that when I originally wrote this. It's written vaguely enough to include both, but I think MVP would be just the spark line

I like the idea of throwing an error if we have more than one gap - i worry about just ignoring the possibility but agree that it could be a pain to code for n gaps, so an error seems like a good compromise.
The code changes for gaps in hydrograph vs gage point will probably happen in quite different functions, but I think we need a plan for what to do with the gage point - I could reluctantly settle for leaving the gage unchanged, as @lindsaycarr is suggesting, but I would rather see the change on the map simultaneously. Open to further disagreement/discussion, though.
If changing both sparks and points is too big for one PR, then 2 PRs for this issue would be fine with me, but I'd prefer to see both tasks resolved, and at least today I'm OK with lumping those two tasks into this one GitHub issue rather than breaking them out.

Yeah, I agree that I'd prefer both, to the point where we should consider the MVP to just manually filter out gages w/ gaps, but the thing we are shooting for is the Maria experience/styling.

Right now I seem to have things working for the sparklines (still need to do the site points) except I was still working on Harvey and the Drive might be corrupt because now my computer is trying to rebuild precip (which it can't. not a mac.). So I won't put in a PR quite yet, but here's what I could do before that rebuild got triggered:

Looking good! :+1:
I am stuck on some NWIS 503s, so skipping out for the night. I wonder if it is worth tackling that precip build to work on windows? Or at least capture it in an issue.

It would certainly be useful if anybody could do the precip build. I just added #102 but also categorized it as a Could Do because I think our MVP should be a releasable viz.

Resolved by #106 and #114


Remove default DNS setting

I forgot to clear this value after our discussion.

This PR addresses the final bit of feedback from https://github.com/PKISharp/win-acme/pull/1054 that I forgot to address.


Add Jay H to Contributors list

Please accept this change to the contributors list.  Thanks for setting up this tutorial.

Hi  @DrJuneau, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

I think this was a good way to show how the configuration management tool works w/o having the added stress involved with modifying anything of (significant) value.  Following the README worked exactly without any issues.


build(buck2): create a jest rule for use in lang-js' test-unit target

With this change, the jest-implementated test suite for bin/lang-js will be executable and automatically picked up for execution in the CI environment.

bors merge


Updated remote config is not activated

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.3.1
Firebase SDK version: 6.21.0
Firebase Component: Remote Config
Component version: 4.4.9
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Make a change in the remote config via Firebase.
Run the app, set minimumFetchInterval to 0 and call: fetchAndActivate
The fetch is successful but it does not activate the config.
The active config still has old values.
Relevant Code:
        let settings = RemoteConfigSettings()
        settings.minimumFetchInterval = 0
        let remoteConfig = RemoteConfig.remoteConfig()
        remoteConfig.configSettings = settings
        remoteConfig.fetchAndActivate { status, error in
        }

I've noticed that this is happening due to not updated etag?
For some reason the response header contains the same ETag as in _settings.lastETag, even though the fetched config state is UPDATE and it contains 12 entries whereas the current active config has only 11 entries.
https://github.com/firebase/firebase-ios-sdk/blob/a2fbd12168415cca2404835729953c4432263847/FirebaseRemoteConfig/Sources/RCNFetch.m#L479-L483
Which means it does not set a new last etag update timestamp in here:
https://github.com/firebase/firebase-ios-sdk/blob/a2fbd12168415cca2404835729953c4432263847/FirebaseRemoteConfig/Sources/RCNConfigSettings.m#L123-L126
making this check still true:
https://github.com/firebase/firebase-ios-sdk/blob/a2fbd12168415cca2404835729953c4432263847/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m#L296-L297
and return an erorr of: "Most recently fetched config is already activated"
which is wrong.

Hi @Skoti . Thx for looking into the service response and client code 👍
One thing that's unclear to me is if the issue is that the etag header isn't changing across update responses, or if the client isn't updating its etag storage correctly.
Would you mind checking the etag header in the response before and after updating config in the console?
If the etag change when the config changes, then the service is working correctly and we can focus on the client.
Thx!

This could be a duplicate of #4740

I think what paulb mentions is something different. As there the fetch request does not happen at all whereas in my case it happens but it is not updating the config.
However, I cannot reproduce this easily now. It just happened two or three times. Maybe some previous actions resulted that I wound up in such a state.
I think we can close it for now. I will reopen if I find a more reliable repro steps.

My understanding is that there are two factors going on that make the code snippet cause confusing behavior.

remoteConfig.configSettings = settings is asynchronous so it doesn't actually impact the subsequent fetchAndActivate.
Even after changing to zero and rerunning, the previous fetch does not deactivate because it was run with the longer setting.


Why do we have both "model" and "models" and "apiModels"? This makes it hard to work with the code base

Yes very confusing. model are the legacy job specs will be deprecated and removed as part of this epic that is planned for this quarter https://github.com/bacalhau-project/expanso-planning/issues/529
models are the v2 job specs, while apiModels are the HTTP request and response types


[Usage] Issues related to installation or use of AIOS

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I am sure the issue hasn't been already addressed by searching through https://github.com/agiresearch/AIOS/issues.
[X] The usage issue is not resolved by updating to the latest stable version in the main branch.

Your current environment
This thread is dedicated to gathering any challenges, obstacles, or errors encountered during the installation or use of AIOS, particularly from those new to the platform. If you run into any issues, whether it's a bug, an inconvenience, or something else during the setup or operation of AIOS, please share them here. Our team will work to optimize AIOS based on your feedback.
How would you like to use aios
I want to run aios with the llm endpoint: xxx for agent: xxx.

I could installed successfully this evening

AIOS installation on Android phone (arm64/Snapdragon 8 gen2) using Termux.
TEST result from last weekend:

All requirements were met, with little prep on Termux.
Pandas and Polars required termux tur repo.

Only issue is with torch, it requires ANDROID_NDK to build/install. This weekend will install NDK and retry.

Hi,professor,I followed the installation process and succeed. But for use,I use ollama as backend. I ran
$ python main.py --llm_name ollama/llama3:8b --use_backend ollama # use ollama/llama3:8b for example after installation. And it showed
`During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/codes/AIOS/AIOS/main.py", line 118, in
main()
File "/mnt/codes/AIOS/AIOS/main.py", line 110, in main
awaitAgentExecution(agent_id)
File "/mnt/codes/AIOS/AIOS/aios/hooks/llm.py", line 107, in awaitAgentExecution
return future.result()
^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/codes/AIOS/AIOS/pyopenagi/agents/agent_factory.py", line 83, in run_agent
agent = self.activate_agent(
^^^^^^^^^^^^^^^^^^^^
File "/mnt/codes/AIOS/AIOS/pyopenagi/agents/agent_factory.py", line 61, in activate_agent
self.manager.download_agent(
File "/mnt/codes/AIOS/AIOS/pyopenagi/manager/manager.py", line 67, in download_agent
response = requests.get(f"{self.base_url}/api/download", params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/download?author=example&name=academic_agent (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbf01d80610>: Failed to establish a new connection: [Errno 111] Connection refused'))`
May I ASK WHAT DID I MISS?


Does this plugin work on Apple M1?

I have installed and successfully run Stable Diffusion WebUI on my Apple M1 computer, after successfully installing this plugin, I cannot use this plugin, Python3 will crash and exit after clicking button Generate, the WebUI's log shows the following:
...
Loading CLIP Interrogator 0.5.4...
Loading BLIP model...
load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_large_caption.pth
Loading CLIP model...
Loaded CLIP model and data in 5.56 seconds.
2023-02-23 12:07:07.519 Python[16268:467906] Error getting visible function:
 (null) Function floorOp_i64 was not found in the library
/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Utility/MPSKernelDAG.mm:755: failed assertion `Error getting visible function:
 (null) Function floorOp_i64 was not found in the library'
zsh: abort      ./webui.sh

This appears to be an OS architecture issue? Is it possible to get a solution?
Thanks!

sorry for the trouble, i've not run it on a mac before. hmm looks like open_clip may be using some operation not available in MPS 🤔 i'll have to try it out on mac and see. you should be able to delete the folder in your extensions folder to get back up and running. sorry it didn't work for you and thanks for the report!!

sorry for the trouble, i've not run it on a mac before. hmm looks like open_clip may be using some operation not available in MPS 🤔 i'll have to try it out on mac and see. you should be able to delete the folder in your extensions folder to get back up and running. sorry it didn't work for you and thanks for the report!!

Hello there, thanks for making this extension. But same thing happened to me either. It seems not suitable for arm64 mac. When I hit the 'generate' button, it keeps showing me this in terminal:
MPS: does not support floor_divide op with int64 input

Same here, got MPS: does not support floor_divide op with int64 input right after it said Loaded CLIP model and data in 4.28 seconds

~Same here, got MPS: does not support floor_divide op with int64 input right after it said Loaded CLIP model and data in 4.28 seconds~
It is working perfectly after upgraded to 13.3 and the latest torch nightly build (torch-2.1.0.dev20230329).

didn't help me


Update docs to reflect current API

We need to update the docs so that they reflect the current API. Also need to link to http://godoc.org/github.com/typerandom/cocoon and fix so that it's detected as a lib and not a command.

In progress...


Folder for drawio diagrams

This PR comes from the Discussion (#377)
Tasks involved in this issue

[x] Creation of a folder in /docs/diagrams

Purpose: Centralize all the diagrams for the BioCypher repository.

[x] Architecture diagrams (Architecture_BioCypher.drawio) have been added.

format: .drawio.svg
The original file (with all diagrams) has been split.

Agree with the size issue, generally. If we do svg, it's saved as an image. Which is better for referencing it in discussions (it is rendered on GitHub directly), but worse in terms of storage. I didn't know draw.io had a GitHub plugin, will check out the request @kpto opened. Maybe that's the solution.

I installed the app, please check if it works for our purposes

Working perfectly, can open a diagram using draw.io directly from the repo.

@kpto can you explain how (or link to docs)?

Working perfectly, can open a diagram using draw.io directly from the repo.

@kpto can you explain how (or link to docs)?

You must use the web app https://app.diagrams.net/
The UI is pretty self explanatory, just open the link above, choose GitHub, choose the repo and a branch, then the file you want to edit.

changes on documentary diagrams shouldn't trigger tests, we will need to fine tune the configuration to exclude certain directories.

yes. we can just exclude the docs dir.

You must use the web app

So I guess I can just keep using the VSCode plugin, which offers the exact same without having to go to a third party web app. Which is good (anybody can use whichever app they want).
I don't fully understand the size argument; what format should we save the files as? Does it actually make a difference?

No, I think the test fail is unrelated (some pre-commit thing) and also tests shouldn't run when we only update the docs. This is a separate issue, I would suggest only doing the diagram changes in this PR, and move the rest to a different issue / PR.

@kpto there is one complication that I can think of, which is that we use doctest to verify the code in the documentation is still correct and current in comparison with the real code. There may be some entanglement there.

So I guess I can just keep using the VSCode plugin, which offers the exact same without having to go to a third party web app. Which is good (anybody can use whichever app they want).

Yes you are good.

I don't fully understand the size argument; what format should we save the files as? Does it actually make a difference?

I don't think that's an argument but merely an observation that a file sized too large leads to test fail. But regarding the format to use, I recommend .drawio.svg, vector based, embeddable, native draw.io information kept, no reason not to choose, except that it somehow leads to test fail problem which requires investigation. I don't think a test should fail because of this?

When I made the test, it failed for the size. That's why it was mentioned in the comments. And that is why I suggested to store the images in .drawio or .drawio.svg

When I made the test, it failed for the size.

You also changed the YAML configuration, which I think we should revert and discuss in a separate issue / PR, see the other code comment. This PR should only be about the diagram folder.

When I made the test, it failed for the size.

You also changed the YAML configuration, which I think we should revert and discuss in a separate issue / PR, see the other code comment. This PR should only be about the diagram folder.

Totally agree, I wanted to mention this in the beginning actually but worried that I might go too far on enforcing the rules. Though, I must say that sometimes breaking the rules really remove a lot of hurdle so I am fine with it occasionally. As long as the mentality is set right, I don't want to be too strict on others.

Totally agree, I wanted to mention this in the beginning actually but worried that I might go too far on enforcing the rules. Though, I must say that sometimes breaking the rules really remove a lot of hurdle so I am fine with it occasionally, as long as the mentality is set right. I don't want to be too strict on others.

@kpto, absolutely, balance is needed. However, since we are just starting to work together, it can be worth taking some time to explain some ground rules in more detail, rather than some time later. But in essence you are right, it depends on the circumstance. (makes me also think doing these "user manuals" for ourselves may be valuable to do some time in the near future)

@slobentanzer Have you reviewed the diagrams and confirm their correctness? The mission part is still outside my knowledge so I will rely on you on that part. I will need to have a thorough code reading to verify the architectural diagrams which will takes some time. I already think the configuration part was not drawn correctly, one of my architectural concern is exactly that the configuration layer is not shared by modules.
@ecarrenolozano I don't understand the file naming, what do the codes prefixing each file mean?

@kpto the architecture diagrams are not correct or complete (briefly skimmed). The PR is just to introduce a folder for them in order to be able to use them in discussion #377, so they don't need to be fully correct. We can continue improving them as we discuss what the architecture should be.
@ecarrenolozano have you created an issue for the pre-commit changes you wanted to make? If everything is in order, we can merge this PR to get on with the architecture discussion.

@slobentanzer Have you reviewed the diagrams and confirm their correctness? The mission part is still outside my knowledge so I will rely on you on that part. I will need to have a thorough code reading to verify the architectural diagrams which will takes some time. I already think the configuration part was not drawn correctly, one of my architectural concern is exactly that the configuration layer is not shared by modules.
@ecarrenolozano I don't understand the file naming, what do the codes prefixing each file mean?

We started the diagram process recently, based on the documentation and how the BioCypher works (not diving into nitty-gritty details for now). So, this is just a starting point to formalize them.
The file convention is based on Legacy Diagrams, Migration Diagrams, Adapter Components, and Output Components. Each diagram needs a unique code, so please I am open to suggestions related to the names but they should keep a unique code.

@kpto the architecture diagrams are not correct or complete (briefly skimmed). The PR is just to introduce a folder for them in order to be able to use them in discussion #377, so they don't need to be fully correct. We can continue improving them as we discuss what the architecture should be.

I don't agree with knowingly commit wrong information into a repo but I am flexible so I am fine, but I still want the file naming sticks to the established convention as much as possible. From what I see in the docs directory the naming is a mixture of snake case and kebab case so please use either one of them. In the future we should have a consensus on naming and rename those files.

@slobentanzer Have you reviewed the diagrams and confirm their correctness? The mission part is still outside my knowledge so I will rely on you on that part. I will need to have a thorough code reading to verify the architectural diagrams which will takes some time. I already think the configuration part was not drawn correctly, one of my architectural concern is exactly that the configuration layer is not shared by modules.
@ecarrenolozano I don't understand the file naming, what do the codes prefixing each file mean?

We started the diagram process recently, based on the documentation and how the BioCypher works (not diving into nitty-gritty details for now). So, this is just a starting point to formalize them.
The file convention is based on Legacy Diagrams, Migration Diagrams, Adapter Components, and Output Components. Each diagram needs a unique code, so please I am open to suggestions related to the names but they should keep a unique code.

@slobentanzer you can merge this PR. Then, I could create a new PR request exclusively to discuss the suggestion of migration for the pre-commit-config.yaml file.

The file convention is based on Legacy Diagrams, Migration Diagrams, Adapter Components, and Output Components. Each diagram needs a unique code, so please I am open to suggestions related to the names but they should keep a unique code.

Why? I am not familiar with such a practice, what are the codes for when your file names are already descriptive?

@slobentanzer you can merge this PR. Then, I could create a new PR request exclusively to discuss the suggestion of migration for the pre-commit-config.yaml file.

Shouldn't this be an issue or discussion?

@slobentanzer you can merge this PR. Then, I could create a new PR request exclusively to discuss the suggestion of migration for the pre-commit-config.yaml file.

Shouldn't this be an issue or discussion?

This is the message :

[WARNING] top-level default_stages uses deprecated stage names (commit, push) which will be removed in a future version.  run: pre-commit migrate-config to automatically fix this.

Issue, because it will be removed in the future and it can cause an issue in the future.

Re the „wrongness“ of the diagrams: I don’t think it applies this strictly here. Uploaded diagrams could also be suggestions for the refactor, so it is not really possible to determine whether they are correct.
Re the identifier system: I also don’t see the point in using an arbitrary system that does not carry meaning. For personal use, sure, but as soon as multiple contributors collaborate, this creates an explanatory overhead. I think the uniqueness of the diagrams is guaranteed by the descriptive naming and the versioning provided by GitHub. What I would like as an organising principle is some sort of structured index, like a table of contents in markdown that links the diagrams together. Could be an .md file in the diagrams folder. Happy for suggestions of more elegant solutions though.

The codes contribute to organizing and indexing the diagrams. It is a common practice in Systems and software engineering.

This is really the first time I am hearing this, can you point me to some references or give me a few keywords for what to search on Google to get relevant information? This seems really arbitrary to me like, the number of leading zeros?
@slobentanzer What do you think about this? Are you familiar with this practice?

TL;DR

Codes: we can remove the codes, any suggestions for names other than that?
Structured index: I suggest just using Markdown and that's it. On the other hand, a Wiki could be another idea, but we don't want to over-complicate things too much do we?

Guys, I don't have a concrete example because it depends on the convention defined in the organization. Usually, organizations have diagramming tools that generate codes in company with prefixes. As, this project is really small, we can do without codes. However, in case you work with projects where the number of diagrams scales, you will probably find this situation. Readings I can perhaps recommend are the C4 specifications, Archimate, TOGAF, and look for Software Engineering standards (IEEE 1471 among others). All of them give different recommendations for software architecture aspects, which in the end end up being decisions of the team or company.

Re the „wrongness“ of the diagrams: I don’t think it applies this strictly here. Uploaded diagrams could also be suggestions for the refactor, so it is not really possible to determine whether they are correct.

@slobentanzer While I am fine with it right now, but I feel the necessity to remind you that this PR is committing changes to the docs directory in main repo. With the prod branch being absent, this branch becomes the branch that holds the latest, confirmed shape of the project. I am fine with it right now because the changes will not be published automatically but if we have a continuous delivery set up in the future, this must be prohibited, even though the diagram itself will not be disclosed due to it being not referenced, the mentality matters. What you said is right though if this PR is committing to a dev branch.
To give you a more practical reason, imagine if we somehow need to freeze our software due to a major refactoring, the main branch will be a convenient place to pick a state to freeze. If incorrect information is randomly introduced we will have trouble tracing back to a commit which we are certain that it is stable to serve the public for a long term.
Or if you actually mean a place to store ideas, then it would not be docs directory but something else, or even a different repo.

The codes contribute to organizing and indexing the diagrams. It is a common practice in Systems and software engineering.

This is really the first time I am hearing this, can you point me to some references or give me a few keywords for what to search on Google to get relevant information? This seems really arbitrary to me like, the number of leading zeros?
@slobentanzer What do you think about this? Are you familiar with this practice?

TL;DR

Codes: we can remove the codes, any suggestions for names other than that?
Structured index: I suggest just using a simple Markdown file. On the other hand, a Wiki could be another idea, but we don't want to over-complicate things too much do we?

Guys, I don't have a concrete example because it depends on the convention defined in the organization. Usually, organizations have diagramming tools that generate codes in company with prefixes. As, this project is really small, we can do without codes. However, in case you work with projects where the number of diagrams scales, you will probably find this situation. Readings I can perhaps recommend are the C4 specifications, Archimate, TOGAF, and look for Software Engineering standards (IEEE 1471 among others). All of them give different recommendations for software architecture aspects, which in the end end up being decisions of the team or company.

I suggest we just merely give a descriptive name in snake case, I am not even sure an index is needed.

I like the idea of using the wiki; we don't use it at the moment, and GitHub can render simple diagrams in mermaid. This would also solve the question of how to display the (non-mermaid) images, as I think GitHub wiki also can render any image.
In addition, it will also be a separate repository, which is another comment that I generally agree with. Should we go ahead with the wiki? All we'd need to do is to have a start page explaining that the wiki is developer-focussed, not for the typical user.

Created a wiki home page, the repo is https://github.com/biocypher/biocypher.wiki.git. I suppose you should be able to collaborate on that, right?

Made an example page with a mermaid diagram, I think this is very useful: https://github.com/biocypher/biocypher/wiki/Example-diagram


Better error reporting, gevent 1.1 compatibility

Hi @dvdotsenko !
Is there any chance that at least d43d0218818a298807f2c3728119faeb8b3eadcb gonna be merged? It would really help to resolve issues when using jsonrpc with gevent > 1.1. See this page for details http://www.gevent.org/whatsnew_1_1.html#compatibility, section about 'gevent.pywsgi.WSGIServer'.
Thanks,
Denis

Looking at it. Appreciate your help in keeping this piece of software
functional.
On Tue, Sep 13, 2016 at 5:57 AM, Denis Dudnik<EMAIL_ADDRESS>wrote:

Hi @dvdotsenko https://github.com/dvdotsenko !
Is there any chance that at least d43d021
https://github.com/dvdotsenko/jsonrpc.py/commit/d43d0218818a298807f2c3728119faeb8b3eadcb
gonna be merged? It would really help to resolve issues when using jsonrpc
with gevent > 1.1. See this page for details http://www.gevent.org/
whatsnew_1_1.html#compatibility, section about 'gevent.pywsgi.WSGIServer'.
Thanks,
Denis
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dvdotsenko/jsonrpc.py/pull/2#issuecomment-246672641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALY8-TOmmiWlCkWlCIcDksHduOXl1mRks5qpp3RgaJpZM4HAoaP
.

Dig it. Will merge and push out a new build later today. Thank you much.
On Wed, Sep 14, 2016 at 5:47 PM, Daniel D<EMAIL_ADDRESS>wrote:

Looking at it. Appreciate your help in keeping this piece of software
functional.
On Tue, Sep 13, 2016 at 5:57 AM, Denis Dudnik<EMAIL_ADDRESS>wrote:

Hi @dvdotsenko https://github.com/dvdotsenko !
Is there any chance that at least d43d021
https://github.com/dvdotsenko/jsonrpc.py/commit/d43d0218818a298807f2c3728119faeb8b3eadcb
gonna be merged? It would really help to resolve issues when using jsonrpc
with gevent > 1.1. See this page for details
http://www.gevent.org/whatsnew_1_1.html#compatibility, section about
'gevent.pywsgi.WSGIServer'.
Thanks,
Denis
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dvdotsenko/jsonrpc.py/pull/2#issuecomment-246672641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALY8-TOmmiWlCkWlCIcDksHduOXl1mRks5qpp3RgaJpZM4HAoaP
.

Sorry for delay. Build 0.4.1 with the above changes was released.


Update automatic sidecar injection prerequisites for k8s 1.9 (AWS/Kops)

https://istio.io/docs/setup/kubernetes/sidecar-injection.html#prerequisites for AWS/Kops need to be updated for k8s 1.9 to enable support for mutating webhooks.
$ kubectl api-versions | grep admissionregistration.k8s.io/v1beta1
admissionregistration.k8s.io/v1beta1

See https://archive.istio.io/v0.4/docs/setup/kubernetes/sidecar-injection#prerequisites for previous 0.4.0 doc version.

is there any existing document that we can use for setting up automatic sidecar injection with AWS/Kops and K8 1.9 ?

AFAIK no, but I will try to document it

On 9 Feb 2018, at 8:13 AM, mailtovivek87<EMAIL_ADDRESS>wrote:
is there any existing document that we can use for setting up automatic sidecar injection with AWS/Kops and K8 1.9 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks ..

admissionregistration.k8s.io/v1beta1 is already configured with admission control:
--admission-control=Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,Priority,ResourceQuota
Just notice that script install/kubernetes/webhook-create-signed-cert.sh to launch create CA is not in the repo. Could you have a look?

I've submit #958 for AWS automatic sidecar injection with aws using kops utility

@jsenon @ayj I have installed Kubectl 1.9 using KOPS 1.8 with below comands :
export KUBERNETES_VERSION=${KUBERNETES_VERSION:-https://storage.googleapis.com/kubernetes-release/release/v1.9.0/}
kops create cluster --cloud=aws --zones=ap-southeast-1a --name=kops.example.com --network-cidr=<IP_ADDRESS>/16 --dns-zone=example.com --master-zones=ap-southeast-1a --zones=ap-southeast-1a --master-size=t2.medium --node-size=t2.medium --node-count=1 --kubernetes-version $KUBERNETES_VERSION --yes
Which worked perfectly. After which I did steps mentioned in docs https://istio.io/docs/setup/kubernetes/sidecar-injection.html#aws-with-kops
After kops rolling-update cluster --yes, nodes are coming up but kubectl get nodes and kops get cluster is showing nodes as not ready. Am I missing something here?

Hi @mailtovivek87, could you try with kubernetes version 1.9.2? find my kops create used for the docs:
kops create cluster  \
  --node-count 1 \
  --zones eu-central-1a \
  --master-zones eu-central-1a \
  --dns-zone=xxx \
  --node-size t2.medium \
  --master-size t2.small  \
  --topology private \
  --vpc=vpc-xxx \
  --networking flannel \
  --bastion  \
  --kubernetes-version=1.9.2 \
  --name=k8s-test.cloud \
  --cloud-labels "Contact=julien.senon" \
  --ssh-public-key ~/.ssh/mykey

Sure. Just want to confirm that after kops create cluster command, i can directly follow the steps mentioned https://istio.io/docs/setup/kubernetes/sidecar-injection.html#aws-with-kops, nothing in between. Right ?

Indeed, just notice that I don't I've launch with kops create --yes

Oh, so you didn't launched cluster. Just created a config first, updated it and then rolled out update to create cluster with updated settings.

indeed. I will try with:

Create cluster
Apply configuration
Edit Cluster
Rolling Update cluster

I was not able to reproduce your issue, with steps mention earlier

Still not able to apply changes. Steps i followed :

kops create cluster (KOPS 1.8 with Kubernetes 1.9.2)
kops edit cluster
kops update cluster --yes
kops rolling-update cluster --yes

After last step, KOPS launch new masters and nodes but only etcd R53 entry is updated and entries like api.example.com and api.internal.example.com still points to old ones (waited 30 min after rolling step). On manually updating api ip, nodes status shows Ready but master as Not Ready.

Perhaps have a look on Kubectl logs on master. AFAIK seems not an issue with istio but i can help you.

My bad, I missed out few admission controllers from the list and after adding those it worked perfectly for me.
Thanks @jsenon

Cool 👍  ! Thanks for this update


⚠ Samsung has degraded performance

In 562aa2e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2375 ms

Resolved: Samsung performance has improved in 6c4a368.


No address range available for DHCP request

Hello
I try to get work the Metasploitable2 image following the documentation about creating them. However, when I launch it, the VM can't obtain a IP address from the dnsmasq.
# dnsmasq -d
dnsmasq: started, version 2.68 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth
dnsmasq-dhcp: DHCP, IP range <IP_ADDRESS> -- <IP_ADDRESS>, lease time 1h
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver <IP_ADDRESS>#53
dnsmasq: read /etc/hosts - 7 addresses
dnsmasq-dhcp: no address range available for DHCP request via br0
dnsmasq-dhcp: no address range available for DHCP request via br0
dnsmasq-dhcp: no address range available for DHCP request via br0

And my Docker compose definition:
  um_metasploitable2:
    image: vk496/metasploitable2
    hostname: metasploitable2
    volumes:
        - /var/lib/rancher/vm:/vm
    cap_add:
        - NET_ADMIN
    devices:
        - /dev/kvm:/dev/kvm
        - /dev/net/tun:/dev/net/tun
    networks:
        red1:
            aliases:
                - metasploitable2.bar.foo
            ipv4_address: <IP_ADDRESS>

Reading in the internet, says that the problem is the IP address of the interface where is serverd. My subnet in Docker Compose is <IP_ADDRESS>/24 but the br0 interface has the following:
root@metasploitable2:/# ifconfig
br0       Link encap:Ethernet  HWaddr 06:fe:0d:c6:91:de
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:99 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27637 (27.6 KB)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 06:fe:0d:c6:91:de
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24071 (24.0 KB)  TX bytes:9666 (9.6 KB)

lo        Link encap:Local Loopback
          inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2322 (2.3 KB)  TX bytes:2322 (2.3 KB)

tap0      Link encap:Ethernet  HWaddr fe:02:28:a2:f6:ce
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8676 (8.6 KB)  TX bytes:20321 (20.3 KB)

If I change the IP address of br0 to one that is in the range, it works and the VM get a IP over DHCP. I read that the option bridge-interface of dnsmasq ignore the IP address of the interface X in favour of other interface, but didn't found anything to ignore completly this behavior.
How it's possible that no previous issues about this?
Salu2

I solved it with a quick workaround. I assign a second IP to the same interface. With this fix, dnsmasq work properly.
Is possible to try it here: https://github.com/vk496/vm
Or the Docker image vk496/vm-base:0.0.4

@vk496 If you've successfully resolved this issue, it might be a good idea to close it.
Also, I'm new to this repo, and out of curiosity, do you know if this project is dead? It doesn't look like any development has occurred in years...


No-JS/No-Footer pages a11y bug

A test has just started failing in pa11y on this page:

A few things:

This link should only be usable when Javascript is disabled + on mobile;
Without a footer on a page, the user has no access to a menu. They would have to click the logo and then try the hamburger menu again.
Item Viewer pages are currently blank with JS disabled; there should be a no-js version available and we don't know why it's not showing.

We discussed a few solutions for the footer issue

Always show it when JS is not enabled
Refactor it to work without JS (using details?)

As for the Item Viewer, an investigation would be good to figure out why it's just blank at the moment.

Fixed in #9688


Problems with networkx when using LabelFunction

I am following the Basics.ipynb tutorial and I am getting an error when running label_model.train_model(Ls[0], Y_dev=Ys[1], n_epochs=500, log_train_every=50)
I get
TypeError: descriptor '_atlas' for 'AtlasView' objects doesn't apply to 'AdjacencyView' object
I tried different networkx versions from 2.1 to 2.4 and it continues to give the same error. Any ideas?

Actually the error occurs when I do the downgrade and installation of networkx==2.3 in the jupyter notebook just prior to running the code above. If I restart the notebook seems to work okay. It's a bit weird as to why it wouldn't run when installing networkx==2.3 directly from the notebook.


Support the declarative inclusion of paper-chip elements within paper-chip-inputs

We should allow the user to input paper-chip elements.
We should distribute paper-chip elements within the internal dom-repeat element and sync the values property.
Furthermore I think we should restrict distribution to only paper-chip elements ..

Hey @fabbricadigitale/webcomponents please see commit f3de91e1d89c6be6f22a912e3591d513004976b0.
Can we discuss whether to close this issue or not ?
Sure there are other ideas to continue the implementation.

@leodido this implementation seems to work in static mode.
If I add chip to the dom in runtime this doesn't work. Is it the expected behavior?

I think we need a test to define the expected behavior.


refactor(login): replace list in footer with styles

Close #1147

Deploy preview for pf-next ready!
Built with commit fcf47a974fd8728170dbf989022fe2e799262e8d
https://deploy-preview-1148--pf-next.netlify.com


Where do you get the numberof obstacles you need to optimize?

In get_params_part_n functions, the number of obstacles are hard-coded there. How does the program know the dimention for x?

The number of obstacles is hardcoded in each get_params function. The dimension of x is implictly defined by the number of elements in the bounds list for that part (the get_bounds_part_n functions). Some optimizers use the dimension of the provided bounds (e.g. differential evolution) and others need an initial guess (e.g. slsqp), which is created by randomly sampling a vector inside the bounds.
The width and height of each obstacle is also hard coded inside the get_params functions. Those are the two values after the width, height, and angle of an obstacle. E.g. For part 5, the configurable obstacles have a width of 4.0 and a height of 0.8. In principle, you can use values from x to define the widths and heights and optimize over them, but we have not done that.

The optimizer doesn't know the width and height. It doesn't know anything about blocks or a ball either. It only knows about the numbers it can set and the final cost. The width and height are used in the simulation to compute the ball trajectory, which is then used to compute the final cost.

Get it. In the HW2 description, it is said in part 4,

The ball is dropped at (431, 181) in pixel coordinates. The obstacles are really 0.25m long and 0.037m high, so you also need to convert the pixel values to meters

I wonder where is the ball initial location configured, and is the pixel->meter thing implemented?

The pixel to meter transformation is really only used in part 5 and is accomplished by scaling the provided pixel trajectory to the units of the simulated ball trajectory (see https://github.com/leonidk/Box2D/blob/master/optimize.py#L91). The aspect ratio of the obstacles is roughly matched using the hardcoded width and heights.
The initial ball position and velocity are not super relevant but can be set in Testbed/Tests/BulletTest.h (https://github.com/leonidk/Box2D/blob/master/Testbed/Tests/BulletTest.h#L126).

Now that I look hard into your implementation I feel like I can write my own optimizer now...
Here's two new questions:

Will changing dimensions of the parameters, i.e. gravity, width/height of the blocks affect numerical stability? Should I scale it as you do with the rotation?
I see you're calling testbed with visualization=off to get cost. How is the BulletTest thing called within testbed? I would like the initial position of the ball a passed in parameter but not a hard-coded one. It seems it is using Settings struct in Test.h, which seems hard to modify. Do you have any idea how to make that possible?

I'm not sure what you mean. Depending on the solver, this may or may not affect solution quality. CMA-ES specifically takes an initial sigma and if your parameters are non-uniformly scaled, it may be bad.
this is to improve simulation time. It's 10 to 100x faster for these types of simulations to simply do it via a library instead of calling an executable.


Migrating to a DesModder Organization

I see a few advantages to migrating to a Github Organization:

better organization of the plugin repositories so they can be more easily found
ability to make a http://desmodder.github.io/ if that would ever be helpful
organization-wide Project boards

I already made https://github.com/DesModder just to reserve the name :)
My question is: are there any downsides to migrating the repositories to a GH Organization?

Only downside would be that you would have to transfer the repos in but that is a one-time job.


Incompletely specified MusicXML files fail to read

The construction of MidiInstrumets and Notes fails for some files I exported through music21 in Python, because some elements are not specified. Even though defaults are provided in types.jl, the XML parser complains with errors like:
MethodError: Cannot `convert` an object of type Nothing to an object of type UInt64
Closest candidates are:
  convert(::Type{T}, !Matched::EzXML.NodeType) where T<:Integer at C:\Users\vilim\.julia\packages\EzXML\ZNwhK\src\node.jl:37
  convert(::Type{T}, !Matched::EzXML.ReaderType) where T<:Integer at C:\Users\vilim\.julia\packages\EzXML\ZNwhK\src\streamreader.jl:55
  convert(::Type{T}, !Matched::Unitful.Quantity) where T<:Real at C:\Users\vilim\.julia\packages\Unitful\ytsW0\src\conversion.jl:141
  ...

Stacktrace:
 [1] MusicXML.Note(::MusicXML.Pitch, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::String, ::Nothing, ::Nothing, ::EzXML.Node) at C:\Users\vilim\.julia\dev\MusicXML\src\types.jl:526
 [2] MusicXML.Note(::EzXML.Node) at C:\Users\vilim\.julia\packages\AcuteML\csjnr\src\@aml\@aml_create\get_struct_xml_.jl:53
...

the offending part of the XML file is for example:
<note>
  <grace/>
  <pitch>
    <step>G</step>
    <octave>4</octave>
  </pitch>
  <voice>1</voice>
  <type>16th</type>
  <stem>up</stem>
  <beam number="1">end</beam>
  <beam number="2">end</beam>
</note>

This is because the duration field is missing. Are grace notes always without duration? I did not know this and have made duration field mandatory. I will fix it in the next release.

The fixes are available now.

Thank you! I switched to MIDI for this project, but will have a look again when I try other pieces of music.


Fix .gitattributes about tests folder

Hi @MattKetmo,
The gitattributes file was excluding test folder, but this folder is called tests.

thx

Would it be possible to make a new release @MattKetmo ? Thanks
https://github.com/MattKetmo/EmailChecker/compare/2.1.2...master

@VincentLanglet  done


Intermittent failure on enable docker task

I've had several instances where running the setup playbook errors the first time running, and then running it immediately again it completes fine, or at least makes more progress.  The step that most often causes the problem on the first run is at this point:
TASK: [docker | enable docker] ************************************************
failed: [test-control-03] => {"failed": true}
msg: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

failed: [test-worker-001] => {"failed": true}
msg: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

failed: [test-control-02] => {"failed": true}
msg: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

failed: [test-edge-01] => {"failed": true}
msg: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

failed: [test-edge-02] => {"failed": true}
msg: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

failed: [test-control-01] => {"failed": true}
msg: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
docker | enable docker ------------------------------------------------- 86.38s
docker | install docker packages --------------------------------------- 46.92s
common | install system utilities -------------------------------------- 21.94s
common | update setuptools and pip ------------------------------------- 19.65s
common | install distributive ------------------------------------------ 15.45s
consul-template | install consul-template ------------------------------- 9.30s
collectd | install collectd packages ------------------------------------ 7.43s
docker | install latest device-mapper-libs ------------------------------ 4.33s
common | enable EPEL repo ----------------------------------------------- 3.77s
common | install pip ---------------------------------------------------- 3.76s

After it errors out, if I check the nodes docker is enabled and running.  Then if I re-run the playbook to install mantl it progresses and moves along, most often to completion on the second run.
Related, I've noticed an impact on how well the setup runs based on the virtual resources the nodes have.  In my case, a 1 CPU, 4 GB RAM setup often errors out multiple times, and in some cases won't work at all.  I'm currently testing with 4CPU/8GB boxes and having no trouble.

@hpreston Thanks for opening this. This might be due to the fact that device mapper takes a while to initialize (longer than systemctl is willing to wait). We are hoping that #922 will speed up this process.

I have also seen this error intermittently.

This continues to affect the master branch of Mantl.

Still seeing this on the master branch as well.

I haven't seen this in a while, has anyone else?

haven't seen this in a long while

@Theaxiom : I am starting to see this again on the master branch when I run vagrant up. Wasn't getting this a couple days ago on the master branch.

Must be a race condition then that is triggered again now by changes on master maybe we can do a diff and down what causes it. Does not happen on cloud deploy thou

@KaGeN101 : Hmm, it is something that was added in the past 3 or so days.

Probably because laptop is slow

I reverted back around 20 commits (to a8cdf47)  and vagrant deploys works without error:  git reset --hard a8cdf47 was able to open kubernetes dashboard as well.
I went back to HEAD and it breaks at the same step. So it must be something added in the past 24 hours.

Yeah everything works with this work around except the pods cant be on the calico network meaning your mesos containers and k8 containers wont see each other or any pod deployed on the calico network cant get ou

@Cryptophobia added a 30 second pause to wait for k8 to settle that is the only timing things added. Very next commit after #96c2d00. May go to #54448e5 and see if it breaks again then we know it is this. Everything after 5444 is not stable currently

@KaGeN101 : #54448e5 fails at the same enable docker step. Likely it is the 30 second pause that is causing the issue.
#a8cdf47 works and the k8 dashboard comes up without CrashBackLoop with Vagrant.
However, the latest master deploys on Vagrant but dashboard is in CrashBackLoop.
Should we just tag the code at #a8cdf47 as the vagrant release. :D ?

@Cryptophobia What is the error you are receiving? Please paste it here.

@Cryptophobia Vagrant works perfectly fine for me at Release 1.3

@Cryptophobia could you please get in MM or Gitter so I can assist you? I am pretty sure I know the problem.

@Theaxiom : I am on MM right now. I tried Release 1.3 and it did not work for me. Dashboard crashes with CrashBackLoop at tag 1.3 .
What do you think the issue is? #a8cdf47 works and the k8 dashboard comes up for me on that commit.

@Theaxiom : I get the following error when I get the logs from the Kuberenetes dashboard container on release 1.3.0:
Error while initializing connection to Kubernetes apiserver. This most likely means that the cluster is misconfigured (e.g., it has invalid apiserver certificates or service accounts configuration) or the --apiserver-host param points to a server that does not exist. Reason: Get https://kubernetes.service.consul:6443/version: dial tcp <IP_ADDRESS>:6443: i/o timeout

It is because at #a8cdf47 the workaround was in that puts the container on the k8 host network essentially cutting calico networking out and being on <IP_ADDRESS>/8
There is still an issue if your VM network is not on 10.0.0./8 in calico as is the case with Vagrant
You can add the workaround back placing the containers on the k8 hostNetwork=true if you like and see what that does?

@Cryptophobia did  k8 hostNetwork=true solve the issue?

@thomasvincent yes, deploying with the hostNetwork=true fix on a8cdf47 works for me with the latest on master.


How to disable edit in table?

How to disable edit in table?

这就是区别

在edit的props里面写: "disabled":true


Same install works on defaults, fails on conda-forge

I'm currently have a problem that a previously working standard way of setting up my envs currently fails on the conda-forge site.
Here's a simple complete procedure that works on the defaults channel:
conda create -n test_defaults python=3.7 jupyterlab -c defaults
conda activate test_defaults
jupyter labextension install @jupyterlab/geojson-extension

The same done with conda-forge fails for me currently, on the yarn end it seems:
conda create -n test_forge python=3.7 jupyterlab -c defaults
conda activate test_forge
jupyter labextension install @jupyterlab/geojson-extension

ends with:
jupyterlab-geojson-extension-0.18.1.tgz
Node v11.13.0

> node /Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.9.4
info No lockfile found.
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
warning @jupyterlab/application > @jupyterlab/apputils > react > fbjs ><EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
warning css-loader > cssnano > autoprefixer ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[3/5] 🚚  Fetching packages...
[-------------------------------------------------------------------------------------------] 0/836(node:52671) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[4/5] 🔗  Linking dependencies...
warning "@jupyterlab/vdom-extension ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@jupyterlab/vega4-extension > vega-embed ><EMAIL_ADDRESS>has unmet peer dependency "vega@*".
[5/5] 📃  Building fresh packages...
success Saved lockfile.
   Done in 63.38s.
> node /Users/klay6683/miniconda3/envs/py37/lib/python3.7/site-packages/jupyterlab/staging/yarn.js run build
yarn run v1.9.4
$ webpack
error Command failed with signal "SIGSEGV".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

My conda info:

     active environment : py37
    active env location : /Users/klay6683/miniconda3/envs/py37
            shell level : 4
       user config file : /Users/klay6683/.condarc
 populated config files : /Users/klay6683/.condarc
                          /Users/klay6683/miniconda3/envs/py37/.condarc
          conda version : 4.6.11
    conda-build version : not installed
         python version : 3.7.3.final.0
       base environment : /Users/klay6683/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/osx-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/klay6683/miniconda3/pkgs
                          /Users/klay6683/.conda/pkgs
       envs directories : /Users/klay6683/miniconda3/envs
                          /Users/klay6683/.conda/envs
               platform : osx-64
             user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.3 Darwin/18.2.0 OSX/10.14.3
                UID:GID : 273771:2260
             netrc file : None
           offline mode : False

Let me know if I can run the install with some kind of debugging mode to get more info on the failure?

ok, this just took a turn for the much more bizarre.
It's NOT the conda channel that makes the difference, it's the environment name!
This one works:
conda create -n test_defaults python=3.7 jupyterlab -c defaults
conda activate test_defaults
jupyter labextension install @jupyterlab/geojson-extension

This one fails:
conda create -n py37 python=3.7 jupyterlab -c defaults
conda activate py37
jupyter labextension install @jupyterlab/geojson-extension

Now trying different env names...

These env names work:

py3
ve37
py36 (both using a python3.6 and py3.7 dist in that env name)
py37_1

Only one that fails so far is env name py37, how??

Ok, next variable is the version of the used npm. Using homebrew's node v11.13.0 for all above tests where it fails. Installing the older node v10.13 from the defaults channel, the install works!


Has this been abandoned?

Hi,
Noticed that there haven't been that many commits, has this project been abandoned? Was kinda hoping to use the finished product for a few of my services

Hi @cxnky,
Currently I don't have much time to invest on this side project. However, I'll be happy to help you to contribute if you are interested :)


Support for HAL Hypertext Cache Pattern

Hello,
I'm currently using an old version of angular-hal (0.1.5) in my project, but I plan to upgrade to new version soon.
However, it looks to me that if the old version of angular-hal was well supporting the Hypertext cache patter (see section 8.3 of the HAL specification), that is not the case of the new version as far as I understood new source code (sorry, I didn't yet take the time to write a test for this).
Typically, I have this kind of representation:
{
   "_link": {
      "self": {
         href: "http://my/rest/api"
     },
     "item": {
        "href": "http://my/rest/api/{itemId},
        "templated": true
     }
   },
   "_embedded": {
      "item": [
      {
         "_links": {
            "self": {
               "href": "http://my/rest/api/item-001"
            },
            "itemId": "item-001"
         }
      },
      {
         "_links": {
            "self": {
               "href": "http://my/rest/api/item-002"
            },
            "itemId": "item-002"
      }]
   }
}

If I far as I can understand, if I call resource.$request().$get('item', {itemId: 'item-003'}, {}), I will not obtain the resource representation of item-003, but the list of all embedded items, related by the rel 'item' from the root resource.
Could you please let me know if my assumption is wrong?
Thanks,
-NL

Hi NL,
Yes, currently there is no caching implemented. I'd be happy to merge a PR though.
I think if you run this code right now, you'll get a list of items (the embedded ones). If you can confirm that, I'd open a bug.

Hi again,
I took time to read what § 8.3 exactly is. We do have support for that.
Look here:
https://github.com/LuvDaSun/angular-hal/blob/master/src/resource/hal-resource-client.factory.js#L59-L71
I however think that it'll misbehave if you specify url parameters.

I think we reached to the same conclusion.

Hmm. Would you say that this is the expected behaviour:?

resource.$request().$get('item', {some: 'url parameter'}) - Do HTTP Request
resource.$request().$get('item') - Use Embedded

More precisely:

`resource.$request().$get('item', {some: 'url parameter'}) - Lookup from embedded first, Do HTTP Request if not found
`resource.$request().$get('item') - Use Embedded

However, keep in mind that I used $get as an example, but it could be any http verb. (this make me remember that I also noticed you now iterate over embedded resources to perform request of any kind of http verb, which is maybe not what should be done. Maybe another issue.)

You should look at v0.1.5 in callLink function.

Method: if (method === 'GET') { https://github.com/LuvDaSun/angular-hal/blob/v0.1.5/angular-hal.js#L148
I don't think that ignoring the url params is a good idea though if embedded exists.

I'm not sure to get your point. Why do you say url params are ignored?

If the callLink function exits here, what is done with the params argument of the function?

Humm, I think you raise a good point...
params are used to resolve the actual link href just the line above using function hrefLink. For each embedded resource a corresponding link is created. But you maybe right that then actual templated link definition maybe lost as per 0.1.5 implementation...
I think I need to test this more.
Thanks for your fast answers

@nlenoire: Could you write a test that fails if you come to the conclusion that the library doesn't behave like it should?
I'll close the issue for now since I'm not sure if we have a problem or not.


HDMI not working.

Installed BigSur 11.6.5 along with OpenCore 7.6.
Among the detected malfunctions of the work: HDMI does not work, monitors report a lack of signal, and the PC lags for a couple of seconds when connected, but also does not see any monitors.
Please tell me if there is any solution for this?
Computer model -TP412FA-EC141T

I'm sorry, but I will close this issue as I don't have this device with me anymore for a long time already.


Change motion type for mobs

This change prevents the mobs from sticking to the player when in close proximity. I have changed the Motion Type in the CharacterBody2D inspector to Floating from Grounded. This PR only affects mob.tscn but this will need to be done for every mob.

I think the collisionShape2D need to be bigger, maybe around the image of mob .

It's great that we figured this out! This change was silently merged in #24.


nvm install-latest-npm: unknown issue

Operating system and version:

nvm debug output:

nvm ls output:

How did you install nvm? (e.g. install script in readme, Homebrew):

What steps did you perform?

What happened?

What did you expect to happen?

Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

Please fill out the issue template and do not paste shell output into the issue title.
Here's the shell output, properly formatted:
BHIM-MacBook-Pro:~ bhim$ nvm install-latest-npm
Attempting to upgrade to the latest working version of npm...
* Installing latest `npm`; if this does not work on your node version, please report a bug! /Users/bhim/.nvm/versions/node/v8.0.0/bin/npm -> /Users/bhim/.nvm/versions/node/v8.0.0/lib/node_modules/npm/bin/npm-cli.js
/Users/bhim/.nvm/versions/node/v8.0.0/bin/npx -> /Users/bhim/.nvm/versions/node/v8.0.0/lib/node_modules/npm/bin/npx-cli.js
added 290 packages, removed 250 packages and updated 37 packages in 10.879s
* npm upgraded to: v6.4.1

That output seems to indicate everything worked. What problem are you having?

/bin/ash: nvm: not found
curl -I --compressed -v https://nodejs.org/dist/
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:443...

Failed to set TCP_KEEPIDLE on fd 5
Failed to set TCP_KEEPINTVL on fd 5
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to nodejs.org (<IP_ADDRESS>) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
error setting certificate verify locations, continuing anyway:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4904 bytes data]
TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [520 bytes data]
TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
ALPN, server accepted to use h2
Server certificate:
subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.nodejs.org
start date: Oct 21 00:00:00 2019 GMT
expire date: Jan 18 23:59:59 2022 GMT
issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
Using HTTP2, server supports multi-use
Connection state changed (HTTP/2 confirmed)
Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
Using Stream ID: 1 (easy handle 0x565a39c0)
} [5 bytes data]

HEAD /dist/ HTTP/2
Host: nodejs.org
user-agent: curl/7.69.1
accept: /
accept-encoding: deflate, gzip

{ [5 bytes data]

TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
old SSL session ID is stale, removing
{ [5 bytes data]
Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
} [5 bytes data]
< HTTP/2 200
< date: Fri, 11 Sep 2020 05:55:39 GMT
< content-type: text/html
< set-cookie: __cfduid=d1118aa1283686194e80780bd4158e3641599803739; expires=Sun, 11-Oct-20 05:55:39 GMT; path=/; domain=.nodejs.org; HttpOnly; SameSite=Lax
< cache-control: max-age=14400
< cf-cache-status: HIT
< age: 9047
< cf-request-id: 051d54e4810000ba28409ae200000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< vary: Accept-Encoding
< server: cloudflare
< cf-ray: 5d0f241a6975ba28-ATL
< content-encoding: gzip
<
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
Connection #0 to host nodejs.org left intact

I'm not familiar with "ash" as a shell, what is k? @62f can you file a new issue?


fix: 修复未能正确设置选择消息数 / set incorrect sel msg num

关联的Issues (Related Issues)

close https://github.com/filecoin-project/venus/issues/5277
改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[x] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[x] 具有清晰明确的commit message / All commits have a clear commit message.
[x] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[x] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[x] 通过必要的检查项 / All checks are green

Codecov Report

Merging #259 (15fcb93) into master (c2ecd44) will increase coverage by 0.03%.
The diff coverage is 0.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
+ Coverage   53.94%   53.98%   +0.03%
==========================================
  Files          62       62
  Lines        6575     6576       +1
==========================================
+ Hits         3547     3550       +3
+ Misses       2746     2745       -1
+ Partials      282      281       -1

Flag
Coverage Δ

unittests
53.98% <0.00%> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

cli/address.go
0.00% <ø> (ø)

service/message_service.go
59.24% <0.00%> (-0.08%)
:arrow_down:

service/address_service.go
60.86% <0.00%> (+3.26%)
:arrow_up:


hide da.push return output in jupyter notebook

The only solution would be to extend dict, override _ipython_display_ and return it, but this option is not suitable and rejected


Add support for multiple teams

This PR adds support for querying multiple teams, for example, foo and bar.
This is for the case where a single on call report may require joining incidents owned from multiple teams. For example a query like below is supported:
./incidentist --team=foo --team=foo-bar

This will return all of the datadog incidents owned by foo and foo-bar.
Next Steps
At the moment, this PR simply concatenates the incidents owned by all of the teams. If foo and foo-bar both own incident-1234, it will show up twice in the incident report. To fix this, we need to do a query to the datadog-api like teams:("foo" OR "foo-bar") instead of a single query per team. I didn't do this here because I didn't want to spend more than 30 minutes on this PR, and forming a query with raw strings didn't sound like much fun 🙃

Can we just use something simple on the client side to filter out already-seen incidents in the report?

#11 was merged which resolves this issue, @just-chillin you can close this PR at your convenience 🙇


feat: add more metrics

Description
Adds more metrics, specifically ACTIVE_SUBGRAPHS, DIVERGING_SUBGRAPHS, AGGREGATE_ATTESTING_STAKE_NPOI and AGGREGATE_ATTESTING_STAKE_INDEXER_GROUP.
Issue link (if applicable)
https://github.com/graphops/poi-radio/issues/61
Screenshots

Checklist

[x] Have you tested your changes?
[ ] Does this PR include changes that require our documentation to be udpated, if so, have you created a PR on the docs repo to make the neccessary changes?
I will add the relevant docs changes if/when this PR gets approved (but before it's merged)

Next steps

Alter existing metrics and/or add new ones
Define more clearly what users want to see in their Grafana dashboard
Create a Grafana Dashboard and save it as JSON in the repo so that it can be easily set up by users

Updated tracked metrics, dashboard, logs, and small logical fixes

changed merged by the ^ PR


Add first use screen

Should be used to configure what needs to be configured. E.g. at least:

main user account
smtp stuff
domain
storage options

To get a basic idea a look at the gogs first run screen might be of interest:

In our current deploy setup, a lot of those happen in docker container environment settings. So it'll be more likely less complete. Currently I'm thinking:

main admin username/password
minimal instance settings

allow non-admins to create networks
allow sign-up


Make PyDateTime::new take a &PyTzInfo

Change the argument of PyDateTime::new to take a Option<&PyTzInfo> instead of a Option<&PyObject> as per discussion in https://github.com/PyO3/pyo3/pull/377#issuecomment-468279772.

@konstin One thing we may want to take into account would be the possible performance implications of this, I think. I'm not sure if extract is a zero-cost abstraction. I think right now &PyObject is used because it can be used with PyTzInfo objects created entirely in Rust and with tzinfo objects passed through Python, and it's safe-ish in the sense that, while not enforced at compile-time, it will not panic if something other than tzinfo is passed, it will raise a Python exception.
Unfortunately with all the procedural macros (and the fact that the overhead has not been optimized too much), it's hard for me to tell how much overhead we have on the existing functions anyway, and how much this will change it.

Oh, that's a good point. The conversion is not zero cost, because we need to make one call to cpython's type check method. But I don't think we should care about the performance impact as we don't have benchmarks nor too many optimizations.

Thinking about this more, the requirement that something be a PyTzInfo is unnecessary and doesn't match the spirit of the C/Python API. I think a better approach might be to switch this over to:
    pub fn new<TZ: IntoPyTzInfo, 'p> (
        py: Python<'p>,
        year: i32,
        ...
        tzinfo: Option<TZ>,
    ) -> PyResult<&'p PyDateTime>
{

The C API enforces that whatever's there is a tzinfo object, but not for any structural reason - tzinfo is an abstract base class that defines an interface. In rust TzInfo is best expressed as a trait.

I just realized the downside of the above is that it will require an explicit reference to PyTzInfo or something whenever you pass None, so:
PyDateTime::new(2019, 1, 1, 0, 0, 0, 0, None)

will have to become:
PyDateTime::new::<PyTzInfo>(2019, 1, 1, 0, 0, 0, None)

which I don't love. Maybe the best option is to switch it over to PyAny and let CPython enforce the relevant conditions on the input.

Using a trait sounds great! We might be able to solve the  PyDateTime::new::<PyTzInfo> with a default for the generic .

@konstin I wasn't aware of defaulted generic parameters, thanks for the pointer. Apparently, they are not valid for function definitions, though (the compiler points to this issue), which means we can't use them for the constructors.
I'm still kinda in favor of using PyAny or something more generic here. There's a runtime cost associated with using ::extract, and I'm not sure how much enforcing the type of the object passed buys us, considering the recommended way to take a Python object and pass it is to use ::extract, which has no way, to tell, at compile time, that the object can be interpreted as a tzinfo.

Closing; in #1588 I changed PyDateTime::new to take Option<&PyTzInfo>.


Assess KAVA integration

https://docs.kava.io/docs/intro/

Testnet:

Network Name: Kava EVM Alphanet
New RPC URL: https://evm.evm-alpha.kava.io/
Chain ID: 2221
Currency Symbol: tKAVA
Explorer URL: https://explorer.evm-alpha.kava.io/

Kave Testnet faucet website found at https://faucet.kava.io/.

On Kava Testnet:

use address # 0 for poller: 0x8d86Bc475bEDCB08179c5e6a4d494EbD3b44Ea8B
use address # 2 for bridge: 0x8c49CAfC4542D9EA9107D4E48412ACEd2A68aA77

Created pull request on docs for adding Kava Testnet addresses.


spring-cloud-contract - consumer with Feign Clients

Using Spring Cloud with Netflix OSS.
Config-service and eureka is up. Now I installed my producer locally at port 8090. Consumer using Feign clients to call producer to get some data. Now I am getting 500 error. It is showing that URL not found. The closest match is /ping.  I believe Feign client is unable to mock, it is somehow trying to connect with eureka not from the locally installed producer. Can you help me on it.

/ping and /health are two endpoints that we mock by default. In your case it seems that the stubs were properly set up and you've managed to shoot a request at the stubbed WireMock endpoint. Most likely your request is wrong. You're missing headers / body or sth. Can you show your stub and how you're sending your request?

Ping @blackOcean ?

Cloding due to inactivity