Enhanced poly ha output

Is your feature request related to a problem? Please describe.
The most likely use of hash outputs is going to be linking hash IDs to the LOCUS of a Genbank file, since that is typically the unique identifier. There should be a non-default option for the hash function to output the LOCUS of the Genbank file it has parsed.
Describe the solution you'd like
I would like the poly hash function to have 1 new optional option:

--locus (outputs locus)

Describe alternatives you've considered
I've considered just getting this information from the json file, but that seemed overly complicated for systems that already have nice genbank output.
Additional context
Add any other context or screenshots about the feature request here.

This seems like one that's easy enough. I'm not really sure what you want to output to look like here. Think you could make a pull request for this @Koeng101?

Will do.

https://timothystiles.github.io/polydocs/docs/cli-hashing
cat bsub.gbk | poly ha -i gbk -o json | jq -r '.Meta.Accession,.Sequence.Hash'
Has the functionality I was looking for.

@Koeng101 this functionality was also partially added as of last night.
https://timothystiles.github.io/poly/docs/cli-hashing/#hashing-with-a-system-call
Still needs the locus if that's what you're going for but what you have seems like a good idiomatic solution for bash.


updated build pip version

Checklist

[x ] Used a personal fork of the feedstock to propose changes
[x ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: host: pip == 21.0.1 should not contain a space between relational operator and the version, i.e. pip ==21.0.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add ability to hide create-dream-button by setting env var

We need to hide the "create-dream" button to allow only users with direct-link to dream-creation to be able to submit and create new dreams.
Flow should be:
Artists who want to create dreams first submit the google-form of "I have an idea" and then get a reply of their specific art-communication-point-of-contact (angel) with additional details. From now on this email will contain a direct link to dream-creation.

@basels  why not use the disable_open_new_dream variable? it seems to be doing the same thing


ui: fix possible memory leak in EGL

The EGL implementation no longer take ownership of the fd.https://registry.khronos.org/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import.txt:

3. Does ownership of the file descriptor pass to the EGL library?

ANSWER: No, EGL does not take ownership of the file descriptors. It is the
responsibility of the application to close the file descriptors on success
and failure.

Although the docs say it doesn't take ownership, it does in fact close the fd. Also, closing an fd twice can be an issue if the fd is reused.

oh I get it.
another question: if so, should we dup fd for EGL_DMA_BUF_PLANE0_FD_EXT and EGL_DMA_BUF_PLANE1_FD_EXT respectively?

I would expect it to throw an error if it would try to close the same fd twice, so I guess it doesn't matter, but I didn't test this, might be interesting to see what happens if you test this out.


Data retention toggle in settings for credential presentations

Description of feature / user story
As a verifier, I want to be able to not store any historical data of a proof exchange, so that I may comply to my privacy policies.
Acceptance Criteria

As verifier has ability to turn on/off records of presentation
the credential presentation record is removed right after being displayed
"Show usage history" button removed from proof request summary screen

Wireframes or relevant image assets / links
Link to design story

https://xd.adobe.com/view/f239cc67-e22a-4178-84ae-4cf06b1dff23-a76a/

Needs logic before it can be estimated.

Reduced scope of this ticket to simply toggle. Kim to update wireframes.

Resolved by https://github.com/hyperledger/aries-mobile-agent-react-native/pull/935

@wadeking98 Please also remove the "Show usage history" button from the proof request template.

Updated the AC.

Looks good. Closing.


Add additional shell and make flags to improve reliability of makefile

Add these flags based on Your makefiles are wrong and the overview of the shell flags
.SHELLFLAGS := -eu -o pipefail
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules

While "Your makefiles are wrong" also recommends adding the -c shell flag, which might refer to the -C flag flag, it seems like that isn't desired because we overwrite the repo's README.md file.

The shell flags only seem to work if the default shell is set to bash. The default is sh.

Not sure what that (lowercase) -c flag is referring to. Might be a typo, but in either case, I don't think we want it.

If I remove that -c, it produces this error when I run make:
$ make
bash: ls recipes: No such file or directory
bash: echo Use \"make RecipeName-target\" to run a recipe: No such file or directory
makefile:40: recipe for target 'list' failed
make: *** [list] Error 1

So, I'm not sure why, but it does seem necessary. The guide doesn't explain why.


Added Enchantments to EquippedItem

Created PR from this repo.
See #177 for more information

@danjagnow I created a new PR but this time from within this repository. Now the checks all seem to succeed. I'll leave the final merge up to you.

Thanks for this fix, @yschuurmans!

Thanks for this fix, @yschuurmans!


BRATS dataset version and processing

Hi,
Thanks a lot for your paper and for sharing your implementation. I would like to confirm what version of the BRATS dataset did you use? Was it the 2018 version and only the Training set, or did you use another version? Also, from looking at the naming of the brats directory that you used ('brats_processed'), I understand that some processing was used as a preliminary step. I was wondering if you could give more details on this, if not provide the preprocessing steps in the codebase as well?

We performed skull-stripping and alignment to the MNI space. Finally, we take a crop of 96 x 96 x 96 as the input. Perhaps, @hongweilibran can shed some light. We will try to upload the preprocessing script by next week.

@chinmay5 , thanks for your answer! If that is not easy, a sample of the dataset and file structure would be great! I'm interested in testing your implementation of 3D ViT-AE++ on  my 3D medical dataset but would need to know how to prepare my data in a format that is readily usable. I would have liked also to try to reproduce your results on BRATS first but if that is not easily doable, I'll go straight to using my dataset. Which version of BRATS did you use (what year, training only?), which source did you use for the download?

Sorry for the late response. We will try to upload the script for processing the BraTS dataset asap. Yes, we only used the training split. We preprocess the individual scans to generate a 96 x 96 x 96 crop. We stack all the individual crops together into a large matrix of shape
num_samples, 96, 96, 96, num_modalities.
You can observe this line performs a transpose operation to ensure channel-first mode. The line should be commented out if you stack the array channel first.

@chinmay5
In brats_split.py you seem to be using only a file called flair_all.npy.  Above you mentioned that you also have a dimension for the modalities for that matrix so I am a little confused. Where in brats_split.py are you using all the modalities to create the splits?

could you tell me what the flair_all.npy、feature_flair.npy  and label_all.npy is? and how can I get them ? which process code was used?  thank you


i23: optical centring

As a first step towards "full" x-ray centring on i23, run an optical centring workflow.
Should be somewhat similar to i03's optical centring as far as I understand it.
Note: refers to pin tip centring not loop centring.

Pin tip centring will be done in https://github.com/DiamondLightSource/python-artemis/issues/499. This issue is to get it working for i23


Precompiled version as GitHub Release

Hello
This project is really cool, but the build time is very very long (even with my Ryzen 9 5950X) and need a lot of space.
It would be nice if we could have a GitHub Release with precompiled binary
Do you think it's possible?
You could do it manually or automatically using GitHub Actions for CI/CD.

Seems like a duplicate of #21

Agreed, let's close this in favour of #21. GitHub Actions is too slow and expensive for our use-case unfortunately, we're going to use Refloat CI (disclaimer: I own it).

Agreed, let's close this in favour of #21. GitHub Actions is too slow and expensive for our use-case unfortunately, we're going to use Refloat CI (disclaimer: I own it).

Hi,
This link is broken https://github.com/refloat-ci/refloat


Some toc look broken

What happened?

Minimal Mistakes version: 4.24.0
Ruby gem or remote theme version:
Jekyll version: 4.2.2
Git repository URL: https://github.com/ChanYoung-dev/githubioLab
Hosted on GitHub Pages (if yes provide URL to site):
Operating system: Mac

code
---
permalink: /test/
title: "Basic"
toc: true
comments: true
---
# 0. Target
# 1. Jenkins
## 1.1 Configure
### 1.1.1 Source code
### 1.1.2 set build
### 1.1.3 Build
# 2. docker
### Dockerfile
### dockerfile
## ec2- docker
# 3. nginx
### nginx 2
# 4. Docker-Compose
### docker-compose
# 5. jenkins SSH
## 5.1.
## 5.2  ec2
## Jenkins job

Expected behavior
I installed Minimal mistakes and posted one post without touching anything. But from the 11th Header, it looks broken. What's the reason?
Steps to reproduce the behavior
Other
No response

You should not use "jumping" heading levels. A heading level N should only be followed by a heading of level N+1 (or smaller).


Linter fails on Windows due to line endings

.gitattributes needs to be set up so that code is checked out with consistent line endings on Windows.

Actually, I think instead of enforcing LF line endings on all users through .gitattributes, I should just configure git that way in the workflow.  That way, each user/developer can configure git how they prefer.


Add Buffer type field as PhantomData.

Add PhantomData type to Buffer indicating the type of data the Buffer points to. There is an example in Unused type parameter section of the PhantomData marker docs.
The sole purpose of the type field is to help Rust compiler's type checking, preventing accidentally reading to result array of another type or writing data with different type using CommandQueue's enqueue_ methods. The field is hidden in docs becaue it has size of zero bytes i.e. it doesn't exist at runtime. This hiding in the docs has been the choice e.g. in euclid math tools crate.
If data with different type needs to be written or read into result array of another type however, the type parameter can be explicitly cast with the cast() method, which essentially creates a clone of the Buffer with the new type. Although other methods for achieving the same would exist, such as casting the data to correct type before writing or after reading to result array.

Thank you jsatka, that's a good improvement.
I'll raise an issue to consider adding PhantomData to the other memory objects.

Thank you jsatka, that's a good improvement.
I'll raise an issue to consider adding PhantomData to the other memory objects.


Fix silent OOB params post-optimization failure

What
Makes it be so an error is raised if an optimizer gives OOB parameters instead of it failing silently.
Why
Makes optimizers raise an error if they give OOB results. Closes #235
How
Made an error be raised and made the errors along the way be more explicit.
Remarks
Should not break anything and be totally backwards compatible but if something does break it means it was GIGO (garbage in->garbage out) in the first place.
Checklist
Please include and complete the following checklist. Your Pull Request is (in most cases) not ready for review until the following have been completed. You can create a draft PR while you are still completing the checklist. Check the Contribution Guidelines for more details. You can mark an item as complete with the - [x] prefix

[x] Tests - Added unit tests for new code, regression tests for bugs and updated the integration tests if required
[x] Formatting & Linting - black and flake8 have been used to ensure styling guidelines are met
[x] Type Annotations - All new code has been type annotated in the function signatures using type hints
[x] Docstrings - Docstrings have been provided for functions in the numpydoc style
[x] Documentation - The tutorial style documentation has been updated to explain changes & new features
[x] Notebooks - Example notebooks have been updated to incorporate changes and new features
[x] Changelog - A short note on this PR has been added to the Upcoming Release section

@lazyoracle believe I addressed the requested changes


Rich data enrichment

The goal here is to not only provide the minimum required fields to make
a catalog dataset discoverable by google dataset search (this is already
possible) but to now also include any optional fields to enrich the
structured data for the dataset when viewing it in a dataset search
result.
The changes necessary to allow this include:

basic functions to map all optional fields from existing properties
in a metadata entry
an update to the catalog-level config file to include fields for
'catalog_name' and 'catalog_url' that are used for mapping to the
optional 'includedInDataCatalog' rich data field

Any existing or new catalog that wants to make use of these features
should ensure that their catalog-level config file is updated.
Note: this PR is based on top of https://github.com/datalad/datalad-catalog/pull/430, thus it should wait for that to be merged

Closed in favour of https://github.com/datalad/datalad-catalog/pull/449


Showcase Submission for ml5/7-bodypose/pose-detection

Thank you Juan Carlos Ponce Campuzano for your contribution! A member of the Coding Train team will review it shortly.

Regular polygons playground
Juan Carlos Ponce Campuzano

Incredible @jcponce thank you for sharing!


ERROR: failed running pre hooks

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I ran the azd init command as outlined in the readme. All the resources were successfully provisioned in Azure, and the 'chunking' seems to have worked as expected (see log notes below). The issue occurs after that when the script gets to the deploy phase. It always ends at building the front end with error shown below. Retrying with azd deploy results in the same, and trying to run it locally also fails at the same step.

Any log messages given by the failure

When running azd deploy, I get the following:
vscode ➜ /workspaces/azure-search-openai-demo/new (main) $ azd deploy
Executing predeploy hook => /tmp/azd-predeploy-1125170420.sh

up to date, audited 122 packages in 4s

10 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

><EMAIL_ADDRESS>build
> tsc && vite build

vite v4.1.1 building for production...
✓ 1250 modules transformed.
Killed

ERROR: failed running pre hooks: 'predeploy' hook failed with exit code: '137', Path: '/tmp/azd-predeploy-1125170420.sh'. : exit status 137

When running ./start.sh locally, I get the following:
...
Restoring frontend npm packages

up to date, audited 122 packages in 4s

10 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Building frontend

><EMAIL_ADDRESS>build
> tsc && vite build

vite v4.1.1 building for production...
✓ 1250 modules transformed.
Killed
Failed to build frontend

Expected/desired behavior

I would expect the build to complete and the web client to open up after this. Haven't been able to reach that step yet

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

macOS on VSCode using the VSCode Remote Container. Container info below:
ARG VARIANT=bullseye
FROM --platform=amd64 mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
RUN export DEBIAN_FRONTEND=noninteractive \
     && apt-get update && apt-get install -y xdg-utils \
     && apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://aka.ms/install-azd.sh | bash

{
    "name": "Azure Developer CLI",
    "build": {
        "dockerfile": "Dockerfile",
        "args": {
            "VARIANT": "bullseye"
        }
    },
    "features": {
        "ghcr.io/devcontainers/features/python:1": {
            "version": "os-provided"
        },
        "ghcr.io/devcontainers/features/node:1": {
            "version": "16",
            "nodeGypDependencies": false
        },
        "ghcr.io/devcontainers/features/powershell:1.1.0": {},
        "ghcr.io/devcontainers/features/azure-cli:1.0.8": {}
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-azuretools.azure-dev",
                "ms-azuretools.vscode-bicep",
                "ms-python.python"
            ]
        }
    },
    "forwardPorts": [
        5000
    ],
    "postCreateCommand": "",
    "remoteUser": "vscode",
    "hostRequirements": {
        "memory": "8gb"
    }
}

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Note - this looks to be an issue with the remote container only. I was able to get it working with no problems when I did not use the VS Code Container.

I am using VS Code on Ubuntu and I am facing similar issues. What was your workaround to run ./start.sh locally?

I'm trying to deploy from codespace and I'm getting this issue
how can I solve it?

Closing as this seems like an obsolete issue.


't-special-day' doesnt show for none defualt months

Hi There,
Great Tool!
A question/issue:  The special days will only display on load for the first two months (in show mode) in focus. The special days do not show up default for other months when you are scrolling through the calendar.
They will show up once you select a date on any of the months in focus.
See screenshots attached.
Any chance this can get fixed?

I figured out that this was happening across two different years. This is because of the following line:
if (settings.fnDataEvent[key] != undefined && getMonths === m ) {
I have modified this to achieve the result I needed:
`						var getDays = Number(toDayElement[i].getAttribute('data-t-date'));
var getMonths = new Date(getDays).getMonth() + 1;
var key = gYear + '-' + check_num_10(gMonth) + '-' + check_num_10(getNum);
var nextyearkey = gYear+1 + '-' + check_num_10(gMonth) + '-' + check_num_10(getNum);
					if (settings.fnDataEvent[key] != undefined && getMonths === m) {
                        var cln = toDayElement[i].className;
						toDayElement[i].className = toDayElement[i].className.replace(' t-special-day t-disabled', '') + ' t-special-day t-disabled';
						toDayElement[i].setAttribute('t-date-title', check_num_10(getNum) + ' ' + settings.titleMonths[new Date(getDays).getMonth()] + ' - ' + settings.fnDataEvent[key])
					}else if(settings.fnDataEvent[nextyear] != undefined && getMonths === 1){
                        var cln = toDayElement[i];
                        //console.log(key);
                        toDayElement[i].className = toDayElement[i].className.replace(' t-special-day t-disabled', '') + ' t-special-day t-disabled';
                        toDayElement[i].setAttribute('t-date-title', check_num_10(getNum) + ' ' + settings.titleMonths[new Date(getDays).getMonth()] + ' - ' + settings.fnDataEvent[key])
                    }`

Hi @vajiraHOA,
I'm sorry for late replying.
I have just updated version 1.0.3 with fnDataEvent and option mergeDataEvent.
You can try again now or view document here t-datepicker.getqwerty.com
This is the demo
Thank you so much.


TypeError: superclass mismatch for class Cipher

Error Report
I was trying to create a Gemfile for bundler and encountered this error:
Questions

What did you do?
I ran the command /Users/d/.rvm/gems/ruby-2.4.1/bin/bundle

What did you expect to happen?
I expected Bundler to install the dependencies from bundler.gemspec

What happened instead?
Instead, what happened was this error :).

Backtrace
TypeError: superclass mismatch for class Cipher
  /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/openssl/cipher.rb:64:in `<class:Cipher>'
  /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/openssl/cipher.rb:16:in `<module:OpenSSL>'
  /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/openssl/cipher.rb:15:in `<top (required)>'
  /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/openssl.rb:17:in `require'
  /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/openssl.rb:17:in `<top (required)>'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/shared_helpers.rb:211:in `require'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/shared_helpers.rb:211:in `md5_available?'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/fetcher/compact_index.rb:65:in `available?'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/fetcher/compact_index.rb:16:in `call'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/fetcher/compact_index.rb:16:in `block in compact_index_request'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/fetcher.rb:158:in `use_api'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:376:in `block in api_fetchers'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:376:in `select'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:376:in `api_fetchers'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:381:in `block in remote_specs'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/index.rb:11:in `build'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:380:in `remote_specs'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:89:in `specs'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:268:in `block (2 levels) in index'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:266:in `each'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:266:in `block in index'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/index.rb:11:in `build'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:263:in `index'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/definition.rb:158:in `resolve_remotely!'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/installer.rb:279:in `resolve_if_needed'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/installer.rb:83:in `block in run'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/process_lock.rb:12:in `block in lock'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `open'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `lock'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/installer.rb:72:in `run'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/installer.rb:25:in `install'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/cli/install.rb:65:in `run'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/cli.rb:224:in `block in install'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/settings.rb:136:in `temporary'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/cli.rb:223:in `install'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  /Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  /Users/d/.rvm/gems/ruby-2.4.1/bin/bundle:22:in `load'
  /Users/d/.rvm/gems/ruby-2.4.1/bin/bundle:22:in `<main>'

Environment
Bundler       1.16.1
  Platforms   ruby, x86_64-darwin-14
Ruby          2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin14]
  Full Path   /usr/local/opt/ruby/bin/ruby
  Config Dir  /usr/local/Cellar/ruby/2.4.1_1/etc
RubyGems      2.6.11
  Gem Home    /Users/d/.rvm/gems/ruby-2.4.1
  Gem Path    /Users/d/.rvm/gems/ruby-2.4.1:/Users/d/.rvm/gems/ruby-2.4.1@global
  User Path   /Users/d/.gem/ruby/2.4.0
  Bin Dir     /Users/d/.rvm/gems/ruby-2.4.1/bin
OpenSSL
  Compiled    OpenSSL 1.0.2k  26 Jan 2017
  Loaded      OpenSSL 1.0.2n  7 Dec 2017
  Cert File   /usr/local/etc/openssl/cert.pem
  Cert Dir    /usr/local/etc/openssl/certs
Tools
  Git         2.13.2
  RVM         1.29.3master
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata
Built At          2017-12-21
Git SHA           0034ef341
Released Version  true

Bundler settings
bin_path
  Set via BUNDLE_BIN_PATH: "/Users/d/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/exe/bundle"
gemfile
  Set via BUNDLE_GEMFILE: "/Users/d/src/clones/bundler/Gemfile"

Gemfile
Gemfile
source "https://www.rubygems.org"

gemspec

Gemfile.lock
PATH
  remote: .
  specs:

GEM
  remote: https://www.rubygems.org/
  specs:
    automatiek (0.1.2)
    diff-lcs (1.3)
    hpricot (0.8.6)
    mustache (1.0.5)
    rake (10.5.0)
    rdiscount (<IP_ADDRESS>)
    ronn (0.7.3)
      hpricot (>= 0.8.2)
      mustache (>= 0.7.0)
      rdiscount (>= 1.5.8)
    rspec (3.7.0)
      rspec-core (~> 3.7.0)
      rspec-expectations (~> 3.7.0)
      rspec-mocks (~> 3.7.0)
    rspec-core (3.7.0)
      rspec-support (~> 3.7.0)
    rspec-expectations (3.7.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.7.0)
    rspec-mocks (3.7.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.7.0)
    rspec-support (3.7.0)

PLATFORMS
  ruby

DEPENDENCIES
  automatiek (~> 0.1.0)
  bundler!
  mustache (~> 1.0.5)
  rake (~> 10.0)
  rdiscount (~> 2.2)
  ronn (~> 0.7.3)
  rspec (~> 3.6)

BUNDLED WITH
   1.16.1

Gemspecs
bundler.gemspec
# coding: utf-8
# frozen_string_literal: true

require File.expand_path("../lib/bundler/version", __FILE__)
require "shellwords"

Gem::Specification.new do |s|
  s.name        = "bundler"
  s.version     = Bundler::VERSION
  s.license     = "MIT"
  s.authors     = [
    "André Arko", "Samuel Giddins", "Chris Morris", "James Wen", "Tim Moore",
    "André Medeiros", "Jessica Lynn Suttles", "Terence Lee", "Carl Lerche",
    "Yehuda Katz"
  ]
  s.email       =<EMAIL_ADDRESS>  s.homepage    = "http://bundler.io"
  s.summary     = "The best way to manage your application's dependencies"
  s.description = "Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably"

  if s.respond_to?(:metadata=)
    s.metadata = {
      "bug_tracker_uri" => "http://github.com/bundler/bundler/issues",
      "changelog_uri" => "https://github.com/bundler/bundler/blob/master/CHANGELOG.md",
      "homepage_uri" => "https://bundler.io/",
      "source_code_uri" => "http://github.com/bundler/bundler/",
    }
  end

  if s.version >= Gem::Version.new("2.a".dup)
    s.required_ruby_version     = ">= 2.3.0"
    s.required_rubygems_version = ">= 2.5.0"
  else
    s.required_ruby_version     = ">= 1.8.7"
    s.required_rubygems_version = ">= 1.3.6"
  end

  s.add_development_dependency "automatiek", "~> 0.1.0"
  s.add_development_dependency "mustache",   "~> 1.0.5"
  s.add_development_dependency "rake",       "~> 10.0"
  s.add_development_dependency "rdiscount",  "~> 2.2"
  s.add_development_dependency "ronn",       "~> 0.7.3"
  s.add_development_dependency "rspec",      "~> 3.6"

  s.files = `git -C #{Shellwords.escape File.dirname(__FILE__)} ls-files -z`.split("\x0").select {|f| f.match(%r{^(lib|exe)/}) }

  # we don't check in man pages, but we need to ship them because
  # we use them to generate the long-form help for each command.
  s.files += Dir.glob("man/**/*")
  # Include the CHANGELOG.md, LICENSE.md, README.md manually
  s.files += %w[CHANGELOG.md LICENSE.md README.md]
  # include the gemspec itself because warbler breaks w/o it
  s.files += %w[bundler.gemspec]

  s.bindir        = "exe"
  s.executables   = %w[bundle bundler]
  s.require_paths = ["lib"]
end

Can you run gem which openssl/cipher for me? My guess is that somehow two different versions of openssl are being loaded on your machine, which is weird

I don't know, sorry

Is this problem still occurring on newer versions of Bundler?

Closing due to no response.


Module 1: Rust Basic Concepts

Sub-modules (@NTP-996)
1. Common programming concepts

[ ] https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html

Slide to submodule: XXXXX

2. Program life cycle: iterators, conditional statements...

[ ] https://doc.rust-lang.org/book/ch13-00-functional-features.html

Slide to submodule: XXXXX

[ ] https://doc.rust-lang.org/book/ch03-05-control-flow.html

Slide to submodule: XXXXX

3. Ownership & Borrow checker

[ ] https://doc.rust-lang.org/book/ch04-00-understanding-ownership.html

Slide to submodule: XXXXX

4. Common data structures: LinkedList, Vector, HashMap

[ ] https://doc.rust-lang.org/book/ch08-00-common-collections.html

Slide to submodule: XXXXX

5. Struct, trait and enum

[ ] https://doc.rust-lang.org/book/ch05-00-structs.html

Slide to submodule: XXXXX

[ ] https://doc.rust-lang.org/book/ch06-00-enums.html

Slide to submodule: XXXXX

[ ] https://doc.rust-lang.org/book/ch10-02-traits.html

Slide to submodule: XXXXX

@NTP-996

[ ] Please update module Common data structures to add other common data structures used in Rust as well
[ ] Add more information about borrow checker. This topic is quite important but it is quite hard to understand for beginners. Would be best if you can have illustrations of the topic.

@chungquantin pls review the PR #8


Refactor makes some things very difficult

Previously:
import "github.com/circonus-labs/circonus-gometrics"

m := circonusgometrics.NewCirconusMetrics()
m.SubmissionUrl = s.URL

Now:
import (
	"github.com/circonus-labs/circonus-gometrics"
	"github.com/circonus-labs/circonus-gometrics/checkmgr"
)

m, _ := circonusgometrics.NewCirconusMetrics(&circonusgometrics.Config{
	CheckManager: checkmgr.Config{
		Check: checkmgr.CheckConfig{
			SubmissionUrl: url,
		},
	},
})

Are you sure this is a good idea? :)
edit: got the initialization wrong

i will be updating https://github.com/maier/cgm-gk after i get some other pull requests completed.

No worries! I'm refactoring too: https://github.com/go-kit/kit/pull/313. Let me get that merged before you do too much work :)

i'm merging in some more updates. i've also update the cgm-gk code. when you get done with your refactoring let me know and i'll fork and do a PR to update the circonus module if you'd prefer.


Presentation -- in numbered list mode, when changed to H1,2,3, the number remain in paragraph style

This is also a bug, will take a look

Hm I'm seeing the heading rendering in the appropriate style? do you have example markdown I could use to reproduce?


[Реєстрація] "Пароль" field can't contain RUS, UKR letters.

Environment: Windows 10 + Google Chrome Version 94.0.4606.81.
Reproducible: always
Build found: last commit from https://speak-ukrainian.org.ua/dev/
Steps to reproduce

Go to https://speak-ukrainian.org.ua/dev
Click in user profile dropdown on "Зареєструватися" item.
Type "МійПароль" in "Пароль" text box.

Actual result
RUS, UKR letters are valid for ‘Пароль’ field.

Expected result
‘Пароль’ сan contain LATIN letters. RUS, UKR letters are not valid.
User story #97

Defect is fixed


Metadata not saving

I'm having the issue described here.
I can see in the log that the params aren't blank and are permitted, but they're not persisted (despite having the correct column_names).
Am I missing something simple? My code isn't the same as the above link (exactly), but it follows the docs and is very similar. Is this a bug, or config?  Here's a copy of my server post params: Parameters: {"utf8"=>"✓", "authenticity_token"=>"r1qlKmhw5YoPOVSrOXrAYcE3bfCFB9JRURD29c0qo9dTLoK89BC1IeRScI5pOw/PccI+vH1ElI/tIXvUnLx/fw==", "mp_problem"=>{"title"=>"Testing Upload", "department"=>"AE", "problem_date"=>"2016-08-09", "quantity"=>"0", "cost"=>"", "qi"=>"", "test_performed"=>"TEST", "final_result"=>"ship_parts", "associate"=>"", "description"=>"", "attachments_files"=>["[{\"id\":\"d191885a46b3f4017428eacafe777f87f36a9ed4fe7b542ee4cfc20d8996\",\"filename\":\"20151023_113244[1].jpg\",\"content_type\":\"image/jpeg\",\"size\":4910698}]"], "limited_acceptance"=>"0", "model"=>"new", "engine"=>"yes"}}

Any reason this shouldn't work? Or is it not possible for associated multiple uploads?

Incorrect column names resulted in not saving metadata.


Padding of tree-view project node is "wrong"...

... in Spacious mode

Changing the padding-top value from 0.75em to 0.5em seems to fix it, but not entirely sure that looks like what you intended. For reference, it looks fine in Compact mode.

Also adding your "1px off" screenshot for compact mode:


Remove reflection from the critical paths

Is this still relevant @moretea?
Temporarily assigning to self.

Closing as obsolote.


Documentation

More comprehensive documentation is essential for adoption. List of topics to be covered:

quick start for validate only
quick start for evaluate only
quick start for both validate and evaluate
reference for recipe pipeline frlow
reference for building recipe and its example
reference for building JSON Schema and its example
reference for building JSONnet and its example

updated to remove plugin documentation as it is not necessary


Add a comment to the pull request flow when a workflow run completes

Marking as draft because:

I am not completely sure the message-id handling is correct
I have no idea how to test this

cc @gsmet

Exactly, I often forget about PRs

Thanks!

Thanks to you. I released and will wait for it to hit Central before pushing a new version of the bot.

🎉🎉🎉

I just deployed it!

Super quick!


Forecasting multiple time series targets (many-to-many)

Hi, I'm attempting to forecast multiple time series targets simultaneously (a many-to-many forecasting use case). I understand that most GluonTS models can accept a single target and multiple additional features, however the resulting output always appears to be a single target forecast. However, I'm looking to forecast multiple targets with a single model.
My data is as below:

date
time series 1
time series 2
time series 3

'2020-01-01'
18
5
0

'2020-01-02'
31
12
2

'2020-01-03'
67
17
3

'2020-01-04'
23
5
1

Could someone kindly point me to the appropriate model and input formatting to achieve my many-to-many forecasting use case?
Thanks in advance for any assistance with this. It's greatly appreciated!

Hello @dmartintucker,
there are two ways to approach this. You could use a univariate, but global model like DeepAR. DeepAR is trained on multiple time series and during inference you can produce forecasts for each single time series. Each forecast will only be conditioned on a single time series, but still, this would be forecasting "multiple targets with a single model".
You can use a ListDataset to use your data for this approach:
import pandas as pd
import numpy as np
from gluonts.dataset.common import ListDataset

indices = pd.date_range(start = "2020-01-01", end = "2020-10-30")
#creating some random data
target = np.random.randint(0, 100, size=(3,len(indices))) + np.linspace((1,10,50),(5,20,100), len(indices)).T.astype("int")

time_series_dicts = []
for time_series in target:
    time_series_dicts.append({"target": time_series, "start": indices[0]})
dataset = ListDataset(time_series_dicts, freq=indices[0].freq)

The second approach would be to use a multivariate model like DeepVAREstimator or GPVAREstimator, which learn multivariate distributions. Forecasts from this model will be many-to-many.
You simply have to set one_dim_target=False for the ListDataset, and provide your multi-dimensional target. Here is a toy example:
import pandas as pd
import numpy as np
from gluonts.model.deepvar import DeepVAREstimator
from gluonts.dataset.common import ListDataset
from gluonts.trainer import Trainer

indices = pd.date_range(start = "2020-01-01", end = "2020-10-30")

target = np.random.randint(0, 100, size=(3,len(indices))) + np.linspace((1,10,50),(5,20,100), len(indices)).T.astype("int")

dataset = ListDataset([{"start": indices[0], "target": target}], freq=indices[0].freq, one_dim_target=False)

target_dim = target.shape[0] # 3
trainer = Trainer(epochs=10)

prediction_length = 10

estimator = DeepVAREstimator(target_dim=target_dim,
                             prediction_length=prediction_length,
                             context_length = 20,
                             freq="d",
                             trainer=trainer)

predictor = estimator.train(dataset)

# evaluate your model (should be done on a test set!)
from gluonts.evaluation import MultivariateEvaluator
from gluonts.evaluation.backtest import backtest_metrics

agg_metrics, _ = backtest_metrics(
        test_dataset=dataset,
        predictor=predictor,
        evaluator=MultivariateEvaluator(
            quantiles=(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9)
        ))
print(agg_metrics)

# draw some samples from the predicted multivariate distribution

from gluonts.evaluation.backtest import make_evaluation_predictions

forecast_it, ts_it = make_evaluation_predictions(
    dataset=dataset,
    predictor=predictor,
    num_samples=10,
)

forecasts = list(forecast_it)
tss = list(ts_it)

print(forecasts[0].samples.shape) # 50 samples for 4 timesteps from a 3 dim - multivariate distribution

Here is how you can plot the marginal, empirical distributions of the samples:
import matplotlib.pyplot as plt
from gluonts.model.forecast import SampleForecast

forecast = forecasts[0]

for i in range(target_dim):
    f = SampleForecast(samples=forecast.samples[:,:,i], freq="d", start_date=indices[-1])
    f.plot()
    plt.legend()
    plt.show()

Also, you can take a look at the gluonts.dataset.multivariate_grouper to turn univariate datasets into multivariate datasets easily.
Hope that helps!

Closing this for now, feel free to reopen and let me know in case you have any further questions.

Hi, I'm attempting to forecast PM10 using temperature, wind speed, wind direction, etc., namely, the history data is the input feature (such as temperature, wind speed ...) and the target (PM10) time series used to train model, and using the future input feature time series to predict PM10. Could you point me to the appropriate model and input formatting to achieve the forecasting use case? Thanks so much! @PascalIversen

Hi @PascalIversen
How can I plot forecasting time series in "multiple targets with single DeepAR model" with subplot?
fig, ax = plt.subplots(6, 1, figsize=(10, 7))
for k, (test_entry, forecast) in enumerate(zip(test_data, predictor.predict(test_data))):
to_pandas(test_entry)[-60:].plot(ax=ax[k], linewidth=2)
forecast.plot(ax=ax[k], color='g', prediction_intervals=[50.0, 90.0])
plt.grid(which='both')
plt.show()

Hi, Interesting examples!
I am looking for an example we could call a many-to-one problem, where we predict for a single target, but conditioned on multiple time-series. Any simple example for that?

How to de-scale DeepVAR forecasts? Unlike the resilts I am getting from DeepAR, my forecasts are coming out meanscaled.
Is there a helper function I can apply to a SampleForecast object?

Hi, I'm attempting to forecast PM10 using temperature, wind speed, wind direction, etc., namely, the history data is the input feature (such as temperature, wind speed ...) and the target (PM10) time series used to train model, and using the future input feature time series to predict PM10. Could you point me to the appropriate model and input formatting to achieve the forecasting use case? Thanks so much! @PascalIversen

Hey, I am facing similar kind of problem with intermittent time series, did you figured out how to slove with glounts? I have tried other models but my results are not good so i wanted to check with DeepVAR estimator

I am using this example verbatim with a different data set, but when I run backtest_metrics() or make_evaluation_predictions() I receive the following error: "IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices". Apparently the issue lies in the structure of the predictor generator (predictor = estimator.train(...)). Any ideas what this is really telling me?

I have multiple time series data with multiple targets. Getting an exception while running backtest_metrics() or make_evaluation_predictions(). Please help
# Convert DataFrame to GluonTS-compatible format
time_series_data = []
unique_time_series = df['switchEntity'].unique()

target_columns = ['HOTSPOTTEMPSE', 'INLETTEMPSE_A', 'OUTLETTEMPSE_A']

for time_series_id in unique_time_series:
    subset = df[df['switchEntity'] == time_series_id].sort_values('windowStart').reset_index(drop=True)
    time_series_data.append({
        'target': subset[target_columns].values.T,
        'start': subset['windowStart'].iloc[0],
        #'feat_dynamic_cat': subset['device_type'].values.reshape((-1, 1))
        'feat_dynamic_cat': subset['device_type'].values.T.reshape(1, -1),
    })

# Define the frequency of the time series
freq = '5T'

dataset = ListDataset(time_series_data, freq=freq, one_dim_target=False)

# Print the first entry in the dataset
print(next(iter(dataset)))

dataset[0]['feat_dynamic_cat'].shape

(1, 8870)
dataset[0]['target'].shape

(3, 8870)
I am getting the below error while running backtest_metrics() or make_evaluation_predictions()
# Define the prediction length and context length (predict the next one hour values)
prediction_length = 12
context_length = 12
num_cells = 32
num_layers = 2
epochs= 10
freq="5T"

#grouper_test = MultivariateGrouper(max_target_dim=1)
#dataset = grouper_test(dataset)

estimator = DeepVAREstimator(freq=freq,
                            context_length=context_length,
                            prediction_length=prediction_length,
                            num_layers=num_layers,
                            num_cells=num_cells,
                            target_dim=3,
                            cardinality=[1], # Need to fill the len of unique switch types
                            trainer=Trainer(epochs=epochs))

predictor = estimator.train(dataset)

No issues observed during training
agg_metrics, _ = backtest_metrics(
        test_dataset=dataset,
        predictor=predictor,
        evaluator=MultivariateEvaluator(
            quantiles=(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9)
        ))
print(agg_metrics)

forecast_it, ts_it = make_evaluation_predictions(
    dataset=dataset,
    predictor=predictor,
    num_samples=10,
)

forecasts = list(forecast_it)
tss = list(ts_it)

print(forecasts[0].samples.shape)

--------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/opt/anaconda3/lib/python3.9/site-packages/mxnet/ndarray/ndarray.py in array(source_array, ctx, dtype)
   3363             try:
-> 3364                 source_array = np.array(source_array, dtype=dtype)
   3365             except:

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (32, 1) + inhomogeneous part.

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
/var/folders/mc/ph4ybm0x2mld5hj1nch6fpdr0000gn/T/ipykernel_16981/1259916801.py in <module>
      3 from gluonts.evaluation.backtest import backtest_metrics
      4
----> 5 agg_metrics, _ = backtest_metrics(
      6         test_dataset=dataset,
      7         predictor=predictor,

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/evaluation/backtest.py in backtest_metrics(test_dataset, predictor, evaluator, num_samples, logging_file)
    143     )
    144
--> 145     agg_metrics, item_metrics = evaluator(
    146         ts_it, forecast_it, num_series=maybe_len(test_dataset)
    147     )

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/evaluation/_base.py in __call__(self, ts_iterator, fcst_iterator, num_series)
    757         all_metrics_per_ts = list()
    758
--> 759         peeked_forecast, fcst_iterator = self.peek(fcst_iterator)
    760         target_dimensionality = self.get_target_dimensionality(peeked_forecast)
    761         eval_dims = self.get_eval_dims(target_dimensionality)

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/evaluation/_base.py in peek(iterator)
    664     @staticmethod
    665     def peek(iterator: Iterator[Any]) -> Tuple[Any, Iterator[Any]]:
--> 666         peeked_object = iterator.__next__()
    667         iterator = chain([peeked_object], iterator)
    668         return peeked_object, iterator

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/mx/model/predictor.py in predict(self, dataset, num_samples, num_workers, num_prefetch, **kwargs)
    161         )
    162         with mx.Context(self.ctx):
--> 163             yield from self.forecast_generator(
    164                 inference_data_loader=inference_data_loader,
    165                 prediction_net=self.prediction_net,

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/model/forecast_generator.py in __call__(self, inference_data_loader, prediction_net, input_names, output_transform, num_samples, **kwargs)
    152         **kwargs
    153     ) -> Iterator[Forecast]:
--> 154         for batch in inference_data_loader:
    155             inputs = [batch[k] for k in input_names]
    156             outputs = predict_to_numpy(prediction_net, inputs)

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/transform/_base.py in __iter__(self)
    101
    102     def __iter__(self) -> Iterator[DataEntry]:
--> 103         yield from self.transformation(
    104             self.base_dataset, is_train=self.is_train
    105         )

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/transform/_base.py in __call__(self, data_it, is_train)
    126                 yield self.map_transform(data_entry.copy(), is_train)
    127             except Exception as e:
--> 128                 raise e
    129
    130     @abc.abstractmethod

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/transform/_base.py in __call__(self, data_it, is_train)
    124         for data_entry in data_it:
    125             try:
--> 126                 yield self.map_transform(data_entry.copy(), is_train)
    127             except Exception as e:
    128                 raise e

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/transform/_base.py in map_transform(self, data, is_train)
    139
    140     def map_transform(self, data: DataEntry, is_train: bool) -> DataEntry:
--> 141         return self.transform(data)
    142
    143     @abc.abstractmethod

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/transform/_base.py in transform(self, data)
    159
    160     def transform(self, data: DataEntry) -> DataEntry:
--> 161         return self.func(data.copy())
    162
    163

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/mx/batchify.py in batchify(data, ctx, dtype, variable_length, is_right_pad)
    101     is_right_pad: bool = True,
    102 ) -> DataBatch:
--> 103     return {
    104         key: stack(
    105             data=[item[key] for item in data],

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/mx/batchify.py in <dictcomp>(.0)
    102 ) -> DataBatch:
    103     return {
--> 104         key: stack(
    105             data=[item[key] for item in data],
    106             ctx=ctx,

~/opt/anaconda3/lib/python3.9/site-packages/gluonts/mx/batchify.py in stack(data, ctx, dtype, variable_length, is_right_pad)
     79         return mx.nd.stack(*data)
     80     if isinstance(data[0], np.ndarray):
---> 81         data = mx.nd.array(data, dtype=dtype, ctx=ctx)
     82     elif isinstance(data[0], (list, tuple)):
     83         return list(

~/opt/anaconda3/lib/python3.9/site-packages/mxnet/ndarray/utils.py in array(source_array, ctx, dtype)
    144         return _sparse_array(source_array, ctx=ctx, dtype=dtype)
    145     else:
--> 146         return _array(source_array, ctx=ctx, dtype=dtype)
    147
    148

~/opt/anaconda3/lib/python3.9/site-packages/mxnet/ndarray/ndarray.py in array(source_array, ctx, dtype)
   3364                 source_array = np.array(source_array, dtype=dtype)
   3365             except:
-> 3366                 raise TypeError('source_array must be array like object')
   3367
   3368     if source_array.shape == ():

TypeError: source_array must be array like object


When i sign out and click sign it crashes

I am using lastest version

@DLRAM Does it crash all the time when you sign out and click sign in?

Now it is not crashing when signing in. Before, every time I clicked 'sign in,' it crashed.

Why can't I like or comment on the post?I am using a private nostr key

Great to hear that is working. In case login crashes resurfaces, please do Clear Data for App Info settings. We are still in the early phase of sometimes there are breaking changes in the updates.
Build 0.11 was read-only. Today we just released 0.12 build which supports simple write operations (like, repost, new post and commenting). Check it out!


Hi, how can I implement a simple server side

Hi, this project of yours is really awesome. I want to refer to your project to implement a simple server side, I want to know where I can get some documentation about the TNS protocol, can you provide a little help, thank you very much.
I only need to realize that the server can perform login authentication, and can get the sql statement sent by the client

the project is depend mainly on reverse engineering of oracle drivers. actually I think you will not find a complete documentation that explain oracle network and authentication
but I try to make driver as simple as I can so you can get required information from Go code.


Develop

Module for reporting metrics gathered from Membrane.Core to TimescaleDB instance.

Oh, one more thing: I've enabled CircleCI on this repo, please add config for it (from template)


Add exception handling to android missing files to develop

feat(#702): Add exception handling to android missing files

@tilak-puli we need these changes on Hotfix as well. But I see you merged develop into this branch. Hence this branch cannot be merged to Hotfix.


Could not read TSMessages config file from main bundle

pod 'TSMessages'
After update cocoapod use_framework!  for swift  this error occurs
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not read TSMessages config file from main bundle with name TSMessagesDefaultDesign.json

Did you ever figure this one out? Same issue

still not find any solution. well if i remove use_framework! from cocoapods file then this error not occurs

One way to fix that is to add the TSMessagesDefaultDesign.json in your project. You can find in this repot.

This is included in the pod.

same here, add use_framework! in podfile will trigger this issue.

it had been discussed in https://github.com/KrauseFx/TSMessages/issues/213. So it's fixed in master branch, but not released to cocoapad. As a workaround, if you can use the master branch, you can put in your podfile:     pod 'TSMessages', :git => 'https://github.com/KrauseFx/TSMessages.git'

Hi,
Any update on this? Will it get to a new release?
Thanks.

+1

@top2tech doesn't appear to be fixed in Master branch. It's still happening for me and I can't figure out why :-1:

@Hmachalani +1. I had to roll back to 0.25.0

After I setup the master branch on the pod file, the error gone. Thanks!

It works after I add  'TSMessages', :git => 'https://github.com/KrauseFx/TSMessages.git' . (y) thanks you.

Bump. Can we get an pod update to allow use_frameworks! without having to specify :master?

+1. Any fix soon?

It's still happening even doing the workaround proposed by AyeChanPyaeSone a few messages ago.
I cannot continue using this library unfortunately =(

Copying TSMessagesDefaultDesign.json into your project solves the issue. (hack)

@maciejzukowski Thank you, works for me! But when this error occurs, TSMessages remains broken. No message will be shown in this case during application's lifecycle. So this is only the half-measure.

Yeah leaving this library SCLAlertView will be sufficient.


Unity "me" holding invisible helmet.

Your self within the Unity has a standing animation of holding a helmet, but does not actually have any helmet there. I think they had one on my first trip into it but either NG+ or one of the patches since then broke it and all following trips into the Unity result in the same thing.

Details

Game Version
1.12.36
Language
English (EN)
Have you recreated this issue on a new game?
Yes, I can recreate this issue.
Reproduction Steps
Go into the Unity and watch yourself.

Was this a variant universe? If so, which one?

For this specific screenshot I don't remember. I had only one variant universe so far, with the kids playing in the lodge, but it happens on every run so far (5th universe at the moment I think).

Seeing the same issue. Last 2 unity trips. Both vanilla universes. Forced a couple more to test ~ coc mqunity. Same result.
Mods in use include ship manufactures, POI changes, and UI only. 25 not including base game esms'. Nothing that should be touching this.

Problem is that I have seen this issue a couple of times myself, but I have not noticed a rhyme or reason to it. It also is not occurring in my current save.
Anyone able to send a save in the unity with this issue?

Nevermind, I've been able to trigger it. This helmet appears to be given to the actor via the UnityAstronaut_FurnitureMarker FURN object. So presumably, this is the same bug that has caused handheld objects (brooms, musical instruments, etc) to randomly not appear on NPCs since at least Skyrim. You can make the helmet appear by disabling and enabling the NPC here.
Not sure this is fixable by an ESM file.

this is a common issue with all bethesda games since forever
you sure have noticed npc's on skyrim or fallout holding invisible objects? like drinking from a invisible cup? same issue here
still in starfield, I've seen more than once that tree guy in new atlantis holding an invisible clipboard

this is a common issue with all bethesda games since forever
you sure have noticed npc's on skyrim or fallout holding invisible objects? like drinking from a invisible cup? same issue here
still in starfield, I've seen more than once that tree guy in new atlantis holding an invisible clipboard

That's usually fairly random / sporadic though. I think this case is 100% persistent now.

Well that's the thing, it isn't 100% consistent for me. It actually works more often than not on my end.
We'll have to investigate this one more at some point.

I can confirm the error. It's the same for me. The first all was correct and then only this error. Recently, the character picture no longer shows any armour, only the head and weapon. If I switch around a few times it can happen that everything is displayed correctly again. The Orion weapon is no longer displayed in the game. I then have nothing in my hand, but I can aim and shoot. I also suspect that this framework was taken over by Skyrim. Or why else would the line of code say that? You can't go through the door on a horse? :=)
Ich kann den Fehler bestätigen. Ist bei mir auch so. Die erste Allheit war korrekt und danach nur noch dieser Fehler.
Seit neustem wird mir auf dem CharacterBild auch keine Rüstung mehr angezeigt. Nur noch Kopf und Waffe.
Wenn ich ein paar mal rumswitche kann es passieren das alles wieder richtig angezeigt wird.
 Ich halte dann nichts mehr in der Hand.
Kann aber zielen und schießen.
Ich vermute auch das das dieses Gerüst durch Skyrim übernommen wurde. Oder warum sollte sonst in der Codezeile stehen.  Thanks for the info but I didn't get a message. I don't have many mods either. Under 90 including SF files. Of those 10-20 patches alone. updates from here unfortunately come too infrequently.
@ Dunkle Gedanken.
Wenn ich gemeint war.
Ich habe auch nicht viele Mods. Unter 90 inklusive SF Dateien. Davon alleine 10-20 Patches.
Updates von hier kommen leider zu selten.

I can't really directly tag or reply to you if you don't post on Github. The mod index issue is not so much about the mod number but I believe how much additional form IDs those mods add. Some mods can add a lot of them, which means you will reach the limit sooner than the often spewed number of ~110 mods. If you enable the mod index warning of the mod from that linked article you should receive a warning if you're getting close or even are already past the mod index limit.

Same issue, In my case, Despite a complete reinstallation of the game (all removed from the My games folder and even the physically installed mod files), I don't see the helmet when I go to unity in new save.(using coc MQunity)

I can only think of one way at the moment to work around this issue, but it would be an absolutely filthy hack that I'd hesitate to implement. Attaching an alias script to "unity dude" with an OnLoad() event that disables, then enables him after a split-second delay. Would theoretically work without any visible side effects in (since the screen is black for multiple seconds when you enter), but as I said... absolutely filthy hack.
The real issue is more deep-rooted, and is occasionally visible throughout the rest of the game when NPCs use furniture items with handheld props. Same issue can happen in past games too.


Corrected broken link to routing concept document

Corrected broken link to routing concept document.

Thanks for the fix.


Minimize logging boilerplate

The current code to create a logger is redundant and takes quite some space:
https://github.com/fmi-faim/ipa-project-template/blob/95015a1937e001bf7b3d8af81289a2abe6dd5567/template/ipa/s01_preprocessing/run_preprocessing.py#L14-L33
Identical duplicates

https://github.com/fmi-faim/ipa-project-template/blob/95015a1937e001bf7b3d8af81289a2abe6dd5567/template/ipa/s02_segmentation/run_segmentation.py#L14-L33
https://github.com/fmi-faim/ipa-project-template/blob/95015a1937e001bf7b3d8af81289a2abe6dd5567/template/ipa/s03_feature_extraction/run_feature_extraction.py#L14-L33

I think we could improve this by migrating it into some utility function, so we can import create_logger and call create_logger(name) from any ipa step.
In addition, I'd like to use a basic decorator to have the function arguments logged by default (along the lines of https://ankitbko.github.io/blog/2021/04/logging-in-python/):
my_logger = create_logger(name="processing")

@log(logger=my_logger)
def run_processing(input_dir: str, output_dir: str):
	# do some processing
	my_logger.info("Done!")

... which would log the values of input_dir and output_dir, without having to put extra code into the run_processing function.
@tibuch what do you think?

Totally agree!
I started this here: https://github.com/fmi-faim/faim-hcs/blob/645f0bfd493c7c07f33f4c36bda17919189122bf/src/faim_hcs/processor.py#L19
But first want to merge the tile-stitching and then add this whole renaming stuff.

We removed the example code from the template and this issue seems out of place.
I like the decorator approach, but I would leave this up to a specific project implementation. I will copy this approach to a new issue in faim-ipa, just to keep track of the idea.


allow providing keys and values to selectCellEditor

When using a 'select' cellEditor, we have to pass the values this way:
colDef.cellEditor = 'select';
colDef.cellEditorParams = {
    values: ['English', 'Spanish']
}

and select is written:
<select>
<option value="English">English</option>
<option value="Spanish">Spanish</option>
</select>

It could be useful to be able to pass values this way:
colDef.cellEditor = 'select';
colDef.cellEditorParams = {
    valuesKeys:  { valueKey: 'id', contentKey: 'name' },
    values: [{ id: 1, name: 'English' }, { id: 2, name: 'Spanish' } ]
}

to get:
<select>
<option value="1">English</option>
<option value="2">Spanish</option>
</select>

and that the callback 'onCellValueChanged' pass the value 1 or 2 as newValue (instead of the text value).

have you looked at the rich select? (or are you not using ag-Grid Enterprise?)

We are trying to use ag-grid for an open-source project (https://github.com/actimeo/simmage-ui) and so cannot use Enterprise functionalities.

will leave as a request, but cannot give ETA at the moment, as our work stack is full right now.

Thanks. Could it help if we provide a PR?

i like to think these things properly through, so a PR won't move things much quicker.
i have added it just now to my external list, so it is on my work stack, ETA is approx 4 weeks (just an estimate, not a guarantee)

tracked by AG-152
https://www.ag-grid.com/ag-grid-pipeline/

Hello, is this feature already implemented or is still on the waiting list?

Does anyone why cellRenderer inside cellEditorParams or
cellRendererParams does not work for cellEditor: 'select'?
I'm using ag-grid free version.
Is this a known bug?
@ceolter  Do you have any idea?

Hi again,
Finally I found a a workaround to get 'select' working with key and value.
          var colorsNames : string[] = [];
          colors.forEach(color=> {
            colorsNames.push(color.name);
          })

          {
            headerName: "Color",
            field: "colorId",
            width: 150,
            editable: true,
            cellEditor: 'select',
            cellRenderer: function (data: any) {
              var color = colors.find(color => color.id == data.value || color.name == data.value);
              return color.name;
            },
            onCellValueChanged: function (data: any) {
              /**
               * because 'select' does not offer us the possibility to use 'key-value' as traditional,
               * we will use only values in 'select' and changed to 'id' when will be saved.
               */
              var serviceTypeName = data.data.serviceTypeId;
              data.data.serviceTypeId = serviceTypes.find(serviceType => serviceType.name == serviceTypeName).id;
            },
            cellEditorParams: {
              values: colorsNames
            }
          },

The idea is that inside 'select params' we will give only strings and we will try to find the 'id' of object based on the 'name'. Important is that we agreed that 'name' is unique field.

I found a solution in https://www.ag-grid.com/javascript-grid-reference-data/?framework=angular#gsc.tab=0
i create my array:

Hi,
Thank you for raising this issue for us, at this moment we are reviewing how we process Feature Requests/questions that come through from GitHub.
As I am sure you are aware, we offer two products:
ag-Grid - this is entirely free to use in line with our MIT license
ag-Grid Enterprise - our commercial version which funds the development of both versions.
We currently have a very full pipeline of work which can be viewed here: https://www.ag-grid.com/ag-grid-pipeline/
This will be our priority for the coming months and as a result, we don’t have capacity to take feature requests/questions from GitHub, but you might find that yours has already been raised in our pipeline.
We will do a periodic review of GitHub issues for any bugs raised and these can also be tracked on our pipeline page.
Thanks for your understanding.
ag-Grid Team.

For anyone finding this issue because this simple problem does not yet have a simple answer, here is a generic solution that allows specifying the mappings in the column definition:
{
    headerName: "Language",
    field: "cultureCode",
    cellEditor: "agSelectCellEditor",
    mappings: {
        "en": "English",
        "fr": "French"
    }
}

gridOptions.columnDefs.forEach(
    column => {
        if (column.mappings) {
            column.cellEditorParams = {
	        values: Object.keys(column.mappings)
            };
            column.refData = column.mappings;
        }
    });

Is this still not implemented?

Could be used custom cellEditor components

8 years later it's probably safe to say they are not gonna implement this for free users.

Any news on this issue please?

tracked by AG-152 https://www.ag-grid.com/ag-grid-pipeline/

Hi @ceolter, I was unable to find AG-152 on the directed page.
I found this section of documentation that seems to deal with the issue but it uses a random function (extractKeys) that is not defined anywhere: https://www.ag-grid.com/javascript-data-grid/reference-data/#using-the-refdata-property
Could you please elaborate on it? I'm using Dash Ag Grid (Python)

Never mind, the solution was right there, the custom function is exactly what it is, a custom function. So I defined one.
For anyone in the same situation, here is the code:
completions_map = {1:"wellcompletion X", 2:"wellcompletion Y", 3:"wellcompletion Z"}

def extract_keys(input_dict):
    return list(input_dict.keys())

grid_cols = [
    {
        "headerName": "Wellcompletion",
        "field": "id_wellcompletion",
        "cellEditor": "agSelectCellEditor",
        "cellEditorParams": {
            "values": extract_keys(completions_map)
            },
            "refData": completions_map
    },


Use GitHub releases for new releases

So far we have used just Git tags instead of the GitHub releases on top of them. I suggest creating GitHub releases for new versions going forward.
The main reason is that GitHub shows a notification on a new release only for GitHub releases and not Git tags.
Also, we can actually shortly describe what went into that release.
I know the extensions are usually updated automatically, but people following the project would have some more info and also people looking at the repo and visiting the releases page would have something to look on, get some inspiration and probably contribute an idea, enhancement or at least a bug report to a recent feature. It would act as a changelog which is always nice.

Might be irrelevant if we decide to implement #504

@hkdobrev given that people don't have a choice nor are informed when extensions update, the commit list is the most appropriate and comprehensive changelog.

I agree with @bfred-it


build(happo): disable edge browser because of false postives

Summary
Disable edge browser in happo because it has too many false positives

@ahobson Thanks for this! I verified all the diffs in Happo for this PR are just the "deleted" edge diffs.


Added accessibility attributes to popover

Closes #3149
Description
Added accessibility attributes to popover.
Is this a breaking change (Yes/No):
No
Additional Information

@kaehehehe
The Quality / Test has failed, so please check.
https://github.com/yamada-ui/yamada-ui/actions/runs/11417571465/job/31770049437?pr=3162

@chida09
Yes, I know. I'm currently checking

fixed! @chida09

I want to add aria-expanded to PopoverTrigger, but doing so causes the test to fail. Specifying role="button" allows the test to pass, but since the children of PopoverTrigger are already buttons, this attribute seems unnecessary.
How can we resolve this issue?


Offset tests

Overview
Add a slight offset (25cm) to the starting positions on several demos, to earlier catch problems arising from assumption of an identity transform on the MRTK playspace.
Changes

Fixes: #7695 .

The three scenes are test scenes for the features most susceptible to breakage.
HandInteractionExamples - goto scene for smoke tests.
EyeTrackingDemo-RootScene - Eyegaze needs to be tested on device.
SpatialAwarenessMeshDemo - Likewise must be tested on device.
PR #8256 added validation of non-identity playspace to the automated tests. Putting the offset in these test scenes extends that protection to manual tests run for build-call.
All 3 scenes are saved with Unity v2018.4.34f1.

/azp run

/azp run


Using in browser

In README, it needs to be made more clear that this is intended to be used with ember-cli.
To to release browserified drop-in version that could be easily included in HTML.

When I include ember-json-api/dist/ember-json-api.js in my browser app, I get an error:
TypeError: DS.JsonApiSerializer is undefined

I have already included loader.js/loader, so the define statement in the dist-file gets understood. Can somebody please update the installation instructions for browser apps?

I've registered the bower package to this repository, it is highly advised to use Ember CLI going forward. I'm closing this issue. If any issues still arise please open a new issue and it will be addressed.


Consider parsing tokenized version of code

It appears some glitches in bython occur because it's reading the source code as text. It might be more useful to python -m tokenize input.py first and then change the tokenized version

please delete this issue, i realized it makes no sense since you start with bython not python


Store influx database on USB-Stick?

Is it possible to store the db on a usb stick ?

This should be possible. I can't see why not.
In your docker run command, just be sure to map the /path/for/influxdb to your USB's path.


banner is misleading

imo, the banner on the readme implies that russia's recent invasion has caused 10k+ civilian deaths, which is not confirmed. idk if the 10k comes from previous conflicts, but it should be made clearer.

It's not false.


Linux: mouse click events other than primary, secondary and tertiary are not recognized

Steps to reproduce

create a Linux Flutter app with

flutter create --platforms=linux --org com.test my_app

Create an implementation of BaseTapGestureRecognizer

class NthTap extends BaseTapGestureRecognizer {
  GestureTapDownCallback? onTapDown;

  NthTap({
    super.debugOwner,
    super.supportedDevices,
    super.allowedButtonsFilter,
  });

  @override
  void handleTapCancel({
    required PointerDownEvent down,
    PointerCancelEvent? cancel,
    required String reason,
  }) {}

  @override
  void handleTapDown({required PointerDownEvent down}) {
    final TapDownDetails details = TapDownDetails(
      globalPosition: down.position,
      localPosition: down.localPosition,
      kind: getKindForPointer(down.pointer),
    );

    if (onTapDown != null) {
      invokeCallback<void>('onTapDown', () => onTapDown!(details));
    }
  }

  @override
  void handleTapUp({
    required PointerDownEvent down,
    required PointerUpEvent up,
  }) {}
}

Use it inside the widget tree

import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return RawGestureDetector(
      gestures: <Type, GestureRecognizerFactory>{
        NthTap: GestureRecognizerFactoryWithHandlers<NthTap>(
          () => NthTap(),
          (instance) =>
              instance.onTapDown = (details) => ScaffoldMessenger.of(context)
                ..clearSnackBars()
                ..showSnackBar(SnackBar(
                  content: Center(
                    child: Text(
                      details.globalPosition.toString(),
                    ),
                  ),
                  behavior: SnackBarBehavior.floating,
                )),
        ),
      },
      child: const Scaffold(),
    );
  }
}

Expected results
All mouse buttons should be recognized
Actual results
Only 1.,2. and 3. buttons are recognized. 4th and 5th arent
Code sample
Code sample
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return RawGestureDetector(
      gestures: <Type, GestureRecognizerFactory>{
        NthTap: GestureRecognizerFactoryWithHandlers<NthTap>(
          () => NthTap(),
          (instance) =>
              instance.onTapDown = (details) => ScaffoldMessenger.of(context)
                ..clearSnackBars()
                ..showSnackBar(SnackBar(
                  content: Center(
                    child: Text(
                      details.globalPosition.toString(),
                    ),
                  ),
                  behavior: SnackBarBehavior.floating,
                )),
        ),
      },
      child: const Scaffold(),
    );
  }
}

class NthTap extends BaseTapGestureRecognizer {
  GestureTapDownCallback? onTapDown;

  NthTap({
    super.debugOwner,
    super.supportedDevices,
    super.allowedButtonsFilter,
  });

  @override
  void handleTapCancel({
    required PointerDownEvent down,
    PointerCancelEvent? cancel,
    required String reason,
  }) {}

  @override
  void handleTapDown({required PointerDownEvent down}) {
    final TapDownDetails details = TapDownDetails(
      globalPosition: down.position,
      localPosition: down.localPosition,
      kind: getKindForPointer(down.pointer),
    );

    if (onTapDown != null) {
      invokeCallback<void>('onTapDown', () => onTapDown!(details));
    }
  }

  @override
  void handleTapUp({
    required PointerDownEvent down,
    required PointerUpEvent up,
  }) {}
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
frederik@xps:~/my_app$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on Ubuntu 24.04 LTS 6.8.0-31-generic, locale de_DE.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
    ✗ No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can download the JDK from
      https://www.oracle.com/technetwork/java/javase/downloads/.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.91.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.

this also happens in 3.22.2 stable

Reproducible using the code sample provided above.
I tested the code sample on web and it worked as expected. As pointed out  in https://github.com/flutter/flutter/issues/115641#issuecomment-2242881000, it appears that the engine does not forward the events.

flutter doctor -v
[!] Flutter (Channel stable, 3.22.3, on Ubuntu 24.04 LTS 6.8.0-38-generic, locale en_US.UTF-8)
    • Flutter version 3.22.3 on channel stable at /home/daniel/fvm/versions/stable
    ! Warning: `flutter` on your path resolves to /home/daniel/fvm/versions/master/bin/flutter, which is not inside your current Flutter SDK checkout at /home/daniel/fvm/versions/stable. Consider adding /home/daniel/fvm/versions/stable/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /home/linuxbrew/.linuxbrew/Cellar/dart/3.2.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /home/daniel/fvm/versions/stable. Consider adding /home/daniel/fvm/versions/stable/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (6 days ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3

[!] Flutter (Channel master, 3.24.0-1.0.pre.230, on Ubuntu 24.04 LTS 6.8.0-38-generic, locale en_US.UTF-8)
    • Flutter version 3.24.0-1.0.pre.230 on channel master at /home/daniel/fvm/versions/master
    ! Warning: `dart` on your path resolves to /home/linuxbrew/.linuxbrew/Cellar/dart/3.2.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /home/daniel/fvm/versions/master. Consider adding /home/daniel/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ed470fd101 (25 minutes ago), 2024-07-23 00:37:30 -0700
    • Engine revision 0d32c2d195
    • Dart version 3.6.0 (build 3.6.0-71.0.dev)
    • DevTools version 2.37.1


I wish you good health

What is your Scenario?
I wish you good health
What are you suggesting?
how are you?
What alternatives have you considered?
happy****
Additional context
contributing guidelines

Mentioning people and teams

happy__

How are you


select within toolbar disappears with sample themes

Bug, feature request, or proposal:
Bug. (Assuming this is something that is intended to be supported)
What is the expected behavior?
Select placed within toolbar with sample themes should be colored as to be visible.
What is the current behavior?
Select placed within toolbar with sample themes is not visible.
What are the steps to reproduce?
Plunker demonstrating issue: http://plnkr.co/edit/7Nd4YFZ05mdYt96yp5ir?p=preview
What is the use-case or motivation for changing an existing behavior?
Support placement of selects within toolbars for the default themes, e.g.:

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
At least through<EMAIL_ADDRESS>and Chrome 60.0.3107.4.
Is there anything else we should know?
This might be too special a use case to support, requiring the user to manage the styles for the select in this instance, but given previous work to get the color of select right with the themes (e.g. https://github.com/angular/material2/pull/4883, https://github.com/angular/material2/pull/4568) this would be nice to have.

Any updates yet?

Agree that any <mat-form-field> element should natively fit inside of a <mat-toolbar>.  The work around I have for now is as follows:
mat-toolbar.mat-toolbar mat-form-field.mat-form-field {
  font-size: 12px;

  label.mat-form-field-label {
    font-weight: bold;
  }
}

Which will cause a <mat-select> to look as follows:

Toolbar Select StackBlitz

material-style.scss - See line 107.
app.component.html - See line 6.

Will this be implemented in a near future? I'm looking forward to see this as a native feature.

I think this might be the same issue as #10622 which was supposed to be fixed in #10627 .  I can't find an example of a Select, specifically, in the "app bar" spec.  (There isn't a "toolbar" spec, and I think "app bar" is closest.)

Closing since this seems to work fine for the <mat-select>.

The screenshot in the OP is how this works today, without a mat-form-field.  Wrapping the select in a mat-form-field does not work.  Stackblitz example
I can't find any examples where you'd want to use any control in a mat-form-field inside an App Bar, in the spec I linked above.  As I pointed out, there's no example of any select in an App Bar either (with or without form-field wrapper), but the OP has a good screenshot of a valid use case for a bare select in the wild.  I can't think of a case where you'd want a full-fledged form field -- which can be huge, vertically, with a floating placeholder above and hint text below -- in such a tight spot.  Remember, density is coming when MDC launches.


Upgrade integration testing

With this code The Aviator is using an unpublished version of the integration testing SDK image. We need to publish it when this is pulled in.

Use the latest rc versions of the SDK
Make EventsController methods awaitable by having them return a Task
Added methods for committing multiple events
Use EventObject type alias that represents the content the Events
Comment out tests for checking the position of the stream processors as it is checking the volatile state of stream processor states. We could do something that bases of the "current state", but that creates a coupling between the test scenarios. I'm not sure what we want to do here, that's why I commented it out.
Modified the unstable event horizon scenario to considering a limitation in the Runtime's event horizon subscription system

Converted to draft as I'm fixing more things

Nice, I did not know that!

All working now 👍


Add configuration & restrictions on enchantments

A data structure will need to be built up to store information for enchantments (see #3305) and how they relate to items:
Enchantment Itself

How many items an enchantment can be bound to, if it is limited
What item type it can be applied to (e.g. weapon, equipment, consumable, loot)

Initially based just on item's primary type
Future work can include additional restrictions (e.g. requires "Ammunition" property, must be worth at least 100 gp)

Enchantment Source
(this is an item that provides information about a group of enchantments)

Period in which enchantments can be changed (short rest, long rest, never, at will, etc)
How many total enchantments of this type can be in use at a time (e.g. you can only infuse 2 items at a time)

This must accept scale values and other formulas so it can increase with time

Will the 3.2 implementation differentiate between types of equipment?

Will the 3.2 implementation differentiate between types of equipment?

For the first pass I'll probably just do by item type (weapon, equipment, etc.), but I'd like to add more time permitting.


An Error occured while loading the image

Issue Type: Bug
I have noticed that every time I try to open an image on vs code, I get the error stated on the title no matter what image file type
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:33:00.827Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (6.19GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-browser-preview
auc
0.5.9

rails
bun
0.13.1

vscode-gemfile
bun
0.0.2

solargraph
cas
0.21.1

vscode-eslint
dba
1.9.1

code-runner
for
0.9.14

vscode-rufo
jnb
0.0.1

vscode-gutter-preview
kis
0.23.0

atom-keybindings
ms-
3.0.6

vsliveshare
ms-
1.0.1056

debugger-for-chrome
msj
4.12.0

erb
Rie
0.1.1

LiveServer
rit
5.6.1

ActiveFileInStatusBar
Ros
1.0.3

slim
sia
0.1.2

html-preview-vscode
tht
0.2.5

highlight-matching-tag
vin
0.9.5

simple-ruby-erb
vor
0.2.1

quokka-vscode
Wal
1.0.257

erb-vscode-snippets
Zne
0.0.4

Please share a screenshot of the error.
Also, does this reproduce in the latest VS Code insiders build with all extensions disabled?

I'm having the same issue on a feshly installed copy.

@mjbvz Found out the issue to be with the image file name.
If the file name has % symbol in it, vscode does not show the image.

If, i remove the % symbol in my file name, vscode displays the image properly.
Tested this both in current stable mac release and the insider build.
@aparcanapavel  Do let us know if you observe the same pattern.

Even i am facing the same problem and my image file name does not contain % character , resolve my issue.

My file doesn't contain the % character either and it's not working.


Remove appleboy/ssh-action from deploy job

Comment out failing deploy job

Duplicated with more changes in #319


Replicate portilla simoncelli

This pull request adds a verified replication of the portilla-simoncelli texture model (https://www.cns.nyu.edu/pub/eero/portilla99-reprint.pdf) to plenoptic.
It will remain a draft while we review/approve the complexTensor updates the the steerable pyramid.  In the meantime, I will also develop a jupyter notebook tutorial example of the replication.

Codecov Report

Merging #96 (7a8c078) into master (c96d8ab) will decrease coverage by 43.78%.
The diff coverage is 9.14%.

@@             Coverage Diff             @@
##           master      #96       +/-   ##
===========================================
- Coverage   76.29%   32.51%   -43.79%
===========================================
  Files          35       36        +1
  Lines        3405     3749      +344
  Branches      725      786       +61
===========================================
- Hits         2598     1219     -1379
- Misses        614     2442     +1828
+ Partials      193       88      -105

Impacted Files
Coverage Δ

plenoptic/synthesize/synthesis.py
8.69% <0.00%> (-67.56%)
:arrow_down:

plenoptic/simulate/models/portilla_simoncelli.py
8.66% <8.66%> (ø)

...e/canonical_computations/steerable_pyramid_freq.py
46.68% <15.00%> (-41.09%)
:arrow_down:

plenoptic/simulate/models/__init__.py
100.00% <100.00%> (ø)

plenoptic/synthesize/mad_competition.py
10.71% <0.00%> (-75.48%)
:arrow_down:

plenoptic/tools/display.py
11.61% <0.00%> (-67.64%)
:arrow_down:

...imulate/canonical_computations/linear_nonlinear.py
37.50% <0.00%> (-62.50%)
:arrow_down:

plenoptic/synthesize/metamer.py
24.52% <0.00%> (-60.38%)
:arrow_down:

...lenoptic/simulate/canonical_computations/linear.py
42.85% <0.00%> (-57.15%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #96 (3aac0d4) into main (540ee18) will decrease coverage by 63.08%.
 Consider uploading reports for the commit bdbc658 to get more accurate results

@@             Coverage Diff             @@
##             main      #96       +/-   ##
===========================================
- Coverage   78.39%   15.30%   -63.09%
===========================================
  Files          33       34        +1
  Lines        2971     3286      +315
  Branches      593      646       +53
===========================================
- Hits         2329      503     -1826
- Misses        465     2775     +2310
+ Partials      177        8      -169

Impacted Files
Coverage Δ

plenoptic/synthesize/metamer.py
24.00% <0.00%> (-64.00%)
:arrow_down:

plenoptic/synthesize/synthesis.py
8.00% <0.00%> (-67.00%)
:arrow_down:

plenoptic/simulate/models/portilla_simoncelli.py
8.83% <8.83%> (ø)

plenoptic/simulate/models/__init__.py
100.00% <100.00%> (ø)

plenoptic/tools/straightness.py
11.11% <0.00%> (-82.23%)
:arrow_down:

...e/canonical_computations/steerable_pyramid_freq.py
7.25% <0.00%> (-79.20%)
:arrow_down:

plenoptic/synthesize/eigendistortion.py
17.33% <0.00%> (-77.34%)
:arrow_down:

...enoptic/simulate/canonical_computations/filters.py
20.00% <0.00%> (-77.15%)
:arrow_down:

...simulate/canonical_computations/non_linearities.py
17.64% <0.00%> (-76.48%)
:arrow_down:

plenoptic/synthesize/mad_competition.py
9.97% <0.00%> (-76.34%)
:arrow_down:

... and 18 more

Continue to review full report at Codecov.

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

Oh the other thing I wanted to bring up -- I thought we had decided that models shouldn't keep a self.representation lying around, so that they're more lightweight. Did I remember that correctly? If so, that will require a bit more work here, but it looks possible to me.

Most important thing: I think there's a bug in how the scales arg to the forward method works, because it looks like the model returns the same output no matter what you set scales equal to (in which case, I'm not sure how coarse-to-fine synthesis is working).

You fixed this!! Thanks.

I'm going to push a commit in a little bit cleaning up some of portilla_simoncelli.py (largely removing unnecessary white space, and stuff like that), so double-check that I didn't change anything important. I'll then push another one making use of the osf download as fixtures.

Additional comments:
* What's going on with the two notebooks? Should they be removed (in favor of the one that @kbonnen is working on now, in a new branch)? If not, they need a lot more text.

These have been removed.

* And same with the script in `examples` -- that should be deleted, right?

This has been removed

A note on something that Kate and I found: our PS texture metamer synthesis is broken by the changes in torch 1.10 (that is, 1.8 and 1.9 give the same result, but 1.10 gives a different one). After looking into it for a while with Nikhil, we're pretty sure it's because they changed the sub-gradient for torch.min and torch.max (nothing else seems possibly relevant). The forward pass of PortillaSimoncelli is unaffected, so it has to be something to do with autograd. The synthesis refactor (#136) also changed the outputs of metamer synthesis. And these two changes appeared to interact in some way -- the differences get larger when using the refactored Metamer with torch 1.10 than with either change alone. The arguments required in order to get good-looking synthesis, as used in our test, changed as the result of this, but they still appear to be good enough for us.


Installation question

I am sorry to be dense but when i add this line:
'extraAllowedFileExtensions' => 'json'
to the file:
/craft/config/general.php
I get 500 errors.
Am i editing the correct file? Is there any additional info on the installation?
Appreciate any help you can provide. Thanks.

sorry but i think all i had to do was add a comma at the end..

Seems like you've got some syntax error, can I see your whole general.php file?


fix: revert "append query params to existing query params if any" (#203)"

Reverts aws-amplify/maplibre-gl-js-amplify#203

Codecov Report

Merging #207 (2dc7ffa) into main (cd3c08f) will decrease coverage by 0.05%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #207      +/-   ##
==========================================
- Coverage   43.83%   43.79%   -0.05%
==========================================
  Files          16       16
  Lines        1266     1265       -1
  Branches      201      200       -1
==========================================
- Hits          555      554       -1
  Misses        711      711

Impacted Files
Coverage Δ

src/AmplifyMapLibreRequest.ts
85.50% <ø> (-0.21%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Added xml method to the parser so that the xml can be returned

That is going to break backward compatibility. Please find another solution (by creating others methods for example).
(sorry for the delay)


llama quantize fp8 export_model_config hardcoded to float16?

System Info
.
Who can help?
@Tracin
Information

[x] The official example scripts
[ ] My own modified scripts

Tasks

[x] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
.
Expected behavior
.
actual behavior
.
additional notes
v0.8.0
I'm trying to quantize a llama 70b to fp8 and it seems like tensorrt_llm/models/llama/quantize.py calls quantize_and_export which is defined in models/quantized/ammo.py which finally runs this:
                export_model_config(
                    model,
                    model_type,
                    torch.float16,
                    export_dir=export_path,
                    inference_tensor_parallel=tensor_parallel_size,
                    export_npz=True,
                )

what's important about the exported dtype hardcoded to float16? my model (llama 70b) is trained in bloat16.
will exporting the fp8 scaling factors in float16 work with a build.py --dtype bfloat16?

Actually ammp.py will be deprecated, you do not need to use this one. Please use example/quantization/quantize.py instead.


All rule-ignoring is performed by RulesPolicy

ViolationsApiController now aware of the configured RulesPolicy
ViolationsApiController passes a modified RulesPolicy to ApiValidator rather than the request-time list of ignores
ApiValidators use request level RulesPolicy passed into the method rather than config level RulesPolicy in the constructor
RulesValidator now extracts x-zally-ignores from documents rather than the rule implementations themselves
RulesValidator uses a RulesPolicy (modified with any x-zally-ignores additions) to decide which rules to use.

Should make #558 easier to implement and edges my #559 plans forward too.

Hmmm, looks like a cli test is failing... will take a look tomorrow night.


Online demo?

Just wandering if there is any online demo using this library. That would be nice

This is not a library but application that can run in macOS, Linux or Windows, currently there are only release for mac, you can download it on there or build it youself if you are using other system.


Random style

Please add an option to use a random style for each contact.
Optimal let the user choose the pool of styles to pick a random for each contact

Duplicate of #10


Unable to migrate due to present but un-openable file

What version of Flyway are you using?
4.2.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Command Line
What database are you using (type & version)?
RDS Postgres 9.6.3
What operating system are you using?
Mac OS X 10.12.6 x86_64
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
./flyway migrate
What did you expect to see?
Migrations running
What did you see instead?

DEBUG: Java 9.0.1 (Oracle Corporation)
DEBUG: Mac OS X 10.12.6 x86_64

DEBUG: Loading config file: /Users/colin/Projects/tahi-api/db/flyway-4.2.0/conf/flyway.conf
DEBUG: Unable to load config file: /Users/colin/flyway.conf
DEBUG: Unable to load config file: /Users/colin/Projects/tahi-api/db/flyway-4.2.0/flyway.conf
Database user: tahisa
Database password:
DEBUG: Using configuration:
DEBUG: flyway.jarDirs -> /Users/colin/Projects/tahi-api/db/flyway-4.2.0/jars
DEBUG: flyway.locations -> filesystem:/Users/colin/Projects/tahi-api/db/flyway-4.2.0/sql
DEBUG: flyway.url -> jdbc://postgresql://tahisa:92$2Dwnv%25LXHCSXz@tahi-db.ccpaiwvns9cs.us-east-2.rds.amazonaws.com:5432/tahi
DEBUG: flyway.user -> tahisa
DEBUG: flyway.password -> **************************************************************************
DEBUG: Adding location to classpath: /Users/colin/Projects/tahi-api/db/flyway-4.2.0/drivers/derby-<IP_ADDRESS>.jar
ERROR: Unexpected error
org.flywaydb.core.api.FlywayException: Unable to load /Users/colin/Projects/tahi-api/db/flyway-4.2.0/drivers/derby-<IP_ADDRESS>.jar
	at org.flywaydb.core.internal.util.ClassUtils.addJarOrDirectoryToClasspath(ClassUtils.java:156)
	at org.flywaydb.commandline.Main.loadJdbcDrivers(Main.java:305)
	at org.flywaydb.commandline.Main.main(Main.java:95)
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
	at org.flywaydb.core.internal.util.ClassUtils.addJarOrDirectoryToClasspath(ClassUtils.java:151)
	... 2 more```

Duplicate of #1545


replace \RR with \mathbb R

Could only find instances in two files, but I also saw there was \subset RR in orth_proj.rst - does this work?

thanks @natashawatkins this looks great.


Build failure: ‘prefShowHelpOnEmpty’ is not a (visible) field of constructor ‘Options.ParserPrefs’

Since a few hours, optparse-generic fails to install.
cabal: Entering directory '/tmp/cabal-tmp-12600/optparse-generic-1.1.2'
Configuring optparse-generic-1.1.2...
Building optparse-generic-1.1.2...
Preprocessing library optparse-generic-1.1.2...
[1 of 1] Compiling Options.Generic  ( src/Options/Generic.hs, dist/dist-sandbox-65828fb3/build/Options/Generic.o )

src/Options/Generic.hs:807:15: error:
    ‘prefShowHelpOnEmpty’ is not a (visible) field of constructor ‘Options.ParserPrefs’
cabal: Leaving directory '/tmp/cabal-tmp-12600/optparse-generic-1.1.2'
Failed to install optparse-generic-1.1.2
cabal: Error: some packages failed to install:
optparse-generic-1.1.2 failed during the building phase. The exception was:
ExitFailure 1

Tested on

CABALVER=1.22 GHCVER=7.8.4
CABALVER=1.22 GHCVER=7.10.3
CABALVER=1.24 GHCVER=8.0.1

Thanks for reporting this!  I fixed this in optparse-generic-1.1.3 and blacklisted optparse-generic-1.1.2


<html><head><body> are inserted

I tried using mjpage to process math in markdown, before it is converted into HTML. It works almost perfectly, except it is inserting <html><head><body>.
I think even if one feeding in HTMLs, these tags should be present already. Could you turn off the addition of these tags?
Thanks.

Duplicated #6. Sorry!