Make java code samples easy to use

Update: see notes further down. Now expanding to improve overall usability of java samples
Our notebooks use a few environment variables so that they can be used without change across localhost, docker-compose & k8s
The java code samples tend to assume localhost:8080
It would be nice to support the same environment variables in the code samples, so that as well as using standalone, they could also be used 'as is' within an appropriate tutorial environment
Some docs will be needed, since the user may be running the code samples on local laptop, yet running egeria on k8s or compose, but the default could be to assume they will run within the containerized environment, and provide docs about setting them if not.
This would make it easier for someone to work through the samples

We could also consider using the same typical user ids and server names as that used in the tutorial setup, ie for asset management sample use peter profile, for admin use gary geeke

The values can be replaced (and as a code sample that's not too much to be expected) in the code, or via cli parms, but it still feels more approachable if things work out of the box to get people up to speed.

Hello Nigel,
I think we do already use the same userIds.
Also I thought all the samples take the url and server name as a parameter.

It's primarily the URL that we default to http://localhost:8081 or similar in the code and we could default that using the variable name defined in the docker/k8s environment. This would just slightly reduce the steps (either by setting input parms - and I realise things like the file need to be specified anyway) if/when we want to integrate client code (and a new container) into these tutorial environments
Just like in the notebook we would set the URL to a) input parm b) env var if set c) default to localhost version
It's relatively minor, we may decide unnecessary
As an example, the CSV file reader sample
cocoMDS1
garygeeke
http://localhost:8080
Yet in the asset management notebook, the users are peterprofile using cocoMDS1 on localhost:8081, and we also use erinoverview using cocoMDS2 on localhost:8080
Consistency would help re-enforce the scenario, and make it easier to work /experiment with the samples in a sandpit environment

#284 is adding further client samples with hardcoded URLs
This issue should be broadened out. It's about making it easy for a developer to experiment with client examples. To do this they will also need an egeria server to use.
We already document a few different ways to run a sample egeria environment 'ootb' - locally, docker-compose, k8s . There's also documentation on running egeria more generally by launching the platform directly - or indeed a user could simple run the own managed docker containers.
The client samples are likely to often be run locally at the cli, or from a user's IDE -- but for demos may also run in a container
So ensuring parms can be passed, and/or picked up via environment/properties is essential.
However in addition, the samples need to be easily obtainable, and buildable
I would therefore suggest we need to do the following

ensure every sample can be built standalone - providing it's own maven pom.xml for example, not dependent on egeria parent
ensuring that each sample is setup to use any required dependencies - either by colocating dependencies within the jar, or providing the jars in an appropriate place (former probably easier)
ensuring all samples are collected, with any required clients, into an appropriate assembly (.gz etc) for sharing
providing a new docker container, or more likely a way to use the existing one (hint: it probably already works but isn't documented) to run code samples to support labs
Look at an easy way to configure the hosts/ports to be used - perhaps a combinations of properties (easy, via env vars to inherit in a container) or invocation parms
documenting the above

One somewhat parallel consideration is whether we want to move samples to a seperate repo. ++ : clearer, easier to clone, less confusion. -- : another repo to manage

See #284 - need to decide where to put/distribute the clients, ie new repo etc

#2693 has seperated out the samples into unique modules, but further work is needed on the code/docs etc so this remains relevant to leave open

The code samples now are runnable, and synchronized with the users used by coco.
They do still build off the main maven project rather than seperately
They do assume localhost, since it is expected a developer is only running the code samples locally. We have no 'containerized' tutorial support which is a potential option for the future
removing from the 2.0 milestone as we consider further work for the future in this area

With some basic work done, the next improvement for usability is to migrate these code samples to the new repository
Assigning the issue there for the right focus (even though we'll need a PR here to execute removal)


chore: add workflow for javascript platfroms

Signed-off-by: Shivansh-yadav13<EMAIL_ADDRESS>

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 75.694%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1312

Relevant Lines:
1649

💛  - Coveralls


feat: support for Azure Blob Storage as storage backend

Implement #113

Thanks for your review. I will go through your comments and make the necessary changes. :)
If you need help with testing, just let me know. I'm glad to help with it.
Unit tests are something I need to have a look at, but I think I can contribute some tests. :)

Thanks! Everything looks good so far, I would just like to test everything out myself and if nothing comes up then, it should be ready to be merged.
I'm quite busy this week with another project I have to finish in time, it might take ~1 week until I get to testing it :/

FYI I did not forget this PR :)
Unfortunately, I had problems authorizing the azure SDK to my Azure account. I spent a couple of hours trying to get it working, but I didn't succeed.
I tried using a Service principal with a secret, username and password, as well as az login. I could use the az CLI to list the blobs, but the SDK wasn't able to do so.

Thanks for the feedback. :)
Did you receive an error? Could be a permission issue on the Storage Account.


[BUG] Timer delay in chrome version.

The timer is working perfectly fine in development mode. But when I send it to production the timer only decreases after a few seconds, or minutes. IDK why this happens but I think that the problem must be here in the create alarms function.
/src/background/index.ts

I've changed the alarm to a simple setInterval. It seems to work better, but I will only be sure when the extension is approved by Google.


Add multi currency vaults

Add KINT as collateral

Updated tests/code to work with upgraded docker images (parachain version 1.13.1, clients version 1.11.2)
Added new collateral currency, KINT
Updated tests to run for KSM as well as KINT collateral currencies
Enabled and fixed test checking vault theft and liquidation
Update @polkadot/api to version 8.6.2

Breaking changes to exposed API:

VaultsAPI.reportVaultTheft now takes vault ID (InterbtcPrimitivesVaultId) instead of only account ID
VaultsAPI.isVaultFlaggedForTheft now takes vault ID (InterbtcPrimitivesVaultId) instead of account ID and collateral currency literal ID
Removed ConstantsAPI.getTransactionByteFee(); constant no longer exists

For later: We should think of a way to make it clear that the tests are running on new parachain and clients versions - maybe tag parachain-launch versions. The yarn docker-parachain-start script just pulls the master branch of the parachain-launch script, so reviewers of this PR would be unaware of any changes.

We should think of a way to make it clear that the tests are running on new parachain and clients versions - maybe tag parachain-launch versions. The yarn docker-parachain-start script just pulls the master branch of the parachain-launch script, so reviewers of this PR would be unaware of any changes.

Yes! I was thinking along those lines, too.
Certainly a fan of tagging. Using separate versions for our fork of the official parachain-launch can get tricky. So I want to think about that for a bit.
I also want to at least check if we can possibly go back to the upstream version of parachain-launch rather than maintaining a fork, and keep the configuration details in the lib to then be generated as part of yarn build.

There are a fair number of skipped and commented tests but I assume these are for future work? We should definitely sync on what can be moved into the parachain / client tests or even removed to make your life easier.

As for the skipped/commented tests: Yes, they are future work and haven't been deemed critical for the goal of getting multi-collateral vaults out.
As for reducing integration test numbers: Yes, I absolutely would love to get rid of the ones that the parachain and/or clients test themselves.
That, and the introduction of instant-seal should make these tests much, much faster.


Incorrect XML?

This line seems strange:
<proxy bypassonlocal="True" proxyaddress=" HYPERLINK "http://<yourproxy:port#" http://<yourproxy:port#>"/>
Should this be:
<proxy bypassonlocal="True" proxyaddress="http://<yourproxy:port#>"/>

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1c02d9ac-3066-a613-ad20-7362541a0e1e
Version Independent ID: 74bd1b09-9269-1a01-1429-6b548cc343e6
Content: Troubleshooting network-related errors when you install or use Visual Studio - Visual Studio
Content Source: docs/install/troubleshooting-network-related-errors-in-visual-studio.md
Product: visual-studio-dev15
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@kylejrp Thanks for your feedback! We'll investigate and report back.

@kylejrp We'll have this fixed with tomorrow's regularly scheduled publish at noon. Thanks again for reporting it!

The line still seems off to me. Is this the correct line of code? The syntax highlighting makes me think that this is incorrect:
<proxy bypassonlocal="True" proxyaddress=" HYPERLINK "http://yourproxy:port#" http://yourproxy:port#"/>

You still haven't fixed that. I'm trying to set it in VS and nothing is working. This sample code is useless.

All you need is  :
<system.net>
          <defaultProxy useDefaultCredentials="true" enabled="true">
           <proxy usesystemdefault="True" />
         </defaultProxy>
    </system.net>

It should pickup the proxy settings from IE settings

@kylejrp After consulting with our engineering team, I've verified that the updates to the page are now correct. Thanks again to you for reporting the issue, and everyone else for your input, too.


webpack can support?

i want use webpack to package my porject and start use 'node'  commond to start my project, but start is fail.

Please be more descriptive the next time you open an issue. This is sadly way too general. If you want, you can ask questions here. 😊


Click to copy button

Currently relies on onlyText in utils, however, that is returning code copies that have a lot of extra line breaks. Could use @aulneau 's advice!

Pair programmed w/Thomas a bit to hash this out in feat/next directly so closing this PR


Update Earning feature for Webapp

Update Earning feature (currently is outdated) for Webapp
Todo:

[x] #2565
[x] #2566
[x] #2567
Update Earning Detail screen

Bug related to this feature in issue https://github.com/Koniverse/SubWallet-Extension/issues/2652


BoJack client shard

We need a special repository for the BoJack client shard, so that Crystal developers can install only the client, as we already have the Python client.
Client only, the console should remain under this repository.
@hugoabonizio If you want to be in charge of this you could create the bojack.cr repository that would be a client for BoJack, move the content from this repository to yours and also use the shard here to point to the Client class.
If you do so, I would like to ask to also rename the CLI command, from client to console to avoid any future misunderstandings.
I would like to as both @mauricioabreu and @hugoabonizio that the clients follow the release number of the server, so it is easy to identify compatible versions.

Hm, about the last parte (versioning): I don't know if it will work for Python.
Python does take in consideration the version number to upload a package to PyPI (Python Package Index). If a bug is fixed on the client package, it could not be updated.

@marceloboeira OK, I'm doing this!
@mauricioabreu you can update the PATCH version of the package, I think. So your package for BoJack v0.2.0 can be <IP_ADDRESS>, for example.

@hugoabonizio perfect!
I was not clear about the patch version. @mauricioabreu Thanks for remind us.

@marceloboeira yey, you are welcome :)

I created the repository https://github.com/hugoabonizio/bojack.cr and named the shard "bojack-client" to avoid conflicts.
To write the specs I'm suposing the user has BoJack already running at <IP_ADDRESS>:5000, but to test on Travis I think I should include this repo as a development_depencency.

@hugoabonizio take a look how the http://github.com/marceloboeira/bojack-kemal-heroku is doing this, I use bojack (this repo) as a shard and run the server in the same process. This way you "inject" bojack in the same process as a dependency.
Just remember to make it a development_dependency, in order to prevent circular references.

As soon as you finish and release a stable version, we remove the code from here and close this issue.

Closed in #38.


forum issue: links are not highlighted anymore

See, this is a link:

It's unrecognisable from other parts of text. Spam links will be so easy to miss by mods like this.

Fixed in https://github.com/freeCodeCamp/forum-theme/pull/140


Dynamic defaults set using default_factory show up in exported JSON schema

Question
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.5.1
            pydantic compiled: False
                 install path: [home]/repos/fastapi-test/.venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.2 (default, Apr  8 2020, 14:31:25)  [GCC 9.3.0]

Hello!
I'm currently developing an API using FastAPI, and, by extension, Pydantic.
There are a few fields which require dynamic default values, e.g. created_date, and per https://github.com/samuelcolvin/pydantic/issues/866 I've been using default_factory to do so. However, when a field has a default value defined using a factory, the dynamic value shows up in the generated JSON schema, which might not be desirable?
Example:
from datetime import datetime, timezone
from uuid import uuid4
from pydantic import BaseModel, Field

class SchemaTest(BaseModel):
    uuid = Field(default_factory=uuid4)
    created_date: datetime = Field(
        default_factory=lambda: datetime.now(timezone.utc)
    )
print(SchemaTest.schema_json(indent=2))

The above outputs
{
  "title": "SchemaTest",
  "type": "object",
  "properties": {
    "created_date": {
      "title": "Created Date",
      "default": "2020-05-15T10:04:18.692173+00:00",
      "type": "string",
      "format": "date-time"
    },
    "uuid": {
      "title": "Uuid",
      "default": "79a35356-4619-49da-9bbe-4be75a696485",
      "type": "string",
      "format": "uuid"
    }
  }
}

These values are of course different each time the schema is generated.
I understand why it happens, but I'm not sure it's entirely correct to expose the value in the JSON schema like this. It's worth noting that this is not a problem when using the "old" method of setting defaults via a validator.
Please let me know if I'm missing something, or that this is indeed appropriate behavior. Thanks for developing such a great tool!

You can probably give it a note that this is dynamically generated to be the current datetime, and the default is only an example of the output.

Hello @jnik-aarhus !
#1504 should also solve your issue.

I don't see how #1504 would fix this?

@samuelcolvin Because of this line where I set default as None instead of calling the default_factory. But I need to have a look at your response


Review and update Container Registry rule docs

Review and update rule documentation with template and bicep examples.
Find documentation here: https://azure.github.io/PSRule.Rules.Azure/en/rules/resource/#container-registry
Find source here: https://github.com/Azure/PSRule.Rules.Azure/tree/main/docs/en/rules

I found the following rules in Azure.ACR rules without code samples:

GeoReplica
ImageHealth
Name
Usage

I will focus on those during the Microsoft Hackathon.


[backport] Add cupy-cuda101 to README

Manual backport of #2196

Jenkins, test this please.

Jenkins CI test (for commit b836ef92c11db3f26ecb1ba626f30bc5d84d58ab, target branch v6) failed with status FAILURE.

Jenkins failure unrelated.


docs: add helm chart readme

Description
Adds a readme for helm chart values.
Inspiration from Gatekeeper's helm chart.
What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #564
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

@binbin-li @susanshi appreciate a review on this whenever you have a chance. No rush on this.


Use task configuration avoidance in the Wrapper docs

The snippet to configure the Wrapper task to use a given
distribution type was creating the "wrapper" task eagerly.
It's not a huge performance deal but it's better to lead with
examples.
Context
IMHO, more developers should know how to avoid task configuration.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation
[ ] Recognize contributor in release notes

Thanks, @davidburstrom!


There is no docker image with "devel" for version 1.13.1 and 1.14 in docker hub

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): Docker image for tag '1.13.1-devel-gpu-py3' and for 1.14
TensorFlow version: 1.13.1 and 1.14
Python version: 3.6
Installed using virtualenv? pip? conda?: Docker image unavailability issue
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: 10.0
GPU model and memory: GTX 1060 NVIDIA

Describe the problem
There is no docker image with "devel" for version 1.13.1 and 1.14 in docker hub. I am not able to compile these versions from source and install. There are no tag with names "1.13.1-devel-gpu-py3" and "1.14.0-devel-gpu-py3".
Provide the exact sequence of commands / steps that you executed before running into the problem
The issue is with unavailability of Image with "devel" tag for 1.13.1 and 1.14.0.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
NA

That's correct. Following TF 1.12, we no longer provide devel containers based on specific versions, as devel tags are to be used for developing TensorFlow. If you would like to develop from source, please use the devel- tags instead, which are intended to support development for TensorFlow at master HEAD.

without a devel version with bazel, how then is one supposed to run the speech_commands example?

@bjarthur, our devel- tags do contain Bazel. You should be able to use the existing devel- images to run the audio file generator.

so to run the examples i have to be on master?  would prefer to be on a release branch.

For the examples that use compiled source code, yes, that's correct. However, our development images do also contain a known-to-compile-commit in /tensorflow_src.

Also note that once in the docker container other branches can also be checked out and built from. We don't guarantee that the code will compile, though in the majority of cases it should as the last commit on a release branch should also be the commit from which we generate the release associated docker tag. Thus, modulo some environment changes, only one devel- container should be needed to build on any release branch

If TF 1.14.0 devel image will not be provided, Can you share how to reproduce speed of 1.12.0-devel-gpu with TF 1.14.0-gpu ?
There is  a speed difference between devel and not devel image during training phase.
Although I don't develop from  source, I prefer to use 'devel' image for training

: In this experiment, there are about 3 steps difference per sec.

I also tried to build a image of tensorflow/tensorflow:1.14.0-devel-gpu-py3 which has source compiled tf installed.
But I couldn't build the image which is faster to train than non-devel tag like 1.12.0-devel-gpu-py3.
So, I really want to know building the image like that tf team officially built devel tag until 1.12.0.


feat: add azure service bus feature to license

Issue
https://gravitee.atlassian.net/browse/APIM-3928
Description
add azure service bus feature to license
Additional context

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 5.15.0-apim-3928-add-asb-feature-SNAPSHOT
download it from Artifactory here

:tada: This PR is included in version 5.15.0 :tada:
The release is available on:

5.15.0
GitHub release

Your semantic-release bot :package::rocket:


CMake(.Net): Add support for aarch64: publish runtime.linux-arm64 for OrTools on Nuget

Environment
What version of OR-Tools and what language are you using?**
Version: master
Language: .Net
What operating system (Linux, Windows, ...) and version?**
Linux: mandatory
Windows: nice to have
Mac: need "Apple Silicon" aka M1 support
Additional context
May use https://github.com/multiarch/qemu-user-static to test aarch64 build in a docker.
Reference:
.Net RID Catalog

Any progress on this issue?

Yes and no,

since makefile is now based on the CMake build it should be easier to integrate this feature.
I've heard of user be able to hack to cmake to make it works
CMake infra should be easy to adapt
https://github.com/google/or-tools/blob/49b6301e1e1e231d654d79b6032e79809868a70e/cmake/dotnet.cmake#L33-L41
and /Platform argument to make dynamic
https://github.com/google/or-tools/blob/49b6301e1e1e231d654d79b6032e79809868a70e/cmake/dotnet.cmake#L194
https://github.com/google/or-tools/blob/49b6301e1e1e231d654d79b6032e79809868a70e/cmake/dotnet.cmake#L237

then it should be ok


573 handle id_resp and generate id_result for frontend

Pull Request Overview

Handle the id response from Sage properly
Build the ID_result for the frontend

**REST API Updates **
[GET] /api/v1/sightings/{sighting_uid}/id_result
{
    "annotation_data": {
        "5c9bc1b2-5e5f-4029-88e4-43e6d94c5bf3": {
            "asset_dimensions": {
                "height": 664,
                "width": 1000
            },
            "bounds": {
                "rect": [
                    45,
                    5,
                    78,
                    3
                ],
                "theta": 4.8
            },
            "encounter_location": null,
            "image_url": "http://localhost/api/v1/assets/src/764cc968-d3b7-44d5-a802-db9b79095608",
            "individual_guid": null,
            "viewpoint": "test"
        },
        "7e0460b0-dac7-43cb-9e0e-c19988b31301": {
            "asset_dimensions": {
                "height": 664,
                "width": 1000
            },
            "bounds": {
                "rect": [
                    45,
                    5,
                    78,
                    3
                ],
                "theta": 4.8
            },
            "encounter_location": null,
            "image_url": "http://localhost/api/v1/assets/src/54bb541e-3217-4938-9c75-2278870bc7ff",
            "individual_guid": null,
            "viewpoint": "test"
        }
    },
    "individual_data": {},
    "query_annotations": [
        {
            "algorithms": {
                "hotspotter_nosv": {
                    "scores_by_annotation": [
                        {
                            "guid": "5c9bc1b2-5e5f-4029-88e4-43e6d94c5bf3",
                            "id_finish_time": "2022-01-12 18:46:29",
                            "score": 0.49249419758140284
                        }
                    ],
                    "scores_by_individual": [
                        {
                            "guid": "5c9bc1b2-5e5f-4029-88e4-43e6d94c5bf3",
                            "id_finish_time": "2022-01-12 18:46:29",
                            "score": 4.755731035123042
                        }
                    ]
                }
            },
            "guid": "7e0460b0-dac7-43cb-9e0e-c19988b31301",
            "individual_guid": null,
            "status": "complete"
        }
    ]
}

/rebase

/rebase

/rebase

@brmscheiner Please take a peek at the summary here before I merge the PR in.

@colinwkingen I'm sure I'll realize some things when I start working with it, but at first glance this looks great. Does this PR also cause ID to happen?

@brmscheiner Nope, but it's a step on the way. Thanks!


(SCC-SA4006) A value assigned to a variable is never read before being overwritten

Description
Value has been assigned to a variable but it is being overwritten before being read. In most cases, this could be a forgotten error check. Example: go a := "foo" a = "bar"
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/jasonBirchall/crypto/issue/SCC-SA4006/occurrences/

Solved by https://github.com/jasonBirchall/crypto/commit/c82efbdbe64f3420396483bab2fac77af29819f7


chore(deps): bump tf-validator for TPG v5

tested: terraform plan will create google_project_iam_member.int_test[0]

cc @melinath

applied - I was able to refresh/import the TF state for google_project_iam_member.int_test[0], so basically a no-op.


Agent Selfishness Factor Should Be Tested to See if Code Consolidation is Possible

There is a lot of repetitive code for the three flavors of decision model currently implemented (Bentham, Altruist, and Egoist). It would be preferable if there were only one flavor of decision model (Bentham) with some extra configuration options to make it behave in more altruistic or egoistic ways.
Currently, the selfishnessFactor attribute is intended to provide this functionality. It has been awhile since that's been tested, and with recent changes to how decision models are implemented this is an ideal time to see if that functionality still works as intended (i.e. that an agent with a selfishness factor of 0 will behave in a completely altruistic fashion, a factor of 1 will behave as a complete egoist, etc.). If so, the egoist and altruist decision models can go away in favor of using selfishnessFactor to provide the same behavior in fewer lines of code.
This will eventually require modifying the data collection process (in the configuration and the run.py file in the data directory) since that pipeline currently operates over named decision models rather than different selfishnessFactor values.
@mmilkowski36 is currently wrestling with a similar problem with data collection for UBI, so there may be some lessons learned for this issue once she completes that work.

Here's my idea: for the wealth of each cell in range, interpolate between the altruistic score and the greedy score using selfishnessFactor as a weight:
'''altruisticWeight = 1 - selfishnessFactor
egoisticWeight = selfishnessFaactor
wealth = altruisticWealth * altruisticWeight + egoisticWealth * egoisticWeight'''
Then select the cell with the highest new wealth.

Some initial testing on 50 seeds for 1k timesteps using an otherwise default configuration:
Altruism behavior matches exactly between the Altruist class methods and when a Bentham agent with a selfishnessFactor of 0 are compared head-to-head.
Egoism behavior closely matches (but not exactly) between the Egoist class methods and when a Bentham agent with a selfishnessFactor of 1 are compared head-to-head. The trends of the resulting graphs post data collection roughly match each other, but the Bentham agents generally do slightly better (the calculation for utility is slightly different between the Bentham and Egoist classes).
A Bentham agent with a selfishnessFactor of 0.5 matches exactly with a Bentham agent with a selfishnessFactor of -1 (our prior version compatibility case).
I'd like to see what 50 seeds over 10k timesteps looks like between egoist and Bentham with selfishnessFactor of 1 to get a clearer picture of how much deviation is occurring. If it's pretty tightly matching, we might be able to move to just using selfishnessFactor for the consequentialist ethical theories (and particularly those inspired by Jeremy Bentham's approach).

Testing on 50 seeds for 10k timesteps:
The graphs look nearly the same as those from the summer's data collection. It looks like selfishnessFactor is still working and is the correct mechanism to use. I'll be pushing my changes to address this from the simulation end.
Next step: gather thoughts from @WillemHueffed and @mmilkowski36 on how to adjust the data collection (data/run.py) to this change.


enhancement add some fields for profile v2

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Horovod initialization script

Hi,
I am trying to install Horovod on Dataproc nodes. Here are the steps I am following in my initialization actions script. However, I am not able to get openmpi or horovod installed on the worker nodes. It seems like the error is with the openmpi install steps. Manually doing these steps by ssh into worker nodes works.
To install openmpi (following instructions from here)
wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.4.tar.gz
 tar -xzf openmpi-4.0.4.tar.gz
 cd /usr/lib/openmpi-4.0.4
 sudo ./configure --prefix=/usr/local
 sudo make all install
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

tp install Horovod (following instructions from here)
HOROVOD_GPU_OPERATIONS=NCCL pip install --user horovod

Could any instructions/pointers be provided to install Horovod on Dataproc nodes (with GPU support)?
Appreciate any help!
Thanks,

Can you install openmpi from Debian repo: apt install openmpi-bin?

Thanks.. I can install by apt install openmpi-bin. Do I need to specify LD_LIBRARY_PATH for horovod to know mpi path?

Try running ldconfig after make. I believe I faced a similar issue and recall this working.

Yes, seems like you need to set LD_LIBRARY_PATH for Horovod GPU support: https://horovod.readthedocs.io/en/stable/gpus_include.html


Update app to use UTC vs device local time

We need to standardize the app to use UTC to ensure consistency.
Ideally any date time functions / calls should be here:
 src/shared/date-fns.ts

@dsamojlenko tagging you to mark as "this is assigned" we'll sync on Slack for this.

Note: we should continue looking into UTC VS device timezone to find all race conditions that could mess up user experience.  For example:

Missing the last key upload because device timezone reaches 0 day and reset the UI while in UTC timezone, user still has to upload one more time.


Dockerized Node-red unable to load libnnz21.so

I have installed the Instant Client Basic in the host server and shared the folder path with the node-red container but I get this error:
Oracle-server error connection to oracle12.tns: DPI-1047: Cannot locate a 64-bit Oracle Client library: "Error loading shared library libnnz21.so: No such file or directory (needed by /data/files/Oracle/instantclient_21_5/libclntsh.so)". See https://oracle.github.io/node-oracledb/INSTALL.html for help
Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html
You must have 64-bit Oracle Client libraries configured with ldconfig, or in LD_LIBRARY_PATH.
If you do not have Oracle Database on this computer, then install the Instant Client Basic or Basic Light package from
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html

The install path is mounted under the path /data/files/Oracle/instantclient_21_5 so that's the folder defined on the config node.
Node-oracledb is installed on both host and container and LD_LIBRARY_PATH is set to its path on both host and container.
What I'm doing wrong?
Thanks

Can you open a shell in the container and echo $LD_LIBRARY_PATH and make sure that the var exists and points to a valid path in the container?

You might also have a look at one of the pre-built images that have instant client to compare to your Dockerfile:
https://github.com/oracle/docker-images/tree/main/OracleInstantClient

Can you open a shell in the container and echo $LD_LIBRARY_PATH and make sure that the var exists and points to a valid path in the container?

Var exists and points to the installation path and it doesn't work.

I am answering myself in case the solution I have found is useful to someone else. Installing the "oracleinstantclient" on a linux host is not working as there are some components missing.
To avoid this you should use this dockerfile https://github.com/RyuunosukeDS3/node-red-docker-oracle/blob/main/Dockerfile.custom and build your own image witch will install the oracle client itself and the missing "libaio" && "libaio libnsl libc6-compat" inside the container. Then it will automatically add the ENV /lib to the container so in node-red, in the "Instant Client Path" you should add something like: /lib/instantclient_21_10 but changing the name to the latest version available at https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
Then you should be able to connect to the oracleDB.


v2ray-core listening error?

PART1
while v2ray-core version is the latest maybe 4.36.2, and listening ip is <IP_ADDRESS>,

and now client can't establish a connection with the v2ray server.
PART2
base on part1 ,when i change the listen ip to my vps ip,

now client can establish a connection with the v2ray server.
part3
base on part1 ,when i change the v2ray-core version to 4.34.0
it is still listen on tcp6.

but it does worked , so maybe their is some thing wrong in the latest v2ray-core release?

you can use telnet to test the listening port

you can use telnet to test the listening port

i‘m sure that it was listening, i have tried to use telnet, all goes well

sysctl net.ipv6 | grep bindv6only
to see if this value is 1, if yes, you need to change it to 0

sysctl net.ipv6 | grep bindv6only
to see if this value is 1, if yes, you need to change it to 0

it runs in docker, i think all should be the default.
it is already 0. listening on tcp6 doesn't matter on the previous release.
as long as i change the release version to a previous one, all goes well.
So, i came here to see anybody met the same problem with me.

If the telnet is normal and the port can communicate normally, there will be no problem with the v2ray service.

If the telnet is normal and the port can communicate normally, there will be no problem with the v2ray service.

it should like this theoretically, however client can't connect to server in fact.

maybe there is some thing wrong with v2-ui ? and only occur when using the latest version of v2ray-core

Can you put the core log here?

Can you put the core log here?
I tried to reproduce this problem, and show you the whole procedure yesterday.
On two different server, with the same config, however i can't reproduce it anymore, maybe there were some accidental problem that day.
thx for your reply. Sorry to bother you.


Replace engine with deployment_id in README

The README refers to engine parameter but as far as I am aware, that is deprecated in favor of deployment_id, plus the example uses deployment_id.

Thank you!


OmniStudio components TPL Integration  DocGen

OmniStudio Components in GIT Branch
TPL Integration files
Document Generation files

The OmniStudio folder for DataPack has been updated

It's been updated to Dev Branch


Use a couple of threads

Is there any way to use a couple of threads from a sub ?
Something like :
sub ->
5 best threads ->
10 best comments in every thread

It has to be implemented, PRAW has everything to do that if you want to give it a try :) check the scrape_reddit task.

@Adam-Jimenez please close the issue if you've answered it, the issue can be reopened at any time so that's not an issue.


Escape strings in endpoint paths

While looking at the source code for recordings, I noticed that key ids(which are the recording names) are being placed directly on endpoint URLs without being escaped. This can cause errors when, for example, the recording name is itself a file path: this would lead to an HTTP call to /recordings/live/something/else/name, which is obviously wrong.

Definitely sounds like a bug.


Add glossary

Pull Request Template
Description
Added a glossary page

Here are few suggestions:-

Grid view would be better than list view
The Letter with missing Terminology would be disabled by default
Box background should be not there by default, rather once the user clicks on the letter then it should be visible.

Also sign DCO and check the Lint once-

LGTM @nehagup


Stemming, Multiples, and Numbers

According to the Wikipedia page, the formula was supposed to also include words with other suffixes.
I found a details on allowed suffixes here:
http://www.lefthandlogic.com/htmdocs/tools/okapi/okapimanual/dale_challWorksheet.PDF
That also says that numbers are allowed, and that the formula is refers to counting multiples of difficult words, so it appears that the uniqueness of easy words need not be considered, but just the total.
I've switched my readability to have the following, but I think these details would likely be better as a isDifficult method in dale-chall-formula. Doing so would mean dale-chall-formula would have to require dale-chall word list, which you perhaps wanted to avoid.
 let reDaleChallEndings = /(s|ing|n|ed|ly|er|est)$/
let reDaleChallNumber = /^[1-9]\d{0,2}(,?\d{3})*$/
`
if (
  daleChall.includes(normalized) ||
  normalized.match(reDaleChallNumber) ||
  (normalized.match(reDaleChallEndings) &&
    daleChall.includes(stemmer(normalized)))
) {
  easyWordCount++
}

`

Hey these are great finds! By the way, did you know that you can open pull requests here on GitHub as well? If you make a change in your fork of readability, you can then request those changes to be added here.

I've switched my readability to have the following, but I think these details would likely be better as a isDifficult method in dale-chall-formula. Doing so would require dale-chall to require dale-chall word list, which you perhaps wanted to avoid.

I think it’s the responsibility of other projects, not the list of words, nor the mathematical formula, to try and match those things.

normalized.match(reDaleChallEndings) &&
   daleChall.includes(stemmer(normalized))

Stemming the word probably doesn’t make it match the word list, stemming does not create valid words, for examples of non-words as results, see the output fixtures. You could fix this by stemming the input list too

Thanks Titus. For some of these, (this one in particular) I wasn't sure where/how you would prefer to fix it, so I figured I'd just raise a flag. I would have eventually created one ore more pull requests for some of the issues, but I've made other changes stripping things you'll want to keep out, so I didn't have the precise changes ready yet,

@wooorm Regarding project responsibilities, I would totally agree how you have the list of words broken out. I think I would assume that "the Dale-Chall formula" = all of the parts of that worksheet which are necessarily part of their rules/process, not just the final mathematical equation. Thus the stemming part would seem like a necessary part of following their rules to produce the final score.
Thanks for letting me know that the stemming as I had it wasn't complete. Nice solution about stemming the source list to match!
dale-chall-formula could take the list in dall-chall, and create a second list in memory of stemmed versions of all of them (perhaps lazy loaded on first test). Then it would hold all the dale-chall-formula specifics.
Or there could be a third dale-chall project that was the full worksheet that put the list together with the equation, as well as the other specific parts of the dale-chall process (numbers and stemming). It still makes sense to me to keep that in dale-chall-formula, but whatever works for you.

While I agree that it would make dale-chall-formula more useful to add functionality like that, well, as we’ve seen from this issue and my experience parsing text, it’s not easy to properly match the rules from your PDF. In fact, it would add lots of logic and thus weight to the project. And be buggy. And I would do it using retext and my other utilities, whereas others might want to swap that out for something else.
I’d be in favor of another project. It could be a new project, but while you can get to 90% perfect text parsing in very few lines of code, properly doing so and getting to 92% adds tons of complexity. So maybe in this project? Because, maybe, ignoring numbers will also help with the other readability formulas?

True! We're still not getting to 100%. And I had decided for my purposes I didn't care about getting proper nouns too, as that would be too hard, but I hadn't mentioned that. Stepping back a bit, my use case was just that I want to call a function to test any text and have it return the scores. The highlighting was a nice addition. I'm very grateful to you for your projects, as between them they get me 99% of the way to what I wanted! Thanks!
As I have only rarely used NPM, I don't have a good sense for splitting out projects there or what is too heavy.
I might split readability into two projects - an inner, functional one (readability-scores?) focused on just generating all scores, and the calling (outer) readability project focused on the HTML and user choices. I'm not sure how I would contribute this. I guess I'll try to make readability-scores, and then let you know.

@wooorm , I've split out the readability-scores code to make a project at https://github.com/MichaelChambers/readability-scores
What do you think? I'd suggest adding this as line 73.5 to test.js in order to see all the results, plus difficult words, for the Gettysburg Address.
console.log(results)

I used the above to create my first npm project, and then refactored my https://github.com/MichaelChambers/readability to use the new readability-scores.
In my copy, I'd also made some changes to remove some of the user's options.
You're still listed as the author and contributor to both, as well as the code having your prior commits. I wasn't sure how best to handle that, so tried to err on the side of pointing to you instead.

Congrats on your first npm project! ✨ Welcome!
If you feel your code is a derivative work, you should indeed include me and the license file from the original work. If you believe this is a new creative work, you may omit those. Legalities are confusing.
And splitting the two up, one for the counts, one for the display, seems like a great idea to me!

I've created a pull request to use the new project with readability. https://github.com/wooorm/readability/pull/8

From the Dale-Chall test in readability-scores:
Dale-Chall suffixes per http://www.lefthandlogic.com/htmdocs/tools/okapi/okapimanual/dale_challWorksheet.PDF
 ['s', 'ies', 'ing', 'n', 'ed', 'ied', 'ly', 'er', 'ier', 'est', 'iest']
None of the words below are in the Dale Chall original list. All must use stemming. Note that the stem may not be a word: "Liberties" stem is "liberti", which is why we stem the original list too.
As "lively" is in the list, "livelier" and "liveliest" should pass due to "ier" and "iest" being valid suffixes.
But although "prick" is in the list, "prickly" is not. "Prickly" would be a valid base+suffix, but "pricklier" and "prickliest" should not be valid.
s = 'Rights, Liberties rolling proven rested praised hurried properly higher longest lively livelier liveliest prick prickly pricklier prickliest'


refactor: rename CompactShareReservedBytes to ShareReservedBytes

Closes https://github.com/celestiaorg/go-square/issues/38

!refactor: rename CompactShareReservedBytes to ShareReservedBytes ?
(note ! as the prefix).

Included the longer PR title b/c that should be clearer


Remove Cool.io::HttpClient

There is no users.

https://github.com/tarcieri/cool.io/commit/76bcac3e37f765c7c9846273951f6cdb30df2e2c resolved this issue


Master tool

This is a CLI tool to list/delete paths from pathDB. Usage:
-d,--delete        delete specified file
-f,--filesystem    filesystem
-h,--host          host (default localhost)
-i,--info          get specified path info
-k,--keyspace      keyspace
-l,--list          list specified path
-p,--port          port (default 9042)
-P,--pass          password
-t,--type          filter list result by type (file/dir)
-u,--user          username
Example, -k promotealltest -f maven:hosted:source -l /first and it will print something like this:
$ ls -l /first -t all
/first
/first/data
/first/data/d1.txt
/first/path.http-metadata.json
But...you can only run it with a Cassandra session (i.e., run on a nearby pod). I think this is necessary to add a few REST endpoints in Indy to provider similar operations.

I suggest to use a separate module to include this because it will bring extra deps to the main function(like commons-cli). It will increase the final indy package which includes the deps that indy does not need.

Fair enough. I add a module named "tool".

Oh... This does not compile. I need to add the current artifact to a module too.

I think we also need to separate the JPA and Cassandra impls to remove dependencies on rdbms things. I will do it later.

Okay, the modules are good now. Pls review again. @ligangty

Sounds good. We should always think to minimize the final package size.


Thank you for this library

This is not an issue, but a thank you.
I am new to working with Jetson, starting with some experience with the Raspberry Pi using wiringPi.
Thank you very much for creating and sharing this library. It was the only C library I could find that worked on both the NVIDIA developer carrier board and the Seeed Studio A203 carrier board I am using for my projects.
Thank you again
Graham Briggs

Many thanks for your feedback, this is greatly appreciated, having feedback from actual users is the most valuable thing when you do something like this library.
Comming back to your other comments/suggestions, I went through them and actually they mostly make sense to me. I plan to make some changes to my library in line with your suggestions and on the next release you will see those changes implemented. Most of them are very easy to do actually.
You will have to wait until mid/end January though as I am on a trip abroad and don't have my nano at hand, I wouldn' t like to release anything without some kind of testing on the actual hardware.
Thanks again

You are welcome. I am grateful to you for this work.
Full disclosure:  when I started with Jetson what I really wanted to use was wiringPi, because I had quite a bit of useful code written using the wiringPi interface that I wanted to reuse on the jetson.
After some simple experiments with your library to verify it worked and that it could run out of the box on the Seeed Studio A203 carrier board I am using, I took a copy of your code and amalgamated it with Gordon Henderson's wiringPi code and created wiringJet. You may see it on GitHub here:  https://github.com/wiringGpio/wiringJet
For your reference regarding the issues I entered

I did not use any of your code for the I2C communication. the I2C and SPI control in wiringJet is almost entirely verbatim from wiringPi.

I have implemented read from output pin and tested it on all pins. It appears to work. You can inspect that here: https://github.com/wiringGpio/wiringJet/blob/3c59fdcd937286980af9e5cc0d836a20e97ae333/wiringJet/jetgpio.c#L1168

I added a flag to disable the reset pins behavior in the terminate function:  https://github.com/wiringGpio/wiringJet/blob/3c59fdcd937286980af9e5cc0d836a20e97ae333/wiringJet/jetgpio.c#L962

I am not very experienced with low level stuff, and I don't really know a pinmux from a pin cushion, so I am going on faith and a bit of testing to verify my changes work correctly. Any guidance or feedback you can offer would be greatly appreciated.
Thank you again
GB

Cool, actually what made me create this lib was the fact that coming from the Raspberry pi universe I was used to the Pigpio library and all I wanted was to have something similar when using the Nano. I soon realized that there was no good options out there that just 'worked' and so I grabbed the Tegra CPU manual and started working on it on my spare time.
Anyways, I am still going to take note and do some improvements based on your comments plus something that is not there and it should be e.g. debouncing capabilities on the gpioSetISRFunc() function so the user can set up a debouncing time and so forth when catching rising/falling edges, once I am back home all this should take a very short time.

Sounds great. I hope you have safe and happy travels.
Best Regards
GB


check serialization/deserialization of CT elements

See https://github.com/gramaziokohler/compas_timber/pull/131


NPM install fails when use ES6 import

Hi @dleitee
I'm trying to use the ES6 import without sucess:
import {validate, string, util, isValid} from 'valid.js'

The problem (I guess) is the version that are publish at npm registry doesn't contain dist folder inside of them. In fact, dist/validate.js file is important because they are set as main script inside package.json file.
.....
"repository": {
    "type": "git",
    "url": "git+https://github.com/dleitee/valid.js.git"
  },
  "main": "dist/validate.js", // <--- this line...
......

Can you please help? I think that you need is just update npm registry with a new version of package.
Thanks!

Hi @lucasferreira
I removed the dist folder to .gitignore file and published a new version of package.
Can you run npm update and test?
Thanks!

Works like a charm @dleitee!
thanks again ;)


Cannot run install-consul on AWS codebuild

Describe the bug
I am using codebuild in a VPC to deploy consul and other infra onto EC2 instances.  However there are problems with the consul installer and yum dependencies that prevent success.  All other Hashicorp products I use seem to install fine and work well (Vault, Terraform, Packer).  Terragrunt is also fine.
To Reproduce
Run this from buildspec.yml on AWS.  The codebuild container will fail.  I am using the latest AWS image - aws/codebuild/amazonlinux2-x86_64-standard:3.0
git clone --branch "v0.11.0" https://github.com/hashicorp/terraform-aws-consul.git /tmp/terraform-aws-consul
/tmp/terraform-aws-consul/modules/install-consul/install-consul --version "1.11.2"

The errors log produces:
--> Processing Dependency: openssl11-pkcs11 for package: 1:openssl11-libs-1.1.1g-12.amzn2.0.4.x86_64
--
156 | ---> Package vim-data.noarch 2:8.2.4006-1.amzn2.0.1 will be installed
157 | --> Running transaction check
158 | ---> Package nodejs.x86_64 1:16.13.2-3.el7 will be an update
159 | --> Processing Dependency: libuv >= 1:1.42.0 for package: 1:nodejs-16.13.2-3.el7.x86_64
160 | ---> Package openssl11-pkcs11.x86_64 0:0.4.10-6.amzn2.0.1 will be installed
161 | --> Finished Dependency Resolution
162 | Error: Package: 1:nodejs-16.13.2-3.el7.x86_64 (epel)
163 | Requires: libuv >= 1:1.42.0
164 | Installed: 1:libuv-1.39.0-1.amzn2.x86_64 (@amzn2-core)
165 | libuv = 1:1.39.0-1.amzn2
166 | Available: 1:libuv-1.23.2-1.amzn2.0.2.i686 (amzn2-core)
167 | libuv = 1:1.23.2-1.amzn2.0.2
168 | You could try using --skip-broken to work around the problem
169 | You could try running: rpm -Va --nofiles --nodigest

Expected behavior
The install executable should be able to handle the dependencies without failure.

Submitted this PR, in similar light to the same feature toggle on install-vault:
https://github.com/hashicorp/terraform-aws-consul/pull/242
Although not strictly a fix for whatever issues might exist in the AWS container config defaults for yum, this PR allows us to run:
yum update -y --skip-broken
...Because then install-consul --skip-broken will not run the contained standard yum update -y.
This provides an added advantage for reproducible image builds for users who wish to produce base images with apt/yum update before running the install-consul installer.  It can improve stability over time (since apt/yum update could be different any day of the week) and reduce exposure to vulnerabilities that can be inserted without inspection.


State of Repo

I made this project quite a while ago and despite it not being up to my current standards, it seems to have garnered the most interest out of anything else I have done. Therefore, I'll be refactoring the codebase to make it better and more modern.
I've frozen the current state of the repo in this branch in case anyone needs it in the future. I'll be working on changes in this branch which will eventually be merged into main.
Thanks~

Hello! What is the state of the refactor branch currently? Does it work as expected?

I would work from main. Things got very busy (has it really nearly been two years since this issue?) and I don't see myself returning to this repo in the near term.
To be honest, vqvae is an older model now, you'd be better off using modern techniques instead of this!

I wanted to use it to compare some variational autoencoder methods, that's why :D
Curiously enough, what are some new techniques? Autoregression models?


Bug report: [Enter] key on a boolean value does not trigger setData

Describe the bug
If you have a boolean value, and you double click it, then toggle the checkbox, then hit your keyboard's [Enter] key, setData is not called with the updated value.
Expected behavior
I would expect setData to be called with the updated value, as happens for text or numbers.
Online demo
I cannot access code sandbox but here is code that demonstrates the issue:
const Repro: React.FunctionComponent = () => {
    const [data, setData] = React.useState({ a: true });

    return (
        <div>
            <JsonEditor data={data} setData={setData} />
            Text Representation of Data: {JSON.stringify(data)}
        </div>
    );
};

Simply double click "true", uncheck the checkbox, and then hit the [Enter] key on your keyboard and you will see the "Text Representation of Data" does not change as expected.

Thanks for bringing this to my attention, will fix ASAP.

Okay, this is fixed now in v1.15.2
You should also be able to toggle the checkbox on and off with the space bar. :)
Thanks again for spotting it -- good catch 👍


Adding Babylon Network resolvers

Added, thanks a lot for operating these new resolvers!

I did send an email to the address provided on the website but for one I still have no echo and for two users' info may prove to be complimentary to whatever the site would answer me.


Object bounds of Bike and Elephant full assets fail to appear for some viewers

The full assets CarbonFrameBike and ElephantWithMonochord have problems when loaded into viewers.
USDView tests follow, using USDView 0.22.5 (Windows, from the NVIDIA Omniverse distribution). The bike has this view, nothing, originally:

You have to mousewheel out to see the model (which gets far-clipped at a certain point):

Loading the same model on my iPhone, the bike briefly appears, then gets huge and basically disappears.
Elephant with Monochord is also defective in some similar way. On load in USDView:

Scrolling out:

I see similar problems in, for example, the Omniverse Create application: the "framed" view (hit the F key), where the camera is adjusted to the model's bounds, gives a massively zoomed-in view.
Note that the elephant model works fine on my iPhone, however: it frames just fine and the elephant plays an animation.

I asked a USD expert for their opinion. They wrote: "From what I see the issue is in the asset itself, it has extents meta-data hints on the immediate children that seen to be very small.  USD will use this hint when computing the bounds for performance reasons in order to avoid scene traversal and bounds computation."

Based on the comment "it has extents meta-data hints on the immediate children that seen to be very small", I looked at the Carbon Frame Bike model and tried editing it a bit. If I delete all "float3[] extent" lines (330 of those) and "float3[] extent.timeSamples" lines (one set of those) and load the model into UsdView 0.23.2 (NVIDIA's version), I do mostly see the model:

However, the model is still not contained within its bounding box. Things seem better without the extents, but the problem of the bounding box computed not matching the actual bounds of the object is not fixed. Call this the "half-right bounding box."
I looked at a few extents, such as those for the frame of the bike, Shape_2835. They seemed fine, comparing to the vertices contained within. Removing just the extent for this frame shape did not improve the bounding box - the box is still way small compared to the actual bike, as shown in the original report.
However, I then realized there is an extent further up this hierarchy: Rahmen (just under Bike_v2). Taking that extent out (and the extent.timeSamples):
float3[] extent = [(-0.0150696635, -0.0037140546, -0.011548625), (0.0034108516, 0.0030881094, 0.00058381306)]
I get the half-right bounding box shown above. And, looking at that extent, it's wrong - the frame itself (Shape_2835) has an extent:
float3[] extent = [(-0.85459006, -0.041664727, -0.6030443), (-0.2595614, 0.041581206, 0.07256365)]
You can see the frame's first value is outside the Rahmen's, as a start. So Rahmen's extent is wrong. Removing just Rahmen's extent and extent.timeSamples (which, inspecting them, also look wrong) gets us to the halfway-right bounding box.
So, as a start, remove or fix the Rahmen node's extents.

Hi @erich666 and @hybridherbst . First, what I'd recommend as "best practice" for all geometry in a USD file,  including the SkelRoot prim that indicates UsdSkel-rigged assets, for correct bounding/framing:
Every prim of a type that derives UsdGeomBoundable should have extent authored.  If the prim is non-deforming, a simple default value is sufficient, otherwise a timeSample should be authored anywhere the shape changes.  UsdGeomBoundable::ComputeExtentFromPlugins() can do this for you at each needed timeSample.
  Therefore it prefers authored extent properties over computations on posed-points, and framing performance on large scenes will suffer dramatically without pre-computed extents.  This is exceptionally true when it comes to SkelRoot actors, because computing the extent requires not only reading all the base geometry, but applying all the LBS skinning and blend-shapes.  (Noting that the SkelRoot implementation of bounds computation could be refactored and exposed in a vectorized-over-time-queries) fashion for faster authoring/caching performance - it will currently refetch and recompute all posing data on each query time).
@erich666 , I would expect, though, that if you removed all bad extent properties from the scene that you would get reasonably good bounds (if you take quick look at the implementation, you'll see it is taking some shortcuts using a "padding" heuristic to avoid actually needing to pose all the skinned meshes).
So it won't be perfect, and probably there is room for improvement.  If it seems way off, please do file a bug on the USD gitHub repo, with a repro?

Thanks, @spiffmon , this is great stuff. Note that I did remove all extent properties of any sort from both scenes and got bounding boxes that were smaller than the actual geometry. Not so back for the Elephant with Monochord model, but pretty noticeable for the bike:

Is this expected behavior?

Hi @erich666 , by any chance is the bike also a Skel-based model?  And if so, is the Skeleton actually "small", i.e. no bones past the handlebar assembly and rear strut?  The heuristic I mentioned applies that padding around the pose skeleton, in the assumption that the skeleton is a fair approximation of the actual model.  I reckon the heuristic could possibly be improved, and we could also (or DIY) use the actual full Skel posing engine to compute extents on the actual posed points.  You may need to flex your usdview skills to see the Skeleton, but it can be visualized.
If the bike is not a Skel, then the only other possibility I can think of is interference from extentsHint on the model root prim - is that attribute authored?

Hey @spiffmon, the bike uses a mix of techniques – the overall structure is not a skeleton, but the wires on the brakes are. See https://prefrontalcortex.de/labs/model-viewer/upload/CarbonFrameBike/
I'm not sure if extentsHint has been exported (this was exported with Usd-for-Unity)

The carbon bike fix looks reasonable to me in UsdView - great! I hope someone can fix the Elephant at some point.


Support image decode and encode to be rendered as an image source in an image tag

Can you support directly decoding an image from a image tag source and also encoding a base64 data from a data base to render directly as a source in an image tag

Do you mean by extracting an image URL from the HTML? If so, the intention of this library is not to parse HTML images tags for image URL and encode/decode them.

What I mean was I have a program that accepts image upload and from that upload I would like to convert/encode it to base64 and put the result (base64) to a database, and in another aspect of my program I would like to retrieve that base64 from the database and re render it as an image source for an image tag without saving/making a file out of it. Is it possible?

Ah, ok thanks for the clarification. Yes, you can definitely do what you described. Once you receive the uploaded image on the server, you can pass it in to the encode function and save the output from the callback as you see fit and vice versa for decoding. For decoding though, since you will get a file back in return from the callback, you can directly serve the resulting file to the client.

Okay, Thank you for the quick response and I hope you can make sample codes in implementing. :+1:

Cheers mate. Here's some pseudo code on how you could go about implementing the functionality -
const base64 = require('node-base64-image');

app.post((req, res) => {
  // assuming req.body.image is a local file path or an image URL
  base64.encode(req.body.image, {string: true}, (err, img) => {
    if (err) {
      //handle error
    }

    db.insert({image: img})
      .then((data) => { res.json({data}); })
      .catch((err) => { // handle error });
});


Implementation Question - Calling RushTI locally to run on Cloud

Hi,
Context:
I'm currently working with a client that is moving to IBM cloud and needs to replace bash scripts that launch TI processes in a local TM1 Server in a controlled fashion (i.e.: with dependencies and monitoring of each thread).
I thought on RushTI as a substitute since we can have it in a local box and launch processes on IBM's cloud as they do now.
Issue:
The client uses CyberArk to store important credentials (such as the non-interactive accounts) so having a config.ini file with the passwords is not going to work. I know the password has to be encoded in the file, but that doesn't meet the level of security that's expected.
Questions is it possible to have RushTI open up a session from a file? As that file has no exposed passwords.
Example:
Step 1: Create a session

from TM1py.Services import TM1Service
password=getpass.from.vault(user=non_interactive_user) # --> this is made up code to reflect that the pass is stored in a secur vault and retrieved on demand
tm1params_cloud = {
"base_url"='https://mycompany.planning-analytics.ibmcloud.com/tm1/api/tm1/',
"user"="non_interactive_user",
"namespace"="LDAP",
"password"=password
"ssl"=True,
"verify"=True,
"async_requests_mode"=True
}
tm1 = TM1Service(tm1params_cloud)

Step 2: Dump the sessions to a file

tm1.save_to_file('tm1srv01.connection')

Step 3: create a task_file.txt where the instance field is a reference to the connection file created above

instance="tm1srv01.connection" process="}bedrock.server.wait" pWaitSec=1

Step 4: call RushTI with this task file

python RushTI.py task_file.txt 16 norm 2

Probably you have a better idea on how to go about this, but it's Friday end of day so my brain can only work that much.
Please let me know your thoughts.
nico

Thanks, @MariusWirtz ! I'll try that approach then.


[bugfix] fix coredump caused by nullable const column compare to non-…

…nullable const column
Proposed changes
Issue Number: close #11226
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

rebase master please

Need rebase.


Chinese language for content

I just get chinese letters for american websites and even when I set the language='en' it spits out giberish.

Please paste specific examples of the bugs so we can reproduce and help, thanks

Hello,
Thanks for responding! Since I haven't been getting many foreign
characters, although I still get some. I'll be sure to screenshot and show
you my problem if it comes up again.
-Sam
On Wed, Sep 13, 2017 at 9:24 PM, Lucas Ou-Yang -- 欧阳象 <
<EMAIL_ADDRESS>wrote:

Please paste specific examples of the bugs so we can reproduce and help,
thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codelucas/newspaper/issues/436#issuecomment-329342150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALveBSGcO9lqaZnskm1ufRfRDNhzxu73ks5siIAzgaJpZM4PTq7P
.

--
Samuel Wasserman
Rutgers University School of Arts and Sciences - Class of 2019
Computer Science & Mathematics

👍 sounds good

Hello,
So I have attached a couple screenshots. I am using newspaper to scrape
news websites and this is an example of listing all article titles. I am
scraping sites such as techcrunch, cnn, fox etc. and I randomly get foreign
characters as you can see.
I'm building the papers with this specification...'tech_crunch =
newspaper.build(
'https://www.techcrunch.com/', memoize_articles=False, language='en')'

Im running this code 'for news_article in source.articles:
try:
    news_article.download()
    news_article.parse()'

then listing the titles.
-Sam
On Fri, Sep 15, 2017 at 3:02 PM, Lucas Ou-Yang -- 欧阳象 <
<EMAIL_ADDRESS>wrote:

👍 sounds good
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codelucas/newspaper/issues/436#issuecomment-329871900,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALveBXAFtYc0NX8Dw0_k6RyMT_BEEKLeks5sismygaJpZM4PTq7P
.

--
Samuel Wasserman
Rutgers University School of Arts and Sciences - Class of 2019
Computer Science & Mathematics

Hi @codelucas
I too face the same issue, this is the code I used,
newspaper.build( 'http://www.huffingtonpost.com/', memoize_articles=False, language='en')
These are some languages that are not english which got parsed.


Support performMouseInput in tests

rule.onNodeWithTag("scrollbar").performMouseInput {
    click(Offset(0f, 26f))
}

We need to implement androidx.compose.ui.test.DesktopInputDispatcher for that:

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Allow custom argument values for enums

closes #47

Codecov Report

Merging #83 (afe887b) into master (b6be471) will decrease coverage by 0.07%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   97.09%   97.01%   -0.08%
==========================================
  Files          14       15       +1
  Lines        1409     1409
==========================================
- Hits         1368     1367       -1
- Misses         41       42       +1

Impacted Files
Coverage Δ

source/argparse/internal/package.d
93.48% <ø> (ø)

source/argparse/internal/utils.d
100.00% <ø> (ø)

source/argparse/internal/enumhelpers.d
73.33% <73.33%> (ø)

source/argparse/package.d
99.01% <75.00%> (-0.24%)
:arrow_down:

source/argparse/internal/argumentuda.d
98.33% <100.00%> (ø)

source/argparse/ansi.d
100.00% <0.00%> (+4.30%)
:arrow_up:

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


[HOPS-143] and [HOPS-144]

https://hopshadoop.atlassian.net/browse/HOPS-143
https://hopshadoop.atlassian.net/browse/HOPS-144

Jenkins test this please.


Added textmate grammar support for property expressions

Fixes redhat-developer/vscode-quarkus#272
Signed-off-by: Jessica He<EMAIL_ADDRESS>

At first @JessicaJHee could you move the rule for coments, property key and property value in a repository to have the root patterns like this:
"patterns": [
       {
          "include": "#comments"
        },
        {
          "include": "#property-key"
        },
        {
          "include": "#property-value"
        }
]

I think it should be more readable.

After the changes this is what it looks like, the links / strings that are not inside ${...} are now plain with the numbers highlighted.

The ${} is now a light yellow colour (support.constant.handlebars.java-properties)

@JessicaJHee in your screenshot, the variables inside urls are not colored like the others

@JessicaJHee your last screenshot looks very promising. If we could keep the sale color by fixing my 2 comments it should be really nice.

Appearance after change:

Great job @JessicaJHee !


Support Collecting Parameterized Tests

One missing feature currently is parameterized tests, which are legitimately sort of tricky given our architecture.  In the spirit of not worrying about execution just yet (we'll see how that goes 😃 ) I won't worry about the impact this has and just collect.

I believe this is all wrapped up, closing.


state, notify_on_cancel are unsupported in dialogs.open API

The dialog class doesnt have the state and notify on cancel properties. These two properties are available as per Slack's documentation.

The documentation: https://api.slack.com/dialogs

by when this will be available to be downloaded from maven?

Just released 1.5.7. The version will be available on the Maven Central repositories within a few hours. https://github.com/seratch/jslack/compare/1.5.6...1.5.7


Student stepper. Language

As a Student, I want to see the third step of the ‘Become a student’ pop-up, so that I can add information about my language
Preconditions:
A User is registered as a Student.
A Student verifies his/her email via the email service.
A Student is logged in, and the ‘Become a student’ pop-up is opened.
Acceptance criteria:
When a Student goes to the next page during creating a student’s account, then he/she sees the “Language” page on the third step.
The Mockups:
• for Desktop
Image
The “Language” page (Desktop version) on the third step contains:
• Left part of a screen:
static picture;
• Right part of a screen, top down:
navigation tab, which shows on what exactly step a student is;
the CRUD description of the third step. The description of the third step consists of a text (“Please select the language in which you would like to study and cooperate.”);
dropdown with single select, lazy loading (show 6 languages in dropdown) and scroll down. The dropdown should have an input with autocomplete to find the language. Input should have “Your native language” placeholder text;
two clickable buttons: “Back” – a student can go back to the previous page, “Next” – a student can go to the next step for creating


Clean up policymap

pkg/maps/policymap has been reimplementing the core pkg/bpf/ map logic for some time now, and recently caused some issues when attempting to rework the common core code to adjust map handling.
This PR looks to rework the policymap so that it uses the latest version of the libraries provided in pkg/bpf, and also clarifies the global policy map types by factoring that out into its own file with its own map handling logic.
Fixes: #681

This change is

test-me-please

Coverage increased (+0.04%) to 43.797% when pulling 9706bd5199cd5108f1caf351343ff89436b62b53 on submit/refactor-policymap into 3fa6e027cf3720a95e77c897b730b7eed3c57bd5 on master.

test-me-please

test-me-please


Update UI mockups and UG

Updated UI mockups and UG to have new attributes Position, Employee ID and Salary

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

Comparison is base (3bd6bdc) 76.55% compared to head (fff1722) 76.55%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #93   +/-   ##
=========================================
  Coverage     76.55%   76.55%
  Complexity      445      445
=========================================
  Files            73       73
  Lines          1429     1429
  Branches        140      140
=========================================
  Hits           1094     1094
  Misses          305      305
  Partials         30       30

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


stellarium: 0.18.1 -> 0.18.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/stellarium/versions.
meta.description for stellarium is: '"Free open-source planetarium"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/3s6hnhb14k6g4gvygw4rg9sn9szix00w-stellarium-0.18.2/bin/stellarium had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3s6hnhb14k6g4gvygw4rg9sn9szix00w-stellarium-0.18.2/bin/.stellarium-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 0.18.2 with grep in /nix/store/3s6hnhb14k6g4gvygw4rg9sn9szix00w-stellarium-0.18.2
directory tree listing: https://gist.github.com/cbf290d73cde484c73f13718a29b506d
du listing: https://gist.github.com/a12e947465c52ab9365ae995b1d5e7d6

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout c274490146253c7c029f1c043a0e8fdd6eba5894 && nix-shell --pure -I nixpkgs=. -p stellarium

cc @peti @ma27 for testing.

seems legit. Please give me some hours, then I’ll have some time to build and test this:)

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: stellarium
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: stellarium
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p7cg2gmgfg33y8zkjlbkdix8h2np8skg-stellarium-0.18.2
shrinking /nix/store/p7cg2gmgfg33y8zkjlbkdix8h2np8skg-stellarium-0.18.2/bin/.stellarium-wrapped
gzipping man pages under /nix/store/p7cg2gmgfg33y8zkjlbkdix8h2np8skg-stellarium-0.18.2/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p7cg2gmgfg33y8zkjlbkdix8h2np8skg-stellarium-0.18.2/bin
patching script interpreter paths in /nix/store/p7cg2gmgfg33y8zkjlbkdix8h2np8skg-stellarium-0.18.2
checking for references to /build in /nix/store/p7cg2gmgfg33y8zkjlbkdix8h2np8skg-stellarium-0.18.2...
postPatchMkspecs


DiscogapicConfigGen: Use a temporary output directory

DiscogapicConfigGen generates gapic yaml from discovery docs, and therefore the flag gapic_yaml is used as output instead of input (which is the usual case for codegen).
When trying to refresh gapic config for compute artman creates this default artman-genfiles in my local environment while does not drop any output there. Therefore it seems clearer to just use a temporary directory to hold the generated gapic config before moving to the right place.

Hmmmm @alexander-fenster How should I fix the tests if this case...?

PTAL


Feature Request: Log filter

Would be great to extend api to log only certain info.

Actually, I could just use console filter instead "mobx [c]"... to show only the computed props ;-)

@akkayy Yes, that was the idea. If you need to log something - just use Chrome built-in filters, they are powerful. Adding a filter to library is also possible. Would it solve your issue if I add filters like { computed: true, actions: false, observables: false }?

Yes, that's simple yet powerful, thanks bunch!

Published as<EMAIL_ADDRESS>

Added all the info to README


UI-React : error with TonConnectButton

Describe the bug
I'm trying to import the <TonConnectButton/> component in two places on my website: in the header and at the end of the website. The point is that the component is imported only in the header; in the last section of the website, the component is not visible. When I checked the inspect tool.
I saw

,but it does not exist in the UI at all.
Expected behavior
The second component should be visible.
Current behavior
The second component not exist.
Steps to Reproduce

Create 2 sections
import the TonConnectButton component in the first section.
import the TonConnectButton component in the second section.

Environment

<EMAIL_ADDRESS>-> ./node_modules/.pnpm/@tonconnect+ui-react@2.0.6_react-dom@18.3.1_react@18.3.1/node_modules/@tonconnect/ui-react
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79
Browser: DuckDuck go

Additional context
No response

I think they're using an id in div to determine where the button is placed. You can create another button on your own and then use the hook to open connect modal like this:
const modal = useTonConnectModal();

<button onClick={() => modal.open()}>
   Connect Wallet
</button>

@phumaster , Thanks, I already fixed it, but it was my mistake to keep the state open.


Diagnose eyetracking timestamp issues

After rezeroing timestamps (t), we expect min(t) = 0 and max(t) ~ 3e5. All in-person eyetracking labs meet this criteria, but all of the web-based labs have one or two trials before t=0, and have max(t) on the order of 1e4.

Issue was caused by incorrect summarizing; no actual problem here.


Serve and ServeTls methods for Client

Hi there,
I started looking at this library and wanted to use it for my current project. I have a specific need to support passing a custom net.Listener interface that will be used to listen when launching the HTTP server.
My thinking here is to make two methods client.Serve and client.ServeTls. These would each have the method signatures of the existing ListenAndServe methods, but would also include passing a net.Listener.
I'm open to doing the work, just wanted to check if this is inline for the vision of the library.

Hi,
I have nothing against it, please open a new pull request if you want it to be added.
I remember there was "Hijack" client method that allowed you to completely skip default implementation and work on your own magic but it looks like I had to remove it somewhere in wall of commits... It looked like that:
// Let's you take control over client's life cycle. Please avoid using it unless you want to integrate custom http client.
func (client *Client) Hijack() func(w http.ResponseWriter, r *http.Request) {
	client.running = true
	return client.handleRequest
}

It's up to You whether you want to open pull request with client#Serve and client#ServeTLS and/or bring back client#Hijack method. I assume just bringing hijack back might be a better idea... Assuming You'll add serve & serve tls, client will have 4 different methods to start which sounds a bit funny to me but oh well - both ideas are acceptable.

Oh cool, I didn't see that method. I'll try it out first and see if I can get it to work.


Package Size Issue with Azure Login GitHub Action

Description
I've identified a significant issue with the Azure login GitHub action, where the action's package size is excessively large. After unpacking, the node_modules directory alone is 118MB. This substantial size dramatically affects the startup time of the GitHub action. It seems all dependencies, including those not needed for production, are being installed in the package. Additionally, the package contains folders like tests, src, and .github, which are unnecessary for the action's operation.

Download Link
Proposed Solution:

Production-Optimized Configuration: Configure the package specifically for production use, adhering to npm standards. Exclude non-production dependencies and unnecessary folders like __tests__, src, and .github to reduce the package size and improve performance.

Use of @vercel/ncc for Compiling Code: As an alternative to checking in the node_modules directory, which can cause issues, use the @vercel/ncc tool to compile code and modules into a single file for distribution. This approach is suggested in GitHub's documentation. After installing @vercel/ncc, compile the index.js file, resulting in a new dist/index.js file with code and compiled modules, alongside a dist/licenses.txt file containing all licenses of the used node_modules. Update the action.yml file to use dist/index.js and remove the previously checked-in node_modules directory. This solution ensures a more efficient and streamlined package, in line with best practices for GitHub actions.

I have created a pull request for the second solution:
https://github.com/Azure/login/pull/367
I also tested it in my repository

Thanks for pointing this out and working on this case @kWozniak-tt

@kWozniak-tt, Thanks for raising this request. It's clear and helpful. We will add it to our plan.

[heart]         Johnny Harbieh reacted to your message:

From: Yan Xu @.>
Sent: Thursday, November 23, 2023 2:14:16 AM
To: Azure/login @.>
Cc: Comment @.***>
Subject: Re: [Azure/login] Package Size Issue with Azure Login GitHub Action (Issue #366)
@kWozniak-tthttps://github.com/kWozniak-tt, Thanks for raising this request. It's clear and helpful. We will add it to our plan.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/login/issues/366#issuecomment-1823744307 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASXMBB7VZUSZMAZ7SK6FOGLYF2WPTBFKMF2HI4TJMJ2XIZLTSWBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDGOBXGMZTKMRYGWSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRSGQ4DOMZQHEYDSN5ENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZJAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTEMJQG44TQNRRGWBKI5DZOBS2K2LTON2WLJLWMFWHKZNKGE4TQNZZGY2DOOBWQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGM4DOMZTGUZDQNMCUR2HS4DFUVWGCYTFNSSXMYLMOVS2UMRUHA3TGMBZGA4TPJ3UOJUWOZ3FOKTGG4TFMF2GK.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@MoChilia why this issue was unpinned

@kWozniak-tt no worries, we'll pin it again after this release. It's still on our table.


Backport AMQP-673 and Earlier 4.0.0 Commits

Does Travis report ring a bell for you?
org.springframework.amqp.rabbit.core.RabbitTemplatePublisherCallbacksIntegrationTests2 > classMethod FAILED

    org.springframework.beans.NotWritablePropertyException at RabbitTemplatePublisherCallbacksIntegrationTests2.java:64

Merged as https://github.com/spring-projects/spring-amqp/commit/4efba7d5ee552b22409a592c9c4ac4a3cf979b8e

We should also cherry-pick @acogoluegnes commit after this is merged bd4397a

Done.


add frame selection module to Storybook-How To

Hi, Mauricius
I'm very grateful for your amazing job, which helps me a lot in my work.
And I add a frame selection module example, allowing users to freely select multiple elements and drag them together.
Hope you like it - )

nice one @Xiao-Hongru ! Could you add a codepen example? Would love to try it out

Wow, that's impressive! Thank you so much :smiley:

Why was this removed from the Storybook?


Can't undo first item in history

Since the update to undo 1.3.0+1 I cannot undo the first element in the history. The status of the property canUndo is false although the history list still contains an element.

As you can see in the screenshot of the watch _history has one element but canUndo is false and calling the function undo dose not work. it works as expectet in version 1.1.0+1

I have the same issue, atm you can try my pull request #6  until @rodydavis can approve it
dependency_overrides:
  undo:
    git:
      url: git://github.com/ductranit/undo.git

I can make it an option, most times initial state you want to protect. But I can add a parameter 👍🏼

Fixed with version 1.3.1


Stream link in Recent Topics should turn on stream filter

As a follow up to #18645, clicking on a stream name in Recent topics should turn on stream filtering for that stream.
If filtering only allows a single stream, and a filter for stream A is set, clicking on stream B should replace it.
This is an updated solution to the user problem described in #22159:

In Recent topics, it's easy to accidentally click on a stream and end up in the interleaved stream view when one is actually trying to go to a topic.

Blocked on #18645, so not marking this as "help wanted" at present.

Closing in favor of #29574.


ｈｏｗ to visualize the features extracted by the convolution layer in my extracted by the convolution layer in my own model. model.

Thanks for your interesting work,I want to visualize the features extracted by the convolution layer in my own model. Do you have any good ｓuggestions?

I don't understand your question. There is a visualize_features.py. Just use that. If you need to visualize features on a new model that you implemented yourself. Implement a new visualizing script, you can take inspiration form visualizer.py

I don't understand your question. There is a visualize_features.py. Just use that. If you need to visualize features on a new model that you implemented yourself. Implement a new visualizing script, you can take inspiration form visualizer.py

Thanks for your reply.


[FEAT] Setup analytics tracking

if we use google analytics, see https://www.gatsbyjs.com/docs/recipes/deploying-your-site/#setting-up-google-analytics

I think it's better to user Google analytics in a first step, because it's integrated with Gatsby.
If we choose to use it, we need to create a google account for the organisation : https://support.google.com/analytics/answer/1008015?hl=en
https://www.gatsbyjs.com/docs/how-to/adding-common-features/adding-analytics/


Updated README

Current coverage is 100.00%

Merging #8 into master will not affect coverage as of 025b424

@@            master      #8   diff @@
======================================
  Files            1       1
  Stmts          113     113
  Branches         0       0
  Methods          0       0
======================================
  Hit            113     113
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 025b424

Powered by Codecov. Updated on successful CI builds.


Voices by CereWave, some others immediately crash the app when attempting to generate any voice lines. (Mac)

To put it simply, for whatever reason, the lot of CereWave as well as other, newer voices (tiktok voices) seem for whatever reason crash the application upon attempting to generate voices. This has never happened before, and this even started cropping up in ver. 2.0.0-- not sure what I did to make this issue occur. Feel free to ask for more information! Using ver. 2.1.0 on Mac OS Monterey

I'm using 2.0.0 on Windows 11, and I'm having the same issue!

Must be something to do with servers and the like. Or some oddity.
On Mon, Nov 13, 2023, 16:40 GiraffeBotsUnlimited @.***>
wrote:

I'm using 2.0.0 on Windows 11, and I'm having the same issue!
—
Reply to this email directly, view it on GitHub
https://github.com/Wrapper-Offline/Wrapper-Offline/issues/243#issuecomment-1809171506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQESTS7TCJ3MTARLBBWAWI3YEKHUFAVCNFSM6AAAAAA7FDC3W6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZGE3TCNJQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

This is happening to me too.  I can't give my Splatoon OC the voice "Adam".  The only difference is that I'm using Kubuntu 23.10.  Also, please stop calling me a zoophile and calling my IRL friend (I think you know who) a child predator.  I really don't like that.  I'm also sorry for my empty hacking threats.

No idea what is going on, I can't use the Stuart voice without the app abruptly closing. I thought I somehow damaged my installation, since I went as far as extracting my backup of Wrapper but encountered the same result.

Someone please give us at least one answer to what's going on. Because I'm having the same issue.

You Need to get Ultimate Voice pack


Characteristics filter screening

Have added a test to look for the characteristic and/or characteristic_group filters in the meta data file. It flags an advisory warning if they're present and a pass if not.
Have tested it with a sample file, but not created an automated test for it. The additional output is present in the shiny-test snapshots though.

To fix R dependency issue in automated pipelines and look for a test file to use for it

The R dependency issue we saw earlier seems to have gone away now, just a glitch on the last run.
Have added test in testthat for the new check.

Should point this to dev first too @rmbielby (as well as fixing tidy code) to save needing to merge main back into dev after


Unable to install forever

Tried installing but it always fails :/
npm -g install forever
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Error: git "clone" "git://github.com/bmeck/node-fork.git" "/tmp/npm-1326535958116/1326535959030-0.8745349610690027" failed with 128
npm ERR!     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR!     at ChildProcess.emit (events.js:67:17)
npm ERR!     at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Report this entire log at:
npm ERR!     http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR<EMAIL_ADDRESS>npm ERR!
npm ERR! System Linux 2.6.32-33-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "forever"
npm ERR! cwd /root
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/npm-debug.log
npm not ok
And here is the info from debug-log:
http://www.arcticspace.net/debug/npm-debug.log
Any help or ideas?
Thanks in advance!

Did you try installing with sudo, i.e. sudo npm install -g forever?

Hmm.. I think I got it now. I was running as root before but I guess the problem was as simple as not running this command from the right directory. Funny since I was able to install quite a lot of other packages without being in the node-directory.
Well.. Thanks anyway for your help!


Missing doctrineLoad() function declaration

Hi,
the function in the doctrineLoad() doesn't exist, when loading a object by the proxy factory from the couchdb.
Attempted to call an undefined method named "__doctrineLoad__" of class "CouchDBProxies\__CG__\__CLASS__
After removing the doctrineLoad from the CouchDB DocumentManager, it works:
from
   /**
     * Initialize an object that is a lazy load proxy, or do nothing.
     *
     * @param object $obj
     */
    public function initializeObject($obj)
    {
        if ($obj instanceof PersistentCollection) {
            $obj->initialize();
        } else if ($obj instanceof Proxy\Proxy) {
            $obj->__doctrineLoad__();
        }
    }

to
    /**
     * Initialize an object that is a lazy load proxy, or do nothing.
     *
     * @param object $obj
     */
    public function initializeObject($obj)
    {
        if ($obj instanceof PersistentCollection) {
            $obj->initialize();
        }
    }

Is there a need for this function?

Should probably be $obj->__load()


Feature Request: fill with gradient

What problem does this feature solve?
I often find myself wanting to apply a gradient to a shape, rather than just a single color.
What is your proposed solution?
Maybe an API like this:
graph
|> rectangle( {100, 200}, fill: {:gradient, [0x6db1ec, 0x35a274], 90})

where fill's options are {:gradient, list_of_colors, angle}

AAAND i just found this in the docs. Sorry for the noise.
https://hexdocs.pm/scenic/Scenic.Primitive.Style.Paint.LinearGradient.html

Ha! Funny. Super glad you are using it tho.


Create a demo of querying OBO in SQL in the browser using sql.js

h/t @kltm
https://sql.js.org/#/

The absolute minimum:
https://go-public.s3.amazonaws.com/index.html
https://github.com/kltm/obo-sql-js-demo

A few thoughts about this:

while the file sizes are large, on good internet they are not terrible
workers could download a prioritized list in the background
there may be new standard browser API settings that could allow this to be locally cached and only updates downloaded?
if a subset of OAK commands that are backed by sqlite3 could be ported to JS (manually or wasm), it might make  for a nice bit of advertising and playground
"federated queries"
may be nice to embed as part of tools so new ontology developers could get something braggable up quickly

From @pkalita-lbl : https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

@cmungall Now all ontologies: https://go-public.s3.amazonaws.com/db.html


chore: fix typos in nix-configs

@ngutech21 I wish GitHub had custom badges where we could aware "Master Proofreader" :rofl:


Update install instructions for dev mode

For those developing/modifying SIAF apertures it would be useful to provide instruction for installing pysiaf in dev mode. As per my conversation with @Johannes-Sahlmann it should be something ike this:
pip install -e /path_to_pysiaf/.

I think this is addressed in the current Readme?


AP is 0 or - 1

When I try to train my dataset through mask RCNN, I find that my AP appear - 1 and 0 during training. I want to know what the reason is. I don't know how to solve this problem。Here are the AP for my training process
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = -1.000
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.50 | area= small | maxDets=1000 ] = 0.000
Average Precision  (AP) @[ IoU=0.50:0.50 | area=medium | maxDets=1000 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.50 | area= large | maxDets=1000 ] = 0.663
Average Recall     (AR) @[ IoU=0.50:0.50 | area=   all | maxDets=100 ] = 0.794
Average Recall     (AR) @[ IoU=0.50:0.50 | area=   all | maxDets=300 ] = 0.794
Average Recall     (AR) @[ IoU=0.50:0.50 | area=   all | maxDets=1000 ] = 0.794
Average Recall     (AR) @[ IoU=0.50:0.50 | area= small | maxDets=1000 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.50 | area=medium | maxDets=1000 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.50 | area= large | maxDets=1000 ] = 0.816

https://github.com/open-mmlab/mmdetection/blob/master/docs/faq.md#evaluation