Install with -e in requirements.txt results in missing dependency

Hi!
Up front I'd like to say thanks for all hard work on the build pack. I'd also like say that my experience managing dependencies with python is minimal so I apologize if I've done something to cause the issue myself.
We have two submodules in our project repository that we install using the following convention in our requirements.txt (reproduced from our repo):
# this is the default included as a part of the python build pack from heroku
bob-builder==0.0.5

# install the softix submodules
-e lib/softix/core
-e lib/softix/cli

Previously this worked just fine but now when attempting to make use of the CLI tool from our app we're getting the following stack trace:
$ heroku run bash
Running bash on  wastastaging... up, run.4739 (Free)
~ $ softix --help
Traceback (most recent call last):
  File "/app/.heroku/python/bin/softix", line 6, in <module>
    from pkg_resources import load_entry_point
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3017, in <module>
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3003, in _call_aside
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3030, in _initialize_master_working_set                                                                                File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 659, in _build_master
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 967, in require
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 853, in resolve
pkg_resources.DistributionNotFound: The 'softixcli' distribution was not found and is required by the application

To aid in reproduction of the issue I've created a repository that can be deployed to a new instance:
https://github.com/johnbender/heroku-buildpack-python-issue
I noticed that I had to run the deploy once or twice and also attempt to run the command once or twice to get the above error. :(
Our current workaround is to reference an older version of the buildpack:
$ heroku buildpacks
=== Buildpack URLs
1. https://github.com/heroku/heroku-buildpack python#1bccc03b30d31c314452f2648ebb0296f1e5f155
2. heroku/nodejs

Thanks for the report. There was a bug over the weekend with all -e builds, including ones pointed to GitHub. I'm working on a fix today to fix this type today as well. Sorry for the inconvenience. The fix should be easy.

@kennethreitz
No problem at all! That's why we have a staging environment. :)

Thanks!

can you try again?

With the following:
heroku buildpacks                                                                                === Buildpack URLs                                                                                1. https://github.com/heroku/heroku-buildpack-python#324ebc92234ffbbbdde802fc87b1d76a1d86e9e2
2. heroku/nodejs

I'm not seeing the dependency resolution error anymore (ie, it works).
I'm not clear on what exactly the canonical buildpack heroku/python points at but I tried that also and it doesn't work. I assume you have some release process that points it at a given commit when you're ready.

Correct — ideally, https://github.com/heroku/heroku-buildpack-python works perfectly, and can be deployed tomorrow.

I was seeing this same issue, but this fix hasn't worked for me. Using buildpack https://github.com/heroku/heroku-buildpack-python. It looks like it's already deployed, because it's failing in the same way as heroku/python, but in a new way.
Now, during my build, it's giving me this error. This is the same commit that I have previously deployed successfully. It's different that the error is given during the build, instead of after, but it seems to otherwise be a very similar issue.
Note that the -e package in question, aspiredu, is successfully installed.
remote: -----> Python app detected
remote:      $ pip install -r requirements.txt
remote:        Obtaining file:///tmp/build_1efda2a3bb544c9902d13ce667028fc7 (from -r /tmp/build_1efda2a3bb544c9902d13ce667028fc7/requirements.txt (line 9))
remote:        Installing collected packages: aspiredu
remote:          Running setup.py develop for aspiredu
remote:        Successfully installed aspiredu
remote:
remote:      $ python manage.py collectstatic --noinput
remote:        Traceback (most recent call last):
remote:          File "manage.py", line 10, in <module>
remote:            execute_from_command_line(sys.argv)
remote:          File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
remote:            utility.execute()
remote:          File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 302, in execute
remote:            settings.INSTALLED_APPS
remote:          File "/app/.heroku/python/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
remote:            self._setup(name)
remote:          File "/app/.heroku/python/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
remote:            self._wrapped = Settings(settings_module)
remote:          File "/app/.heroku/python/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
remote:            mod = importlib.import_module(self.SETTINGS_MODULE)
remote:          File "/app/.heroku/python/lib/python2.7/importlib/__init__.py", line 37, in import_module
remote:            __import__(name)
remote:        ImportError: No module named aspiredu.settings

@ryanbrainard can you try against master again? I just changed the order for you, so the files should be available during the collectstatic step

Same thing. Here's the commands that I ran to switch the buidpack. Did I screw something up?
$ heroku buildpacks:remove https://github.com/heroku/heroku-buildpack-python'#1bccc03b30d31c314452f2648ebb0296f1e5f155' -r bld
Buildpack removed. Next release on aspiredu-bld-ryan will use heroku/nodejs.
Run git push heroku master to create a new release using this buildpack.
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-python -r bld
Buildpack added. Next release on aspiredu-bld-ryan will use:
  1. heroku/nodejs
  2. https://github.com/heroku/heroku-buildpack-python

@ryanbrainard can you paste your requirements.txt file?

Here's the top, slightly redacted:
cat requirements.txt | head -n 20
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file requirements.txt requirements.in
#
--extra-index-url https://pypi.fury.io/--redacted--/aspiredu/

-e .
amqp==1.4.9               # via kombu
anyjson==0.3.3            # via kombu
babel==2.3.4              # via django-phonenumber-field
beautifulsoup4==4.5.1     # via robobrowser
billiard==<IP_ADDRESS>        # via celery
boto==2.45.0
celery==3.1.25            # via django-celery
certifi==2016.9.26
cffi==1.9.1               # via cryptography
contextlib2==0.5.4        # via raven
cryptography==1.7.1       # via paramiko

The -e . is how aspiredu is found and collected. There is a setup.py, and the source files are in /src/python from the setup.py in the root of my repo.

@ryanbrainard would you mind opening a support ticket and asking that I (Kenneth Reitz) take a look at it? This will give me permission to look at your slug and see what's going on

@ryanhiebert would you mind opening a support ticket and asking that I (Kenneth Reitz) take a look at it? This will give me permission to look at your slug and see what's going on
http://support.heroku.com

Will do.

@ryanhiebert link me to the ticket here so I can look at it ASAP

https://help.heroku.com/tickets/434553

Thanks @kennethreitz , the latest master seems to be working for me!


ziti-tunnel never shuts down if wintun is not installed

closing. given we have an installer now this is not an issue


lint: Cannot read property 'failed' of undefined

Detailed description
I'm trying to lint an OpenAPI specification and it seems to be failing recently. This specification passes in the Swagger Editor, but it seems multiple specification files cause it to fail? This has been working for over a year, so I'm at a loss what's going on
Specification: https://raw.githubusercontent.com/moov-io/api/035bf3f5eece59b9b396ce2e3ae59f5f8f6b4a8a/openapi.yaml
$ npm --version
6.14.8

$ speccy --version
0.11.0

$ speccy  lint -v https://raw.githubusercontent.com/moov-io/api/65d1f4e8e5060345fe9f78b9020cfcba33983fba/openapi.yaml
READ /usr/local/lib/node_modules/speccy/rules/default.yaml
Found 17 rules in default: parameter-description,parameter-name-regex,operation-operationId,operation-summary-or-description,operation-tags,path-keys-no-trailing-slash,server-trailing-slash,openapi-tags,openapi-tags-alphabetical,reference-no-other-properties,example-value-or-externalValue,default-and-example-are-redundant,reference-components-regex,no-script-tags-in-markdown,info-contact,license-apimatic-bug,no-eval-in-descriptions
GET https://raw.githubusercontent.com/moov-io/api/65d1f4e8e5060345fe9f78b9020cfcba33983fba/openapi.yaml
GET https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/components/securitySchemes/GatewayAuth
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/components/securitySchemes/LoginAuth
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1authentication~1authenticated
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1identities
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1identities~1%7BidentityID%7D
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1identities~1%7BidentityID%7D~1credentials
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1identities~1%7BidentityID%7D~1credentials~1%7BcredentialID%7D
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1invites
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1invites~1%7BinviteID%7D
CACHED https://raw.githubusercontent.com/moov-io/identity/master/api/api.yml #/paths/~1authentication~1register
GET https://raw.githubusercontent.com/moov-io/customers/master/api/client.yaml #/paths/~1customers
TypeError: Cannot read property 'failed' of undefined
    at /usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:96:90
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:38:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at resolveAllFragment (/usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:49:9)
    at /usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:236:28
TypeError: Cannot read property 'failed' of undefined
    at /usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:96:90
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:38:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at resolveAllFragment (/usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:49:9)
    at /usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:236:28
TypeError: Cannot read property 'failed' of undefined
    at /usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:96:90
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:38:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at recurse (/usr/local/lib/node_modules/speccy/node_modules/reftools/lib/recurse.js:53:13)
    at resolveAllFragment (/usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:49:9)
    at /usr/local/lib/node_modules/speccy/node_modules/oas-resolver/index.js:236:28
Cannot read property 'failed' of undefined

Bug in oas-resolver fixed in v2.5.1. If you rebuild speccy / your dependent projects this should be fixed. Thanks for the detailed bug report.

Thanks for the quick response! Can we get a release of speccy? I was just trying to npm install speccy in a Dockerfile.
https://github.com/moov-io/api/blob/master/Dockerfile#L4

Speccy is unmaintained and I don't have release permissions for it. If your previous build brought in oas-resolver @ 2.5.0 (which it must have done to trigger this bug) then installing it the same way should now bring in 2.5.1.

That works for me locally, thanks!


tenant_commands are not executing

runing something as simple as python manage.py tenant_command check is always returning error:
usage: manage.py tenant_command [-h] [--version] [-v {0,1,2,3}]
                                [--settings SETTINGS]
                                [--pythonpath PYTHONPATH] [--traceback]
                                [--no-color] [-s SCHEMA_NAME]
manage.py tenant_command: error: unrecognized arguments: check

Except it an error. Will look in to it.

Command doesn't appear to be accepting arguments.
[mike] # ./manage.py tenant_command loaddata --schema=votedumb
usage: manage.py tenant_command [-h] [--version] [-v {0,1,2,3}]
                                [--settings SETTINGS]
                                [--pythonpath PYTHONPATH] [--traceback]
                                [--no-color] [-s SCHEMA_NAME]
manage.py tenant_command: error: unrecognized arguments: loaddata
[mike] # ./manage.py tenant_command loaddata --help
usage: manage.py tenant_command [-h] [--version] [-v {0,1,2,3}]
                                [--settings SETTINGS]
                                [--pythonpath PYTHONPATH] [--traceback]
                                [--no-color] [-s SCHEMA_NAME]

Wrapper around django commands for use with an individual tenant

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  -s SCHEMA_NAME, --schema SCHEMA_NAME
                        specify tenant schema

When just issuing help, I get a trace
[mike] # ./manage.py tenant_command --help
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/mike/.virtualenvs/project/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/home/mike/.virtualenvs/project/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/mike/.virtualenvs/project/lib/python2.7/site-packages/django_tenants/management/commands/tenant_command.py", line 21, in run_from_argv
    raise CommandError("Unknown command: %r" % argv[2])
django.core.management.base.CommandError: Unknown command: '--help'

Hope that helps.

I messed around a little bit, but I don't have something nice enough for a pull request.  Adding the following to django_tennants.management.commands.tennant_command gave me something that worked, but you still can't specify -s/--schema because of the conflicting params.
def add_arguments(self, parser):
    super(InteractiveTenantOption, self).add_arguments(parser)
    parser.add_argument('args', metavar='fixture', nargs='+',
        help='Fixture labels.')

With this, I can run ./manage.py tenant_command loaddata fixturename and it works as expected.  It prompts you for a schema name and it won't accept the -s option.
I messed around with trying to merge all args in InteractiveTenantOption as well but don't have any good fixes for everything.  It likely has to do with how add_arguments works with django, because I keep either overriding things or destroying everything.  tenant_command might just need to be refactored.  It's a good idea to be able to run any django command against a certain schema, if it can work.
I'll keep playing around, but I'm out of ideas for the night.

How backward compatible does this need to be with django_tenant_schemas and django<1.8?  If I refactored this command code to work entirely different than it did before, it might not be backwards compatible at all and would not allow a seamless transition from django_tenant_schemas and django_tenants.

This project is for django 1.8 and above

That answers part of my question, but not all.  What about compatibility with django_tenant_schemas?  How important is that?

@mikeshultz I am not worried about compatibility as people have to do quite a bit of work to migrate from django_tenant_schemas

Hi guys,
any news on this one? can you post a pull request as a quick fix?

Oh yeah baby! Works great!


Mount doesn't render a child component

Describe the bug
I have a component which I'am trying to test, I wrote some tests successfully but there is one child component in my mounted component which is not rendered completely.
The code for mounted component is quite long so just post only render method.
    public render() {
        let detailsList =

            <CommandBar
                items={this._getCommandBarItems()}
                farItems={this._getCommandBarFarItems()}
            />
            <DetailsList
                className="fieldMappingTable"
                compact={true}
                items={this.props.dataTable}
                setKey="set"
                columns={this.state.columns}
                onRenderItemColumn={this._renderItemColumnEditMode}
                onColumnHeaderClick={this._onColumnClick}
                selection={this._selection}
            />

;

        return (

                {this.state.fullScreenMode ?

                        <Panel
                            isOpen={this.state.fullScreenMode}
                            type={PanelType.smallFluid}
                            onDismiss={() => this.setState({ fullScreenMode: false })}
                        >
                            {detailsList}
                        </Panel>

                    :

{detailsList}

                }

        );
    }

The problem is with that <DetailsList> component, which is from Office UI Fabric React library
When I mount its parent component and trying to get this DetailsList I can't find it.
And here is what I see when call debug() on parent component. It's kind of how it should be rendered but there is nothing below that

              <WithViewportComponent className="fieldMappingTable" compact={true} items={{...}} setKey="set" columns={{...}} onRenderItemColumn={[Function]} onColumnHeaderClick={[Function]} selection={{...}}>

              </WithViewportComponent>

Expected behavior
When the component is rendered in browser it works as it should. Here is the screen from React Dev Tools

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 68.0.3440.84

That looks like that component is mutating the DOM directly after mounting - see https://github.com/airbnb/enzyme/blob/d65fc69d87e985fcb51ad5cdc8fdec4933519fe6/docs/common-issues.md#testing-third-party-libraries


[INLONG-7075][Sort] Add table level metric for PostgreSQL

Prepare a Pull Request
(Change the title refer to the following example)

[INLONG-7075][Sort] Add table level metric for PostgreSQL
Fixes #7075

Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve?
Modifications
Describe the modifications you've done.
Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)

[ ] This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

lost dirty metric data init

lost dirty metric data init

done. and add dirty data backup.

dirtySinkHelper should call open method yo init config. table is dynamic, so you can't invoke invoke(T dirtyData, DirtyType dirtyType, Throwable e), maybe you need call like setLabels("", dirtyOptions.getLabels()))

setLabels

Will be unified processed by @Yizhou-Yang


EVM Faucet: Create Init Cypress Tests from NextJS Faucet

Run through NextJS EVM Faucet (in separate release branch) to create cypress tests. Intention is to re-run tests against Svelte EVM Faucet to validate working/functional system.

Ran into issues with React SSR. Cypress could not test the page because the DOM changed between original page request and subsequent test. Shifted to writing tests directly against Svelte.


Update github_community_profile table to use GraphQL API

Is your feature request related to a problem? Please describe.
I'd like to use the GraphQL API when querying the table
Describe the solution you'd like
Update the table to use the GraphQL API
Describe alternatives you've considered
n/a
Additional context
For any fields that have paging, consider implementing that field as another table to avoid excess API calls (as per https://steampipe.io/docs/develop/plugin-release-checklist#data-ingestion).
New columns

None

Renamed columns

issue_template => issue_templates
pull_request_template => pull_request_templates
license => license_info

Removed columns

health_percentage
updated_at

Columns with data changes

code_of_conduct - updated json
contributing - updated json
license_info (formerly license) now has more info in updated JSON.
readme - updated json
security - updated json

Now on graphql-dev branch


bpfman: Make TC and XDP dispatcher configurable

Currently, the TC and XDP dispatcher are pulled from quay.io and fixed at quay.io/bpfman/tc-dispatcher:latest and quay.io/bpfman/xdp-dispatcher:latest. There may be customers that don't allow access to remote registries and require all dependencies to be in local registries. Add options to the config file (bpfman.toml) to override each dispatcher location. This may also help if there are issues with a given dispatcher image.

👋 Howdy! I'll work on adding these configuration options to bpfman & its operator this weekend

PR for bpfman project is available for review


route rule: Support from all to all look <table_id>

Currently, nmstate only support route rule with destination or from defined. Please remove that restriction by supporting
from all to all route rule.
This could open a door where we could support oif or iif in route rule in the future.

Please also hide ip-to: '' or ip-from: '' in the output.


[Doc] add url link for papers

Codecov Report

Merging #91 (6b49920) into master (cd89c81) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Current head 6b49920 differs from pull request most recent head 4b181bc. Consider uploading reports for the commit 4b181bc to get more accurate results

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   75.93%   75.90%   -0.03%
==========================================
  Files         118      118
  Lines        8048     8048
  Branches     1502     1502
==========================================
- Hits         6111     6109       -2
- Misses       1547     1548       +1
- Partials      390      391       +1

Flag
Coverage Δ

unittests
75.90% <ø> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

...chitectures/stylegan/generator_discriminator_v1.py
88.70% <0.00%> (-1.13%)
:arrow_down:

Continue to review full report at Codecov.

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

It seems that biggan has been missed.

@plyfager biggan already has its link(added by you).

Hi @zeng-hello-world,
We'd like to express our appreciation for your valuable contributions to the mmgeneration. Your efforts have significantly aided in enhancing the project's quality.
It is our pleasure to invite you to join our community thorugh Discord_Special Interest Group (SIG) channel. This is a great place to share your experiences, discuss ideas, and connect with other like-minded people. To become a part of the SIG channel, send a message to the moderator, OpenMMLab, briefly introduce yourself and mention your open-source contributions in the #introductions channel. Our team will gladly facilitate your entry. We eagerly await your presence. Please follow this link to join us: https://discord.gg/UjgXkPWNqA.
If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID".
Thanks again for your awesome contribution, and we're excited to have you as part of our community!


Allow Arch-Armv7 syscalls in sandbox.c

As per https://github.com/omar-polo/gmid/issues/10#issuecomment-1037273444

Thanks!

Oh, it's OK for you if I mention this in the ChangeLog file?  It'll end up as something along the lines of
2022-02-13  Tobias Berger  <email-address-from-the-git-commit>

    * sandbox.c (filter): [seccomp] allow fstatat64, llseek and sigreturn needed by glibc on armv7

of course it's fine if you don't want to be mentioned (or to be mentioned with a different name or email, or without mentioning the email...)
thanks again :)

Oh, it's OK for you if I mention this in the ChangeLog file?

Yep, go ahead! Name and email are public anyways, so getting put in a changelog is fine.


fix: better error message when dependency/workspace member missing

May fix #9319

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

r? @ehuss since you involved the discussion


[Feature] ROCm in WSL environment is supported

Checklist

[X] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 2. Please use English, otherwise it will be closed.

Motivation
Since ROCm under WSL cannot support rocm-smi, it is necessary to determine whether the operating system is WSL when obtaining the memory of the graphics card, so as to use rocminfo to adapt to WSL. Here's a demo of my simple rewrite (The operating system is not judged here, and the case of multiple cards is not taken into account) , which allows you to use SgLang on WSL normally. I hope the official can perfectly adapt to WSL.

Related resources
No response

@merrymercy @githust66
Fix in https://github.com/sgl-project/sglang/pull/2310

@githust66 Once you verified, we can close this issue.
Thanks again for your helpful report!

@githust66 Once you verified, we can close this issue. Thanks again for your helpful report!

HI, why do you use gfx94 as the keyword to search, for example, my graphics card is gfx1100 and I can't find it

It seems like it's possible to just use gfx as a keyword

@githust66
Addressed in https://github.com/sgl-project/sglang/pull/2319
Also have https://github.com/sgl-project/sglang/issues/2320

@githust66 Addressed in #2319
Also opened #2320

Ok thanks

@githust66 we can use #2320 to track remaining issues to enablement of other AMD GPUs (gfx1100, etc.)


fix: changing input loading status

Description
Adjusted species input loading state on the "Create A Class Seedlot" form.
On step 4 of the registration process, the orchard name doesn't need to be updated, more info in this figma comment.
Fixes #328
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Manually and ran unit tests.
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have already been accepted and merged

Further comments

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend
Frontend
Oracle-API
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

@mgaseta
I learned today that there's a difference between loading and fetching in React Query. The status of a query will only be in loading on the first fetch, subsequent fetching will not trigger the status to become loading and it will stay as success, the better way to detect fetching is by using Query.fetchStatus.
To read more:

Medium article
React Query Doc

To speed up the merging process I have pushed a commit here


Feature request - Google Cast ability

This might be out of scope for the application, but it would be nice to have since pressing the small buttons on a phone or a tablet isn't the easiest thing to do 😄
Currently we always cast our game sessions to a TV with using Google Home which lets us cast the screen and sound, but sadly the screen is a bit cropped since Google Home casts the entire screen port and not just the game camera.
The feature request would be to add ability to cast to TV using Google cast.
https://blog.unity.com/games/take-mobile-games-to-tv-with-google-cast

Closing this since it's a bit more work than expected, and there are working options, i.e. casting the entire screen via Google Home or Smart View.


Fix/update trans canonical attr

Description
Checking if a canonical attribute exists for a transcript and updating it if it does.
Use case
When updating the db with canonical transcripts ids, we also need to update the newly added transcript attribute related to the canonical flag. This flag might not exist though, so we only update if it does (we do not insert).
Benefits
Updating needed data in the db, but only if it exists.
Possible Drawbacks
None
Testing
Have you added/modified unit tests to test the changes?
If so, do the tests pass/fail?
Have you run the entire test suite and no regression was detected?

Coverage increased (+0.05%) to 82.322% when pulling a93273f5fcbba32e25dcbc3d606ded8ef423c4a5 on fix/update_trans_canonical_attr into 8517abcdf1b1255535b561418d3c1bc50dd00a98 on master.

Second, if the transcript_attrib doesn't exist (if trans_select_sth doesn't find anything), then you need to insert the attrib.

In general, it is true. In this case, Production are patching the core DBs inserting the transcript_attrib ... if we insert these with this script, couldn't we create issues downstream?

There are a few things missing in this solution: First, in addition to setting the canonical transcript_attrib for the new canonical transcript, you need to clear the canonical transcript_attrib from the old canonical transcript. Usually this is done by deleting the attrib, rather than setting it to zero. In order to make this simple, you probably will have to change @change_list to include the old canonical transcript dbID so that you don't have to search for it.
Second, if the transcript_attrib doesn't exist (if trans_select_sth doesn't find anything), then you need to insert the attrib.
Finally, although attrib_type_id almost never changes, it's safer and more maintainable to fetch it from the database instead of hard-coding it as 554.

I didn't really consider the first point so thanks for pointing that out, I'll work on that. Also, the third point is a best-practices issue so thanks for that. As for inserting if not found, this is what we agreed to do because of the issue with production adding these attributes, and for them not getting a duplicate_key error when they try to insert after this script is run. We can discuss this further if you don't agree.


Added kotlin.internal.jdk8.JDK8PlatformImplementations constructor.

What does this PR do?
Adds support for kotlin.internal.jdk8.JDK8PlatformImplementations constructor.
Checklist before merging

[X] I have properly formatted metadata files (see CONTRIBUTING document)
[ ] I have added thorough tests. (see this)

I encountered this with a Spring Boot native application that used async coroutines.
This section by itself in resources/META-INF/native-image/reflect-config.json did solve the problem

@corneil Could you please share a minimal repro in order to allow us to craft a test?

Closing to create a new PR


ByteBuffer: provide multi read/write int methods

Motivation:
Many network protocols (especially for example NFS) have quite a number
of integer values next to each other. In NIO, you'd normally parse/write
them with multiple read/writeInteger calls.
Unfortunately, that's a bit wasteful because we're checking the bounds
as well as the CoW state every time.
Modifications:

Provide read/writeMultipleIntegers for up to 10 FixedWidthIntegers.
Benchmarks

Result:
Faster code. For 10 UInt32s, this is a 5x performance win on my machine,
see benchmarks.

The generated code (10 UInt32s) looks pretty awesome, lots of vector stuff haha.

@swift-nio-bot perf test this please

@Lukasa we should probably make this @_alwaysEmitIntoClient to not incur huge code sizes because of the (unnecessary) generic impls.

@swift-nio-bot test perf please

@swift-nio-bot test perf please

here's the perf proof:

Nice, this will unlock some nice perf gains in postgres :)

LGTM. A good example for what we might use TypeSequences aka Variadic Generics if we get the same performance out of it. Maybe worth posting this use case on the pitch thread.

We could, however the variadics would only really if the types are all the same. Ie (UInt32, UInt32,  UInt32, ...) and not mixed like supported by this patch (eg. (UInt32, UInt16, UInt64, ...))

@weissi Not sure I can follow you here, the pitch for TypeSequences contains this code example:
func debugPrint<T...>(_ items: T...)

Ah yes, I missed the ellipsis in the generic arguments. That's cool if this would be supported, very nice!


Please rename 'settings-template.json' to 'settings.json' and modify the settings to match your environment. Help?


77 fix calculator functionality

Completed the following fixes:
0 is displayed before a decimal on numbers < 1 that are input after the first number (e.g. 2 + 0.2),
the rounding error is corrected (e.g. 4 - 2.2 = 1.8, not 1.79999...),
equation does not collect 0's when 0 is sequentially clicked.
Updated test cases and ensured all pass and everything renders.

Please hold off on this pull request. I noticed another issue.

I did an additional fix of a mishandling of changing the sign of decimal numbers in the equation, and I changed the id's of a couple of test cases that had the same id. I ensured all test cases passed and everything renders. Ready for the pull request.

Great catch on the quality control!


Installing awscli using pip install awscli and then using this code:

Installing awscli using pip install awscli and then using this code:
'pipe:aws s3 cp s3://bucket/file.tar -'

seems to work. However, is it efficient?
What are the best options for when we do/dont have sudo access?
Why doesn't the s3cmd get work?
often the "broken pipe" error occurs at some point throughout the training, more frequent with the aws, but happened with google storage as well.

I am also getting the broken pipe message when using awscli but only for specific files. It's strange since I can easily download those files using awscli manually.
Originally posted by @Nilabhra in https://github.com/tmbdev/webdataset/issues/21#issuecomment-758579696

Yes, pipes like that are efficient: in Python, you need separate I/O processes anyway, and running the native command line tool for accessing file servers is usually the most efficient.
I'm not sure why s3cmd doesn't work for you; generally, any command line program works.
Note that if you have complex I/O or error handling needs, it's perfectly fine to write a shell script:
pipe:my-shell-script sed://bucket/file.tar

Shell scripts might ignore particular exit codes, ignore all errors, set up a particular environment, etc. For example:
            #!/bin/bash
            source $HOME/venv/bin/activate
            python -m some.client.library "$@" || true


[FEATURE] Dynamic route for Posts

Description
Posts should be accesible with a parametrized route for example dummygram/posts/:id
React Router is already available in the components, so it can be implemented by it's route.You might need to modify the post component as well.
Screenshots
No response
Additional information
This feature is very useful and will be helpful in implementing future features such as saving posts, sharing posts, either as a link or message.

@narayan954 , I would like to work on this issue under JWOC. Can you please assign it to me?

@narayan954 , I would like to work on this issue under JWOC. Can you please assign it to me?

great! go ahead

@narayan954 bro, i am getting this error, could you please help me to resolve it?

some post might have a null username, try to handle that case

@Laxmankohar are you working on this? :)

https://user-images.githubusercontent.com/73365025/225015359-b39adad2-5a12-4c1c-aba9-3ab7ccec69fd.mp4

@narayan954  hope you are doing good, can i work on this issue

@narayan954 I would like to work on this issue under GSSoC 2023


"Added Sort array containing 0s 1s 2s in java"

@Amit-45 Please review this PR. This will solve issue #248 .

@Sathwika-02 add test cases


⚠ Samsung has degraded performance

In 9f58699, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3191 ms

Resolved: Samsung performance has improved in 8e963e6.


Explanation for styles per property type

I am finding it very difficult to style using this gem mainly due to lack of the documentation around the styling. So far I have managed to apply a bold style to a cell.

How to set a cell/columns width? (and maybe how to get the cell /column to autosize?)
How to set a row background color?

This is a really low level library, prior knowledge of the ODF spec is required. I know: that sucks...
What I would do in your case would be to experiment creating and depackaging some ODF files created with Libre Office (or wherever else)...
And maybe write a higher level library on top of rODF? Or maybe increment it with a nicer API?

I guess you already solved that row background color problem, right? As given by this PR you opened.

For column width, here's a "hello world" example:
require 'odf/spreadsheet'

ODF::Spreadsheet.file("/tmp/my-spreadsheet.ods") do
  style 'wide-column', :family => :column do
    property :column, 'column-width' => "8.0cm"
  end
  table 'Wide column' do
    column :style => 'wide-column'
    row { cell 'Wiiiiide' }
  end
end

But then again... Auto-sizing would involve some mining in the spec. Sucks!

I am currently in the process of creating the documentation for more styles from the source code of a PHP libarary: https://github.com/box/spout/blob/584121d47887bdfe063c4dfdee24d490e40466d2/src/Spout/Writer/ODS/Helper/StyleHelper.php

All of the styles I could figure out from the above link have been documented in the README.md for v1.0.0


Error in display row number

return Datatables::of(User::query())->make(true); work fine for me, but when I add ->addIndexColumn()  so return Datatables::of(User::query())->addIndexColumn()->make(true); get an exception Call to undefined method Yajra\Datatables\Engines\BaseEngine::addindexcolumn().

@iambillywilly please make sure that you are using the latest version. addIndexColumn was added maybe around v6.10++.

Now I updated to latest version, it works! Thanks, @yajra!


Empty value problem again (OpenAPI 3.0.3)

Hi!
I read:
"In PR https://github.com/OAI/OpenAPI-Specification/issues/1573, targeted for the 3.0.2 patch revision, we have made use of allowEmptyValue NOT RECOMMENDED"
So, what is the right way to declare the API where:

passing a given request body parameter with explicit value, updates the respected property on the server side.
passing a given request body parameter with an "empty" string leaves the respected property intact on the server side.

Of course - for security reasons, I don't want to declare additionalProperties: true.
Any suggestions?

Probably best to explicitly set the minLength of your parameter to 0 if it is a string. You will have to document the intent of zero-length parameters and the effect it has within your API (i.e. leaving the value intact rather than emptying it).

I have finally solved that this way:
status:
description: Employee's activity status. 1 = active, 0 = inactive. You may leave it empty if it is supposed to be left intact.
oneOf:
- type: integer
enum: [0, 1]
- type: string
maxLength: 0

Thanks - your solution will be searchable for others hitting the same problem.


Two creatureSize RE's with "resizeEquipment":true doubling up equipment size

Pf2e version 5.10.5
Placed two creatureSize REs from Battlezoo Dragon Ancestry module on a PC (Empowered Size and Ancient's Size) end up making items dropped from compendium browser Gargantuan.
Current work around is resizing the items back to medium on the actor.
@TikaelSol said that it sounds like a system bug.

Duplicate of #2840


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20211201164343436 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20211201164343436 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.695%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27231

Relevant Lines:
59273

💛  - Coveralls


500 - Internal Server Error, stack overflow on browsing in new project

Module
ManagedPipelineHandler

ExecuteRequestHandler

NSwag

0x800703e9

Can you provide a repro?

I figured it out.  I was setting both the TransferRequestHandler in the web.config and this:
settings.MiddlewareBasePath = "/swagger";
removing the above line resolved the issue.  So functionally, the only bug here is a check/exception to avoid the stack overflow and not get the useless 500 page from iis :).

Task: Add check and better exception

I'm getting this same issue only when using within IIS (with SSL certificate and host header). My URL in IIS is https://internaldevapi.arrt.org.
If I switch the project to run within IIS Express it works just fine.
How to fix this?

Here is a bit more details if it helps. Looks like NSwag owin middleware is causing some sort of issue? Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/26/2019 4:04:58 PM
Event time (UTC): 7/26/2019 9:04:58 PM
Event ID: 7148fb5e3d114fcdac7bd46d9fde08a3
Event sequence: 58
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/7/ROOT-6-132086486790300744
Trust level: Full
Application Virtual Path: /
Application Path: C:\TFS\ARRT.All.Projects\ARRT.Api.Internal.Web\
Machine name: MATTO
Process information:
Process ID: 17380
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: OperationCanceledException
Exception message: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Web.Http.Owin.HttpMessageHandlerAdapter.d__d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Owin.HttpMessageHandlerAdapter.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Ninject.Web.Common.OwinHost.OwinBootstrapper.<>c__DisplayClass6_0.<b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Cors.CorsMiddleware.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Owin.HttpMessageHandlerAdapter.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.AspNet.Owin.Middlewares.SwaggerUiIndexMiddleware`1.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.AspNet.Owin.Middlewares.RedirectToIndexMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.AspNet.Owin.Middlewares.OpenApiDocumentMiddleware.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: https://localdevinternalapi.arrt.org:443/swagger/ui/index
Request path: /swagger/ui/index
User host address: <IP_ADDRESS>
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 44
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Web.Http.Owin.HttpMessageHandlerAdapter.d__d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Owin.HttpMessageHandlerAdapter.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Ninject.Web.Common.OwinHost.OwinBootstrapper.<>c__DisplayClass6_0.<b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Cors.CorsMiddleware.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Owin.HttpMessageHandlerAdapter.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.AspNet.Owin.Middlewares.SwaggerUiIndexMiddleware`1.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.AspNet.Owin.Middlewares.RedirectToIndexMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.AspNet.Owin.Middlewares.OpenApiDocumentMiddleware.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:

As this is one of the higher google hits, when the integration fails with 0x800703e9, please make sure that you actually followed the following advice from the OWIN integration guide :-)

First, you need to install the required NSwag NuGet packages.

NSwag.AspNet.Owin
Microsoft.AspNet.WebApi.Owin
Microsoft.Owin.Host.SystemWeb

Everything would build without the Microsoft.* dependencies, but it will utlimately not run without them and give the referenced error message.

I figured it out. I was setting both the TransferRequestHandler in the web.config and this:
settings.MiddlewareBasePath = "/swagger";
removing the above line resolved the issue. So functionally, the only bug here is a check/exception to avoid the stack overflow and not get the useless 500 page from iis :).

The issue still exists (I suppose low priority) but this solution still works. Thanks for providing it.


Commented out compilation for iOS

This change is

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


fix(react-apollo): variables to be required in query hook when some v…

Description
Currently when a query has required variables, the passing of variables object isn't enforced in query hook args. This can cause runtime errors as if one doesn't specify the variables object at all, the types all are happy.
This PR introduces a proposed fix to ensure that variables need to be passed in args, when there are some required variables in the query. Similar has been done already for the component generation, but looks like this wasn't taken into account then.
Related https://github.com/dotansimha/graphql-code-generator/issues/2870

Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
There are new test cases ensuring that variables added as a required field instead of optional, when some of the query variables are required.
I ran the tests locally and saw that they passed.
Test Environment:

OS:
@graphql-codegen/typescript-react-apollo: 4.2.0
NodeJS: v18.19.0

Checklist:

[X] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Closing as forgot to use a feature branch in the forked repo, reopening in a moment.


Typo: "Tailored Made"

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[x] Other... Please describe: Just a typo :)

Current behavior
Misspelled "Tailored-Made"
Expected behavior
"Tailor-Made"
Minimal reproduction of the problem with instructions
See the readme on github.

Thanks!

Fixed.


Failed to render with preact-compat, react-router and UglifyJS

I use uglifyjs-webpack-plugin on production.
On production only with react-router and preact,  routing action is failed to render routed component in <Switch/>.
Codes
Routes.js
import React from 'react'
import { BrowserRouter, Route, Switch } from 'react-router-dom'
import Header from './Header'
import Home from './Home'
import NotFound from './NotFound'

export default function App() {
  return (
    <BrowserRouter>
      <div>
        <Header />
        <Switch>
          <Route path="/" exact component={Home} />
          <Route path="/*" component={NotFound} />
        </Switch>
      </div>
    </BrowserRouter>
  )
}

my webpack.config.js
const path = require('path')
const webpack = require('webpack')
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
const CompressionPlugin = require('compression-webpack-plugin')

const pkg = require('./package')
const ENV = process.env.NODE_ENV || 'development'
const DEV_PORT = 4444

const hmrEntries = [
  'react-hot-loader/patch',
  `webpack-dev-server/client?http://localhost:${DEV_PORT}`,
  'webpack/hot/only-dev-server'
]

const deps = Object.keys(pkg.dependencies)

module.exports = {
  entry: {
    vendor: (ENV !== 'production' ? hmrEntries : []).concat(deps),
    app: ['./src/index.js']
  },
  output: {
    filename: '[name].bundle.js',
    chunkFilename: '[name].bundle.js',
    path: __dirname + '/public',
    publicPath: '/'
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        use: 'babel-loader',
        exclude: /node_modules/
      }
    ]
  },
  resolve: {
    alias: {
      react: 'preact-compat',
      'react-dom': 'preact-compat',
      'preact-compat': 'preact-compat/dist/preact-compat'
    }
  },
  plugins: [
    new webpack.NamedModulesPlugin(),
    new webpack.optimize.CommonsChunkPlugin({
      name: 'vendor',
      filename: 'vendor.bundle.js'
    }),
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': JSON.stringify(ENV)
    }),
  ].concat(
    ENV === 'production'
      ? [new UglifyJSPlugin({}), new CompressionPlugin()]
      : []
  )
}

versions
    "preact": "^8.2.7",
    "preact-compat": "^3.17.0",
    "react-router-dom": "^4.2.2",
    "uglifyjs-webpack-plugin": "1.1.4",

When I turn off resolve.alias, it works correctly with react.
Full code is here. https://github.com/mizchi-sandbox/pwa-base

Same error here, but I don't use react-router. The error appeared when I switched to WebPack 4. compress.reduce_vars fixed it.

The uglify issue is tracked in https://github.com/developit/preact/issues/1065 🎉


Ability to Invalidate a tax form

This year, OCF got some of its expense payees flagged by the IRS for giving incomplete information in their tax forms. When that happens, the fiscal host needs to reach out to the payee and ask them to re-submit the form.
Ideally, they should be able to provide a message when invalidating. The API would then:

Mark the current tax for as "INVALID" (new status)
Send an email to the payee, with the custom message from the host
Send reminders to the payee

Related

https://github.com/opencollective/opencollective/issues/6126
https://github.com/opencollective/opencollective/issues/6225

This seems like it introduces potentially risky complexity:

Do we need to keep the "invalid" form on record?
Do we need to add this status to the navigation, status column, filters?
Are we going to have both "expired" and "invalid"?
Are there going to be two tax forms on record for the same payee - one invalid and one valid?

From the examples we have from OCF do we know what was incomplete?
Can we avoid this altogether by properly validating the form (now that we have full ownership of the process)?

Do we need to keep the "invalid" form on record?

Legally speaking, we'll surely have to keep this record. As evoked in https://github.com/opencollective/opencollective/issues/7218#issuecomment-1916470709, the way I'd approach any editing functionality for tax forms would be to create a new entry and archive the old one (immutability). This is actually a requirement from the ESign act in the US: your system shouldn't let people edit the data for something they've signed in the past (see https://github.com/opencollective/opencollective/issues/7220#issuecomment-1893519455).

Do we need to add this status to the navigation, status column, filters?

Our legal documents already have a requestStatus column accepting REQUESTED/RECEIVED. Adding a new status there would make sense to me.

Are we going to have both "expired" and "invalid"?

I would make the distinction, yes.

Are there going to be two tax forms on record for the same payee - one invalid and one valid?

Yes, or even more if the tax forms get invalidated. I'd say there should only be one RECEIVED (=VALID) at all times though, submitting a new tax form should mark all the previously submitted ones as expired.

From the examples we have from OCF do we know what was incomplete?
Can we avoid this altogether by properly validating the form (now that we have full ownership of the process)?

I don't have the exact cases in mind anymore, would be great to ask them now that the process is still fresh in their minds. It's possible that better form validations will help prevent some issues, but I don't think we'll be able to catch all of them: a typo in your fiscal ID number for example is something we can hardly prevent.


Added superseded note to 5.1 docs

See https://trello.com/c/1VCpNEFp/195-google-shows-old-versions-as-recent
As an interim help, while we get the hang of getting Google to point at the new docs more quickly, I propose sticking a banner of the 5.1 docs to make it clear these aren't the most up to date ones any more.

Building now, check any page under https://www.openmicroscopy.org/site/support/omero5.1-staging/ for review


Do not overwrite test script to allow tests to be rerun

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

The new test in 5.4.3 or 5.4.4 spyder/app/tests/test_mainwindow.py::test_clickable_ipython_tracebacks modifies the sample script script.py used by other tests.  This means that those other tests will fail if they are run after this test.
This PR fixes this by copying script.py and editing the copy instead.  It also means that this test itself can be rerun.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @juliangilbey

Ah, those are all very good points, thank you!  I must have experienced a crash in the middle of this test, leaving the script in a "broken" state. I'll push an updated patch shortly.


Aurora CONSTANTLY using internet bandwidth to upload 24kps. To where? Why?

What are you experiencing an issue with?

[x] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[x] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Using internet bandwidth to upload in background constantly. Turned off all update settings, but even then should only be downloading. 24kps is a lot of bandwidth...
Expected behavior:
Explain here what should happen.
Not use internet.
Actual behavior:
Explain here what happened instead.
Constantly sends 24kps
How often does this problem occur?

This problem occurs... (Fill in here)
Every time
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Open app

What is the version of Aurora you are experiencing this issue with?

My version is... (Fill in here)
Newest
Does the previous version of Aurora have this issue?
The previous version, (Fill in the version here), did/did not have this issue.
New user
Please include any logs, screenshots, or files that
![aurora using internet]

are related to this issue:

For logs, you can use: http://pastebin.com/
For screenshots, you can use: http://imgur.com/
For files, you can use: http://www.tinyupload.com/ , https://www.dropbox.com/ , or attach them to the issue.
https://imgur.com/xDzHftP

It is most likely caused by AtmoOrb, see #342. The issue with it has been fixed in the dev releases, please either disable AtmoOrb or update to one of the dev releases.


File upload stays pending for unacceptable file extensions (localhost and dev.podkrepi.bg)

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
Storage
Describe the Bug
When uploading a file that is not acceptable (function validateFileType() from files.ts deems it so and calls the cb) the request remains pending forever
To Reproduce

Visit /admin/campaigns/create
Fill in form
Add a .exe file for the files
See 'pending' status* after submit

*requests tab in dev tools
Expected file returns a 4xx error

Expected Behavior
Expected unacceptable file request returns a 4xx error
Which browser are you using? (if relevant)
Edge Version 128.0.2739.54 (Official build) (64-bit) (also tested with chrome - same effect )

Notes:

when working locally under WSL and with s3-ninja it seems that after I get this pending status any other nest js request hangs -

restarting docker and the containers and the processes seems to reset it

it seems there was a similar (?) issue a while back https://github.com/kyle-mccarthy/nest-next/issues/67

Unable to reproduce on my end. The server responds with 500(though we can improve the respond to be 4xx).


Create a roadmap for future development

I've been tasked by the CoZ council with driving the development of a roadmap and vision for future development of neo-scan.
I think this is best achieved as a collaborative process among all the active contributors to the project, so to facilitate that, I've added an empty roadmap markdown document to the project to be shaped over time by all interested parties.
This thread can be left open and used to discuss potential milestones and other roadmap-related items until a consensus has been reached. Please add your thoughts below.

Option to display block time in ms
Option to start a neoscan service with NEP5 richlist.


Update gsctl scale cluster docs article to be KVM only

The gsctl scale cluster command docs still contained a lot of explanation that's no longer relevant.
Now that there are almost only clusters with node pools on AWS and Azure, the command does not apply any more on these providers. The command is effectively only usable on KVM now.
I also added a pointer to the right command to use for AWS and Azure (gsctl update nodepool).

Moving on


Fancyzones: Win+up should maximize the window (isntead of noop)

Microsoft PowerToys version
0.74.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
FancyZones
Steps to reproduce
Configure row layout with two rows:

Put Window in lower zone
Press Win+Up
✔ Expected Behavior
Window maximized (or in upper zone)
❌ Actual Behavior
Nothing happens
Other Software
No response

Hi!
You should be able to change how FancyZones interact with WIN+Arrow shortcut in settings.

/needinfo

OMG, it works with Notepad++, but not with OneNote, Windows Explorer, or Greenshot.
Note that Notepad++ is positioned with a small border, whereas the other three apps are not.

I double checked it at the preferences:

For completeness, here the configuration of the zones. It is really about the "Rows" configuration. One can also have it at screens more wide than high.

Still happening on v0.75.1


fixing numeral formats in mobile

Resolves tasks in:

https://github.com/esridc/openfda/issues/74
https://github.com/esridc/openfda/issues/63

LGTM


fullscreen windows

Hi, I'd like to make windows fullscreen, thanks. I suppose currently I could manually get the screen size and set the image to that.

Hi, Currently there is no support for fullscreen no.

Is there anything specific preventing it currently?

It depends a bit on how you want to implement it. There are two ways I see doing it

Switch the resolution of the monitor. This is what games do, and yields better performance.
Scale the screen to fit the current screen resolution.

Both of the above requires correct aspect ratio handling for the screen to look correct. Also it the style of window needs to be changed as well (so no title is shown etc)
So while there is nothing really preventing it it's a bunch of work to support on all platforms as the APIs for each platform is different and currently macOS, Linux, Windows and Redox is supported.

Yes but because minifb just renderes one fullscreen quad pretty much all GPUs can do that at full speed for your desktop resolution. So instead of actually changing the desktop resolution it would render a borderless maximized window at the current desktop res.

@emoon AFAIK Fullscreen mode is used to prevent compositing and thus reduce latency.


Release 4.1

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (da4653b) 97.13% compared to head (eadf0c7) 92.41%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #126      +/-   ##
==========================================
- Coverage   97.13%   92.41%   -4.72%
==========================================
  Files          12       12
  Lines         767      765       -2
  Branches      172      100      -72
==========================================
- Hits          745      707      -38
- Misses         18       52      +34
- Partials        4        6       +2

Flag
Coverage Δ

acceptance
?

unit
92.41% <100.00%> (-0.02%)
:arrow_down:

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

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


[C-binding]

While working on docs, I ran into the issue that Automerge has some constraints around what is a valid Actor ID and what isn't. Would it be possible to extend the C bindings to support an API call that returns if a given string is a valid Actor ID or not?
It's convenient to be able to create an Actor in the Swift API using a string literal, but it doesn't seem sensible to reproduce any constraint/error checking in the Swift API if it can be exposed from the C API.

Hmm. In principle there should be no constraint here. We represent actor IDs as just sequences of bytes (although things will be much faster if you use < 128 bits). The solution the should be to figure out what part of the codebase is erroneously requiring a UUID string and relax that check.

Makes sense - I wasn't sure if there was an intended constraint here or not, and assumed there might be based on the debugging of the swift side of this code with @lightsprint09.
The C binding where I hit this (although I think it's safer to assume it's core and not just this method) was
automerge_apply_local_change(automerge, string) - in this block from  RSBackend.swift:
    public func applyLocalChange(request: Request) -> Patch {
        let data = try! encoder.encode(request)
        let string = String(data: data, encoding: .utf8)
        let length = automerge_apply_local_change(automerge, string)
        var buffer = Array<Int8>(repeating: 0, count: length)
        automerge_read_json(automerge, &buffer)
        let patchString = String(cString: buffer)
        let patch = try! decoder.decode(Patch.self, from: patchString.data(using: .utf8)!)

        return patch
    }

The string that was passed in (I manually added the newlines for formatting):
{"startOp":1,"actor":"actor1","time":1638388597,"message":"",
"ops":[
  {"insert":false,"action":"set","obj":"_root","pred":[],"datatype":"int","value":1,"key":"x"}
],
"deps":[],"seq":1}

And when the function was called, the C API returned -1, which ultimately led to the crash scenario.
While debugging, @lightsprint09 asserted:
The actorID needs to be a special format. It looks like only a UUID without the - is allowed
Based on what you're saying, that's more hypothesis than resolution - if so, then this is a bug report about a failing call through the C API instead of a request for additional API to support exposing constraints. ;-)

I'm not at a computer right now but I'm pretty sure the JSON encoding of actor IDs uses hexadecimal notation. I think this is consistent with the JS side

See my comment here https://github.com/automerge/automerge-swift/pull/48#issuecomment-986088362

So it sounds like arbitrary strings can be the source - but any strings going to the backend are expected to be characters in the set of those that make up hex strings. Not much need for an API endpoint for just that then, just need to reflect it within the Swift API where we hit the crashing scenario and make sure we can't do that again.

Would it be possible to extend the C bindings to support an API call that returns if a given string is a valid Actor ID or not?

FYI, I added a function to the experimental C API in #275 that generates a hexadecimal actor ID string in case one is not in the mood to guess.


get rid of NodeJS

Steps

Decide on Python or Go
Have a proxy that allows transparent removal of parts of the backend without changes in the frontend

maybe, somewhere between 1. and 2., @michmech have the current API explicitly 'documented' or, at least, some core functionality of it:
/ENDPOINT
 - input: data (format + semantics)
 - returns: data (format + semantics)

This is somewhat selfish: i would like to use lexonomy within our neologism curation task. To do so, i would need to map the rather petty API from here onto lexonomy.
This is likely related to #61 (and could be considered a new task entirely - but know what is still missing, the API documentation would help...)

Well, the current "official" API is documented here:
https://www.lexonomy.eu/push.api
Perhaps you could extend that one.

Yes, documenting Lexonomy's server-side endpoints (we can call that an "API") is desirable and doable. I'll be happy to do that.
No, this issue is not related to issue #61. Issue #61 is about the API Sketch Engine provides to Lexonomy for pulling. That's something else entirely.
Yes, this issue is related to issue #63. Issue #63 is about this API: https://www.lexonomy.eu/push.api which Lexonomy provides to Sketch Engine for pushing.

Yes, documenting Lexonomy's server-side endpoints (we can call that an "API") is desirable and doable. I'll be happy to do that.

just made a clickable sub-task for you ;)

No, this issue is not related to issue #61. Issue #61 is about the API Sketch Engine provides to Lexonomy for pulling. That's something else entirely.
Yes, this issue is related to issue #63. Issue #63 is about this API: https://www.lexonomy.eu/push.api which Lexonomy provides to Sketch Engine for pushing.

i have been wondering about this distinction - but now i (think i) understand :)

first attempt (proxy) in 9eaa7c946f1573db9a120761ec2ba5ae196dc2c8


Dependency test runs great but not Ifcconverter.

Dependency test runs great but not Ifcconverter. Maven script creates project in Bimserver.
Ifc converter Main.java still cannot reach Bimclient:
Error: Unable to initialize main class ifcconverter.Main
Caused by: java.lang.NoClassDefFoundError: BimServerClient
Maven dependencys pom files on both accurately the same.
Bimserver 1.5.147
JDK12
Eclipse Modeling Tools
Version: 2019-03 (4.11.0)
Build id: 20190314-1200

I think it's because you need to use JDK8
https://github.com/opensourceBIM/BIMserver/wiki/Requirements-1.5

I think its either problem with JDK and Eclipse, Eclipse and Bimserver or JDK and Bimserver. Which setup of versions runs on your machine?
Gauti „Outlook“, skirtą „Android“
On Thu, Jun 6, 2019 at 7:13 AM +0200, "Erfan-Shooraj"<EMAIL_ADDRESS>wrote:
I think it's because you need to use JDK8
https://github.com/opensourceBIM/BIMserver/wiki/Requirements-1.5
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You should set the JRE in eclipse to 1.8. That's the version I'm using and I can connect to BimServer running locally.
Also, if you change the version in pom file make sure it's the exact same as the one in your BimServerClientLib pom file with the ending SNAPSHOT if there is one.

Your eclipse is latest release?
Gauti „Outlook“, skirtą „Android“
On Thu, Jun 6, 2019 at 12:45 PM +0200, "Erfan-Shooraj"<EMAIL_ADDRESS>wrote:
You should set the JRE in eclipse to 1.8. That's the version I'm using and I can connect to BimServer running locally.
Also, if you change the version in pom file make sure it's the exact same as the one in your BimServerClientLib pom file with the ending SNAPSHOT if there is one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No but eclipse version shouldn't be your problem. You can try running the project as maven build. even if the build fails it can resolve the dependencies from pom file

Ifc2b3dm as Maven?
Gauti „Outlook“, skirtą „Android“
On Thu, Jun 6, 2019 at 2:17 PM +0200, "Erfan-Shooraj"<EMAIL_ADDRESS>wrote:
No but eclipse version shouldn't be your problem. You can try running the project as maven build. even if the build fails it can resolve the dependencies from pom file
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

yes

262182
java.io.FileNotFoundException: C:\bin\IfcOpenShell-masterlabamba\labamba.json (The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
at java.base/java.io.FileInputStream.(FileInputStream.java:155)
at java.base/java.io.FileInputStream.(FileInputStream.java:110)
at java.base/java.io.FileReader.(FileReader.java:60)
at ifcconverter.Main.main(Main.java:82)
everything worked what you have mentioned, but now Im here.

Seems like you don't have the json file of your project in your converter folder. Just download your model as json and put it in the converter folder. It should solve the error.
You can also uncomment the downprojectjson line on line 63 but sometimes it doesn't work


mmirs_pipeline cannot handle non-A0V or G0V star

Upon attempting to run mmirs_pipeline, it crashed as it couldn't find the telluric calibration dataset for an A2V star.  Igor Chillingarian mentioned he would push out a significant change to telluric calibration soon.  Until then, there needs to be a simple implementation to use either A0V or G0V.

Change implemented in 7914775


Use default driver in bash completion for docker-machine create

Just found in the release notes that Docker Machine now has a default driver.
This PR reflects this change in bash completion: the virtualbox options are completed if no --driver is given.
As I already touched that line, I also tightened the command for harvesting driver options.

This change is not needed.
The virtualbox options are now included in --help and therefore detected by bash completion as-is.


Infinity 1130 launchccm permissions templates

quick fix; not sure why this shows all changes in branch instead of actually diffing against master; change is just https://github.com/mesosphere/dcos-commons/commit/aefc174664875e21102bea48befcb7725665e7b6 at this point

@susanxhuynh : I don't know; I called that out in my original comment.
I reused the branch, which could have contributed (we reused the jira after all), but the branch has every change in it from master, so... not sure how we're diffing.

@jsrodman OK, hopefully, it will figure this out when merging.

Git merging the same changes will be fine, but it's disturbing for sure.


A typo in tutorial1

here
g++ lpthread ./pthread_vector_addition.cpp -o ./pthread_vector_addition
shoule be
g++ -lpthread ./pthread_vector_addition.cpp -o ./pthread_vector_addition

Hi @yigudove
Thank you so much for pointing out this typo as well as helping us answer the questions from other students. I have fixed that typo with a new commit.


Inline Fragment Support

Ran into this issue migrating a personal project that uses the GitHub API. It seems that the inline fragments (implementations) on the GitObject aren't getting properly exposed. I suppose I expected to see x.$on or x.$as in the example.
edit After digging into GitHub's schema, they rely on returning the GitObject interface from repository().object() which can then be cast to one of Blob, Tree, Commit, Tag. After digging through the GraphQL resources, this is a feature of GraphQL. If a query/mutation returns an interface, then you can request any of the polymorphic casts of that interface.
Schema: https://api.github.com/graphql (or download at https://docs.github.com/en/graphql/overview/public-schema)
# GraphQL Query
query SelectObjectContents {
  repository(name: "codedrift", owner: "jakobo") {
    object(expression: "main:src/data/manifest.yaml") {
      ... on Blob {
        id
        text
      }
    }
  }
}

Finally, given our other conventions around unions, I suppose this is how I expected the polymorphism to be exposed.
export const selectShortlinkData = query((q) => [
  q.repository({ name: "codedrift", owner: "jakobo" }, (r) => [
    r.object({ expression: "main:src/data/shortlinks.yaml" }, (o) => [
      o.id,
      o.$on("Blob", (b) => [b.text]),
    ]),
  ]),
]);

Did additional digging this morning to see if we can do this w/o adding yet-another-schema to the examples. I was able to replicate locally using the star wars api, since the root node() returns the interface Node and should allow for polymorphism.
query {
  node(id: "sample") {
    ... on Person {
      id
      name
    }
  }
}

I'll see if I can at the very least make a PR demonstrating the failing test case as test-sw.bad.ts; still wrapping my head around compile.ts.

Thanks, a test case will be very helpful.

Done in #37. All tests pass since the current implementation is marked as failing test-fragments-sw.bad.ts


Idea for the log tab

At the moment, the only way to view hornet logs is by checking the logs via console. While those logs are detailed and good for finding issues, the average user is overwhelmed by it. The log tab should therefore only contain a limited subset of information, allowing a quick check to see if anything notable has happened in the last time
I would split the entries in this tab into 3 categories:
Information: Anything that is worth to show, but does not require user action, e.g. peers connecting, node sync again after falling behind, mana changes to the node in the last x hours, maybe some average mps metrics, ... community probably has some more ideas
Warning: This category is for events that might pose a problem, e.g. only 1-2 healthy peers, node on high load for a longer time, node falling behind/not receiving milestones, processor queue full, milestones taking way too long to solidify, node running low on disk space/memory, etc.
This can probably help a lot when looking into more hidden bugs.
Error: This one is used when something very bad happens, e.g. no sync peers, hornet entering database revalidation, etc.
If the node has not been sync after a restart, most warnings (like no available peers) should be suppressed until the node is sync for the first times
The user can filter by category using icons on the top (select & deselect). By default only warnings and errors show, unless there are none.
Also the time interval can be adjusted via dropdown. The log entries are rotated after 14 days by default.
This could also help with finding long-term errors, without scrolling through days of logs.

This needs support from hornet side, to make the zipped logs available through some endpoint.
No priority at the moment for this.


Use in Bootstrap Modals

Hi,
I'm having some issues using this directive in a Bootstrap modal window.
According to the clipboard.js documentation, we have to define the container in this case:

For use in Bootstrap Modals or with any other library that changes the focus you'll want to set the focused element as the container value.

new Clipboard('.btn', {
    container: document.getElementById('modal')
});

Is there a way to pass the container reference?
Thanks, I appreciate your help!
Cheers, Sebi

You should use clipboard.js directly since this package does not handle native DOM.

the same question with me. How to pass the container reference


Relative urls when generating static report

Describe the bug
I am using --build-static to generate the HTML report in our pipeline. Since I will use Gitlab Pages for the reports and having only one page domain for all branches I move the reports to a relative path.
As example when having the Pages URL https://project.pages.domain.com, will move the reports to https://project.pages.domain.com/<branch>/. This does not work since all asset urls are using absolute paths in the generated index.html, css and js files.
I am currently replacing them with sed -i  's/\/assets\//assets\//g' public/$UNLIGHTHOUSE_REPORT_PATH/index.html.
This works for the most but some assets are still requested from the absolute URL which results in an 404 response from the webserver.
Example:
# URL in rendered HTML
https://project.pages.domain.com/reports/en/news/screenshot.jpeg

# Real URL:
https://project.pages.domain.com/<branch>reports/en/news/screenshot.jpeg

Reproduction
No response
System / Nuxt Info
No response

👋 you’re looking for the routerPrefix / --router-prefix option I believe.

Thanks, @thibaudcolas, this is the right solution so I'll close this.