[BUG]Chat continuity breaks when sending new message after AI response

Description:
When interacting with Claude in Bedrock, the conversation flow is interrupted after receiving an AI response. Each new user message creates a new conversation instead of continuing the existing thread.
Steps to reproduce:
Start a new conversation with Claude
Send an initial message and receive Claude's response
Attempt to send a follow-up message
Observe that the new message starts a fresh conversation instead of continuing the previous one
Expected behavior:
The conversation should maintain continuity, allowing users to send multiple messages within the same chat thread after receiving responses from Claude.
Current behavior:
Each new user message after Claude's response creates a new conversation, losing the context and history of the previous interaction.
Impact:
This issue significantly impacts the user experience and the ability to maintain contextual conversations with the AI. Users cannot build upon previous exchanges or reference earlier parts of the conversation.
Environment:
Bedrock Claude chat: 2.3.0
Platform: Safary (ios) & Google Chrome (windows/linux)
Thank you

Thank you for reporting this behavior. This is actually working as designed. Please wait until the conversation title appears in the chat history before proceeding with your next message. This will ensure proper continuity of the conversation. Let our team consider UX improvement on another issue. thank you

Hello,
Not working, I have tested as you said, sent a chat, wait until new conversation appears and this is the result:

Thank you

Hello,
Not working, I have tested as you said, sent a chat, wait until new conversation appears and this is the result:

Thank you

Could you check cloudwatch logs for websocket handler?

Hello,
Here you have the data, it uses a different ID when sending the sencond message, thank you

Can you see any error messages on logs? Please check both websocket handler and api handler

Hello,
The problem seems to be this one

[INFO]	2024-12-12T10:28:34.498Z	6a5b7708-c7ea-4f5f-8e27-404aef48358b	Received chat input: conversation_id='01JEX6KCQ5AHJQXYJ20NSG91G7' message=MessageInput(role='user', content=[TextContent(content_type='text', body='prueba 1')], model='claude-v3.5-sonnet-v2', parent_message_id='system', message_id=None) bot_id=None continue_generate=False
[INFO]	2024-12-12T10:28:35.145Z	6a5b7708-c7ea-4f5f-8e27-404aef48358b	No conversation found with id: 01JEX6KCQ5AHJQXYJ20NSG91G7. Creating new conversation.
When creating the new conversation, the browser does not select the newly created conversation, so it generates a new convesation_id every time a message is sent. If I select the new conversation after it appears, doing click on it, it works properly.
thank you


The action fails to assign assignees to the created PR

Logs sample:
START: Running Pull Request on Branch Update Action!
Found ${GITHUB_EVENT_PATH} at /github/workflow/event.json
Branch prefix is
No branch prefix is set, all branches will be used.
Pull requests will go to main
PULL_REQUEST_DRAFT set to a value: created PRs will be draft PRs.
No preference for maintainer being able to modify: default is true.
PULL_REQUEST_ASSIGNEES is set, HasanKhatib
.
.
github response: 'assignees_url': '[https://api.github.com/repos/ingka-group-digital/resolutions/assignees{/user}](https://api.github.com/repos/ingka-group-digital/resolutions/assignees%7B/user%7D)'

'assignee': None, 'assignees': []
.
.
Attempting to assign ['HasanKhatib'] to pull request with number 411
Error, but PASS_ON_ERROR is set, continuing: Unable to create assignees: 404: Not Found
 {'message': 'Not Found', 'documentation_url': 'https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue', 'status': '404'}
github assignees response
  {'message': 'Not Found', 'documentation_url': 'https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue', 'status': '404'}

I don't see a repository under ingka-group-digital/resolutions. Is this regular GitHub (not enterprise) and you have write? I suspect there is a permissions / visibility issue somewhere.

ingka-group-digital is a private organisation on github

I would sanity check a similar run against a public repository. I'm guessing the 404 error is correct in that the token you have in the GitHub action runner cannot "see" the repository. The thing to try after that would be using a PAT instead.


Revert "Revert "Update to Kotlin 1.8.10 (#3137)" (#3234)"

This reverts commit a5127e05f98b2b72939b7d88f508c77b0acad41d.

Task/Issue URL: https://app.asana.com/0/1202552961248957/1204775961153146/f
Description
Updates to Kotlin 1.8.10.
Steps to test this PR

[ ] Smoke test

@joshliebe  is this still valid? can we close?


fix bug in blob tx parsing, add new test case that catches it

Closing this as I'm rewriting the entire parser so it doesn't require the ztyp lib at all and is more in style with the regular tx parser.


use shared informer to watch kubernetes resources

services endpoints nodes and pods resource watch should use shared informer

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: hzxuzhonghu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @ZackButcher

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ZackButcher
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [ZackButcher]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

@hzxuzhonghu: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ZackButcher addressed and rebased, ptal

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ZackButcher
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [ZackButcher]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
b9778c5efd1227ef0221680b9b4a354c42264040
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b9778c5efd1227ef0221680b9b4a354c42264040
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b9778c5efd1227ef0221680b9b4a354c42264040
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
b9778c5efd1227ef0221680b9b4a354c42264040
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e-envoyv2-v1alpha3

/test e2e-simple


Oncoplot "top" and CNAs

Hello,
I wanted to clarify the behaviour of the "top" flag in the oncoplot function; I noticed that when I use it with an object which contains CNAs, it doesn't include any genes in the oncoplot which contain only CNAs. That is, it appears to me that the "top" functionality is based only on the frequency of point mutations and doesn't take into account CNAs. It appears to be using the "MutatedSamples" slot in getGeneSummary rather than "AlteredSamples" to select the "top" genes.  Is that correct?
Cheers,
Rob

Hello,
Yes, that is the case.
If you're processing GISTIC results it is often the case that hundreds of passenger gene are deleted/amplified across all the samples. These genes tend to occupy top list. Thats why top argument uses MutatedSamples. If you want to plot top copy number altered genes, you will have to plot it by providing gene names.
Hope this helps.

Thanks for clarifying - that's useful to know.
Cheers


Small change to prevent misuse of identifiable info

I believe this should be extracted outside "doxing" and redefined, and expanded. Misuse of personal information is ambiguous enough and there is a lot of room for interpretation there.

Yeah, that's true. Do you have any suggestions? Should it be it's own separate bullet point or should it be a new section, or maybe still part of the same bullet point but worded differently and expanded from there?

We should probably start by identifying the cases of potential misuse and decide on the presentation. What do you think?
Although, if you think of it, misuse has so many possible definitions - use for commercial purposes, referencing, etc. Can you maybe elaborate on what exactly did you mean by misuse of identifiable info?

Use of personally identifiable information for commercial gain, blackmail, SWATing, to locate or harass an individual, to prevent an individual from speaking openly about any subject, to use info to put fear into the individual, to force individuals away from the community...
Those are the ones I can think of. Maybe something about digital theft, account hijacking, and posting as the stolen accounts person? Not sure, there are probably more. :smile:

Yes, these definitely sound like pretty serious problems. I think this deserves a separate bullet point, however, I would exclude obviously illegal things, like blackmail and repetitions, like harassment and intimidation. They have already been addressed in CoC.

OK, I am actually out of town now, but I will make a change ASAP when I get stable, secure, internet again

Under US law, an email address is considered PII, and it's also public in git.
I'm no lawyer, and I doubt it's a problem, it's just something to note.

This section is problematic because calling out harassing behavior is sometimes the only way to keep a space safe.

Is posting personal information alone classifiable as negative? I think intent should be taken into account here. Let's say my internet connection dies in a terrible accident and the contributors to my code try to reach me. One of my friends knows my private phone number and would like to share it with the community, having my permission to do so. However, by the current wording, the very act of posting personally identifying information of me by someone else is prohibited.

Thanks for your feedback. See https://github.com/todogroup/opencodeofconduct/issues/84.


Flow picks @providesModule from code comments (instead of file header)

:laughing: :laughing: :laughing:
This is awesome. I think Flow looks at the first comment, but doesn't really check if the first comment is at the beginning of the file. Should be an easy fix :)

Haha :)

Thanks for fixing this @bhosmer!


[FLINK-33354][runtime] Cache TaskInformation and JobInformation to avoid deserializing duplicate big objects

What is the purpose of the change
The background is similar to FLINK-33315.
A hive table with a lot of data, and the HiveSource#partitionBytes is 281MB. When slotPerTM = 4, one TM will run 4 HiveSources at the same time.
How the TaskExecutor to submit a large task?

TaskExecutor#loadBigData will read all bytes from file to SerializedValue

The SerializedValue  has a byte[]
It will cost the heap memory
It will be great than 281 MB, because it not only stores HiveSource#partitionBytes, it also stores other information of TaskInformation.

Generate the TaskInformation from SerializedValue

TaskExecutor#submitTask calls the tdd.getSerializedTaskInformation()..deserializeValue()
tdd.getSerializedTaskInformation() is SerializedValue
It will generate the TaskInformation
TaskInformation includes the Configuration taskConfiguration
The taskConfiguration includes StreamConfig#SERIALIZEDUDF

Based on the above process, TM memory will have 2 big byte array for each task:

The SerializedValue
The TaskInformation

When one TM runs 4 HiveSources at the same time, it will have 8 big byte array.
In our production environment, this is also a situation that often leads to TM OOM.
Brief change log

[FLINK-33354][runtime][refactor] Refactor ShuffleDescriptorsCache into a generic GroupCache
[FLINK-33354][runtime][refactor] serializedJobInformation and taskInfo are never null
[FLINK-33354][runtime] Cache TaskInformation and JobInformation to avoid deserializing duplicate big objects
[FLINK-33354][runtime] Using the InputStream instead of byte array to avoid contiguous huge memory usage

Verifying this change
Improve the old tests:

DefaultGroupCacheTest
TaskDeploymentDescriptorTest

Add a new test: DefaultGroupCacheTest#testTaskInformationCache
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency):  no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature?no

Hi @pnowojski @RocMarshal , would you mind helping take a look this PR in your free time? Thanks a lot

Hi @huwh , would you mind helping take a look this PR in your free time as well?
This improvement is totally similar with FLINK-32386 is contributed by you, and this PR refactor the ShuffleDescriptorsCache into a generic GroupCache, so it would be better if you join this review, thanks a lot!


logging: create a new bucket in the integration test

From #335.
To test sink creation, we need a destination. A GCS bucket is the easiest choice. If we create it in the test, we make running the tests easier.

Fixed by 0a1838e9d7a9bb4cff5f6044b61188c1a44513a0.


I think wink does not really support Laravel 7

I have a fresh Laravel installation (version = 7.2.2). I am getting weird errors. I followed the steps mentioned in the documentation. The installation went well. When I go to project.test/wink I get this error.
Symfony\Component\ErrorHandler\Error\FatalError
Trait 'Illuminate\Foundation\Auth\AuthenticatesUsers' not found
NOTE: Works fine with Laravel Version 6.18.2
Please help me with this. Thanks in advance.

In Laravel 7.x, the authentication scaffolding has been moved to laravel/ui.
composer require laravel/ui

I'm removing the need to laravel/ui in v1.0. Releasing soon.


Refactor typing

This PR refactors the typing helpers we use - merging several different wrappers into ParsedType.
It does the following:

Rename ParsedType into FieldDefinition, rename the dto FieldDefinition and TransferFieldDefinition into DTOFieldDefinition and TransferDTOFieldDefinition.
Merge SignatureField into FieldDefinition.
Merge ParsedParameter  info FieldDefinition.
Have DTOFieldDefinition subclass ParsedType
Fix multiple issues with the FieldDefinition and DTO logic which was a bit too brittle (see for example handling of subclasses
Increase coverage of the PicolloDTO to bring it in line with the others
Fix issues with terminology clashing and being confusing - kwarg_model and kwarg_container were renamed into kwarg_definition, because we already have an actual KwargsModel class used, field_value is now annotation consistently, and default_value is now default (we used two different versions of this).
Fix issues with metadata and annotated values not being extracted correctly for DTOs and from layered parameters - now all metadata is extracted in one place and using the same method.

This is a rather complex refactor because we had several different competing idioms in place, but its necessary exactly because of this reason.

Fix about 200 tests 😉

._.

Sorry if dumb question - What does the change give us here?

Read the PR desc

Merge ParsedParameter info ParsedType

This doesn't make a lot of sense to me - the two have different properties. Parameters have a name, type and default value, and a type is just a type.

It's true it's not optimal BUT consider the following:

Types can contain a lot more data because they can contain metadata via annotation. In fact this is becoming the de facto standard (especially for us), which actually includes the default value and a whole bunch of other stuff.

We have a lot of redundancy and deep nesting, with duplication of logic. Deduplicating the logic means adding a name field, which is potentially empty.

Saying that, we can split 🪓 ParsedType and move some of the logic into FieldDefinition - or reintroduce ParsedParameter as a subclass of ParsedType and superclass of FieldDefinition.
This might we'll be cleaner.
We should also consider whether this stuff should be private namespaces, since typing is a public module.

Deduplicating the logic means adding a name field, which is potentially empty. The cost of this is very minimal.

So, I think the general idea is a good one. However, I do also agree with @peterschutt that the original distinction between the representation of a parsed type and that of a parameter is a valuable one.
Maybe there is a different way to approach this issue?
I already looked into doing something similar while working on #1145, and I think with that, we might simply be able to remove a lot of the abstractions, since they're not needed anymore. That could accomplish a similar goal I think?

Member

As i wrote above - i removed the ParsedType and renamed this to FieldDefinition. Our use case is not for types as much as for actual fields, and we use this over the entire place (just see the places this PR touches). Furthermore, there is a whole lot of duplication. The only difference is between a value having a name, and not having a name. I do not think we need to have the complexity for an optional string value.


Remove dependency on Xorg, libcanberra and bash

As per #1, the first commit replace libcanberra with ffmpeg and aplay,
and those also remove the dependency on Xorg.
Additionally, the second commit replaces the dependency on bash with sh.
On most(?) GNU/Linux distributions sh is bash, but it can be any POSIX compatible shell.

@maandree, I want test it and evaluate the AUR packaging calmly. I have others tasks. But don't worry, your pull request will be accepted (with or without later commits).

Updated at AUR also.


Global option to turn off auto_timestamp

Or even make auto_timestamp=False the default and provide a global option to turn it on.


Issue642part display blanking

Description of changes
Implements part of #642: now setting Brightness = 0 completely switches the display off rather than setting minimum brightness
Memory occupation has been very slightly reduced by using the value of "_moduleCount" to replace the "_initialized" flag

Incidentally started from the wrong branch. Will reopen.


[K8S][LOG]Improve print diagnostics info in kubernetes cluster deploy-mode case

Why are the changes needed?

For Spark On Kubernetes Cluster Deploy-Mode, spark will set spark.submit.deployMode=client and spark.kubernetes.submitInDriver=true.
Kyuubi print diagnostics about deploy-mode for spark sql engine should not only dependence on spark.submit.deployMode.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Thanks, merging to master/1.6


Add contributing guidelines, move contributors

Hi! I've made some changes on contributing/contributors.
I hope this leads the way for new contributors to ASReview!
This is what I did:

move contributors to contributors.md
add contributing guidelines
add two issue templates:

bug report
feature request

Looking forward to your feedback.

I'm personally not a fan of the style in the contributing file, but then again, I'm just a grumpy old man, so what gives?

@qubixes your honest opinion is more than welcome 👴

Veel dank 👍


Use go mod in lieu of Glide

Leveraging the fact that this repo is on Go version 1.12 we can remove Glide.
I ran go mod init to create the go.mod file:
$ go mod init
go: creating new go.mod: module github.com/Azure/application-gateway-kubernetes-ingress
go: copying requirements from glide.lock

Ran go mod vendor to create go.sum
We'd expect to see changes in the vendor/ directory -- I deliberately excluded these from this PR to reduce noise. Will make a follow-up PR (https://github.com/Azure/application-gateway-kubernetes-ingress/pull/135) so we can quickly update vendored packages when/if this PR here is merged.

This is awesome !! Wanted to do this for a while  👍
@draychev can we just move to go 1.13, since go mod has been finalized in 1.13. Might save us the pain of an upgrade?
Otherwise LGTM.

This is awesome !! Wanted to do this for a while 👍
@draychev can we just move to go 1.13, since go mod has been finalized in 1.13. Might save us the pain of an upgrade?
Otherwise LGTM.

Please ignore my comment on go 1.13. Looks like its not out yet. The PR looks good as is. Thanks !!


#subject method no longer exists

It appears that the #subject alias to #catalogue was removed in 34220fc7349267f7def34fdadc035fb43e17d97a .  This breaks fairly idiomatic usage of puppetlabs_spec_helper's #verify_contents.  I assume this was done so as not to conflict with a rspec-core usage of #subject?  In any event, this happened without a deprecation warning. I've opened a bug on https://tickets.puppetlabs.com/browse/MODULES-1514 as well.
The fix is to replace subject with catalogue in the invocation of #verify_contents.

Is there a reason those tests do not use is_expected.to contain_file(config_file).with_content(content) (example from https://github.com/jhoblitt/puppet-smartd/commit/e80c3aa740e578587bf1aaba9b6e64c52806c7a8)? That is rspec-puppet only, gives you the same semantic (unless I'm missing something) and will give you a nice diff on mismatches.

@DavidS As to using the implicit receiver instead of is_expected.to, the module/tests predate rspec 3.  #with_content is not exactly equivalent to #verify_contents in that the later allows you to specify only the lines you want to ensure are present. AFAIK, #with_content doesn't work with an array of match patterns but it would be trivial to write a helper method around it.  #verify_contents was fairly idiomatic several years ago but I don't see it much anymore.
I'm not sure if any action is needed at this point since there has been a major API bump since I opened this issue.


Ingestion2 process install error

I'm following the README-ingestion2 document, and everything seems to work fine until I get to this point:
ansible-playbook -i ingestion -u <username> dev_ingestion_all.yml --extra-vars "initial_run=true"`

Most of the playbook seems to work, but it errors out partway through with:
TASK: [postgresql | Ensure state of PostgreSQL networking config file (pg_hba.conf)] ***
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'cms'", 'failed': True}
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'cms'", 'failed': True}

FATAL: all hosts have already failed -- aborting

Doing  a vagrant reload and re-provisioning keeps erring at the same point.  I'm unfortunately new to Ansible, and unfamiliar with the process, so I'm at a bit of a loss as to where to look to troubleshoot this further.  Any help would be greatly appreciated.

Thanks, @mjsuhonos - I think I know the cause of this.

I forgot to put in the crystals, didn't I?

@mjsuhonos If you try pulling in the most recently merged changes into the develop branch, you should be good to go.

:+1: thanks, will confirm later today.

Thanks @anarchivist -- this gets further, but now fails with:
TASK: [site_proxy | Ensure state of Nginx site config file] *******************
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'pss'", 'failed': True}
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'pss'", 'failed': True}

FATAL: all hosts have already failed -- aborting

Similar group handling issue?

Yep. Another fix incoming. :(

@mjsuhonos OK - that should address the issue. Another pull from develop should get you sorted.

Almost. Now I'm seeing:
TASK: [frontend | Update frontend app settings] *******************************
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'frontend_s3_bucket' is undefined", 'failed': True}
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'frontend_s3_bucket' is undefined", 'failed': True}

FATAL: all hosts have already failed -- aborting

@mjsuhonos You'll need to add a value for frontend_s3_bucket into automation/ansible/roles/vars/development.yml. Sorry about that ... :/

Thanks -- uncommenting that line in automation/ansible/roles/frontend/vars/development.yml allowed the script to continue.
Now I'm seeing it hang for a long time at:
TASK: [frontend | Build frontend app] *****************************************

Checking /tmp/build_frontend.log, it only contains starting, so it looks like build_frontend.sh is getting caught between L9-17.
Trying to run the rbenv commands manually on dev1 (as vagrant user) gives:
The program 'rbenv' is currently not installed.  You can install it by typing:
sudo apt-get install rbenv

Ditto on dev2 gives:
The program 'rbenv' is currently not installed. To run 'rbenv' please ask your administrator to install the package 'rbenv'

But I would expect that to cause the ansible task to fail, no?  Sorry for keeping this open.

@mjsuhonos Re rbenv, that only gets install under the dpla user, so try sudo -u dpla -i; rbenv to make sure it's installed.

Thanks; the issue with build_frontend.sh was on line 13; ssh-add was trying to add a key with a passphrase and silently waiting for input from the local tty.  Using a key without a passphrase solved the issue.  Might be worth a note in the README.
I'm now getting:
TASK: [frontend | Start Unicorn] **********************************************
failed: [dev1] => {"failed": true}
msg: bundler: command not found: unicorn
Install missing gem executables with `bundle install`

FATAL: all hosts have already failed -- aborting

How are you reinvoking ansible-playbook  here? Is it the same command, or are you using --retry?

I'm doing the same as above:
ansible-playbook -i ingestion -u <username> dev_ingestion_all.yml --extra-vars "initial_run=true"`

When I try with --retry added, it tells me there is no such option.

Hi @mjsuhonos - I think a recent commit by @markbreedlove should fix that. Check to make sure that build_frontend.sh has bundle install in it. You may want to try commenting out the line bundle update dpla_frontend_assets that immediately follows it too.

@anarchivist trying this after a git pull and commenting out bundle update dpla_frontend_assets still yields the same error about Unicorn.  bundle install is present on line 22 of build_frontend.sh.
When I retry with:
ansible-playbook -i ingestion -u <username> dev_ingestion_all.yml --extra-vars "initial_run=true" --limit @/Users/mjsuhonos/dev_ingestion_all.retry

It gives a different error:
TASK: [common | Update hosts file] ********************************************
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute u'ansible_eth1'", 'failed': True}
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute u'ansible_eth1'", 'failed': True}

FATAL: all hosts have already failed -- aborting

I'm running into the same error at
TASK: [frontend | Start Unicorn] **********************************************
Is there a fix coming?

I should be able to look into this within the next day or two.
Could everyone please confirm that:

You are using the latest version of automation?  There was a major release on October 16th that rearranged many variables, and there have been some more since then.  That major release fixed at least one bug related to variable scope.
With Release 2.x, you are following the installation instructions from the top.  (Note that there's a missing instruction to add the ubuntu/trusty64 box if you're using Ingestion2, which I'll add later.) You have done vagrant destroy on the VMs that didn't get initialized properly, and have created new ones.
You are not re-running the installation steps after having pulled originally from a 1.x release and then having pulled development again with 2.x changes.

I'm working on something else where I'm having to create VMs from scratch and provision them, so I should be able to confirm whether I have any errors with a new installation.  So far, I haven't had any errors but I'm still looking.

Hi @markbreedlove -- I'll let @ajhpark confirm the installation steps and VM configuration, but I can confirm that we are working from a recent fork of automation here: https://github.com/OurDigitalWorld/automation.
Thanks for the follow-up on this issue; I'm sure you have competing priorities, but we appreciate the help here. Once we have a successful install, I suspect we'll be able to move ahead on our own.

I am fairly sure I can confirm the installation steps.
This is what I see in the $LOGFILE that build_frontend.sh writes to
and this is what happens when I manually ssh into the VM, and try to run the commands in the shell. I tried giving all-read permission using chmod to the git_private_key file but that also leads to different errors. Is there a simple solution I am missing?

@ajhpark I believe this is an issue with a private repository, which contains a gem with assets for the frontend. The frontend deployment tasks probably need to changed slightly, but it should be an easy fix.

@anarchivist So will you make the repository public? I'm getting a similar issue trying to setup the frontend as well

@ajhpark I assume the repo is private because it contains assets specific to the DPLA that they can't make available.
I'm happy to defer to @anarchivist & @markbreedlove for the moment.

@mjsuhonos is correct. The frontend application has a way to exempt the restricted assets from the deployment but it looks like we didn't configure the build script to take this under account.

I will try to submit a PR for that frontend asset change later today.

Tomorrow morning is now the ETA for that pull request.

No worries @markbreedlove -- thank for your attention on this.

@markbreedlove - I just tried deploying from fix/frontend-deploy-nobranding, and am seeing a new error now:
TASK: [frontend | Update frontend app database configuration] *****************
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'postgresql_user' is undefined", 'failed': True}
fatal: [dev1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'postgresql_user' is undefined", 'failed': True}

FATAL: all hosts have already failed -- aborting

Should this be working currently, or are you still working on the branch?  Apologies if I've jumped the gun.

@mjsuhonos I haven't run into that, but there haven't been any changes to that branch affecting that variable or how it would be propagated.  Did you copy the .dist files mentioned in the https://github.com/dpla/automation/tree/v2.1.3?  You should have a group_vars/development file with that variable defined in it: https://github.com/dpla/automation/blob/v2.1.3/ansible/group_vars/development.dist#L32
If you are using the development or ingestion inventory, that variable should be defined for all playbooks.

@markbreedlove I'm still getting the same error as before. I've checked the log file and it does run bundle install --without dpla_branding, so it seems that the --without option is not working. Any way to fix this?

@ajhpark That branch has not been merged yet, so it's somewhat use-at-your-own-risk until it finishes getting reviewed, but, that said, see https://github.com/dpla/automation/blob/fix/frontend-deploy-nobranding/ansible/roles/frontend/files/build_frontend.sh#L11-L17
The best thing I could suggest is doing vagrant destroy on the VM (vagrant destroy dev1 if you're using the ingestion inventory) and then vagrant up again and the steps performed earlier.

@markbreedlove I've already tried doing vagrant destroy and up. I'll wait for the branch to get reviewed and merged to see if it'll work by then. Thank you for your help and suggestions.

I've done a test by creating a known-bad ssh keypair and having ansible-playbook use that and I can confirm that I get the same error.  Very frustrating, this Bundler.  It was fetching or testing the existence of dpla_frontend_assets, even though it was excluding it from the list of installed gems.
@anarchivist @AudreyAltman @no-reply  I seem to recall you talking about trying to get Bundler to really not install a particular gem group?  It seems that it wants to fetch gems that are not going to be installed.

Just to give an update, I think this is close to being resolved, but it's probably best to wait until we tag a new release.

:+1: thanks again for your support with this issue

@markbreedlove sorry about the .dist issue above -- it was a filename typo, mea culpa.

Thanks, @mjsuhonos!  Re the .dist issue, no problem.
Here's a new release that we hope will fix the errors you've seen: https://github.com/dpla/automation/releases/tag/v2.1.4
I understand that you're also aware of this:  https://issues.dp.la/issues/8141
At a minimum, I should be able to add some documentation on working around it, until I'm able to look more closely.

Also, there's going to be another release in a little while for version 2.2.0.  You may want to pull specifically from the 2.1.4 branch if you don't want to have to go through the PostgreSQL 9.4 upgrade.
If you can wait a while and start over with a fresh dev1 VM, you can wait until the 2.2.0 release and just start with 9.4.

Thanks @markbreedlove. Just to confirm, I'm now able to get a mostly-working instance up from the fix/frontend-deploy-nobranding branch cloned last week (now appears to be deleted in github).  I'll switch to the 2.1.4 tag and try re-deploying to fresh VMs.
Yes, @anarchivist let me know about the Redmine ticket re: Tomcat, though I can't access that URL publicly.  I can manage manual restarts of Tomcat or otherwise tweaking the VM memory as necessary for the time being.
I suspect that if 2.1.4 works for the time being, then we'll poke around there until 2.2.0 is released.  Our main goal right now is to become familiar with the inner workings of the platform, so as long as automation works, we're in good shape.
Thanks again - :heart: DPLA

Thanks, @mjsuhonos! Sorry about the link to that ticket.  Turns out that the particular issue tracker for infrastructure issues is not public. It basically says that I'm going to either fix the memory issue soon, or write up a workaround in the documentation and follow up on it later if it's going to take more than an hour or two.  I think we should count that as a separate issue from this ticket and close this one out if you're able to get through the installation without error.

Yeah, I worked around the memory issue by bumping the memory for dev2 in Vagrantfile to 4GB and reloading the VM.  I can understand why you would want to avoid this extra memory use, but IMO if it's not feasible, then a note in the documentation should suffice.
Regardless, I agree it's a separate issue and this one can probably be closed.  I haven't yet confirmed with @ajhpark that he can get a working stack running, but will do that in the next day or two.

Hi, just want to check whether anyone objects to me closing this. Since this ticket covers the installation errors, we should open further tickets if there are still memory-related problems or whatever.

Yes, sorry for not following up on this.  Considering it resolved, thanks again.

OK, thanks!


Fix Kokkos build

Checklist

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

CMake Error at /home/conda/feedstock_root/build_artifacts/lammps_1687817073522/work/lib/kokkos/cmake/kokkos_arch.cmake:782 (MESSAGE):
CUDA enabled but no NVIDIA GPU architecture currently enabled and
auto-detection failed.  Please give one -DKokkos_ARCH_{..}=ON' to enable an
NVIDIA GPU architecture.

WARNING (lammps): interpreted library (Python) package conda-forge::setuptools-68.0.0-pyhd8ed1ab_0 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (lammps): run-exports library package conda-forge::quippy-0.9.12-py310h1dff17b_1 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (lammps): run-exports library package conda-forge::voro-0.4.6-h00ab1b0_0 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (lammps): run-exports library package conda-forge::numpy-1.21.6-py310h45f3432_0 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (lammps): run-exports library package conda-forge::kokkos-4.0.01-h6772cb2_2 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (lammps): dso library package conda-forge::plumed-2.9.0-nompi_h752ec8b_100 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


[BUG] Broken example on stackblitz for icon-set

🐞 Bug report
When open StackBlitz example from https://taiga-ui.dev/icon-set example is broken
export class AppComponent {             provide: TUI_ICONS_PATH,             useValue: iconsPath,         },     ], })
Collision between Providers and AppComponent

I've created a blanket issue for Open on StackBlitz problems:
https://github.com/TinkoffCreditSystems/taiga-ui/issues/673


chore: updated Remix dev command

🎉 Thanks for submitting a pull request! 🎉
Summary
Updates the Remix dev command to remix dev. When the command was initially added, remix dev did not exist.
Closes #787

For us to review and ship your PR efficiently, please perform the following steps:

[x] Open a bug/issue before writing your code 🧑💻. This
ensures we can discuss the changes and get feedback from everyone that should be involved.
[x] Read the contribution guidelines 📖. This ensures your code follows our style guide and
passes our tests.
[ ] Update or add tests (if any source code was changed or added) 🧪
[ ] Update or add documentation (if features were changed or added) 📝
[x] Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@KyleBlankRollins, is there anywhere in the documentation that we mention remix watch? It's in our template, but I'm going to update it there.

I checked our docs and there is no mention of remix watch @KyleBlankRollins, so nothing to update there. There is only discussion of build commands for frameworks, including Remix, https://github.com/netlify/docs/blob/main/docs/integrations/frameworks/index.md#remix

Wait, I thought the decision was to not change this?


Do final steps of index generation in IndexGPU on GPU

As specified in PR #134 last part of building index in IndexGPU  (done in details::index_gpu::build_index()) is still done on the CPU and takes about half of the total time execution time of IndexGPU generation.
Look for a way to move it to the GPU

Obsolete


Database setup

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #56   +/-   ##
====================================
  Coverage      10%   10%
====================================
  Files           3     3
  Lines          10    10
====================================
  Hits            1     1
  Misses          9     9

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 40bec5a...7b8c300. Read the comment docs.

I'm happy to see how this works out, but Simon and I are discussing how you would link all the answers in one survey response together - I can't see anything in your schemas that would allow for this at the moment. If this is important, it might be necessary to create another schema for survey responses so that all answers from one response can be linked together by the same foreign key


Optional: Alternative CSS?  For Criteria: Polished UI

CSS-in-JS?  (libraries: styled-components, Emotion)
Component Library (libraries: Semantic UI, Chakra UI, Ant Design)
Plain Old CSS?
SCSS?

We opted for Tailwind

Yep, tailwind has everything we need and more!


Raw images fail to mount macos

Attempting to mount dd image that is known clean receive this error on a fresh install:
"Failed to mount the image. Error: [Errno 13] Permission denied: 'tools/Arsenal-Image-Mounter-v3.10.257/aim_cli.exe"

Manually setting execute rights with a chmod +x yields this error:
Failed to mount the image: Error: [Errno8] Exec format error: 'tools/Arsenal-Image-Mounter-v3.10.257/aim_cli.exe'

As written in the description the mounting is only supported for Windows as I used Arsenal Image Mounter(executable)

I will try to work on implementing this feature on macOS and Linux these days!

Ahh. Apologies. I'd thought that was more about the format of the source file system. i.e. you can only mount a windows file system.
If it's a mounting question, the OS should have items built in natively that could be invoked. diskutil in mac, mount in linux, if it's supposed to be mounted directly.

Yes, I think I will be able to push the update tomorrow,  will use "hdiutil" and "ewfmount" for mounting disk images on macOS. :)


mod_zeropush?

Dear @ZeroPush team, @adamvduke, @snatchev,
I do not find the "mod_zeropush" source code:

https://github.com/ZeroPush/mod_zeropush

Can you add again?
Thanks in advance.

If I recall correctly, mod_zero push was removed intentionally when
ZeroPush was sunset in 2015. There is a very similar module available at
https://github.com/adamvduke/mod_interact which has a configurable endpoint
rather than hardcoded to use the ZeroPush API.
The module is currently not maintained, so it may require changes to work
with your application, but should be a good starting point.
— Adam
On Fri, Jun 7, 2024 at 8:52 AM Neustradamus @.***>
wrote:

Dear @ZeroPush https://github.com/ZeroPush team, @adamvduke
https://github.com/adamvduke, @snatchev https://github.com/snatchev,
I do not find the "mod_zeropush" source code:

https://github.com/ZeroPush/mod_zeropush

Can you add again?
Thanks in advance.
—
Reply to this email directly, view it on GitHub
https://github.com/ZeroPush/ZeroPush-iOS/issues/21, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXFUSG6TK72HNF37ULUGTZGGUHZAVCNFSM6AAAAABI6TSX22VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DAMZYGMZTAMI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Jupyter yields: 'NoneType' object has no attribute '_get_renderer'

Description of the problem
When trying to visualize mne data in a jupyter notebook, I get the following error:
'NoneType' object has no attribute '_get_renderer'
Steps to reproduce
So this is a strange one, everything was working perfectly and then I tried to get pyqt to work and now I can't have the normal matplotlib inline experience in jupyter notebooks.
The code runs fine and the plots show normally in a python script, but crashes in a jupyter notebook.
I was unable to reproduce it on the sample datasets, I'm providing a snippet of my dataset.
In a notebook, load the data and try to visualize evoked data.
import mne
raw = mne.io.read_raw_fif("demo-data.fif", preload=True)
events, event_dict = mne.events_from_annotations(raw)
epochs = mne.Epochs(
    raw,
    events,
    event_id=event_dict,
    tmin=-.5,
    tmax=1,
)
epochs[["Test Trial"]].average().plot()

Link to data
https://drive.google.com/file/d/1hAVBZaxg1ZVorf5djqbDB8mdhAtdkf5v/view?usp=sharing
Expected results
I should see the plot
Actual results
I get the following stack trace:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File ~\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\lib\site-packages\IPython\core\formatters.py:340, in BaseFormatter.__call__(self, obj)
    338     pass
    339 else:
--> 340     return printer(obj)
    341 # Finally look for special method names
    342 method = get_real_method(obj, self.print_method)

File ~\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\lib\site-packages\IPython\core\pylabtools.py:152, in print_figure(fig, fmt, bbox_inches, base64, **kwargs)
    149     from matplotlib.backend_bases import FigureCanvasBase
    150     FigureCanvasBase(fig)
--> 152 fig.canvas.print_figure(bytes_io, **kw)
    153 data = bytes_io.getvalue()
    154 if fmt == 'svg':

File ~\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\lib\site-packages\matplotlib\backend_bases.py:2353, in FigureCanvasBase.print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, pad_inches, bbox_extra_artists, backend, **kwargs)
   2350         bbox_inches = bbox_inches.padded(pad_inches)
   2352     # call adjust_bbox to save only the given area
-> 2353     restore_bbox = _tight_bbox.adjust_bbox(
   2354         self.figure, bbox_inches, self.figure.canvas.fixed_dpi)
   2356     _bbox_inches_restore = (bbox_inches, restore_bbox)
   2357 else:

File ~\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\lib\site-packages\matplotlib\_tight_bbox.py:28, in adjust_bbox(fig, bbox_inches, fixed_dpi)
     26 locator = ax.get_axes_locator()
     27 if locator is not None:
---> 28     ax.apply_aspect(locator(ax, None))
     29 locator_list.append(locator)
     30 current_pos = ax.get_position(original=False).frozen()

File ~\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\lib\site-packages\mpl_toolkits\axes_grid1\inset_locator.py:73, in AnchoredLocatorBase.__call__(self, ax, renderer)
     71 def __call__(self, ax, renderer):
     72     self.axes = ax
---> 73     bbox = self.get_window_extent(renderer)
     74     px, py = self.get_offset(bbox.width, bbox.height, 0, 0, renderer)
     75     bbox_canvas = Bbox.from_bounds(px, py, bbox.width, bbox.height)

File ~\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\lib\site-packages\matplotlib\offsetbox.py:399, in OffsetBox.get_window_extent(self, renderer)
    396 def get_window_extent(self, renderer=None):
    397     # docstring inherited
    398     if renderer is None:
--> 399         renderer = self.figure._get_renderer()
    400     bbox = self.get_bbox(renderer)
    401     try:  # Some subclasses redefine get_offset to take no args.

AttributeError: 'NoneType' object has no attribute '_get_renderer'

Additional information
I've tried uninstalling and reinstalling all packages, adding and removing all visualization packages as well. I can get the plots to show on sample data in a notebook and even on my data but not in notebooks.
I've been able to reproduce it in a fresh project and in a fresh env, with only mne installed.
mne.sys_info()
Platform             Windows-10-10.0.19044-SP0
Python               3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
Executable           C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\pythonproject-lFcWie39-py3.10\Scripts\python.exe
CPU                  Intel64 Family 6 Model 140 Stepping 1, GenuineIntel (8 cores)
Memory               31.7 GB

Core
├☑ mne               1.4.2
├☑ numpy             1.25.1 (unknown linalg bindings (threadpoolctl module not found: No module named 'threadpoolctl'))
├☑ scipy             1.11.1
├☑ matplotlib        3.7.2 (backend=module://matplotlib_inline.backend_inline)
├☑ pooch             1.7.0
└☑ jinja2            3.1.2

Numerical (optional)
└☐ unavailable       sklearn, numba, nibabel, nilearn, dipy, openmeeg, cupy, pandas

Visualization (optional)
└☐ unavailable       pyvista, pyvistaqt, ipyvtklink, vtk, qtpy, ipympl, pyqtgraph, mne-qt-browser

Ecosystem (optional)
└☐ unavailable       mne-bids, mne-nirs, mne-features, mne-connectivity, mne-icalabel, mne-bids-pipeline

poetry show
(pythonproject-py3.10) C:\Users\\PycharmProjects\pythonProject>poetry show
certifi            2023.5.7 Python package for providing Mozilla's CA Bundle.
charset-normalizer 3.2.0    The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
colorama           0.4.6    Cross-platform colored terminal text.
contourpy          1.1.0    Python library for calculating contours of 2D quadrilateral grids
cycler             0.11.0   Composable style cycles
decorator          5.1.1    Decorators for Humans
fonttools          4.41.0   Tools to manipulate font files
idna               3.4      Internationalized Domain Names in Applications (IDNA)
jinja2             3.1.2    A very fast and expressive template engine.
kiwisolver         1.4.4    A fast implementation of the Cassowary constraint solver
markupsafe         2.1.3    Safely add untrusted strings to HTML/XML markup.
matplotlib         3.7.2    Python plotting package
mne                1.4.2    MNE-Python project for MEG and EEG data analysis.
numpy              1.25.1   Fundamental package for array computing in Python
packaging          23.1     Core utilities for Python packages
pillow             10.0.0   Python Imaging Library (Fork)
platformdirs       3.8.1    A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".
pooch              1.7.0    "Pooch manages your Python library's sample data files: it automatically downloads and stores them in a local directory, with support for versioning and corruption checks."
pyparsing          3.0.9    pyparsing module - Classes and methods to define and execute parsing grammars
python-dateutil    2.8.2    Extensions to the standard Python datetime module
requests           2.31.0   Python HTTP for Humans.
scipy              1.9.3    Fundamental algorithms for scientific computing in Python
six                1.16.0   Python 2 and 3 compatibility utilities
tqdm               4.65.0   Fast, Extensible Progress Meter
urllib3            2.0.3    HTTP library with thread-safe connection pooling, file post, and more.

Thanks in advance !

did you put
%matplotlib inline
in your notebook?

Message ID: @.***>

Try installing ipympl

Issue persists with ipympl.
This might be linked to #8271

OK looking a bit closer, I'm confused by your poetry show output --- it doesn't list ipython or jupyter at all.  Which I think means that you're running Jupyter from outside your poetry environment.  I'm not very familiar with poetry but all kinds of things can go awry if you launch python/ipython from one conda/mamba env and then rely on installations of MNE, etc in another environment.
If it were me, I'd create a fresh env that has everything I need (python, ipython, jupyter, matplotlib, mne, ...) and make sure when starting the notebook that it's the version of jupyter in that environment (command line would be where jupyter; if you're launching from start menu or anaconda navigator then within the notebook itself you can do
import jupyter
print(jupyter.__file__)

to see the path to the jupyter installation being used.  (sometimes Help > About can also indicate environment mismatches, but IIRC it only shows python/ipython version strings, not full executable paths)

Indeed, it seems that I forgot to terminate the Jupyter notebook when I created a fresh environment for testing.
I went back to my project and environment (freshly created to pin down the issue), and managed to replicate the issue with only mne and jupyter (and their dependencies) installed. Here is the poetry show:
(test-py3.10) C:\Users\\PycharmProjects\test>poetry show
anyio                     3.7.1    High level compatibility layer for multiple asynchronous event loop implementations
argon2-cffi               21.3.0   The secure Argon2 password hashing algorithm.
argon2-cffi-bindings      21.2.0   Low-level CFFI bindings for Argon2
arrow                     1.2.3    Better dates & times for Python
asttokens                 2.2.1    Annotate AST trees with source code positions
attrs                     23.1.0   Classes Without Boilerplate
backcall                  0.2.0    Specifications for callback functions passed in to an API
beautifulsoup4            4.12.2   Screen-scraping library
bleach                    6.0.0    An easy safelist-based HTML-sanitizing tool.
certifi                   2023.5.7 Python package for providing Mozilla's CA Bundle.
cffi                      1.15.1   Foreign Function Interface for Python calling C code.
charset-normalizer        3.2.0    The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
colorama                  0.4.6    Cross-platform colored terminal text.
comm                      0.1.3    Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc.
contourpy                 1.1.0    Python library for calculating contours of 2D quadrilateral grids
cycler                    0.11.0   Composable style cycles
debugpy                   1.6.7    An implementation of the Debug Adapter Protocol for Python
decorator                 5.1.1    Decorators for Humans
defusedxml                0.7.1    XML bomb protection for Python stdlib modules
exceptiongroup            1.1.2    Backport of PEP 654 (exception groups)
executing                 1.2.0    Get the currently executing AST node of a frame, and other information
fastjsonschema            2.17.1   Fastest Python implementation of JSON schema
fonttools                 4.41.0   Tools to manipulate font files
fqdn                      1.5.1    Validates fully-qualified domain names against RFC 1123, so that they are acceptable to modern bowsers
idna                      3.4      Internationalized Domain Names in Applications (IDNA)
ipykernel                 6.24.0   IPython Kernel for Jupyter
ipython                   8.14.0   IPython: Productive Interactive Computing
ipython-genutils          0.2.0    Vestigial utilities from IPython
ipywidgets                8.0.7    Jupyter interactive widgets
isoduration               20.11.0  Operations with ISO 8601 durations
jedi                      0.18.2   An autocompletion tool for Python that can be used for text editors.
jinja2                    3.1.2    A very fast and expressive template engine.
jsonpointer               2.4      Identify specific nodes in a JSON document (RFC 6901)
jsonschema                4.18.3   An implementation of JSON Schema validation for Python
jsonschema-specifications 2023.6.1 The JSON Schema meta-schemas and vocabularies, exposed as a Registry
jupyter                   1.0.0    Jupyter metapackage. Install all the Jupyter components in one go.
jupyter-client            8.3.0    Jupyter protocol implementation and client libraries
jupyter-console           6.6.3    Jupyter terminal console
jupyter-core              5.3.1    Jupyter core package. A base package on which Jupyter projects rely.
jupyter-events            0.6.3    Jupyter Event System library
jupyter-server            2.7.0    The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications.
jupyter-server-terminals  0.4.4    A Jupyter Server Extension Providing Terminals.
jupyterlab-pygments       0.2.2    Pygments theme using JupyterLab CSS variables
jupyterlab-widgets        3.0.8    Jupyter interactive widgets for JupyterLab
kiwisolver                1.4.4    A fast implementation of the Cassowary constraint solver
markupsafe                2.1.3    Safely add untrusted strings to HTML/XML markup.
matplotlib                3.7.2    Python plotting package
matplotlib-inline         0.1.6    Inline Matplotlib backend for Jupyter
mistune                   3.0.1    A sane and fast Markdown parser with useful plugins and renderers
mne                       1.4.2    MNE-Python project for MEG and EEG data analysis.
nbclassic                 1.0.0    Jupyter Notebook as a Jupyter Server extension.
nbclient                  0.8.0    A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor.
nbconvert                 7.6.0    Converting Jupyter Notebooks
nbformat                  5.9.1    The Jupyter Notebook format
nest-asyncio              1.5.6    Patch asyncio to allow nested event loops
notebook                  6.5.4    A web-based notebook environment for interactive computing
notebook-shim             0.2.3    A shim layer for notebook traits and config
numpy                     1.25.1   Fundamental package for array computing in Python
overrides                 7.3.1    A decorator to automatically detect mismatch when overriding a method.
packaging                 23.1     Core utilities for Python packages
pandocfilters             1.5.0    Utilities for writing pandoc filters in python
parso                     0.8.3    A Python Parser
pickleshare               0.7.5    Tiny 'shelve'-like database with concurrency support
pillow                    10.0.0   Python Imaging Library (Fork)
platformdirs              3.9.1    A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".
pooch                     1.7.0    "Pooch manages your Python library's sample data files: it automatically downloads and stores them in a local directory, with support for versioning and corruption checks."
prometheus-client         0.17.1   Python client for the Prometheus monitoring system.
prompt-toolkit            3.0.39   Library for building powerful interactive command lines in Python
psutil                    5.9.5    Cross-platform lib for process and system monitoring in Python.
pure-eval                 0.2.2    Safely evaluate AST nodes without side effects
pycparser                 2.21     C parser in Python
pygments                  2.15.1   Pygments is a syntax highlighting package written in Python.
pyparsing                 3.0.9    pyparsing module - Classes and methods to define and execute parsing grammars
python-dateutil           2.8.2    Extensions to the standard Python datetime module
python-json-logger        2.0.7    A python library adding a json log formatter
pywin32                   306      Python for Window Extensions
pywinpty                  2.0.11   Pseudo terminal support for Windows from Python.
pyyaml                    6.0      YAML parser and emitter for Python
pyzmq                     25.1.0   Python bindings for 0MQ
qtconsole                 5.4.3    Jupyter Qt console
qtpy                      2.3.1    Provides an abstraction layer on top of the various Qt bindings (PyQt5/6 and PySide2/6).
tinycss2                  1.2.1    A tiny CSS parser
tornado                   6.3.2    Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
tqdm                      4.65.0   Fast, Extensible Progress Meter
traitlets                 5.9.0    Traitlets Python configuration system
uri-template              1.3.0    RFC 6570 URI Template Processor
urllib3                   2.0.3    HTTP library with thread-safe connection pooling, file post, and more.
wcwidth                   0.2.6    Measures the displayed width of unicode strings in a terminal
webcolors                 1.13     A library for working with the color formats defined by HTML and CSS.
webencodings              0.5.1    Character encoding aliases for legacy web content
websocket-client          1.6.1    WebSocket client for Python with low level API options
widgetsnbextension        4.0.8    Jupyter interactive widgets for Jupyter Notebook

print(jupyter.__file__)

Correctly shows the path to my test env.
However, the issue persists.

ok...  I notice PycharmProjects in your path.  Are you running the jupyter notebook from within Pycharm, or is it launching from a terminal and running in a browser?  If you are running the notebook within PyCharm can you try doing it in terminal/browser instead?
I don't personally use PyCharm but IIRC they do some things to wrap matplotlib (capture plots and stick them in a separate pane? or something...)  maybe @hoechenberger or @cbrnr know?

I've tried both in Pycharm, and in Browser. I've also tried starting Jupyter from Pycharm and starting Jupyter from terminal. Same error every time.

I don't use PyCharm anymore, but this doesn't seem to be the issue. I don't use Jupyter notebooks either, but I could replicate your issue.
I could fix it with:
%matplotlib notebook

at the top of the notebook.

argh.  OK I'm back at my desk now and I can reproduce it locally (on linux, in terminal/browser).  My next thought was "system python used as kernel" so I installed nb_conda_kernels and ran with the kernel from my new env, and I still get the error.  Adding %matplotlib inline doesn't help.
I won't have more time today to debug unfortunately, but will try tomorrow unless someone beats me to it.
reproducer:
mamba create -n test mne jupyter nb_conda_kernels
jupyter notebook

then copy-paste this into the notebook:
%matplotlib inline
import mne
raw = mne.io.read_raw_fif("demo-data.fif", preload=True)
events, event_dict = mne.events_from_annotations(raw)
epochs = mne.Epochs(
    raw,
    events,
    event_id=event_dict,
    tmin=-.5,
    tmax=1,
)
epochs[["Test Trial"]].average().plot()

If I force matplotlib=3.7.1 in my environment install then the problem goes away. Looks like we need to file an upstream bug. @Gvanderl can you confirm that it works with matplotlib 3.7.1 for you?

@drammock Yes it works with matplotlib 3.7.1 !
@cbrnr I was able to get matplotlib %notebook to work also on the condition that I downgrade tornado to version 6.1 and jupyter-client to 7.3.2
Jupyter probably updated when I installed pyqt, 3.7.2 was released 2 weeks ago. It seems that mne, matplotlib and jupyter don't mesh well with this latest update.
Thanks for helping me troubleshoot the issue, not sure if the issue lies with matplotlib or mne then. Either way, downgrading matplotlib works for now, I'm closing the issue.


Translate concepts/security/pod-security-standards into Japanese

This is a Feature Request
What would you like to be added
Translate concepts/security/pod-security-standards into Japanese
Why is this needed
This page has not been translated.
Comments
/language ja
/assign

/triage accepted

/close


Solve many UVA problems

This is a list of solutions to many UVA problems.

Hi @fatosmorina, thank you for the PR. Sorry for the late response, I am reviewing your solutions now!

Hi @fatosmorina I have begun reviewing your changes; however, before I continue I would like you to please change "static void solve()" to "public static void main(String args[])" for all of your files in order to maintain the consistency of the repository. Please let me know when you have done so and I will continue reviewing your PR. Thank you!

Hi @kdn251
I have made the changes you asked for. Can you please continue with the review now?
Thanks.

Hi @fatosmorina thank you so for your patience. I'm committing your changes now! Looking forward to more of your contributions :)

Hi @kdn251
Thank you too for giving me the opportunity to contribute in your helpful repository. I am honored and privileged.


Release/signoz 0.11.3

Update query-service/frontend version to v0.16.2 and collector to 0.66.5

@srikanthccv can you also bump up versions of K8s-Infra collectors to 0.70.0?
I know it might seem redundant to have those values in two place. In coming days, we will cleanup and remove redundant values from K8s-Infra chart in SigNoz chart since they will be default.
For now, could you please make sure the changes in values.yaml of K8s-Infra chart from two release versions are synced in values.yaml of SigNoz?
https://github.com/SigNoz/charts/compare/k8s-infra-0.6.5...k8s-infra-0.7.0#diff-59749a6a176adc33824cd6adda9545ee3cf7c3163749655ce9f81745281968ac

@prashant-shahi, made the requested changes, please take another look.

@srikanthccv Good to merge after the chart test passes.

Tested the latest changes

Thanks for the review. Merging.

@srikanthccv Happy to be there on the other side, reviewing.
I am also glad to see you do a nice job with the release of SigNoz, SigNoz OtelCollector and signoz chart. :partying_face: :confetti_ball:


[BUG] Get 404 while waiting delete eventhub namespace complete

Library name and version
Azure.ResourceManager.EventHubs 1.0.0
Describe the bug
As title, getting 404 while waiting delete eventhub namespace to complete. See stacktrace below, let me know if any further information is needed.
Status: 404 (Not Found)
ErrorCode: ResourceNotFound
Content:
{"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.EventHub/namespaces/pvtli-iothub-ns-hub0301-08-10-49992b256d' under resource group 'Default-EventHub-SouthCentralUS' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}
Headers:
Pragma: no-cache
x-ms-failure-cause: REDACTED
x-ms-request-id: 102ebea4-3d16-4865-be79-0feb85fcf13c
x-ms-correlation-request-id: REDACTED
x-ms-routing-request-id: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
Content-Length: 273
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 02 Mar 2023 05:45:28 GMT
Expires: -1
   at Azure.Core.OperationInternal`1.GetResponseFromState(OperationState`1 state)
   at Azure.Core.OperationInternal`1.<UpdateStatusAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.Core.OperationInternalBase.<UpdateStatusAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.Core.OperationInternal.<UpdateStatusAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.Core.OperationInternalBase.<UpdateStatusAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.Core.OperationPoller.<WaitForCompletionAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.Core.OperationInternalBase.<WaitForCompletionResponseAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.Core.OperationInternalBase.<WaitForCompletionResponseAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azure.ResourceManager.EventHubs.EventHubsNamespaceResource.<DeleteAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Internal.Azure.Devices.Common.AzureServiceManagement.Clients.AzureResourceManagerEventHubClient.<DeleteNamespaceIfExistsAsync>d__8.MoveNext() in C:\__w\1\s\common\Microsoft.Internal.Azure.Devices.Common.AzureServiceManagement\Clients\AzureResourceManagerEventHubClient.cs:line 143
--- End of stack trace from previous location where exception was thrown ---```

### Expected behavior

No error in eventhub namespace deletion and while waiting delete completion.

### Actual behavior

Get 404 while waiting delete eventhub namespace complete.

### Reproduction Steps

Delete eventhub namespace with WaitUntil.Completed option.

### Environment

_No response_

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

any update?

Hi @linsqi, please confirm if the eventhub namespace Microsoft.EventHub/namespaces/pvtli-iothub-ns-hub0301-08-10-49992b256d was exised under resource group Default-EventHub-SouthCentralUS in your subs.

@linsqi I tried to create and delete an EventHub  namespace multiple times locally, did not get any 404 error.
@lsqi07 As you mentioned it throwed randomly, did you see a pattern of this throw? And how random is it, like 1 of 10? I tried for 5 times in a loop.

@linsqi Linshen Qi FTE I tried to create and delete an EventHub namespace multiple times locally, did not get any 404 error. @lsqi07 As you mentioned it threw randomly, did you see a pattern of the throw? And how random is it, like 1 of 10? I tried for 5 times in a loop.

This might be an issue from service side, please contact service for more info.


test which reproduces issue #441

See #441

@yawkat I think this behaviour was broken between M1 and M4

@yawkat I did some investigation. Not sure if the issue is here or in core. From what I can tell for some reason the UnmatchedRequestArgumentBinder does this:
   @Override
    public BindingResult<T> bindPostponed(ArgumentConversionContext<T> context, HttpRequest<?> request) {
        BindingResult<T> lastWithError = null;
        for (RequestArgumentBinder<Object> binder : stream().filter(binder -> (binder instanceof PostponedRequestArgumentBinder)).toList()) {
            BindingResult<?> result = binder.bind((ArgumentConversionContext<Object>) context, request);

Which ends up trying to convert the full map of parameters (this is a form submission) into a String via this converter:
    protected TypeConverter<Map, Object> mapToObjectConverter() {
        return (map, targetType, context) -> {
            ArgumentConversionContext<Object> conversionContext;
            if (context instanceof ArgumentConversionContext) {
                conversionContext = (ArgumentConversionContext<Object>) context;
            } else {
                conversionContext = ConversionContext.of(targetType);
            }
            ArgumentBinder binder = this.beanPropertyBinder.get();
            ArgumentBinder.BindingResult result = binder.bind(conversionContext, correctKeys(map));
            return result.getValue();
        };
    }

Since Micronaut Serialization doesn't allow turning JSON objects into strings this returns null which results in a NPE :
06:40:32.695 [default-nioEventLoopGroup-1-3] ERROR i.m.http.server.RouteExecutor - Unexpected error occurred: null
java.lang.NullPointerException: null
	at java.base/java.util.Objects.requireNonNull(Objects.java:208)
	at java.base/java.util.Optional.of(Optional.java:113)
	at io.micronaut.json.bind.JsonBeanPropertyBinder.lambda$bind$0(JsonBeanPropertyBinder.java:72)

The behaviour seems incorrect here, it is unclear why it is trying to bind the full body to one of the parameters

@graemerocher it's a combination of core and serde i think. it's trying to bind the full map to the string parameter because of the @Body fallback that will be removed in https://github.com/micronaut-projects/micronaut-core/pull/9151/ . but this should still work fine usually–the serde bug is that this conversion does not fail due to incorrect null handling that is fixed by #425.
at least that was my impression when i looked at this in security, i will test it with #425 now.

ah no, it is still broken with #425, i will fix it. the issue is that decodeStringNullable returns null when the token is START_OBJECT.

the test looks broken, it does not use serde from the project, it uses M3.

I pushed a fix for the build

thanks


PRM-2975 - R5B code removed

app config prod PR https://github.com/hmrc/app-config-production/pull/19993


Portfolio

Profile Linked with Portfolio , When click on profile redirect to portfolio full deploy on github.io

@Mhassanbughio
What to do:

[x] Take a screenshot of your profile, up to where it says pinned repos.
[x] As you just took a screenshot, just ctrl v it into the issue. Or, save it to your computer and then upload it to GitHub, and it will generate a custom image URL, when you copy image address.
[x] Go to your forked copy of the repo, and go to data.json and add your name, paste in the image url and fill out the rest.

@Mhassanbughio please can you reopen this?


How can I add stickers (or text) to videos?

https://github.com/yellowcath/PhotoMovie/blob/master/library/src/main/java/com/hw/photomovie/segment/layer/MovieTextLayer.java

thanks bro

how to use this one  ?

Ho to use
https://github.com/yellowcath/PhotoMovie/blob/master/library/src/main/java/com/hw/photomovie/segment/layer/MovieTextLayer.java
this class ?


fix(mod/lock) Fix two issues found in the heavily loaded tests

I found two issues in lock module in the heavily loaded tests.
In a certain situation a goroutine launched in watch() attempts to send a message to closed channel. Fixed in 4c2942f
It seems that a 'ModifiedIndex' in a lock directory is not incremented once the directory initialized. If (latest index  - the ModifiedIndex) > 1000 and prevIndex exists at the time, etcd always returns 401 EcodeEventIndexCleared and a request has been never queued until no prevIndex found. I tried to fix in 1273875 but I'm not sure this is correct.

I met the same issue when I ran 100 watches concurrently. Should I expect that the fix will be shipped in etcd 2.1?

FWIW I can reproduce this issue on F21 distro packages with:
$ etcd --version
etcd Version: 2.0.13
Git SHA: 92e3895
Go Version: go1.4.2
Go OS/Arch: linux/amd64
What is causing this is actually a bug in my code, which I know about, but the bug triggers many watches and get/set which after a brief infinite loop (<3 sec) I fail with this error.
HTH

@purpleidea @wangyumi @nbarrientos I think you are meaning to talk on issue #587. This issue is about a feature that does not exist in 2.0.13


Include in transpiler return object a set of placeholders for variables

Transpiler return content could be:
 $this->domCrawlerNavigator->findElement(new ElementLocator(
     LocatorType::CSS_SELECTOR,
     '.gLFyf.gsfi',
     1
 ));

This assumes a variable name in the generated code. Such a variable name might not always be present/possible.
The content should instead use placeholder for variables and the return object should contain sufficient data for the code generator to map placeholders to variables.
Possible transpiler content with placeholders:
 {{ DOM_CRAWLER_NAVIGATOR }}->findElement(new ElementLocator(
     LocatorType::CSS_SELECTOR,
     '.gLFyf.gsfi',
     1
 ));

Alternatively, pass in suitable variable names as args to a transpiler ...


Search bar for "Organizations" not working

The organization search bar is not currently working. When I click Organizations at the top of the page, I am not able to search for any organizations there. Additionally, when I try to create a new location, I am no able to look for organizations. Without choosing an organization, it does not allow me to create the location. Thank you for looking at this!

Fixed by https://github.com/bchd/bahc-ohana-api/commit/9938c30a5669216575be82f40cf9cfe13d4a087b, deployed to all environments.


Allow custom document to be provided

Hi @Temzasse. First of all, thank you for creating this library! It looks fantastic and has such an intuitive + flexible API.
This change would allow a custom document to be provided (useful in cases where you are rendering into an iframe).
Let me know what you think :)

Hi @james2406. Thanks for the PR! 🙏
I haven't played much with iframes so this use case is new to me. Would it be possible for you to provide an example of how a bottom sheet can be used inside an iframe?

Sure thing. I'll probably have some time this weekend to put something together and link it here when it's ready

I created a sandbox where you can see the content rendering outside of the iframe https://codesandbox.io/s/react-modal-sheet-iframe-xyfim. If you point the package.json to my fork, you'll see the content renders in the iframe.
The styled-components library has quite a nice way to handle this via a StyleSheetManager - which allows you to provide the  element of the current document via the target prop. However, that approach is probably a bit over the top for this case.

Thank you @james2406!
I'll create a new example for this use case in my /examples folder and add the new prop for a custom document 👍

Awesome. Thanks a lot!
I was just thinking today, do you think a more flexible solution would be to allow users of this library to change the portal domNode instead of providing a different document? This would solve the problem for people with iframes + allow anyone to change the rendering dom node (for whatever reason).

I'd be more than happy to submit another PR + create another example sandbox if you agree.

Awesome. Thanks a lot!
I was just thinking today, do you think a more flexible solution would be to allow users of this library to change the portal domNode instead of providing a different document? This would solve the problem for people with iframes + allow anyone to change the rendering dom node (for whatever reason).

@james2406 yeah that might actually be a better solution 👍
Another PR for this idea is definitely welcome 🙏
PS: I just released 1.0.0 that dropped the support for framer-motion v1 which fixed some TS issues.

I quickly tested your initial iframe example and it seems that the gestures (dragging from the header) are not working inside the iframe 🤔

I'm going to close this for inactivity. Please update the PR with a working solution if this feature is still important to have in the lib 🙂


Update results.component.html

Attempting to add some end messaging to readiness quiz. maybe need an alternative solution given we have so much text...

(closing as this has been revolved by a snippets addition)


Portal should show comment/help bubbles when selecting templates

when selecting a scenario, the names of templates, way (or not) provide an accurate description of the template. For example Generic webhook vs, http trigger.
Maybe we should provide a bubble of test when hovering over a template?

@mattchenderson Isn't this already mocked up in your latest changes?

@mattchenderson Is this in scope?

We're re-evaluating what this should be. Descriptions should be in scope, but how they are presented needs to be locked down.

I did portal change. Templates - metadata.json change is required.

For now we decided to show description before "Configuration" section on selecting template


Post 2.4

This has been disabled ages ago, probably by mistake - the problem is that when you add an image via TinyMCE, you can no longer change the "Alignment" dropdown, even for the new images. You are forced to reload whole CMS each time you want to change the alignment for newly inserted images.

Yeah seems good.


2019.2.5f1: No UI buttons, no gizmos, unusable

SabreCSG is completely unusable in Unity 2019.2.5f1, the UI does not show and nor do any gizmos show on CSGModels.

The console warns that SceneView.onSceneGUIDelegate is obsolete.

Same in 2019.2.10f1
I'm looking at the errors and they're mostly trivial to fix but some parts like this:
if (!EditorHelper.SceneViewHasDelegate(OnSceneGUI)) (CSGModel.cs:1345) inspects the list of delegates for the SceneView.  That doesn't appear to be possible (the new 'SceneView.duringSceneGui' can only be used on the left of a += or -= instruction.
This was always a bit hacky, the comment explains:
            // necessary to rebind dynamically)```

So maybe someone can answer the question: in Unity 2019 does recompilation still remove listeners?
If not then we can just add the delegate once in a constructor or init function.

If that won't work then (unless SceneView contains a way to check if a delegate has already been assigned - I flicked through the docs but didn't see one) we will need to maintain a list of which delegates were added, and reset it when compilation occurs.

That's just been fixed! It was really a puzzle, but I found a simple workaround (see PR). Have fun in 2019! 😁


For a 2.3 release

#162

Codecov Report

Merging #164 (2e864cb) into master (39e7aab) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #164   +/-   ##
=======================================
  Coverage   90.52%   90.52%
=======================================
  Files           7        7
  Lines         306      306
=======================================
  Hits          277      277
  Misses         29       29

Impacted Files
Coverage Δ

src/coerce.jl
87.93% <100.00%> (ø)

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 39e7aab...2e864cb. Read the comment docs.


License for Datasets

Problem:  If I want to use, correct, change or build upon these datasets, I don't knonw if I'm allowed to.
Solution: Please provide a License like odpl or – to prevent further questions – a statement that usual copyright applies.

Thank you, good idea - https://github.com/plotly/datasets/blob/master/LICENSE


offline not working when using linguist-js as library

I just started linguist-js as library and it's pretty nice :). I have discovered that using it out of a unit test e.g. mocha with the offline option set to true will lead to an error. For me the message is:
Error: ENOENT: no such file or directory, open '{MY_PATH}/ext/languages.yml'

where {MY_PATH} is the path to my ../project.  It seems the loading via ../../ in loadData is not made for this kind of use. It would be very cool if this could be stabilized.

Thinking about this more I think a valid enhancement could be to allow passing an own set of linguist yml files. Raw or already parsed would be another option.
With this the library would be decoupled from the actual yml files which means a consumer could update the yml files without the need for this library to create a new release.
What do you think?

Hi, thanks for the report.

I have discovered that using it out of a unit test e.g. mocha with the offline option set to true will lead to an error.

Do you have a reproduction for this issue? Because the offline option works fine when I make a repo with this as index:
import linguist from 'linguist-js';

const data = await linguist('.', { offline: true });

console.debug(data);

//C:\Users\user\AppData\Local\Temp\20230117>node index.mjs
{
  files: {
    count: 2,
    bytes: 367,
    results: {
      'C:/Users/user/AppData/Local/Temp/20230117/index.mjs': 'JavaScript',
      'C:/Users/user/AppData/Local/Temp/20230117/package.json': 'JSON'
    }
  },
  languages: {
    count: 2,
    bytes: 367,
    results: { JavaScript: [Object], JSON: [Object] }
  },
  unknown: { count: 0, bytes: 0, extensions: {}, filenames: {} }
}

And I did confirm the offline option was working properly by going on airplane mode, heh.

Thinking about this more I think a valid enhancement could be to allow passing an own set of linguist yml files. Raw or already parsed would be another option.
With this the library would be decoupled from the actual yml files which means a consumer could update the yml files without the need for this library to create a new release.

Hm, this seems like it would have a lot of overhead for not a lot of benefit. Having lag from the upstream yml files doesn't seem like a big deal - if you want the very latest you can use online mode, if you want stability and insurance that it will work correctly you can use offline mode. I don't feel like allowing custom yaml files would be too useful a feature. Do you have a use case where custom yml files would be a useful feature to have?

@hstaudacher can you provide more information about how to reproduce this issue?

Using Linguist in a Mocha test seems to work just fine:
const assert = require('assert');
const linguist = require('linguist-js');
describe('Linguist', function () {
    describe('issue#18', function () {
        it('should linguist()', async function () {
            const data = await linguist('.', { offline: true });
            assert.equal(data.languages.count, 2);
        })
    });
});

>npx mocha

  Linguist
    issue#18
      √ should linguist() (134ms)

  1 passing (142ms)

Closing as not repoducable.


Bug: Icon Hover over Projects

What happened?
Hover Effect for github is not properly according to actual github, we need to fixed this
Add screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

duplicate https://github.com/priyankarpal/ProjectsHut/issues/1830


Caffe Support Disabled

I have a stand alone UBUNTU machine and NVIDIA Titan GPU.
I'm trying to go through the Two Days to a Demo and have been through all  the Hello AI stuff, and now I'm to DIGITS.  I have the DIGITS container running and the symbolic link to the 12_classes,  but when I tried to create the dataset I ran into
2020-05-21 07:54:16.918004: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2
Caffe support disabled.
Reason: A valid Caffe installation was not found on your system.
Traceback (most recent call last):
File "/opt/digits/digits/tools/parse_folder.py", line 557, in
max_per_category=args['max'],
File "/opt/digits/digits/tools/parse_folder.py", line 442, in parse_folder
test_outfile.write('\n'.join(test_lines) + '\n')
UnboundLocalError: local variable 'test_outfile' referenced before assignment

Should have seen that as when DIGITS starts up it also tells me:
Caffe support disabled.
Reason: A valid Caffe installation was not found on your system.

So that seemed simple enough I went to instructions for caffe native  set up which pointed me to: http://caffe.berkeleyvision.org/installation.html#compilation which led me to running "make all" which led  to
(base) cm@cm-All-Series:~/Downloads/caffe$ make all
CXX .build_release/src/caffe/proto/caffe.pb.cc
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
 #include <google/protobuf/port_def.inc>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:617: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1
(base) cm@cm-All-Series:~/Downloads/caffe$

I'm not sure what to do at this point. I installed protobuf using the SNAP installation but that didn't help.

Just to add more clarification to the stand alone Caffe installation attempt, I'm using docker for DIGITS from NGC. On a different approach, I also pulled the docker for NVCaffe from digits and have it running thinking they were to talk to each other, but that didn't work either.

So if you find yourself here with the error I listed above, I'm not sure where I went wrong I tried so many things that eventually started with a fresh Ubuntu install and creating a environment for python 3.6 and make sure that when it says "Run commands from the DIGITS server" I docker exec'ed into the container and ran bash commands from the volumes share drives in the container.  All is working now.  Hope it helps. Cheers.


.Net: Exceptions thrown from the HandlebarsPlanner should be specific and should contain Exception-Data.

Currently when HandlebarsPlanner throws an exception I have no way to recover from that in a meaningful and graceful manner. I don't have the plan, I don't have the prompt template and I have no way to differentiate between Exceptions besides testing the message if it contains a specific text.
Request:

Use of specific meaningful exceptions like InsufficientFunctionsForGoalException instead of KernelException (overall not specific to Planners!)

See HandlebarsPlanner

Include Details in the Exception-Data-Bag. For the planner for example:

Include the created plan / attempt
Include the created prompt

Reason why:
The message "Additional helpers may be required" triggers the exception but the plan is perfectly fine. So I want to recover from that and therefore I need the created plan. I'm totally able to handle the "Additional helpers may be required" message myself. So my intent is to test for a specific exception then extract the plan form the Exception-Data-Bag and continue with executing the plan. A specific exception would prevent the abuse of the Exception-Data-Bag and the properties may could set explicite.
Maybe the HandlebarsPlannerOptions should be extended with an option: "ShouldThrow" or something similar. Then the HandlebarsPlan could be extended with HasError and an Error-Object. So that HandlebarsPlan is more treated like a "Result Object".
Current Code:
        var planner = new HandlebarsPlanner(new HandlebarsPlannerOptions()
        {
            AllowLoops = true,
        });

        try
        {
            var plan = await planner.CreatePlanAsync(kernel, intent, cancellationToken);
            this.logger.LogInformation($"Plan: {plan}");
        }
        catch (Exception ex)
        {
            // try to extract the plan
            throw ex;
        }

Example Code:
        var plannerOptions = new HandlebarsPlannerOptions()
        {
            AllowLoops = true,
            ShouldThrow = false
        };

        var planner = new HandlebarsPlanner(plannerOptions);

        var plan = await planner.CreatePlanAsync(kernel, intent, cancellationToken);

        if (plan.HasError) {
            // some logic to test the ErrorObject if we can try to continue
        }

        // try to use the plan
        this.logger.LogInformation($"Plan: {plan}");

Hi @Cotspheer, new `` type contains the prompt and model result: https://github.com/microsoft/semantic-kernel/pull/4973


Interstitial always fails to load

Here is the code I'm using to prepare the interstitial ad :
_showInterstitial() {
    let interstitialConfig: AdMobFreeInterstitialConfig = {
        isTesting: true,
        autoShow: false,
        // id: 'ca-app-pub-xxx'
    };
    this.adMobFree.interstitial.config(interstitialConfig);

    this.adMobFree.interstitial.prepare().then(p => {
        console.log('Intertistial prepared.');
        console.log(p);
    }).catch(e => console.log(e));
}

At this point, the interstitial is correctly prepared.
Then, two listener are setted to check if the ad correctly loaded, and another one if it failed :
// Listen when the Interstitial is loaded
this.admobLoad = this.adMobFree.on(this.adMobFree.events.INTERSTITIAL_LOAD).subscribe(() => {
    console.log('Event interstitial loaded.');
    this.adMobFree.interstitial.show().then(() => {
        // Show successful
    }).catch((errorShow) => {
        console.log(errorShow);
    });
    this.admobLoad.unsubscribe();
});

// Listen when the Interstitial has failed to load
this.admobFail = this.adMobFree.on(this.adMobFree.events.INTERSTITIAL_LOAD_FAIL).subscribe(res => {
    console.log('Interstitial load fail.');
    console.log(res);
    this.admobFail.unsubscribe();
});

In my case, it always failed. Here is the response from the listener :
Event {
    adType: "interstitial"
    bubbles: false
    cancelBubble: false
    cancelable: false
    composed: false
    currentTarget: null
    defaultPrevented: false
    error: 0
    eventPhase: 0
    isTrusted: false
    path: (2) [document, Window]
    reason: "Internal error"
    returnValue: true
    srcElement: document
    target: document
    timeStamp: 66483.19999995874
    type: "admob.interstitial.events.LOAD_FAIL"
}

Thanks for your help.

@ratson
same as #184

In my case, ads are not showing even in test mode

So you probably have some other issue. I've reinstalled all from scratch and test is working without any issue.
This is my code :
                window.admob.interstitial.config({
                    id: INTERSTITIAL_AD_ID,
                });

                // Create banner
                await window.admob.interstitial.prepare();

                document.addEventListener('admob.interstitial.events.LOAD', () => {
                    window.admob.interstitial.show();
                });

That issue is clearly shown here how to solve admob failed to load ads


BI-1167 - Germplasm Import - Validate Required Fields

Description
Story: BI-1167

Added ValidationError return for first stage errors (missing required field)

Dependencies
BI-1167 bi-web branch is needed for the front end.
Testing

Create a germplasm import files with various combinations of required fields missing and present to see that errors shown are as expected.

Checklist:

[x] I have performed a self-review of my own code
[x] I have tested my code and ensured it meets the acceptance criteria of the story
[x] I have create/modified unit tests to cover this change
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to documentation
[ ] I have run TAF.

Could you also add a test for the headers being case-insensitive?

Added test for case insensitive headers.


Vulnerability roundup 92: trousers-0.3.14: 3 advisories [7.8]

search, files

[ ] CVE-2020-24330 CVSSv3=7.8 (nixos-20.03, nixos-unstable)
[ ] CVE-2020-24331 CVSSv3=7.8 (nixos-20.03, nixos-unstable)
[ ] CVE-2020-24332 CVSSv3=5.5 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: 925ae0dee63; nixos-unstable: c59ea8b8a0e.
Cc @alexanderkjeldaas

NixOS 20.03 is EOL, so this issue isn't actionable anymore (but fixed in unstable).


Add darkmode support for the settings window

Summary of the Pull Request
Make settings window support dark mode:

PR Checklist

[x] CLA signed. If not, go over here and sign the CLA

Validation Steps Performed
Manual

Great work!

Updated, PTAL


Remove version: Jackett.Jackett version 0.21.83

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.83/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Comments do not expand as expected

This could be my setup since no one seems to be experiencing the same issues.
When I try com-long I get the following:
/**
 *
 */

When trying com-todo I get the following:
/**
 * TODO
 */

Also, I have to Ctrl+Space to activate since simply tabbing conflicts with Emmet and does not expand.
I'm running Sublime version: 3083 windows x64 channel: stable

The result for com-long is correct, I pushed a fix to the com-todo snippet to make it clearer.
I also have to use Ctrl+Space to activate the snippet while using Emmet, and I can't think of a fix for this, I presume it's just an issue while using with Emmet.


Inaccurate Mix Breakdown

37.34+55.9+29.53=122.77 (not 122.16 nor 121.55) 😕

Based on a recent test transaction, I'm fairly certain that it's the sum that is incorrect and the per-stablecoin amounts are accurate.

Fixed via: https://github.com/OriginProtocol/origin-dollar/pull/680