+ policy_type        = "TargetTrackingScaling"
      + resource_id        = "table/jung2bot-prod-messages"
      + scalable_dimension = "dynamodb:table:WriteCapacityUnits"
      + service_namespace  = "dynamodb"

      + target_tracking_scaling_policy_configuration {
          + disable_scale_in   = false
          + scale_in_cooldown  = 0
          + scale_out_cooldown = 0
          + target_value       = 70

          + predefined_metric_specification {
              + predefined_metric_type = "DynamoDBWriteCapacityUtilization"
            }
        }
    }

  # module.dynamodb_table["messages"].aws_appautoscaling_target.table_read[0] will be created
  + resource "aws_appautoscaling_target" "table_read" {
      + arn                = (known after apply)
      + id                 = (known after apply)
      + max_capacity       = 1000
      + min_capacity       = 1
      + resource_id        = "table/jung2bot-prod-messages"
      + role_arn           = (known after apply)
      + scalable_dimension = "dynamodb:table:ReadCapacityUnits"
      + service_namespace  = "dynamodb"
      + tags_all           = {
          + "Source"    = "github-otaru"
          + "Terraform" = "true"
        }
    }

  # module.dynamodb_table["messages"].aws_appautoscaling_target.table_write[0] will be created
  + resource "aws_appautoscaling_target" "table_write" {
      + arn                = (known after apply)
      + id                 = (known after apply)
      + max_capacity       = 1000
      + min_capacity       = 1
      + resource_id        = "table/jung2bot-prod-messages"
      + role_arn           = (known after apply)
      + scalable_dimension = "dynamodb:table:WriteCapacityUnits"
      + service_namespace  = "dynamodb"
      + tags_all           = {
          + "Source"    = "github-otaru"
          + "Terraform" = "true"
        }
    }

Plan: 8 to add, 0 to change, 0 to destroy.

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Reusing previous version of backblaze/b2 from the dependency lock file
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Reusing previous version of integrations/github from the dependency lock file
- Reusing previous version of vexxhost/uptimerobot from the dependency lock file
- Installing integrations/github v5.40.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
- Installing vexxhost/uptimerobot v0.8.2...
- Installed vexxhost/uptimerobot v0.8.2 (self-signed, key ID 8FF00CD0B5FEAF59)
- Installing hashicorp/aws v5.21.0...
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)
- Installing backblaze/b2 v0.8.4...
- Installed backblaze/b2 v0.8.4 (signed by a HashiCorp partner, key ID 83D9CAF4848490D6)
- Installing cloudflare/cloudflare v4.16.0...
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
cloudflare_record.internal_record["kiali_internal"]: Refreshing state... [id=3e29d0bc6567b4c0fecd6db58e432160]
cloudflare_record.internal_record["adguard_internal"]: Refreshing state... [id=5803590e9218027a34aae666383f8211]
cloudflare_record.internal_record["longhorn_internal"]: Refreshing state... [id=9d9e7849509ddd1ca1420bfb93085ddb]
cloudflare_record.internal_record["home_assistant_internal"]: Refreshing state... [id=0450593da9fcf9f32802e5152f53c349]
cloudflare_record.internal_record["jellyfin_internal"]: Refreshing state... [id=62786f77078b02d784342427605ba9e9]
cloudflare_record.internal_record["sftpgo_internal"]: Refreshing state... [id=d53e66b848b3967bd5a9885eb2c8e08c]
cloudflare_record.internal_record["argocd_internal"]: Refreshing state... [id=ad2633b9ce86a1786416dd851cb5c4d3]
cloudflare_record.public_record: Refreshing state... [id=16e19a8901e14239e7345e3922f318f9]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.


Process pipeline.log

derive organization and cluster id
include messages into a string array
in case of error, include all following messages to previous record
produce array of objects where each object is uniquely identified by orgnization and cluster id and has an array of messages

@tisnik I was looking through the log file with Jan and noticed that there is a Partition number and Offset number. What are these numbers indicating and is there a way we can use these to group log messages together?

@brooklynnStone1 Let's push this issue to finsih as soon as possible.


tab isolation mode v2

Type of PR (feature, enhancement, bug fix, etc.)
Enhancement
Description
This PR proposes to return the isolate: true option passed to the SR initializer, with this being set as the default value for new projects.
#317 broke compatibility with previous versions of the library by making it impossible for multiple tabs to be open and receiving the same CableReady operation broadcasts. This is because the promise associated with the Reflex only existed in the tab that created the Reflex. Any additional tabs would show failing reflex messages.
This PR restored the ability for multiple tabs to receive the same updates. I did this by abstracting the promise creation into a function and adding logic to the ActionCable subscriber to create a new proxy promise from the details.stimulusReflex object on the CableReady broadcast.
I had to resurrect my xPath processing code from roughly a year ago! I can use xPath to grab things in this PR because it all happens before any CableReady operations are initiated.
Three things have been added to the Reflex request payload to support this functionality:

the identifier of the Stimulus controller that created the Reflex
the xpath to the Reflex root element
the xpath to the element that holds the Stimulus controller that created the Reflex

Using this data, I was able to dynamically reattach to the correct controller instance for the Reflex. 😅
I changed the success/error logging slightly so that on non-originating tabs, the debug output shows CLONED instead of a Reflex duration, because there's no way to know when the request started on the originating tab without sending it to the server, and I thought seeing a visual reminder that this is not the original Reflex would be more useful.
All callback methods and lifecycle events are supported. There is, however, no reasonable or logical way to attach a callback to the cloned promise because the whole point of the promise is that it's initiated by the calling tab. I will need to find a simple way to explain this in the documentation.
Errata

I added a console warning in debugging mode on line 153 to notify that an invalid numeric input caused the Reflex to abort
Inspired by @hopsoft's complaint about the Auth0 naming inconsistency on Discord, I changed permanent_attribute_name to permanentAttributeName

Why should this be added
While most developers will want their Reflex operations contained within the browser tab in which they originate, we want to allow flexibility for those who think a little differently.
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing

@leastbad I can confirm using isolate: false with this PR works as advertised for my use case. :+1:


auto update/check for updates

Is your feature request related to a problem? Please describe.
Users would like to get the latest version of Lominus but it entails manual checking of this github repo. This would be a barrier for many to get the latest updates. Moreover, when hotfixes are pushed, users might not be getting the fixes because they do not know that there are updates.
Describe the solution you'd like
Implement an auto update or check for updates feature that would either:

Automatically update the app for users
Notify them that there is an update and they can proceed to the releases page to get the latest version

Describe alternatives you've considered

Include a link in the application that directs them to the release page so they can just click on it and see if there are any updates on their own. This, however, would still require some manual checking.

Additional context
Helpful library that seems quite suitable for this feature request: selfupdate

Hi! I would like to look into this issue, are you currently working on it?

hi @kevinchua6 nope i am not working on it ! please go ahead :) thank you so much !


Added dpkg rule

For example, when using dpkg -i some-pkg.deb

Hey,  wsup?
On Apr 27, 2015 5:46 PM, "Trace"<EMAIL_ADDRESS>wrote:

For example, when using dpkg -i some-pkg.deb
You can view, comment on, or merge this pull request online at:
https://github.com/nvbn/thefuck/pull/137
Commit Summary

Added dpkg rule

File Changes

M thefuck/rules/sudo.py
https://github.com/nvbn/thefuck/pull/137/files#diff-0 (3)

Patch Links:

https://github.com/nvbn/thefuck/pull/137.patch
https://github.com/nvbn/thefuck/pull/137.diff

—
Reply to this email directly or view it on GitHub
https://github.com/nvbn/thefuck/pull/137.

What have you changed, @Sclarki?

This should correct the mistake of trying to install a deb package without root.

Hi,
I'd like to add you to my professional network on LinkedIn.

R

Confirm that you know R: https://www.linkedin.com/e/v2?e=cr76dq-i99jtlky-3h&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&sharedKey=qeLpWK1V&invitationID=6000889217440325632
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=cr76dq-i99jtlky-3h&t=lun&midToken=AQFmrFVhGEd36Q&ek=invite_guest&loid=AQFvKfMM23xWJwAAAU0dxCIBBr2mbSQHENAP6MR6iJ1sO1rCEKMz_3AWkEl8tbX4GioMdINOTyBbV0L6diHBucRWY6FnrdPXqctTBiMoqqvbh1RXhT2fo8QZrH-cPl-szAGmIF4xuSOL8EToLORfRxGD1HRCkOUbcmdsA3lofmX3U7rMfGSf9XVkGyRBNgFOwQaW&eid=cr76dq-i99jtlky-3h Learn why we included this at the following link: https://www.linkedin.com/e/v2?e=cr76dq-i99jtlky-3h&a=customerServiceUrl&ek=invite_guest&articleId=4788
© 2015, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

Download this http://talkray.com/dl/ee

I've reported @kingwood2112 to GitHub support for the above spam messages...


Fatal error occered

Very new to linix so not to sure what is going on here but got this error.
Installing linecache19 (0.5.12) with native extensions
Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
    /usr/local/bin/ruby extconf.rb

checking for vm_core.h... no
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
/usr/local/lib/ruby/1.9.1/fileutils.rb:247:in mkdir': Permission denied - /usr/local/include/ruby-1.9.1/ruby-1.9.3-p125 (Errno::EACCES) 	from /usr/local/lib/ruby/1.9.1/fileutils.rb:247:in fu_mkdir'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:221:in block (2 levels) in mkdir_p' 	from /usr/local/lib/ruby/1.9.1/fileutils.rb:219:in reverse_each'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:219:in block in mkdir_p' 	from /usr/local/lib/ruby/1.9.1/fileutils.rb:205:in each'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:205:in mkdir_p' 	from /usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:59:in block in create_makefile_with_core'
from /usr/local/lib/ruby/1.9.1/tempfile.rb:320:in open' 	from /usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in create_makefile_with_core'
from extconf.rb:19:in `'
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
Gem files will remain installed in /home/jm/.bundler/tmp/6708/gems/linecache19-0.5.12 for inspection.
Results logged to /home/jm/.bundler/tmp/6708/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:530:in block in build_extensions' 	from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:505:in each'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:505:in build_extensions' 	from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:180:in install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/source.rb:90:in block in install' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/rubygems_integration.rb:82:in preserve_paths'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/source.rb:89:in install' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:73:in block in install_gem_from_spec'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/rubygems_integration.rb:97:in with_build_args' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:72:in install_gem_from_spec'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:56:in block in run' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:55:in run'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:12:in install' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/cli.rb:220:in install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor/task.rb:22:in run' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor.rb:263:in dispatch' 	from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor/base.rb:386:in start'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/bin/bundle:13:in <top (required)>' 	from /usr/local/bin/bundle:19:in load'
from /usr/local/bin/bundle:19:in `'

@ook23 This looks like a compilation error. The key is in:
checking for vm_core.h... no
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Search on Google for that error and how to install linecache on linux. I think you can close this issue.

thanks yoear i sorted this almost strat away just for got to close the isue


Consider using stash for scrapping data

https://docs.stashapp.cc/
There is also a list of community scrapers

stashdb schema does not seem to include metadat that we need (e.g. tags, upvotes, downvotes)


invoke CLI command does not work with OpenZeppelin's 0.10.0 Account contract

Setup:

Have an Open Zeppelin v0.10 account contract with some goerli-ETH in it deployed on alpha-goerli network
Install latest cairo-lang (==0.10.0)
Setup the account from (1) for CLI usage (add it to ~/.starknet_accounts/starknet_open_zeppelin_accounts.json)

BUG 🐞:
Calls to starknet invoke asserts on Error message: Account: invalid tx version. For example, here's an ERC20 transfer failure:
starknet --account oz_010_test invoke --address 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 --abi artifacts/abis/ERC20.json --function transfer --inputs <recipient> 5000000 0

File "cairo-contracts/venv/lib/python3.9/site-packages/services/external_api/client.py", line 117, in _send_request
raise BadRequest(status_code=response.status, text=text)
services.external_api.client.BadRequest: HTTP error ocurred. Status: 500. Text: {"code": "StarknetErrorCode.TRANSACTION_FAILED", "message": "Error message: Account: invalid tx versionError at pc=0:185:
An ASSERT_EQ instruction failed: 1 !=<PHONE_NUMBER>20938463463374607431768211457.Cairo traceback (most recent call last):
Unknown location (pc=0:608)
Unknown location (pc=0:554)"}
Error: BadRequest: HTTP error ocurred. Status: 500. Text: {"code": "StarknetErrorCode.TRANSACTION_FAILED", "message": "Error message: Account: invalid tx version
Error at pc=0:185:
An ASSERT_EQ instruction failed: 1 !=<PHONE_NUMBER>20938463463374607431768211457.
Cairo traceback (most recent call last):
Unknown location (pc=0:608)
Unknown location (pc=0:554)"}

Root cause analysis:

invoke() at src/starkware/starknet/cli/starknet_cli.py is triggered from starknet invoke CLI command
compute_max_fee is called with invoke_tx_for_simulate
invoke_tx_for_simulate is created with create_invoke_tx with query=True
create_invoke_tx with query=True sets the version field as follows:
version = constants.QUERY_VERSION if query else constants.TRANSACTION_VERSION
where:
QUERY_VERSION = QUERY_VERSION_BASE + TRANSACTION_VERSION ==<PHONE_NUMBER>20938463463374607431768211457
OZ account asserts on tx_info.version=1 causing the assertion above
NOTE: The Account contract bundled in cairo-lang asserts on the version differently as follows:
assert_not_equal(tx_info.version, 0);

Which version of OZ did you use to get this? Isn't this an OpenZeppelin issue (already reported here and soon to be resolved: https://github.com/OpenZeppelin/cairo-contracts/issues/471)

Which version of OZ did you use to get this? Isn't this an OpenZeppelin issue (already reported here and soon to be resolved: OpenZeppelin/cairo-contracts#471)

@FabijanC actually @martriay asked me to open this as a cairo-lang issue a while ago. In any case a fix on either side is great 👍


chore: prepare to publish to pub.dev

Status
IN DEVELOPMENT
Description
Prepare project to be published to pub.dev
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[x] ✅ Build configuration change
[x] 📝 Documentation
[x] 🗑 Chore

Still a few things left but the pana package that does the checklist needs this part in order to update the score

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

GitHub release
v3.6.1

Your semantic-release bot :package::rocket:


Typesafe -> Lightbend

and bump copyright year to 2016

(I didn't bother deploying, we'll get it next time we deploy)


[mimalloc] Update the CMake configuration options

The previous updates I did of this port were a bit hasty and I didn't realize the CMake configuration was partially outdated. I did the following changes to make it more up to date :

Enable MI_USE_CXX because it can lead to better performances when overriding new and delete.
Remove MI_INTERPOSE because it was renamed to MI_OSX_INTERPOSE and it is already enabled by default.
Set MI_BUILD_OBJECT to OFF instead of disabling object files installation in the CMake file through the patch.

LGTM! Thanks!


[Fix] Add Copyright to the files in the mmdet

Motivation
Check Copyright to the files in the mmdet.
Modification
Add check-copyright in the .pre-commit-config.yaml and Copyright to the files in the mmdet.

change to use pre-commit-hook from openmmlab


ontology-aware template creation

this is for future consideration:
make Sinopia "ontology-aware" when creating a template:

template creator selects ontologies they will be using
when filling in class field and property URI fields, Sinopia offers list of classes and properties from the ontologies named by the template creator
when template creator selects a property URI, Sinopia knows from the property URI what kind of property it is, and creates the right type of field (literal or URI/lookup/nested)

I'll just put in a reminder that we were once able to look up classes and properties when creating templates. It was really useful, especially with rdfs:label and such.


chore(mux-uploader-react): Update types (WIP).

Codecov Report

Merging #2 (46a83b3) into react-cleanup (9165757) will increase coverage by 0.10%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                Coverage Diff                @@
##           react-cleanup       #2      +/-   ##
=================================================
+ Coverage          84.72%   84.82%   +0.10%
=================================================
  Files                 39       40       +1
  Lines               7967     8035      +68
  Branches             453      453
=================================================
+ Hits                6750     6816      +66
- Misses              1210     1212       +2
  Partials               7        7

see 5 files with indirect coverage changes


Create issue_template.md

issue_template.md for more detailed issues.
Any change is welcome!

Do you read in my mind? 🤔 I was thinking about creating this in the last few days haha.


Upgrade non-dev dependencies

This upgrades the "non-dev" dependencies to minor and patch releases, which can applied without significant code changes.
OpenLayers upgrade should be done separately since there has been some work done in #261

Hi @chrismayer,
I finally found some time to give this a brief test. At the time of writing this some package (minor) versions no longer correspond to the newest ones available, so I decided to give it a shot with this configuration:
"dependencies": {
    "axios": "0.27.2",
    "canvas-record": "3.1.0",
    "echarts": "^5.3.2",
    "ol": "6.4.3",
    "proj4": "2.8.0",
    "vue": "2.7.13",
    "vue-echarts": "^6.0.0",
    "vue-i18n": "8.28.2",
    "vuetify": "2.6.12"
  },
 "devDependencies": {
    ...
    "vue-template-compiler": "2.7.13",
}

Here are my findings so far:

A warning appears: [Vuetify] [UPGRADE] 'v-content' is deprecated, use 'v-main' instead.
In my custom application it breaks some internal dependencies of apache-echarts ("vue-echarts": "^6.0.0"), so these are no longer working.
My hover-cards changed in layout and are now somehow truncated at the bottom (no special css is involved there).
As you already discovered, the css rule regarding the app logo has to be changed - apparently there are some internal changes to classes assigned by vuetify.

This might be just the tip of the iceberg. So after all my conclusion is, that we should do this in the same run as #297 (or the upcoming cli-v4-PR)  when moving to Wegue v2.
Greets, Felix.

Hi @chrismayer ,
I just wanted to complement a little bit the comment of @fschmenger.
I personally think you should indeed wait to be using at least the VueCLI V4 for the following two reasons:

If you read the upgrade guide to Vue 2.7, it is written that you first have to upgrade your local @vue/cli-xxx dependencies to the latest version in your major version range... and only v4 and v5 are listed there.
It doesn't mean that it can't work with Vue-CLI V2 which is used now in Wegue, just that it is not supported...
Concerning Vuetify and the warnings, they have developed a plugin for ESLint which returns all those deprecation warnings. However, this plugin needs ESLint6 at minimum and wegue currently uses ESLint5. The upgrade of VueCLI also upgrades ESLint. So we'll be able to add the Vuetify plugin in Wegue to help find those potential problems.
I once read a little bit what was new and it unfortunately seems this is the only mentioned big change to do (replacing v-content by v-main). This means all the display errors that @fschmenger discovered will certainly have to be tackled one by one unfortunately...

Cheers,
Sebastien

Would it be helpful for me to merge this into #320, to consolidate the changes and resolve conflicts?

Superseded by #335 - closing.


Intuitive Links on Homepage

Fix #618

I'm not good at writing, so please let me know if we want to change the wording.

Please add a screenshot of the new homepage for everyone to see!

Screenshot:
*1

What is the status on this?

TBH, forgotten.
Sorry but this will definitely be done by next Tuesday.

Now it is a rest call to ask the server to get email address. The mail address is stored in the config as contactEmail. The entire process is similar to project status on the homepage.
Additionally there is group presentation schedule button, as show in the screenshot 2 comments above.
However there is one thing that needs to be changed. The call is currently at /api/projects/email which is definitely not correct. I have no idea where to put it.

API call for e-mail address is now in /api/static/email.
Fixed typo.
Presentation schedule button is now using pull-right.

Edit: Done, ready to review.

Looks mostly good to me now. @SaswatB ?

All good now


WIP: Sketch out a Managing Data section

This is an idea for a section that would talk about all the ways to manage data. It could include a lot of what's currently in the component composition section about data flow, context, task, and a page on state management integrations.

Created Managing Data section in #1037


[BUG] Able to backup Management Intents, but not update

Describe the bug
The process errors out whenever we try to run an update with Management Intents present in the backup.
The error given is simply "TypeError: can only concatenate str (not "NoneType") to str":
Traceback (most recent call last):
File "C:\Python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Python\Scripts\IntuneCD-startupdate.exe_main.py", line 7, in
File "C:\Python\lib\site-packages\IntuneCD\run_update.py", line 207, in start
run_update(args.path, token, args.u, exclude)
File "C:\Python\lib\site-packages\IntuneCD\run_update.py", line 152, in run_update
diff_count += update(path, token, assignment)
File "C:\Python\lib\site-packages\IntuneCD\update_managementIntents.py", line 39, in update
intent_responses = batch_intents(intents, token)
File "C:\Python\lib\site-packages\IntuneCD\graph_batch.py", line 154, in batch_intents
categories_responses = batch_request(
File "C:\Python\lib\site-packages\IntuneCD\graph_batch.py", line 39, in batch_request
'url': url + id + extra_url
TypeError: can only concatenate str (not "NoneType") to str
To Reproduce
Steps to reproduce the behavior:

Create some policies in one of the blades covered by intents, such as Bitlocker and the like.
Backup the policy
Try to import

Expected behavior

For the policies to manage to update the target tenant

Screenshots
If applicable, add screenshots to help explain your problem.
Run type (please complete the following information):

Mode: 1
Client Local Machine
Version 1.2.5

Additional context
An example policy I tested with is attached
TEST-BITLOCKER-2.2022.12.json.zip

Hi,
I tried with the configuration you sent as an example and it was created as a new configuration just fine in my environment and I was able to update the configuration.
In what scenario do you get this error? i.e. is it when trying to deploy to a new env without any configs or updating the config in a current env where it exists?

I just double checked all the permissions now and also verified I was able to import back to the dev environment too, so that narrowed it down to simply this other test tenant.
I did find something really strange when digging further using the graph API, as in this test tenant I get back lots of response objects that are not visibile in the management portal at microsoft. And they all lack a proper value for template id so it makes sense with the none error:
Example:
id                   : 98b3d3c2-adc5-44bb-ac2f-9df8d3bd54b9
displayName          : My-Policy-Name-Here
description          : Application control
isAssigned           : False
lastModifiedDateTime : 15.08.2022 18:33:16
templateId           :
roleScopeTagIds      : {0, 1}
If entries without a template id could be ignored I wonder if this would most likely work in such cases too.
(I verified I could query out all these using the same application id and secret I am trying to use for the update)

I ran into that myself some time ago and did add a check for null template id here:
https://github.com/almenscorner/IntuneCD/blob/cb37cf7a54dcd9742de4d11a6b3ee93e127796e1/src/IntuneCD/graph_batch.py#L153
I'm trying to figure out a way I can replicate this and implement a fix for the scenario :)

Ahh, based on that line it seems like it only checks for the key to be present and not having any value so when I changed line 149 locally here to:
for key, val in list.items() if 'templateId' in key and val != None]
It actually worked and created the policy without issue this time!

Nice catch, I'll add that fix as part of some other updates due to be pushed tomorrow ☺

Thanks for all the help in putting me on the right track here and making this wonderful project too! 😊

I deliberately forced a None value on the template Id but even then I don't get this error. Would really like to be able to replicate and narrow down what is happening

It is definitely a very strange error indeed, after trying and failing a bit more here I got it to work by changing line 160 as well to the following:
settings_ids = [val for list in categories_responses if intent['templateId'] != None and intent['templateId'] in<EMAIL_ADDRESS>Not sure if that is the cleanest way to write this, but now it successfully both creates the item if missing and updated the setting just fine too. Tested editing it in the test environment and running a new update and it forced back the proper value from the backup as expected :)


Erroneous behavior of four_point_transform

Hi all,
I found some weird behavior of imutils.perspective.four_point_transform. The following example was meant to get a perpendicular perspective of a car license plate:

The image is available here. Coordinates in br-bl-tl-tr order are
[(481, 580), (254, 615), (255, 551), (482, 516)]
(well, the x coordinates are just 1 pixel away)
The notecard demo works fine for me. I guess something is wrong with the order_points function.

I think cv2.warpPerspective requires that these 4 points in the tl-tr-bl-br order, but the result of order_points is interpreted as
https://github.com/jrosebr1/imutils/blob/df65a77087548b5952431cc8006d66bcca7b1abc/imutils/perspective.py#L40
Something might be wrong.


calling PG load_file many times might be quite slow

https://github.com/guillaumeblaquiere/workflow-bq-to-cloudsql/blob/0f871d8e0679464ccbf30b601e8fc512b3d33b53/import.yaml#L56
I haven't used GCP workflows before but my intuition leads me to believe that if you can merge the csv files before importing them then it will be a lot faster to import to postgres.
This may not be an issue for you (if BQ export was only creating a few shards) but if you had clustering set on a GEOGRAPHY type column BigQuery was creating tens of thousands and even hundreds of thousands of shards in my experience.
https://stackoverflow.com/a/59444472/14598384
if you KNOW you will always have fewer than 32 shards this might be another option but I think the time improvement won't justify the uncertainty in this case (sharding is uncontrollable) https://stackoverflow.com/questions/55114393/google-cloud-storage-joining-multiple-csv-files

I would like to keep the workflow simple enough to present it in my article.
But, indeed, using the Compose feature of Cloud Storage to reduce the number of files to import at the end is a very good idea.
I will see to create another workflow file example with that update. Or you can submit it.

@chapmanjacobd I wrote another article, with another workflow sample. Merge them to create a powerful solution!!


feature/cldn-688-org-upstream

Added code to show the build number injected by the pipeline.

This is the same thing as https://github.com/CybercentreCanada/superset/pull/14 but in 2 commits, one for CCCS and one for upstream. I had hard time to do it in the other branch.

looks good. Did you want to commit this to our branch first or did you want to make a pull request to them first.
I took the approach of trying to commit to them first in case they have changes they want done. Once my pull request will be merge into their code base I will cherry pick the commit. Anyways up to you

I think I would wait and see what they have to say and these commits . My only concern it could take sometimes.


User connection problem

How can I connect user if I try to run it locally? I understood that we cant wait result in connect handler, but we need to prepare server's answer somewhere.  I found database change only in start handler, but this code isn't reachable from connect hanlder. Could you explain what should I fix, because I am really confused now. Thank you!

Hey,
That's a really good question! Please go through this StackOverflow question: Telegram bot - OAuth authorization
, specifically this answer: Answer.
Essentially you will need to register an API in AWS API Gateway which you will enter in your Splitwise account redirect URI. The function of the API would be to take the tokens you got from Splitwise and call the
https://telegram.me/my_bot?start=<auth_code>, which will be received in the start handler
If you face the problem of creating an API and passing multiple parameters into a single one, I have a Stackoverflow Question, please go through this.
Thanks!


Documentation on "Mirroring images for a disconnected installation using the oc-mirror plugin" seems to be incomplete

I was trying to use the oc mirror plugin to create a mirror repository following
https://docs.okd.io/latest/installing/disconnected_install/installing-mirroring-disconnected.html#installation-oc-mirror-installing-plugin_installing-mirroring-disconnected
I failed quite early during the guide.
oc mirror init
error: unable to get version map for init: GET https://registry.redhat.io/auth/realms/rhcc/protocol/redhat-docker-v2/auth?scope=repository%3Aredhat%2Fredhat-operator-index%3Apull&service=docker-registry: UNAUTHORIZED: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication

Based on what I am reading on
https://docs.openshift.com/container-platform/4.15/installing/disconnected_install/installing-mirroring-disconnected.html#mirroring-image-set
It seems to me the oc mirror plugin requires ocp pull secrets.
I can't find any way to configure registries oc-mirror will use.
If there is a way, I believe the documentation should cover this.
If not, then I think the documentation should state that oc-mirror doesn't support okd.

Hi @DoodlesOnMyFood
I agree that init seems to be assuming mirroring for OCP releases.
You probably don't need the init : it's only there to create a skeleton for your imageSetConfig file.
I' ve never tried this but according to this example, oc-mirror should allow you to mirror okd releases.


Index of refraction for transmission not exported

Documentation: https://docs.blender.org/manual/en/latest/render/shader_nodes/shader/principled.html?#inputs
Blender version: 3.2.1
IOR
Index of refraction for transmission.

So I have a glb file provided by 3D designer with one of a material with the configuration above, so the problem now I have from my designer is that the IOR value in subsurface is not exported and the value is remaining at 1 using BabylonJS sandbox to view the properties of the material of exported glb file as the image below

What version are you using?
Please test with 3.3 alpha

What version are you using? Please test with 3.3 alpha

I'm so sorry that I forgot to mention the version of Blender I'm using, I was using 3.2.1. I'm going to test with 3.3 alpha as you mentioned, Hopefully it will return the result that I wanted, thanks!

Hello,
Subsurface import/export is not implemented on Blender, so corresponding IOR is not taken into account.
IOR is exported/importing based on IOR in Blender, and using KHR_materials_ior on glTF


check for apc.enable_cli when running from CLI

Fixes an issue when running PHPUnit via CLI where it spews out warnings about not being able to save values.
IMO the problem is actually at Symfony's end - https://github.com/symfony/symfony/pull/25080 - but they say it will break their cache warming so I've applied the fix here as well.

Travis failures not your fault; This seems fine.
I don't think your change is going to make it into symfony.

Travis failures not your fault; This seems fine.

What's causing the failures? I don't see them on the current 4.0 branch :/

ah it's https://github.com/silverstripe/silverstripe-framework/pull/7627

green means go


Helpful error message when applying a code that already exists

Overview
Please note that this ticket is blocked by this backend ticket
When a user is logged in they can apply a code on this form on /account/apply-a-code. However, if they accidentally apply the code twice, they get this unhelpful error message.

This is not the best and doesn't let the user know that they have already applied the code and don't need to do anything else.
The solution is:

the backend will return a new error message ALREADY_APPLIED
If the frontend receives this error, the message should read:  'This code has already been applied to your account'

Action Items

[ ] Pull develop to ensure you have the most recent code
[ ] Create your own branch
[ ] Add ALREADY_APPIED to the enum PARTNER_ACCESS_CODE_STATUS in enums.ts
[ ] Ensure that the frontend displays the right message  'This code has already been applied to your account' when the error code matched ALREADY_APPLIED. The file you will need to modify is /bloom-frontend/components/forms/ApplyCodeForm.tsx
[ ] Create a PR and tag @eleanorreem .

Resources/Instructions

@eleanorreem @kyleecodes  i would like to work on this one too. as i have requested to work on the backend task linked to it as well. thanks

@mayank-sahai thank you for your interest and for looking into the backend issue too!
I've assigned you this issue and I've pinged the devs to answer your question in the backend problem.
Happy coding! 😊


Typos in post

Cool project!
But I believe:

"It took me while" should be "It took me a while"
"This is quick post-mortem" should be "This is a quick post-mortem"
"even though your describing" should be "even though you're describing"
"and only update parts of the page that" should be "and only update the parts of the page that"
also the following sentence is strange: "I use webpack to bundle everything together into a single js file (mostly, I use code splitting to separate out a few modules into other files)", as in "I make a single file (mostly, I split into several files)"?

I was about to open a pull request, but the contents of the posts don't seem to be in this repo(!) so you get this issue instead. Keep it up! :+1:

Thanks! I will fix it. The content is all in a database.


Add in basic README

Super basic. If there's anything else you want in here please let me know. Code of Conduct, License, etc.

Yeah, let's MIT license it and add the contributor convenient 👍

I'll give you push rights when I get back to a keyboard

Cool. Or you can merge this and do whatever magic you do to make sure there's a clean way to add contributors, write commit messages, etc. I'm also listed as the author in the package.json, and you can change that if you want. It's MIT in the package.json at least.

I really dislike the author stuff in the package.json. Despite this, I think that we should just leave the author field to the one who created the package.json :) So we'll stick with you there.
As for the license, we can leave that to you too, and maybe add PayPal later I guess 🙃
All this stuff just gets in the way of us writing cool stuff. How annoying.

Yeah, I hear ya. Whatever makes this easiest to get people writing code so we can get this live. Hopefully there's enough in the README for folks to get rolling for now at least.


Update register-server.adoc

Rearranged content and added a link to an example JVM documentation on CACerts store

@PabloCamino I'm closing this PR and merging this content on https://github.com/mulesoft/docs-private-cloud/pull/242
I had unverified commits, as my GPG was not previously set up


Add OIDC auth-provider authentication

Which project are you requesting an enhancement for?
kr8s
What do you need?
Add support for OIDC auth-provider authencitcation.
https://github.com/kr8s-org/kr8s/blob/a14b76edfc16fdfec0977e4168e0113342c9265e/kr8s/_auth.py#L136

Our organization prohibits refresh tokens with OIDC to optimize security. We would greatly appreciate it if kr8s didn't assume the presence of a refresh-token field in the Kubernetes configuration file, and returned a 401 when the token was expired.

Ok I've opened #126 which just uses the OIDC token directly with no refreshing. This was pretty quick to implement.
We probably do want to support refreshing too if other libraries do that, but as @droctothorpe we only want to do that if a refresh-token field is present.
Looking at pykube-ngs implementation they seem to do the following:

Decode the token and check the validity of the format against the OIDC token spec.
Check the expiry isn't very soon.
If invalid or expired make a request to refresh the token.
Write the token back to .kube/config.

I would be interested to dig into other libraries and see if they do any of this validation/refreshing/writing as it feels a little out of scope. But equally if everyone is doing it we probably should too.

Looking at the Kubernetes go-client they check the expiry of the token and if it is expired (or will in the next 10 seconds) they refresh it. I haven't yet found where that gets written back to the config, but I assume it must happen in kubectl somewhere.
https://github.com/kubernetes/client-go/blob/c5b1c13ccbedeb03c00ba162ef27566b0dfb512d/plugin/pkg/client/auth/oidc/oidc.go#L221-L288


Otbn wide alu

This implements BN.ADD/BN.ADDC/BN.ADDM/BN.SUB/BN.SUBB/BN.SUBM/BN.AND/BN.OR/BN.XOR/BN.NOT/BN.RSHI plus WSR and CSR access.
Note this is on top of https://github.com/lowRISC/opentitan/pull/3468 so will need to rebase this PR when the other goes in before this PR is merged.
Apologies this has turned into a bit of a monster set of changes. It's all quite intertwined so doing it all in one go seemed best.

Ok this should be good to go but smoke will fail (so this cannot be merged) until the discussion in https://github.com/lowRISC/opentitan/pull/3577 is resolved.

The patches in PRs #3578 and #3580 get the smoke test working here.

@rswarbrick please note I've add an ISS change here to alter the constant 'RND' to use 0x9999999... rather than the 1 we did have as discussed on Slack.

please note I've add an ISS change here to alter the constant 'RND' to use 0x9999999... rather than the 1 we did have as discussed on Slack.

Fine with me (one easily memorable constant's as good as another, as far as I'm concerned). @imphil: look ok to you?


engine: fix a bunch of bugs around live update where we needed both nil checks and Empty() checks

Hello @maiamcc,
Please review the following commits I made in branch nicks/nullability:
81068ccb63afe3dc1bfb9e881a3f1f1b9d6c91ad (2019-04-25 15:09:08 -0400)
engine: fix a bunch of bugs around live update where we needed both nil checks and Empty() checks

discovered this while i was looking into https://app.clubhouse.io/windmill/story/2351/liveupdate-should-sync-files-from-context-of-dependent-images, and decided to just clean it up

@maiamcc sure! for example, this check:
https://github.com/windmilleng/tilt/blob/9bb881b3ffe6f6920924214699928690518f993c/internal/engine/extractors.go#L81
is always false. LiveUpdate is never nil. Because of the way tiltfile construction works, the model will always have an "empty" LiveUpdate{} object, not a nil pointer. does that make sense?
in an earlier version of the pr, i had changed all the nil checks to also check Empty(), but this seemed very likely to regress in the future. the real bug is that the data model has two different ways to express "this does not have a live update object"


What have you to say about more than 4 DIMMs, good sir?

The RAM output will get mangled if there are more than four(4) DIMMs, if memory (ha) serves. Need to account for that.

For reference

Off the cuff, I can only think of the following: https://support.apple.com/en-us/HT210405 as a device that this applies to. as far as hardware I'd be able to test on.


Dio makes POST request fine in the debug version of the app but doesn't in release.

New Issue Checklist

[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. flutter / ios / android

Platform Version
e.g.  1.5.0 / 12.0 / 9.0

Dio Version
4.0.3

Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

This issue doesn't provide any useful information. Please update your issue with a minimal working code sample which reproduces your issue.

Hey, So I just resolved an issue relating to this but with a GET request
I noticed if the leading "/' is missing it will be automatically added in debug mode but not in release
resulting in your API calls working on debug but not in release mode
Essentially...
@GET('/stores/{companyId}/inventory/wip?includeItems=true&limit={limit}&offset={offset}&order=ASC')
results in "baseUrl/stores..."
VS
@GET('stores/{companyId}/inventory/wip?includeItems=true&limit={limit}&offset={offset}&order=ASC') (Fails)
resulting in "baseurlstore" which would give you a Host not found exception


backend: remove __ss

It's times like this I'm glad I'm too young to remember the segmented memory days.

Auto-merge toggled on


Only allow running a single pick instance concurrently

To prevent data loss, only a single pick instance should be running
at the same time.
Without this patch, if an active "pick note" editor is open and
new credentials are stored in a pick safe, closing the "pick note"
editor will overwrite all changes happened since.

@leonklingele I think in order to implement locking correctly we'll need to handle a few cases. What happens if a lock is somehow orphaned? We may consider TTLs.

@bndw the lock is automatically released once pick terminates. Try it yourself :)

@leonklingele My only concern is the case where the binary may not terminate, for example running pick on a remote server. In that case I believe the safe could become "permanently" locked.

Updated to only fail if at least two instances of pick try to open the safe in writable mode.

for example running pick on a remote server

What do you mean by "running pick on a remote server"? pick can only be run locally?!
If you intended to say "running pick with a remote safe" (e.g. using the S3 backend), well, then the S3 backend needs to implement some proper way of ensuring the lock really is released once the pick binary terminates.
The file backend as implemented in this PR takes care that the lock doesn't become stale.

In that case I believe the safe could become "permanently" locked

I still don't see how that could work, please give some more insight to your thoughts :)

@leonklingele I was imagining running pick on a remote server that's accessed via SSH;

SSH to remote server
open a note for editing
connection fails

In this [edge] case, is it possible that pick may not exit and "permanently" lock the safe?

Well, if your SSH connection breaks for whatever reason while pick is running (e.g. a pick note command), then yes, the pick binary might not terminate and you need to killall it manually.
The exact same issue also occurs when you're in the process of apt upgrade'ing your system and the SSH connection breaks, so I don't really see this as a problem only we face. Just killall pick and you're good to go — or consider running pick inside a tmux or screen session as it's recommended to do with apt.
Do you have a better solution? Your described edge-case is a minor problem compared to losing credentials caused by running multiple pick instances (which happened to me in the past.. sucks)

I agree your use-case is much more likely and significant, however I just want to ensure I understand the problem space thoroughly.
I'll review this week and get it released.

Rebased to latest develop.

This should be published to master asap, what about an emergency release?

@leonklingele I'm currently trying to implement locking for s3 backend before doing a master push/release--
I'm a little confused on the SetWritable and Unlock behavior. I understand that the lock for the file backend is automatically released, however for other backends we need an explicit call to Unlock and the existing implementation doesn't appear to have that hook in there.
In my mind,  any edit operation (e.g. add, rm, etc) should call
backend.Lock()
defer backend.Unlock()

Do you have any advice on the current implementation with regard to this?

I'm a little confused on the SetWritable and Unlock behavior.

You mean Lock and Unlock, right?
The lock for the file backend is automatically released by the kernel once pick terminates, regardless of the signal it received (SIGINT, SIGKILL, etc.). This ensures the lock will eventually be unlocked again and under no circumstance be held for longer than required. The locking happens on an atomic level (i.e. there will be no lock-acquiring data race between two instances of the app).
For the S3 backend it will probably get a bit trickier though. Not only do we need to ensure that only a single lock can exist, we also need to ensure it will get removed when no longer required (even if pick is kill -9'ed). Maybe there's some locking mechanism supported by Amazon? I don't know how up-to-date this answer is, but it might help anyway: https://stackoverflow.com/questions/3431418/locking-with-s3/3434952#3434952
Another (good?) approach to the problem would be to rely on a proper safe-syncing mechanism (instead of locking).. Just an idea which came to my mind, I haven't really thought this through yet.

@leonklingele https://github.com/bndw/pick/releases/tag/v0.7.0


feat: us33773 enable l49 b to l49 a swaps

Description:

Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Closing this PR - this was for demonstration purposes.


Filament composer installation dependency error

Package
filament/filament
Package Version
v2.17.14
Laravel Version
v10.2.0
Livewire Version
No response
PHP Version
PHP 8.2.1
Problem description
When installing filament with this packages:
"require": {
        "php": "^8.1",
        "bensampo/laravel-enum": "^6.3",
        "blade-ui-kit/blade-heroicons": "^2.1",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^10.0",
        "laravel/sanctum": "^3.2",
        "laravel/tinker": "^2.8",
        "spatie/eloquent-sortable": "^4.0",
        "spatie/laravel-medialibrary": "^10.0.0"
    },

It's dependency version errors
Expected behavior
Successfull installation
Steps to reproduce
Just with composer require section:
"require": {
        "php": "^8.1",
        "bensampo/laravel-enum": "^6.3",
        "blade-ui-kit/blade-heroicons": "^2.1",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^10.0",
        "laravel/sanctum": "^3.2",
        "laravel/tinker": "^2.8",
        "spatie/eloquent-sortable": "^4.0",
        "spatie/laravel-medialibrary": "^10.0.0"
    },

Reproduction repository
https://github.com/WebCreamGroup/webcream
Relevant log output
Problem 1
    - filament/filament v2.17.0 requires filament/forms v2.17.0 -> satisfiable by filament/forms[v2.17.0].
    - filament/filament v2.17.1 requires filament/forms v2.17.1 -> satisfiable by filament/forms[v2.17.1].
    - filament/filament v2.17.2 requires filament/forms v2.17.2 -> satisfiable by filament/forms[v2.17.2].
    - filament/filament v2.17.3 requires filament/forms v2.17.3 -> satisfiable by filament/forms[v2.17.3].
    - filament/filament v2.17.4 requires filament/forms v2.17.4 -> satisfiable by filament/forms[v2.17.4].
    - filament/filament v2.17.5 requires filament/forms v2.17.5 -> satisfiable by filament/forms[v2.17.5].
    - filament/filament v2.17.6 requires filament/forms v2.17.6 -> satisfiable by filament/forms[v2.17.6].
    - filament/filament v2.17.7 requires filament/forms v2.17.7 -> satisfiable by filament/forms[v2.17.7].
    - filament/filament v2.17.8 requires filament/forms v2.17.8 -> satisfiable by filament/forms[v2.17.8].
    - filament/filament v2.17.9 requires filament/forms v2.17.9 -> satisfiable by filament/forms[v2.17.9].
    - filament/filament v2.17.10 requires filament/forms v2.17.10 -> satisfiable by filament/forms[v2.17.10].
    - filament/filament v2.17.11 requires filament/forms v2.17.11 -> satisfiable by filament/forms[v2.17.11].
    - filament/filament v2.17.12 requires filament/forms v2.17.12 -> satisfiable by filament/forms[v2.17.12].
    - filament/filament v2.17.13 requires filament/forms v2.17.13 -> satisfiable by filament/forms[v2.17.13].
    - filament/filament[v2.16.66, ..., v2.16.70] require ryangjchandler/blade-capture-directive ^0.2 -> satisfiable by ryangjchandler/blade-capture-directive[v0.2.0, v0.2.1, v0.2.2].
    - filament/filament v2.17.14 requires filament/forms v2.17.14 -> satisfiable by filament/forms[v2.17.14].
    - filament/filament[v2.5.3, ..., v2.9.6] require illuminate/auth ^8.6 -> found illuminate/auth[v8.6.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - filament/filament[v2.9.7, ..., v2.16.65] require illuminate/auth ^8.6|^9.0 -> found illuminate/auth[v8.6.0, ..., v8.83.27, v9.0.0, ..., v9.52.4] but these were not loaded, likely because it conflicts with another require.
    - filament/filament v2.15.0 requires filament/notifications v2.15.0 -> found filament/notifications[v2.15.1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.
    - filament/forms[v2.17.0, ..., v2.17.14] require blade-ui-kit/blade-heroicons ^1.2 -> found blade-ui-kit/blade-heroicons[1.2.0, ..., 1.4.0] but it conflicts with your root composer.json require (^2.1).
    - ryangjchandler/blade-capture-directive[v0.2.0, ..., v0.2.1] require illuminate/contracts ^9.0 -> found illuminate/contracts[v9.0.0, ..., v9.52.4] but these were not loaded, likely because it conflicts with another require.
    - ryangjchandler/blade-capture-directive v0.2.2 requires illuminate/contracts ^8.0|^9.0 -> found illuminate/contracts[v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.4] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires filament/filament ^2.0 -> satisfiable by filament/filament[v2.5.3, ..., v2.17.14].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Please check existing issues before reporting (especially pinned at the top): https://github.com/filamentphp/filament/issues/3916.


Merge saving game state

This PR is an attempt to complete a previous PR (#26 )  by fixing the comments on coding style. The original code seems to work great otherwise, and the game state and window position is saved when exiting the game.
Please let me know if there still are discrepancies in the coding style.

Two things I found:

It'd be nice if the highscore window always popped up centered in the MainWindow coordinates or something.
If you've finished a game, no more moves, the state should be removed. Currently, if you quit and re-launch the game, you'll be greeted by the old no-more-moves state.

Very good. Merge!


Request: Target Port Customisation

Hey There,
I do see no easy configurable option for the target Ollama API port.
I'd like to 'reuse' an already existing Ollama instance and am using customized ports.

Added a pull request: https://github.com/ruecat/ollama-telegram/pull/41

Implemented.


The main station seems to be unable to access

The main station seems to be unable to access

What's the "main station"? Which page is it on?

I'm pretty sure that was about https://perl6.org/, it was down for quite a bit. It's fixed now.


Cypress eventRegistration.js test fails with 'de' set

This issue follows on from issue https://github.com/corona-warn-app/cwa-website/issues/1503 and PR https://github.com/corona-warn-app/cwa-website/pull/1499.
@chrisenitan provided the source and
@svengabr merged PR https://github.com/corona-warn-app/cwa-website/pull/1499
so they should be good contacts to respond to the attached.
Describe the bug
https://github.com/corona-warn-app/cwa-website/blob/master/README.md says:

Set the default language to test against: create a cypress.env.json file with the following values
Values can be "en" or "de". Defaults to "en"

{
  "testEnvLang": "en"
}

If "testEnvLang" is set to "de" all three tests of eventRegistration.js fail.
Steps to reproduce the issue

npm cito ensure cypress is up-to-date
create file cypress.env.json in root folder of repository clone
set content of cypress.env.json to { "testEnvLang": "de" }
npm run test:open
Ìn cypress UI click eventRegistration.js
The Cypress error messages are as follows:

Basic page assertions
Timed out retrying after 4000ms: Expected to find content: 'The app now allows a check-in for events and locations. People who host events or have a business can now create a QR code. By scanning the QR code, guests can check in upon arrival to register their presence. If desired, the app will also create a corresponding diary entry. If a checked-in person later tests positive for the coronavirus, other people who were checked in at the same time can be warned.' within the element: <section.section.component.qrgenerator> but never did.
Registration criteria validations
Timed out retrying after 4000ms: Expected to find content: 'The location type is required' within the element: <div#qr-error-locationtyperequired.invalid-feedback> but never did.
Test Registration Functionality
Timed out retrying after 4000ms: Expected to find content: 'The location type is required' within the element: <div#qr-error-locationtyperequired.invalid-feedback> but never did.
Expected behavior
If the contents of cypress.env.json is
{ "testEnvLang": "de" }
then the tests should pass.
Possible Fix
eventRegistration.js is missing code to test against the German language form.
Possible short-term fix:
Hard code "testEnvLang": "en" into eventRegistration.js so only the English language page is tested.
Longer term fix:
Add code to eventRegistration.jsto:

branch and test differently for the German page.
automatically switch between languages (as is done in blog_spec.js) so that both languages are tested and a separate environment file is not needed.

Additional context
Also the statement Defaults to "en" seems questionable. There is no default programmed into eventRegistration.js.

From #1503: The test is work in progress for de

We may benefit from using string handlers for the test and allowing the optional selection of language by who is running the test or use pipeline variables in CI to define this or group tests by localisation...

But all the above might create more complexity however

So the proposed solution is to duplicate the tests and abstract localised strings to json files for easy management.
I also removed the cypress.env.json file from gitignore and updated the README.md file

PR is #1515

Should be resolved with https://github.com/corona-warn-app/cwa-website/pull/1515

PR #1515 fixes the issue.
Verification

npm ci to ensure cypress is up-to-date
npm run test:open
In cypress UI click eventRegistration.js
6 tests are successful, 0 tests fail


ATresPlayer non-Authenticated video not downloading

HI!
After opening/reviewing #4700, I've also tried to download a video that is "freely available" in the Atresplayer site (i.e., I can watch it in the browser without being logged in), but I get a 401 error:
youtube-dl jjarava$ youtube-dl http://www.atresplayer.com/television/series/the-big-bang-theory/temporada-8/capitulo-1-interrupcin-locomotora_2015010800016.html --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.atresplayer.com/television/series/the-big-bang-theory/temporada-8/capitulo-1-interrupcin-locomotora_2015010800016.html', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.15
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[AtresPlayer] capitulo-1-interrupcin-locomotora: Downloading webpage
[AtresPlayer] capitulo-1-interrupcin-locomotora: Downloading timestamp
[AtresPlayer] capitulo-1-interrupcin-locomotora: Downloading windows video JSON
[AtresPlayer] capitulo-1-interrupcin-locomotora: Downloading f4m manifest
ERROR: Unable to download f4m manifest: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 293, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1412, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Just as a FYI:
i've updated to the latest release (youtube-dl is up-to-date (2015.01.16)), and the error is still present.
Here's the "dump" in case it's got more useful info:
[AtresPlayer] capitulo-3-captulo: Downloading f4m manifest
ERROR: Unable to download f4m manifest: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 293, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1412, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Regards

Thanks for the report, it will work in the next version. The f4m formats will not be available, because we don't have support for DRM protected videos.

See our FAQ if you need help updating to youtube-dl 2<IP_ADDRESS> or newer, which include the fix.


Adjusts result panel auto-open logic

This PR adjusts the auto-open logic in result panel:

fixed a issue where auto-open selects a disabled sink operator. Now it only selects not-disabled sink operators.

adjusts the auto-open logic: only do auto-open when state changes: (running -> completed)
This prevents the result panel auto-open when refresh a completed workflow (state uninitialized -> completed because the saved workflow state is fetched from the server)

adjusts the auto-open logic: remove auto-reopen when current state is "running", the original intention is for the user to see progressive computation results. This is removed because progressive computation function is not mature yet.

For the 3), during runtime there are still python console message and error messages on the result panel. I think we should keep the auto-open?

For the 3), during runtime there are still python console message and error messages on the result panel. I think we should keep the auto-open?

Agree, let me add a check to auto-open it when running when there's a python udf operator.


Feat: Shift Lualine when NvimTree is active

Requested feature
Basically something like this

Source: https://github.com/feline-nvim/feline.nvim/issues/154

Source: https://github.com/LunarVim/LunarVim

LunarVim is using lualine itself 🤨
Just add NvimTrees filetype to disabled_filetypes option if you want similar look. Or use nvim-tree extension for special statusline on nvimtree buffer.

LunarVim is using lualine itself raised_eyebrow
Just add NvimTrees filetype to disabled_filetypes option if you want similar look. Or use nvim-tree extension for special statusline on nvimtree buffer.

Already doing that but it doesn't shift the statusline towards right when NvimTree is active, saw the LunarVim config and they're doing something different and complicated, can't seem to figure out what tho

Give me your config and a screenshot of how it looks with your config right now. I'm not sure what you're looking for .

Give me your config and a screenshot of how it looks with your config right now. I'm not sure what you're looking for . Just setting it to disabled filetype should work. Also can you point me which part of LuanerVims lualine config you don't understand ?

lualine config:
require("lualine").setup({
	options = {
		icons_enabled = true,
		theme = custom_lualine,
		component_separators = { left = "", right = "" },
		section_separators = { left = "", right = "" },
		disabled_filetypes = { "NvimTree", "TelescopePrompt", "packer", "toggleterm" },
		always_divide_middle = true,
		globalstatus = true,
	},
	sections = {
		lualine_a = { "mode" },
		lualine_b = { "diff", "diagnostics" },
		lualine_c = { "filename" },
		lualine_x = { "encoding", "fileformat", "filetype" },
		lualine_y = { "progress" },
		lualine_z = { "location" },
	},
	inactive_sections = {
		lualine_a = {},
		lualine_b = {},
		lualine_c = { "filename" },
		lualine_x = { "location" },
		lualine_y = {},
		lualine_z = {},
	},
	tabline = {},
	-- extensions = { "nvim-tree" },
})

Screenshot:

Basically what I'm wondering is how to position lualine after VertSplit like

This is not possible with globalstatus . It'll work if you turn globalstatus off . globalstatus will take up entire screen width that's the point of it :)

This is not possible with globalstatus . It'll work if you turn globalstatus off . globalstatus will take up entire screen width that's the point of it :)

Just set globalstatus to false and it still doesnt seem to work, not sure what im doing wrong
Neovim version v0.8.0-dev+95-g07660193a3 btw

Just set globalstatus to false and it still doesnt seem to work, not sure what im doing wrong

start nvim with -V1  as nvim -V1 then run what's the output of :set laststatus? in nvim. What does it say ?

Looks like there's a simple way to do this even with globalstatus . You just need to place a dummy component in that beginning that shifts the statusline to right when nvim-tree is open like this.
local nvim_tree_shift =  {
  function () return string.rep(' ', require('nvim-tree').config.view.width - 2) end,
  cond = require('nvim-tree.view').is_visible,
  color = 'Normal'
}
require'lualine'.setup {
  sections = {
     lualine_a = { nvim_tree_shift, "mode" }
  }
}

Thank you that worked perfectly

Looks like there's a simple way to do this even with globalstatus . You just need to place a dummy component in that beginning that shifts the statusline to right when nvim-tree is open like this.
local nvim_tree_shift =  {
  function ()
    return string.rep(' ',
                      vim.api.nvim_win_get_width(require'nvim-tree.view'.get_winnr()) - 2)
  end,
  cond = require('nvim-tree.view').is_visible,
  color = 'Normal'
}

require'lualine'.setup {
  sections = {
     lualine_a = { nvim_tree_shift, "mode" }
  },
  tabline = {  -- If you want tabline to shift too
     lualine_a = { nvim_tree_shift, "buffers" }
  }
}

referring this code, it can custom a title in the middle, like this
local nvim_tree_shift = {
    function()
        len = vim.api.nvim_win_get_width(require('nvim-tree.view').get_winnr()) - 1
        title = "Nvim-Tree"
        left = (len - #title) / 2
        right = len - left - #title

        return string.rep(' ', left) .. title .. string.rep(' ', right)
    end,
    cond = require('nvim-tree.view').is_visible,
    color = 'No'
}

require'lualine'.setup {

  tabline = {
     lualine_a = { nvim_tree_shift, "buffers" }
  }
}


fix(keychain): use filePath when uploading profile, #377

This PR

fixes the write part of #377
adds a filePath parameter to the uploadProfile

Closing this - commits included in #578


add cloudcannon

[x] verified that the CMS I'm adding is still maintained.
[x] read CONTRIBUTING.md.
[x] did not generate README.md.

@MaximSiebert, perfect!


fix: Use null for tags on aws_eks_pod_identity_association when value is {} (#3137)

Description
This change applies the value null on the tags for the aws_eks_pod_identity_association resources as the default value {} would cause an empty tag object to be added on every apply.
Also mentioned here: https://github.com/hashicorp/terraform-provider-aws/issues/37146
Motivation and Context
Constant drift as terraform tries to always add empty tags on every apply.
Fixes #3137
Breaking Changes
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

this is not a module bug, the provider needs to implement the customized tag diff which it looks like pod identity is missing:

Cluster ref https://github.com/hashicorp/terraform-provider-aws/blob/bc7d855808742f97cbb8116a2b5eef6079a8ab86/internal/service/eks/cluster.go#L56
Node group ref https://github.com/hashicorp/terraform-provider-aws/blob/bc7d855808742f97cbb8116a2b5eef6079a8ab86/internal/service/eks/node_group.go#L48

Got it, also thought this is something that should be fixed on the provider. But as they just closed https://github.com/hashicorp/terraform-provider-aws/issues/37146 as a won't do, I thought a fix here is needed.
Will check and maybe open a PR on the provider repo.

it wasn't closed by a contributor - someone made a comment and the issue author closed it. it is an issue in the provider and it needs to be handled there (especially for tags).
We always default to an empty map for tags

https://github.com/terraform-aws-modules/terraform-aws-eks/blob/c60b70fbc80606eb4ed8cf47063ac6ed0d8dd435/variables.tf#L7-L11
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/c60b70fbc80606eb4ed8cf47063ac6ed0d8dd435/variables.tf#L127-L131
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/c60b70fbc80606eb4ed8cf47063ac6ed0d8dd435/variables.tf#L271-L275
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/c60b70fbc80606eb4ed8cf47063ac6ed0d8dd435/modules/eks-managed-node-group/variables.tf#L7-L11
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/c60b70fbc80606eb4ed8cf47063ac6ed0d8dd435/modules/eks-managed-node-group/variables.tf#L319-L323
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/c60b70fbc80606eb4ed8cf47063ac6ed0d8dd435/modules/eks-managed-node-group/variables.tf#L527-L531
etc.


Create a feature flag to turn off address validation

User Story
As a developer
I want to hide address validation behind a feature flag
So that users can input addresses manually without blockers or errors
Definition of Done
Address fields should be simple text boxes without validation (unless the flag is turned on, in which case it goes back to google maps validation)
Note
For now we will have the flag off for both orgs

This may require tweaking the backend, since the backend may currently expect a Google Maps Address id, so they may need to be convinced to go without

Hawaii --use google api toggle is on and servide doesnt work , if we try to add /edit address --we are not able to proceed.

In NO when the google api toggle is on and service is down , when we try to edit exisiting address, we see address line 1 displaying error and address is actualy shifted to line 2.


Added Button to Deploy through WebUI

Following what the Simulation Service is doing on their github, adding a button to jump to the web ui to do a deployment.
Type of change?

[ ] Bug fix
[ ] New feature
[ ] Enhancement
[ ] Breaking change (breaks backward compatibility)

Description, Context, Motivation
...
Checklist:

[ ] All tests passed
[ ] The code follows the code style and conventions of this project
[ ] The change requires a change to the documentation
[ ] I have updated the documentation accordingly

This change is

@ppathan @hegate @molly-moen


Testing at runtime if archive is loading or saving

Hi,
Let's suppose I need to perform additional actions after the class members are loaded. How to determine if the Archive passed to static void serialize(Archive & archive, Self & self) member template method is loading or saving one?
template <typename Archive, typename Self>
static void serialize(Archive & archive, Self & self)
{
     archive(self.width, self.height);

     if (archive.is_loading())
         self.allocate(self.width, self.height);
}

Try this:
if constexpr (Archive::kind() == zpp::bits::kind::in) {...} else {...}

Do you have a different trick for your older zpp::serializer library? I am stuck on C++14 in some projects. Maybe SFINAE? How?

@freemanix with the old library you can wrap the check with a single SFINAE that checks whether it's a loading or saving archive and return a boolean (loading archives have a type named loading, saving have saving)

@freemanix anything else?

Thank you for such fast response!


Allow panic recovery mechanism to be disabled

Required for all non-trivial PRs

[x] Rebased/mergable
[ ] Tests pass
[x] CHANGELOG.md updated

This PR adds a new environment variable INFLUXDB_PANIC_CRASH, which
when set to a truthy value, e.g., true, TRUE, 1, will prevent bot the HTTP server
and the QueryExecutor from recovering from a panic.
When INFLUXDB_PANIC_CRASH is switched on, the panic will be emitted to the logs and then a further emission of the current stacktrace of all goroutines will follow.
Further, this commit adds _internal stats that will monitor the
occurrence of panics all the time (regardless of if INFLUXDB_PANIC_CRASH
has been set to true or not).
The recovered panic frequency can be inspected with the following
queries:
SELECT "recoveredPanics" FROM "_internal"."monitor"."httpd";
SELECT "recoveredPanics" FROM "_internal"."monitor"."queryExecutor";

@jsternberg updated, including moving env var checks to init (thanks @joelegasse) and also panicking in QueryExecutor to let any possible defers run. Maintained os.Exit in http Handler since the Go server will recover another panic if I used that instead.


[BUG] User with no permissions generates exceptions

Describe the bug
An user with no permissions only sees a blank page and exceptions are generated.
To Reproduce

Create an user
Don't assign any groups/roles
Login

Internal Server Error: /api/part/parameter/template/
Traceback (most recent call last):
  File "/opt/inventree/env/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/opt/inventree/env/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/inventree/env/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/inventree/env/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/inventree/env/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
  File "/opt/inventree/env/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/opt/inventree/env/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/opt/inventree/env/lib/python3.9/site-packages/rest_framework/views.py", line 497, in dispatch
    self.initial(request, *args, **kwargs)
  File "/opt/inventree/env/lib/python3.9/site-packages/rest_framework/views.py", line 415, in initial
    self.check_permissions(request)
  File "/opt/inventree/env/lib/python3.9/site-packages/rest_framework/views.py", line 332, in check_permissions
    if not permission.has_permission(request, self):
  File "/opt/inventree/InvenTree/InvenTree/permissions.py", line 70, in has_permission
    result = users.models.RuleSet.check_table_permission(user, table, permission)
  File "/opt/inventree/InvenTree/users/models.py", line 214, in check_table_permission
    logger.info(f"User '{user.name}' failed permission check for {table}.{permission}")
  File "/opt/inventree/env/lib/python3.9/site-packages/django/utils/functional.py", line 247, in inner
    return func(self._wrapped, *args)
AttributeError: 'User' object has no attribute 'name'

Expected behavior
No errors, ideally maybe even an error message that the user has no permissions.
Screenshots

Deployment Method
Bare Metal
Version Information
8dddb200c7dcd9e979054e2d7a4ff295070a3a1d

@tambry where are you seeing the error message? I have attempted to replicate by making a user without any permissions. I see the empty home screen, but no error message.

@SchrodingersGat In the server log. In my case in journalctl since I'm using systemd. But they also appear in the admin panel "Errors" page.

Fixed in https://github.com/inventree/InvenTree/pull/2145


Continuous integration

@buvinghausen, what do you think about adding an AppVeyor run to check PRs?  It would consist (more or less) of files like these:
https://github.com/OmerMor/AsyncBridge/blob/master/appveyor.yml
https://github.com/OmerMor/AsyncBridge/blob/master/build.cake
The above example is extra-complicated because it's uploading test coverage analysis to codecov.io for nice in-PR displays like https://github.com/OmerMor/AsyncBridge/pull/15#issuecomment-384284278 with a link to coverage diff browsing like https://codecov.io/gh/OmerMor/AsyncBridge/pull/15/diff. We could do that here too, or just the minimum necessary to be up and running with AppVeyor.

Great! I'm submitting PRs and stuff but as far as I know there's no need to get any of this done soon, so please enjoy your vacation first!

@jnm2 I just set it all up via GitHub actions now all you have to do is create a release and tag it correctly and it will get pushed up to NuGet for you including the symbols.
You have two failing tests ConfigureAwaitTrueUsesSynchronizationContext & NonConfiguredAwaitUsesSynchronizationContext they both only fail on .NET Core App 3.0 and 3.1 but work on 2.x and lower.

Great! GitHub actions is awesome, isn't it?
I'll work on the test failures next. Since .NET Core 3.0 and 2.0 are not supported by Microsoft, do you see any reason to continue running tests on those versions? 2.1 and 3.1 are the only versions currently supported. Also, should we test against .NET 5 preview 7? It would require you to install the preview 7 SDK in order to open the solution.

Yeah it's definitely nice to have everything all rolled up into the UI here and easy to monitor.
As far as the test executions I'm fine whittling it down to just the supported platforms I was just running it against everything because we could...   As far as .NET 5 goes I was just going to wait until it was released to add it but if you're feeling up to it feel free to take a stab at it.

I think this takes care of everything except the AppVeyor issue: https://github.com/buvinghausen/TaskTupleAwaiter/pull/18

I just deleted the appveyor project entirely...

Cool, I guess that wraps things up. Thanks for getting CI set up!

Np sorry it took me so long to get around to haha.  Side note you may want to make sure you can generate an NuGet API key and then replace the nuget_api_token secret with your key and make sure the publish step chains off the release with your key.  That way you can still do a release when/if my key gets stale.
Let me know if you do it and run into any issues.


[BUG] Plenary unable to open compile swap file on Windows

Existing Issues

[X] I have searched the existing issues

Describe the bug
When running compile for the first time the error Error executing Lua callback: .../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: .../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: vim/_editor.lua:431: nvim_exec2(): Vim(sbuffer):E303: Unable to open swap file for "*compilation*", recovery impossible

Then when the *compilation* buffer is open and a Compile or Recompile command is run the output is correct

I have already set my nvim directory by doing vim.opt.directory = "my_location" in my init.lua. I can see swap files created in there for the buffers I have open.
I have no other issues with plugins that use Plenary
Steps To Reproduce
1. nvim on Windows
2. run Compile 1 time, you get an error then the compilation buffer is open
3. With an already open compilation buffer, run the compile command again or recompile
4. Close down the compilation buffer and then return to step 3

Expected Behavior
Complation buffer opens and output is shown
Neovim Version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info

Plugin Version
nightly version as of 17/10/2024 21:58 UTC

Configuration
return {
    "ej-shafran/compile-mode.nvim",
    -- you can just use the latest version:
    branch = "nightly",
    -- or the most up-to-date updates:
    -- branch = "nightly",
    dependencies = {
        "nvim-lua/plenary.nvim",
        -- if you want to enable coloring of ANSI escape codes in
        -- compilation output, add:
        { "m00qek/baleia.nvim", tag = "v1.3.0" },
    },
    config = function()
        ---@type CompileModeOpts
        vim.g.compile_mode = {
            -- to add ANSI escape code support, add:
            baleia_setup = true,
        }
    end
}

Additional Context
compile-mode: require("compile-mode.health").check()

compile-mode.nvim report ~
- OK everything checks out

After a bit more digging, I have found that changing the buffer name to a name without any asterisks in it stops this error. Not sure why this is so having the following config surpresses this error
return {
    "ej-shafran/compile-mode.nvim",
    -- you can just use the latest version:
    branch = "nightly",
    -- or the most up-to-date updates:
    -- branch = "nightly",
    dependencies = {
        "nvim-lua/plenary.nvim",
        -- if you want to enable coloring of ANSI escape codes in
        -- compilation output, add:
        { "m00qek/baleia.nvim", tag = "v1.3.0" },
    },
    config = function()
        ---@type CompileModeOpts
        vim.g.compile_mode = {
            buffer_name="compilation",
            -- to add ANSI escape code support, add:
            baleia_setup = true,
        }
    end
}

Interesting. We've had issues with the asterisks in the buffer name in the past on Windows, but I believed I had fixed them (also, the Windows tests don't seem to show this issue). I'll try to give this a look.

Can't seem to reproduce this error in the tests. Mind creating a reproduction in a container or something of the sort? Seems like the issue is pretty dang specific...

Since I can't reproduce this in the tests using your provided Neovim version on Windows (https://github.com/ej-shafran/compile-mode.nvim/actions/runs/11592311762/job/32273912262?pr=45), I'm closing this issue. If this problem keeps popping up or someone can create a reproduction, I'll reopen.


No way to change FRA destination with DBCA

Despite setting the variable oracle_reco_dir_fs: /u01/fra, recovery area always end up in $ORACLE_BASE/fast_recovery_area when using DBCA.
I still didn't find a workaround except by using custom scripts with CREATE DATABASE. This is a minor issue but needs to be addressed anyway. Maybe I missed something while repeatedly reading Oracle official docs  ;)

See https://github.com/oravirt/ansible-oracle/issues/24

I always customize the installation using these modules: https://github.com/oravirt/ansible-oracle-modules

Also, you should use datafile_dest/recoveryfile_dest instead of oracle_<reco/dbf>_dir_fs

OK. So I'm closing this ticket.


Link in documentation broken

Link to example sample sheet in documentation is broken (https://m-jahn.github.io/nf-core-crispriscreen/usage -> "An example samplesheet has been provided with the pipeline." -> links to https://m-jahn.github.io/assets/samplesheet.csv)

Also the following link is broken: https://github.com/nf-core/crispriscreen/releases (First, go to the nf-core/crispriscreen releases page and find the latest version number - numeric only (eg. 1.3.1). Then specify this when running the pipeline with -r (one hyphen) - eg. -r 1.3.1.)

Yes, these links are written by default from the nf-core template. They don't work until the pipeline is integrated into the nf-core organization on github. In other words these are placeholders.

Issue can not be resolved right now.


I want to add button for download card..

When user click on the button that card will be dowloand in png file...

You have searched good issue and you can work on this issue..

When user click on the button that card will be dowloand in png file...

✅


[Bug]

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behaviour

remove model console log from terminal
Expected Behaviour
terminal should not contain any log related to model architechture
Steps to Reproduce
No response
Environment
- OS:
- Node:
- npm:

Anything else?
No response
On what browsers you're seeing the problem.
No response

I will do it

@Bhanu-code


Crash in monitorROAS

Describe the bug
While debugging reportHTTP for integration with OpenNMS i encountered an unrelated crash.
Might be related to the same prefix removed and added in the same ROA change event or the ASN being 0 on the add.
Provide an example
/snapshot/bgpalerter/dist/src/monitors/monitorROAS.js:20
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
                                                                                ^

TypeError: Cannot read property 'asn' of undefined
    at Timeout._onTimeout (/snapshot/bgpalerter/dist/src/monitors/monitorROAS.js:101:25)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

The reportFile output contains:
$ python3 -m json.tool < alertdata/alert-1607123374800-1607123374800-1.json
{
    "id": "637abd31a598144086943af495f2a8af",
    "truncated": false,
    "origin": "rpki-monitor",
    "earliest":<PHONE_NUMBER>800,
    "latest":<PHONE_NUMBER>800,
    "affected": 3356,
    "message": "ROAs change detected: removed <<IP_ADDRESS>/24, 3356, 24, arin>; added <<IP_ADDRESS>/24, 0, 24, arin>",
    "data": [
        {
            "timestamp":<PHONE_NUMBER>800,
            "affected": 3356,
            "matchedRule": {
                "asn": [
                    3356
                ],
                "group": "default"
            },
            "matchedMessage": "ROAs change detected: removed <<IP_ADDRESS>/24, 3356, 24, arin>; added <<IP_ADDRESS>/24, 0, 24, arin>",
            "extra": {}
        }
    ]
}

reports.log:
2020-12-04T20:39:34+00:00 verbose: ROAs change detected: removed <<IP_ADDRESS>/24, 3356, 24, arin>
2020-12-04T22:54:34+00:00 verbose: ROAs change detected: removed <<IP_ADDRESS>/24, 3356, 24, arin>
2020-12-04T23:09:34+00:00 verbose: ROAs change detected: removed <<IP_ADDRESS>/24, 3356, 24, arin>; added <<IP_ADDRESS>/24, 0, 24, arin>

Configuration is default for monitorROAS and rpki elements in config.yml, prefixes.yml contains:
options:
  monitorASns:
...
    '3356':
      group: default
...

Expected behavior
No crash.
Are you using the binary or the source code?
Build from source rev: fc1fe8c64e445df769b02978efba6cb690aeca08 dev branch with node12 on RHEL 7 x86-64.

Thanks for reporting this, and for using the dev version.
It was not easy to reproduce, it requires the VRP file to be malformed somehow.
The alert attached was not the one generating the error but the last one to be correct.
This is fixed and it will go out with the next release.

Thanks for the quick fix Massimo!
It happened unsupervised after midnight so I made the faulty assumption that is was related to the last alert but that was of course wrong since the file would not have been written if it crashed in the monitor.
/PW4689-RIPE


idToken Format in OIDC

If you use the tool like keycloak to integrate mockpass by oidc, one of the necessary steps is to verify nonce, but it's not in the code yet.
Another thing, should the official singPass idToken return a base64 encrypted string or a JSON string? it's JSON string in the code now.

Hey @royooooooo ,
the id_token returned is a signed and JWE-encrypted JSON string, I assume that's what you meant to say:
https://github.com/opengovsg/mockpass/blob/009ae8792bf1f9689a0729f19bd8a985d75453c9/lib/express/oidc.js#L69-L83
This is expected by singpass-myinfo-oidc-helper, a helper library for SingPass and MyInfo OIDC integrations, and against which mockpass is built:
https://github.com/GovTechSG/singpass-myinfo-oidc-helper/blob/9bf1b3c201e86520aa4abe1afc0a15b66b2d2f47/src/singpass/singpass-helper.ts#L147-L159
The lack of nonce checks is deliberate, given that mockpass is not meant to be used as a watertight OIDC implementation, but as a substitute for SingPass on developer machines and automated testing. I'm happy to take a PR from you that implements nonce checks, but it might be a while before I do it myself.

We want to use the token interface to simulate singpass return, but singpass now returns a encrypt string by base64,  which is not consistent with the real return. It's confusing when we're developing it.

We want to use the token interface to simulate singpass return, but singpass now returns a encrypt string by base64, which is not consistent with the real return. It's confusing when we're developing it.

the sample response given in the link is a signed and encrypted JWE as described earlier and as supported by both mockpass and singpass-myinfo-oidc-helper. If there are inconsistencies, please get in touch with the NDI team.

Thank you for explaining. I'll fork this repo and make some change to apply our project.

If you implement nonce checking, feel free to send a PR. I'll be happy to review.

Fixed in #76


[FEATURE]Training in 3D - How to process 2D trainings data?

Dear Cellpose Community,
We have drawn 3D ROIs and now want to use them to train our own model in Cellpose.
Following the issue (#745) we want to extract XY, ZX, YZ slices from the 3D labelled data and want to use them for 2D training.
However, the question now arises as to how to annotate the specific slices as xy, xz, and yz, while considering the different aspect ratios (anisotropy of the 3D data).
Can Cellpose be instructed to identify xy, xz, and yz slices separately?
Is it necessary to resample (interpolate) xz and yz slices to have the same voxel size in all dimensions?
Alternatively, is it preferable to train using only xy slices?
Looking forward to your suggestions. Thanks you!

I have the same problem. How to use 3D ROI labelled objects for training when Cellpose only allows 2D data for training and my xyz stacks have a particular anisotropy.
Providing xy, xz, yz slices for training require anisotropy information for the training as well, not only for predicting.
Is there some HowTo available?

You can train a separate model on XY and then on XZ/YZ, if you have different anisotropy, and training on all together is not working well. If you want to train one model on XY, XZ, and YZ, then yes you need to interpolate so the pixels/um are all the same.

I understand that training XY, XZ, and YZ is not working well when having anisotropy. Interpolating XZ/YZ would be an workaround, but shapes look substantially different in XZ/YZ, compared to XY, thus the best option seems to train a separate model on XY and a second model on XZ/YZ. But how do I combine both models for prediction? The first predicting in XY and the second for the orthogonal views?
Or did I understand something wrong?

@AndreZeug I stumbled upon the exact same questions some months ago when attempting 3D training. Have you found a good solution?


Add contentContainerClassName to Tabs

It would be nice to be able to specify a class for the content container.
This adds the contentContainerClassName to the tabs, and updates the documentation accordingly.

Hi @chapinkapa! Thanks for the PR - looks like you're just missing a trailing comma on line 23.

Got it, thanks!

Thanks @chapinkapa !


Unittests for new code

The action workflow of pytest is implemented in https://github.com/XENONnT/alea/pull/31. More content of pytest should be added later.