Bug with Docker Image

My travis-ci builds on linux using the conan docker images stopped working with no change to code. Seems it started looking for this image 'lasote/conangcc-x86:latest' with the release of 0.14.0, even though I'm specifying lasote/conangcc as the CONAN_DOCKER_IMAGE.
Error I'm getting is here:
Using default tag: latest
Error response from daemon: pull access denied for lasote/conangcc5-x86, repository does not exist or may require 'docker login'
Unable to find image 'lasote/conangcc5-x86:latest' locally
docker: Error response from daemon: pull access denied for lasote/conangcc5-x86, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Error response from daemon: No such container: conan_runner
Error response from daemon: No such container: conan_runner
Unable to find image 'lasote/conangcc5-x86:latest' locally
docker: Error response from daemon: pull access denied for lasote/conangcc5-x86, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Traceback (most recent call last):
  File "build.py", line 32, in <module>
    builder.run()
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/conan/packager.py", line 417, in run
    self.run_builds(profile_name=profile_name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/conan/packager.py", line 468, in run_builds
    docker_entry_script=self.docker_entry_script)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/conan/create_runner.py", line 192, in run
    raise Exception("Error building: %s" % command)
Exception: Error building: sudo docker run --rm -v /home/travis/build/Aquaveo/xmscore:/home/conan/project -v /home/travis/.conan:/home/conan/.conan -e CONAN_RUNNER_ENCODED='{"args": "", "username": "[secure]", "channel": "stable", "profile": "\ninclude(default)\n\n[settings]\narch=x86\nbuild_type=Release\ncompiler=gcc\ncompiler.libcxx=libstdc++11\ncompiler.version=5\n[options]\n\n[env]\nXMSCORE_VERSION=1.0.7\nXMSCORE_RUN_TESTS=None\n[build_requires]\n\n", "conan_pip_package": "conan==1.2.0", "reference": "xmscore/1.0.7@[secure]/stable"}' -e CONAN_USERNAME=[secure] -e CONAN_CHANNEL=stable -e CONAN_REMOTES="https://conan.[secure].com:443" -e CONAN_GCC_VERSIONS="5" -e CONAN_PASSWORD_SECRET="[secure]" -e CONAN_REFERENCE="xmscore/1.0.7" -e CONAN_DOCKER_IMAGE="lasote/conangcc5" -e CONAN_UPLOAD="https://conan.[secure].com:443" -e CONAN_LOGIN_USERNAME="[secure]" -e CONAN_USER_SECRET="[secure]" -e CONAN_PASSWORD="[secure]" lasote/conangcc5-x86 /bin/sh -c "rm -f /home/conan/.conan/conan.conf && cd project && rm -f /home/conan/.conan/profiles/default && (conan profile new default --detect || true) && run_create_in_docker"

Travis file here:
env:
   global:
     # TRAVIS_BRANCH is tag name if tag provided else branch name
     - XMSCORE_VERSION: $TRAVIS_BRANCH
     - CONAN_REFERENCE: "xmscore/${XMSCORE_VERSION}"
     - CONAN_USERNAME: "aquaveo"
     - CONAN_CHANNEL: "stable"
     - CONAN_LOGIN_USERNAME: $CONAN_USER_SECRET
     - CONAN_PASSWORD: $CONAN_PASSWORD_SECRET
     - CONAN_REMOTES: $AQUAVEO_CONAN
     - GH_REPO_NAME: xmscore
     - DOXYFILE: $TRAVIS_BUILD_DIR/Doxygen/Doxyfile
     - GH_REPO_REF: github.com/Aquaveo/xmscore.git

linux: &linux
   os: linux
   sudo: required
   language: python
   python: "3.6"
   services:
     - docker
osx: &osx
   os: osx
   language: generic

stages:
    - name: test
      if: NOT tag IS present
    - name: deploy
      if: tag =~ ^\d+\.\d+\.\d+$

# Global Lifecycle Steps
# See: https://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle

# Install Step
install:
  - chmod +x .travis/install.sh
  - ./.travis/install.sh

# Build Step
script:
  - chmod +x .travis/run.sh
  - ./.travis/run.sh

# After Success
after_success:
  - python test.py

# Jobs/Build Matrix
# Note: Lifecycle Steps specified in stages will override Global Lifecycle Steps
jobs:
   include:
      # --- TEST STAGE ------------------------------------------------------------------------------------------------
      - stage: test
        addons:
          apt:
            packages:
              - doxygen
              - doxygen-doc
              - doxygen-latex
              - doxygen-gui
              - graphviz
        <<: *linux
        env: TASK_NAME="DOXYGEN Generation"
        script:
          - cd $TRAVIS_BUILD_DIR
          - chmod +x generateDocumentationAndDeploy.sh
          - ./generateDocumentationAndDeploy.sh

      - stage: test
        <<: *linux
        env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=lasote/conangcc5 XMSCORE_RUN_TESTS=1

      - stage: test
        <<: *linux
        env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=lasote/conangcc6 XMSCORE_RUN_TESTS=1

      - stage: test
        <<: *linux
        env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=lasote/conangcc7 XMSCORE_RUN_TESTS=1

      - stage: test
        <<: *osx
        osx_image: xcode9.2
        env: CONAN_APPLE_CLANG_VERSIONS=9.0 XMSCORE_RUN_TESTS=1

      # --- DEPLOY STAGE ----------------------------------------------------------------------------------------------
      - stage: deploy
        <<: *linux
        env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=lasote/conangcc5 CONAN_UPLOAD=$AQUAVEO_CONAN
        after_success: true

      - stage: deploy
        <<: *linux
        env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=lasote/conangcc6 CONAN_UPLOAD=$AQUAVEO_CONAN
        after_success: true

      - stage: deploy
        <<: *linux
        env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=lasote/conangcc7 CONAN_UPLOAD=$AQUAVEO_CONAN
        after_success: true

      - stage: deploy
        <<: *osx
        osx_image: xcode9.2
        env: CONAN_APPLE_CLANG_VERSIONS=9.0 CONAN_UPLOAD=$AQUAVEO_CONAN
        after_success: true

Repo: https://github.com/Aquaveo/xmscore
Travis: https://travis-ci.org/Aquaveo/xmscore

Same here: https://travis-ci.org/uilianries/conan-pugixml/jobs/359602474#L758

Thanks both for reporting. I will fix it asap. I think probably is better to rename the images. Will report asap.

I pushed a 0.14.1 fixing this, please confirm and close if it's working.

All green! Good to go!  :tada:
https://travis-ci.org/uilianries/conan-pugixml/builds/359794086
Thanks!

Many thanks again for your help friends.


distribute work with placement

Ref: https://github.com/open-cluster-management-io/OCM/issues/33
Signed-off-by: haoqing0110<EMAIL_ADDRESS>

/assign @qiujian16

/approve
/lgtm


Use CI to automatically build an up-to-date paper.

Using a Continuous Integration server could add interesting features for this paper:

maintainabilty: no maintenance is required to publish the paper, just focus about writing it ;) ;
consistency: the PDF file will be allways up to date with its source;
transparency: the user will have the possibility to build the PDF by himself: in this way it will be a proof that the PDF is the actual paper written collectively and not a maliciously-modified version;
accessibility: we can easily provide the paper in e-pub format, making it easier to read (with Pandoc);
style: a nice pretty-printed version could be available online (for instance in gh-pages), including pdf and e-pub downloadable versions (with Jekyll or mkdocs);
more accessibility: the user will be able to download the PDF or e-pub in any available translations.

We can for example use Travis, which is free for open-source projects, and build the paper each time someone push/merge on master.
I have a little experience in continuous integration and document generation (including LaTeX), and if you are agree with this issue, I can show you a proof of concept this week-end.

Note that the bibliography is not available in the mediawiki file, it's only in the PDF.

Note that the bibliography is not available in the mediawiki file, it's only in the PDF.

Indeed! Few resources (such as the cover, LaTeX sources and bib) must be shared to do this.

The PDF is usually committed by @santisiri ; @santisiri can you commit the sources for PDF generation as well ?

i think this is a great idea.
the PDF was done manually for aesthetic reasons, but a mediawiki to LaTeX importer could be easily implemented. there's a bunch of projects for that on github, some of them run on python. I haven't found time to implement them, but if someone wants to make that happen, it would be great!
also, happy to accept any pull request regarding CI, i think it's a great idea.

@santisiri How strongly do you feel about mediawiki ? We find its syntax cumbersome and not literature-friendly (nor human-friendly for that matter). A markdown to LaTeX should be easy enough to implement too. It might require some tweaking to handle the "paper" format (cover, bib, quotes, alignments), but nothing too complicated. Might even make a useful lib for others.
@roipoussiere Would love to see a PoC of this as well !

@domi41 what pushed me to mediawiki was that

it rendered properly on github
automatically generates index
it's used by @bitcoin core's BIP process
it's wiki friendly

that said, i'm all in favor for including a latex version in this repo (and even a markup .md one).


Using yanked version of nix

The current version of nix used is yanked, this will fail cargo audit see https://buildkite.com/firecracker/firecracker-pr/builds/5724#018a40b3-6075-4a4f-b2b7-ecdb8726f631
The solution is for the version of nix to be updated.
This problem will occur again, this can be mitigated in the future by enabling Dependabot.

Thanks for the report, I'll make a patch and a new release.
We have dependabot enabled for alerts and security updates, but not for version updates - these are the default settings. I'd expect that a yanked package would be a security update? Did dependabot pick this up this yanked dependency in other repos?

Thanks for the report, I'll make a patch and a new release.
We have dependabot enabled for alerts and security updates, but not for version updates - these are the default settings. I'd expect that a yanked package would be a security update? Did dependabot pick this up this yanked dependency in other repos?

I am not aware of dependabot picking up the new release in other repo's where it is not enabled for version updates. I think for security updates it only cares about CVEs, in the case of nix I believe the yank is due to an error in the documentation and not a security bug.

Dependabot can be configured to group updates so as to avoid some of the noise.


change Message.UnwrittenLength Access Modifier from internal to public

UnwrittenLength is a useful helper function to access publicly.
I use it in my own project to help me decide when I need to break up data across multiple messages.
This PR only marks that property as public.

Thanks for making a PR—I unfortunately only saw it just now and I coincidentally actually made this change last night (a29247052505cdb2f5e0c8994cb4006d6da857d4).
Also for future reference, please make sure your pull requests follow the contribution guidelines, particularly the part about commit message formatting 🙂


Issue using NullPool poolclass in MySQL

I am using version 2.4.1. I am trying to set my poolclass to NullPool by passing that option into my engine options like so:
from sqlalchemy.pool import NullPool
SQLALCHEMY_ENGINE_OPTIONS = {"poolclass":NullPool}

That is working as expected and the poolclass is being set. However I am getting the following error when running:
TypeError: Invalid argument(s) 'pool_size' sent to create_engine(), using configuration AuroraMySQLDataAPIDialect/NullPool/Engine.  Please check that the keyword arguments are appropriate for this combination of components.

The pool_size needs to NOT be set in order to use NullPool. This seems to be happening because the pool_size is being set to 10. I did some digging and found it was being set in apply_driver_hacks:
        if sa_url.drivername.startswith('mysql'):
            sa_url.query.setdefault('charset', 'utf8')
            if sa_url.drivername != 'mysql+gaerdbms':
                options.setdefault('pool_size', 10)
                options.setdefault('pool_recycle', 7200)

If I comment out those last 3 lines and run my code, the pool size doesn't get set and everything works as expected.
But I would like to figure out a way to prevent the pool size from being set to 10 without having to fork the repo and make this change to do so. Is there any way to do this? I have tried passing in pool_size:0 and pool_size:None into my engine options but it is still getting set to 10 regardless.
FWIW I am using a custom dialect (https://github.com/chanzuckerberg/sqlalchemy-aurora-data-api), but the driver name starts with "mysql" so it's being caught by this logic regardless.

I agree - this looks like a bug. I've proposed a fix in the linked PR #805
In the short term (and providing the Aurora data API supports pooling), could you use a static pool instead:
https://docs.sqlalchemy.org/en/13/core/pooling.html?highlight=staticpool#sqlalchemy.pool.StaticPool

Hi, any updates regarding this? Like previous posters, I currently need to use the patch suggested by @olinger since there doesn't seem to be any better workaround available.

Hi, any updates regarding this? Like previous posters, I currently need to use the patch suggested by @olinger since there doesn't seem to be any better workaround available.

I've closed that PR - it got a bit messed up between a rebase, and some back and forth.
Let me see if I can revisit this in the next week or so.

Thanks @CoburnJoe - much appreciated!

Just ran into this issue as well and the fix in @CoburnJoe 's fork would work for my use-case as well.

Thank you for confirming this change @traviscook21 @JoohnSF @bfaivre
I'll need some time to write the unit tests (looks like there are not any for the apply_driver_hacks function), but I'll get that done as soon as possible - I'd estimate 1-2 weeks (sorry for the delay!).

Fixed CoburnJoe fix for V3 Flask-SQLAlchemy.
Applied fix for NullPool and StaticPool that has same error
https://github.com/SixK/flask-sqlalchemy

Hi @CoburnJoe - any update on when we might see this merged and released?

@bfaivre so sorry for the delay - I'm really struggling with time at the moment. Perhaps @davidism can chip with regards to the unit tests - given we don't have tests for this part of the code to begin with...

Thanks @CoburnJoe - totally understand and appreciate everyone's efforts.
Cheers, Brian

Is there an open PR for this? If it's hard to write tests for, just note that down in the PR and be sure to write a good changelog so we know where to look later.

Thanks @davidism. Hi @CoburnJoe - just bumping this issue.
Cheers,
Brian

Thanks @davidism. Hi @CoburnJoe - just bumping this issue.
Cheers,
Brian

Sorry folks - I've been well and truly rubbish on this one. I have a pretty intense job writing Python, so still haven't caught up on this 👎
Would anyone else be willing to pick up change?

Hi! Guys, still no updates here?


Translation

both i18n are done, also had fix some typos

@nwinter

Woohoo, 100% on the GitHub strings, awesome!

thx


MudDataGrid with Multiselect & Readonly

Bug type
Component
Component name
MudDataGrid
What happened?
When you configure a MudDataGrid with MultiSelection="true" and ReadOnly="false" a selection is not possible in the Grid.
Expected behavior
Possible Multiselection of rows.
Reproduction link
https://try.mudblazor.com/snippet/cEmwkScrQZShxJEY
Reproduction steps

Create MudDataGrid
Add Data to Grid
Set MultiSelection="true" and ReadOnly="false"

Relevant log output
No response
Version (bug)
6.0.10-dev.3
Version (working)
n/a
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

To workaround the issue on my side, I replaced the  tag with the underlying code, and added a property to the TemplateCOlumn of IsEditable="false".

FWIW, I think the problem is that the SelectColumn uses , but maybe should be using  instead, or both?


Develop 158 compilers

Adds build scripts for building TUV-x on CASPER with GNU and Intel compilers with and without MPI support, and on modeling2 with GNU without MPI support. Also removes nc4fortran dependencies and addresses NAG compiler errors and warnings

Codecov Report
Base: 79.13% // Head: 76.72% // Decreases project coverage by -2.40% :warning:

Coverage data is based on head (88c44d5) compared to base (2f77df3).
Patch coverage: 96.19% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
- Coverage   79.13%   76.72%   -2.41%
==========================================
  Files         101      101
  Lines        5750     6248     +498
==========================================
+ Hits         4550     4794     +244
- Misses       1200     1454     +254

Impacted Files
Coverage Δ

src/cross_section_factory.F90
42.10% <ø> (ø)

src/cross_sections/bro-br_o.F90
78.00% <ø> (-14.69%)
:arrow_down:

src/grids/equal_delta.F90
86.66% <ø> (-9.63%)
:arrow_down:

src/la_sr_bands.F90
88.51% <ø> (-1.61%)
:arrow_down:

src/profile.F90
81.81% <ø> (ø)

src/profiles/earth_sun_distance.F90
95.00% <ø> (-5.00%)
:arrow_down:

src/profiles/extraterrestrial_flux.F90
87.68% <ø> (-5.77%)
:arrow_down:

src/profiles/profile_utils.F90
92.47% <ø> (ø)

src/profiles/solar_zenith_angle.F90
93.33% <ø> (-6.67%)
:arrow_down:

src/quantum_yield.F90
71.69% <ø> (-3.05%)
:arrow_down:

... and 148 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


more doc for Per-request logging

Codecov Report

Merging #3896 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3896      +/-   ##
==========================================
+ Coverage   40.71%   40.71%   +<.01%
==========================================
  Files        2200     2200
  Lines       71460    71460
  Branches     9841     9841
==========================================
+ Hits        29094    29096       +2
+ Misses      39608    39606       -2
  Partials     2758     2758

Impacted Files
Coverage Δ

...tor/metric/datasource/DefaultDataSourceMetric.java
75.75% <0%> (-3.04%)
:arrow_down:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-2.99%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
61.7% <0%> (-2.13%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (-1.93%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
71.06% <0%> (-0.33%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
72.41% <0%> (+1.72%)
:arrow_up:

.../com/navercorp/pinpoint/profiler/context/Span.java
50% <0%> (+1.72%)
:arrow_up:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
65.71% <0%> (+8.57%)
:arrow_up:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
75% <0%> (+18.75%)
:arrow_up:

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 32b79d5...c1c5bcf. Read the comment docs.

 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.


Inline comment problem with html-formatted code

I have a problem with inline comments inside a "html-formatted" code.
What i mean is, when i format the code (inside the code tag) using   and
, the inline comments don't recognise the end of the lines.
Not sure if it's a bug, or is it not supported?
I made a jsfiddle: http://jsfiddle.net/ec7koywq/
Thanks!

It's not a bug but a configurable behavior, you can use hljs.configure({useBR: true}); to make it understand
 as proper line breaks. This means, though, that you can't have it both ways on the same page.
Just out of curiosity, why would you want to use
 and   inside a
?

@jansiegel, fill free to reopen it to continue discussion.


Production Build Vendor Files Missing

I've added d3.js to my project and mapped it according to the documentation.  Everything works fine with the dev builds, but when I try to build for production 'ng build -prod' , the d3 files are not copied to the /dist folder.  Here's my system-config.ts and angular-cli-build.js.
/***********************************************************************************************
 * User Configuration.
 **********************************************************************************************/
/** Map relative paths to URLs. */
const map: any = {
  'd3': 'vendor/d3/d3.js'
};

/** User packages configuration. */
const packages: any = {
};

var Angular2App = require('angular-cli/lib/broccoli/angular2-app');

module.exports = function(defaults) {
  return new Angular2App(defaults, {
    vendorNpmFiles: [
      'systemjs/dist/system-polyfills.js',
      'systemjs/dist/system.src.js',
      'zone.js/dist/*.js',
      'es6-shim/es6-shim.js',
      'reflect-metadata/*.js',
      'rxjs/**/*.js',
<EMAIL_ADDRESS>      'd3/d3.js'
    ]
  });
};

My app is unable to run in production mode because of this.  Any idea?

When I follow the steps for adding @angular2-material, the components are correctly available in the production build.

@mb-jenks
Are you using the D3 package from npm?

Yes i'm using npm to install D3

Supposing you did...
npm install d3 --save

#Don't forget to add typings as well
typings install d3 --save;

Configure your third party dependency like this

const map: any = {
  'd3': 'vendor/d3'
};

/** User packages configuration. */
const packages: any = {
  'd3': { main: 'd3' }
};

--------------------

var Angular2App = require('angular-cli/lib/broccoli/angular2-app');

module.exports = function(defaults) {
  return new Angular2App(defaults, {
    vendorNpmFiles: [
      ...
      'd3/d3.js'
    ]
  });
};

------------

// Make sure somewhere into your app you import and use the package
import * as d3 from 'd3';
console.log(d3); // Just for demo purpose...

Following this, running the prod build will both copy your lib in ./dist and bundle it in .dist/main.js

Update:  By adding d3 to the packages with the following information, I was able to get it to run.  Thanks for the help!
  'd3': {
    format: 'cjs',
    defaultExtension: 'js',
    main: 'd3.js'
  }

Hello. I have read the docs and this thread and I am running into similar issues.
ng new d3test
cd d3test
npm install d3 --save
typings install d3 --save

I make the modifications instructed above. You can view my diff here. When building, I receive an error indicating src/app/d3test.component.ts (3, 21): Cannot find module 'd3'.
Any help is much appreciated. Thanks.

@ehaydenr
Is the d3 script copied to ./dist when building ?

Yes. dist/vendor/d3/d3.js

Is it possible to share the project?

I can't at the moment. Will do later this evening. It should be fairly easy to reproduce though. The steps I outlined above made only a few modifications to the ng new d3test output. Have you attempted the steps I sent?

Did a fresh install and it worked

Tried it on my other machine and it still fails. Could it be related to the graceful-fs message?
Here's the project: https://github.com/ehaydenr/d3angular2
$ ng --version
(node:13376) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.5
node: 6.2.0
os: linux x64

$ ng build
(node:13269) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Build failed.
The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with:
Error: Typescript found the following errors:
  /home/ehaydenr/Documents/Code/d3test/tmp/broccoli_type_script_compiler-input_base_path-sFfjohaL.tmp/0/src/app/d3test.component.ts (3, 21): Cannot find module 'd3'.
    at BroccoliTypeScriptCompiler._doIncrementalBuild (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/lib/broccoli/broccoli-typescript.js:115:19)
    at BroccoliTypeScriptCompiler.build (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/lib/broccoli/broccoli-typescript.js:43:10)
    at /home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/index.js:152:21
    at lib$rsvp$$internal$$tryCatch (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1048:17)
    at lib$rsvp$$internal$$publish (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1019:11)
    at lib$rsvp$asap$$flush (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1198:9)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

The broccoli plugin was instantiated at:
    at BroccoliTypeScriptCompiler.Plugin (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/node_modules/broccoli-plugin/index.js:10:31)
    at BroccoliTypeScriptCompiler.CachingWriter [as constructor] (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/broccoli-caching-writer/index.js:21:10)
    at BroccoliTypeScriptCompiler (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/lib/broccoli/broccoli-typescript.js:27:5)
    at Angular2App._getTsTree (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/lib/broccoli/angular2-app.js:321:18)
    at Angular2App._buildTree (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/lib/broccoli/angular2-app.js:116:23)
    at new Angular2App (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/lib/broccoli/angular2-app.js:53:23)
    at module.exports (/home/ehaydenr/Documents/Code/d3test/angular-cli-build.js:6:10)
    at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:55:19)
    at Class.module.exports.Task.extend.init (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:89:10)
    at new Class (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/node_modules/core-object/core-object.js:18:12)
    at Class.module.exports.Task.extend.run (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/lib/tasks/build.js:15:19)
    at /home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/lib/commands/build.js:32:24
    at lib$rsvp$$internal$$tryCatch (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
    at /home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
    at lib$rsvp$asap$$flush (/home/ehaydenr/Documents/Code/d3test/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)


Fixed dead link in Readme

What kind of change does this PR introduce?
Changes ReadME

** Can it be referenced to an Issue? If so what is the issue # ?**
How can we test it?

Summary

Does this PR introduce a breaking change?
Other information
Looks like the usernames were changed. This resulted in the link being a dead end

Hi, thanks for this! Can you please make the same PR on master? thanks !


other UI components are not responding when the dropdown alert is on the view

Once the dropdown alert is shown all the other components that are in the view cannot be interacted until the dropdown alert is closed. it looks like the whole screen has been taken by the dropdown alert which is not a good experience for the user .

Yes, this was solved with (Look into zIndex as a possible replacement of modal #7) I recommend to upgrade to 1.10.0 and move the component to the last position in the document tree.

Cool Updated to 1.10.0 and it works like a charm 👍  💯  thanks @devBrian


Add order locking logic

Related to #115, since this is an action done by the order creator as well.

Note: This probably needs a new field, nonce, to the orders, since we cannot be sure of the received action order any other way unless we update the createdAt time, which we wont.


Roll Flutter Engine from 2696fff8716d to 0e38e53040de (2 revisions)

https://github.com/flutter/engine/compare/2696fff8716d...0e38e53040de
2023-02-03<EMAIL_ADDRESS>Roll Skia from 4f0166baf5a4 to a4079ec4c399 (1 revision) (flutter/engine#39351)
2023-02-03<EMAIL_ADDRESS>Roll Dart SDK from 73b03bb636d3 to 283b05994d68 (2 revisions) (flutter/engine#39349)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Sequence/Iterator conformance broken in 5.7

Describe the bug
Code utilizing Sequence and Iterator protocols that worked in previous versions of Swift no longer type-checks in 5.7 snapshots.
Steps To Reproduce
Try to build WasmTransformer with Xcode 14.0 beta 5.
Expected behavior
This code type-checks and builds as it did Swift 5.5/5.6
Screenshots

Environment (please fill out the following information)

OS: macOS 12.5 and Ubuntu 20.04
Xcode Version/Tag/Branch: 14.0 beta 5 (14A5294e), also reproducible on Linux with swiftlang/swift:nightly-5.7-focal image and 6fa8c6b08e85 hash.

Additional context
Here's the code snippet (not self-contained, but I hope it helps to pinpoint the issue) that causes these new errors:
public protocol VectorSectionReader: Sequence where Element == Result<Item, Error> {
    associatedtype Item
    var count: UInt32 { get }
    mutating func read() throws -> Item
}

public struct VectorSectionIterator<Reader: VectorSectionReader>: IteratorProtocol {
    private(set) var reader: Reader
    private(set) var left: UInt32
    init(reader: Reader, count: UInt32) {
        self.reader = reader
        self.left = count
    }
    private var end: Bool = false
    public mutating func next() -> Reader.Element? {
        guard !end else { return nil }
        guard left != 0 else { return nil }
        let result = Result(catching: { try reader.read() })
        left -= 1
        switch result {
        case .success: return result
        case .failure:
            end = true
            return result
        }
    }
}

extension VectorSectionReader {
    __consuming public func makeIterator() -> VectorSectionIterator<Self> {
        VectorSectionIterator(reader: self, count: count)
    }

    public func collect() throws -> [Item] {
        var items: [Item] = []
        items.reserveCapacity(Int(count))
        for result in self {
            try items.append(result.get())
        }
        return items
    }
}

@hborla I have a feeling this can be related to primary associated type changes that landed in 5.7. Would you have a moment to give some guidance on what caused the issue? Thanks!

@MaxDesiatov the type checking of for-in loops was re-worked in Swift 5.7 - the method call / variable synthesis is now done in the constraint system instead of SILGen to allow iterating over existential Sequence types: https://github.com/apple/swift/pull/59261
@xedin I remember there was another ambiguity related to that change. Any ideas here?

I've also tried adding a constraint on Iterator to VectorSectionReader hoping that would resolve it:
public protocol VectorSectionReader: Sequence where Element == Result<Item, Error>, Iterator == VectorSectionIterator<Self> {
}

That makes it complain about circular references between VectorSectionReader and VectorSectionIterator, ultimately leading to a crash with this output:
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:1:17: error: circular reference
public protocol VectorSectionReader: Sequence where Element == Result<Item, Error>, Iterator == VectorSectionIterator<Self> {
                ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:7:15: note: through reference here
public struct VectorSectionIterator<Reader: VectorSectionReader>: IteratorProtocol {
              ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:8:22: note: through reference here
    public typealias Element = Reader.Element
                     ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:8:22: note: through reference here
    public typealias Element = Reader.Element
                     ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:7:15: note: through reference here
public struct VectorSectionIterator<Reader: VectorSectionReader>: IteratorProtocol {
              ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:1:17: note: through reference here
public protocol VectorSectionReader: Sequence where Element == Result<Item, Error>, Iterator == VectorSectionIterator<Self> {
                ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:8:39: error: 'Element' is not a member type of type 'Reader'
    public typealias Element = Reader.Element
                               ~~~~~~ ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:17:43: error: 'Element' is not a member type of type 'Reader'
    public mutating func next() -> Reader.Element? {
                                   ~~~~~~ ^
/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:7:15: error: type 'VectorSectionIterator<Reader>' does not conform to protocol 'IteratorProtocol'
public struct VectorSectionIterator<Reader: VectorSectionReader>: IteratorProtocol {
              ^
Swift.IteratorProtocol:2:20: note: protocol requires nested type 'Element'; do you want to add it?
    associatedtype Element
                   ^
swift-frontend: /home/build-user/swift/lib/AST/RequirementMachine/InterfaceType.cpp:232: swift::AssociatedTypeDecl *swift::rewriting::PropertyBag::getAssociatedType(swift::Identifier): Assertion `assocType != nullptr && "Need to look harder"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /WasmTransformer/Sources/WasmTransformer/BinaryFormat.swift /WasmTransformer/Sources/WasmTransformer/ByteEncodable.swift /WasmTransformer/Sources/WasmTransformer/InputByteStream.swift /WasmTransformer/Sources/WasmTransformer/LEB128.swift /WasmTransformer/Sources/WasmTransformer/OutputWriter.swift /WasmTransformer/Sources/WasmTransformer/Readers/CodeSectionReader.swift /WasmTransformer/Sources/WasmTransformer/Readers/ElementSectionReader.swift /WasmTransformer/Sources/WasmTransformer/Readers/FunctionSectionReader.swift /WasmTransformer/Sources/WasmTransformer/Readers/ImportSectionReader.swift /WasmTransformer/Sources/WasmTransformer/Readers/ModuleReader.swift /WasmTransformer/Sources/WasmTransformer/Readers/TypeSectionReader.swift -primary-file /WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift /WasmTransformer/Sources/WasmTransformer/Sections.swift /WasmTransformer/Sources/WasmTransformer/Trampoline.swift /WasmTransformer/Sources/WasmTransformer/Transformers/CustomSectionStripper.swift /WasmTransformer/Sources/WasmTransformer/Transformers/I64ImportTransformer.swift /WasmTransformer/Sources/WasmTransformer/Transformers/SizeProfiler.swift /WasmTransformer/Sources/WasmTransformer/Transformers/StackOverflowSanitizer+Fixtures.swift /WasmTransformer/Sources/WasmTransformer/Transformers/StackOverflowSanitizer.swift /WasmTransformer/Sources/WasmTransformer/WasmTransformer.swift -emit-dependencies-path /WasmTransformer/.build/aarch64-unknown-linux-gnu/debug/WasmTransformer.build/Readers/VectorSectionReader.d -emit-reference-dependencies-path /WasmTransformer/.build/aarch64-unknown-linux-gnu/debug/WasmTransformer.build/Readers/VectorSectionReader.swiftdeps -target aarch64-unknown-linux-gnu -Xllvm -aarch64-use-tbi -disable-objc-interop -I /WasmTransformer/.build/aarch64-unknown-linux-gnu/debug -color-diagnostics -enable-testing -g -module-cache-path /WasmTransformer/.build/aarch64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -module-name WasmTransformer -parse-as-library -o /WasmTransformer/.build/aarch64-unknown-linux-gnu/debug/WasmTransformer.build/Readers/VectorSectionReader.swift.o -index-store-path /WasmTransformer/.build/aarch64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.7-dev (LLVM d5f117e38620783, Swift 260a80fcce5a2ab)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(WasmTransformer.(file).VectorSectionReader extension.collect()@/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:36:17)
5.	While type-checking statement at [/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:36:44 - line:43:5] RangeText="{
        var items: [Item] = []
        items.reserveCapacity(Int(count))
        for result in self {
            try items.append(result.get())
        }
        return items
    "
6.	While type-checking statement at [/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:39:9 - line:41:9] RangeText="for result in self {
            try items.append(result.get())
        "
7.	While type-checking-for-each statement at [/WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:39:9 - line:41:9] RangeText="for result in self {
            try items.append(result.get())
        "
8.	While type-checking-target starting at /WasmTransformer/Sources/WasmTransformer/Readers/VectorSectionReader.swift:39:9

The issue here is that makeIterator() on Sequence is preferred over the one declared in extension of VectorSectionReader but at the same time next() on VectorSectionIterator is preferred over next() on IteratorProtocol... I don't actually understand why ranking would prefer makeIterator() on Sequence, need to look at the code there but I suspect it's due to this Self generic parameter.

@MaxDesiatov Adding that same-type requirement on the extension fixes it:
extension VectorSectionReader where Iterator == VectorSectionIterator<Self> {
  __consuming public func makeIterator() -> VectorSectionIterator<Self> {
    VectorSectionIterator(reader: self, count: count)
  }

  public func collect() throws -> [Item] {
    var items: [Item] = []
    items.reserveCapacity(Int(count))
    for result in self {
      try items.append(result.get())
    }
    return items
  }
}

Perfect, thank you! I guess I can keep this open as a regression?

@MaxDesiatov Does it make sense for VectorSectionReader to have a default makeIterator() that returns VectorSectionIterator<Self> or should it only happen when the underlying iterator is VectorSectionIterator as per @hborla's suggestion? I'm asking because some call sites could start behaving differently after the change.
@hborla makeIterator declared as a Sequence requirement is considered better because of this very old bug in ranking that considers protocol requirements as if they are declared in a concrete type - https://github.com/apple/swift/blob/main/lib/Sema/CSRanking.cpp#L416-L418. I have attempted fix this behavior multiple times but all the attempts resulted in source breaks. That said, we could re-evaluate for Swift 6...

@MaxDesiatov Does it make sense for VectorSectionReader to have a default makeIterator() that returns VectorSectionIterator<Self> or should it only happen when the underlying iterator is VectorSectionIterator as per @hborla's suggestion? I'm asking because some call sites could start behaving differently after the change.

In this case default makeIterator() is preferred, but we don't have any other iterators declared for conforming types, and we don't expect them to be.
I'm not the original author of the code, but I'll let @kateinoigakukun correct me if I'm wrong: the whole purpose of VectorSectionReader is to provide that extension for a group of types with a predefined iterator and collect() function based on it. I guess it means that it won't behave differently with Holly's solution in our codebase.

@MaxDesiatov as far as I remember, Max understands my intention for the code correctly. So it seems ok with Holly's suggestion in our case.


Hide show Time Input base on a footer click

Hello, hope you are doing well.
i was wondering if there is any way I can show an switch or on click event in the footer to show or hide time picker.
some thing like the below attached file.

I use component container to add the dame


Expose unstable rustdoc options?

I am currently on a new documentation generator (something like docs.rs) for rust but I am having issues with passing unstable options to cargo doc.
The invocation command is the following:
cargo doc -vv --all --no-deps -Z unstable-options --resource-suffix some-suffix

Error:
error: Found argument '--resource-suffix' which wasn't expected, or isn't valid in this context

Before I take a different route which is much more complex (parsing and rewriting the html with the patched hrefs attributes), I would like to know if it's possible to expose that particular flag to cargo.

Additional arguments can be passed with RUSTDOCFLAGS environment variable.
RUSTDOCFLAGS="-Z unstable-options --resource-suffix xxx" cargo +nightly doc --all --no-deps


Any possible way to pass URL with .jpg instead of local file?

Please advise how to pass URL to restapi.py instead of local image?
I need this
$ curl -X POST -F<EMAIL_ADDRESS>'http://localhost:5000/v1/object-detection/yolov5s'
to be like
$ curl -X POST -F<EMAIL_ADDRESS>'http://localhost:5000/v1/object-detection/yolov5s'
What part of restpai.py and how may be modified for achieving this?
Thank you!
P.S. Can docker container access host machine GPU with --gpus all ?

That is not implemented.
To do so the api would need to check what is passed and then download the image if a url is passed


fix(cmd/draft): fix --pack flag

resolves #653 without handling multiple packs scenario. will handle pack collisions (#509) in next commit or PR

@michelleN can you be specific about how the detection algorithm works? So, in https://github.com/squillace/draft-packs I have an F# draft pack and a f-dotnetcore2-giraffe draft pack. Should I specify ONLY --pack=f-dotnetcore2-giraffe now, after this, or the full repo name, per before?

@squillace your first argument is correct. If you want to use the f-dotnetcore2-giraffe pack, use that name. If you want to use the f# pack, use --pack=F#.

@bacongobbler thanks for answering.
@squillace does that answer your question?
I have a pack called rails in my own draft pack repo
Now, I can add that pack-repo to my draft client and run draft create --pack=rails to use that pack.


[Suggestion] Prefer profiling cuts

I wonder if there is a way we could specify a preferncing to doing profiling cuts for long features.
For example take this:
UNITS MM
STOCK D15
TOOL RECT R0.2 L2
L0.5
L3 D1.93
L3 DS2.5 DE6 CONC
L1.73 D12.55
L2.2 D9.5
L33.5 D12.55
L2 D0
It results in a lot of cuts into the work, and a lot of retractions.
For bringing down the outer diameter I think doing a long profile cut would be quick as it results in fewer retractions.
The material im using a brass so it would be quite for giving to profiling cuts that are maybe a bit deeper than normal.
I can kinda simulate what I want by making a the finishing pass very deep:
UNITS MM
STOCK D15
TOOL RECT R0.2 L2
DEPTH CUT1 FINISH2
L0.5
L3 D1.93
L3 DS2.5 DE6 CONC
L1.73 D12.55
L2.2 D9.5
L33.5 D12.55
L2 D0
But this problem here is I dont think my tools could take that. So ideally this would be done over several passes

Yeah, that's a good idea, make the cut logic adjustable with a command - initially I actually had the passes done length-wise but switched to facing cuts as they cover more tool and part combinations.
It would be even better to do zig-zag passes which would allow to almost completely eliminate non-cutting movements.

I think rather than trying to detect which strategy to use, maybe it could be a command as you suggested? Could be tricky to determine if its better to do profiling passing or plunging cuts.
Would give users a bit more control too over how they want to do it.
I havent heard of zig zag passes ill have to look into that.


plugin/grpc/grpcstats: method should include both service and method name

Currently, the grpcstats package attaches service name and method name separately to the tags. Instead, we should concatenate them in the following format and only populate the method name tag.
[service]/[method]

Example:
helloworld.Greeter/SayHello

Interesting.

FYI this is what gRPC did for Java:
https://github.com/grpc/grpc-java/blob/4c483ef7a0434fd4a703fdeb9e5031a89fca89e3/core/src/main/java/io/grpc/internal/CensusStatsModule.java#L672 and https://github.com/grpc/grpc-java/blob/4c483ef7a0434fd4a703fdeb9e5031a89fca89e3/core/src/main/java/io/grpc/internal/CensusStatsModule.java#L332

@songy23, should we tag with the full name instead? That's what the Java implementation is doing. The full name contains a / as a prefix. I don't see views exported from Java to Stackdriver contains a / as a prefix.

That's a long story: in gRPC Java the full method name doesn't have a / prefix, while previously gPRC C++ and Go have the leading /, but we later agreed that it should be omitted.
So in gRPC Java, the full method name will always be "service/method", while in C++ and Go it will be "/service/method", and we need to manually remove the leading /.


Integration via official VSCode Python API

See python-extension-template for

Update ms-python dependency, activation, and usages
Potential integration of ipython via direct usage

Notebook API may provide a path to:

Integrate with IPython kernel officially like ms-jupyter extension but using one cell only
Allow display of matplotlib plots in the output instead

@hoangKnLai a few questions about the Notebook API:

Does the API provide a way to have a proper terminal application? With the current implementation of the "interactive window", it seems that it's still a "write code in cell and send to terminal as one section" workflow, i.e. it's not a true REPL experience like IPython. Ideally, you would want something replicates the Spyder editor->REPL workflow exactly.
The biggest thing missing (if you agree) with the current integrated terminal is the ability to communicate to the terminal to identify when it has completed "running some code". Due to lack of such feature, we have to rely on delaying commands to avoid race conditions. Is there a way we can implement a queue of some kind to work around this? Or better yet, does the Notebook API expose any functionality we can leverage to communicate properly to the terminal?
Spyder uses a qtconsole for the integrated terminal instead of the ipython terminal, which provides in-line plotting and other features. Is it possible to implement anything like that in VSCode? or is the fact that qtconsole is a GUI app prevent us from doing that?
Is there any way for VSCode to communicate with an external terminal? This way we can have an editor on the one side and either a qtconsole / ipython terminal / any terminal running in any terminal emulator that can receive the code sent from the editor. I think this open up the door for a lot more customizations.

Ideally, you would want something that replicates the Spyder editor->REPL workflow exactly.

Yes. The REPL behavior is what we wanted.  I think IPython does this in two ways:

Text terminal version (what we are currently using) implements the standard REPL interface via stdstream
Python API in which the ipython kernel can be created and queried

I believe the qtconsole and Spyder uses this one.

Spyder uses a qtconsole for the integrated terminal instead of the ipython terminal, which provides in-line plotting and other features. Is it possible to implement anything like that in VSCode? or is the fact that qtconsole is a GUI app prevent us from doing that?

About a year back, I looked briefly into the qtconsole:

It seems that qt API for typescript/javascript is not a thing.  If it is, we likely can trigger qt-event for the qtconsole to use.
qtconsole communicate via some IP socket which is slow when compare to current sent text.
Done some quick test and it is also difficult to update the qtconsole rendering (e.g., a code snippet can be ran on its kernel, but I couldn't find a way for it to print the In [ ] / Out [ ]) of a command.
Spyder can use qtconsole directly since it is built in qt-python hook

Is there any way for VSCode to communicate with an external terminal?

There might be one.  Similar to a language server, the @vscode/python-extension provides a tunnel between vscode and python.  Hence this issue to find the way.  An approach might be:

Create an ipython service server via the python-extension option

The services are the usual code execution options

Within the server, vscode can query services (it is likely that Jupyter extension uses this)

With Jupyter, they do this per cell and keep the cell which is bad
Using the notebook API, we might be able to enforce a single input / output cell which replicate the REPL behavior

So the main idea stems from the fact that vscode notebook can already render the ipython kernel inputs and outputs including the inline plots that the current text terminal can't.  All we do is likely managing the various kernel, the number of notebook cells, and what is being render.

A likely downside: the coms between the notebook-python-ipython-ipykernel are likely to be slower than the current text stream


RequirePkce defaults to false;

public bool RequirePkce { get; set; } = false;
What issue does this PR address?
the documentation was not correct, so i changed it.
Does this PR introduce a breaking change?
no
Please check if the PR fulfills these requirements

[x] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:
Just documentation

Ok, I see it had been changed in newer versions to default to true.


Creating (or updating) paket.dependencies file from paket.references files

Bit unusual workflow but it would be really nice for F# project scaffolding / templating (like https://github.com/reidev275/Fix or https://github.com/fsprojects/generator-fsharp).
Ideally, we would add new command which just takes all paket.references files there are existing in solution and based on them creates appropriate paket.dependencies file (with some sane defaults - public nuget source etc.)

I think it's currently impossible to recreate HTTP and Github dependencies from paket.references since the original URL seems to be only stored in paket.dependencies.


Add sysinfo()

This would allow us to replace https://github.com/canonical/ubuntu-desktop-installer/pull/591 with the posix package.

Nice.


Fix BltRegion::Full bounds check

Given a 4x4 16-pixel image, this would previously check if 4+4*4 (20) <= 16.

Thanks for catching this bug!


System.OverflowException in PresentationFramework.dll in System.Windows.Shell.WindowChromeWorker

We have been getting a crash when using the mouse on certain windows in our WPF application. This Stackoverflow issue appears with exactly the same error messages as our own so I believe it to be relevant. https://stackoverflow.com/questions/33287542/what-would-cause-wm-nchittest-lparam-to-overflow-a-32-bit-integer
This issue has also been reported to the Visual Studio community site and a simple test application has been provided. https://developercommunity.visualstudio.com/content/problem/167357/overflow-exception-in-windowchrome.html
The crashes occur on a Windows 10 Pro Version 1709 OS Build 16299.309
We are targeting .NET 4.6.2 with our application. If there is any other information that I can provide, please let me know.
The exception info, on my computer, is as follows:
System.OverflowException
  HResult=0x80131516
  Message=Arithmetic operation resulted in an overflow.
  Source=PresentationFramework
  StackTrace:
   at System.Windows.Shell.WindowChromeWorker._HandleNCHitTest(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

This repo is no longer actively monitored. Closing up old issues that have not had activity in while. If this is still an issue, please open a new issue in an appropriate repo listed in microsoft/dotnet#1275

This repo is no longer actively monitored. Closing up old issues that have not had activity in while. If this is still an issue, please open a new issue in an appropriate repo listed in microsoft/dotnet#1275


TypeError: ne() received an invalid combination of arguments - got (NoneType)

when i run bash , error occurs

bash scripts/video/demo/video_demo.sh /data/checkpoints/llama3-llava-next-8b vicuna_v1 32 2 average after no_token True /mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/xU25MMA2N4aVtYay.mp4

Traceback (most recent call last):
File "/mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/video_demo.py", line 316, in
run_inference(args)
File "/mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/video_demo.py", line 209, in run_inference
attention_masks = input_ids.ne(tokenizer.pad_token_id).long().cuda()
TypeError: ne() received an invalid combination of arguments - got (NoneType), but expected one of:

(Tensor other)
didn't match because some of the arguments have invalid types: (NoneType)
(Number other)
didn't match because some of the arguments have invalid types: (NoneType)

how can i solve this problem?

same problem


Detecting when no command are attempted or successful anymore.

It seems that from time to time, the BLE communication with the car fail or TeslaBleHttpProxy is not even trying anymore.
evcc keep trying to change the car setting to follow the curve, but nothing is happening.
I wonder what could be done to detect those case, and then what could be done to unblock the situation one way or another.
Here are my logs:
2024/07/16 13:46:28 INFO received command=set_charging_amps body=map[charging_amps:9]
2024/07/16 13:46:28 INFO connecting to Vehicle ...
2024/07/16 13:46:35 INFO connection established
2024/07/16 13:46:35 INFO sending command=set_charging_amps body=map[charging_amps:9]
2024/07/16 13:46:36 INFO successfully executed command=set_charging_amps body=map[charging_amps:9]
2024/07/16 13:47:28 INFO received command=set_charging_amps body=map[charging_amps:8]
2024/07/16 13:47:28 INFO connecting to Vehicle ...
2024/07/16 13:47:43 WARN failed to connect to vehicle (A): ble: failed to enumerate device services: ATT request failed: input channel closed: io: read/write on closed pipe
2024/07/16 13:47:43 INFO retrying in 3 seconds
2024/07/16 13:47:52 INFO connection established
2024/07/16 13:47:52 INFO sending command=set_charging_amps body=map[charging_amps:8]
2024/07/16 13:47:53 INFO successfully executed command=set_charging_amps body=map[charging_amps:8]
2024/07/16 13:48:58 INFO received command=set_charging_amps body=map[charging_amps:9]
2024/07/16 13:48:58 INFO connecting to Vehicle ...
2024/07/16 13:49:13 WARN failed to connect to vehicle (A): context deadline exceeded
2024/07/16 13:49:13 INFO retrying in 3 seconds
2024/07/16 13:49:28 INFO received command=set_charging_amps body=map[charging_amps:10]
2024/07/16 13:49:58 INFO received command=set_charging_amps body=map[charging_amps:11]
2024/07/16 13:50:28 INFO received command=set_charging_amps body=map[charging_amps:12]
2024/07/16 13:51:58 INFO received command=set_charging_amps body=map[charging_amps:11]
2024/07/16 13:52:28 INFO received command=set_charging_amps body=map[charging_amps:10]
2024/07/16 13:52:58 INFO received command=set_charging_amps body=map[charging_amps:12]
2024/07/16 13:53:28 INFO received command=set_charging_amps body=map[charging_amps:11]
2024/07/16 13:53:58 INFO received command=set_charging_amps body=map[charging_amps:15]
2024/07/16 13:54:28 INFO received command=set_charging_amps body=map[charging_amps:16]
2024/07/16 13:54:58 INFO received command=set_charging_amps body=map[charging_amps:10]
2024/07/16 13:55:28 INFO received command=set_charging_amps body=map[charging_amps:15]
2024/07/16 13:55:58 INFO received command=set_charging_amps body=map[charging_amps:13]
2024/07/16 13:56:28 INFO received command=set_charging_amps body=map[charging_amps:14]

This is duplicate to https://github.com/wimaha/TeslaBleHttpProxy/issues/6
Unfortunately no solution is known at the moment.


Prepare to move Petri-Site repos to Petri

Once Petri-Site Repository is renamed Petri then this PR should be applied.

Too many other changes. Going to do this differently.


Work type filters as a segmented control

Creates two types of Tabbed nav for the work type filters.
One associated with the search bar (as discussed) and another with results as it's something that feels worth mucking around with.
The filters are Books (Books & E-Books) and Visuals (Images & Pictures).

@jamesgorrie Could we review this on Monday?

More vertical spacing to group information for visual scanning
More spacing between the filters to improve the target area
Discuss the design treatment (font size, colour, etc.)
Make label updates based on the team discussion

I think your earlier exploration of keeping the filter and # of results in the white background made it much easier to notice by the users which will be an important factor for the testing.

I think your earlier exploration of keeping the filter and # of results in the white background made it much easier to notice by the users which will be an important factor for the testing.

We can look at this as part of the pagination as it has knock on effects there, or we could do something simpler and just move it out bar with a background.


Add ability to process overlays in PE Module

It would be neat to have the ability to write rules that can identify appended data in a pe file (overlays)
something like:
rule overlay
{
   condition:
     pe.has_overlay
}

or access to overlay information such as offset and length (pe.overlay.length and pe.overlay.offset)

Hi @blaquee,
I recently needed that too. Here is a rule that can tell you whether overlay is present or not:
import "pe"

private rule has_overlay {
   condition:
      uint8(pe.sections[pe.number_of_sections - 1].raw_data_offset + pe.sections[pe.number_of_sections - 1].raw_data_size)
}

rule my_rule {
   strings:
      $mz = "MZ" ascii
   condition:
      $mz at 0 and
      has_overlay
}

But I also agree will be nice to have it available in Yara, so I made a patch for this in my fork at https://github.com/merces/yara/commit/566786820036f78d21703ac63e5a59eaec499268. Not sure if @plusvic would accept a PR for this though.
Cheers,
Fernando

I don't think you can always rely upon section ordering.

Hi @wxsBSD
Can you please clarify? I don't really care about section ordering, I just go to the last section header to get its offset and size. Are you suggesting the last section header may not represent the last section on physical file?
Thanks,
Fernando

On Aug 1, 2016, at 8:28 AM, Wesley Shields<EMAIL_ADDRESS>wrote:
I don't think you can always rely upon section ordering.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, that is what I'm suggesting.

I think the only way is to keep track of the highest raw offset and determine the location of the overlay that way.
Here is some code that works for it. https://github.com/x64dbg/GleeBug/blob/master/GleeBug/Static.Pe.cpp#L225

I think that is the right way too. I've got some prototype code which does it, but I need to clean it up a bit. Hopefully sometime in the next couple of weeks.

Thank you for the ideas. I've updated the patch. Have a look at  https://github.com/merces/yara/commit/39447516d82454f46988fac7313aebe8ce356f88 please. ;)


Run the github-app.sh only if OCAML_BENCH_GITHUB_* env vars are set

Running dune exec dev/jwt.exe crashes with a cryptic Fatal error: exception Sys_error("Value too large for defined data type") when development.env has empty values for the OCAML_BENCH_GITHUB_* environment variables. This commit ensures that we try to run this command and the ./dev/github-app.sh script only when a couple of these variables are set.

Minor change that improves local developer setup, that was broken with #456 . Self-merging.


Add examples to home page

When there are no search terms entered, show some examples of what you might search for.  Try to show off a broad range of functionality.
We can get some examples from user-test subjects.

@cndewey @mbernste Suggestions?

Some examples that come to mind:

Goal find healthy, liver tissue.
-- Require: "Liver".
-- Exclude: "Disease", "Treatment"
-- Sample type: Tissue

Goal find healthy, primary T-cells:
-- Require: "T cell".
-- Exclude: "Disease", "Treatment"
-- Sample type: Primary cell

Goal find glioblastoma samples:
-- Require: "brain", "glioblastoma".

These are good.  I'll put these on the website.
I think 3 is about the right number of examples to show - if it's many more than that then people won't read them.


Proposal: Add declaration of service instance dependencies

OSB defines how applications are connected to service instances. We have scenarios where we have to bind service instances to other service instances. A service instance A needs a service instance B.
Today, we solve this problem with service keys. When service instance A is provisioned, the service key of service instance B has to be provided as a parameter. Because there is no standard, we see several variations of this pattern.
Is this a common problem? Do you think declaration of service instance dependencies should be part of OSB?
Please find the proposal document here: https://docs.google.com/document/d/1jBwoXRKtQqGzanhhvb-84YEGLYzqbiNbXkQ-XSeN-KA

Hi guys, I've recently started to dive into OSBAPI and currently I'm wondering what the status of this proposal is?
As far as I could see here #488 the service dependency spec is still in discussion?
Has there been any progress/decision in the weekly calls since 05/2018?


Rename repo

The "abstreet to atip" name is historical, from before the project structure was well understood. This repo is used to prepare/generate data files needed by the ATIP frontend. How about "atip-data-prep" or "atip-importer" or "atip-input"? Thoughts, @robinlovelace-ate and @Pete-Y-CS?

:+1: to that. More ideas: "atip-route-generator". Of the ones you listed "atip-data-prep" is my favourite because  it does what it says on the tin, "importer" and "input" are less specific.

I agree, from the description you've given atip-data-prep seems most relevant. Maybe even atip-data-prep-scripts if we wanna be super specific

Thanks both! "route-generator" is too specific; this repo also has boundary-fixing scripts, and soon things unrelated to routing. I'll rename atip-data-prep


chore: fix clippy warnings

Currently only fixed and check for default lints. If there was a reason for not including clippy feel free to ignore.
I also added allows where it seemed fit; should those be blanket allows?

We don't tend to use clippy on Bytecode Alliance projects, because we find that it doesn't increase code quality enough to justify the churn it adds to CI and local workflows. So, I think we will decline this contribution.

Although I tend to run clippy as my rust-analyzer command in my IDE so my own code is clean from linter warnings before I commit, I agree that we don't want to enforce this at the CI-level.
Given I see the existing linter warnings as I edit, I sometimes fix them in files I'm working in, but generally leave the existing ones alone.

How about removing the addition to CI and accepting the other changes?  I do find that most of the changes improve readability.

Thank you @pchickey! I know this kind of PR can be annoying, but hopefully after removing a lot of the unneeded changes it will be worth it!

This is quite old at this point with lots of merge conflicts and a lot has moved around in the meantime, so I'm going to close this. If you'd like though feel free to reopen.


std::defaultfloat compilation error

This compilation error is occurring on the dashboard:
https://open.cdash.org/viewBuildError.php?buildid=6254656
Compilation error:
/home/kitware/Dashboards/TestsModules/IO/ImageBase/include/itkImageSeriesReader.hxx:444:70: error: 'defaultfloat' is not a member of 'std'
<< " Deviation of:" << spacingDeviation << std::defaultfloat);

@vfonov @dzenanz

looks like this version of gcc doesn't have this patch integrated: https://gcc.gnu.org/ml/gcc-patches/2014-03/msg01505.html

so, I can include  and use std::resetiosflags or just disable increased precision in the warning message...

I think using resetioflags would be best. Thank for following up!

it is resolved, I hope

dash5ubuntu's Git origin has been updated, so it should report to the dashboard tomorrow.

closed by #1499, error is no longer on dashboard.


Support default content type

From<EMAIL_ADDRESS>on May 15, 2011 18:05:12
RestAssured.requestContentType = "application/json";
RestAssured.responseContentType = "application/json";
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=68

From<EMAIL_ADDRESS>on May 22, 2011 03:00:20
Status: Fixed


Luau Diagnostics does not respect --!nocheck

I'm using a library and it has --!nocheck at the top of the file. Yet when I open it, luau still provides diagnostics.

--!nocheck only prevents type errors. Those are lint diagnostics, which still show up.
You can configure diagnostics using a .luaurc file, which also allows you to disable them completely if you want to

Hm, okay; I'm not sure if it's worth going into that much effort for a library, though!

Just to note, you can have multiple .luaurc files, and it will use the config closest to the current file.
Creating a new .luaurc file in the same directory as the library, with "lints": { "*": false } will disable them (or something along those lines, i don't remember the syntax exactly)


producer: mpls label, timediff multiplier, time_flow

This PR fixes 3 bugs:

Changing timediff multiplier from 1e9 to 1e6. Based on sysuptime header rfc and LAST_SWITCHED & FIRST_SWITCHED field rfc, everything is in milliseconds instead of seconds.
Fixing uint underflow. Some flows do have weird data with SysUptime < (LAST_SWITCHED | FIRST_SWITCHED) which results in incorrect time_flow_start_ns and time_flow_end_ns fields. Check: uint-underflow.pcap.zip
Mpls labels when having more than 1 elements will reset the previous value to zero

Finally going over this PR:
#325 should have addressed the timing issue

Integrated the MPLS changes as part of #345. Couldn't rebase this PR :/
Thank you @iqbalaydrus for your contribution!


Where is the 'Models'？

Hi~ @tommaoer, thank you for the repo.
As shown in (https://github.com/IGLICT/IBSR_jittor/blob/main/code/RetrievalNet.py#L3), 'from Models import RetrievalNet'
but I can not find the file, where is the Models.py and RetrievalNet?

Thanks for your information, we have committed the Models.py file to this repo.


Report the first IP of interfaces instead of their last IP

Interfaces may have multiple IPv4 addresses and especially multiple
IPv6 addresses (due to link-local IPv6 addresses). Report the first
one of each address type instead of the last one. Fixes issue #19.

Thanks a lot @siebenmann :tada:


Update pip-tools pre-commit hook

The pip-tools pre-commit hook is being updated because the version
being used runs into issues with older versions of pip.

I'm closing this in favor of #99.


ServletRequest.getAsyncContext returns if async is cancelled

Otherwise ServletRequest.isAsyncStarted returns true but
Request.getAsyncContext throws a UT-10018 exception with
message "Async not started".
Test fails without the change to HttpServletRequestImpl.java

Linux Build 2591 outcome was FAILURE using a merge of 1dd1b990fdadd87effb8dd307522b19a03cecd37
Summary: Exit code 1 Build time: 00:00:12

Windows Build 2345 outcome was FAILURE using a merge of 1dd1b990fdadd87effb8dd307522b19a03cecd37
Summary: Exit code 1 Build time: 00:00:22

Windows Build 2346 outcome was FAILURE using a merge of 0c3321a75111a750c65d6c925c4b68e769ae64a7
Summary: Exit code 1 Build time: 00:00:08

Linux Build 2592 outcome was FAILURE using a merge of 0c3321a75111a750c65d6c925c4b68e769ae64a7
Summary: Exit code 1 Build time: 00:00:10

Thanks, I have merged this with some minor changes under https://issues.jboss.org/browse/UNDERTOW-1294


Create GlobalnetEgressIP and associated objects

What happened:
As part of Globalnet Enhancement, we now have a new CRD, GlobalnetEgressIP for requesting a Egress globalIP on Pods. This issue is to track the necessary CRD changes including the creation of Clientsets, informers and listers.

bump

@tpantelis do you want to take a look at this? Thank you

@tpantelis do you want to take a look at this? Thank you

I updated #1172.


Add Support For Bearer Token

Update the User and Skills modules to support Bearer Tokens instead of only relying on OAuth credentials.
See: https://livepersoninc.github.io/dev-hub/current/login-getting-started.html

Closing since this has now been added to the API wrapper. Added in commit -  4126be40e60d5567e1272a2279cb9b6d05d978d0


when run python3 setup.py build_ext, some errors happen

Environment:
Ubuntu 16.04
gcc 5.4.0
g++ 5.4.0
when I try to   run  run python3 setup.py build_ext.  It said
./pvn3d/_ext-src/src/group_points.cpp:56:40:
error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(false, "CPU not supported");                                       ^
error: command 'gcc' failed with exit status 1
I have found so many ways to try to solve it.but it still didn't work.Please help me

The PointNet++ code is referred from https://github.com/erikwijmans/Pointnet2_PyTorch, which currently ONLY supported on the GPU using CUDA.

Actually,I have solved it.No matter what.Thank you

Actually,I have solved it.No matter what.Thank you
Hello, I also met the same problem, could you please tell me how you solved it


Update Changeset config to link create-hydrogen to dependencies

Follow up to #1873 — instead of installing latest, this links the create-hydrogen package to other packages it depends on.
We don't bump create-hydrogen's version that often because it's so simple, so it can get out of sync with other packages, even though it should basically always be installing the latest dependencies.
Linking the packages in Changesets means create-hydrogen will always get bumped when one of its dependencies does, which should lead to the expected behavior.
I'm linking these packages because they're the ones that are included in @next releases and create-hydrogen should always be up to date for testing purposes.

Closing this because a little more investigation showed it's a build error in the @next publishing workflow that caused package hashes to get out of sync in this case.
This might still be a worthwhile idea but closing the issue because it's unrelated. Carry on


Reverse search in history

Is there a reserve search in history feature? I tried looking around and couldn't find anything.

I believe bash has this built in as CTRL + R

CTRL + R does nothing on my machine. BTW my machine is arch + larbs and
nothing else.
Do you know how should I diagnose the problem?
On Sat, Feb 29, 2020 at 1:04 PM Shahzeb<EMAIL_ADDRESS>wrote:

I believe bash has this built in as CTRL + R
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LukeSmithxyz/st/issues/161?email_source=notifications&email_token=AACGSB5DZRNXEZYR7SY7R2LRFD4U5A5CNFSM4KZJGPWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENLYLFA#issuecomment-592938388,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACGSB2MK7D6OJTQJBNC4BDRFD4U5ANCNFSM4KZJGPWA
.

LARBS uses vi mode in the shell. Check the documentation for that. It's not related at all to st.


Feature request

Hi,
Me again :)
Please consider expanding kubecm with additional functionality specially useful when using aliases:
  kubecm {context,c} <NAME>  (to easily switch to context <NAME>)
  kubecm {context,c} -       (to quickly switch to the previous context)
  kubecm {context,c}         (to quickly find out the current context name. Optionally maybe a flag like --current could be useful)

% kubecm version
Version: 0.13.0
GoOs: darwin
GoArch: amd64
Thanks! 🙏

This function looks very similar to switch, have you tried the switch subcommand?
switch allows you to switch contexts quickly and has a search function.

Yes, I think if put the context as a parameter, It would help to use alias or call it from a shell script.

@sunny0826 sure, but in its current form you are able to select a context interactively, whereas something like kubecm s _context_ would be a very welcome addition :)

Thank you for the suggestion, I will add this feature

This feature has been released in v0.13.1
you can use command
kubecm s <NAME>

This feature has been released in v0.13.1
you can use command
kubecm s <NAME>


Decide on clustering/modularity method

Useful reference, might be the way we want to go:
http://grunwaldlab.github.io/Population_Genetics_in_R/Pop_Structure.html

Also useful:
http://www.cbcb.umd.edu/~hcorrada/CFG/readings/Solutions_ch13.pdf


Feature/wsdev 806 sidebar menu

Closing this PR to solve the conflicts.
New PR: https://github.com/cuweb/rds-beta/pull/49


Add a direct link to the slack channel

This is to make it trivial for a user to just click the link and go directly to the channel like we do for other Heptio OSS projects.
Signed-off-by: Jorge O. Castro<EMAIL_ADDRESS>

Thanks @castrojo !


how can I use the ViT-l/14 clip embeddings ?

Hi,
You will need to generate new clip embeddings using this script and retrain the network.


[wip] guid metadata records

Purpose

Changes

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket

closing in favor of #10273


Cheatsheet or command steps

Is possible put or share command and steps for try and contribute

Hi joh,
to try you can follow https://github.com/jeromeetienne/AR.js/blob/master/README.md#try-it-on-mobile
which kind of contribution you are thinking about ?


Client example not working as shown

Hi there,
I have been trying to use the client on both my Raspberry Pi 2 running Node.js 4.2 and my Mac running Node.js 5.5. When I try the client example I can configure, but when trying to list feeds I cannot get similar results to the guide. I configured my username and key from adafruit.io using the config command and that seemed to work fine (though not sure how to check that it did).
Here is what I get on both systems when I try the client:
nik@DN51skbb:~$ adafruit-io client feeds all
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
[info] Success
[]

I looked this line up and found some links to an issue with swagger [https://github.com/swagger-api/swagger-js/issues/689]
Tried also just to get one feed test from my account
nik@DN51skbb:~$ adafruit-io client feeds get test
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
[error] [object Object]

Similar thing if I try to send some data (which does not send):
nik@DN51skbb:~$ adafruit-io client data send test 10
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
? data.value (optional): 10
? data.lat (optional):
? data.lon (optional):
? data.ele (optional):

Not sure what is going wrong. any thoughts on what might be happening?

@nikmart i'm actually working on client updates today, so i'll let you know when those errors are fixed


add multiple days task support

Hello!
I added the functionality described in this issue - https://github.com/Kartones/flask-calendar/issues/24

Hi @mercury131 I guess you closed it because you want to iterate further on the pull request?
Feel free to reopen, or open a new one once ready :smiley:

I closed it by mistake :)
It will be possible to look at my code, maybe it will be useful

perfect, I'll take a look as soon as I can, thank you!


402 Payment Required

Seems like the account on zeit.co is out of funds :joy:

@asymmetric sorry for the trouble.. It's fixed now. :)


Automated cherry pick of #3787: networks: 改进创建错误处理

Cherry pick of #3787 on release/2.12.
#3787: networks: 改进创建错误处理

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@ceccc16). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #3794   +/-   ##
==============================================
  Coverage                ?   6.93%
==============================================
  Files                   ?     500
  Lines                   ?   84311
  Branches                ?       0
==============================================
  Hits                    ?    5846
  Misses                  ?   77971
  Partials                ?     494

Flag
Coverage Δ

#aFlag
6.93% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/wires.go
2.02% <ø> (ø)

pkg/compute/models/networks.go
0.56% <0%> (ø)

pkg/compute/models/zones.go
2.46% <0%> (ø)

pkg/compute/models/cloudregions.go
1.93% <0%> (ø)

pkg/compute/models/skus.go
1.31% <0%> (ø)

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 ceccc16...7f6435a. Read the comment docs.

/lgtm

/lgtm

/approve


[useSubscription] - "_id"s are being retrieved as empty objects

In the subscription resolvers, the payload is sent well - the _ids are ObjectIds.
In onAdded, onChanged, ..., in useSubscription(SUBSCRIPTION, { // here }), the documents are received with _id: {}. Same goes for arrays of ids: [{}, {}, ... {}]

This was related to latest fix in ejson.


Can't switch to 2.4.7 in examples

This issue is about:

An error on the web site

To reproduce: go to http://phaser.io/examples/v2/camera/basic-follow, try to switch to version 2.4.7, this error gets thrown: Uncaught ReferenceError: Phaser is not defined (VM712 embed.php?f=camera/basic+follow.js&v=2.4.7:33).
Other versions work fine afaict.

Yes 2.4.7 Examples are not yet uploaded. Download the repo and use it locally if you need them before we get them on the site.

Both 2.4.7 and 2.4.8 are now available in the Examples.


about cracks in mesh trained by neus-facto

hi author, I used neus-facto to train a car mesh, there are some cracks in the side and top of car  , I tried many methods, but it still exist, can you give some suggestions? thanks.
command:
ns-train neus-facto --vis viewer --viewer.websocket-port 7008 --pipeline.model.sdf-field.inside-outside False --pipeline.model.sdf-field.bias 0.3 --pipeline.model.background-model mlp --pipeline.model.sdf-field.use-diffuse-color True --pipeline.model.sdf-field.use-specular-tint True --pipeline.model.sdf-field.use-reflections True --pipeline.model.sdf-field.use-n-dot-v True --trainer.steps-per-save 80000 --trainer.steps-per-eval-batch 20000 --trainer.steps-per-eval-image 20000 --trainer.max-num-iterations 80001 sdfstudio-data --data data/sdfstudio/car-seg/

mesh:

Hi, the cracks are probably come from the mesh simplification. Could you try to extract the mesh without mesh simplification?

in the fact, I extract the mesh without mesh simplification, simplify-mesh is default False, do you have other ideas?
command
ns-extract-mesh --load-config outputs/data-sdfstudio-car-seg/neus-facto/2023-08-29_091628/config.yml --output-path meshes-test/neus-facto-car-29_091628.ply

Hi, the cracks are probably come from the mesh simplification. Could you try to extract the mesh without mesh simplification?

it seems like no relationship about mesh simplification,cause the parameter --simplify-mesh is default False. I guess it may be caused by quadric Edge Collapse Decimation , so I keep changing the parameters target_num_faces, Unfortunately the cracks become larger or smaller but does not disappeared，finally , I Increased parameters iterations when training, then extract mesh and texturing ,the cracks unbelievably disappeared, it confuses me so much.

Hi, the cracks are probably come from the mesh simplification. Could you try to extract the mesh without mesh simplification?

it seems like no relationship about mesh simplification,cause the parameter --simplify-mesh is default False. I guess it may be caused by quadric Edge Collapse Decimation , so I keep changing the parameters target_num_faces, Unfortunately the cracks become larger or smaller but does not disappeared，finally , I Increased parameters iterations when training, then extract mesh and texturing ,the cracks unbelievably disappeared, it confuses me so much.

Can I ask you how many  iterations you used in your experiment？Will it increase lots of time？

Hi, the cracks are probably come from the mesh simplification. Could you try to extract the mesh without mesh simplification?

it seems like no relationship about mesh simplification,cause the parameter --simplify-mesh is default False. I guess it may be caused by quadric Edge Collapse Decimation , so I keep changing the parameters target_num_faces, Unfortunately the cracks become larger or smaller but does not disappeared，finally , I Increased parameters iterations when training, then extract mesh and texturing ,the cracks unbelievably disappeared, it confuses me so much.

Can I ask you how many iterations you used in your experiment？Will it increase lots of time？

It's been a long time, I vaguely remember about 160000 iterations , yep, as the iterations increases, the time will also increase

@ViokingTung  Thanks you very much!

Hi @ViokingTung, could you share the parameters that you set for extracting mesh and texturing?

Hi @ViokingTung, could you share the parameters that you set for extracting mesh and texturing? The texture on the car looks great, I can't seem to get good texture on my mesh.


Doesn't work with Laravel Mix

I try to use Laravel Mix (v5.0.4) and extend it with SVG sprite loader to generate SVG sprite. I have the following folder structure:
resources/
  images/
    image.jpg
  sass/
    app.scss
  svg/
    file1.svg
    file2.svg

webpack.sprite.js
webpack.mix.js

The content of webpack.mix.js:
const mix = require('laravel-mix');
require('./webpack.sprite');

const toCss = 'public/css';

mix.sass('resources/sass/app.scss', toCss)
   .options({
       sassOptions: {
           outputStyle: 'nested',
       }
   })
   .sprite();

The content of webpack.sprite.js:
const mix = require('laravel-mix');
const SpriteLoaderPlugin = require('svg-sprite-loader/plugin');
const path = require('path');

class Sprite {
    dependencies() {
        return ['svg-sprite-loader'];
    }

    webpackPlugins() {
        return new SpriteLoaderPlugin({plainSprite: true});
    }

    webpackRules() {
        return {
            test: /\.svg$/,
            include: path.resolve(__dirname, 'resources', 'svg'),
            use: [
                {
                    loader: 'svg-sprite-loader',
                    options: {
                        extract: true,
                        spriteFilename: path.resolve(__dirname, 'resources', 'images') + 'sprite.svg',
                        runtimeCompat: true
                    }
                },
                'svg-transform-loader',
                'svgo-loader'
              ]
        };
    }
}

mix.extend('sprite', new Sprite());

It does NOTHING in regards sprite, but it generates the CSS from SASS! :( I don't know why... Tried to "debug" it with some console.log() in the extension and it was hit, I saw the log messages in the console. But the sprite wasn't generated.
I also tried to use just hardcoded, relative paths in the extension without path. Didn't help.
Any idea?
Thanks in advance!

Node.js version: v12 LTS
webpack version: v4
svg-sprite-loader version: Latest stable
OS type & version: Win10

https://stackoverflow.com/questions/62517625/svg-sprite-issue-with-laravel-mix

@SasSam
In webpack.mix.js delete .sprite().
Next line add: mix.sprite();
I've just checked, and it works.

I have the same issue.
Does anyone have any suggestion.

For all poor souls coming across this issue:
There is a working implementation of svg-sprite-loader for laravel mix: https://github.com/swisnl/laravel-mix-svg-sprite
Installation:
yarn add laravel-mix-svg-sprite
Configuration
Example webpack.mix.js:
let mix = require('laravel-mix');
require('laravel-mix-svg-sprite');

/**
 * @see https://laravel-mix.com/docs/6.0/api
 */

mix.js('assets/js/custom.js', '')
    .sass('assets/scss/style.scss', '')
    .options({
        processCssUrls: false
    })
    .svgSprite(
        'assets/img',
        'sprite.svg',
        {
            extract: false // set to FALSE if the sprite should be loaded dynamically
        }
    )
    .sourceMaps(false)
    .setPublicPath('assets/dist');

Setting extract to true will only generate the svg file and you're resposible for importing it manually. Webpack can load it dynamically for you (just like intended by JetBrains) if you set it to false.


Identity perf pipeline run triggers

closes #5423
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

I am not sure if the following is setup to run the perf pipelines for core, whenever Azure.Core files are changed

For example, see this, where only cpp - core - ci run.
https://github.com/Azure/azure-sdk-for-cpp/pull/5908
When do we expect cpp - core - perf to get triggered and run?


Variable - Use meaningful and pronounceable variable names - yearMonthDay is Not meaningful

yearMonthDay is Not meaningful name.
birthday, holiday name, that a meaningful name for a date.
yearMonthDay is just a format name and if the implementation is change a bit the name will also change.
what do you think?
Thanks :)

Hey Chen!
True, those are more meaningful than yearMonthDay. That's only the case if those actually match up to a current instance of a moment object. What's always valid, and perhaps more meaningful, is todayYearMonthDay. It's a little verbose, but it's very clear. Maybe we can do better though. On Pg. 50, Clean Code gives a much better example that we can probably go to for JavaScript, excuse the lack of formatting:
Bad
public List<int[]> getThem() {
List<int[]> list1 = new ArrayList<int[]>(); for (int[] x : theList)
if (x[0] == 4) list1.add(x);
return list1; }

Good
public List<Cell> getFlaggedCells() {
List<Cell> flaggedCells = new ArrayList<Cell>(); for (Cell cell : gameBoard)
if (cell.isFlagged()) flaggedCells.add(cell);
return flaggedCells; }

Mmm so maybe currentDate, todayDate its a bit more clear and less verbose. Regard to the flagged cell i agree :-)

Cool, I've changed it to this for now! b1b37eb23421f54a705f00fe4be756dd39339158

This is a huge nitpick... in my opinion, currentDate sounds like the name of a variable that holds a moment or Date object. It doesn't give any indication that it's a formatted date string. I would expect currentDate to just be const currentDate = moment().
I think the example could be improved by instead doing:
const d = moment(); // bad
const currentDate = moment(); // good

Ideally though, I think it would be even better to come up with an example that doesn't depend on a js library.


Enable windows build that uses cairo

This links in additional libraries to make things work
With the code at this state I can do a conda build that includes cairo support, which is a big win on the Windows side.

flagging this for the 2017_09_2 milestone so that I can go ahead and start doing cairo builds for windows.


[vim] escape slash in s:shortpath

Fix for the regexp comparison for checking if directory filepath ends in a slash.
I need this issue resolved before porting it to Files in fzf.vim

I just updated the commit and pushed to master. Thanks!