Ensure schema_key is never None when reading Namespaces

I ran into an issue when generating schemas from a MapServer DescribeFeatureType request. The properties were always empty:
wfs = WebFeatureService(url=url, version="2.0.0")
print(feature_type)
print(wfs.get_schema(feature_type))
{'properties': {}, 'required': ['msGeometry', 'ObjectId', 'GUID], 'geometry': 'GeometryCollection', 'geometry_column': 'msGeometry'}

The responses include the following namespaces (see this msautotest for example):
<?xml version='1.0' encoding="UTF-8" ?>
<schema
   targetNamespace="http://mapserver.gis.umn.edu/mapserver"
   xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns="http://www.w3.org/2001/XMLSchema"
   xmlns:gml="http://www.opengis.net/gml"
   elementFormDefault="qualified" version="0.1" >

When these are parsed nsmap ends up with a None value as a key:
from owslib.etree import etree
# from lxml import etree # no diffence if using lxml directly

data = """<schema
   targetNamespace="http://mapserver.gis.umn.edu/mapserver"
   xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns="http://www.w3.org/2001/XMLSchema"
   xmlns:gml="http://www.opengis.net/gml/3.2"
   elementFormDefault="qualified" version="0.1" >
</schema>"""
root = etree.fromstring(data)
print(root.nsmap)

{'ms': 'http://mapserver.gis.umn.edu/mapserver',
'xsd': 'http://www.w3.org/2001/XMLSchema',
None: 'http://www.w3.org/2001/XMLSchema',
'gml': 'http://www.opengis.net/gml/3.2'}

Note the None: 'http://www.w3.org/2001/XMLSchema' value. This may be a bug in MapServer, but has been unchanged for 7+ years so it would be good to handle old instances of MapServer in OWSLib.
When this nsmap is iterated in schema.py there is a match for the None key against XS_NAMESPACE - as this is the last key that matches schema_key gets set to None.
if nsmap:
    for key in nsmap:
        if nsmap[key] == XS_NAMESPACE:
            schema_key = key
        if nsmap[key] in GML_NAMESPACES:
            gml_key = key

This means that later on no properties are added due to this check:
if schema_key is not None:
    schema["properties"][name] = data_type.replace(schema_key + ":", "")

This pull request filters out any keys which are None, and if the keys are still empty reverts to defaults.

As discussed in https://github.com/MapServer/MapServer/issues/6924 the MapServer XML namespace outputs are valid, so the fix should be applied to OWSLib.
Failing CI tests seem to be unrelated - 'Connection to geoserv.weichand.de timed out. (connect timeout=30)')).

CI failures unrelated.


Fixed #27518 -- Prevented possibie password reset token leak via HTTP Referer header.

https://github.com/django/django/commit/ede59ef6f39ff8a6443c2b24df0208ef6ec41ee0

authlib is actually safe except if post_login_response returns a response right away instead of redirecting. All default behaviors are redirects.


Second participant audio is not playing on first participant screen

I have 2 app twilio video app.

User side : created in Svelte
Agent side : created in react

In my case agent always join the call first then user join the call. But now if user unmute him/her self my agent can't hear the audio of user. I can see audio element is getting attached to DOM and user mute icon got removed but no audio can be hear at agent side.
But once user joined and if agent unmute him/her self it user can hear the audio and now if user unmute him/her self agent can also hear user voice.
I also tested the same scenario by letting visitor join the first and i observed that second participant audio is not getting rendered until first participant unmute him/herself first.
Requesting for help as i am stuck in this issue since weak. An help will be much appreciated.

Second participant audio/video is not playing on first participant device.
condition: audio and video are set to off on joining room and join the room automatically when page load. if second participant unmute him/her self first then first participant can't listen the voice or see video.
we are facing this problem on project and but can share the project repo link, but I have created another codesandbox to demonstrate the same problem.
codesandbox link https://codesandbox.io/s/sharp-ben-jvztxi
join the room by passing the token(get the same from twilio cli) in url.
ex https://jvztxi.csb.app?t=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJTSzc2NzAzNWIxNTUwYjM1NGZkMThhOTAxNjJiOTQxZjE1LTE2ODM3ODg3NjIiLCJncmFudHMiOnsiaWRlbnRpdHkiOiJzYW5qYXkiLCJ2aWRlbyI6e319LCJpYXQiOjE2ODM3ODg3NjIsImV4cCI6MTY4Mzc5MjM2MiwiaXNzIjoiU0s3NjcwMzViMTU1MGIzNTRmZDE4YTkwMTYyYjk0MWYxNSIsInN1YiI6IkFDNDM5MjJhNmRiZWYyMWYzMjJjZTEyZDM5ZDcxZmFlOWMifQ.MmUUi4Wz_yM08bsqOQb4CSQqEa6Lxx2RcM0nk6xw5d1
Requesting for help.
stackoverflow link https://stackoverflow.com/questions/76225960/second-participant-audio-is-not-playing-on-first-participant-device-when-automat

This was issue with browser media autoplay policy.


azure.mgmt.web.models.SkuDescription: required field metadata and documentation are missing

When I omit name from the call to begin_create_or_update on an AppServicePlan, I get an error of InvalidRequestContent indicating the property is required.  None of the other properties appear to be required - if the name is a valid "size" then the server accepts the content.
The metadata for SkuDescription has no _validation so none of the fields appear to be marked as required.
When I provide the name by itself, things work:
Request:
(Pdb) pp uut.proposed.sku.as_dict()
{'name': 'B1'}

Response:
(Pdb) pp uut.real.sku.as_dict()
{'capacity': 1, 'family': 'B', 'name': 'B1', 'size': 'B1', 'tier': 'Basic'}

Additionally, it looks like the fields other than name are actually readonly, but not marked as such, for example see the request below which should be confusing to the server, but is not because it ignores size and tier in the request:
Request:
(Pdb) pp uut.proposed.sku.as_dict()
{'name': 'B1', 'size': 'F1', 'tier': 'Premium'}

Response:
(Pdb) pp uut.real.sku.as_dict()
{'capacity': 1, 'family': 'B', 'name': 'B1', 'size': 'B1', 'tier': 'Basic'}

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 714d22c2-e0bf-0514-0c79-2df33620ac31
Version Independent ID: fc440021-8305-be7c-0537-e315041e599a
Content: azure.mgmt.web.v2019_08_01.models.SkuDescription class
Content Source: docs-ref-autogen/azure-mgmt-web/azure.mgmt.web.v2019_08_01.models.SkuDescription.yml
GitHub Login: @lmazuel
Microsoft Alias: lmazuel

Same issue: https://github.com/Azure-Samples/azure-samples-python-management/issues/59

Same issue: https://github.com/Azure-Samples/azure-samples-python-management/issues/59


Get wifi details for slides

Do we have the SSID and the wifi password yet so that I can include those details on the slide decks?

Christine Quakenbash at HQ Raleigh Marketing would have this information.  I've asked but no response yet. She helped us at Health 2.0 event last week. The wifi password is painted on the wall next to the bar area. Thanks.

Here you go:
It's on the wall by the bar but it's HQ capital and HQ@Capital! Is the password.
Just as an FYI Christie - HQ Capital's Event Mgr is out for the Bluegrass festival but available for a call or email. Natalie Noel - Marketing Manager will be there, and Ayana our Community Coordinator will as well.
Space will already be set for 130 when you arrive since Greenville Chamber will be there before you. The only thing we will need is help to reset the space at the end of the event.

Thanks!
I assume Tourtech will give us this info on Thursday when things are up and running. Then this card will close.


FY21Q2 refresh

update demos to reflect latest dependencies

Thanks for the awesome work here, sorry for the delay on our end.


Adding raw() to get raw buffer behind an image

This adds the raw(img) functionality, as discussed in #190
Should be merged after #293

I'm closing this PR to re-open a cleaner new one.


ShowMessage Request: Unactionable MessageActionItem

Hi,
We are having some questions to understand the following specification for ShowMessage Request
The message will be displayed to the user as a notification and possible actions will be available to the user.
In the following issue #69, we understand that the actions are sent back to the server. But in the specification, we understand that actions could also be client side (like Open Log), which could make sense as well.
If there is a need to actions which could be triggered by the clients (ie: IDE), we wonder if a pre-defined set of typed actions should not be added to the specification?
If the MessageActionItem is meant to be resent to the server, then should the specification be clear on that?
Optionally, could you point us to some existing samples using MessageActionItem ?

The request is currently specified in a way that the selected MessageActionItem is sent back to the server. The is not way right now to execute a special action on the client. We would need to spec those. An example looks like this:
	let actions: MessageActionItem[] = [ {title: 'Save'}, {title: 'Cancel'} ];

	connection.sendRequest(ShowMessageRequest.type, {
		type: MessageType.Info,
		message: 'What do you want to do',
		actions: actions
	}).then((selected) => {
		// Handle the selected item
	});

Any objection to close.

Ok great. Thanks for the answer and the clarification @dbaeumer.


Any detailed explain about timeline?

I can not find a official and detailed timeline document telling me how to explain the timeline graph.
For example, what are the meaning and difference  of /device:GPU:0/stream:all and /job:localhost/replica:0/task:0/device:GPU:0, /job:localhost/replica:0/task:0/device:GPU:0? In a multi-gpu environment, why there is only /device:GPU:0/stream:all, where is the /device:GPU:1/stream:all?

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Dependency issues when installing chef

The following error is happening during the step where we install chef as part of bootstrapping a new web server:
[ec2-54-68-94-132.us-west-2.compute.amazonaws.com] out: The following packages have unmet dependencies:
[ec2-54-68-94-132.us-west-2.compute.amazonaws.com] out:  git-core : Depends: git (> 1:<IP_ADDRESS>) but it is not going to be installed
[ec2-54-68-94-132.us-west-2.compute.amazonaws.com] out:  ruby2.0 : Depends: libruby2.0 (>= 2.0.0) but it is not going to be installed
[ec2-54-68-94-132.us-west-2.compute.amazonaws.com] out:            Depends: ruby (>= 1:<IP_ADDRESS>) but it is not installable
[ec2-54-68-94-132.us-west-2.compute.amazonaws.com] out:            Depends: rubygems-integration but it is not installable
[ec2-54-68-94-132.us-west-2.compute.amazonaws.com] out: E: Unable to correct problems, you have held broken packages.

If re-run fab bootstrap, there's no error. But maybe we can figure out what's going on with these dependencies?

Git is also listed in our dependencies to be installed later in the bootstrap. Seems to work fine if we don't do this up front.
That leaves ruby and it's dependencies...

Also, Chef installs a recent version of ruby in /opt/chef/embedded/:
$ fab dev ssh
ubuntu@ip-172-31-19-182:~$ /opt/chef/embedded/bin/ruby --version
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]

So unless we need ruby for anything else (besides running the chef client), we should be able to remove this from the installchef fab task as well.


[Req] Working examples for commands

Adding an Example property to each cobra.Command to provide the end user with working example can simplify their understanding of Arlon

I am adding some examples as a part of this PR: https://github.com/arlonproj/arlon/pull/202
Do let me know if some additional examples can be added

We would need more detailed exsmples. Take a look at https://github.com/platform9/appctl/blob/62a82734cc269765472bbf44d134bfbe86d5a90b/cmd/appDeploy.go#L18

Yep that can be added for commands like arlon cluster, arlon profile and arlon bundle commands

Yep that can be added for commands like arlon cluster, arlon profile and arlon bundle commands

It'd be better to do it separately with ready to use detailed examples as it's own PR, I see that #202 also adds install and verify commands too.

Yes I was about to change that PR to just make changes in install and verify for now. A separate PR can be raised for this

Hey team! Please add your planning poker estimate with Zenhub @bcle @jayanth-tjvrr @Rohitrajak1807 @ShaunakJoshi1407

@ShaunakJoshi1407 , @Rohitrajak1807 since you have worked on this and related docs earlier, please add some comments on the scope, what examples exist vs what don't - and please assign yourself if you plan to take it up.

These examples should be as simple as copy paste and go


Update the readme

Update the Readme, as per the documentation https://mohammedzamakhan.github.io/ngx-loadable/#/home

Hello. I had a question, do you want to add Getting started, API and FAQ from the website to the current documentation or you want to rewrite the whole documentation from scratch?

I want it to be similar to this repo https://github.com/angular-extensions/elements

Should we add a link to older version of ngx-loadable if your using Angular V7 and below?

@ReevMich the schematics should take care that that


feat: Add WaitStrategyOption

What does this PR do?
The pull request extends the IWaitForContainerOS interface and introduces an optional argument to customize the wait strategy. The wait strategy option is specific to each individual wait strategy.
Why is it important?
Canceling the container start using the cancellation token can be inconvenient at times. It does not allow treating each wait strategy individually. To offer a more convenient development experience, the additional IWaitStrategy provides the ability to cancel the container readiness check individually.
Related issues

Closes #827

The objective is to allow individual configurations for each wait strategy (retries, interval, timeout, etc.) without introducing any breaking changes, which made it somewhat challenging and not a completely seamless implementation. The changes allow developers to configure each wait strategy individual like:
Wait.ForUnixContainer()
    .UntilCommandIsCompleted(new [] { "test", "-f", "/tmp/foo" }, o => o.WithRetries(5).WithInterval(TimeSpan.FromSeconds(5)))
    .UntilHttpRequestIsSucceeded(r => r.ForPath("/health/ready"), o => o.WithTimeout(TimeSpan.FromSeconds(30)))

In the future, we can refactor the wait strategy API in general and provide a more seamless integration.


xban.db file wipes itself out after some 65536 limit is hit

Hi,
I recently discovered that at one point in April 2019 on one of my servers, my xban.db file was wiped out.
Around the time it happened, debug.txt turns this message up:

WARNING[Main]: [xban] Unable to load database: Deserialization failed: (load):378023: main function has more than 65536 constants

I don't know what "constants" are and wasn't paying attention to when this happened, but I don't think there were 65536 entries in xban.db at the time.
Also, I don't have the xban.db to offer you, but based the most recent server backup I have before this happened, 378023 is probably a line number in xban.db.
The most recent version of the mod was being used (February 12, 2019)
Sorry I can't offer more information on this.

I also had this problem(The reason why I switched to sban)
You could use one of this ways to safe the data instead:
https://github.com/minetest/minetest/issues/7574#issuecomment-406793673


Not working in latest VA beta

I have tried to get his working in the latest beta of voice attack however it just reply's with this message
UNABLE TO INVOKE PLUGIN. PLUGIN NOT VALID FOR THIS VERSION OF VOICEATTACK.
The version of VA I have is 1.5.16
Are there any work arounds to regain functions or will there be an update soon for the latest beta?

Have you tried re-running shutting down VoiceAttack, rerunning the configuration exe and ensuring that you are logged in, and restarting VoiceAttack?

Yes I did do all you had suggested. After a bit of searching, it seems VA was somehow blocked in my firewall. Once I unblocked it everything worked. Sorry for the hassle. Future note to anyone having same issues. Check firewall!


fix: sidebar scrolls to top after navigate

This change resolves issue #528 by binding the whole 'section' element to the 'sidebar' variable

thank you!


Deployment Throwing exception when used via Local Power Shell

Describe the bug
When trying to run the Deployment script "Deploy.ps1" the error is being thrown
ERROR: Decryption failed: [WinError -2146893813] Key not valid for use in specified state.. App developer may consider this guidance: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/wiki/PersistenceDecryptionError
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20231
Get-AzureRmSqlServer : Method 'get_SerializationSettings' in type
'Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient' from assembly
'Microsoft.Azure.Commands.ResourceManager.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
does not have an implementation.
At E:\Work\Live Route\Client Documents And Proposal\Midis_Internal_Departments\Liveroute\SAAS
Accelerator\Commercial-Marketplace-SaaS-Accelerator\deployment\Deploy.ps1:162 char:15

... ql_exists = Get-AzureRmSqlServer -ServerName $SQLServerName -Resource ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Get-AzureRmSqlServer], TypeLoadException
FullyQualifiedErrorId : System.TypeLoadException,Microsoft.Azure.Commands.Sql.Server.Cmdlet.GetAzureSqlServer

To Reproduce
Steps to reproduce the behavior:
Run the deployment script locally on your machine using below command. Please make sure to replace  {} with actual values
.\Deploy.ps1 -WebAppNamePrefix "ds02" -ResourceGroupForDeployment "{}"  -PublisherAdminUsers "{}"  -Location "{}"
Expected behavior
The Resources must be created
Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):
- Local PowerShell
- PowerShell versions
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      22621  2506
- Modules installed
-   1. Az
-   2.AzureRM

Hi @santhoshb-msft ,
Yes i am able to run but when running for the project getting below error

@ikhlesh - we tried repro but unable to do so. Also our recommendation is run in az cloud shell due to these dependencies.

Hi @santhoshb-msft ,
I was trying to find out the actual issue and found some references stating that this could be caused by conflict of packages versions.
So Can you please share me below details to find the actual issue, this will help others also to precisely know what packages and version will be needed in future.

Power Shell version you used.
Packages Versions (Az/AzureRM) you have.


Relaxing constraint for s3fs

reducing s3fs from v0.5 to v0.4
closes: #65

What

Simple one line update to dependencies

How to Test

Tests run

 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.

@mbseid thanks for opening this! Can you also make this change in the ci/environment.yml ?

Thanks for the feedback and nice catch. Updated above.


Compatible with xCode 9 beta3?

Doe snot compile with xCode 9/beta 3 I get the following error:
Undefined symbols for architecture arm64:
"_T09XCGLoggerAAC4infoyypSgyXK_s12StaticStringV12functionNameAF04fileF0Si10lineNumbers10DictionaryVySSypG8userInfotFfA3", referenced from: ..."
Anybody else having this issue?

More errors here. Looks like swift 4 breaks it.
Pods/XCGLogger/Sources/XCGLogger/Extensions/URL+XCGAdditions.swift:17:36: Generic parameter 'ResultType' could not be inferred
Pods/XCGLogger/Sources/XCGLogger/Extensions/URL+XCGAdditions.swift:56:64: Cannot convert value of type '((UnsafePointer?)) throws -> [String]' to expected argument type '(UnsafePointer?) throws -> _'
Pods/XCGLogger/Sources/XCGLogger/Destinations/AutoRotatingFileDestination.swift:113:28: Subscripts returning String were obsoleted in Swift 4; explicitly construct a String from subscripted result
Pods/XCGLogger/Sources/XCGLogger/Destinations/AutoRotatingFileDestination.swift:120:45: Subscripts returning String were obsoleted in Swift 4; explicitly construct a String from subscripted result

I'm also hitting this issue.
AutoRotatingFileDestination.swift:113
baseFileName = baseFileName[baseFileName.startIndex ..< fileExtensionRange.lowerBound]
should be changed to:
baseFileName = String(baseFileName[baseFileName.startIndex ..< fileExtensionRange.lowerBound])
and
AutoRotatingFileDestination.swift:120
let archiveFolderPath: String = filePath[filePath.startIndex ..< logFileNameRange.lowerBound]
should be changed to:
let archiveFolderPath: String = filePath[filePath.startIndex ..< logFileNameRange.lowerBound]

Created a pull request with a fix: https://github.com/DaveWoodCom/XCGLogger/pull/227

@rubenhak 404

Sorry, please try again the link above.

Hi, I am getting the following also using XCGLogger 5.0.1:

/Users/matti/src/qvik-network-ios/Pods/XCGLogger/Sources/XCGLogger/Destinations/AutoRotatingFileDestination.swift:113:28: error: subscripts returning String were obsoleted in Swift 4; explicitly construct a String from subscripted result
            baseFileName = baseFileName[baseFileName.startIndex ..< fileExtensionRange.lowerBound]
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                           String(                                                                )
/Users/matti/src/qvik-network-ios/Pods/XCGLogger/Sources/XCGLogger/Destinations/AutoRotatingFileDestination.swift:120:45: error: subscripts returning String were obsoleted in Swift 4; explicitly construct a String from subscripted result
            let archiveFolderPath: String = filePath[filePath.startIndex ..< logFileNameRange.lowerBound]
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            String(                                                      )

Is there a version of XCGLogger current available via Cocoapods that compiles with Swift4?

Will be released today.

6.0.0 is the new version for Swift 4. Please let me know if you see any issues. If there are, we can get a point release done quickly to address them.
BTW, please (yes, I'm begging a bit), download my new app: https://alltherings.fit/ And tell your friends about it. I need to get the sales up, or get a real job. lol. Wife's patience is running out...


Dev/asset file

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:

Codecov Report

Merging #891 (df1bb98) into dev/0.8 (6f0e38c) will decrease coverage by 0.30%.
The diff coverage is 5.83%.

:exclamation: Current head df1bb98 differs from pull request most recent head 4141eec. Consider uploading reports for the commit 4141eec to get more accurate results

@@             Coverage Diff             @@
##           dev/0.8     #891      +/-   ##
===========================================
- Coverage    10.33%   10.02%   -0.31%
===========================================
  Files          242      262      +20
  Lines        11432    12110     +678
  Branches      1707     1826     +119
===========================================
+ Hits          1181     1214      +33
- Misses       10049    10698     +649
+ Partials       202      198       -4

Impacted Files
Coverage Δ

packages/core/src/2d/sprite/Sprite.ts
1.63% <0.00%> (+0.24%)
:arrow_up:

packages/core/src/2d/sprite/SpriteRenderer.ts
1.75% <0.00%> (-0.12%)
:arrow_down:

packages/core/src/2d/text/Font.ts
1.96% <0.00%> (-5.74%)
:arrow_down:

packages/core/src/2d/text/TextUtils.ts
0.60% <0.00%> (+0.04%)
:arrow_up:

packages/core/src/Background.ts
33.33% <0.00%> (ø)

packages/core/src/Camera.ts
9.93% <0.00%> (+1.64%)
:arrow_up:

packages/core/src/ComponentsManager.ts
2.65% <ø> (+0.23%)
:arrow_up:

packages/core/src/Engine.ts
39.10% <0.00%> (+0.24%)
:arrow_up:

...ges/core/src/RenderPipeline/BasicRenderPipeline.ts
13.00% <0.00%> (ø)

packages/core/src/RenderPipeline/RenderQueue.ts
2.14% <0.00%> (ø)

... and 109 more

Continue to review full report at Codecov.

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


Add integrations to codeowners

For non prefecthq related
(base) [Mon 9 10:12] .github: cat CODEOWNERS

(base) [Mon 9 10:12] .github:

for prefecthq
cat CODEOWNERS
* @PrefectHQ/integrations

I tried generating a collection from this branch, and I didn't see the codeowners populated at all
that should happen when the collection is generated right?

It works for me, and only if github_org == PrefectHQ


Importing an IED only works once

Describe the bug
@mtilbrook has been doing some testing for me.
It appears that from a file with a single IED, it can only be imported once using the "Import IEDs" menu option.
To Reproduce
Steps to reproduce the behavior:

XAT_PCS-221S.zip

Open the attached zip file, XAT_PCS-221S.zip.
Open from within the zip file, the XAT_Prot1_Base_Configuration.scd file.
Click on 'Import IEDs', select the XAT_PCS-221S.icd. This only has a single IED.
The IED is imported successfully.
Now in the Substation editor, click on the IED , go to Edit and modify the name so it is different from the original file.
Click Save (note another small bug that the IED names are not refreshed in the Substation Editor) (I will file a separate issue for this).
Go to Import IEDs.
Select the same file.
Nothing happens.

Expected behavior
I should be able to import a device from the same SCL file more than one time, particularly if it has a different name from all other devices in the project.
It should not depend on the location of where the file came from on my computer.
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: Version 103.0.5060.114 (Official Build) (64-bit)

Additional context
This appears to work if the SCL file being added is from a different location on the user's computer.
It seems to only be a problem with the "last added file", if two copies are created on a computer the use can alternate between them.

I learned from MDN and a little inspection that we use an input element and the @change event based on the value.
After the change event is called, a value is provided representing a file.
We need to reset the value attribute at the end of the import to accept a different file path. PR momentarily.


Xcode configuration

Awesome stuff!
It would be simpler if we use xcconfigs for the configuration.

Nice! I'll try to do it this weekend.

Nice! I'll try to do it this weekend.

Could you try cookiecutter https://github.com/cookiecutter-swift/Framework -c feature/xcconfigs ?

Added in https://github.com/cookiecutter-swift/FrameworkTemplate/pull/13


unit test IDE execution improvements

update README about Run Configuration setting
update task that needs to depend on assembleFullDebug
** this was needed to run individual local tests

Great. Thanks for debugging this. One thing though, the commit message doesn't tell why you changed the dependency for assembleFullDebug.  Please mention that this was needed to run individual local tests as well.

Hmm, I thought GitHub had somekind of approve functionality... Oh well, this PR is fine by me.
@Calebzor @SyncedSynapse is the project maintainer, in case you didn't know that already, and he merges all PRs and does a final check.

@poisdeux it has. Click on files changed and then top right you can choose approved


Circulating WoT updates.

We need to figure out, what is the best way to keep up with proofs being created.
One idea that I have is to have urls embedded in both IDs and Review Proofs, that would crev fetch updates in the future.
Review Proof already is supposed to have project_urls field: a sequence of URL. The main idea was to allow identifying somehow, which given Review Proof is reviewing. But a secondary function could be - fetching future Review Proof.
Eg. maintainers release version 1.2.3. The snapshot at the point of the release (that is uploaded to NPM.org/crates.io) does contain some Review Proofs already, but only after it is released people will find out about it, review it, and hopefully submit reviews as PRs to the project.
If the existing Review Proofs contain URL to the upstream repository, crev can download the up to date revision, and use the Review Proofs that came up after the release.
Similarly, it might be in user's best intention to keep a public personal git repository with all own Review Proofs, all Trust Proof from other users, and all Trust Proofs of their own. This way all people that trust given ID, and already have their ID in their local WoT, can fetch the latest version, and keep up to date. So we should add urls field with sequence of urls in the user ID (and thus in Trust Proofs).
The only problem that I see here is finding a balance between keeping up to date, and potentially recursively having to download too much data.
The Trust Reviews URL have a natural cut-off point: download updates only for IDs you trust (since you trust them).
The repository URLs don't, since "trusting" and "not trusting" is not clearly defined, and changes all the time. But the "the current one and all dependencies" seems OK...

Idea
We will rely on people publishing their reviews themselves! Every Review Proof will be stored twice: once in project itself, once in author's local db which will be pushed to public git repo.
Every Proof will have from-url (with from-url-type in the future, for non-http+git urls), to help people discover them, and download updates from all the trusted reviewers.
We can probably even drop the from-name altogether.
This also helps with hosting negative reviews.
I like this idea.


Fix jobqueue system config_name not correctly passed through

Closes #358

I tried to think how to test this, but nothing really clean comes to my mind, only something involving checking cluster._kwargs to check interface ... Should we do that?

Thanks for resolving this @guillaumeeb .
For testing, maybe we should check the scheduler_spec or worker_spec, to verify that the interface is somewhere in there?
async def test_foo(cleanup);
    with dask.config.set(...):
        cluster = PBSCluster(asynchronous=True)  # no need to await it
        assert "my-interface" in str(cluster.scheduler_spec)
        assert "my-interface" in str(cluster.worker_spec)

Thanks for the hint @mrocklin, I tried to add something. Did not pu the second assert because it caused problems as cluster.worker_spec was None and also because the original problem arised in Scheduler spec.


Snippet breaks auto-complete

I'm using a dv snippet to define a variable like this:
"dv": {
    "prefix": "dv",
    "body": "DEFINE VARIABLE ${1:Name} AS ${2|CHARACTER,DATE,DATETIME,DECIMAL,HANDLE,INT64,INTEGER,LOGICAL,LONGCHAR,MEMPTR,RECID,ROWID,VOID|} NO-UNDO.$0",
    "description": "Define (private) variable"

If I do that and tab to the $2 placeholder to chose a data type, and start typing e.g. "Object" I do not get the expected auto-completion suggestions.
If manually type the complete "define variable" statement, then I get auto-complete suggestions as expected.

It appears removing the NO-UNDO. causes the completion to work again.
That should not be necessary though...

The issue comes from VS Code that doesn't ask the language server for code completion when in the second argument (while code completion is triggered for the first argument). It's not possible to do anything here at the LS level. I'm getting better results with this snippet:
  "dv": {
    "prefix": "dv",
    "body": "DEFINE VARIABLE ${1:Name} AS ${2} NO-UNDO.$0",
    "description": "Define (private) variable"
  }

In this case, code completion is requested, so it's possible to present the list of classes (with at least one character).
Note that there's also a difference if you don't have no-undo and no space between ${2} and .. That will be fixed.


Update byte_enum.py

Description
Implement ByteEnum as utility and use it in subpackages.
How Has This Been Tested?
Software tests.
Process
I know the process and did my best to follow it

By mistake I did previosuly commit to main instead to this branch :(


auto-value uses guava with vulnerability

Hi,
it looks like that auto-value 1.10.1 is used that has an older version of guava 31.1-jre.
this guava version has a vulnerability https://nvd.nist.gov/vuln/detail/CVE-2023-2976.
are you planning to update to auto-value 1.10.2 that has the new guava?
thanks.

Hi @oleg-mirzaev,
google-cloud-bigquery library don't have a direct dependency on auto-value:1.10.1. The dependency comes in from google-cloud-bigquerystorage where it has been updated to 1.10.2 in the latest version.
Once the latest version of google-cloud-bigquerystorage gets to google-cloud-bigquery  this would be resolved.
ETA ~this week.


Add property for default export storage account to Healthcareapis

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

Can I get some feedback on why the automated tests are failing? I can't see the detailed results.

/azp run automation - sdk

/azp run automation - sdk


New files no longer auto detect language

Issue Type: Bug
When creating a new file, i.e *.scss, *.js, VSCode no longer applies the correct language highlighting and remains at the program's default language, in my case this is HTML Liquid.
It requires manually selecting the correct language from the bottom right corner. (Note: When doing this, the "Auto Detect" option works as expected.

 I tried:

Create a new test.js file in the explorer
Add some JS code

The file is properly colored.
Do this steps not work for you?
Can you try with disabled extensions?
What are your steps to reproduce the problem.

Create a new test.js file in the explorer
Add some JS code

Hey @egamma,
So it seems like this problem occurs when creating the file from within VSCode.
Ahh! I just disabled my extensions and it's worked. Hmmm it must be one of them then.

I suggest to selectively disable the extensions in the Extensions Viewlet and then to report the issue against the extension.


Generate cluster information from event logs in Qualification tool

Contributes to #581. This PR parses event logs and generates cluster information as JSON format in Qualification tools.
Changes

Rename ClassWarehouse -> ProfileClassWarehouse
Create ClassWarehouse to store common case classes for both tools.

Move ExecutorInfoClass from ProfileClassWarehouse to ClassWarehouse

Move implementations of doSparkListenerBlockManagerAdded and doSparkListenerExecutorAdded from EventProcessor to EventProcessorBase.

Since we need these methods while processing qualification event logs.

Add ClusterInfo and EventLog path in QualificationSummaryInfo

Since we are creating a single JSON file after processing all event logs, we need this as aggregate info.

Add argument --cluster-report and --no-cluster-report to toggle cluster information generation. It is enabled by default.
Add unit tests.

Output JSON
File: rapids_4_spark_qualification_output_cluster_information.json
[ {
    "appID": "app-001",
    "appName": "abc",
    "eventLogPath": "path",
    "clusterInfo" : {
      "coresPerExecutor" : 4,
      "numExecutorNodes" : 18
    }
}, {
    "appID": "app-002",
    "appName": "abc",
    "eventLogPath": "path",
    "clusterInfo" : {
      "coresPerExecutor" : 16,
      "numExecutorNodes" : 8,
      "executorInstance" : "Standard_DS3_v2",  // databricks event log
      "driverInstance" : "Standard_DS3_v2"
    }
} ]

Tests Coverage:
Following event logs have been added for testing:

eventlog_2nodes_8cores: 2 executor nodes with 8 cores.
eventlog_3nodes_12cores_db: 3 executor nodes with 12 cores in databricks aws platform.
eventlog_3nodes_12cores_same_host: 3 executor nodes with 12 cores having 2 out of 4 executors on same host.
eventlog_3nodes_12cores_variable_cores: 3 executor nodes with 8, 12 and 8 cores.
eventlog_driver_only: Event log with driver only.
eventlog_3nodes_12cores_exec_removed: Event log with executor removed.

Do we want the cluster report to be always generated or should we have a config option (can be internal) to not have it generated?  In cases where the user supplies cluster info via a CSP cluster or YAML/JSON config, we don't need to generate the cluster report and can skip that analysis.

Do we want the cluster report to be always generated or should we have a config option (can be internal) to not have it generated

That makes sense. I have added --cluster-report and corresponding --no-cluster-report arguments to toggle cluster information generation. It is enabled by default.

In cases where the user supplies cluster info via a CSP cluster or YAML/JSON config, we don't need to generate the cluster report and can skip that analysis.

When user tool detects CPU cluster is provided, it will pass --no-cluster-report to disable this report generation. I will make this change during user tools.

Throughout the execution, we have executors being added/removed.
What is the correct way to report the resources consumed by the app?

There are two aspects to this:

Executors:

doSparkListenerExecutorAdded - Adds entry in executorIdToInfo map and updates host field.
doSparkListenerExecutorRemoved - Not related.

Block Managers:

doSparkListenerBlockManagerAdded - Not related.
doSparkListenerBlockManagerRemoved - Appends to blockManagersRemoved list.

Now to get actual number of executor nodes,
      // Remove hosts listed in 'blockManagersRemoved' from the 'executorHosts'
      // list to determine the actual number of hosts
      val removedHosts = blockManagersRemoved.map(_.host).toSet
      val numExecutorNodes = (executorHosts.toSet -- removedHosts).size
      Some(ClusterInfo(coresPerExecutor.max, numExecutorNodes, executorInstance, driverInstance))

Throughout the execution, we have executors being added/removed.
What is the correct way to report the resources consumed by the app?

There are two aspects to this:
1. Executors:

   1. `doSparkListenerExecutorAdded` - Adds entry in `executorIdToInfo` map and updates `host` field.
   2. `doSparkListenerExecutorRemoved` - Not related.

2. Block Managers:

   1. `doSparkListenerBlockManagerAdded` - Not related.
   2. `doSparkListenerBlockManagerRemoved` - Appends to `blockManagersRemoved` list.

Now to get actual number of executor nodes, we can have the following approach:
      // Remove hosts listed in 'blockManagersRemoved' from the 'executorHosts'
      // list to determine the actual number of hosts
      val removedHosts = blockManagersRemoved.map(_.host).toSet
      val numExecutorNodes = (executorHosts.toSet -- removedHosts).size
      Some(ClusterInfo(coresPerExecutor.max, numExecutorNodes, executorInstance, driverInstance))

Lets take a spark's expert take on that.
@tgravescs WDYT the best way to report the cluster shape for a given application? Do we report maximum? average, or the snapshot?

Throughout the execution, we have executors being added/removed.

Created a follow up issue to handle dynamic allocation of nodes - https://github.com/NVIDIA/spark-rapids-tools/issues/799


In Chrome v50.0.2661.102, container cannot be hidden

This is a (multiple allowed):

[x] bug

Swiper Version:  3.4.2

Platform/Target and Browser Versions: Chrome 50.0.2661.102

Actual Behavior
When the mouse moves to the code in Dev Tools 'Elements' page,the container will hide. But other browsers have not yet been able to do so. I think this is a browser problem.

Chrome 50? Sounds old. Chrome 60 is the current version.
Is this still occurring?


Mobs in the halloween spirit

Skeletons, Wither Skeletons, and Zombies can wear pumpkins on their heads.
Endermen can spawn holding pumpkins

This is part of vanilla, see https://minecraft.gamepedia.com/Easter_eggs#Halloween

Well I totally messed up my Git tree, and since idk how to change the branch this points to, im closing & reopening the pr

@Draylar made another PR


Implement File I/O for gzip format files

Child to #54 for implementing file open/writing for compressed file formats. This issue is specific to implementing this for gzip files using https://docs.python.org/3.5/library/gzip.html

I am working on it

Any status update @ChuyuHsu?

Want to check if it is worth waiting on this before doing another release. Would like to push out the new sqlite3 additions and a couple change I am planning on making soon to the LINQ API

I will issue a PR tomorrow.
I have done the compressed file type detection mentioned in #54
Will PR after the text mode reading tested.

Sounds awesome @ChuyuHsu

Issue resolved by #085085fb1cf21089a78f811cd5534a60d4123ce8, #9b98c99dd00892b040e2d3a942ac57e7c49c71a9, and https://github.com/EntilZha/PyFunctional/pull/63


Read keywords from experiment metadata

This pulls out keywords from a metadata.yaml for a given experiment. An example query:
e = cc.database.NCExperiment
(s
 .query(e)
 .filter(e.keywords.contains('cosima'))

Closes #186
Needs:

[x] tests
[x] DB version 2 to 3 migration (https://github.com/COSIMA/cosima-cookbook/issues/186#issuecomment-651474270)

Also, any YAML wizards want to chime in on whether/how we check that keywords is provided as a list? I guess we should also upcast a single keyword to a list, or it'll probably try to add each letter as its own keyword.

This is how it is done in payu
https://github.com/payu-org/payu/blob/master/payu/models/model.py#L146

A note on migration: with alembic installed (it's not a dependency of the cookbook), edit the alembic.ini to point to the right database file, then run alembic upgrade head to migrate to the latest database revision.

Do we want a method to return all current keywords in a Database?

Perhaps this could be addressed as part of #185?

Do we want a method to return all current keywords in a Database?

Perhaps this could be addressed as part of #185?

Agreed.

Wow, no conflicts with #189!


[Bug Report]

Bug Description
when i try to play anything from youtube it does this
`[00:44:27] [ERROR] [SignatureCipherManager]: Problematic YouTube player script /s/player/89dfc5b3/player_ias.vflset/en_US/base.js detected (issue detected with script: no n function match). Dumped to C:\Users\me\AppData\Local\Temp\lavaplayer-yt-player-script8211637692447611812.js
[00:44:27] [ERROR] [AudioHandler]: Track 8dtzMPApA4M has failed to play com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Please sign in
at dev.lavalink.youtube.clients.skeleton.Client.getPlayabilityStatus(Client.java:74)
at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:98)
at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:183)
at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:109)
at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:71)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
`
Steps to Reproduce

start the bot
join vc
play any yt link

Expected Result
playing music
Debug Output
System Properties:
  java.version = 11.0.25
  java.vm.name = OpenJDK 64-Bit Server VM
  java.vm.specification.version = 11
  java.runtime.name = OpenJDK Runtime Environment
  java.runtime.version = 11.0.25+9
  java.specification.version = 11
  os.arch = amd64
  os.name = Windows 10

JMusicBot Information:
  Version = 0.4.3
  Owner =<PHONE_NUMBER>00215888
  Prefix = !!
  AltPrefix = null
  MaxSeconds = 0
  NPImages = false
  SongInStatus = false
  StayInChannel = true
  UseEval = false
  UpdateAlerts = true

Dependency Information:
  JDA Version = 4.4.1_353
  JDA-Utilities Version = 3.0.5
  Lavaplayer Version = 2.2.1

Runtime Information:
  Total Memory = 254
  Used Memory = 94

Discord Information:
  ID =<PHONE_NUMBER>053422622
  Guilds = 1
  Users = 6

Additional Info
No response
Checklist

[X] I have looked for information about this within the documentation
[X] I have searched for similar issues on the issues page
[X] I am using an official release from the releases page

JMusicBot Version
0.4.3

Duplicate of #1588


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1652 ms

Resolved: Bofrost.be performance has improved in c7001d8 after 36 minutes.


1st Draft of Data Binding and Virtualization framework

Support for data binding and localization of text and other assets. This framework is a combination of platform agnostic and Unity specific code.

Many of the issues we're seeing with scrolling object collection will be fixed by this--particularly with large lists, performance, and using dynamic data.


Dropzone file param missing when using drag&drop

When using the Dropzone component in a form and then submitting the form, the parameter for the file is not submitted to the server, when Drag&Drop was used. It works when picking the file from the dialog.
Tried with and without multiple/accept options.
<%= form_with( url:import_path, builder: Polaris::FormBuilder) do |form| %>
          <%= polaris_form_layout do |form_layout| %>
            <% form_layout.item do %>
              <%= form.polaris_dropzone :import_file,
                                        multiple: false,
                                        accept: 'text/csv',
                                        error_overlay_text: 'File type must be .csv'%>
            <% end %>
            <% form_layout.item do %>
              <%= polaris_button(primary: true, submit: true) { "Upload & Import" } %>
            <% end %>
          <% end %>
        <% end %>

D&D:

File picked from dialog:

Using:
ruby '3.1.2'
'rails', '~> 7.0.3'
polaris_view_components (0.10.0)
Windows 11 Machine, Chrome Browser

@DaveEshopGuide thanks for reporting that. I totally missed that bug. I opened a PR that should fix that: https://github.com/baoagency/polaris_view_components/pull/239

@DaveEshopGuide published v0.10.1 with fix for that issue.


Unhandled rejection using coroutines

Have this code:
var bluebird = require("bluebird");

var doError = bluebird.coroutine(function* () {
  asdasd;
});

bluebird.coroutine(function* () {
  try {
    yield new Promise(function (resolve) {
      return setTimeout(resolve, 100);
    });
    yield Promise.all([doError()]);
  } catch (e) {
    console.log(e);
  }
})();

Looks reasonable, but it triggers an unhandled rejection message. Is this expected behaviour?

Looks like a bug to me, @petkaantonov ?

It should be
bluebird.coroutine(function* () {
  try {
    yield new bluebird(function (resolve) {
      return setTimeout(resolve, 100);
    });
    yield bluebird.all([doError()]);
  } catch (e) {
    console.log(e);
  }
})();

Promise is not bluebird in your case.

Still, shouldn't this work with the native Promise.all just as well?

The reason I ran across this is that we're not using bluebird directly, but via babel's implementation of ES7 async.

Agree with @bergus - shouldn't this be interoperable with standard Promises?

The unhandled rejection reporting waits until end of turn to see if there is an error handler, but when mixing with other implementations like this, the error handler might not be attached soon enough because the async schedulers are not aware of each other.
I tested this extensively and indeed it turned out that the native Promise.all is calling the .then on the immediately rejected promise too late, after the error has already been reported.

You can see native promise calls the then too late by doing this:
var c = false;
bluebird.resolve({
    then: function(_) {
        c = true;
        _(3);

    }
})
// true
console.log(c);

var c = false;
Promise.resolve({
    then: function(_) {
        c = true;
        _(3);

    }
})

// false.
console.log(c);

I didn't think Promises/A+ mandates whether thenable resolution is asynchronous or not? Afaik even implementations that defer it until a handler is added are still conformant.

Steps are executed synchronously unless there is explicit mention of "run these steps in next turn" or similar.


Zero-shot inference performance of CLIP in the paper

Hi!
Given the Flowers102 dataset,
Running the code without test time tuning yields results lower than the paper's zero-shot clip performance:
Result (60.94) < CLIP RN-50 (61.75)
How do you get the zero-shot inference performance in your experiments?
Sincerely,

Hi,
I used the default prompt for CLIP's zero-shot inference, which is "a photo of a".
The performance difference you mentioned seems very small. You might want to check something like data split and data preprocessing. I hope this helps. Thanks!
Best,


feat: Leader Aware Routing in Connection API

By default, RW/PDML requests are preferred to route to leader after LAR is enabled from backend.
This PR adds routeToLeader Boolean connection option for implementing opt-out feature for LAR.
Example URL: cloudspanner:/projects/test-project-123/instances/test-instance-123/databases/test-database-123?routeToLeader=false
Note: You can also pass in routeToLeader=true, but that is the default behaviour (even if you do not pass in this option).
This PR is dependent on changes in https://github.com/googleapis/java-spanner/pull/2214, and can be merged only after https://github.com/googleapis/java-spanner/pull/2214 is merged. Github checks are expected to fail for now.

Pls do not merge this PR until LAR is enabled by default in the Java client library.


Write a Ruby program to convert hexadecimal to decimal

Description
Write a Ruby program to convert hexadecimal to decimal
Hexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.
To convert a hexadecimal number to decimal, we can use the following algorithm:

Multiply the first hexit by 16^0.
Multiply the second hexit by 16^1.
Multiply the third hexit by 16^2.
Multiply the fourth hexit by 16^3.
Repeat steps 3 and 4 until the last hexit.
Add the results of all the multiplications.
The decimal number is the sum of all the multiplications.

Input  : A
Output : 10

How to contribute

Save the solution in ConvertHexadecimalToDecimal.rb file
Add ConvertHexadecimalToDecimal.rb file in convert-hexadecimal-to-decimal folder

!assign


Setup Backend Rails

What I did ♻
In this project's branch, I set up the API that will serve as the backend of the Hello-react-front-end
Project requirements 📗

Create a new Rails API app called 'hello-rails-back-end'.
Initialize your project with Git.
Make sure that your project has a Postgres database set up.
Create a table for storing your messages and create 5 different greetings.
Create an API endpoint that selects a random greeting from your table (you will need a controller with an action and rails route).

Thank you @ShadyShawkat


Your example's image is not available. Can you provide a more detail example of usage?

What is mongoid needed? does it need mongodb to run?
Do you have a working site where I can test it out?

https://github.com/ruby-china/ruby-china/blob/master/app/models/user.rb


Add new mandatory fields to the Article model

Describe the bug
Recent changes to the Zendesk API requires that the fields user_segment_id  and permission_group_id be set to an Article to be able to create it. See:

https://develop.zendesk.com/hc/en-us/articles/360001934168
https://developer.zendesk.com/rest_api/docs/help_center/articles#create-article

To Reproduce
Create a test case against a Zendesk environment that create a real simple article like the following:
        Article article = new Article();
        article.setSectionId(123456789L);
        article.setAuthorId(instance.getAuthenticatedUser().getId());
        article.setTitle("[Test] from zendesk-java-client");
        instance.createArticle(article);

Expected behavior
We would expect the article to be created without any issue.
Actual behavior
The article is not created because of the exception:
org.zendesk.client.v2.ZendeskResponseException: HTTP/400: Bad Request - {"title":"Invalid attribute","message":"You passed an invalid value for the user_segment_id attribute. You must provide user_segment_id. Set to 'null' to make it visible to everyone.. You passed an invalid value for the permission_group_id attribute. You must provide permission_group_id."}

	at org.zendesk.client.v2.Zendesk.complete(Zendesk.java:2252)
	at org.zendesk.client.v2.Zendesk.createArticle(Zendesk.java:1666)
	at org.zendesk.client.v2.RealArticleCreationTest.createArticleWithoutSegments(RealArticleCreationTest.java:76)
	[...]
Caused by: org.zendesk.client.v2.ZendeskResponseException: HTTP/400: Bad Request - {"title":"Invalid attribute","message":"You passed an invalid value for the user_segment_id attribute. You must provide user_segment_id. Set to 'null' to make it visible to everyone.. You passed an invalid value for the permission_group_id attribute. You must provide permission_group_id."}
	at org.zendesk.client.v2.Zendesk$BasicAsyncCompletionHandler.onCompleted(Zendesk.java:1997)
	[...]

Screenshots
N/A
Desktop (please complete the following information):

OS: OSX 10.14.5 (also reproduced from Alpine 3.9)
Browser: Chrome
Version zendesk-java-client-0.8.0

Additional context
This is related to a change in the Articles API, downstream of the new Zendesk Guide permissions solution: https://develop.zendesk.com/hc/en-us/articles/360001934168

Pr merged @Dohbedoh


Simplify bld.bat

This also detects the CPU count of the container being used for the build.

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

Also re-rendered the feedstock to reduce the build matrix.

Tweaked the title to get the linter status back.


Getting started guide for GCS is stale for running service accounts with appengine dev_appserver

I apologize in advance if this isn't the right spot to file this issue since this is related to documentation of Google cloud api libraries as they related to local appengine development.
The instructions as listed on https://cloud.google.com/appengine/docs/go/googlecloudstorageclient/getstarted explicitly state that this should work:
dev_appserver.py . --appidentity_email_address [your_service_account_email] --appidentity_private_key_path [path_to_pkcs1_pem_file]
With no code modifications, to make your dev_appserver use the service account credentials for the sample code provided.
This is not the case. The code actually checks for the value of the env var GOOGLE_APPLICATION_CREDENTIALS, before falling back to your default credentials under ~/.config/gcloud/application_default_credentials.json. Which is not going to be your service account.
The --appidentity_email_address and --appidentity_private_key_path flags that are recommended don't actually do anything for this code example. The credentials aren't used for the OAuth token dance.
One needs to either add the env variables to the app.yaml, or explicitly write code to pass in a separate TokenSource as an optional cloud.ClientOption in the call to storage.NewClient(...) that has the service account credentials loaded. Neither of which are reflected in the guide.
Using a service account for local dev is important If one wants to use a separate dev-only GCS bucket for testing. This however requires forked code paths just for local development (outside of just swapping the bucket name).
A better solution IMHO would be to have dev_appserver take in a --appidentity_json <path_to_credentials_json>  (or something like that) and then internally expose that to the go_appengine runtime via the GOOGLE_APPLICATION_CREDENTIALS env var which would make this work with no code changes at all to the libraries since they already pick this up for the managed VM and GCE cases.

/cc @broady @okdave

More generally, @okdave, what's the right bug tracker for this kind of thing? Probably not this one. But where should we redirect people?

@rsc the correct thing to do is to press the "Send feedback" button inline in the docs.
I'm going to move this to the internal Google bug tracker (b/26490266).


Add CHANGELOG.md

cc @teetone @rishibommasani @dtsip Any other significant changes to highlight for the next release? Here's the commit log.

Can we also add the following? (feel free to ignore either of these if they you don't feel they are worth highlighting.)
## Result summarization
- Added average win-rate computation for model-v-scenario tables.
- Added additional calibration metrics as a "Targeted evaluation".

Added result summarization items.


Genesys Dice

The team at Quest Portal have requested support for the Genesys game dice. They even sent over 3D models and vector images.
I've already started working on implementing this feature but wanted to add it here for tracking purposes. One thing that need reworked is identifying dice not by their number of sides, but by some other unique identifier. I'm also looking into creating a small parser that can be added as a plug-in. Then '3 green dice'(3dg) could be written as ggg which is more commonly used on Discord rollers. I'll probably add a new displayResults module over at dice ui to ensure the final results are easy to parse.

@frankieali I also am keen to try this out. Is there any way I can contribute?

@frankieali I've started work on this - I've got some 3D models of the dice that I've tweaked and I'm working on playing with Babylon exporter to create the textures similar to the way you've done so.

Quick update:
@frankieali I'm looking at changing some of the parsing code in dice-box to remove the implicit assumption all dice are dX because Genesys uses named dice (i.e. boost).
I think on the code side I can add the support. With the 3D models I'm hitting the boundaries of my knowledge when it comes to mapping the die faces to the results. I'd appreciate some advice on how to proceed there.

Hey @arranf. Yes, I think you're right about the dX names. I ran into that same issue when implementing the fate die as "df". The dice model files have gotten a little more complex to implement than I had hoped because there's specific information that you have to provide in each set. I got a great set of 3D dice models from the team at Quest Portal. I've overdue in implementing them.
Concerning the parsing code, I was thinking this would be a good opening to introduce a plug-in system. Then parsing code is not hard-coded in the core project, but is something that could be developed as a separate package or packed with the dice model themselves.
I've been working on predetermined dice rolls in the meantime, which is going to introduce a lot of code changes. I did not have a lot of bandwidth to work on this project in August, but hopefully I can make some headway this month.
I'll try to get the Genesys dice theme into the https://github.com/3d-dice/dice-themes project soon. It may only roll up numbers, but these can be remapped by another module that handles dice results similar to https://github.com/3d-dice/dice-ui/tree/main/src/displayResults

@frankieali
RE the Genesys dice theme.
I've got a 80% working Genesys theme (will be 100% very shortly!). The guys over at Quest Portal shared with me the same ones they sent you and I've had some issues with performance from the geometry around the symbols on the faces. I can make a PR with what I have now but I was planning on tweaking those models to make them more performant.
I'd love to work with you on changing the parsing logic and remapping. I haven't had a chance to look at that yet.
Quick question: does the vite build take a long time for you for the dice-box repo? I think it's transpiling all of Babylon each time for me and it takes up to 5 minutes on a 2015 XPS with an i7. Haven't run into this before.

So when I'm developing code, I switch the dice-box repo to use the source code directly and skip the compiling step. Here's what I do.
In the package.json files you'll see these entries
	"files": [
		"dist",
		"copyAssets.js"
	],
	"main": "./dist/dice-box.es.js",
	"dev-files": [
		"src"
	],
	"dev-main": "./src/index",

I change these entries when developing to
	"prod-files": [
		"dist",
		"copyAssets.js"
	],
	"prod-main": "./dist/dice-box.es.js",
	"files": [
		"src"
	],
	"main": "./src/index",

This changes the entry point for the module to the source files. Then I will create an npm link. From my Dice-Box folder path in terminal I generate the virtual link like so
~Dev/fantastic/Dice-Box > nvm link
Then, I have a separate project to bring in all my modules for testing. First I set up the skeleton project using vite. Then you can link your local module using
~Dev/DiceAppTest > nvm link @3d-dice/dice-box
The code in the main.js file of my DiceAppTest is simply:
import './style.css'
import DiceBox from '@3d-dice/dice-box'
let Box = new DiceBox("#dice-box",{
	assetPath: '/assets/dice-box/',
})
Box.init().then(async(world)=>{
	Box.onRollComplete = (results) => {
		console.log(results)
	}
	Box.roll(['1d4','1d5','1d6','1d7','1d8'])
})

Then I run npm run dev from my DiceAppTest folder. It will pick up any changes in Dice-Box instantly.
Let me know if you have any questions on this. I'd could even upload my DiceAppTest project if you think it would help.

Once I've hit a code release point, I switch the package.json back, run a build, test it and push out the updates.

@frankieali Thanks this is super helpful. I was doing the npm link but I wasn't doing the rest. I'll try and doc this somewhere useful on your docs site.
I put up a PR for the unoptimized Genesys theme but I'm just trying to figure out the face index mapping. Then I'll get started on a module that remaps the results.

Dice face mapping ... real quick (sorry, got a family event)
In Blender, under viewport overlays, ensure "Mesh Edit Mode" has "faces" checked. Then, when in edit mode on the collider model, you should be able to see the face number on the collider model that maps to the higher res dice face. In the image below you can see that the value of 9 maps to face number 17 (which appears very tiny in the center of the face).

No worries! Thanks for responding!
Will do this now :)

An initial PR is up for the Genesys dice theme: https://github.com/3d-dice/dice-themes/pull/1
The next steps as I understand are:

Get rid of the initial restriction of prefixing dice with d
Add a remapper to map from the magic numerical constants in the theme to a better set of outputs

Any updates?

Released at @3d-dice/dice-themes/themes/genesys. Picker and Results addon available at @3d-dice/dice-ui. Demo available under "Genesys Picker" tab.


Feat ✨(#8258) Integrate Collect API on UI to collect the pageView Data

Describe your changes :

I worked on the ..... because ...

Type of change :

[x] Bug fix
[x] Improvement
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Depend on #8193


Fixes broken graphiql endpoint

It looks like a recent change broke the graphiql endpoint by no longer returning the promise.

Awesome!


New currencies

I added two missing currencies to the common currencies class.

Got it.

Done. @bsutton


Create elizabethcollege.txt

@zipper9998 I have to close the request without merging. Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new request with correct information. Thank you for the understanding!


Support for template tags inside js files

Eg.
// file.js
import { gql } from 'react-apollo';
const myQuery = gql`
  query { *query here* }
`

Is it possible to have autocomplete support inside such tags?

Change your line endings to LF or fix \n -> [\r\n] inside .atom\packages\graphql-autocomplete\lib\graphql\getQueriesInFile.js


Create README.md

Follow all guidelines. Pull request will be merged only if all the guidelines are followed


build: Suppress warnings

What problem does this PR solve?
Issue Number: ref #7193
Problem Summary:
What is changed and how it works?
Part of https://github.com/pingcap/tiflash/pull/8899
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests


Can't get AP to launch. Tried Kali, Ubuntu, and pi 3 B

I have tried getting this AP to launch in 3 separate devices. In all of them it turns the AP on for a second and then turns it immediately off. Only enough to discover, but not connect to. I first tried in Ubuntu and when it wouldn't work  I tried a fresh install of kali on three separate computers and couldn't get those to work. I then noticed most people on YouTube are using a pi for this and it seems like it will give me the least amount of issues. I purchased a brand new raspberry pi 3 version B, bought a brand new sd card and installed prereqs. I then launched the program script and it just shows it's switching to AP, but immediately turns off and connects back to my wifi router. Any ideas?

Um, are you using the WiFi to connect to the Raspberry Pi? I didn't encounter this issue when using either that latest versions of Raspbian Stretch or Buster, but I also didn't configure the Wireless at all and used the hard-wired Ethernet connection with it.

@kueblc Looks like that fixed it. I can't get my light to flash but they are brand new. Maybe Tuya patched it. Regardless, This can be closed.

@scy0846 can you post your logs?

sure. I will be sure to do that later tonight. I was able to flash one bulb from another company, but the bulbs I can't get flashed with this method are these: https://www.amazon.com/gp/product/B07VP2KL7W
I'm really just thinking that I can't flash them because maybe Tuya patched it or something. Regardless, I appreciate the work you guys have done on this.

smarthack-mqtt.log
smarthack-psk.log
smarthack-smartconfig.log
smarthack-web.log
smarthack-wifi.log

As far as I know, Tuya has not yet released a patch for the latest tuya-convert. It does look like there was a successful flash in your web log. Was that the other bulb you spoke of?

Good news. I got the latest development branch and that flashed the bulb beautifully. Thanks for your help. Awesome project
Sent from BlueMail
On Oct 7, 2019, 5:41 PM, at 5:41 PM, Colin Kuebler<EMAIL_ADDRESS>wrote:

As far as I know, Tuya has not yet released a patch for the latest
tuya-convert. It does look like there was a successful flash in your
web log. Was that the other bulb you spoke of?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/ct-Open-Source/tuya-convert/issues/293#issuecomment-539216434

Great, happy to hear it!


Moloch Capture dies after x minuts

Elasticsearch version:
moloch-capture 0.16.0-GIT
RHEL7 - 3.10.0-327.28.3.el7.x86_64
(gdb) run  -c /etc/moloch/etc/config.ini > /var/log/ids/kargud_temp/capture.log 2>&1
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /etc/moloch/bin/moloch-capture -c /etc/moloch/etc/config.ini > /var/log/ids/kargud_temp/capture.log 2>&1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff0912700 (LWP 92384)]
[New Thread 0x7fffebfff700 (LWP 92385)]
[New Thread 0x7fffeb7fe700 (LWP 92386)]
[New Thread 0x7fffeaffd700 (LWP 92387)]
[New Thread 0x7fffea7fc700 (LWP 92388)]
[New Thread 0x7fffe9ffb700 (LWP 92389)]
[New Thread 0x7fffe97fa700 (LWP 92390)]
[New Thread 0x7fffc3a91700 (LWP 92391)]
[New Thread 0x7fffc3290700 (LWP 92392)]
[New Thread 0x7fffc2a8f700 (LWP 92393)]
Program received signal SIGSEGV, Segmentation fault.
0x00000000006143dd in addbyter ()
(gdb) bt
#0  0x00000000006143dd in addbyter ()
#1  0x0000000000614723 in dprintf_formatf ()
#2  0x0000000000615975 in curl_mvsnprintf ()
#3  0x000000000060a7ce in Curl_failf ()
#4  0x0000000000602957 in Curl_resolv_timeout ()
#5  0x00000000326de256 in ?? ()
#6  0x0000000001a0245c in ?? ()
#7  0x00000000006034bf in Curl_pgrsUpdate ()
#8  0x5b3a226d7265742d in ?? ()
#9  0x7471222c5d225952 in ?? ()
#10 0x6e632d6d7265742d in ?? ()
#11 0x7265742d65646f63 in ?? ()
#12 0x455551225b3a226d in ?? ()
#13 0x6e632d6d7265742d in ?? ()
#14 0x706f222c313a2274 in ?? ()
#15 0x2c5d22524f525245 in ?? ()
#16 0x2d65646f63706f22 in ?? ()
#17 0x0000000000000000 in ?? ()

Can you try master, I think this has been fixed


Functions datatable

Description
This PR introduces a new top level navigation for all atomic functions in cvxpy.
It uses DataTables and allows for searching and filtering through the functions.
The changes can be previewed under the following link.
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

 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.Transurgeon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Is this good to be closed?

Is this good to be closed?

I am actually going to work on the functions table next week. But this PR is very out-of-date.
Let's keep it open for a bit before closing it.

some progress has been made.

no more submit buttons (now the filter is applied on input change)
new look, after updating the datatables version


Introduce ubuntu2004_rocm, master branch (2022.11.03.)

Introduced ubuntu2004_rocm as a copy of ubuntu2004_cuda. Simply based on a different base image. (At one point we'll need to find a way for these configurations to be shared between the images...)
While Intel still recommends using ROCm 4.2 with their compiler, on our development machine the latest Intel compiler tag works correctly with ROCm 5.3 as well. So let's go for this right away, the ubuntu1804_rocm image will stay usable with ROCm 4.2 for a bit longer anyway.
Once this and #73 are in, we should make a new tag. :wink:

@paulgessinger do you know why the ubuntu2004_oneapi build would've failed? :confused: This PR doesn't touch that image/configuration.

Looks like docker.io HTTP timeout, will retry as soon as it lets me.


MP: (recently removed ) parentage in amino acid metabolism

Tyrosine metabolic process no longer has "amino acid metabolic process"
parentage.
GO:0000096 sulfur amino acid metabolic process no longer has "amino acid metabolic process"
parentage.
neither has
GO:0006520 cellular amino acid metabolic process
GO:0009072 aromatic amino acid family metabolic process
is not a descendant of
GO:0006520 cellular amino acid metabolic process
The problem might be to do with when a grouping term included amino-acid derivatives, but this isn't always clear.....

All of these are generated through ChEBI. I will have a look.

It looks like the logical defs are using the acids rather than the conjugate bases and therefore they are not getting the amino-acid parents. We need to discuss this on an ontology call.

@ukemi aren't we meant to have bridging axioms to map between these?

That's what I thought. That's why I wanted to bring it up on the call.

@cmungall  - where do ChEBI bridging axioms live? Have we dropped an import statement from the editors' file?

Don't we build a separate file from ChEBI?

gene_ontology_write.obo imports cheb_import.owl.  This lacks the equivalence axioms (GCIs).  But we have a file called bio_chebi.owl which has them.  bio_chebi.owl was last updated 19 months ago: http://viewvc.geneontology.org/viewvc/GO-SVN/trunk/ontology/extensions/bio-chebi.owl?view=log

The GCIs for tyrosine and conjugate acids/bases are in bio_chebi. Is bio_chebi supposed to be used in chebi_import? It lists it as a source.

We have no plain 'amino acid metabolic process' (!).
& 'cellular amino acid metabolic process' has a rather odd def:
  !!!
Not clear to me what makes it cellular.

sounds like that's the issue but file a ticket for bio-chebi updates if that's an issue

But at the near-neutral pH of mammalian cytosol, most amino acids are not anions but zwitterions - one dissociated carboxyl group (COO-) and one protonated amino group (NH3+) - electrically neutral but very polar. Exceptions are lysine and argine (an additional protonated group in their side chains, giving the whole molecules a net positive charge), and aspartate and glutamate (an additional COO- group in their side chains for a net negative charge).
The situation in an acidified vesicle like a lysosome (and what else in fungi?) or in unicellular organisms living in environments that are very acid or alkaline, or in the human stomach (acidic) will be different.
There's also an annotation problem here because biologist authors don't necessarily worry about these ionization states.

Hi Peter,
"There's also an annotation problem here because biologist authors don't necessarily worry about these ionization states."
Exactly, that's why we made the equivalence axioms in bio-chebi. This way we can maintain the fuzziness about the ionization states as reported in the literature.
-D

#12732

Not clear to me what makes it cellular.

Hi @dosumis ,
I know vaguely the history of this.
So historically, when  a decision was taken to place metabolic processes under "cellular metabolic process" and "amino acid metabolism" was placed under this term on the assumption (which sounds incorrect now) that all amino acid metabolism was cellular.
I guess we need  a non-cellular term too if this is not the case? Are  amino acids metabolised before import into the cell? I think at the time we mustn't have had any examples...

Val's memory is correct. At one point we moved a large group of metabolic processes from generic to cellular.

In humans, there are some processes that normally involve several cells. For example, catabolism of branched chain amino acids in muscle and other non-liver tissues generates glutamine and alanine among other things. Those two amino acids leave the muscle cells and travel to the kidney (glutamine, in stress states) or liver (alanine, in fasting states) where they are catabolized further, so the whole process combines events within each of two different cells and a transport event to get intermediates from place to place. Don't know how that fits with the constraints of "cellular metabolic process".

Then we should probably move it back to the non-cellular parent.

I think this is high priority because a lot of gene products which *should * map to amino acid metabolism no longer do. Will affect a lot of annotations.

Am I right that there are 2 outstanding items:

[ ] bio-chebi import/update (see #12735)
[ ] moving cellular metabolic process back under generic parent

The latter should be discussed by editors (the former is being dealt with separately)

Hi @ValWood, we would like to discuss this on the upcoming editors call. Could you please help us by describing why it is important to have the distinction between cellular and non cellular amino acid processes? If you have a simple example/use case that would really be helpful for us to have an informed discussion, and make sure any resolution matches your application needs.

Thanks for the insights @ValWood - the corollary question is, taking into account only your own resource/curation, does it make a difference to be able to say 'cellular metabolic process' vs 'non-cellular'? Based on what you describe above

from a fungal perspective, everything is cellular, and so far all of the metabolism terms we use are cellular.
it doesn't?

We could ditch the  "cellular process (cell level)" split in GO, but it is a very sensible  and a useful axis of classification  for multicellular species. There are things that gene products do in cells which have consequences at greater levels of complexity (systems level processes).
Note that this isn't about the "location where functions and processes occur" https://github.com/geneontology/go-ontology/issues/12796 mentioned here
which can be captured during  LEGO modelling (Or traditional annotation). It is about  the 'level' that the process occurs cell/tissue/system/organ/whole organism.
Removing this could have potentially  on effects for GO users in multicellular species  who are interested in "cell level" biological phenomena.
This could also be a useful grouping for inference and for making connections between GO and phenotypes longer term, as annotation sets mature. It might be already a class  that is used to make judgement calls in PAINT annotation propagation (you should check with @pgaudet ).
For fission yeast you are correct, if you take this axis of classification out of GO it won't affect a single celled eukaryote, but more generally I would  feel uncomfortable about this disappearing without broader consultation.

Even some "single-cell" eukaryotes have multicellular organizations under some circumstances, that have some properties distinct from those of the component cells. Filamentous organization of S. cerevisiae is an example (though I don't remember what the filaments can do that single cells can't).
And in multicellular organisms with specialized tissues the distinction between processes that every cell carries out for itself (e.g., DNA replication) and ones that require cooperation among multiple cells or cell types is unavoidable, though certainly hard to handle consistently.

"Note that this isn't about the "location where functions and processes occur...   It is about the 'level' that the process occurs cell/tissue/system/organ/whole organism."

It seems to me that location must at least be a large component of the distinction you would like to make. If we can capture the majority of your intended meaning by a definition in terms of location, wouldn't that be a good compromise?
Extending the suggestion in #12796, how about:
A process occurring in exactly one cell.  Cell in this context includes cell surface and encapsulating structures belonging to the cell in question, such as a cell wall.
This would exclude some classes currently under cellular (e.g. cell-cell communication; organization of ECM components), but it gets rid of some of much of the ambiguity. The cell surface clause is meant to allow for processes that start on or occur at the cell surface, e.g. signal transduction).

@ValWood would I be correct in saying that the way you use 'cellular process' is to assume that all Pombe processes should be under this node?  We could try starting from there and working back?  Which processes in Pombe would not fall under cellular if we used a location-based definition?

Looking at David OS's next-to-last comment, my earlier comment about interactions between cells when organized into filaments (or prokaryotic cells in biofilms) could mean that there are actually two processes, one carried out by single, self-reliant cells that gets the cellular metabolism tag (all of S. pombe under lab conditions) and one carried out by a collection of interdependent cells that is similar to the first but has some distinguishing feature that requires participation of more than one cell or cell type, that gets the metabolism tag.

Would I be correct in saying that the way you use 'cellular process' is to assume that all Pombe BPs should be under this class? If so, we could try starting from there and working back.

Kind of.  As I said, it doesn't affect us a lot. However I believe it is  useful term to identify
all of the  processes that "cell biology" is concerned with, and my sphere of interest is largely  the terms under this branch, so I am possibly biased.
So, all of the pombe proteins will be  back under the "cellular process" branch if the parentages in this ticket, and  https://github.com/geneontology/go-ontology/issues/12796 are addressed:

Which processes in Pombe would not fall under cellular if we used a location-based definition

Except...
cell adhesion and flocculation (which clearly require more than one cell, so this is OK)
We also have a large number of proteases which are annotated only to "proteolysis". Proteolysis is not defined as "cellular" because of, for example, proteins  processed by proteases in the blood or the digestive system.  Proteolysis could not be defined as cellular based on location, but  the individual event performed by the protease is not  necessarily a "systems level process". One cell can produce a functional protease, (or metabolise an amino acid). I wonder if this can be part of the criteria?
I would expect all fission yeast proteases to eventually be classed as cellular  because  even though the protease may be excreted and exert its function extracellularly,  it  is still a process which occurs at the cell level (can be executed by a single cell- this might be the differentia?).
I guess we need to think about which gene products would be annotated to the "non cellular metabolism" terms. I can only think of the things which control the  process, maybe hormones etc. You could annotate the gene products responsible for the transport of the intermediates between cells,  (but these would be non-cellular transport, not non-cellular metabolism).
Aside from the terms mentioned above only 27 gene products are non-cellular process. I will inspect these now, but I suspect  most are annotation specificity issues at our end.

it is still a process which occurs at the cell level (can be executed by a single cell- this might be the differentia?).

Which is what Peter said  a non cellular process "requires cooperation among multiple cells".
I wonder if all basic metabolism could be cellular, and if you really are annotating a gene product that only operates  at the tissue level (wouldn't this only apply to regulation anyway?), you could request a tissue level term, which would then require the insertion of a non cellular parent.


built-in fetch: constant polling causes memory leak (Android)

Description
We have the kiosk-like app built for android only. The application makes constant polling for the data once per minute and the response (JSON part) would be quite massive. We've noticed a memory leak every time on built-in fetch invocation. Due to the long-running nature of the app (about 20 hours per day), we have crashes and lags because of the constant increasing of memory consumption.
React Native version:
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 162.09 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.19.0 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.7.5 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 25.0.0, 25.0.2, 26.0.1, 26.0.2, 26.0.3, 28.0.3
System Images: android-22 | Google APIs Intel x86 Atom, android-25 | Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-R | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_211 - /usr/bin/javac
Python: 2.7.10 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce

build a simple app with polling, which uses a fetch. To get the result faster use the endpoint which returns massive JSON data and increase polling frequency (once per 10 seconds for example)
run application and use "adb shell dumpsys meminfo com.yourapp" to get info about application memory consumption (run the command sequentially once per minute and observe constant increasing of memory consumption)

Expected Results
fetch should release memory once there is no link to the parsed JSON response (response.json()) - in simple words, garbage collected.
Snack, code example, screenshot, or link to a repository:
  function startUpdating() {
      const delay = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
      while (true) {
        getMoviesFromApi()
        await delay(10000);
      }
    }

function getMoviesFromApi() {
  return fetch('https://reactnative.dev/movies.json') // endpoint which returns massive data
    .then((response) => response.json())
    .then((json) => {
      return json.movies;
    })
    .catch((error) => {
      console.error(error);
    });
}

startUpdating()

Sorry, I had to change the issue explanation again as I had realized it's fetch call itself who cause this behavior with constantly rising memory consumption.
btw, the issue might be related to this one
https://github.com/facebook/react-native/issues/23801

The issue has been resolved by moving the request itself on the android native side and getting results back to the JS layer through the bridge. Important to mention that a timer functionality is still on the JS layer, which confirms that the timer is not a source of the issue.
so, my current implementation looks kind of this:

JS: trigger the react method on the native side by timer through the bridge
Native: execute the request and receive the response
Native: invoke the callback with a response
JS: getting the response in a callback and handling it

I think this issue really requires the attention of the community.
it's important to fix it - to have all long-running apps made with react-native use less memory

we had similar problem with memory leak while fetching. I noticed that even new empty app (RN54) is constantly increasing used memory if response.json() is omitted from the example below (setInterval is called only once)
    setInterval(() => {       fetch('https://postman-echo.com/bytes/1/mb?type=json', {         credentials: 'omit',         headers: {           accept: '*/*',           'content-type': 'application/json',         },         referrerPolicy: 'no-referrer-when-downgrade',         method: 'GET',         mode: 'no-cors',       })         .then((response) => {           return response.json();         })         .then((response) => {           console.log('===== response', response); // eslint-disable-line no-console         })         .catch((e) => {           console.log('===== error', e); // eslint-disable-line no-console         });     }, 3000);
with esponse.json() its not leaking on RN 64, but its leaking in RN 59.
following image compares used memory in RN63 vs RN59 in our test scenario:

another thing that helped us was upgrading from Apollo2 to Apollo3.

Is there any progress regarding this issue? This issue still persists in react-native version 0.71.7.
useEffect(() => {
    (async () => {
      for (let i = 0; i < 100000; i++) {
        console.log('start');
        let timer: any;
        try {
          const abortController = new AbortController();
          timer = setTimeout(() => {
            abortController.abort();
          }, 120 * 1000);
          const res = await fetch(
            'https://postman-echo.com/bytes/1/mb?type=json',
            {
              signal: abortController.signal,
            },
          );
          const json = await res.json();
        } catch (err) {
          console.log('err:', err);
        } finally {
          clearTimeout(timer);
        }
        console.log('finished');
      }
    })();
  }, []);

Is there any progress regarding this issue? This issue still persists in react-native version 0.71.7.

Same issue here

I have similar problem, I download and save around 2400 binary files to android storage, but after some time app is crash with memory error text

This happens with fetching images too.

This is still an issue in "react-native": "0.74.5"

Here is a reproduction https://github.com/nero2009/fetch-memory-leak

Here is a reproduction https://github.com/nero2009/fetch-memory-leak

Hey @nero2009, this issue is closed.
Please create a new issue if the memory leak still happens.


ScheduleLabel proc macro produces code that requires additional dependency apart from its originating crate

Bevy version
0.11 and/or main branch
What you did
Put
use bevy_ecs::schedule::ScheduleLabel;

#[derive(ScheduleLabel, Clone, Debug, PartialEq, Eq, Hash)]
pub struct Render;

in my bevy mod/plugin project
What went wrong
error[E0433]: failed to resolve: use of undeclared crate or module `bevy_utils`
 --> src\render_schedule.rs:3:10
  |
3 | #[derive(ScheduleLabel, Clone, Debug, PartialEq, Eq, Hash)]
  |          ^^^^^^^^^^^^^ use of undeclared crate or module `bevy_utils`
  |
  = note: this error originates in the derive macro `ScheduleLabel` (in Nightly builds, run with -Z macro-backtrace for more info)

The code generated by the macro contains
fn as_dyn_eq(&self) -> &dyn bevy_utils::label::DynEq {
    self
}

but I don't have bevy_utils in scope or even as a dependency. It's unclear to me why a derive from bevy_ecs should produce code that requires an entirely different crate to work. Typically if macros require types from other crates to work, they re-export them and refer to them by their re-exported path.
Additional information
My Cargo.toml only has
# Same thing happens with Bevy's git@main
bevy_app = { version = "0.11" }
bevy_ecs = { version = "0.11" }

because those are the only bits of Bevy my crate needs. Or so I thought, anyway.

The code responsible is here:
https://github.com/bevyengine/bevy/blob/d6e95e9570ed86e248d1e5f25d4f25d97977a1ab/crates/bevy_macro_utils/src/lib.rs#L173
You do have bevy_utils as a dependency, since bevy_ecs depends on it. So adding bevy_utils as direct dependency won't increase your compile times.
It should however not error-out in those conditions. SystemSet doesn't have the issue, yet it basically works exactly like ScheduleLabel. So I see one of two solutions:

re-export DynEq in bevy_ecs
Change the ScheduleLabel trait so that it doesn't directly name DynEq, but instead make it work similar to SystemSet


Updated to 1.9.4

Signed-off-by: Anthony Anderson<EMAIL_ADDRESS>

Thanks for doing this!
Merged it in a new branch here: https://github.com/derimagia/ForgeSlack/commit/7e0ddd3 for 1.9.4
I actually haven't done much with 1.9.4 yet so I'll plan on trying it out over the weekend and updating the builds.
I haven't touched Java much in a while so if you have any suggestions on anything let me know. I'll reply back to this / close it when builds are up.


Update Contribute.md, #1502

Update to add note on quarto render for website
Why are these changes needed?

Related issue number
#1502

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5eaf712) 33.08% compared to head (62ceb44) 31.53%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1508      +/-   ##
==========================================
- Coverage   33.08%   31.53%   -1.55%
==========================================
  Files          42       42
  Lines        5048     5048
  Branches     1156     1156
==========================================
- Hits         1670     1592      -78
- Misses       3250     3332      +82
+ Partials      128      124       -4

Flag
Coverage Δ

unittests
31.53% <ø> (-1.51%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Should instruction be at two places @victordibia and @jackgerrits ? Rn it's in both README and Contribute of the website. Probably better for us in the long run to have them at a single place?

Should instruction be at two places @victordibia and @jackgerrits ? Rn it's in both README and Contribute of the website. Probably better for us in the long run to have them at a single place?

I agree with that - I missed it maybe for that reason


Unable to setup on Windows

Steps

az login
kubectl azad-proxy menu

This lets me choose cluster, but this will give an error
time="2022-11-30T12:45:14+01:00" level=error msg="Application returned error" ErrorType="\"KubeConfig\"" error="Kube config error: Unable to load file"

Workaround: Creating file %USERPROFILE%/.kube/config' manually

@WinningtempJonas thanks for reporting! From my tests on a Windows 11 machine, #577 resolves the reported issue and will be released shortly.

This has now been released with v0.0.38 :+1:


Demo hangs

Reproduce:

Go to http://nlesc.github.io/spot (which by the way "redirects" to http://nlesc.github.io, i.e. the URL in the address bar changes to that once the page has loaded... very strange, but different issue).
Start the demo.
Click one of the points in the avg FamilySize by Age Fare facet.
Click the button with the three horizontal lines at the top of the facet.

Happens both in Safari 11.0 and in Firefox 55.0.3 on macOS 10.12.6.

I cannot reproduce it. Please show me (screenshot?) what button you press in the last step.

Thanks for reporting!
The 'redirecting' issue is a known problem of Github pages. The relative urls causes this. We are working on it.
The demo should be fully functional in Chrom/Chromium browser.

The same problem occurs in Chrome...

It's the button with the three bars (encircled in grey in the screenshot).

same here (Firefox 56.0 64-bit). Strictly speaking Firefox is not a supported browser though.

It's probably a generic javascript bug though, since the bug exists on all major browsers.

The use of zoom-in feature for the bubble chart is slightly different than other charts.
You need to select a region to zoom-in:
select the first and the second points and click on zoom-in button

However, this is something we should fix. User may want to zoom-in a single data point.

It's probably fine as long as you are explicit about what user input is required at a certain stage during selection, because apparently, both @egpbos and me could not figure it out from just the feedback that the interface provides, leading us to believe that the app was in fact broken. I'm assuming that you/@fdiblen can make it work for you, because you know the (currently implicit) protocol/recipe to make it do what you want. The trick is to make the recipe explicit by telling users about what to do next during selection.


fix: missing icudtl.dat on Windows

Close https://github.com/Brooooooklyn/canvas/issues/952

#953  👈 (View in Graphite)
main

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