Parser Issue.

So I'm getting some issues with the application when I try to run it. After installation and setup, I browse to the folder where "cim.py" is held. After putting in:
sudo python cim.py win7 /path/to/file
I'm getting the error "ValueError: Attempted relative import in non-package"
So, I try python 3. Same command as above, except i use python3 instead. Then I get the error "ImportError: No module named 'funcy'". After reviewing the code of the parser, it looks like there is, in fact, a module named 'funcy'. Any thoughts as to how to get it working? Thanks!

Can you provide some details about your OS? If you're able to run an Ubuntu VM, you can use the following script to do all the installation and setup for you:
https://gist.github.com/williballenthin/c14c4f960e25b8ab1cff
Otherwise, I can try to help ensure you have the environment setup correctly.

Hello,
Thanks for getting back to me so quick. I'm running a, sort of, custom build of Debian Linux 8.2 (Jessie). Any thoughts on that?
All the best,
Liam P. Callaghan
Network+
(413) 441-8056

On Oct 7, 2015, at 5:38 AM, Willi Ballenthin<EMAIL_ADDRESS>wrote:
Can you provide some details about your OS? If you're able to run an Ubuntu VM, you can use the following script to do all the installation and setup for you:
https://gist.github.com/williballenthin/c14c4f960e25b8ab1cff
Otherwise, I can try to help ensure you have the environment setup correctly.
—
Reply to this email directly or view it on GitHub.

Ok, then there's a good chance that the script should work. I'd recommend copy/pasting the commands into a terminal one by one and ensuring they all complete successfully. Things to watch out for:

that it is python3.4 that you install (not sure what Jessie is on)
the paths used in lines 10 and 11. if they don't exist precisely as listed, see if there are files with a similar name (possibly slightly different version string) and use those

FreePatriot, did you get this resolved?
@williballenthin - I am having the same error as FreePatriot. I'm running Ubuntu 14.04 x64, with Python 2.7.6. I have used the script you posted above, and am browsing to /home/user/flare-wmi/python-cim, then running:
sudo python cim.py win7 /path/to/wbem
Precise error is:
Traceback (most recent call last):
File "cim.py", line 10, in
from .common import h
ValueError: Attempted relative import in non-package
Lines 10 and 11 of cim.py:
from .common import h
from .common import LoggingObject
What should I amend these to in order for this to work for me?
Cheers!
A

@BannersSecret cim.py is not a standalone script, and it's code is not meant to be run outside of a package. What happens if you run:
python samples/list.py win7 /path/to/wbem

Thanks for coming back to me so quickly. When I run that, I get:
Traceback (most recent call last):
File "samples/list.py", line 29, in
main(*sys.argv[1:])
File "samples/list.py", line 22, in main
tree = Tree(c)
File "/usr/local/lib/python2.7/dist-packages/cim/objects.py", line 1577, in init
self._object_resolver = ObjectResolver(cim, Index(cim.cim_type, cim.logical_index_store))
File "/usr/local/lib/python2.7/dist-packages/funcy/objects.py", line 25, in get
res = instance.dict[self.fget.name] = self.fget(instance)
File "/usr/local/lib/python2.7/dist-packages/cim/cim.py", line 774, in logical_index_store
return LogicalIndexStore(self, self._index_file_path, self.index_mapping)
File "/usr/local/lib/python2.7/dist-packages/cim/cim.py", line 765, in index_mapping
_, current_index_mapping = self.mappings
File "/usr/local/lib/python2.7/dist-packages/funcy/objects.py", line 25, in get
res = instance.dict[self.fget.name] = self.fget(instance)
File "/usr/local/lib/python2.7/dist-packages/cim/cim.py", line 746, in mappings
fp = self._current_mapping_file
File "/usr/local/lib/python2.7/dist-packages/funcy/objects.py", line 25, in get
res = instance.dict[self.fget.name] = self.fget(instance)
File "/usr/local/lib/python2.7/dist-packages/cim/cim.py", line 739, in _current_mapping_file
raise MissingMappingFileError()
cim.cim.MissingMappingFileError
The 'wbem' folder contains all the files extracted from that folder on the suspect machine. Have I done that right.....?
Thanks again for your help.

Ok, great. If you're getting this error, that means the package is at least installed correctly. That's the good news. The new error is a different issue.
I'm going to migrate this question to a new issue since to separate the questions and answers provided here on GitHub. I'll provide a link in a sec.


Live demo of v1.0.0 alpha

YEAH!!!
On 9/22/15 16:10, Lou Huang wrote:

    You can view, comment on, or merge this pull request online at:

https://github.com/pelias/leaflet-geocoder/pull/43
    Commit Summary

:closed_lock_with_key: Demo site works over HTTPS

:memo: Updated README to reflect protol agnostic resources
(HTTPS/HTTP)

Merge pull request #15 from pelias/protocol-agnostic

active development warning

:rotating_light: Emoji Alert :rotating_light:

Merge pull request #16 from pelias/louh-patch-1

Support module loading systems. Introduce strict mode

Use Leaflet plugin default folder structure. (See issue #19)

Add package.json for NPM publishing. (See issue #18)

Add bower.json scaffolding

Add minimum viable Pelias demo.

Remove doubled up drop shadow. Alias L.Util.limitExecByInterval
instead of creating new prototype method. CSS cleanup

Close icon image in CSS instead of JS, assume positioning based on
arbitrary height of input box

Remove extra  whoops

Namespace .pelias-* classes to .leaflet-pelias-*

Make close button a text element (like other Leaflet controls),
deprecate X image

Change Bower/npm package name to pelias-leaflet-geocoder

Search icon as a separate DOM element

Remove hide_other_controls feature

Fix close button appearing/disappearing at wrong times

Fix esc key not working as expected when input contains less than
3 characters

Do not hide close button if results dropdown is still visible

add semistandard for code style

Add separate examples with Leaflet v1 and Tangram

Add leaflet-hash to a couple of examples to test it

Call this branch 1.0.0-alpha

Use camelCase for options and properties

Semistandard JS formatting

Add examples for repositioning geocoder elsewhere

Fix comments

Demo site uses Tangram layer

Relink image files for demo page

Resize search icons to exact size for max compatibility. Add old
IE controls border

Example for changing the appearance of the search icon when
control is expanded

Also add that to the main demo

Update README

Update README

Optimize loading GIF and make it work in old IE

Add how to remove attribution

Set up plugin to expect an API key

Explain options in README. Allow markers to be customizable.

Update README. Considering deprecating fullWidth

Update README

Accept null as a valid placeholder value

Fix typo. Fix results clearing logic. Streamline placeholder
setting. Prevent lack of input from sending queries to Pelias.

Collapsed button should match leaflet

Allow search icon to toggle state if expanded setting is false

input fullwidth setting can now customize its breakpoint.
Breakpoint based on map width, not window width.

map.invalidateSize() should not refer to global map

Update Changelog

Collapse on input blur if there is nothing in the input

Dropdown in leaflet-touch style should match UI

hover color is slightly lighter than selected, closes #30

Improve handling of collapsing input bar when empty and user
interacts with the map

Make demos mobile friendly

results box border-radius tweak. Fix a strict mode issue in
Firefox with function declaration

Fix an edge case where results container could be displayed with
zero results

Geocoder placed on bottom should now open results in the correct
position, closes #28

Update CHANGELOG

Fix bug where input saves a previously selected result on blur

Mobile margin and z-index tweak

Jake scaffold with linting

Rename img folder to images to match Leaflet folder structure

Add testing infrastructure

Small administrative edits

Fix various CSS issues

Fix expanded input style on touch

If expanded is true, clicking search icon focuses on input

Change Tangram styles, add attribution

Add circle.yml

Global jake install in circleCI

Specify Leaflet as a peerDependency in package.json

Improve vertical centering of close icon

Add note in README on advanced (programmatic) usage

Copy edit README

Add note on browser support

Pseudo selectors require one colon in IE8

Add some more geocoder tests

Update and fix tests

Merge pull request #33 from pelias/test

Separate lint from test in Jake. Remove unused file in Karma

Loading icon should not continue spinning if there is an error

New tests

Add hipster badge for tests

It is pretty important that we use the nyan reporter on karma

Title property can be disabled by setting to blank or null.

Moar tests.

Remove right radii on search icon when input is expanded

Streamline positioning CSS

Add XDR for IE8 and 9

Small refactor in results loop. Call out the expanded results list
bottom margin magic number

Style tweaks

Fix lint errors

Clear results when input is reset. Fixes #35

Fix border radius on close button. Prevent errors thrown if
up/down key is pressed while input is focused and there are no results

Fix stuff

Add autosuggest boolean option. Fix close icon visibility state
when control is collapsed.

For demo site, move control above zoom and add example README
explaining how to do this

Update README

Finish IE8 compatibility. Fix bug where mouse-selecting a result
can close a Leaflet popup

Separate out the API throttle magic number

Bump demos and examples to Leaflet 0.7.5

Merge branch 'v1.0.0-alpha' of github.com:pelias/leaflet-geocoder
into v1.0.0-alpha

Namespace layer icon styles. Allow icons to be falsy. Fix demos.

Tell Circle to install a specific version of Leaflet for tests and
also report what version it is testing against

Tell Circle to install specific version of Leaflet after all other
dependencies

You can totally use this with mapbox.js

Bump deps

Mapzen search v1 API is a go

Bump dependencies

Fallback messages for non-WebGL browsers

Transition layers behavior to search v1. Rename suggest to
autocomplete.

Redo v1 parameters. Add some error handling.

--
David Riordan | Product Manager - Search | Mapzen
<EMAIL_ADDRESS>| @riordan | gpg 235D 9DC9 5EF6 277C
https://mapzen.com | @mapzen


Configure a credential helper to revoke exposure of PAT

Warning from Github action workflow building the docker image and deploying to Azure.
WARNING! Your password will be stored unencrypted in /home/runner/.docker/config.json.
 Configure a credential helper to remove this warning.
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Rotate PAT

I think I may have fixed this, not 100% certain though


Not support ruby 2.7.1

The project was unable to compile i got an error.
  In Gemfile:
    Ruby (~> 2.7.1)

    sablon (= 0.1.0) was resolved to 0.1.0, which depends on
nokogiri (>= 1.6.0) was resolved to 1.16.7, which depends
on
        Ruby (>= 3.0.0)```

Is it your Gemfile?
there is no Ruby 2 requirement in the current sablon's file:
https://github.com/senny/sablon/blob/master/Gemfile
You should just upgrade it to Ruby 3.


PSArm affecting help

PS> help about_operators
Exception: Not enough parameters provided

PS> gerr

Exception             :
    Type                        : System.Management.Automation.RuntimeException
    ErrorRecord                 :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : Not enough parameters provided
            HResult : -2146233087
        CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : RuntimeException
    WasThrownFromThrowStatement : True
    Message                     : Not enough parameters provided
    HResult                     : -2146233087
TargetObject          : Not enough parameters provided
CategoryInfo          : OperationStopped: (Not enough parameters provided:String) [], RuntimeException
FullyQualifiedErrorId : Not enough parameters provided
InvocationInfo        :
    ScriptLineNumber : 257
    OffsetInLine     : 28
    HistoryId        : -1
    ScriptName       : /Users/steve/.local/share/powershell/Modules/PSArm/0.1.0/ArmBuiltins.psm1
    Line             : if ($args.Count -lt 2){ throw 'Not enough parameters provided' }

    PositionMessage  : At /Users/steve/.local/share/powershell/Modules/PSArm/0.1.0/ArmBuiltins.psm1:257 char:28
                       +    if ($args.Count -lt 2){ throw 'Not enough parameters provided' }
                       +                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PSScriptRoot     : /Users/steve/.local/share/powershell/Modules/PSArm/0.1.0
    PSCommandPath    : /Users/steve/.local/share/powershell/Modules/PSArm/0.1.0/ArmBuiltins.psm1
    CommandOrigin    : Internal
ScriptStackTrace      : at less, /Users/steve/.local/share/powershell/Modules/PSArm/0.1.0/ArmBuiltins.psm1: line 257
                        at <ScriptBlock>, <No file>: line 144
                        at <ScriptBlock>, <No file>: line 1

Get-Help does work, but for some reason the help function calls into PSArm

What does gcm help tell you?

This is currently by design then -- those functions take the same names as ARM expression functions.
We could theoretically only define those functions within Arm blocks, but I'm not sure if we should

Since arm expression functions could overlap with any existing command, it seems preferable for those to only exist within Arm blocks, if possible.  What would be the downside to that approach?

The only drawback I see is if you wanted to evaluate resources outside an ARM block.
Even with this change though you could still write those definitions in a separate script. You just wouldn't be able to evaluate them properly outside an ARM block.
It would be a pretty subtle behaviour, but perhaps only as subtle as anything else in the DSL.

The other option, which I don't like, is to prefix any conflicting functions.  So in this specific case it would be armhelp I guess which is pretty ugly.  Or maybe better to have a suffix to not re-order the intellisense help-arm which is pretty bad, too.

Yeah I definitely prefer the scoping option too


There is an ability to exceed character limit

After we reach character limit, we keep going to tap keyboard simultaneously pressing enter+any character, we can add more characters to the editor.
I reproduce even on the  demo page:
http://w8tcha.github.io/CKEditor-WordCount-Plugin/

I've tired to prove you.
But still plugin doesn't work.

Well this is the same problem as #198 the current delay of 250 ms is causing this. if you dont like it you can set the value to 0 but this would make the plugin unstable and is causing memory leaks. If thats what you want no problem.

@w8tcha how to reduce the delay?

@w8tcha how to reduce the delay?

It doesnt seem to really work with the reduces delay. but i committed a fix for that issue


Fixed crash around customizing NSURLCache size for < iOS 8.2

See #3594.
Rebased with master here to get proper test coverage before merging, and added comments.

Current coverage is 87.48% (diff: 88.88%)

Merging #3735 into master will increase coverage by <.01%

@@             master      #3735   diff @@
==========================================
  Files            45         45
  Lines          6215       6224     +9
  Methods        1099       1099
  Messages          0          0
  Branches        413        414     +1
==========================================
+ Hits           5437       5445     +8
- Misses          775        776     +1
  Partials          3          3

Powered by Codecov. Last update 7118eb6...b36f0ed


"'ExceptHandler' object has no attribute 'depth'"

With Python 3.7 on Ubuntu 16.04, flake8-bandit will fail on the following test script:
def test():
    try:
        a = A()
        a = A()
    except A:
        pass

with the following output:
"pyflakes" failed during execution due to "'ExceptHandler' object has no attribute 'depth'"
Run flake8 with greater verbosity to see more details

Verbose doesn't help with finding out any additional info:
https://hastebin.com/suxebuxebo.txt
This issue only occurs with flake8-bandit installed, and occurs with all versions after 1.0.2. Pinning to 1.0.2 does not cause the same issue, but this isn't a great resolution.
I have tried reproducing the issue on an arch based environment without luck, as it only seems to occur on Ubuntu 16.04.

Do you know what "Plugin F" is?
flake8-bandit registers with plugin prefix S and it appears this is being thrown by the plugin registered with prefix F, which could potentially be a dependency of this plugin (and thus why it doesn't happen after you remove flake8-bandit).

if you're interested, I've triaged this here: https://gitlab.com/pycqa/flake8/issues/536

Thanks @asottile for the triage. Super helpful.
I will try to dig into some of this and see if I can get a patch fix in. Thinking it may be possible to reload the import packages so they aren't monkeypatched after performing the bandit analysis.
I will try to take a look here soon. 👍

It's not the actual packages unfortunately, but the data of the tree object that gets passed through

A bug has been created here and we will track the progress there.
I will leave this open until that issue is closed.

This has been fixed in Bandit 487 and will be released in the next fix version 1.6.1.
Closing this as there is nothing additional that needs to happen on this ticket

:clap: :clap: :clap: thanks for following this through!  the flake8 ecosystem thanks you


Update year in README

This probably needs to be changed again :smile_cat:

Should probably update for 2018...??

@joshbruce Merry Christmas #986


x/pkgsite: standard lib symbol available version does not have same behavior across packages

What is the URL of the page with the issue?
https://pkg.go.dev/context#Context
What is your user agent?
N/A
Screenshot
Standard Library Type:

From package crypto https://pkg.go.dev/crypto#Decrypter
From package context https://pkg.go.dev/context#Context

Method Library Type:

From package crypto/rsa https://pkg.go.dev/crypto/rsa#PrivateKey.Decrypt
From pacakge go/types https://pkg.go.dev/go/types#Alias.Obj

What did you do?
N/A
What did you see happen?
The content added in go1.5 in the website is not available across all the pkg.go.dev. As provided by the screenshot, all four symbols, are introduced in go1.5 but two of them have the added in go1.5 comment but two of them do not.
What did you expect to see?
User should be able to expect the comment to be there for all symbols that is not available starting 1.0 (the original version)
Or very clearly have a version say 1.10. Any symbol that introduced before 1.10 will be ignored from the pkg.go.dev and any symbol that introduced after 1.10 will be there.

Related Issues

x/pkgsite: show the stdlib/module version when a symbol was added #42933 (closed)
x/pkgsite: show the version when a symbol was added to a package #37102 (closed)
x/pkgsite: list vulnerabilities for standard libraries #54843 (closed)
x/pkgsite: show "Added in go.1.x" for each std package as a whole #68098 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Duplicate of #51013


Repos - support Git repos

rancher/rancher:master-3426-head
The UI needs to be updated to support adding repos with git URL and branch.
the backend is already in. see  …/v1/schemas/catalog.cattle.io.v1.repo.spec for details.

Looks available:

Validated on master-d19f179c4ff15bb782e27ed50d33d169dad79f80-head
we can add Git Repos now either as Form or as Yaml
and the apps show in the list


ci(transformer): run transformer tests under Miri

Transformer tests include tests for unsafe code in Stack and NonEmptyStack. Run these tests under Miri.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6112  👈
#6110
#6111
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

@Boshen Miri CI job goes from 3m30s to 4m10s (Miri so slow). Is that a problem? If we want to keep it down to minimum, we could shard it?
Note: Once we have removed the last AstBuilder::copy calls, it'd be good to add more tests that exercise Traverse and run those tests under Miri. So this isn't purely to run Miri on Stack.


Adding some information on the Workflow Run trigger

Adding information about when the workflow_run triggers - this should be helpful for people who don't know it will only run in the default branch

Sorry, does it mean the following considerations?

A workflow of workflow_run is triggered for any event.
A workflow of workflow_run is evaluated in the default branch. For changing the options of this action, we need to change the default branch.

Mainly that the workflow_run trigger is only evaluated from the default branch. You can specify what branches and such.
I think for people when they add it to their repo may be confused by the fact that it won't trigger in a pullrequest or in a different branch.
So for example:

I add this in my feature/datadog-metrics branch for repo X
I make a pull request and am not sure why the trigger is not happening.

Not sure if my wording in the pr is great let me know at @int128

Gonna close this as we aren't using this anymore and clearing up my repos


[DOC] Improve help message

Description
Improve help message of --data and --data_eval arguments.

Found link check problems in job PR-855/1:
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-855/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-855/1/index.html

Please fix lint
************* Module scripts.bert.pretraining_utils
scripts/bert/pretraining_utils.py:463:0: C0301: Line too long (112/100) (line-too-long)
scripts/bert/pretraining_utils.py:466:0: C0301: Line too long (112/100) (line-too-long)

Found link check problems in job PR-855/2:
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-855/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-855/2/index.html


rfc: Inconsistence of NavMenu Item Background

There is noticeable background for NavMenu Item, which is set as --neutral-fill-stealth-rest. But the default background of body is --neutral-fill-layer-rest which results in color difference. For demo document site, the background color is manually set as --neutral-layer-1 to make nav and content have the same background. Isn't this weird?

Hello!
Could you adapt the issue to the template/format available? Since there is information and details that you did not provide, such as the version of the library you are using or a way to replicate it.
In the attached screenshot, taken a few moments ago, of the 4.0 version of the library and available on fluentui-blazor.net, I can't see the bug in the design tokens.
Best regards!

It is not a bug. It is a design choice I made which can be overruled by styling. Closing this as not actionable.


[Codegen] Remove compile_enginer header

compile_engine.h doesn't need to be included after the compile engine refactoring (if we add tec namespace in some places).
cc @jroesch @electriclilies

Thanks @junrushao1994! should be fixed. :)


KON-365 Add indirectParents=false Parameter

Merge after https://github.com/LemonAppDev/konsist/pull/709

@igorwojda I added duplicate methods to KoParentClassProvider (for the parentClass property and the parentClasses(indirectParents) method). Try using these methods to see which items should be kept and which should be removed


Mark UWP API's allowed in Windows 10240

These API's are allowed in UWP since the first Windows 10 build.

Thanks!


cast to string for dict lookups

Looks fine to me. Ready to merge?

Yes. I'll merge it as this fixes another PR of mine that will also need to be merged soon.


fails on linux (CentOS)

powershell is installed as /usr/bin/pwsh
seems that in PowerShell.java it should be :
pb = new ProcessBuilder(powerShellExecutable,"-nologo","-noexit","-Command", "-");
instead of :
pb = new ProcessBuilder(String.format("%s -nologo -noexit -Command -", powerShellExecutable));

Thanks for this feedback. I will try to fix it quickly.


string created by strftime can't be parsed by strptime

Describe the bug, including details regarding any error messages, version, and platform.

pa.compute.strftime(pd.Timestamp.utcnow(), "%Y-%m-%d %z")
<pyarrow.StringScalar: '2024-02-21 +0000'>
pa.compute.strptime('2024-02-21 +0000', "%Y-%m-%d %z", "ns")
Traceback (most recent call last):
File "", line 1, in
File "D:\pd_dev_1208\Lib\site-packages\pyarrow\compute.py", line 263, in wrapper
return func.call(args, options, memory_pool)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pyarrow_compute.pyx", line 385, in pyarrow._compute.Function.call
File "pyarrow\error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow\error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Failed to parse string: '2024-02-21 +0000' as a scalar of type timestamp[ns]

Component(s)
C++, Python

Which version of pyarrow are you using? For me, using the latest dev version, this seems to work fine:
In [8]: pa.compute.strftime(pd.Timestamp.utcnow(), "%Y-%m-%d %z")
Out[8]: <pyarrow.StringScalar: '2024-02-27 +0000'>

In [9]: pa.compute.strptime('2024-02-21 +0000', "%Y-%m-%d %z", "ns")
Out[9]: <pyarrow.TimestampScalar: '2024-02-21T00:00:00.000000000+0000'>

Ah, and potentially the platform is more relevant information. I suppose you are using Windows (from the file paths)?
For Windows, we have a vendored implementation for strptime, while for unix we use the system's one, I think

Yes windows.


Aligned package.json export strategies with base @hashgraph/sdk

We need to test these in CommonJS scenarios (nodejs with require) before merging.
... tests look green.

.cjs looks good (tested via the strato-rollup plugin repo). I think we can review this now.


Update documentation for app/rss

The previous recommendation for (setq elfeed-seearch-filter "") was
not working. This PR addresses that by exposing a new variable
+rss-initial-search-filter that can be overwritten by the user in
their config.el. This also updates the documentation to reflect the
change and clean up a bit of the wording, removing template comments.

The canonical way to reconfigure packages is with (after! PACKAGE ...). Have you tried this?
(after! elfeed
  (setq elfeed-search-filter ""))

Looks like that did the trick. I'll pull the code and just update docs.

Updated the PR title to accurately reflect the changes now in only documentation.

Thanks!


issue credits

issue 10000 credits to @ctessum

 Follow up
On Monday, 26-Feb-24 14:40:29 UTC by Gov4Git dev
Issued 10000 credits to member @ctessum.


redact even more passwords

What does this PR change?
Redact passwords in trace mode from api call.
Test coverage

Unit tests were added

[X] DONE

Links
Issue(s): #

[X] DONE

Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:

[ ] No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)
Before you merge
Check How to branch and merge properly!

sorry, we need a changelog, we already tagged uyuni-tools

It's already there :coffee:


Inductive Models Question

Really excited to try out this library! I was curious if any of the built-in models are inductive and able to generate embeddings for nodes that are new to networks?

Thanks for your interest in our work!  Actually, the models we currently include only support transductive reasoning, and we will continue to expand our model library and reproduce those models for inductive learning.

Hi Alex, we have released NeuralKG-ind (https://github.com/zjukg/NeuralKG/tree/ind) for inductive knowledge graph representation learning. Welcome to try ;)

Thanks so much for letting me know! Excited to check it out!
On Fri, May 26, 2023 at 3:30 AM wencolani @.***> wrote:

Hi Alex, we have released NeuralKG-ind (
https://github.com/zjukg/NeuralKG/tree/ind) for inductive knowledge graph
representation learning. Welcome to try ;)
—
Reply to this email directly, view it on GitHub
https://github.com/zjukg/NeuralKG/issues/1#issuecomment-1564010746, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFIYWOOY6O34YLYRFNBHZJLXIBS2PANCNFSM5QHOL4JQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Include value for new dropdown

Take into account the new option "Where are you machines located?"

@andresnava : Thanks for your contribution to the Azure documentation! The author, @rayne-wiselman, has been notified to review your proposed change.

This article has been superseded by new tutorial walkthrough at https://docs.microsoft.com/en-us/azure/site-recovery/tutorial-physical-to-azure. Please close this PR

Please close. This is no longer relevant. Superseded by new tutorial at https://docs.microsoft.com/en-us/azure/site-recovery/tutorial-physical-to-azure

#please-close


⚠ Bofrost.be has degraded performance

In d49db21, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1055 ms

Resolved: Bofrost.be performance has improved in 2bb9fbb after 19 minutes.


Display default project value while creating a component interactively

What type of PR is this?
/kind bug
What does this PR do / why we need it:
This PR fixes the missing default project value while creating a component interactively,
Which issue(s) this PR fixes:
Fixes #?
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:
Deleted KUBECONFIG:

mv $HOME/.kube/config $HOME/.kube/movedConfig
odo create - After entering component type and name, check if the current project shows up in while entering the project value, in this case it should be an empty string.$ odo create
? Which devfile component type do you wish to create  [Use arrows to move, ent? Which devfile component type do you wish to create java-maven
? What do you wish to name the new devfile component java-maven
? What project do you want the devfile component to be created in

Logged out of the cluster

odo logout.
Run odo create interactively like above and check if the current project shows up in the default project value.$ odo create
? Which devfile component type do you wish to create  [Use arrows to move, ent? Which devfile component type do you wish to create java-maven
? What do you wish to name the new devfile component java-maven
? What project do you want the devfile component to be created in (default)

Logged into the cluster

odo login -uuser -ppwd <cluster_url>
Run odo create interactively like above and check if the current project shows up in the default project value.$ odo create
? Which devfile component type do you wish to create  [Use arrows to move, ent? Which devfile component type do you wish to create java-maven
? What do you wish to name the new devfile component java-maven
? What project do you want the devfile component to be created in (default)

/approve


Asset search is case sensitive

If you provide the incorrect asset case sensitivity the asset's details don't load.

In fact, this case-sensitivity applies to accounts, markets & assets.

this has been fixed:
http://open-explorer.io/#/assets/bts
http://open-explorer.io/#/assets/BTS
http://open-explorer.io/#/accounts/stan
http://open-explorer.io/#/accounts/STaN
http://open-explorer.io/#/markets/CNY/BTS
http://open-explorer.io/#/markets/cNy/btS

Great work 👍


No train.py  file

Hello, i can not find any train.py  in folder

Oops just seen that my git push hasn't worked.
Uploaded a new version right now ;)

Oops just seen that my git push hasn't worked.
Uploaded a new version right now ;)


WSL: Why Azure CLI is too slow at each command execution?

Describe the bug
It's not exactly a bug but every command at PowerShell or Bash in WSL is too slow, I know that every command is making a web-api request call but is really sad this api call is causing too much delay.
I don't know if I am at Brazil and the all api calls is from US and those internet latence is the cause but is really bad.

Expected behavior
I don't know, but some loading indicator or proxy all api request call near Brazil...
Environment summary
Windows 10 with PowerShell and WSL
λ  az --version
azure-cli (2.0.46)

acr (2.1.5)
acs (2.3.4)
advisor (0.6.0)
ams (0.2.3)
appservice (0.2.4)
backup (1.2.1)
batch (3.4.0)
batchai (0.4.3)
billing (0.2.0)
botservice (0.1.1)
cdn (0.1.1)
cloud (2.1.0)
cognitiveservices (0.2.3)
command-modules-nspkg (2.0.2)
configure (2.0.18)
consumption (0.4.0)
container (0.3.4)
core (2.0.46)
cosmosdb (0.2.1)
dla (0.2.3)
dls (0.1.3)
dms (0.1.1)
eventgrid (0.2.0)
eventhubs (0.2.4)
extension (0.2.1)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.30)
iot (0.3.2)
iotcentral (0.1.2)
keyvault (2.2.3)
lab (0.1.1)
maps (0.3.2)
monitor (0.2.3)
network (2.2.5)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.1)
rdbms (0.3.2)
redis (0.3.2)
relay (0.1.2)
reservations (0.4.0)
resource (2.1.4)
role (2.1.5)
search (0.1.1)
servicebus (0.2.3)
servicefabric (0.1.3)
signalr (1.0.0)
sql (2.1.4)
storage (2.2.2)
telemetry (1.0.0)
vm (2.2.3)

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\alexs\.azure\cliextensions'

Python (Windows) 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context
Every was slow here at Brazil, I don't know if it is slow in another region, I'm posting it right now because I'm starting use Azure CLI constantly and I wish a better user experience.
Thank's!

Can you time the command for us? And could you run az account list and time it?

@troydai az account list is quick, is between 3 or 4 seconds.

3 to 4 seconds is not normal. Is it in WSL or PowerShell?

In the both @troydai, the user experience with Azure CLI time perception is not good.

Same here. I run a simple command like
18:45 $ time  az resource list --resource-group xxx --resource-type "Microsoft.KeyVault/vaults"

and it took more than 2 seconds. It seems a lot for a simple info request.

I can also confirm this issue
λ  Measure-Command {az account list}
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 4
Milliseconds      : 92
Ticks             : 40921235
TotalDays         : 4.73625405092593E-05
TotalHours        : 0.00113670097222222
TotalMinutes      : 0.0682020583333333
TotalSeconds      : 4.0921235
TotalMilliseconds : 4092.1235

λ  Measure-Command {az resource list --resource-group xxx --resource-type "Microsoft.KeyVault/vaults"}
Resource group 'xxx' could not be found.
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 4
Milliseconds      : 871
Ticks             : 48719548
TotalDays         : 5.63883657407407E-05
TotalHours        : 0.00135332077777778
TotalMinutes      : 0.0811992466666667
TotalSeconds      : 4.8719548
TotalMilliseconds : 4871.9548

@NickSuperb Are you at Brazil too?

I'm also having a similar issue except with aks and kubectl.
time kubectl get pods --all-namespaces

real	0m5.510s
user	0m0.111s
sys	0m0.020s

it takes 5 seconds ....

Same here, I'm in Paris, France

same here, from Germany to DC in Amsterdam,NL
az network traffic-manager endpoint list... --> 8s
With a script consisting of multiple requests this adds up quite a bit...

It does not seems to be a geographical issue, but rather Azure slow responding. Which does not really not surprise me as also from the portal I often experience very slow operations.
Any comments from MS Azure people?

There are performance issues native to WSL and Windows Defender that make things abnormally slow in this environment. Future versions of WSL aim to address this performance issue, but it is not something we control within the CLI.

@tjprescott It's not only in WSL, PowerShell or CMD has same behavior.

@tjprescott I am running Mac OSX and experiencing slowness as well.

Experiencing the same issue. A login request takes about 5 sec...

To add a bit more: I sometimes experience similar poor performance also using the azure portal. Is it then a back end issue?

add to S164.

Hi All.
I would like to contribute to this if I may.  Sadly I don't have a trace to offer but I can confirm the below:

Container create in Portal - 25-30 seconds

Contaniner create via CLI from local machine with direct access on owner account: 1 hour+

Container delete in Portal - 5 seconds

Container delete via CLI from local machine with direct access on owner account:  I gave up

Parameters:  Linux image (119MB) from Docker Hub into West Europe Container Group with 1vcpu and 1.5GiB.

I don't think this is a WSL issue, I think this is an az CLI issue. I am observing differences in performance when comparing az CLI to PowerShell AZ. Why would az CLI commands run slower than PowerShell AZ?
My script and an example observation below. Note that I am in New Zealand connecting to Australia East. I expect some latency, but I don't expect difference in performance between CLI and PowerShell. The interesting result for me is the difference between az group show (2,931 ms) and Get-AzResourceGroup (741 ms).
DanielLarsenNZ/examples/blob/master/Scripts/Utilities/az-cli-vs-ps.ps1
Tue, 17 Mar 2020 20:44:50 GMT
azure-cli                          2.2.0

command-modules-nspkg              2.0.3
core                               2.2.0
nspkg                              3.0.4
telemetry                          1.0.4

Extensions:
application-insights               0.1.1
front-door                         0.1.8
interactive                        0.4.3
storage-preview                    0.2.7

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\dalars\.azure\cliextensions'

Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/clihats

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

az group create

Ticks             : 82722758
Days              : 0
Hours             : 0
Milliseconds      : 272
Minutes           : 0
Seconds           : 8
TotalDays         : 9.57439328703704E-05
TotalHours        : 0.00229785438888889
TotalMilliseconds : 8272.2758
TotalMinutes      : 0.137871263333333
TotalSeconds      : 8.2722758

New-AzResourceGroup
VERBOSE: Performing the operation "Replacing resource group ..." on target "test2-rg".
VERBOSE: 9:45:05 am - Created resource group 'test2-rg' in location 'australiaeast'

Ticks             : 15474831
Days              : 0
Hours             : 0
Milliseconds      : 547
Minutes           : 0
Seconds           : 1
TotalDays         : 1.79106840277778E-05
TotalHours        : 0.000429856416666667
TotalMilliseconds : 1547.4831
TotalMinutes      : 0.025791385
TotalSeconds      : 1.5474831

az group show

Ticks             : 29305181
Days              : 0
Hours             : 0
Milliseconds      : 930
Minutes           : 0
Seconds           : 2
TotalDays         : 3.39180335648148E-05
TotalHours        : 0.000814032805555556
TotalMilliseconds : 2930.5181
TotalMinutes      : 0.0488419683333333
TotalSeconds      : 2.9305181

Get-AzResourceGroup

Ticks             : 7408608
Days              : 0
Hours             : 0
Milliseconds      : 740
Minutes           : 0
Seconds           : 0
TotalDays         : 8.57477777777778E-06
TotalHours        : 0.000205794666666667
TotalMilliseconds : 740.8608
TotalMinutes      : 0.01234768
TotalSeconds      : 0.7408608

az group delete

Ticks             : 495528816
Days              : 0
Hours             : 0
Milliseconds      : 552
Minutes           : 0
Seconds           : 49
TotalDays         : 0.000573528722222222
TotalHours        : 0.0137646893333333
TotalMilliseconds : 49552.8816
TotalMinutes      : 0.82588136
TotalSeconds      : 49.5528816

Remove-AzResourceGroup
VERBOSE: Performing the operation "Removing resource group ..." on target "test2-rg".

Ticks             : 475125652
Days              : 0
Hours             : 0
Milliseconds      : 512
Minutes           : 0
Seconds           : 47
TotalDays         : 0.000549913949074074
TotalHours        : 0.0131979347777778
TotalMilliseconds : 47512.5652
TotalMinutes      : 0.791876086666667
TotalSeconds      : 47.5125652

In newer version of az CLI still not getting better. Almost 4 seconds for getting version number.
PS > az --version
azure-cli                          2.9.1

command-modules-nspkg              2.0.3
core                               2.9.1
nspkg                              3.0.4
telemetry                          1.0.4

Extensions:
azure-iot                          0.9.2

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\federico.barresi\.azure\cliextensions'

Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

PS > Measure-Command {az --version}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 3
Milliseconds      : 878
Ticks             : 38785149
TotalDays         : 4,489021875E-05
TotalHours        : 0,00107736525
TotalMinutes      : 0,064641915
TotalSeconds      : 3,8785149
TotalMilliseconds : 3878,5149

az --version has a network request to PyPI to check if there are any updates. Could you try az version instead? We have added a new mechanism called Command Index to boost the performance (https://github.com/Azure/azure-cli/pull/13294).
With the release version, I got:
> Measure-Command {az version}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 935
Ticks             : 9352923
TotalDays         : 1.08251423611111E-05
TotalHours        : 0.000259803416666667
TotalMinutes      : 0.015588205
TotalSeconds      : 0.9352923
TotalMilliseconds : 935.2923

Hi!
Thank you for your quick reply.
You're right, this other command works faster.
Do you know some other performance tricks for those cases?
PS > Measure-Command {az iot hub list}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 5
Milliseconds      : 156
Ticks             : 51563711
TotalDays         : 5,96802210648148E-05
TotalHours        : 0,00143232530555556
TotalMinutes      : 0,0859395183333333
TotalSeconds      : 5,1563711
TotalMilliseconds : 5156,3711

PS > measure-command {az iot hub module-identity list --device-id MyFancyDevice--hub-name MyFancyHub}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 3
Milliseconds      : 789
Ticks             : 37891935
TotalDays         : 4,385640625E-05
TotalHours        : 0,00105255375
TotalMinutes      : 0,063153225
TotalSeconds      : 3,7891935
TotalMilliseconds : 3789,1935

I would like to integrate such ps call in an application, but it's going to be too much laggy for a comfortable user experience.

I think the latency is caused by the service-side, and this is really something out of Azure CLI's control. We plan to add some metrics in Azure CLI to measure the E2E latency of network transactions.
BTW, what is the result when you run Measure-Command {az version}?

My result is a bit better than az --version, but still upsetting...
Here the result in a fresh PS two times in short distance.
PS > Measure-Command {az version}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 2
Milliseconds      : 776
Ticks             : 27767078
TotalDays         : 3,21378217592593E-05
TotalHours        : 0,000771307722222222
TotalMinutes      : 0,0462784633333333
TotalSeconds      : 2,7767078
TotalMilliseconds : 2776,7078

PS > Measure-Command {az version}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 1
Milliseconds      : 27
Ticks             : 10277306
TotalDays         : 1,18950300925926E-05
TotalHours        : 0,000285480722222222
TotalMinutes      : 0,0171288433333333
TotalSeconds      : 1,0277306
TotalMilliseconds : 1027,7306

Timings from Linux 5.7.14 and Python 3.8:
$ time az --version >/dev/null
real	0m2.859s
user	0m1.411s
sys	0m0.152s

$ time az help >/dev/null
real	0m1.578s
user	0m1.459s
sys	0m0.107s

$ time az vm list-sizes -l eastus2 > /dev/null
real	0m2.674s
user	0m1.960s
sys	0m0.125s

It's much faster when running with Python 3.6 (edit /usr/bin/az and point it to python3.6 interpreter):
$ time az --version >/dev/null
real	0m1.996s
user	0m0.741s
sys	0m0.081s

$ time az help >/dev/null
real	0m0.899s
user	0m0.809s
sys	0m0.059s

$ time az vm list-sizes -l eastus2 > /dev/null
real	0m1.354s
user	0m0.731s
sys	0m0.073s

Disabling telemetry has no impact here.

Hi,
I'm from Australia East and am using az devops to interact with Azure DevOps instance. Currently have 11 projects in my SandPit instance and here's how long it takes to list the projects.
PS> Measure-Command { az devops project list --org https://dev.azure.com/XXXXXX/ | Out-Default }
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 49
Milliseconds      : 171
Ticks             : 491718208
TotalDays         : 0.000569118296296296
TotalHours        : 0.0136588391111111
TotalMinutes      : 0.819530346666667
TotalSeconds      : 49.1718208
TotalMilliseconds : 49171.8208

I'm facing the same issue running on linux
zsh$ time az devops project list

az devops project list  1,43s user 0,07s system 14% cpu 10,313 total

Sometime it takes up to 50s to perform the commands

I'm facing the same issue running on linux
zsh$ time az devops project list

az devops project list  1,43s user 0,07s system 14% cpu 10,313 total

Sometime it takes up to 50s to perform the commands

route to appropriate team to help look at az devops command performance

same here in NZ, azure shell and the portal shell are too slow.

@PushkarVaity,

But randomly, all 3 commands also take 100+ seconds each causing the total run time to go through the roof.

The delay should be caused by azure-devops service issue. Investigating in https://github.com/Azure/azure-cli/issues/17490.

@MaisaDaoud, please see my comment at https://github.com/Azure/azure-cli/issues/7447#issuecomment-666058032.
A client-side command now only takes 400ms on Windows:
> Measure-Command {az version}
TotalMilliseconds : 444.3177

Please share the command you used and open a new issue for us to investigate. Thanks.

time az --version
real    0m1.039s
user    0m0.328s
sys     0m0.060s
time kubect
real    0m5.654s
user    0m0.086s
sys     0m0.026s

Re-running my test az-cli-vs-ps.ps1
> .\az-cli-vs-ps.ps1
Mon, 29 Mar 2021 08:38:42 GMT

azure-cli                         2.21.0
core                              2.21.0
telemetry                          1.0.6
Extensions:
application-insights              0.1.13
front-door                        1.0.11
interactive                        0.4.4
storage-preview                    0.7.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\dalars\.azure\cliextensions'

Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]

Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

CliCommand                                                 CliSeconds PSCommand                                                                 PSSeconds
----------                                                 ---------- ---------                                                                 ---------
 az --version                                               1.2784802  $PSVersionTable                                                          0.0022685
 az group create -n 'test1-rg' --location 'australiaeast'   1.4451656  New-AzResourceGroup -Name 'test2-rg' -Location 'Australia East' -Force   1.2809508
 az group show -n 'test1-rg'                                1.3791062  Get-AzResourceGroup -Name 'test2-rg'                                     0.9544952
 az group delete -n 'test1-rg' --yes                       46.5991574  Remove-AzResourceGroup -Name 'test2-rg' -Force                          46.4704706

PowerShell is still faster, but AZ CLI performance is much better compared to one year ago. Thanks team! 🎉

@MaisaDaoud, how is the performance of az version without --?

Why is this issue being closed? I don't see any improvements over the performance of the az cli commands. Can we leave this open until the perf issue is really getting resolved?

@Mossaka please help send out detailed info related to which command you see the performance issue.

Why is this issue being closed?

With the introduction of Command Index (#13294) and migration to PEP 420 (#14372), the client-side execution speed of Azure CLI has been significantly improved. That's why we closed this issue.
If the Azure CLI command involves Azure REST API invocation, Azure CLI will spend most of its time communicating with Azure REST API and do long-running operation query, which is out of our control. In such case, those changes won't give you too much performance improvement.
Please share the command as @yonzhan asked. Thanks.

It seems with setuptools 62.6.0 installed, disutils imports setuptools and pkg_resources. This causes some performance regression:
& "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe" -m pip list
setuptools             62.6.0

& "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe" -X importtime -m azure.cli version 2>perf.log; python -m tuna .\perf.log

If anything this is worse than ever with 2.45.0:
> measure-command { az version }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 3
Milliseconds      : 202
Ticks             : 32024121
TotalDays         : 3.70649548611111E-05
TotalHours        : 0.000889558916666667
TotalMinutes      : 0.053373535
TotalSeconds      : 3.2024121
TotalMilliseconds : 3202.4121

the following pipeline task took 1 minute and 47 seconds!!!!!
- bash: echo "##vso[task.setvariable variable=pipelineId]$(az pipelines runs show --id ${{ parameters.buildId }} --query "definition.id" -o tsv)"

why on earth does that take so long to run????

the following pipeline task took 1 minute and 47 seconds!!!!!
- bash: echo "##vso[task.setvariable variable=pipelineId]$(az pipelines runs show --id ${{ parameters.buildId }} --query "definition.id" -o tsv)"

why on earth does that take so long to run????

az devops speeds up quite a bit by explicitly passing --org and --project, the auto-detect routine eats up quite a bit of time. But the performance is terrible compared to a plain powershell rest-api call especially on the first call on Windows.
The second run only takes .7 seconds.
$pipelineId = & az pipelines runs show --id $env:BUILD_ID --query "definition.id" --verbose --organization $env:System_CollectionUri --project $env:System_TeamProject
INFO: received PAT from environment variable
INFO: Creating connection with personal access token.
INFO: Command ran in 84.221 seconds (init: 20.825, invoke: 63.396)

It seems Bash@3: is about 50% faster than relying on pwsh: on the first call. All subsequent calls are much faster.
ubuntu-latest is much faster, finishing the exact same commands in under 4 seconds on the first call:
INFO: received PAT from environment variable
INFO: Creating connection with personal access token.
INFO: Command ran in 3.499 seconds (init: 0.724, invoke: 2.776)

INFO: received PAT from environment variable
INFO: Creating connection with personal access token.
INFO: Command ran in 0.805 seconds (init: 0.190, invoke: 0.615)

Pipeline YAML used:
pool:
  vmImage: windows-latest

variables:
  "system.debug": true

steps:
- task: Bash@3
  inputs:
    targetType: 'inline'
    script: |
      PIPELINEID=$(az pipelines runs show --id $BUILD_BUILDID --query "definition.id" --verbose --organization $SYSTEM_COLLECTIONURI --project $SYSTEM_TEAMPROJECT)
  env:
    AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)

- pwsh: |
      $pipelineId= & az pipelines runs show --id $env:BUILD_BUILDID --query "definition.id" --verbose --organization $env:SYSTEM_COLLECTIONURI --project $env:SYSTEM_TEAMPROJECT
  env:
    AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)

Performance is pretty bad. Not even the login is working properly.

Obs.: I killed this process manually since it's taking forever to finish, and there is no log detailing why it's so slow.

I've been digging into az-cli performance and submitted a few fixes here and there. You may find a few more hints by running --debug to see where time is spent.
Ideally az would do a much better job at optimizing its installation and extensions.
See:

https://jessehouwing.net/az-cli-performance-azure-pipelines-and-github-runner/
https://jessehouwing.net/recommendations-for-using-azure-cli-in-your-workflow/

$ time az ad app list --query "[].displayName" -o tsv
...
real    0m40.851s
user    0m1.500s
sys     0m0.133s

$ time python -m azure.cli help

real    0m57.008s
user    0m5.907s
sys     0m3.281s

$ python -X importtime -m azure.cli --help 2>perf.log; python -m tuna ./perf.log

Adding the --debug flag:
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: application-insights      2.661        11        35  /home/rsim/.azure/cliextensions/application-insights
cli.azure.cli.core: azure-devops              1.116        60       192  /home/rsim/.azure/cliextensions/azure-devops
cli.azure.cli.core: kusto                     0.246        16        78  /home/rsim/.azure/cliextensions/kusto
azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml._azure_environments: Using the default cloud configuration: 'AzureCloud'.
azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml._azure_environments: Using the default cloud configuration: 'AzureCloud'.
azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml._azure_environments: Using the default cloud configuration: 'AzureCloud'.
No module named 'rpds.rpds'
cli.azure.cli.core: ml                       46.243         1         0  /home/rsim/.azure/cliextensions/ml
cli.azure.cli.core: quota                     0.336         4         5  /home/rsim/.azure/cliextensions/quota
cli.azure.cli.core: Total (5)                50.601        92       310

@fengzhou-msft @jiasli could you please reopen or provide feedback on the traces above?  The ml extension is causing the whole CLI to bog down for nearly a minute on each invocation.


Create navigation menu and improve the css of the App

🚩New Implementations: Navigation Bar and Improve the CSS Styles of the App
Hi there! @Luffytaro22 👋
Here I detail a summary of the new features that have been implemented in this branch:

[x] Create the _navbar.html partial with the navigation bar code
[x] Include the _navbar.html partial in the application.html file to display the navbar in the whole app
[x] Update the styles and content of the Homepage of the App
[x] Add an image background to the Homepage
[x] Update the CSS styles of the whole app
[x] Add an image background to all the secondary pages of the app
[x] Create the _public_toggle_button partial with the HTML code of the Public toggle button
[x] Update the authorization rules for the buttons inside the Recipe details page

⭐To the code reviewer 👨💻
Please, I kindly ask you to review the entire code and verify that all requirements have been met correctly.
if there is any issue 🦯 in this PR, please do list 📃 them in a descriptive 💡 manner and give your best suggestions 🎁 if needed.

@Luffytaro22 Thank you so much for reviewing my code!


Errors after upgrading to v1.3

CloudFormation Lint Version
1.3.3
What operating system are you using?
macOS
Describe the bug
after upgrade to v1.3, cfn-lint fails unexpectedly, It generates multiple errors
E1019 {'Ref': 'additionalSubnetBits'} is not of type 'integer' when 'Ref' is resolved when 'Ref' is resolved
E3024 {'Ref': 'additionalSubnetBits'} is not of type 'integer' when 'Ref' is resolved when 'Ref' is resolved
E1020 {'Ref': 'additionalSubnetBits'} is not of type 'integer' when 'Ref' is resolved
There are identical Select functions, one in !If function passes , but the line in !Sub function fails
The code is deployed in CloudFormation, so we know it's valid
Expected behavior
Code is valid, cfn-lint shouldn't fail
Reproduction template
  AdditionalSubnet1:
    Type: 'AWS::EC2::Subnet'
    Condition: isAdditionalVpc
    DependsOn: AdditionalVpcCIDR
    Properties:
      AvailabilityZone: !If [usesetaz, !Select [0, !Split [",", !Ref physicalazlist]], !Select [0, !GetAZs '']]
      CidrBlock:
        !If
          - isAdditionalCidr1Empty
          - !Select [0, !Cidr [!Ref additionalVpcCidr, 4, !Ref additionalSubnetBits] ]
          - !Ref AdditionalSubnet1Cidr
      MapPublicIpOnLaunch: false
      Tags:
      - Key: Name
        Value: !Sub
        - ${appCode}-${envType}-additional1-${az}-${cidr}
        -
          az: !If [usesetaz, !Select [0, !Split [",", !Ref physicalazlist]], !Select [0, !GetAZs '']]
          cidr: !Select [0, !Cidr [!Ref additionalVpcCidr, 4, !Ref additionalSubnetBits] ]
      VpcId: !Ref vpc

The issue here comes down to the Fn::Sub.
This is invalid.  Once we are evaluating the elements to a function we need to turn off strict type checking.  The output type from the function has to be a string.
Resources:
  MyPolicy:
    Type: AWS::IAM::ManagedPolicy
    Properties:
      PolicyDocument:
        Version: '2012-10-17'
        Statement:
          Action: "*"
          Resource: "*"
          Effect: Allow
  Parameter:
    Type: AWS::SSM::Parameter
    Properties:
      Type: String
      Value:
        Fn::Sub:
        - "${Value}"
        - Value: !GetAtt MyPolicy.AttachmentCount

Nah here is good.

@kddejong , I tried v1.3.6, it now fails differently on the same output block
E1020 {'Ref': 'additionalVpcCidr'} does not match '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$' when 'Ref' is resolved

Since it's a conditional block, it should expect a valid string all the time, right? It's a runtime evaluation
Conditions:
  isAdditionalVpc:
    Fn::Not: [ !Equals [ !Ref additionalVpcCidr , ""] ]

Outputs:
  AdditionalCidrs:
    Condition: isAdditionalVpc
    Value: !Join [',', !Cidr [!Ref additionalVpcCidr, 3, 8]]

@vchepkov #3414 should handle that scenario.  Added the logic to consider conditions inside resources but not for outputs.  Had to rework the output logic a little more to add it in there as well.  Added your cases as test scenarios as well.


Macro invocation made less readable by rustfmt

Original code
macro_rules! tiles {
    ($($itemname:ident, $name:expr, ($x:expr, $y:expr), $solid:expr),*) => {
    }
}

tiles!(
    // id    name           x  y   solid
    F_DIRT,  "Dirt floor", (0, 0), false,
    W_STONE, "Stone Wall", (1, 0), true
);

fn main() {}

Formatted version:
macro_rules! tiles {
    ($($itemname:ident, $name:expr, ($x:expr, $y:expr), $solid:expr),*) => {
    }
}

tiles!(// id    name           x  y   solid
       F_DIRT,
       "Dirt floor",
       (0, 0),
       false,
       W_STONE,
       "Stone Wall",
       (1, 0),
       true);

fn main() {}

Rustfmt just indiscriminately splits it into multiple lines, even though they do not exceed the line length limit.
Also, since macros can have relatively free-form syntax, rustfmt knows very little about how the invocations can actually look good, so it should be a lot more conservative when formatting macro invocations.

I'm not sure if there's a way to discern "function-like" macro invocations and more complex ones. I fear we'll have to use either #[rustfmt_skip] or curly braces for macros which shouldn't be reformatted...

I'm not sure if there's a way to discern "function-like" macro invocations and more complex ones. I fear we'll have to use either #[rustfmt_skip] or curly braces for macros which shouldn't be reformatted...

Ah, so rustfmt skips curly braced macro invocations?
Actually, I think curly brace is a better match for the above code anyway.

Ah, so rustfmt skips curly braced macro invocations?

Yes

This kind of thing just requires #[rustfmt::skip]


Undefined property "set" on Disqus PHP API Library

Just wondering if someone else faced this issue. I'm trying to retrieve multiple thread details with SET property using PHP API, but as far I see it's not implemented yet.
The property DETAILS is working fine so far, but I need to get many threads and several calls to DETAILS is not an option.
$disqus = new DisqusAPI($secret_key);
$disqus->threads->set(Arguments........................)
Any help?

I've just added it. A pull request is pending. Hope it helps.


Passthrough Routes for sub regions

I've run into an issue where I have a global modal page (for instance a search, or contact form).  I'd like this to exist on a route.  The issue is when rendering the route anywhere in my app the data context for the visible page underneath.
It would be great to be able to trigger a route that doesn't automatically stop the current subs, or change the data context.
Is this possible now or is it a feature you may consider in the future?

Note I've posted a question about this on stackoverflow to avail so hoping someone can help me here.


ui: We can learn or take inspirations from jetbrains fleet, UI Aesthetic.

Obviously, will not copy the UI but we can learn from it.

The "run/execute" button.

Downward arrow to the right side of the buttons that has menu.

File Icon on the tab session, title bar.

File Icon on the tab session, title bar.

What do you mean by that?

The "run/execute" button.

I'm not sure what are we supposed to take away from this? That's it's a "play" icon?

Downward arrow to the right side of the buttons that has menu.

That's tricky because not all our dropdown menus would look good with it, for example the remote button:

For now I'm trying to just get hover effects on them so it conveys that those are buttons.

File Icon on the tab session, title bar.

What do you mean by that?

The "run/execute" button.

I'm not sure what are we supposed to take away from this? That's it's a "play" icon?

Downward arrow to the right side of the buttons that has menu.

That's tricky because not all our dropdown menus would look good with it, for example the remote button:  For now I'm trying to just get hover effects on them so it conveys that those are buttons.

guess we can only apply it to the right buttons then

File Icon on the tab session, title bar.

What do you mean by that?

The "run/execute" button.

I'm not sure what are we supposed to take away from this? That's it's a "play" icon?

Downward arrow to the right side of the buttons that has menu.

That's tricky because not all our dropdown menus would look good with it, for example the remote button:  For now I'm trying to just get hover effects on them so it conveys that those are buttons.

Downward arrow for the git branch button, right side next to the text master*

File Icon on the tab session, title bar.

What do you mean by that?

The "run/execute" button.

I'm not sure what are we supposed to take away from this? That's it's a "play" icon?

Downward arrow to the right side of the buttons that has menu.

That's tricky because not all our dropdown menus would look good with it, for example the remote button:  For now I'm trying to just get hover effects on them so it conveys that those are buttons.

Downward arrow for the git branch button, right side next to the text master*

Lighten up the font color in the UI. or we can add a way to customize the font of the UI.

Lighten up the font color of the UI. or we can add a way to customize the font of the UI.

It's already implemented...

It's already implemented...

yeah I figured it earlier, my comment deletion did not push thro.

Fixed/outdated


As a developer, I want to abstract REST Requests to Kazoo (GET, POST, PUT, DELETE) to avoid code duplication. Filtering must be supported.

https://2600hz.atlassian.net/wiki/display/APIs/API+Introduction


Minor cleanups

Some minor code cleanups to help with clarity.
I was thinking about converting TCPTransport to use selectors so started reading the code, and saw a few things that could maybe use fixing, so here they are.

Feel free to ignore these if you want, they don't have major performance impact or anything, they just make the code a little easier to understand, I think.

Overall nice cleanup, thank you (and it can't have been easy, diving into one of the more complex source files in the code).  I made a couple of inline comments and I'm looking forward to your responses so I can merge this pull request.

This looks good.  I plan to merge this after validating with the test suites.


fix for get message replies includeDelete flag

Type

[X ] Bug Fix

Related Issues?
Fixes #3532
What is in this Pull Request ?
Fix to only return Deleted message replies when -IncludeDeleted flag is set as true. Before the fix - without specifying this parameter also it was returning deleted messages replies.

Thanks @siddharth-vaghasia, good catch , merged it !!!


Fix same report hash selector

Use proper run id if we select a report at the same report selector and use
report hash to identify a tab in the ui.

Will we keep the report id in the url together with the hash?

Yes, we keep it.
The main conception is the following:

first, we get the report by report id
if the report hash of the queried report is equal with the report hash in the url, we open the report by report id (exact match).
if the report hash of the queried report isn't equal with the report hash in the url, we open a report randomly by report hash


Improved consistency between breaking and non-breaking updates

Related to #12425.
This is ensuring more consistent output messages between breaking and non-breaking updates, as well as better error messages, as we are now running the same ops::update_lockfile in either case.
See how the the tests changed for examples. This becomes even more important after adding support for breaking precise updates in #14140, and this PR is necessary to unblock that PR. Here's why:

Some of the duplicated existing precise tests with the unstable feature enabled are not passing without this PR. In other words, we would be changing the behaviour of the non-breaking precise update.

Some invocations are silently finishing rather than reporting an error such as this:

[ERROR] package ID specification<EMAIL_ADDRESS>did not match any packages
Did you mean one of these?

<EMAIL_ADDRESS>

The output is generally not consistent with the non-breaking update. For example, without this PR the output changes like this:

-[UPDATING] incompatible v0.1.0 -> v0.2.0
-[NOTE] pass `--verbose` to see 1 unchanged dependencies behind latest
+[LOCKING] 1 package to latest compatible version
+[UPDATING] incompatible v0.1.0 -> v0.2.0 (latest: v0.2.1)

Requested as a separate PR here and here.
This PR does not introduce an error message if there is nothing to update. Instead, it adds more output, as demonstrated by the test update_breaking_specific_packages_that_wont_update:
[LOCKING] 0 packages to latest compatible versions
[NOTE] pass `--verbose` to see 5 unchanged dependencies behind latest

Whether or not to throw an error is still an item on the TODO list here.

Requested as a separate PR https://github.com/rust-lang/cargo/pull/14140#issuecomment-2226299518 and https://github.com/rust-lang/cargo/pull/14140#discussion_r1676447754.

Quoting from the first link:

Except this PR description does not include an explanation as to why this PR addresses that and why an error is not the way forward
Description updated.

The PR says:

This PR is making a change that also affects cargo update --breaking. We'll reuse ops::update_lockfile() for both breaking and non-breaking updates. The benefit is more consistent output and behaviour between the two. In particular, it addresses a task about an error output if there is nothing to upgrade. See #12425 (comment).

This is focused on the implementation, glosses over the reason, and doesn't say what is being changed.
I think its best to split this out from this PR, either making ti independent or making one depend on the other. Trying to slip it in like this is making it harder to review and discuss both.

If this PR is related to this comment, its not clear.  It doesn't talk about about the error case mentioned in that comment or give a justification for why this is the approach to go.

If this PR is related to this comment, its not clear. It doesn't talk about about the error case mentioned in that comment or give a justification for why this is the approach to go.

I have updated the PR description with more context. Not sure what else to add. If you think it needs more, let me know.

See how the the tests changed for examples.

That is what I am wanting you to talk about.  This is supposed to change behavior related to one of the tasks in a direction that I have serious doubs about.  I'd like the intended behavior changes enumerated and why those behaviors were selected, not an explanation for what this unblocks.

If this PR is related to this comment, its not clear. It doesn't talk about about the error case mentioned in that comment or give a justification for why this is the approach to go.

I have added to the description something about whether or not to error if there is nothing to do.

See how the the tests changed for examples.

That is what I am wanting you to talk about. This is supposed to change behavior related to one of the tasks in a direction that I have serious doubs about. I'd like the intended behavior changes enumerated and why those behaviors were selected, not an explanation for what this unblocks.

This PR isn't really related to the task list at all. The only purpose of this PR is to factor out any change to to_avoid or keep in fn update_lockfile.

@epage Could you let me know if you have any further concerns about this PR? #14140 is blocked on this.

@epage Could you take a look at https://github.com/rust-lang/cargo/pull/14140#discussion_r1719691926, please? I believe it will unblock this PR as well as #14140.

:umbrella: The latest upstream changes (presumably #14471) made this pull request unmergeable. Please resolve the merge conflicts.


Consumtion not shown

Hi,
Got tibber_custom configured and correctly shows todays pricing.
I also have Tibber pulse and get my consumption into HA but it is now shown on the graph/camera.
Is there anything I need to do to get it to show?

Modify this line to match your realtime sensor
https://github.com/Danielhiversen/home_assistant_tibber_custom/blob/main/custom_components/tibber_custom/camera.py#L57

@Danielhiversen What is the correct modification im using tibber, like this:  f"sensor.real_time_consumption_{slugify(self.sensor.power_address_5)}"
Sensor name: sensor.power_address_5


authentication-implementation

This PR makes a few small adjustments to bring Shield in line with CodeIgniter 4's Authentication Implementation.

Thanks @lonnieezell! I don't have access here, you will need to merge :)


Retry Policy implementation

Regarding Event Hubs' EventHubsClient, its constructor takes EventHubsClientOptions where user can specify, among other things retry options. I saw the implementation of Retry. Two comments:
a.	Can we rename the Retry class to RetryPolicy (I think that is the name we use now). It is not because we use that name now. Retry is too generic.
b.	The pattern usually calls for defining an interface, then if required, an abstract class with a partial implementation. In the current implementation we just have an abstract class, which is good. Please consider extracting out an interface for opening more implementation possibilities to users.

I'm reading this as a .NET issue right now - if it isn't a .NET issue, can you please clarify the issue?

I believe this applies to Java as well
cc @jsquire and @conniey

Closing;  this issue refers to a type that no longer exists in the SDK and options that have already been released to GA where members cannot be renamed without breaking changes.


This is an attempt to add a new issue

Hey Chelle this is Charlie   I seem to be commuting something    Where am I

Hi @cnbarron ! Happy to see this new issue from you.  Here's what it looks like when someone comments on your issue.


feat(dart): add playground

🧭 What and Why
Add playground for Dart API client.
🎟 JIRA Ticket:
APIC-693
Changes included:
Add playground for the following clients:

[x] algoliasearch
[x] algolia_client_search
[x] algolia_client_insights

PS: the PR also remove leftover files from previous packages names.

should we also point to the examples you wrote in some way? or maybe just symlink them idk

Yeah, maybe a README.md pointing to those could be a good idea. I will make another PR for it :)


naturalist

Mod Version
latest
Client Log
d
Crash Report (if applicable)
d
Bug Description
all the naturalist trophies dosnt excist
Steps to Reproduce
just having the mod
Please Read and Confirm The Following

[X] I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
[X] I have confirmed this issue is unique and has not been reported already.

I tried adding them all last time I did a wave of trophies and turns out some of the mobs don't work as trophies. There's still a problem with Geckolib that basically allows mobs to still play animations even when they aren't actually real and that really irritates me. Any mobs that do that have been skipped. I'll keep an eye out, and if they ever fix that I will add them back in.

ah, that is unfortunate


Add delete post functionality

Once #38 #37 is resolved, this can be taken up, this should add in the delete post functionality calling the respective api from backend which already exists, and confimation dialog also needs to be prompted when the user wishes to delete the post
And it should also include the test cases for the developed functionality

Hey @krishnaacharyaa  Is anyone doing this? If not could you please assign this to me.

Post #39, we'll take this up

Hey @krishnaacharyaa ... could you assign this issue to me

how are you planning to work on this? @chaitya-titan

As far as I can see, the delete route is already created in the backend... so after the user auth is done... will add a delete icon on the post(if the post is created by the user)... give a confirmation dialog box on the screen to 'confirm delete'... if there is a delete icon present with you... will probably use that... on confirm delete... make an API call to "deletePostByIdHandler" route...
This is the flow I am thinking as of now...

Yeah, but we would need to focus on auth first to get it in place. Before that we are focusing on adding test cases milestone. Once these are done we'll come to this and assign...

Ok Thank you

Hello Sir,
My name is Shivam Kanchole, and I am a fourth-year student at IIT Roorkee. I find this issue both interesting and challenging. Additionally, I have worked on similar projects in the past. Could you please assign this issue to me?
Thank you.
Best regards,
Shivam Kanchole


Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/443F9124-BDDA-452E-A0E3-E73C81930BC0/timeTesting.app> (loaded)' with name 'Rkk-g4-vge-view-TV7-kw-gIS' and directory 'Main.storyboardc''

I'm getting an error while using NHNetworkTime
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/443F9124-BDDA-452E-A0E3-E73C81930BC0/timeTesting.app> (loaded)' with name 'Rkk-g4-vge-view-TV7-kw-gIS' and directory 'Main.storyboardc''
May i know what am I doing wrong?
My question is How can i refresh the time inside the viewController, if the time has not be loaded after the timeout?
Sometimes I get Critical failure: the LastResort font is unavailable.
: CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

You can call synchronize method of NHNetworkClock class.
The error of you loading nib, I think it is not concern with NHNetworkTime


3 questions about designability evaluation

Dear author,
I appreciate your work, Scaffold-Lab, so much, and have read it in detail. I would like to ask you three questions about designability evaluation which confuses me a lot.

How to select sequences in unconditional generation?
According to your following description, you generate 100 backbones and design 100 sequences for each backbone. Thus, you get 100 * 100 = 10k sequences. After that, for each backbone, you would select 10 sequences from 100. Therefore, you will get 100 * 10 = 1k sequences. Do I comprehend correctly? And how to select 10 sequences from 100?

How many sequences are used to evaluate for scaffold generation?
When evaluating the designability of generated scaffold, do you use the same sequence amount as that of unconditional generation (100 * 10 = 1k)?

sc-TM for scaffold generation
When evaluating the designability of generated scaffold, you use sc-TM and motif-RMSD as metrics. Do you calculate the sc-TM w.r.t. the WHOLE STRUCTURE or w.r.t. the SCAFFOLD STRUCTURE?

Looking forward to your answer!
Thx! Orz

Thank you for your interest in our work!
I'll try to answer your questions below:

For sequences selected for unconditional generation, we generated $100$ sequences and selected $10$ of them to enter the refolding analysis for each method within each unique length. For how we selected $10$ among $100$ sequences, we used the global_score metric output by ProteinMPNN and selected sequences with the lowest $10$ global_score out of 100. If you've tried designing sequences using ProteinMPNN, you would have likely found that this metric is contained in the header of each sequence.
The way described above was proposed out of the consideration that we wanted to explore the sequence space more comprehensively. Unfortunately, we could not put all sequences into refolding pipeline due to the limitation computational resource, so we try to select the best $10$ out of $100$ for each group. We selected them based on the propose that the global_score metric has correlation with the quality of sequences to a certain extent. If you're interested in this metric, I suggest two references with an issue and another work benchmarking on protein sequence design methods that discusses the relationship between this metric and the quality of sequences.

For motif-scaffolding tasks, we directly generated $10$ sequences for each backbone and put them into evaluation. Since we've already fixed the sequences of the motif parts when designing sequences, we consider this enough to explore the sequence space.

We used sc-TM calculated on whole structure and motif-RMSD calculated on motif structure. The way we did this is that we want to evaluate the designability of the entire protein and the motif reconstruction separately. We considered the cases as success when both criteria were satisfied.

Feel free to raise more questions if you have some!


Chapters page active link

Description
When on the chapters page, the About link on the navbar is shown to be active, instead of the Chapters link
Expected Behavior
The active link should be Chapters on the navbar while on the chapters page
Screenshots

Desktop

Mobile

Enviroment:

OS:   Windows
Browser: Chrome
Version:
Device: Desktop  Mobile

Please @akshathar-navada  assign this issue to me

Hey @TikuGaelle , thanks for stepping up!

Please  check this out, the active link is to chapters itself, only the white active link shoul be changed to purple as normal.
This issue I have raised. If there is any other issue u would like to work on, pls go ahead!
Thank you!!


Check buttons

Exit button is not closing the sw
Remove save button if not in use

Exit button exits application
Save button is removed
Close button closes series after confirmation
About button displays popup with version and dev/funding info.


consecutive time selection

Not sure if this has been asked.
I have a sea surface temperature (SST) DataArray (monthly data) and want to use it to define El Nino.  An El Nino event is defined by a five consecutive 3-month running mean of SST anomalies in the Niño 3.4 region that is above the threshold of 0.5°C.  I know I can use roll object to get the 3-month running mean.  But how to meet the requirement of five-consecutive months?  Is there a simple way to do this using xarray's API?

IIUC, you could have, in order:

rolling 3 month SST
bool on whether that's above 0.5
rolling 5 month count of that
bool on whether that's equal to 5

That is awesome!  Didn't notice the rolling object has a count() method.  The rolling object is more powerful than I think.  Thanks @max-sixty.

Hi @max-sixty, thanks for your kind help.  But I found it works not as I expected.  If the SST has the values [..., 0, 0, 1, 1, 1, 1, 1, 0, 0, ...], then the method you suggested will give [..., F, F, F, F, T, F, F, F, F, ...].  That is only one True for a 5 consecutive 1s.  But I would expect five True like [..., F, F, T, T, T, T, T, F, F, ...].  Any suggestion?

OK, that's a bit harder but not impossible. You could take that, run array.astype(float).where(array).bfill(dim, limit=5), or similar? Others will probably have cleaner suggestions...

what about this?
In [57]: arr = xr.DataArray(
    ...:     data=np.array([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0]),
    ...:     dims="x",
    ...:     coords={"x": np.arange(24)},
    ...: )
    ...: (
    ...:     arr.pipe(lambda a: a > 0.5)
    ...:     .rolling(dim={"x": 5}, center=True)
    ...:     .sum()
    ...:     .rolling(dim={"x": 5})
    ...:     .reduce(lambda a, axis: (a == 5).sum(axis=axis))
    ...:     .fillna(0)
    ...:     .astype(bool)
    ...: )
Out[57]:
<xarray.DataArray (x: 24)>
array([False, False, False, False, False, False, False,  True,  True,
        True,  True,  True, False, False, False, False, False,  True,
        True,  True,  True,  True, False, False])
Coordinates:
  * x        (x) int64 0 1 2 3 4 5 6 7 8 9 10 ... 14 15 16 17 18 19 20 21 22 23

Hi @keewis, this is really a smart way, using rolling twice.  I've refactored the code slightly as:
def continuous_meet(cond, count, dim):
    """
    Continuously meet a given condition along a dimension.
    """
    _found = cond.rolling(dim={dim:count},
                          center=True).sum().fillna(0).astype(np.float)

    detected = (
        _found.rolling(dim={dim:count}, center=True)
        .reduce(lambda a, axis: (a == count).any(axis=axis))
        .fillna(False)
        .astype(bool)
    )

    if count % 2 == 0:
        return detected.shift({dim:-1}).fillna(False)

    return detected

sst = xr.DataArray(
    np.array(
        [0., 0., 0., 0., 0., 1., 1., 1., 1., 1.,
         0., 0., 1., 0., 0., 1., 1., 1., 1., 1.,
         1., 0., 0., 0.]
    ),
    dims="time",
    coords={"time": np.arange(24)},
    name="sst",
)

ElNino = continuous_meet(sst > 0.5, count=5, dim='time')

sst.plot.step(linewidth=3)
sst.where(ElNino).plot.step(linewidth=2)

Note that when count is a even number, truly centered rolling cannot be obtained.  So we need to shift the result by -1.  Is this perfect?  I didn't check the performance.

sounds good. Minor comment / nit: you don't really need the astype(np.float), the result should already be of dtype float since there are missing values after the rolling sum.
I don't know about performance but if it does what you asked for then that's good?

Minor comment / nit: you don't really need the astype(np.float), the result should already be of dtype float since there are missing values after the rolling sum.

You're right.  That is used for debuging the intermediate results.
Thanks again @keewis @max-sixty.


Add mock EM27 device

I've added a dummy EM27 device so we can try things out while we don't have the hardware. All it does is transition between states when the various commands are sent, sending an error if it's in an invalid state (e.g. you're trying to start a new measurement, but you're not connected to the device).
I implemented it using the python-statemachine package: https://github.com/fgmacedo/python-statemachine/

Currently, the buttons for controlling the EM27 are always enabled, but we should only enable the ones which are valid for the current state (e.g. only show the "Start" button when the device is connected).


add mouse wheel scroll into tabBar

add mouse wheel scroll into TabBar component for a better user experience

Thanks for the implementation, looks good and a much-needed UX feature at that :) Since I use the MacBook trackpad, I haven't tried it out using a mouse.

I might have to revert this change for a while. While the fix is great for mice that have a scroll wheel, the onWheel function is causing a sort of lag/delay when swiping left/right on a laptop trackpad (both Mac and Windows. I'll look into some other methods here where scrolling on the wheel will scroll the tab, without causing side effects for other users.


Can it hightlight the selected line ?

I met such a model as below, I can not figure out the line connect to which node, if it can highlight the selected line, then we can konw what two nodes are connected, by the way, if it could highlight two connected nodes as well, it seems to be better.

The model I open is:
face_landmark_with_attention.zip

Duplicate of #181 and #610


DevSecOps Reference Architecture: Personas overview and responsibilities

Write the 'Personas overview and responsibilities' section of the DevSecOps Reference Architecture:
App Developers
o	Write code for business features, build container image, test code
Application Operators (SRE)
o	Write Kubernetes YAML for applications
o	Monitor Applications
o	Manage App deployments
Cluster Operators
o	Manage cluster configuration & implement design
o	Monitor cluster overall health
o	Manage patching/permissions/rbac
o	IaaC
Security
o	Build in secure by design practices
o	Monitor security issues

Document completed

Document completed


Bug in french translation

What version of Music Assistant has the issue?
2022.7.4
The problem
Hi,
French translations always not showing up in frontend.
Thanks for your work
How to reproduce
Delete previous version before install the newest.
Select French language in Profile settings.
Clear web browser cache.
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.7.7
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

I'm sorry, i was using HA with firefox in private navigation.
That's why it dosen't work.
So, I confirm it work with standard firefox navigation.
It's about cookies maybe ?

It's probably the cache. Just try to force flush it and you're all set


feat(alloc): add some more methods to FixedVec

These seemed nice to have. Some of them were needed for implementing the keyboard driver.

Nice! Would you mind also swapping https://github.com/tosc-rs/mnemos/blob/main/source/melpomene/src/sim_drivers/emb_display.rs#L301-L317 to use the new method?


Implementing support for custom sample apps, locally and via remote git repository

Replace sub-command structure (php, golang, all ...) with args
-> add support for specifying multiple apps at one
Implement url lookup, use of git functionality, local download
Refactor ExitGonut
Fix hostname bug in sample app pinging
Add test cases for localization functions
Add all option to -s flag

Fix #22 and #24

Fixed :)


Question about active triggers

I've recently migrated to a GitHub repo to manage my data factory deployments and have started using this action.  However I'm running into a scenario that doesn't work as I would expect.
When the pre-deployment script determines the "active" triggers, it's getting that information from the template and NOT from the target data factory:
$triggersToStart = $triggersInTemplate | Where-Object { $.properties.runtimeState -eq "Started" -and ($.properties.pipelines.Count -gt 0 -or $_.properties.pipeline.pipelineReference -ne $null)} ...
The template has the state of our DEV environment.  When we're deploying to test and prod, we have different sets of triggers running.  What I would expect to happen is that it would look at the triggers in the target data factory to find the ones that are active (and should therefore be restarted when deployment is completed).
This may be a simple fix to change to line 159 in the script:
$triggersToStart = $triggersInTemplate |
to be:
$triggersToStart = $triggersDeployed |
That would match how the triggersToStop and triggersToDelete are captured.
I'm not clear if that's the intended behavior or not.
[UPDATE]:
I understand now why the one-line fix wouldn't work, as the post-deployment is a separate invocation of the script, so when looking at the triggers in the target data factory, they would already be stopped at that point.
I have created a custom version of this that will serialize the active triggers in the data factory during the pre-deployment phase, and it will use that list in the post-deployment phase to restart the triggers that were previously running.  I could create a pull request with changes if that's something people would be interested in.
I'm curious if anyone else has run into this.  Do people normally have the same triggers enabled in dev/test/prod environments?  On my teams, we typically don't keep our dev and test environments continuously updating as we do in prod.  Dev and test are generally more for running on-demand pipelines for debugging and testing.

@abrennan24 Do you have Fork we can test . We are facing similar issue with triggers

@abrennan24 Do you have Fork we can test . We are facing similar issue with triggers

My changes are in an internal repo, but here's the modified deployment script.
PrePostDeploymentScript.zip


Use the assembleGitHub task to download the aar file.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update dependencies

Before merging this PR, https://github.com/acdaniel/bravado-core/pull/4 should be merged and this branch updated to point at the new version.

release in 0.15.4


VS Extension "Local History" fails to install

After installing the VS extension "Local History", Onivim can't locate it:

Thanks for logging, @StephanRoemer
I have a fix for the installation issue here #3394 - however, this extension uses tree views (need #3126 for that work completely). It seems like it backs up the files in the .history folder, though, at the moment.

Ah yeah, now that you mention it...!


Add recommended order of hosts removal

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
xref #531
Does this PR introduce a user-facing change?:
NONE

/assign @kron4eg

/hold
it doesn't work properly

/retest
/hold cancel