Support ability to do access evaluation check on user interface

Given a user's name, OpenMetadata should be able to say what permissions the user has.
As a logged in user, one should be able to tell if they have access to a data asset or to change metadata. And if not, what should they do to gain access.
As an admin, one should be able to use the check to see if a user has permission to access a dataset.
cc: @pmbrull @harshach

@mithmatt Ideally we should only have User -> Role relations and from Roles show the policies that they have. That way UI can show what Roles a user have and show the relevant policies

I'm thinking a bit ahead on this one - we would not need this right away unless users have overly complex rules that it becomes hard for humans to reason about.
When a user has multiple roles (and hence policies), the access given is based on priority of rules across policies.
User has role A and role B
Role Policy A may have Update Description Deny with priority 100
Role Policy B may have Update Description Allow with priority 500
The evaluation of this would result in Deny since 100 < 500
PS: It is possible to avoid this scenario with proper guardrails.

I am not really looking at this how the policies will evaluated or guarded. More on the side of UX
what is the Role signifies if the User directly have policies?
Ideal approach for an administrator to group policies into meaningful Roles such that they curate Policies into a buckets of Roles and give users a Role. Otherwise having a policy associated directly to the User we can have direct relation to policy without recognizing what user's role in the system is.
Example:
Can a DataConsumer have "UpdateDescription" as a policy , its possible with current APIs. Now imagine if we are going to design UI for this particular role. By looking at DataConsumer its mostly Read-only on all entity operations. So having this extra policy outside the scope of "DataConsumer" Role is tricky to handle
For me its more of simplicity of Role -> Policies -> Rules to understand and execute on the UX side

This is already supported with new permissions API in #6728.


Replay fails using WMCore release 1.5.2.pre2

Impact of the bug
Tier0 agent fails running a replay with SCRAMScriptFailure. The error message start as follows:
<@========== WMException Start ==========@>
Exception Class: PreScriptFailure
Message: Error running command
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
/cvmfs/cms.cern.ch/COMP/slc7_amd64_gcc630/external/python/2.7.13-comp/bin/python2 -m WMCore.WMRuntime.ScriptInvoke WMTaskSpace.cmsRun1 SetupCMSSWPset

Describe the bug
While Tier0 doesn't have issues during the deployment or initiating all the components, all the jobs are paused due SCRAMScriptFailure.
How to reproduce it
Logs, tarballs and sandbox for a Repack and Express jobs can be found here /afs/cern.ch/user/c/cmst0/public/PausedJobs/WMCore/agent_1_5_2_pre2
Expected behavior
Replay finished without issues
Additional context and error message
The last release stable (means that replay finished without issue) was using the following WMCore release and applying the patches:
1.5.0.pre4 + PR 10344,10593,10255
A previous replay using 1.5.1.pre6 + PR 10344, 10593, 10711, 10712 was tested but the component JobSubmitter failed with:
 File "/data/tier0/srv/wmagent/2.2.6/sw.jamadova/slc7_amd64_gcc630/cms/t0/2.2.6/lib/python2.7/site-packages/WMCore/BossAir/Plugins/SimpleCondorPlugin.py", line 529, in getJobParameters
    ad['My.WMAgent_RequestName'] = classad.quote(job['request_name'])

Thanks for making this GH issue, Jhonatan.
From the logs you provided, the actual problem is with this command:
2021-08-14 23:21:10,863:INFO:Scram:Also recording SCRAM command-line related output.
2021-08-14 23:21:10,867:INFO:Scram:    Invoking command: edm_pset_tweak.py --input_pkl /srv/job/WMTaskSpace/cmsRun1/PSet.pkl --output_pkl /srv/job/WMTaskSpace/cmsRun1/PSet.pkl --json /srv/job/WMTaskSpace/cmsRun1/PSetTweak.json
2021-08-14 23:21:11,509:INFO:Scram:Subprocess stdout was:
Traceback (most recent call last):
  File "/cvmfs/cms.cern.ch/share/overrides/bin/edm_pset_tweak.py", line 155, in <module>
    main()
  File "/cvmfs/cms.cern.ch/share/overrides/bin/edm_pset_tweak.py", line 142, in main
    err_val = apply_tweak(process, tweak[0], tweak[1],args.skip_if_set)
  File "/cvmfs/cms.cern.ch/share/overrides/bin/edm_pset_tweak.py", line 64, in apply_tweak
    value = eval('cms.{0}'.format('.'.join(value_split[1:])))
  File "<string>", line 1, in <module>
  File "/cvmfs/cms.cern.ch/slc7_amd64_gcc900/cms/cmssw/CMSSW_11_3_2/python/FWCore/ParameterSet/Types.py", line 31, in __call__
    param = globals()[self.name](*value,**params)
  File "/cvmfs/cms.cern.ch/slc7_amd64_gcc900/cms/cmssw/CMSSW_11_3_2/python/FWCore/ParameterSet/Types.py", line 1013, in __init__
    super(vstring,self).__init__(*arg,**args)
  File "/cvmfs/cms.cern.ch/slc7_amd64_gcc900/cms/cmssw/CMSSW_11_3_2/python/FWCore/ParameterSet/Mixins.py", line 638, in __init__
    super(_ValidatingParameterListBase,self).__init__(*arg,**args)
  File "/cvmfs/cms.cern.ch/slc7_amd64_gcc900/cms/cmssw/CMSSW_11_3_2/python/FWCore/ParameterSet/Mixins.py", line 581, in __init__
    ") added to "+str(type(self)))
TypeError: wrong types (<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>,<type 'unicode'>) added to <class 'FWCore.ParameterSet.Types.vstring'>

which I believe it to be the same as the one reported here: https://github.com/dmwm/WMCore/issues/10725

@jhonatanamado @germanfgv I wonder if this issue is still relevant? If not, can we close it?

Since we have been happily running T0 agent based on WMCore 1.5.2, I'm going to close this issue. Please feel free to reopen if there is anything else missing.


Update meta.yaml

No reason to remove *.egg-info from pure python library source

Checklist

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

*.egg-info is standard files in packaging with setuptools. There is no reason to remove it. A comment expressing breakage is also wrong.

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


feat: clone modelfiles for new model creation

Is your feature request related to a problem? Please describe.
A way to easily duplicate saved modelfiles, within the UI. This would be useful in testing different models with otherwise the same configuration. I find it annoying having to manually copy the system prompt and fill in all the other information just to try different models with the same configuration otherwise. Especially since you can't save an incomplete modelfile.
Describe the solution you'd like
A duplicate button that takes you to an edit screen with all of the existing modelfile information already filled in, so you can simply make the adjustments you want and save.
Describe alternatives you've considered
Are there any?

Added with #790, let us know if you encounter any issues!


is the SBT command package cross-compiled for Scala 2.12?

steps
following the guide here:
http://www.scala-sbt.org/0.13/docs/Command-Line-Applications.html
but updating the Scala and sbt version:
scalaVersion := "2.12.0"

libraryDependencies += "org.scala-sbt" % "command" % "0.12.0"

and
[scala]
version: 2.12.0

problem
when running sbt @path/to/hello.build.properties, I get:
java.lang.NoClassDefFoundError: scala/Product$class
	at sbt.complete.Infinite$.<init>(UpperBound.scala:21)
	at sbt.complete.Infinite$.<clinit>(UpperBound.scala)
	at sbt.complete.Parser$.zeroOrMore(Parser.scala:220)
	at sbt.complete.ParserMain$$anon$3.$times(Parser.scala:271)
	at sbt.complete.Parsers$class.identifier(Parsers.scala:61)
	at sbt.complete.DefaultParsers$.identifier(Parsers.scala:231)
	at sbt.complete.Parsers$class.ID(Parsers.scala:42)
	at sbt.complete.DefaultParsers$.ID$lzycompute(Parsers.scala:231)
	at sbt.complete.DefaultParsers$.ID(Parsers.scala:231)
	at sbt.complete.Parsers$class.OpOrID(Parsers.scala:51)
	at sbt.complete.DefaultParsers$.OpOrID$lzycompute(Parsers.scala:231)
	at sbt.complete.DefaultParsers$.OpOrID(Parsers.scala:231)
	at sbt.Command$.validID(Command.scala:57)
	at sbt.SimpleCommand.<init>(Command.scala:17)
	at sbt.Command$.make(Command.scala:35)
	at sbt.Command$.command(Command.scala:31)

expectation
as explained in the tutorial
notes
I think the error is related to SBT not being cross-compiled for Scala 2.12. Still, it seems none of the SBT artifacts are published with a Scala version, so I'm not sure how the version can be chosen. I tried checking out SBT's 0.13.13_2.12cross branch and publishing locally, but it made no difference.

No sbt isn't cross-built for 2.12, also you're using sbt 0.12.0, which is probably Scala 2.9 too.
I would recommend using sbt 0.13.13 and scala 2.10.6 for what you're trying to do.

Thanks! 0.12.0 was a copy-paste source error. I tried 0.13.13, both the regular and by compiling the 0.13.13_2.12cross branch myself. Are there any plans to cross-build for 2.12? Also, how does cross-compilation happen, as most of the artifacts are not published with a Scala version, i.e., no underscore-scala-version in the name?

Regarding 2.10, we cannot really use it. We have a mixed Java-Scala project, so we're very happy to be able to use 2.12 (with traits compiled to interfaces with default methods, etc.). As we plan to use sbt to build the command line part for the tool, it will need to be compiled with the same version of Scala as the rest.

We'll be cross-building sbt modules in sbt 1, and sbt itself will use either 2.11 or 2.12. See https://github.com/sbt/sbt/issues/2389.


Client Allocation Request for: TVCC

Client Allocation Questions
Core Information

Name: TVCC
Website / Social Media: www.tvcc.kr
Region: Asia excl. Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f3tbfu6dptaui5uwdt7tlhzmovocz47z2fv34dewwhvkf6heel63zqv6ro7we5fvfzndmofel64dggk5vdr5rq
Notary Requested: MasaakiNawatani

@seong-k Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

We have registered Datacap before. Please refer to the previous request which is <Client Allocation Request for: TVCC #559>. Here is the link. (https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/559)

Hi @seong-k
Were you able to use the datacap that was previously allocated? If yes, where you able to get any verified deals done with a miner?

Yes, I could use it. Datacap exhaustion was performed using an easy upload tool called "mylinkplus," and several free miners (more than five) in the nearby area were selected and stored.

Thanks @seong-k , sounds good. Can you provide the miner ID's for my reference please? Thank you.

Here are the miner ID's listed you can refer :
△f0102313 △f0149444 △f0142606 △f0215497 △f0842485 △f0533124 △f0726405 △f01063173 △f01186444

Hi @seong-k , thank you for the information. I will check the miner IDs and will get back to you.

Thank you. I'm looking forward to it.


undefined method `[]' for nil:NilClass after upgraging Passenger to 5.0.22

I received an email from Phusion Passenger team notifying us that a medium severity security vulnerability has been found in Passenger and they recommend to upgrade Passenger to 5.0.22 ASAP.
After I upgraded Passenger to 5.0.22, I couldn't restart Passenger via Capistrano. It keeps getting this error:
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>undefined method `[]' for nil:NilClass

NoMethodError: undefined method `[]' for nil:NilClass

I don't know.. Is it Passenger or Capistrano issue?
For full tracing:
$ cap staging passenger:restart --trace
** Invoke staging (first_time)
** Execute staging
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke rvm:hook (first_time)
** Invoke passenger:rvm:hook (first_time)
** Invoke passenger:test_which_passenger (first_time)
** Execute passenger:test_which_passenger
DEBUG [669d21f4] Running /usr/bin/env which passenger as<EMAIL_ADDRESS>DEBUG [669d21f4] Command: /usr/bin/env which passenger
DEBUG [669d21f4] 	/usr/bin/passenger
DEBUG [669d21f4] Finished in 1.268 seconds with exit status 0 (successful).
** Execute passenger:rvm:hook
** Execute rvm:hook
DEBUG [ae5fa7bb] Running /usr/bin/env [ -d ~/.rvm ] as<EMAIL_ADDRESS>DEBUG [ae5fa7bb] Command: [ -d ~/.rvm ]
DEBUG [ae5fa7bb] Finished in 0.214 seconds with exit status 1 (failed).
DEBUG [7bcc35da] Running /usr/bin/env [ -d /usr/local/rvm ] as<EMAIL_ADDRESS>DEBUG [7bcc35da] Command: [ -d /usr/local/rvm ]
DEBUG [7bcc35da] Finished in 0.138 seconds with exit status 0 (successful).
** Invoke rvm:check (first_time)
** Execute rvm:check
DEBUG [947bf3dc] Running /usr/local/rvm/bin/rvm version as<EMAIL_ADDRESS>DEBUG [947bf3dc] Command: /usr/local/rvm/bin/rvm version
DEBUG [947bf3dc] 	rvm 1.26.11 (latest) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]
DEBUG [947bf3dc]
DEBUG [947bf3dc] Finished in 0.299 seconds with exit status 0 (successful).
rvm 1.26.11 (latest) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]
DEBUG [c8711a73] Running /usr/local/rvm/bin/rvm current as<EMAIL_ADDRESS>DEBUG [c8711a73] Command: /usr/local/rvm/bin/rvm current
DEBUG [c8711a73] 	ruby-2.2.1
DEBUG [c8711a73]
DEBUG [c8711a73] Finished in 0.293 seconds with exit status 0 (successful).
ruby-2.2.1
DEBUG [a1a529c1] Running /usr/local/rvm/bin/rvm 2.2.1 do ruby --version as<EMAIL_ADDRESS>DEBUG [a1a529c1] Command: /usr/local/rvm/bin/rvm 2.2.1 do ruby --version
DEBUG [a1a529c1] 	ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
DEBUG [a1a529c1]
DEBUG [a1a529c1] Finished in 0.457 seconds with exit status 0 (successful).
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
** Invoke bundler:map_bins (first_time)
** Invoke passenger:bundler:hook (first_time)
** Execute passenger:bundler:hook
** Execute bundler:map_bins
** Invoke deploy:set_rails_env (first_time)
** Execute deploy:set_rails_env
** Invoke deploy:set_linked_dirs (first_time)
** Execute deploy:set_linked_dirs
** Invoke passenger:restart (first_time)
** Execute passenger:restart
DEBUG [b7882bc4] Running /usr/bin/env if test ! -d /var/www/project/current; then echo "Directory does not exist '/var/www/project/current'" 1>&2; false; fi as<EMAIL_ADDRESS>DEBUG [b7882bc4] Command: if test ! -d /var/www/project/current; then echo "Directory does not exist '/var/www/project/current'" 1>&2; false; fi
DEBUG [b7882bc4] Finished in 0.135 seconds with exit status 0 (successful).
DEBUG [0007c29a] Running /usr/bin/env passenger -v as<EMAIL_ADDRESS>DEBUG [0007c29a] Command: cd /var/www/project/current && /usr/bin/env passenger -v
DEBUG [0007c29a] 	Phusion Passenger 5.0.22
DEBUG [0007c29a]
DEBUG [0007c29a] Finished in 0.176 seconds with exit status 0 (successful).
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>undefined method `[]' for nil:NilClass
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/runners/sequential.rb:24:in `rescue in run_backend'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/runners/sequential.rb:21:in `run_backend'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/runners/sequential.rb:16:in `execute'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/coordinator.rb:21:in `each'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-3.4.0/lib/capistrano/dsl.rb:55:in `on'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-passenger-0.1.1/lib/capistrano/tasks/passenger.cap:11:in `block (2 levels) in <top (required)>'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:240:in `call'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:235:in `each'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `each'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:75:in `run'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-3.4.0/lib/capistrano/application.rb:15:in `run'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-3.4.0/bin/cap:3:in `<top (required)>'
/Users/username/.rvm/gems/ruby-2.2.1/bin/cap:23:in `load'
/Users/username/.rvm/gems/ruby-2.2.1/bin/cap:23:in `<main>'
/Users/username/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
/Users/username/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
NoMethodError: undefined method `[]' for nil:NilClass
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-passenger-0.1.1/lib/capistrano/tasks/passenger.cap:15:in `block (5 levels) in <top (required)>'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/backends/abstract.rb:77:in `within'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-passenger-0.1.1/lib/capistrano/tasks/passenger.cap:13:in `block (4 levels) in <top (required)>'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/backends/abstract.rb:85:in `with'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-passenger-0.1.1/lib/capistrano/tasks/passenger.cap:12:in `block (3 levels) in <top (required)>'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `instance_exec'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `run'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/runners/sequential.rb:21:in `run_backend'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/runners/sequential.rb:16:in `execute'
/Users/username/.rvm/gems/ruby-2.2.1/gems/sshkit-1.7.1/lib/sshkit/coordinator.rb:21:in `each'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-3.4.0/lib/capistrano/dsl.rb:55:in `on'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-passenger-0.1.1/lib/capistrano/tasks/passenger.cap:11:in `block (2 levels) in <top (required)>'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:240:in `call'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:235:in `each'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `each'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
/Users/username/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:75:in `run'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-3.4.0/lib/capistrano/application.rb:15:in `run'
/Users/username/.rvm/gems/ruby-2.2.1/gems/capistrano-3.4.0/bin/cap:3:in `<top (required)>'
/Users/username/.rvm/gems/ruby-2.2.1/bin/cap:23:in `load'
/Users/username/.rvm/gems/ruby-2.2.1/bin/cap:23:in `<main>'
/Users/username/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
/Users/username/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => passenger:restart

I have same error, the problem is in this line:
https://github.com/capistrano/passenger/blob/master/lib/capistrano/tasks/passenger.cap#L15
the output for passenger -version doesn't include now 'version" word.
Just senda PR: https://github.com/jalberto/passenger/pull/1

Thank you @jalberto for your reply. But, there is a little mistake in your regex. You typed:
version(? while it should be version)?

The issue is fixed. Thanks for @jalberto to find the problem.
I think this minor change should be added to the gem ASAP.

thanks for typo hunting :)

#35 was merged


Incomplete API Key Instructions

-[]While the README mentions "Obtaining API Keys," it lacks comprehensive instructions on how contributors should use these keys. Provide detailed steps and explanations to assist newcomers in understanding how to obtain and use API keys effectively.

Kindly modify this issue as requested

after Sign up for a Chimoney Developer Account, there should be a next step that Provide detailed steps and explanations to assist newcomers in understanding how to obtain and use API keys effectively.

after Sign up for a Chimoney Developer Account, there should be a next step that Provide detailed steps and explanations to assist newcomers in understanding how to obtain and use API keys effectively.

Sure. Open a PR for this


🐛 [Bug] None as const doesn't work

Bug Description

I tried to convert a scripted module to torch-tensorrt but it includes None as a const and it seems like that is not supported.
To Reproduce
Take a module with None as a variable in it, use torch.jit.script on it and then try to compile it with torch-tensorrt.

The error I got:
RuntimeError: 0INTERNAL ASSERT FAILED at "../torch/csrc/jit/ir/alias_analysis.cpp":607, please report a bug to PyTorch. We don't have an op for trt::const but it isn't a special case.  Argument types: NoneType,
Candidates:
trt::const(Tensor val) -> (Tensor)
Environment

Build information about Torch-TensorRT can be found by turning on debug messages

Torch-TensorRT Version (e.g. 1.0.0): compiled from master
PyTorch Version (e.g. 1.0): 1.11
CPU Architecture: Don't know
OS (e.g., Linux): Linux
How you installed PyTorch (conda, pip, libtorch, source): pip
Build command you used (if compiling from source):
Are you using local sources or building from archives:
Python version: 3.8
CUDA version: 11.3
GPU models and configuration: T4
Any other relevant information:

Can you provide a reproducing example?

@narendasan I did some more digging and I found where the issue is but I can't seem to reproduce it when I try to do a minimal example.
Basically in the linear_to_addmm there is a path for bias=None/False and other.
It seems like for some reason, in a model where I have many linear layers and only one of them has bias=False, it tries to convert it as if it does have bias, causing the situation where const(none) exists.
When I try to reproduce it with a simple module with a linear layer, it works as expected and I don't see the issue.
What can I check to see why it happens in my specific model (sharing the model is not possible unfortunately)?

If you turn on graph mode:
with torch_tensorrt.logging.graphs:
    my_trt_mod = torch_tensorrt.compile(my_model, ...)

You will get the graphs at each stage of lowering. We should log the transformations including pre and post linear_to_addmm

@narendasan I did that, I can see that the linear was getting None on the bias parameter and yet torch-tensorrt did the transformation as if it is a regular linear without a "None".
I just don't know why that happens.

@narendasan I did that, I can see that the linear was getting None on the bias parameter and yet torch-tensorrt did the transformation as if it is a regular linear without a "None". I just don't know why that happens.

Hi, I have met a similar problem recently. Have you figured out how to solve it now?

@narendasan I did that, I can see that the linear was getting None on the bias parameter and yet torch-tensorrt did the transformation as if it is a regular linear without a "None". I just don't know why that happens.

Hi, I have met a similar problem recently. Have you figured out how to solve it now?

No. I couldn't create a small reproducible example. In every example I tried to create it worked, but in my use case it didn't.
If you can make a reproducible example, it might help the developers to solve this.

@narendasan I did that, I can see that the linear was getting None on the bias parameter and yet torch-tensorrt did the transformation as if it is a regular linear without a "None". I just don't know why that happens.

Hi, I have met a similar problem recently. Have you figured out how to solve it now?

No. I couldn't create a small reproducible example. In every example I tried to create it worked, but in my use case it didn't. If you can make a reproducible example, it might help the developers to solve this.

I found a workaround that might be helpful.

Firstly, check all the modules with bias, and select the modules with False/None bias.
Secondly, assign the bias with zeros, e.g. model.decoder.xxxx.bias = torch.nn.Parameter(torch.zeros([yyy_shape])), before compiling the model.
🎉 , problem solved (temporarily) in my case.


MaxPermSize is ignored

In OSCM v17 or later, Java 8 is adapted due to the usage of Glassfish 4.1.
Java 8 abolishes PermGen space and replaces it with Metaspace.
The Ant script of OSCM is still configuring -XX:MaxPermSize in v17 or later, but Java is ignoring such configuration.
Please fix this issue so -XX:MaxMetaspaceSize will be configured instead of –XX:MaxPermSize. (Or simply eliminating both configurations can be an alternative as well).

@DawidCh - for update installations, MaxPermSize should be deleted, and the new option added manually, correct? Please inform Gerti if this is correct.

@gertipoppel - see above

@digitalfishpond - please you or Dawid respond to my comment above

It is more for production settings. If you do not suffer of lack of memory for glassfish assigned, you do not have to do anything.

What is a production setting?

Yes.

Build: 2017/06/28
Verified code and update installation documentation

Unfortunately, the default domain.xml of Glassfish 4.1 is "-XX:MaxPermSize=192m".
So, I think that we shoud not replace "MaxPermSize" with "MaxMetaspaceSize" regarding "delete.jvm.options".

@toshihiro-shiino You are correct.
@DawidCh Please correct the delete option to delete -XX:MaxPermSize=192

Why only app-domain?
bes-domain and master-indexer-domain are still wrong.
https://github.com/servicecatalog/development/blob/master/oscm-installation/domains/bes_domain/installer/JVM-options.properties#L2
https://github.com/servicecatalog/development/blob/master/oscm-installation/domains/indexer_domain/installer/JVM-options.properties#L2

seems odd, i definitely committed 3 files: https://github.com/servicecatalog/development/pull/784/commits/a1fdb04a4b8edff0e36555d8cd6738f9c28d9296
I'll create another pull request for the two that got dropped.

verified 17.2


Multi-GPU training

Thanks to the author for this excellent benchmark!
When I try to change the GPU devices setting, I get the following error:
RuntimeError: It looks like your LightningModule has parameters that were not used in producing the loss returned by training_step. If this is intentional, you must enable the detection of unused parameters in DDP, either by setting the string valuestrategy='ddp_find_unused_parameters_true'or by setting the flag in the strategy withstrategy=DDPStrategy(find_unused_parameters=True).
It might be some parameter just used for forward but not backward, which might result in this error.

Thank you for your feedback. We appreciate your interest in our benchmark. As of now, we haven't experimented with multi-GPU training. We will investigate this issue.


merging changes into kamalio_pcscf.cfg

I added your changes to this file and test it with my setup.
THE NF Register works perfect.
The NGHTTP2 module needs key and Cert file in pem format to load, I generated a self signed ones, currently replying 204 only on the subscription URI that ends with /terminate.

can you check it now ?

Actually we are adding twice (loadmodule "nghttp2" etc) but its okay. Once merged I will fix it. Thanks again.


coverallsapp at v2

coverage: 98.857%. remained the same
when pulling f53bb7f25ca7212dca454483c840c673bb5f0950 on ranocha-patch-1
into ac6505b9e975326c49b5413cede1c3aa48e47b9f on main.

@andrewwinters5000 Up for a quick review? It would be nice to get a new release after merging #41 to update the online docs. Alternatively, you could push a special doc tag to build a new version of the online docs.

@andrewwinters5000 Up for a quick review? It would be nice to get a new release after merging #41 to update the online docs. Alternatively, you could push a special doc tag to build a new version of the online docs.

Sure, we can create a new release. What I will do first is double check the docs if there are any other discrepancies like the one caught in #41 . After that we should be good to go.


TFLite Reshape not supporting resizeInputTensor with -1

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Pixel 3, Pixel 2
TensorFlow installed from (source or binary): Anaconda
TensorFlow version (use command below): 1.14
Python version: 3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
I am trying to deploy Deepspeech 2 with tf.lite.experimental.nn.bidirectional_dynamic_rnn on android. Inside the inference since the input audio is of dynamic length, I try to call resizeInputTensor in the c++ api on Android to match the length of the audio, which throws
tensorflow/contrib/lite/kernels/reshape.cc:58 num_input_elements != num_output_elements
similar to #23600. In the inference code there is a line of reshape which is from [-1, 1, 38, 25] to   [-1, 1, 38*25], (note that it collapses the fourth dimension but doesn't do anything with the batch dimension. After reading the source code for reshape.cc it seems like even if the batch size is indicated as -1, during conversion the batch size is explicitly computed and stored in the model, which is the main cause of this bug.
Describe the expected behavior
reshape conversion recomputes the reshape size whenever resizeInputTensor is called.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
std::vector<int> sizes = {1, 240, 240, 3};

interpreter_->ResizeInputTensor(interpreter_->inputs()[0], sizes);

if (interpreter_->AllocateTensors() != kTfLiteOk) {
    LOG(INFO) << "Failed to allocate tensors!" << "\n";
    return false;

Given that interpreter_ contains resizeops with -1 specified.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Is a solution available for the same??

@liyunlu0618  any updates?

I think that the latest 2.3.1 version "resolves" the issue. When -1 occurs in the Reshape parameter a chain of shapes, gathers, reshapes and concatenations is injected to dynamically compute the correct shape.

Shape to get the shape of the input tensor
Gather and Reshape to extract the batch size
Concatenate to join the extracted batch size with the other specified dimensions
Again Reshape to do an actual reshape with the dynamically computed shape

UNFORTUNATELY
This also introduce some weird combination of Where, SparseToDense and AddV2, that I am yet to understand. The last op is the issue here because it is not supported by TFLite - this is a special version of Add used for int64.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

Still, in 2.4.1, there is a bug of Reshape with -1. I just changed a specific number instead of -1 and it works.


APPS-1473 scatter over empty arr

(fix) WorkflowExecutor.scala, WdlWorkflowExecutor.scala - Bool flag to check depth of empty arr + test

at this point integration tests passed (https://github.com/dnanexus/dxCompiler/actions/runs/3709797014), but were disabled to add RELEASE_NOTES without triggering tests again.


The rack status does not get updated some times when running cleanup

I discovered and discussed this issue in #90.
Here are the steps to reproduce the problem as implemented in my test:

Create a two node cluster spread across two racks. I think that the number of racks is irrelevant though.
Wait for cluster to be ready
Set the labels to execute a cleanup on both Cassandra nodes.

Here is the code from the test function for setting the labels:
	selector := metav1.LabelSelector{
		MatchExpressions: []metav1.LabelSelectorRequirement{
			{
				Key:      "statefulset.kubernetes.io/pod-name",
				Operator: metav1.LabelSelectorOpIn,
				Values:   []string{"cassandra-e2e-dc1-rack1-0", "cassandra-e2e-dc1-rack2-0"},
			},
		},
	}
	opts := metav1.ListOptions{
		LabelSelector: metav1.FormatLabelSelector(&selector),
	}

	pods := &v1.PodList{
		TypeMeta: metav1.TypeMeta{
			Kind:       "Pod",
			APIVersion: "v1",
		},
	}

	pods, err := f.KubeClient.CoreV1().Pods(namespace).List(opts)
	if err != nil {
		t.Fatalf("Failed to list pods: %s", err)
	}
	assert.Equal(t, 2, len(pods.Items))

	for _, pod := range pods.Items {
		pod.Labels["operation-name"] = "cleanup"
		pod.Labels["operation-status"] = "ToDo"
		if err := f.Client.Update(goctx.TODO(), &pod); err != nil {
			t.Fatalf("pod update failed: %s", err)
		}
	}

According to the status, the cleanup never runs on the second C* node:
  status:
    cassandraRackStatus:
      dc1-rack1:
        cassandraLastAction:
          Name: Initializing
          endTime: "2019-08-24T20:28:05Z"
          status: Done
        phase: Running
        podLastOperation:
          Name: cleanup
          endTime: "2019-08-24T20:30:01Z"
          operatorName: cassandra-k8s-operator-7cf67f66bb-w576w
          podsOK:
          - cassandra-e2e-dc1-rack1-0
          startTime: "2019-08-24T20:29:57Z"
          status: Done
      dc1-rack2:
        cassandraLastAction:
          Name: Initializing
          endTime: "2019-08-24T20:29:37Z"
          status: Done
        phase: Running
        podLastOperation: {}
    lastClusterAction: Initializing
    lastClusterActionStatus: Done
    phase: Running
    seedlist:
    - cassandra-e2e-dc1-rack1-0.cassandra-e2e.cassandra-e2e
    - cassandra-e2e-dc1-rack2-0.cassandra-e2e.cassandra-e2e
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

The cassandra logs however show that the operation did run:
INFO  [main] 2019-08-24 20:29:02,899 Server.java:156 - Starting listening for CQL clients on /<IP_ADDRESS>:9042 (unencrypted)...
INFO  [main] 2019-08-24 20:29:03,094 CassandraDaemon.java:556 - Not starting RPC server as requested. Use JMX (StorageService->startRPCServer()) or nodetool (enablethrift) to start it
INFO  [jolokia-1] 2019-08-24 20:29:58,411 CompactionManager.java:299 - No sstables to CLEANUP for system_distributed.view_build_status
INFO  [jolokia-1] 2019-08-24 20:29:58,593 CompactionManager.java:299 - No sstables to CLEANUP for system_distributed.parent_repair_history
INFO  [jolokia-1] 2019-08-24 20:29:58,633 CompactionManager.java:299 - No sstables to CLEANUP for system_distributed.repair_history
INFO  [jolokia-2] 2019-08-24 20:29:58,697 CompactionManager.java:299 - No sstables to CLEANUP for system_auth.resource_role_permissons_index
INFO  [jolokia-2] 2019-08-24 20:29:58,701 CompactionManager.java:299 - No sstables to CLEANUP for system_auth.role_members
INFO  [jolokia-2] 2019-08-24 20:29:58,707 CompactionManager.java:299 - No sstables to CLEANUP for system_auth.role_permissions
INFO  [jolokia-2] 2019-08-24 20:29:58,710 CompactionManager.java:299 - No sstables to CLEANUP for system_auth.roles
INFO  [jolokia-3] 2019-08-24 20:29:58,793 CompactionManager.java:299 - No sstables to CLEANUP for system_traces.sessions
INFO  [jolokia-3] 2019-08-24 20:29:58,795 CompactionManager.java:299 - No sstables to CLEANUP for system_traces.events

Here are the operator logs:
time="2019-08-24T20:29:37Z" level=info msg="[cassandra-e2e][dc1-rack2]: StatefulSet(Initializing): Replicas Number OK: ready[1]"
time="2019-08-24T20:29:37Z" level=info msg="Action Initializing is done!" cluster=cassandra-e2e
time="2019-08-24T20:29:57Z" level=info msg="Start operation" cluster=cassandra-e2e operation=Cleanup pod=cassandra-e2e-dc1-rack1-0 rack=dc1-rack1
time="2019-08-24T20:29:57Z" level=info msg="Operation start" cluster=cassandra-e2e hostName=cassandra-e2e-dc1-rack1-0.cassandra-e2e operation=Cleanup pod=cassandra-e2e-dc1-rack1-0 rack=dc1-rack1
time="2019-08-24T20:29:57Z" level=info msg="Execute the Jolokia Operation" cluster=cassandra-e2e operation=Cleanup pod=cassandra-e2e-dc1-rack1-0 rack=dc1-rack1
time="2019-08-24T20:29:57Z" level=info msg="Start operation" cluster=cassandra-e2e operation=Cleanup pod=cassandra-e2e-dc1-rack2-0 rack=dc1-rack2
time="2019-08-24T20:29:57Z" level=info msg="Operation start" cluster=cassandra-e2e hostName=cassandra-e2e-dc1-rack2-0.cassandra-e2e operation=Cleanup pod=cassandra-e2e-dc1-rack2-0 rack=dc1-rack2
time="2019-08-24T20:29:57Z" level=info msg="Execute the Jolokia Operation" cluster=cassandra-e2e operation=Cleanup pod=cassandra-e2e-dc1-rack2-0 rack=dc1-rack2
time="2019-08-24T20:29:58Z" level=info msg="[cassandra-e2e-dc1-rack2-0.cassandra-e2e]: Cleanup of keyspace system_distributed"
time="2019-08-24T20:29:58Z" level=info msg="[cassandra-e2e-dc1-rack2-0.cassandra-e2e]: Cleanup of keyspace system_auth"
time="2019-08-24T20:29:58Z" level=info msg="[cassandra-e2e-dc1-rack2-0.cassandra-e2e]: Cleanup of keyspace system_traces"
time="2019-08-24T20:29:58Z" level=error msg="Issue when updating CassandraCluster" cluster=cassandra-e2e err="Operation cannot be fulfilled on cassandraclusters.db.orange.com \"cassandra-e2e\": the object has been modified; please apply your changes to the latest version and try again"
time="2019-08-24T20:29:58Z" level=info msg="[cassandra-e2e-dc1-rack1-0.cassandra-e2e]: Cleanup of keyspace system_distributed"
time="2019-08-24T20:30:00Z" level=info msg="[cassandra-e2e-dc1-rack1-0.cassandra-e2e]: Cleanup of keyspace system_auth"
time="2019-08-24T20:30:00Z" level=info msg="[cassandra-e2e-dc1-rack1-0.cassandra-e2e]: Cleanup of keyspace system_traces"
time="2019-08-24T20:30:00Z" level=error msg="Issue when updating CassandraCluster" cluster=cassandra-e2e err="Operation cannot be fulfilled on cassandraclusters.db.orange.com \"cassandra-e2e\": the object has been modified; please apply your changes to the latest version and try again"
time="2019-08-24T20:30:00Z" level=error msg="Issue when updating CassandraCluster" cluster=cassandra-e2e err="Operation cannot be fulfilled on cassandraclusters.db.orange.com \"cassandra-e2e\": the object has been modified; please apply your changes to the latest version and try again"

The expected labels were set on the pod:
  labels:
    app: cassandracluster
    cassandracluster: cassandra-e2e
    cassandraclusters.db.orange.com.dc: dc1
    cassandraclusters.db.orange.com.rack: rack2
    cluster: k8s.pic
    controller-revision-hash: cassandra-e2e-dc1-rack2-9b4f78944
    dc-rack: dc1-rack2
    operation-end: 20190826T133126
    operation-name: cleanup
    operation-start: 20190826T133124
    operation-status: Done

I think that there is a race condition because the behavior is not consistent. It does not happy every time, but I am able to reproduce the problem pretty easily.
The last time I tested and reproduced the bug, I went ahead reset the operation-status label back to ToDo. This time the rack status was updated as expected.

Hi John, I think this is relative to this bug : https://github.com/Orange-OpenSource/cassandra-k8s-operator/issues/10

Duplicate of #10


WIP Write the document template and two sample test cases

#1459

@Meriem-BM  Is this PR ready for review?


Add integration tests

test with uncached and cached buildpacks
see that they can create an oci image with specific version of php on
the PATH

Signed-off-by: Arjun Sreedharan<EMAIL_ADDRESS>

Resolves #33


can transact on local ganache net, but not on ropsten net

Steps to reproduce

context.result = contract.transact_and_wait.transfer_from(account2, account1, amount)

works fine on local test net, but fails on ropsten network
related to https://github.com/Nethereum/Nethereum/issues/503 ? does one need to do something like  contract.key = key on ropsten that's not required locally?
is what's described here the solution? https://github.com/EthWorks/ethereum.rb/issues/98#issuecomment-414147596
Should we have more of those details in the README and the infura/ropsten setup mentioned explicitly?
Expected behavior

expect to work on both on test and ropsten test nets
Actual behavior

fails on ropsten test net with this error:

eth_SendTransaction does not exist/is not avaible

System configuration
Ruby version: 2.7.2
Solc version: ?
Parity version: ?
OS: OSX 11.5.2 (20G95)
Failure Logs

I, [2021-09-10T16:00:09.279845 #35156]  INFO -- IOError: The method eth_sendTransaction does not exist/is not available
I, [2021-09-10T16:00:09.279999 #35156]  INFO -- IOError: /Users/me/.rvm/gems/ruby-2.7.2/gems/ethereum.rb-2.5/lib/ethereum/client.rb:129:in `send_command'

I gave this a try with my exported metamask key:
          contract.key = '...'

following instructions here https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key
didn't seem to help - I just pasted the raw secret key is as a string in the first instance ...

aha, I've got it sorted by following the eth docs:
https://github.com/se3000/ruby-eth#keys
key = Eth::Key.new priv: private_key


🐞 NG0600 on set tui-loader.showLoader=true when child tui-textfield is focused

Reproduction url
https://stackblitz.com/edit/angular-rivigpgk?file=src%2Fapp%2Fapp.component.ts
Description
<tui-root>
  <tui-loader [showLoader]="isLoading()">
    <tui-textfield>
      <label tuiLabel>Код</label>
      <input
          #input
          tuiTextfield
          [formControl]="control"
      />
    </tui-textfield>
  </tui-loader>
</tui-root>

Focus tui-textfield
Programmatically change isLoading to true

Error: Writing to signals is not allowed in a computed or an effect by default. Use allowSignalWrites in the CreateEffectOptions to enable this inside effects.

Programmatically change isLoading to true

Input looks focused.

Taiga UI version
4.18.0
Browser Used
Chrome
OS Used
macOS

That's weird. We only have this for effect really, and I don't think we ever do setting of value in computed:
https://github.com/taiga-family/taiga-ui/pull/9810
Could it be the case that signals lag somehow and reading the signal in computed triggers some effect?

The component template is in effect. I am working on it.


Is this a DEAD project? Nobody reply and no PR merged.

Every day I was bearing the Atom crushes on my mac. And the new version have no even roadmap. What happened?

Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

The Atom Flight Manual
The Atom FAQ on Discuss
Discuss, the official Atom and Electron message board
Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.

Hope the crushes can be fixed soon.


Wrong shape & colour in math_number

Expected Behavior

Actual Behavior

Wrong shape in math_number, wrong block colour and text colour when it's shadow block but its shape is correct.
Steps to Reproduce
I am trying to override default math_number by jsonInit. Something like this
  {
    type: 'math_number',
    message0: '%1',
    args0: [{
      type: 'field_number',
      name: 'NUM',
    }],
    output: 'Number',
    category: 'data',
  },

Then get result above.
Later, I found it has nothing to do with overriding. I use another name, such as 'my_math_number', the result is the same.
Operating System and Browser
Mac OS Chrome

Hi @greenSnot we can't really understand what you are trying to do here. Can you please provide more context and a description of exactly what you are trying to do?

@thisandagain Well, I am trying to apply single math_num, empty_array, logic_bool, empty_string block into toolbox.  Your examples seem lack of them.


Variance problem in FunctionDeclaration.memberApply

This code:
Method<Nothing,Anything,Nothing> methodRef =
               `function method`.memberApply<Nothing,Anything,Nothing>(type(this),`T`);

Does not work. It complains that the type(this) does not match Type

Fixed.

@chochos can you confirm that I didn't mess up with the JS changes?

you only modified the declaration of native methods in Ceylon code and they compile OK.

Does this mean it's enough?

Yes, it's enough.

Thanks


Install LaTeX in CI to enable testing PDF export format

nbconvert requires a LaTeX engine to convert to pdf. We need to figure out the best way to install this in our CI pipeline so we can test the pdf export format in our unit tests.
Some strategies and notes about them:

[ ] Install standard TeX distributions per operating system (TeX Live, MacTeX, MikTeX).

Will require different conditional pipeline steps, which adds complexity to the pipeline. Example of install scripts from LightGBM: ubuntu, macos, windows 1, 2, 3

[ ] Install texlive-core from conda-forge.

[X] Out of box: does not work. nbconvert uses xelatex but this installation only has pdflatex.
[ ] Hack it by symlinking xelatex to pdflatex
[ ] Set nbconvert configuration to use pdflatex instead of xelatex

[ ] Install tectonic, a different TeX distribution that's available cross-platform from conda-forge

[X] Out of box: does not work. This gives a CLI program named tectonic
[X] Hack it by symlinking xelatex to tectonic: Does not work. nbconvert passes a --quiet flag that tectonic does not support.
[ ] Set nbconvert configuration to use tectonic instead of xelatex (and with appropriate CLI flags)

[ ] Install tinytex. Has install scripts for different OSes. Will need different conditional pipeline steps, which adds complexity to the pipeline, but scripts hopefully work out of the box.

TinyTeX actually worked and seems like the way to go. There is an implementation here: https://github.com/drivendataorg/nbautoexport/pull/41
Unfortunately, there is a bug with nbconvert in Windows that causes the PDF generation to fail. https://github.com/jupyter/nbconvert/issues/974

The Windows xelatex bug was fixed and the change was part of the nbconvert v6.0.0 release.


Add Uhuru RAVEN and NUCLEO F767ZI support

Adding new target
Uhuru Raven
Internal Flash : 2MB
RAM : 512kB
Connectivity : Wi-Fi (ESP32)
kvstore : internal flash
Update storage : internal flash
NUCLEO F767ZI
Internal Flash : 2MB
RAM : 512kB
Connectivity : Ethernet
kvstore : internal flash
Update storage : internal flash
Summary of changes

[x] I confirm this contribution is my own and I agree to license it with Apache 2.0.
[x] I confirm the moderators may change the PR before merging it in.
For new board enablements only:
[x] I confirm the board is Mbed Enabled and passes the Mbed Enabled test set.
[] I confirm the contribution has been tested properly and the tests results for TESTS are attached.
The test can not run on this target.  See https://github.com/ARMmbed/mbed-os-example-pelion/issues/109 for more detail.  I did manually test connect and update features for this target and works fine.
[x] I confirm mbed-os.lib and mbed-cloud-client.lib hashes or the content in folders mbed-os and mbed-cloud-client were not modified in order to pass the tests.

Maintainers of this repository update the Mbed OS and Client hashes.
Please report any issues through issues in relevant repositories.

cc @MarceloSalazar

Thanks for your changes.
@ARMmbed/pdmc-integrators please review.

Thanks Toyo!
@teetak01 FYI these two targets have the same MCU: F767ZI

@teetak01
STM32F767 flash memory block info:

If I follow the recommendation config here, kvstore is located to Sector 8 and 9 (256+256 KB), which is not optimum config.
So, I defined flash configuration as below:

Sector #
Sector size
Description

Sector 0
32 KB
Bootloader

Sector 1
32 KB
kvstore 0

Sector 2
32 KB
kvstore 1

Sector 3
32 KB
Application

Sector 4
128 KB
Application

Sector 5
256 KB
Application

Sector 6
256 KB
Application

Sector 7
256 KB
Application

Sector 8
256 KB
Update storage

Sector 9
256 KB
Update storage

Sector 10
256 KB
Update storage

Sector 11
256 KB
Update storage

build-only

I just got test result from device using latest release of pelion-e2e-python-test-library:
----------------------------------------------------- live log sessionfinish ------------------------------------------------------
2020-02-06 16:58:24.971      INFO   -----  TEST RESULTS SUMMARY  -----
2020-02-06 16:58:24.972      INFO   [ check the complete fail reasons and code locations from this log or html report ]
2020-02-06 16:58:24.972      INFO   [passed] - dev-client-tests.py::test_01_get_device_id - (0.790s)
2020-02-06 16:58:24.973      INFO   [passed] - dev-client-tests.py::test_02_put_resource - (10.753s)
2020-02-06 16:58:24.973      INFO   [passed] - dev-client-tests.py::test_03_get_resource - (1.756s)
2020-02-06 16:58:24.973      INFO   [passed] - dev-client-tests.py::test_04_subscribe_resource - (6.444s)
2020-02-06 16:58:24.973      INFO   [passed] - dev-client-tests.py::test_05_factory_reset - (20.861s)

Test run: SUCCESS

Build artifacts
posted-by-tag: https://jenkins-client.isgtesting.com/job/mbed-os-example-pelion/


Provide a lightweight shell selector without changing default

I built the https://github.com/Tyriar/vscode-shell-launcher extension which allows the user to create profiles to launch, this is particularly useful on Windows where the user is much more likely to use multiple shells. We have a similar feature in with the default shell selector:

The issue is that it changes the default setting. It can also only change the shell, not shell args currently which makes supporting multiple WSL distro not possible (https://github.com/microsoft/vscode/issues/77652).
We should add a feature similar to Windows Terminal where current shells are detected and it also enables users to setup their own profiles including shell args.

Doc feedback verbatim 8/6/2019: "How do I have both an integrated powershell and integrated command prompt and maybe others open at same time?  It only lets me start up a terminal based on the default? So would I just have to change the default all the time? What am I missing?"

/duplicate https://github.com/microsoft/vscode/issues/45444


Make Webpack5 the Default Bundler

New Feature Proposal
For more information, see the CONTRIBUTING guide.
Description
Right now the default bundler is Webpack v4 (piral-cli-webpack). Default means that if nothing is installed then piral-cli-webpack will be resolved in case of a build command being requested. We now want to change that default to a faster / modern / mature alternative.
Background
We started with piral-cli-parcel (actually back then integrated into the piral-cli) as a bundler and then we made the bundler system fully flexible - even switching to piral-cli-webpack as default. Since then Webpack v5 has matured and we are now ready to take it to the next level.
Discussion
Is there anything to improve in general on piral-cli-webpack5? Anything that would make it better / easier to use?

new project created using npm init piral-instance with webpack5 bundler does not build correctly.
This is the error
ERROR in ./src/index.jsx 3:0-42
Module not found: Error: Can't resolve './layout' in '/home/projector-user/IdeaProjects/piral-shell/src'
resolve './layout' in '/home/projector-user/IdeaProjects/piral-shell/src'
  using description file: /home/projector-user/IdeaProjects/piral-shell/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /home/projector-user/IdeaProjects/piral-shell/package.json (relative path: ./src/layout)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /home/projector-user/IdeaProjects/piral-shell/src/layout doesn't exist
      .ts
        Field 'browser' doesn't contain a valid alias configuration
        /home/projector-user/IdeaProjects/piral-shell/src/layout.ts doesn't exist
      .tsx
        Field 'browser' doesn't contain a valid alias configuration
        /home/projector-user/IdeaProjects/piral-shell/src/layout.tsx doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /home/projector-user/IdeaProjects/piral-shell/src/layout.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /home/projector-user/IdeaProjects/piral-shell/src/layout.json doesn't exist
      as directory
        /home/projector-user/IdeaProjects/piral-shell/src/layout doesn't exist

webpack 5.73.0 compiled with 1 error in 3249 ms

I think you must be doing something wrong / different.

ERROR in ./src/index.jsx 3:0-42

The standard options / template has an index.tsx. There is no index.jsx. Please specify the full options used / what exactly you did if you want to report a bug. Otherwise, we'll not invest any time.

This is coming straight from your scaffolding.
It had a choice of js or ts and I picked js.
Maybe you didn't anticipate people choosing js over ts

here you go
https://github.com/smapiot/piral/blob/develop/src/templates/piral-template-default/templates/piral-layout.jsx.ejs

This is coming straight from your scaffolding.

Not directly. As mentioned you are not using the default options. You clarified that you actually used the JS option.
The problem is that the webpack configuration is missing the jsx extension. You can just teach Webpack about it:
//webpack.config.js

module.exports = (config) => {
  config.resolve.extensions = [...config.resolve.extensions, '.jsx'];
  return config;
};

First, thank you for the webpack configuration above. That fixed the problem.
But second, I disagree that this didn't come from your scaffolding. In fact I sent the link to the template file above.(You're the author too I think).
Yes I picked an option that's non-default.
But as a user that's presented with options, shouldn't I expect all the available options to work?
Anyway, Piral looks amazing and I will invest in learning it.
Thank you for your help.
I hope this helps others as well.

But as a user that's presented with options, shouldn't I expect all the available options to work?

Sure - that was not my point. My point was that I don't know which options you selected - you should mention them. Otherwise, this is not really efficient to trace.


My customized 404 page will appear in a moment when Vue dynamic route jumps to route

Recently, a project has been made with the pre render spa plugin. The dynamic routing page will flash 404 pages first, and then load them to the correct routing. How to solve this problem?

Or do I use it in the wrong way? Thank you for your advice.


Cleanup of FDCAN module, mostly review comments.

Fix review comments from:
https://github.com/embassy-rs/embassy/pull/2571

This question is duplicated from the Embassy room. I should have just posted the details here and linked to it in the room.
Regarding this review comment: "struct FdcanInstance, traits InterruptableInstance, IT0Instance, IT1Instance seem remnants of the fdcan crate, can you remove them? moving the interrupt types to the main Instance trait should work."
So I moved the traits as per this commit: https://github.com/embassy-rs/embassy/pull/2623/commits/6c825c9ac2bea7101edb0b11c6983252338c0ec0
After much fiddling, I got something to work:
`    #[allow(non_snake_case)]
pub(crate) mod $inst {
    foreach_interrupt!(
        ($inst,can,FDCAN,IT0,$irq:ident) => {
            pub type Interrupt0 = crate::interrupt::typelevel::$irq;
        };
        ($inst,can,FDCAN,IT1,$irq:ident) => {
            pub type Interrupt1 = crate::interrupt::typelevel::$irq;
        };
    );
}
impl Instance for peripherals::$inst {
    type IT0Interrupt = $inst::Interrupt0;
    type IT1Interrupt = $inst::Interrupt1;
}`

However, it seems a bit messy to have to make this extra module that uses the instance name in order to make it work. I naively wanted this to work:
`    impl Instance for peripherals::$inst {
    foreach_interrupt!(
        ($inst,can,FDCAN,IT0,$irq:ident) => {
            type IT0Interrupt = crate::interrupt::typelevel::$irq;
        };
        ($inst,can,FDCAN,IT1,$irq:ident) => {
            type IT1Interrupt = crate::interrupt::typelevel::$irq;
        };
    );
}`

thanks!


Fix server start due to removal of VMDB::Config#get and #set

The first commit loosens up the validator so that I can reuse the Vmdb::Settings.save! method in server start with a partial hash.
@jrafanie Please review.

Updated with fixes, @jrafanie.

LGTM, merge when green :+1:

@jrafanie You win.  I've temporarily marked this spec as pending to unstick whoever is using rake evm:start.  The final fix will come later.


Support ELASTICSEARCH_URL env var for easier Heroku integration?

Hey @nervetattoo,
There is an ElasticSearch addon now in alpha at Heroku, which provides the ELASTICSEARCH_URL environment variable to specify to an app where the index lives. Is there a way to facilitate integration for Heroku apps that might want to use your elasticsearch client?
In particular, do you think it would make sense to modify the ElasticSearchTransportHTTP class to support specifying a URL using an unparsed URL string? That way there's less burden on the user to parse out the hostname, port and index name at run time.
I'm thinking something that gets as close as possible to the following…
$transport = new ElasticSearchTransportHTTP(getenv('ELASTICSEARCH_URL'));

What are your thoughts?
Also, if you have an account at Heroku and want to try out the addon, I can set that up, just send me a message with your account email address there :)
—Nick

in the pull request, i implemented it a bit differently. instead of having to specify the transport, it will suffice to do
$es = new ElasticSearchClient();
it will get the environment variable and parse it. (it only supports urls with index and type set though.)

well. now it should support generic URLs

Thanks for the heads up @nz and thanks for an implementation @ibotty. I will look over the pull request but it will probably take some time due to bad internet connectivity while backpacking south america.


ENH: Wrap itk::TransformToDisplacementFieldFilter for Python

Wraps itk::TransformToDisplacementFieldFilter for Python. Note that the pixel type of the output displacement image must be equivalent to the dimension of the input image, but the data type is not constrained to be the same. An explicit cast is added here to satisfy PointType -> PixelType conversion and avoid a wrapping failure.

PR Checklist

[x] No major design changes were made (or the changes have been approved)
[x] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5

Refer to the ITK Software Guide for
further development details if necessary.

@dzenanz Compile errors are fixed and ready for review


Override of PhasedXPowGate causes determinant of gate to jump discontinuously

>>> np.linalg.det(cirq.unitary(cirq.PhasedXPowGate(phase_exponent=1.01, exponent=0.5)))
0.9999999999999998j
>>> np.linalg.det(cirq.unitary(cirq.PhasedXPowGate(phase_exponent=1., exponent=0.5)))
-0.9999999999999998j
>>> np.linalg.det(cirq.unitary(cirq.PhasedXPowGate(phase_exponent=0.99, exponent=0.5)))
0.9999999999999998j

and the gates also change badly
>>> cirq.unitary(cirq.PhasedXPowGate(phase_exponent=1.01, exponent=0.5))
array([[ 0.5       +0.5j       , -0.4840479 +0.51545866j],
       [-0.51545866+0.4840479j ,  0.5       +0.5j       ]])
>>> cirq.unitary(cirq.PhasedXPowGate(phase_exponent=1, exponent=0.5))
array([[0.5-0.5j, 0.5+0.5j],
       [0.5+0.5j, 0.5-0.5j]])
>>> cirq.unitary(cirq.PhasedXPowGate(phase_exponent=0.99, exponent=0.5))
array([[ 0.5       +0.5j       , -0.51545866+0.4840479j ],
       [-0.4840479 +0.51545866j,  0.5       +0.5j       ]])

These discontinuous jumps are likely coming from the new override code.

This happens because flipping the sign of the exponent in the special cases of phase_exponent=1, -0.5 also applies a global phase and can be corrected by adjusting the global_shift of the resulting XPow or YPow gate. This will break an awful lot of tests that assume global_shift never gets touched in the special casing.


ColorEdit not saturating properly.

Hello, thank you for taking the time to create this wonderful plugin. There is a strange
behavior in the function rgb2hsl line 38 of converter.vim. From my understanding no two
colors can have the same rgb.
The problem arises when you try to saturate the color '#666633' with ColorEdit
command. If you try another color like '#61afef' it works fine.

I created this function to show the return values and it seems like it's returning the
360 hue, which is '#663333' hsl(0,33,30). You can see the hue, saturation, and lightness
here.. To replicate the problem do this:
function! Rgb2Hsl(rgb) abort
	let [r,g,b] = a:rgb
	echom 'rgb is ' a:rgb
	let hsl = coloredit#converter#rgb2hsl(r,g,b)
	echom 'return is ' hsl
	return hsl
endfunction
call Rgb2Hsl([102,102,51])

The return should be  [60,33,30]
Try calling with another color like '#61afef' and it returns the correct hsl [208, 82, 66].
Another thing that I wanted to mention is that I don't think there is error checking
in the functions. If you call rgb2hsl and probably any other function with with random
values you will get unexpected numbers. This is probably not an issue for people who
don't call the functions and just use the menu but it may become a problem for your
script later. As a work around I created this function. I don't know if that's something
you would consider including in your code?
Return ranges 0-100 for lightness/saturation and 0-360 for hue.
function! s:CheckHslReturn(idx,val) abort
	let i = a:idx | let v = a:val
	if i == 0
		return v >= 360? 360 : v <= 0? 0 : v
	elseif i == 2 || i == 1
		return v >= 100 ? 100 : v <= 0? 0 : v
	endif
	echoerr 'Function CheckHslReturn only takes [h,s,l].'
endfunction

To use it, include it at the end of a function like this.
return map(coloredit#converter#rgb2hsl(r,g,b),function('<sid>CheckHslReturn'))

Thanks for your help

@rickalex21 Thanks you for your issue. I fixed this issue at https://github.com/rbtnn/vim-coloredit/commit/eda0cc2f7f7605305e549c7408cd177958d2e387 . Please check this.
NOTE:  This plugin convert #663333 to [60, 34, 30] (round up [60, 33.333333, 30]) because of using a real number value as HSL when converting RGB to HSL.

@rbtnn Thanks, I'll check it out when I get back on vim. I have been on nvim and it's too bad they
don't support popup windows cause I have something similar to this plugin and rewriting it would be
too much work. I think you feel the same.


Auto Closing

Upon opening tiktok-bot.py it closes it self instantly.

What error are you getting? You must be missing a module or a wrong chromedriver setup.

no response, issue will be closed


fix: replace '.' with './index'

Here' the beginnings to the PR, not sure what the process is for version updates on monorepos are so let me know if anything needs to be done there.

That should be good, I’ll publish when I get the chance

Closes #120


Fix theming issues for screens with meem bg

:tada: This PR is included in version 1.29.0-dev.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.30.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


uninitialized constant Psych::Nodes (NameError)

using windows 8 have this uninitialized constant problem with safe_yaml => safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb:4:in <class:PsychResolver>' *unless* I run the command with bundle exec before the command. I've tried gem update` and nothing changed.
Any ideas?

I'm affected by this as well with Jekyll 2.5.3 & safe_yaml 1.0.4, but not with Jekyll 2.4.0 & safe_yaml 1.0.0.  (MRI Ruby 2.2.0)
Strangely enough, this looks like it could be a problem with Psych itself?  I attached pry in psych_resolver.rb, did a show-source on Psych, and it looks like it's being overridden or Psych::Nodes is not being exported after loading psych in psych_handler.rb.
https://gist.github.com/singularperturbation/ec150255a8be199f8e80

Having the same problem: Jekyll 2.5.3, safe_yaml 1.0.4, Ruby 2.2 and Psych 2.0.8

I'm finding I've got to back down to Psych 2.0.5 with Jekyll 2.5.3 and safe_yaml 1.0.4, in order to solve the issue.

I think psych comes with Ruby & is compiled with a specific Ruby in mind, so you would need to upgrade Ruby to upgrade Psych. C extensions/dylib's etc.

@egyptiankarim Your solution worked for me.

@egyptiankarim I've had Psych 2.0.5, Jekyll 2.5.3 and safe_yaml 1.0.4 installed all along, so I don't think this is the solution for me since I received the error with these versions installed.
Also, I'm running Ruby 2.1.0 which installs from running gem update --system on a Mac.
Now, I've updated all my gems and cleaned out old ones. Psych was updated to 2.0.10. There was no update to safe_yaml. Anyway, the error still persists.

@djmtype Try using Ruby 2.2.0 with the correct versions for Psych, Jekyll, and safe_yaml, and see if the problem persists.

The same problem, all recent version of psych Jekyll and safeyaml and error exists

Had the same problem. Fixed this by using Psych 2.0.5:
gem uninstall psych
gem install psych -v 2.0.5

Not sure if that was the most elegant solution.

@EvanHahn That didn't do it for me. What Ruby version do you have installed?

@djmtype 2.2.0.

@EvanHahn Thanks. Ok, I'm still on Ruby v2.1.0.
The culprit might be psych…
gem list reveals psych (2.0.5,2.0.2) So, I ran, sudo gem uninstall psych -v 2.0.2 but it returned an error:
ERROR:  While executing gem ... (Gem::InstallError)     gem "psych" cannot be uninstalled because it is a default gem
But, according to gem-list v2.0.2 follows after v2.0.5 in the list. Is v2.0.5 not the default version the system is using? [Confused.]
So, I uninstalled v2.0.5 because it won't allow me to uninstall v2.0.2.
Jekyll works! thus far

Hey,
gem cleanup

... fixed it for me
Regards,

Running gem cleanup never resolved the issue of removing psych 2.0.2 when I also had 2.0.10 installed. That's the problem. It still leaves 2.0.2 installed.
Running gem update psych will not update psych from 2.0.2 to 2.0.10. Instead, it will install v 2.0.10 in addition.
psych (2.0.10, 2.0.2)
This is why jekyll is failing with Ruby 2.1.0. Psych 2.0.10 doesn't seem compatible with this version of Ruby or another gem.
Running gem uninstall psych automatically removes the latest version, 2.0.10. The oddity in that is I'm usually prompt to which version I'd like to remove if there are multiple versions of the same gem installed. Otherwise, one would think the system would uninstall the gem version which is not set as the default.

To piggyback, gem list for me showed psych (2.0.5, 2.0.0).
I removed 2.0.5 (seems to be the problem) with sudo gem uninstall psych -v 2.0.5
I was then able to install Jekyll correctly with sudo jekyll new .
Hope that helps someone.

What are the correct gem versions of Psych, Jekyll and Safe_yaml to work with ruby 2.2.0? Ive tried various versions of all gems but still get the same error.

+1

Uninstalling psych-2.0.12 and keeping only psych-2.0.5 solved the problem for me.

Removing all but one of the versions of psych seems like the wrong solution.  Why does safe_yaml have this problem?

I've submitted #74 which adds require "psych/nodes" on the file that causes the issue. That hopefully should solve the problem.
I have a feeling that there's something going on with the load order, and that's why you're not seeing it with psych <= 2.0.5. I didn't spend time to debug it, because explicitly requiring stuff before use feels like the right fix to me anyway.

@ldexterldesign That solution: gem cleanup worked for me as well. Not sure why... I'm running ruby 2.2.0 on a windows box even.

@ldexterldesign @seanriceaz I also confirm the gem cleanup works. I'm on Mac Yosemite, rbenv with ruby 2.2.0

gem cleanup didn't work for me. I resolved this issue by removing all installed gems followed by gem install github-pages.

'bundle exec' worked for me...
-> jekyll serve # I get the error

-> bundle exec jekyll serve # no error :) happy days

you can put this in your .zshrc (or similar) to make it happen automatically:
# Bundle exec commands
bundle_commands=( rake spec rspec cucumber cap watchr rails rackup )
function run_bundler_cmd () {
    if [ -e ./Gemfile ]; then
        echo "bundle exec $@"
        bundle exec $@
    else
        echo "$@"
        $@
    fi
}
for cmd in $bundle_commands
do
    alias $cmd="run_bundler_cmd $cmd"
done

This:
gem uninstall psych
gem install psych -v 2.0.5

from @EvanHahn worked for me!

Doing gem update --system and then gem update solved the problem for me.

Thanks @EvanHahn! Your suggestion worked.

@ldexterldesign gem cleanup worked for me on Yosemite 10.10.3 with RVM with Ruby 2.1.2 (default).

I had this problem with Ruby 2.2.0 and Jekyll (2.0.12 2.0.8) installed. Uninstalling 2.0.12 worked for me. Is it possible that having a version of Psych other than the default version associated with the Ruby version is causing an error?
gem uninstall psych -v 2.0.12

Thanks to @djmtype
gem update --system works on me.
gem version updated frome 2.4.5 to 2.4.8.
ruby version 2.2.2; safe_yam-1.0.4

gem cleanup works for me.
jekyll (2.5.3)
jekyll-coffeescript (1.0.1)
jekyll-gist (1.2.1)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.3.0)
jekyll-watch (1.2.1)
safe_yaml (1.0.4)
psych (2.0.13, 2.0.8)

gem cleanup solved it for me as well.

gem cleanup did not work for me; however, gem uninstall psych removed one of the two installed packages and now it works.

gem cleanup worked for me.  :v:

psych -v 2.0.5 work for me, thanks for the solution

thanks! its work.
after i run 'gem update', that's trigger this mess for me.
i do 'gem cleanup'
and 'gem uninstall psych'

@sjackman your solution worked for me, thanks! :+1:
The different mix of 'gem update,' 'gem cleanup,' and 'gem uninstall psych' didn't fix it.
OS 10.11.1 over here

gem update --system work for me

gem cleanup work for me

I had the same error after running gem update, running gem cleanup fixed the problem.

Running gem cleanup only works until your next gem update. It's a temporary fix.
I'm still suffering from this on Ruby 2.2.3 with:

psych (2.0.17, 2.0.8)
safe_yaml (1.0.4)
jekyll (3.1.2, 3.0.1)

Forcing psych 2.0.8 works as a temporary fix only.

gem uninstall psych

ERROR:  While executing gem ... (Gem::InstallError)
gem "psych" cannot be uninstalled because it is a default gem


Feature request - Better progress bar while downloading image

Hope there could be a Progress Bar while downloading image

@wakensky Thanks for submitting an issue. We currently have a progress bar (in spinner form).
Are you looking for % sign? More traditional progress bar?

I think this is because we don't show progress for many v2 images - the registry doesn't provide us the total size anymore
0.5.26 should bring back some progress and fix this somewhat, but we're working on improving this by showing per-layer progress

Since we cannot have exact progress for v2 images, one idea could be to have a small progress bar (without showing %) for each image layer.
vague example:


Problem Installing IJulia on Windows 7

Hi,
My problem seems close to Issue #363,  however the patch does not seem to work for me.
When trying to build IJulia, I get the following message:
julia> Pkg.build("IJulia")
INFO: Building WinRPM
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/repomd.xml
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1/repodata/repomd.xml
INFO: Building Nettle
INFO: Building ZMQ
INFO: Building IJulia
INFO: Found Jupyter version 3.2.0: ipython
============================================================================[ ERROR: IJulia ]====================================================================
invalid ASCII sequence
while loading c:\Users\Dimitri Kolnikov.julia\v0.3\IJulia\deps\build.jl, in expression starting on line 64
===============================================================================
and the line 64 in the build file is:
append!(kernelcmd_array, ["-F", joinpath(ijulia_dir,"src","kernel.jl"), "{connection_file}"])
It seems a bit obscure to me...
If somebody could help ...
Thanks in advance ...

I wanted to open the same issue.
I'm using Windows 10, Julia 3.11, Python 2.7, IPython 3.2 and IJulia 1.1.4.
I think the error is due to non ASCII characters in your IJulia directory (home directory). Maybe your user name contains special characters?
I could build Julia after manually writing the kernelcmd_array. But I think this could be done automatically.
Unfortunately joinpath() returns an ASCIIString (line 62 in build.jl) if possible. Using an UTF8String solved the issue for me. But there is no implicit conversion, when calling append!() in line 64.

Thanks for the bug report.  It should be fixed now — try Pkg.checkout("IJulia"); Pkg.build("IJulia") to get the latest version.
The problem was that kernelcmd_array was initialized to an array of a few strings, and then a few more strings were appended.  If the first few strings were ASCII, then it was initialized to an array of ASCIIString, and the error you saw was thrown if the appended strings were non-ASCII.  The solution was to explicitly declare a Unicode string type when initializing the array.

The fix works for me.
Thanks.

It works for me too.
Thanks a lot for your reactivity !


docs: Update ibm_catalog.json

Description
Replace this text with a summary of the changes in this PR. Include why the changes are needed and context about the changes. List required dependencies. If there is a Git issue for the change, please link to it.
Types of changes in this PR
No release required

[ ] Examples or tests (addition or updates of examples or tests)
[x] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other changes that don't affect Terraform code

Release required

[ ] Bug fix (patch release (x.x.X): Change that fixes an issue and is compatible with earlier versions)
[ ] New feature (minor release (x.X.x): Change that adds functionality and is compatible with earlier versions)
[ ] Breaking change (major release (X.x.x): Change that is likely incompatible with previous versions)

Release notes content
Replace this text with information that users need to know about the bug fixes, features, and breaking changes. This information helps the merger write the commit message that is published in the release notes for the module.

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Merge by using "Squash and merge".

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author.
The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).

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

GitHub release
v6.4.0

Your semantic-release bot :package::rocket:

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

GitHub release
v7.0.0

Your semantic-release bot :package::rocket:


2021.3.x non OIDC missing fix

I did some other refactoring to use a common constant for the prefix and moved the logic for checking if the provider is valid into types.
I did a bit of cleaning on updateAuthSettings to initialise rather than assign.
I was beaten to the update by 2 mins and didn't have tests.
Feel free to reject this PR or copy useful bits.

I'm touching this part of the codebase for another feature. Will merge this (parts of it) through that.

Merged.


Upmerge main

This PR merges main in the iac branch, bringing in the latest fixes, including the new assert_invoke_ok() and assert_invoke_exited_with() test helpers.

Codecov Report

Merging #275 (9095ec6) into iac (a28af82) will increase coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              iac     #275      +/-   ##
==========================================
+ Coverage   94.41%   94.51%   +0.10%
==========================================
  Files          74       74
  Lines        2845     2845
==========================================
+ Hits         2686     2689       +3
+ Misses        159      156       -3

Flag
Coverage Δ

unittests
94.51% <ø> (+0.10%)
:arrow_up:

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

Impacted Files
Coverage Δ

ggshield/core/file_utils.py
94.33% <0.00%> (+5.66%)
:arrow_up:

Continue to review full report at Codecov.

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


Planning breaking changes of 0.2.0

I plan to reorganize the lib for 0.2.0, which will resolve in a big load of breaking changes, including:

[x] Give the enum variants proper names (they currently use the names from the C library, which is horrible)
[x] Provide the Serial as input argument of all the callback functions who have it (it can be more useful than I first expected)
[x] Integrate cargo features
[x] feature dlopen to activate the use of dlopen to find the libraries rather than dynamic linking
[x] a feature for each root-level module except core
[x] organize the contents of core in a more clean may (probably a module for each global object and all its children)

Sould be done only once #1 is finished.
It is actually blocking for https://github.com/vberger/wayland-window , so should probably be done faster.

Done.


Wemo Maker's sensor state doesn't set to off in Home Assistant anymore

Home Assistant release with the issue:

0.84.2
Last working Home Assistant release (if known):
before 0.84.0
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io
Component/platform:

wemo
https://www.home-assistant.io/components/wemo/
Description of problem:
Wemo Maker's sensor state doesn't set to off in Home Assistant anymore,
Home Assistant indicates my garage door is open while it's close,
indeed it looks like the sensor state turns to off then immediately goes back to on without triggering the automation.
The only way to make it work is reopen/reclose the garage door a second time.
The sensor states are correctly displayed in the wemo app.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

It weirdly auto solved after 7 days, my history purge is set to 7 days...
Can be related... Or not...

OK, I closed too fast, it looks like it randomly works/ doesn't work.
Will edit the issue post with my automations yaml code in a few minutes to help having this solved ....

After more investigations, it looks like the sensor state is correctly set in Home Assistant,
I suppressed that condition :
 condition:
  - condition: template
    value_template: '{{trigger.from_state.state == ''off'' }}'

Which i set to avoid unwanted "garage door is closed" notifications when the wemo maker had deconnections/ reconnections and the state switches from 'unknown' to 'on'.
It looks like that condition doesn't work well with 0.84.0's Improved state restoring.
I will close the issue in a few days if everything is OK.

Solved : Sensor is a magnet and the magnet has become weak.


Add Accursed Sceptre to the Plugin

The Accursed Sceptre behaves differently from other charged tridents such as a Sanguinesti Staff or Trident of the Swamp. The plugin will typically cause a nylocas to instantly become hidden upon a satisfactory xp drop that registers a kill. However, even with a satisfactory xp drop to kill, the plugin remains incompatible with the Accursed Sceptre and the nylos will remain completely visible. Please fix!

Resolved by #11


AD credentials not working

Implemented smb file share access with AD authentication. Gave my AD account access and can get into the share fine via file explorer. Can even map the drive. However, others users on the network are unable to do so. They have been been given permissions just like I gave myself (smb contributor), but when they are prompted for credentials, it continues to keep prompting as if they are putting in the wrong ones when they are not.  Racking my brain to see what I might have missed.

@mav3rick76 Hope you have self resolved and hence closed the issue. Thanks for the update.
Just FYI, this azure-docs repository deals about feedback related to particular Azure document page (like correcting doc bugs, doc enhancements, product issues related to wrong doc instructions if any, etc.) so next time when you raise an issue here, please share Azure document link / URL to get more context of the issue if it's intended to update / correct / enhance anything in the referred Azure document. Cheers!


Support Default Credentail Provider

Please format both files. We are getting a failed build with this message:
Error:  Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.23.0:validate (default-cli) on project quarkus-logging-cloudwatch: File '/home/runner/work/quarkus-logging-cloudwatch/quarkus-logging-cloudwatch/runtime/src/main/java/io/quarkiverse/logging/cloudwatch/auth/CloudWatchCredentialsProvider.java' has not been previously formatted. Please format file (for example by invoking mvn -f runtime net.revelc.code.formatter:formatter-maven-plugin:2.23.0:format) and commit before running validation! -> [Help 1]

Hi @bennetelli and @gwenneg requested changes are incorporated now

Hi @bennetelli and @gwenneg requested changes are incorporated now

Please run: mvn -f runtime net.revelc.code.formatter:formatter-maven-plugin:2.23.0:format
So the build isn't failing anymore. I am not allowed to format it.

Hi @bennetelli and @gwenneg requested changes are incorporated now

Please run: mvn -f runtime net.revelc.code.formatter:formatter-maven-plugin:2.23.0:format So the build isn't failing anymore. I am not allowed to format it.

I've applied the formatter and also given access to repo


Possible to remove spam model result

Hi!
I don't find any information online about iAsk-Pro. I think this is a scam model. Is it possible for you to remove that from the results? And perhaps also figure out a way to prevent this further on?
Best regards

Hi there, it seems that they are a legit company according to https://iask.ai/. They might have utilized RAG or other approaches.


fix(deps): update module helm.sh/helm/v3 to v3.16.4

This PR contains the following updates:

Package
Type
Update
Change

helm.sh/helm/v3
require
patch
v3.16.3 -> v3.16.4

Release Notes

helm/helm (helm.sh/helm/v3)
v3.16.4: Helm v3.16.4
Compare Source
Helm v3.16.4 is a patch release. Users are encouraged to upgrade for the best experience. Users are encouraged to upgrade for the best experience.
The community keeps growing, and we'd love to see you there!

Join the discussion in Kubernetes Slack:

for questions and just to hang out
for discussing PRs, code, and bugs

Hang out at the Public Developer Call: Thursday, 9:30 Pacific via Zoom
Test, debug, and contribute charts: ArtifactHub/packages

Installation and Upgrading
Download Helm v3.16.4. The common platform binaries are here:

MacOS amd64 (checksum / 8dc25671120a4af197afe7ad9041fb8e1dd71bc01e5ef73dba1139cbc9e9f44b)
MacOS arm64 (checksum / e2442d8f05d53d84c39b869bc5fe5affad247ee2f4c706a040919c146edb1f94)
Linux amd64 (checksum / fc307327959aa38ed8f9f7e66d45492bb022a66c3e5da6063958254b9767d179)
Linux arm (checksum / 432e774d1087d3773737888d384c62477b399227662b42cbf0c32e95e6e72556)
Linux arm64 (checksum / d3f8f15b3d9ec8c8678fbf3280c3e5902efabe5912e2f9fcf29107efbc8ead69)
Linux i386 (checksum / 6022b34e165a5196827043c77bcd1fa28ef48109b3a4af46e8660ddb0a6c44e0)
Linux ppc64le (checksum / 0ba4375a6dcf6117a8e7729fbed36d9220f8ad98dbc7aabc16186f22917caead)
Linux s390x (checksum / 10b88dc2afd97267feba8283d58dcb1c937defb7df8de152c86b60aaece47d59)
Linux riscv64 (checksum / e733c727de7644cfeb25b094e1f0a56c53a7cb437c93c992aa92e6c7b9f6af93)
Windows amd64 (checksum / 9bb114c12e530a7129fd3d78fc1784e813dd7a6e29e5f9b5af8bc83fd1066d36)
Windows arm64 (checksum / a4afeee93031920ec08b7e880c859a159bcd222837a81196cadaeb42408ad0b3)

This release was signed with 672C 657B E06B 4B30 969C 4A57 4614 49C2 5E36 B98E  and can be found at @mattfarina keybase account. Please use the attached signatures for verifying this release using gpg.
The Quickstart Guide will get you going from there. For upgrade instructions or detailed installation notes, check the install guide. You can also use a script to install on any system with bash.
What's Next

3.17.0 is the next feature release and will be on January 15, 2025

Changelog

Bump golang.org/x/crypto from 0.30.0 to 0.31.0 7877b45 (dependabot[bot])
Bump the k8s-io group with 7 updates 848e586 (dependabot[bot])

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

5 additional dependencies were updated

Details:

Package
Change

golang.org/x/crypto
v0.29.0 -> v0.31.0

golang.org/x/sync
v0.9.0 -> v0.10.0

golang.org/x/sys
v0.27.0 -> v0.28.0

golang.org/x/term
v0.26.0 -> v0.27.0

golang.org/x/text
v0.20.0 -> v0.21.0


compatibility fixes only

@clebertsuconic you still working on this?

@michaelandrepearce I will refactor the whole thing... I sent a new PR for what I need now.. and i will redesign this later.
I will probably go with 1.x extensions.. but I'm still thinking about it.
Change anything on the JMS layer requires at least a run of 24 hours on TCK  (that's how long it takes).


'python.datascience.execSelectionInteractive' not found

Issue Type: Bug
I have a keybinding to execute the current selection in a python interactive window. It recently stopped working, and it seems like 'python.datascience.execSelectionInteractive' no longer appears to exist.
To reproduce:
Add this to keybindings.json:
{
"key": "cmd+enter",
"command": "python.datascience.execSelectionInteractive"
}
Expected results: cmd+enter executes the current selection in an interactive window
Actual results:
command 'python.datascience.execSelectionInteractive' not found
I also do not see any settings anymore when I search "data science" in settings, which may be related.
Extension version: 2020.11.358366026
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-11T01:11:34.018Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 4, 6

Memory (System)
8.00GB (0.10GB free)

Process Argv
--crash-reporter-id 6cc1787e-c794-4061-b789-b89d2432cd77

Screen Reader
no

VM
0%

Same issue here.

Sorry this is a result of our porting settings during the switch to the Jupyter Extension. See this issue:
#1089


Avoid downcasing facts in service provider

If the os.name or os.family fact is missing this will result in nil.downcase. In practice that's unlikely, but in some test scenarios it can happen. By using the properly cased values it removes the need to downcase, which is also slightly faster.

Can one of the admins verify this patch?

hey @ekohl, the issue was magically fixed in https://github.com/voxpupuli/puppet-keepalived/pull/293. I rebased the PR and the tests pass now. I saw other modules recently with the same error, but I cannot find those anymore... Do you remember where it happened?

I've seen it locally when some facts weren't present. I also just saw it in https://github.com/theforeman/puppet-qpid/pull/187 and can't quite explain it. My theory is that the provider is loaded before the facts are overridden in CI and then the provider is determined. Perhaps a proper solution is to use a callable so it resolves at the correct time. That appears to be supported.

Retriggering checks

The 7.x branch has conflicts: there it uses the legacy facts by default. I've created  https://github.com/puppetlabs/puppet/pull/9082 as a new PR instead of retargetting this PR.


Support expected_tags_duration for journald logs

What does this PR do?
This PR adds support for logs_config.expected_tags_duration to journald log sources. When this setting is configured, host tags will be attached to logs for the configured period of time.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Install the agent on a linux system with systemd (ubuntu works)
configure journald log collection
configure logs_config.expected_tags_duration to some value like: 1m
configure tags: foo:bar in the datadog.yaml to add some host tags
Run the agent and start agent stream-logs
Before the timeout is reached, emit some logs to journald (systemd-cat echo "Hello Journal"). Confirm that the tags foo:bar are present.
After the timeout as expired, emit more logs and confirm the host tags are no longer present on the log messages.

/merge


Require

Project title
Require
Project Description
Explaining what is require and how to use it in our code , because it is very important to know .
Domain

[x] Solidity

Are you contributing under any open-source program ?
SSOC

It Already  present  Go and check if that file contains some bugs then raise a issue to correct that file .

@Vikash-8090-Yadav  Can you tell where it is present I cant find it in any folder

@Vikash-8090-Yadav  Can you tell where it is present I cant find it in any folder

ok then create a p.r for this file


Addition of custom option

Hi,
did you consider the possibility to add custom options to the dropdown?
We require this feature for an application we are developing... something similar to what is doing this component  where is possbile to add a custom option in the select component.
Thanks in advance for the support :)

No news?

Similar features are available by the use of settings configuration object.


Add and implement set operations.

SetAdd - adds item to a set.
SetMembers - retrieves all items from a set.
The main question is, do you think it's a good interface for that? Maybe I should expose map[string]bool directly? But I wanted to keep it generic, which isn't pretty in Go.

Exposing a generic interface is great, you have done the right choice.
Merging this PR, thank you for your work


Phased Rollout Notifications

Background
Apple has a phased rollout capability where it will automatically roll an app out to an increasing percentage of its audience whom use automatic app updates. The %'s are static and chosen by Apple, as a developer we can push it to 100% of users at any time during the rollout and we can also pause the rollout at anytime which stops any more users from getting the automatic update.
Request
When Apple changes the % of whom get the rollout, a notification should be sent like:
"App Name has rolled out to 5% of users"
"App Name has finished rollout and is available to 100% of users"
When a developer pushed a release to 100%, a notification should be sent like:
"App Name has been pushed to 100% of users"
When a developer paused a release, a notification should be sent like:
"The rollout of App Name has been paused at 5% of users"
When a developer resumes a release after being paused, a notification should be sent like:
"The rollout of App Name has been resumed. Currently at 5% of users"
Source
https://twitter.com/JamesSherlouk/status/1305287338826911745

The %'s are static and chosen by Apple

We don't use phased rollouts in our company so I had no idea about this - interesting!
A few notes:

From what I checked so far, we can definitely check for transitions using polling and saving the previous states to know when a state changes. That means we can detect state changes e.g. "ongoing → paused", "paused → resumed", "ongoing → completed", etc, within a given acceptable and configurable delay. However, I don't think we can determine whether the "completed" status was reached by natural phased rollout, or if it was forced by a user. I imagine that this is not too much of a big deal, but I'd like to confirm with you if this is worth some digging @Sherlouk
As we discussed on Twitter, I haven't seen any existing code in fastlane that seems to support reading the percentage of the current phased rollout release. This needs further digging, but if fastlane doesn't support this out of the box, my gut feeling is that this is possible but will require implementing new feature directly within fastlane itself. Luckily, fastlane is open source 😜

That being said, I suggest dividing this feature request into two tasks: sending notifications when statuses change, and informing the percentage of the phased release.

Appreciate the response there Roger!
Agreed we should handle this as multiple tasks, and I don't think having no distinction between completing naturally and via developers actions is a showstopper issue though once we work out how to get the % this shouldn't be hard to work out! (If % == 100% and status == completed)

Wait, wouldn't % == 100 && status == completed be the case in both scenarios?

Either way not a massive concern for what I'm praying for here - the daily % updates and the pause/resume/completed are the most important 👀🙏🏼

Wondering if there’s been any movement on this in the last year

Not from me I'm afraid, but I'd still love it!

Unfortunately not. I don't plan to work on this any time soon, so if anyone has appetite to tackle this task, PRs are always super welcome! 😊

I'm new to the App Store api and I was looking through Fastlane's docs and can't seem to find if it's already added there or even if it is possible. The App Store api docs look promising.

From my comment here: https://github.com/rogerluan/app-store-connect-notifier/issues/12#issuecomment-692281260

I haven't seen any existing code in fastlane that seems to support reading the percentage of the current phased rollout release. This needs further digging, but if fastlane doesn't support this out of the box, my gut feeling is that this is possible but will require implementing new feature directly within fastlane itself. Luckily, fastlane is open source 😜

It's possible that since I posted that comment, fastlane has implemented this feature already. Very likely, I'd say. 😊