[Releases] Auto-label pull requests on release branches to have "Pick Request"

I looked into whether we can do this via react-native-bot but it seems like the candidates for the bot is based on Github search: https://github.com/hramos/react-native-bot/blob/master/lib/bot/pullrequests.rb#L48
So I think this might need to be a Github action.
Release branches should follow the form:
{major}.{minor}-stable

I would like to take this issue😌

@lunaleaps would it be fine to use something like https://github.com/marketplace/actions/label-regex or would it be necessary developing a custom action for this?

@lunaleaps would it be fine to use something like github.com/marketplace/actions/label-regex or would it be necessary developing a custom action for this?

My 2 cents here: this can be easily implemented in Danger. We already have a dangerfile here https://github.com/facebook/react-native/blob/main/bots/dangerfile.js with Danger already configured. We would just need to add a rule that checks if base branch != main -> apply the Pick Request label.

@cortinico any suggestions on how to test the danger bot? I've made the changes but I'm not sure how to test it

cc @hramos as well if you have any context here about testing with danger bot

According to the bots/README.md testing should be done by running the following
DANGER_GITHUB_API_TOKEN=[ENV_ABOVE] yarn danger pr https://github.com/facebook/react-native/pull/1234

But I'll probably not be able to create/add a label using my token due to permission constraints

Just a quick follow-up, I was able to test it through my fork of the repo and everything worked great.
Here's the PR https://github.com/facebook/react-native/pull/32917

Just a quick follow-up, I was able to test it through my fork of the repo and everything worked great.

Great stuff, thanks for doing it 👍


[stable/velero] fix velero installation on azure landscape - add miss…

What this PR does / why we need it:
Installing velero on K8S using helm does not provide all the required secret and env values which causes pod failures due to missing env values.
time="2019-10-30T17:34:51Z" level=info msg="Checking that all backup storage locations are valid" logSource="pkg/cmd/server/server.go:412"
An error occurred: some backup storage locations are invalid: error getting backup store for location "default": rpc error: code = Unknown desc = unable to get all required environment variables: the following keys do not have values: AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID
Which issue this PR fixes
This PR fixes the following issue: vmware-tanzu/velero#2021

/ok-to-test

/retest

I did 2 signoffs for both commits, but dco-labeler check still complains that there is a missing signoff. How should I resolve this issue?

/check-dco

What else needed from my side?

/assign @hectorj2f

Hi, Is there an estimation to when this pull request will be approved since it is a showstopper for our azure support?

/lgtm

@ahmadhajali
You probably need another version bump:
I1111 17:35:00.222] Old chart version: 2.3.1
I1111 17:35:00.222] New chart version: 2.3.1
I1111 17:35:00.222] Error linting and installing charts: Error processing charts
I1111 17:35:00.222] ------------------------------------------------------------------------------------------------------------------------
I1111 17:35:00.223]  ✖ velero => (version: "2.3.1", path: "stable/velero") > Chart version not ok. Needs a version bump!
I1111 17:35:00.223] ------------------------------------------------------------------------------------------------------------------------

/check-dco

Hello, @ahmadhajali Can you also look into Restic deployment? Particullary lines https://github.com/helm/charts/blob/master/stable/velero/templates/restic-daemonset.yaml#L38 and https://github.com/helm/charts/blob/master/stable/velero/templates/restic-daemonset.yaml#L73 should be also fixed.
I am not sure about https://github.com/helm/charts/blob/master/stable/velero/templates/deployment.yaml#L73. This one should be also treated.

Think I found a workaround tested on app version 1.2, chart version 2.6.0
Basically combines the two methods.
cat << EOF > cloud
AZURE_SUBSCRIPTION_ID=${AZ_SUBSCRIPTION_ID}
AZURE_TENANT_ID=${AZ_TENANT_ID}
AZURE_CLIENT_ID=${AZ_BACKUP_SP_ID}
AZURE_CLIENT_SECRET=${AZ_BACKUP_SP_PASSWORD}
AZURE_RESOURCE_GROUP=${AZ_CLUSTER_GROUP}
AZURE_CLOUD_NAME=AzurePublicCloud
EOF

kubectl create secret generic velero-credentials \
    --namespace velero \
    --from-literal AZURE_SUBSCRIPTION_ID=${AZ_SUBSCRIPTION_ID} \
    --from-literal AZURE_TENANT_ID=${AZ_TENANT_ID} \
    --from-literal AZURE_CLIENT_ID=${AZ_BACKUP_SP_ID} \
    --from-literal AZURE_CLIENT_SECRET=${AZ_BACKUP_SP_PASSWORD} \
    --from-literal AZURE_RESOURCE_GROUP=${AZ_CLUSTER_GROUP} > /dev/null

kubectl create secret generic velero-credentials --from-file=cloud -n velero --dry-run -o yaml | kubectl apply -f - > /dev/null || true
& rm -f cloud

I had the errors listed above earlier, and now they seem to be gone.

This chart has been deprecated and moved to a new repo: https://github.com/helm/charts/blob/master/stable/velero/README.md


Can not install kartik-v/yii2-grid version 3.0.6

Expect: kartik-v/yii2-grid version 3.0.6 installed
Outcome: kartik-v/yii2-grid version 3.0.2 is chosen by composer
Not sure if this is kartik-v extensions issue or mootensai's extension issue.
Should probably set require to @dev instead of '*'

use mootensai/yii2-enhanced-gii:dev-master when require will give you the result you expected


Request to increase size limit

Hi there,
I'm trying to upload a wheel for the package thumbor_extras but it's hitting the size limit. The wheel is 61.3MB because it includes the weights for a deep neural network trained to detect objects in images. This file is required to run the dnn_object_detector.
Could I get an increased size limit on both PyPI and Test PyPI so the package is easily distributable? Thank you!
Repo link: https://github.com/imaus10/thumbor_extras
PyPI link: https://pypi.org/project/thumbor-extras/

I've increased the limit to 100MB on both pypi.org and test.pypi.org.

Thank you!


UX Improvement: Social links on project modals

Right now on my 13" laptop with Chrome on fullscreen, the social icons are hidden from view. Unless I scroll (there's no indication that there's more content to scroll), I won't see the social buttons. I think the social buttons could be moved right below the title or short description. Or the video/image can be made smaller to fit everything in the modal without scrolling.

@srijonsaha how does it looks now? https://ubclaunchpad.github.io/new/

I like it.

Great! Marking this as done for now :)


Node 2 cannot continue to participate in the PAXOS transaction after CRIU dumping

Using mongoose server, on my laptop.
[start the three mongoose servers and the three nodes ---> sleep 5 ---> client1: ab -n 100 -c 1 ---> CRIU dumps the server.out(i.e. proxy-consensus process) of Node 2 ---> kill -SIGCONT the server.out of Node 2(after dump CRIU will make the server.out stopped, so we should wake it up by hand) ---> client2: ab -n 100 -c 1 ---> sleep 5 ---> kill all, the end].
From the logs of Node 2, we could find that it didn't receive and handle requests after dump. And if you add 'sleep 5' after above 'kill -SIGCONT', Node 2 will report:
1425565861.252845:Node 2 Haven't Heard From The Leader
1425565861.252908:Node 2 Lost Connection With The Leader
1425565861.252923:Node 2 Will Start A Leader Election

Hi Qiushan,
What does it mean by CRIU dumps server.out? Does it mean by CRIU records the states and other related info of server.out?

The CRIU dumping == checkpoint the process of libevent_paxos. Yes, CRIU will record all states and related info of the process.

OK. So does it mean that CRIU will suspend(or freeze) the current network activity in order to checkpoint? Thus, node 2 will no longer be able to receive packages?

Yes, node 2 will lose contact with the other two nodes.

I see. Here is what I think about the process. Checkpointing will make the node unavailable for a small amount of time. And the checkpointed node will initialize leader election. But since there won't be any responses to the leader election messages, it won't proceed. Meanwhile, the whole system can still proceed since there are still two nodes available. After check pointing, node 2 will receive ping message from leader again and the leader election process will be canceled. Everything back to normal.

Solved! Thanks very much, Rui:) What you said is reasonable and right. There are two reasons why Node 2 cannot continue to participate in the PAXOS transaction after dumping:

just like what you said, when I use kill -SIGCONT ${pid} to wake it up, Node 2 will initialize leader election. Because I haven't merged the leader election part into my current branch, Node 2 couldn't work normally, so that it also will not receive ping message from leader again.
The second reason is I should not use 'kill -SIGCONT ${pid}', because after it, the process is not waken up due to the lost of the signal.

Considering the performance, I choose the second one. So I use 'killall -SIGCONT server.out' instead of 'kill -SIGCONT ${pid}'. killall can make sure the signal work, and after it, the process is waken up indeed. Node 2 can continue to work normally. Here is the performance data:
Concensus Time====Overall(1759):
mean:747.597441204 us
std:314.867552759
Response Time====Overall(1759):
mean:899.862470513 us
std:336.545204809
==============================
Throughput (from ab log):
324.433333333 req/s
By contrast, if we don't use CRIU to do checkpoint work, the performance is:
Concensus Time====Overall(1751):
mean:743.307296648 us
std:311.943710973
Response Time====Overall(1751):
mean:896.568232982 us
std:348.267212087
==============================
Throughput (from ab log):
332.586666667 req/s

Great!!
How long will the node be freezed when doing checkpoint? Currently, the threshold for starting a leader election process is 8 secs. My concern is that is that normal for checkpointing freeze the network for more than 8 secs?

Rest assured. Very quickly, in a flash.


Add support for HTTP(S) proxies to connect()

how to make the websocket connection go through with http proxy?

Are you making connections with connect or receiving connections with serve?

yep. for example, i want there exists function like
websockets.connect('host', http_proxy_host='proxy_host', http_proxy_port=port)
because my running environment is in the mainland of china where limits connections to lots of hosts overseas. I have to make websocket connections through my socks5 proxy which communicates with shadowsocksR server.

OK. This isn't currently implemented.

This feature request is for implemting: https://tools.ietf.org/html/rfc7231#section-4.3.6
We must take care of handling TLS properly:

connect with or without TLS to the proxy
connect with or without TLS to the destination

This may require handling the TLS handshake manually where asyncio currently handles it.

I have a patch that manages the four cases: TLS / not TLS between client and proxy / proxy and server.
The patch needs tests and I'm not sure how to write them.

TLS between proxy and server is very messy due to https://bugs.python.org/issue23749
Also we're likely to run into issues like https://github.com/aio-libs/aiosmtpd/issues/83 until we add code to handle that.

According to https://bugs.python.org/issue23749 the bug was fixed as of 2018-05-28. Might be worth retaking a look at?

I can consider that bug resolved after I drop support for all Python versions before 3.7, about five years from now.

Any news?

No.

Partial support would be better than no support at all, indeed.
However, since there's a working PoC in #422 that does what you said and is merely missing error handling and tests, once it's complete for HTTP proxies, I  don't think it would be very hard to also complete it for HTTP proxies.

"The community house in this area could use some cleaning. Are you available tomorrow? Don't ask for payment though, cleaning has already been done in the past for other community houses."

It would have been far better to say something like "I'm not willing to spend time on this, but PRs are welcome".

@nyuszika7h This is basically what the last comment before yours said — glad to see that we agree on this1

watching this, any update?

I can consider that bug resolved after I drop support for all Python versions before 3.7, about five years from now.

Hello from 2023! I see this comment was made in 2018 :)
And also noticed support for Python versions older than 3.7 was dropped in version 10.0, any plans to add this soon? I love the async features of this library and wouldn't want to switch to something else.

@kyochikuto @weaming hey. You can check out my package: https://github.com/racinette/websockets_proxy . I subclassed the original connect and added to it the functionality by using a third party asyncio proxy connection package.

Nic job! Although I'm not writing Python code now. You guys can try this.

I can consider that bug resolved after I drop support for all Python versions before 3.7, about five years from now.

Five years have passed.

Yes, that obstacle no longer exists.

You can check out my package: https://github.com/racinette/websockets_proxy . I subclassed the original connect and added to it the functionality by using a third party asyncio proxy connection package.

I just tested this and it's working flawlessly, really appreciate it! I love how it is only a wrapper around the original module and not a modified fork, this way you can easily keep it updated with the original module.
Keep up the good job!

@kyochikuto thanks man, appreciate it.
It can be used as drop-in replacement via monkey-patching, in case some other package using websockets needs proxy access. I didn't consider it for now, but I can extend the module, if the community needs it.
Also, please, do star the repo, so I can gain recognition.

It can be used as drop-in replacement via monkey-patching, in case some other package using websockets needs proxy access. I didn't consider it for now, but I can extend the module, if the community needs it.

Drop-in replacements are always preferred, thanks!

Also, please, do star the repo, so I can gain recognition.

Done!

For anyone still looking for this, I recommend using the websocket-client library, which has supported proxies since 2014 and works perfectly. I honestly find the fact that this issue has been open for 3 years and has a "funding needed" label laughable. Why exactly do you need funding for such a simple feature? This is just an incredibly distasteful attempt at a cash grab. It would have been far better to say something like "I'm not willing to spend time on this, but PRs are welcome".

dude, it's been 6 years.


How to automatically time the user out?

I am using ember simple with rails devise. How do I invalidate the session after X amount of minutes of inactivity?

You can call the session service's invalidate method to invalidate the session. Doing so automatically after a certain time of inactivity is out of scope for ESA.


Enhance README.md: Added Table of Contents, Grammar Improvements

This pull request aims to enhance the README.md file by making it more organized, reader-friendly, and grammatically correct. The improvements include the addition of a table of contents for easier navigation and various changes to refine the content.
Here's a summary of the changes made:

Added a table of contents to provide easy access to different sections.
Improved grammar and language for better clarity and readability.

These changes should contribute to a more informative and polished README, improving the overall user experience for visitors to the repository. Your feedback and suggestions are highly appreciated.

I have done some changes, is it fine now, or I need to make further changes, I request you to please provide the feedback

Check @baszalmstra request. Maybe if you think something is missing in the original toc you could add to that? But please remove it from the top.

@ruben-arts I have removed that TOC from top and I don't see any issue with the existing one , so you please proceed further.

Thanks a lot for merging this.


Implement AsyncClient::ReadObject() with streaming

[x] Wrap streaming RPC for the happy path where there are no errors.
[x] Use asynchronous retry loop to start a ReadObject().
[ ] Add timeouts to streaming RPC.
[ ] Verify checksums for each Read() message.
[ ] Verify checksums / hashes when downloading a full file.
[ ] Resume download after a recoverable error Read()

Work in progress.


Cross-Project Observability integration (Metrics Logs Dashboard)

What should we add to our content collections?
We have implemented Cross-Project integration for Metrics integration, Logs integration, Dashboard integration to support the use case in which customer has a centralised observability stack that would get Metrics, logs from all different projects.
Is this something you would work on yourself?
[x ] I plan to open a pull request for this

Done


Get-CsTenantNetworksite -Filter does not expect Odata syntax?

Hello Team,
I am trying to create a script (Find-TeamsEmergencyCallRoute) that queries a Site or a Subnet, finds the ECRP and follows through with resolution until the Gateway (I have the same for the normal call route via OVP: Find-TeamsUserVoiceRoute already). However, I am struggling with Step 1: Lookup for the Site by Name:
I am working off of the (working) CmdLets to create these artifacts, but I cannot re-query them...
Issue 1 - RESOLVED
Listed here only for visibility. Was "Query by Identity fails with spaces in the Name"

Resolved - had trailing space in the Name - opened #7990 instead.

This affects Identity, NetworkSiteId and Description parameter.
❯ $Site = "Los Angeles"
❯ $Site
Los Angeles
❯ Get-CsTenantNetworksite -Identity $Site
Cannot find "TenantNetworkSite" "Los Angeles" because it does not exist.
    + CategoryInfo          : ResourceUnavailable: (Los Angeles:String) [Get-CsTenantNetworkSite], KeyNotFoundExceptio
   n
    + FullyQualifiedErrorId : MissingItem,Microsoft.Rtc.Management.Internal.GetTenantNetworkSiteCmdlet
    + PSComputerName        : api.interfaces.records.teams.microsoft.com
❯ Get-CsTenantNetworksite -Identity "$Site"
Cannot find "TenantNetworkSite" "Los Angeles" because it does not exist.
    + CategoryInfo          : ResourceUnavailable: (Los Angeles:String) [Get-CsTenantNetworkSite], KeyNotFoundExceptio
   n
    + FullyQualifiedErrorId : MissingItem,Microsoft.Rtc.Management.Internal.GetTenantNetworkSiteCmdlet
    + PSComputerName        : api.interfaces.records.teams.microsoft.com

Query with Identity doesn't work and it doesn't matter whether I use quotation marks or not.
❯ Get-CsTenantNetworksite -Identity "Site1"

Identity                   : Site1
RunspaceId                 : 828f41bc-8860-431d-9e7b-f4335b4a6609
Subnets                    :
Postalcodes                :
NetworkSiteID              : Site1
Description                : Network Site 1
NetworkRegionID            : EMEA
LocationPolicy             :
EnableLocationBasedRouting : False
SiteAddress                :
EmergencyCallRoutingPolicy : ECRP1
EmergencyCallingPolicy     : ECP1
NetworkRoamingPolicy       :

However, querying Sites without spaces in the name works fine. I think, either the Identity Parameter is not correctly implemented, or New-CsTenantNetworkSite allows spaces in the Identity when it shouldn't.
Can you confirm?
Issue 2 - Query by Filter does not return a result
Query with * in the name returns something, though can afterwards not be filtered further with Where-Object
❯ $Site = "Los Angeles"
❯ $Site
Los Angeles
❯ Get-CsTenantNetworksite -Filter "Identity eq '$Site'"
❯
❯ Get-CsTenantNetworksite -Filter "Los Angeles"
❯
❯ Get-CsTenantNetworksite -Filter "Los Angeles*"

Identity                   : Los Angeles
RunspaceId                 : 828f41bc-8860-431d-9e7b-f4335b4a6609
Subnets                    :
Postalcodes                :
NetworkSiteID              : Los Angeles
Description                : Los Angeles
NetworkRegionID            : US
LocationPolicy             :
EnableLocationBasedRouting : False
SiteAddress                :
EmergencyCallRoutingPolicy :
EmergencyCallingPolicy     :
NetworkRoamingPolicy       :

Identity                   : Los Angeles del Rio
RunspaceId                 : 828f41bc-8860-431d-9e7b-f4335b4a6609
Subnets                    :
Postalcodes                :
NetworkSiteID              : Los Angeles del Rio
Description                : Network Site 2
NetworkRegionID            : US
LocationPolicy             :
EnableLocationBasedRouting : False
SiteAddress                :
EmergencyCallRoutingPolicy :
EmergencyCallingPolicy     :
NetworkRoamingPolicy       :

Filter ONLY finds the Site if I place it with a *, however, an exact match by name is not able to be found. I have tried numerous filter statements that adhere to the ODATA syntax to get to it, but to no avail. Normally I would just filter to get a handful results, then pipe to Where-Object to narrow it down to one. This though also fails to work! I think there is something wrong here...
So for now, I can query Network Sites only if they do not have a space in the name.
I submit this for validation, as the coffee may not yet have kicked in and my brain is not fully up to speed yet...
I shall continue to tackle the other requirement I have put myself to: Querying by Subnet.
In terms of Documentation issues, could we get some filter examples here please? 😄
If indeed I am using these correctly and there is an issue with the Commands, could you forward this to the dev team please?
Thank you,
David

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

ID: 1570dd32-8edb-178a-3519-d3a37e10b69b
Version Independent ID: dd1fc7a5-32df-5f97-c750-a2dc0dc7a6f6
Content: Get-CsTenantNetworkSite (SkypeForBusiness)
Content Source: skype/skype-ps/skype/Get-CsTenantNetworkSite.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

ok. I think I should have waited for proper coffee propagation^^
I seem to have created the Site with a trailing space!
❯ Get-CsTenantNetworksite -Identity "Los Angeles "

Identity                   : Los Angeles
RunspaceId                 : c7d2b651-bd8a-4e37-a639-c8277d87e995
Subnets                    :
Postalcodes                :
NetworkSiteID              : Los Angeles
Description                : Los Angeles
NetworkRegionID            : US
LocationPolicy             :
EnableLocationBasedRouting : False
SiteAddress                :
EmergencyCallRoutingPolicy :
EmergencyCallingPolicy     :
NetworkRoamingPolicy       :

Issue 1 is not an issue - Issue 2 however still stands

Hello @DEberhardt David, how are you?
About "Issue 2"
When you say ODATA you mean OPATH syntax? if it is not mentioned, like for example in Exchange's Get-Mailbox, it is not implemented that way.

Filter ONLY finds the Site if I place it with a *

I could not reproduce that:
  Get-CsTenantNetworksite -Filter "Los Angeles"

Identity                   : Los Angeles
RunspaceId                 : 930f990c-4ab6-41ac-8695-ccf3fb3b3ca9
Subnets                    :
Postalcodes                :
NetworkSiteID              : Los Angeles
Description                : Los Angeles
NetworkRegionID            :
LocationPolicy             :
EnableLocationBasedRouting : False
SiteAddress                :
EmergencyCallRoutingPolicy :
EmergencyCallingPolicy     :
NetworkRoamingPolicy       :

Hello, all well here in the UK :)
I seem to have filed this away as ODATA - like the Examples 4 and 5 as in:
Get-AzureAdUser -Filter "UserPrincipalName eq<EMAIL_ADDRESS>If it goes by another name, I am missing bits of information 😄
I will try again - this time without the trailing spaces...

Tried Get-CsTenantNetworkSite again just now:
 David  C:\                                                                                 18:52:42
❯ Get-CsTenantNetworkSite -Filter "Los*" | Select Identity

Identity
--------
Los Angeles
Los Angeles del Rio
Los Libros

 David  C:\                                                                                 18:52:57
❯ Get-CsTenantNetworkSite -Filter "Los" | Select Identity
 David  C:\                                                                                 18:53:04
❯ Get-CsTenantNetworkSite -Filter "Los Libros"

Identity                   : Los Libros
RunspaceId                 : bb206760-e0cc-4aa3-a457-ddaf4ffbd604
Subnets                    :
Postalcodes                :
NetworkSiteID              : Los Libros
Description                : Network Site 3
NetworkRegionID            : US
LocationPolicy             :
EnableLocationBasedRouting : False
SiteAddress                :
EmergencyCallRoutingPolicy :
EmergencyCallingPolicy     :
NetworkRoamingPolicy       :

 David  C:\                                                                                 18:57:06
❯

It looks as if -Filter doesn't filter with a string alone... only with a '*' (it does return something if it finds an exact match however...)
As there is no example for the Filter, I have to guess what works... what is the default for the -Filter parameter?

@DEberhardt David, can you kindly detail me the version of Teams Ps are you using for those tests? Thank you

I should be on v2.3.1 - never updated since the TimeZone issue was fixed

PowerShell Module Paths
C:\Users\David\Documents\WindowsPowerShell\Modules
C:\Program Files\WindowsPowerShell\Modules
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
c:\Users\David\.vscode\extensions\ms-vscode.powershell-preview-2021.7.0\modules

PowerShell Version Table

Name                           Value
----                           -----
PSVersion                      5.1.19041.1023
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}


Fixed dependency issues for Kibana v7.0.x

Modified some dependencies to make it work with Kibana v7.0.x

Thanks for getting the plugin working in 7.0. Appreciate the help.

There is no typo in import in time.less?
is
@import (reference) "../../../src/legacy/ui/public/styles/bootstrap/mixins.less";
should be?
@import (reference) "../../../src/ui/public/styles/bootstrap/mixins.less";

would you mind targeting this PR against 6.7 branch instead of master.

Sure, i create PR


Fatal Unhandled Exception when calculating acoustic indices

Describe the bug
Hello, I received a FATAL unhandled exception when I ran the Towsey.Acoustic.yml config file when calculating acoustic indices on a 30 mins recording. I tested the QUT tutorial prior to using my own data and the tutorial worked with the data provided.
Expected behavior
I expect to get output files with indices analysis for my .wav file.
Diagnostics

Instructions
✅ I have followed the instructions for reporting a bug
I have attached a log:

log_20200609T152953Z.txt

The operating system I'm using is:

Windows 10 Home Version 1903
The version of AnalysisPrograms.exe I'm using is:

<IP_ADDRESS>
The data used can be found:

Data file: Acoustic recording
Name: 20200309_120000_Gabon_Non_Stop
Size: 150 MB
Duration: 29:54 (minutes:seconds)
Count: 1 file
Format: WAV File

The command I used:

C:\AP\AnalysisPrograms.exe audio2csv 20200309_120000_Gabon_Non_Stop.wav  C:\AP\ConfigFiles\Towsey.Acoustic.yml .\IndicesOutput

The config file I used:

log_20200609T152953Z.txt

Screenshots

Additional Details

Thank you for the report @tsatchivi! We appreciate it 😄
I don't have enough information to diagnose this problem. Is there any chance you could provide me with the audio file that is causing the error?
If the data is sensitive you can email the file to me and we'll ensure it is not shared.

Hmm, I can't seem to reproduce this on my machine. I tried with our very latest version (not yet released) as well as the version you used.
Can you please try running the command again and then ensure you suffix it with --log-level 7 to add more debug information to the log. Then attach the log into the a response here in the issue.
C:\AP\AnalysisPrograms.exe audio2csv 20200309_120000_Gabon_Non_Stop.wav  C:\AP\ConfigFiles\Towsey.Acoustic.yml .\IndicesOutput --log-level 7

If that doesn't work we may have to set up a call.
Lastly, what locale is your computer using? https://docs.microsoft.com/en-us/powershell/module/international/get-winsystemlocale?view=win10-ps
Thanks!

@atruskie, I think I may have found out what's going on. I just created a folder directly under the C: drive on my computer and placed the file in there. I placed the file at the path C:\Temp instead of C:\Users\Alma\Documents#SoundForestLabWork. When I ran AP.exe on the exact same file located at C:\Temp, it worked without any issue. I don't understand why this is happening but it seems that when I place the file in a subfolder it doesn't work. I hope my explanation makes sense.
Thank you so so much for taking the time to debug this issue! I really appreciate it. This is a fantastic application!

OK, I'm going to assume the issue here is due to the # symbol in the directory name?
I'd still like to fix this bug - there's no reason it should have failed. Could you please attach the verbose log?

Hi @atruskie, I also assumed that the issue was the # symbol yesterday but it doesn't appear to be so. When I placed the file at the path C:\Users\Alma\Documents\Testing, I still ran into the error yesterday. I've rerun the command this morning with the file located at C:\Users\Alma\Documents\Testing and the error still persists. Below is the log file (I ran the command with the suffix --log-level 7 as you've asked):
log_20200611T132909Z.txt
Also, to answer your question about the locale on my computer, it is en-US.
Thank you.

This is super interesting. The error from the log is:
C:\AP\audio-utils\win-x64\sox\sox.exe FAIL formats: can't open output file `C:\Users\Alma\Documents\Testing\IndicesOutput\Towsey.Acoustic\mtjk3nmndlsvd0z0ejhbnkrg0xsm1wfo.wav': Permission denied

So it can't write temporary files to your documents folder... Is there something special about that folder?

is that folder a Google drive or one drive folder?
is that folder a network folder?
are you using a personal computer, or one provided by your organisation?
have you got windows ransom ware protection enabled? https://www.lifehacker.com.au/2019/08/why-you-should-use-windows-defenders-ransomware-prevention/

Regardless, I should be able to mock up a similar situation now and write some code to deal with it. Thanks!

hmm, interesting.

The Documents folder is on my C: drive, it's a physical drive; not a Google drive one drive folder
I'm using my personal computer.
I have Bitdefender installed so that's the software that handles ransomware protection. I just checked it and it turns out that Bitdefender was blocking sox.exe and AP.exe from making the change to the folder!! I hadn't noticed until you pointed this out. The error is gone now! I can run AP.exe on the file located in my Documents folder.

I'm glad the issue is solved! Thank you so much for troubleshooting @atruskie!

Oh, great, fantastic news.
I think the fix here will be adding some documentation and a warning that has a nice clear message if the folders aren't writeable for some reason.

Yes, it seems like a good idea to have a reminder in the documentation for the user to check their ransomware protection software - although I should have thought about that knowing Bitdefender!


Store no longer available in adapters with Ember Data >=2.3.0

Torii injects the store onto adapters on condition that window.DS exists.
However, it seems that ED 2.3.0 no longer exposes DS on window, so that initialization does not run, and  this.get('store') in adapter code is undefined, leading to bugs.

#271 is part of v0.7.0-beta.4, which removes eager injection of store into providers/adapters altogether, so that should fix this.
If your providers/adapters need the store, please use standard store: Ember.inject.service() usage in them.

Yes, that makes sense.


Certinfo refactor in advance of V2 serialization support

Rename PreCert to CertInfo as in draft RFC as in v2 it will be used for both certs and precerts in signed entries. Unfortunately can't use CertInfo exclusively in SignedEntry proto as this would be incompatible with the format of existing saved proto instances.

On reflection I think it's probably best to abandon this PR and make a fully backwards compatible proto change in the other PR. It's more work for me to do but it won't affect CT v1 users in Java and python etc. then.


feat(Computability/Primrec): recursion on order type omega is primitive recursive

add Primrec.nat_omega_rec, which states that function defined recursively on order type omega is primitive recursive, and is stronger than Primrec.nat_strong_rec. also add some basic theorems about List

@digama0 is further action needed to finalize this PR? Many thanks


Help! jquery.js

Hi! I'm trying to understand the using of content scripts by the use of chrome extensions
I have almost understood the "simple" flow of the application but what's the part (the role) of the jquery.js script? I hope you will find free time to answer my dubt . Thank you! @aklingspor

Hi!
The role of the JQuery.js script is to include the JQuery library into
application, which helps us locate elements to click on and autocomplete
checkout forms.
Let me know if this helps, or if there is anything else I can clarify. Do
you have any suggestions?
This project I still have yet to work on fully, as it is similar to my
yeezybot program.
Anton
On Saturday, July 2, 2016, Alessandro Pistola<EMAIL_ADDRESS>wrote:

Hi! I'm trying to understand the using of content scripts by the use of
chrome extensions
I have almost understood the "simple" flow of the application but what's
the part (the role) of the jquery.js script? I hope you will find free time
to answer my dubt . Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aklingspor/supremebot/issues/1, or mute the thread
https://github.com/notifications/unsubscribe/AE7cwCGb5QV4aG12gElYFJdAr21uc1--ks5qRnvKgaJpZM4JDsHj
.

--
Antonio Klingspor,* CEH, MTA, ACMT, SEC+*
KLINGSPOR Abrasives, Inc.
 &
Securitum Digital, LLC

aklingspor.com
https://mailtrack.io/trace/link/41a089fe161373cbbecf550724b6803d91a77682?url=http%3A%2F%2Faklingspor.com&signature=af0a877462a8d8d2

+1<PHONE_NUMBER> <8283814004>
CONFIDENTIALITY NOTICE: The contents of this email message and any
attachments are intended solely for the addressee(s) and may contain
confidential and/or privileged information and may be legally protected
from disclosure. If you are not the intended recipient of this message or
their agent, or if this message has been addressed to you in error, please
immediately alert the sender by reply email and then delete this message
and any attachments. If you are not the intended recipient, you are hereby
notified that any use, dissemination, copying, or storage of this message
or its attachments is strictly prohibited.
ENCRYPTION NOTICE: This electronic message may have been intercepted by
government systems, or by an external party, without consent of the sender
or receiver of the data.
Precautions, such as PGP key data encryption, should be used at all times
to prevent data interception.


[FEATURE] Create Round Page

Problem

need a view for creating a round

User Story(s):
As a potential round manager, I want to be able to create a round, so that I can
Description

create round form

Acceptance Criteria

interfaces with round factory contract #11
checks if user is if there is whitelist on round factory contract for those who can deploy, then check if account signed in is on round factory whitelist -> then shows create round button in navbar
full form
able to add projects directly (should have a project look up based on registry)
checkbox for whether applications are allowed
able to add voters -> copy and past from existing csv list or separate with commas
calendar picker for start and end date
check error states, application period must be before voting period
tool tips for info about budget boxing
error validation for valid soroban accounts
add or remove admin
vault contrast or not with tool tip
if not vault then select payout amount
pull USD equivalent using coingecko api
if vault, you must add funds to display (show proof of audit)
if doesn't have funds, need to add later -> show tutotiral on how to add

Limitations

project look up and add project is hefty features

Resources

outline links and relevant resources, references, implementations

UI Done

https://github.com/PotLock/grantpicks/pull/34


Bump creekVersion from 0.3.0 to 0.3.1-SNAPSHOT

Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 97.79%. Remained the same when pulling 05a362802834af9884cbc54611e71466c65f4df3 on bump-next-snapshot into b4257c5185f433d59389db5a70dfe87a6f2e5e59 on main.


Bug: Endless Dataview query serialization since 1.5.0 was released

The changes we made in #29 cause endless queries serialization in my vault. I have 10K+ notes, and heavily use this plugin (for MoCs, person notes, book notes, ...).
My hunch is that the delay between full updates is too short in my case.

I've reverted #29 for now and released 1.5.1 to limit impact on current users.
We need to ensure this problem does not reoccur if we reintroduce those changes


Update devicetvmsoftwarevulnerabilities.md

have updated the description to reflect the system that this comes from, ive also added the solution as it is a Microsoft Defender for Endpoint data table

Hi @BillClarksonAntill thanks for pointing this out.
This article is automatically produced using the logs API. We have asked the developers to make the required change in the manifest file.
#please-close


[cartographer] incorrect allowed guild type in db

Describe the bug
Error in command 'cartographerset view'. Check your console or logs for details.
Error 1:
Traceback (most recent call last):
  File "{HOME}/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped
    ret = await coro(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "{HOME}/.local/share/Red-DiscordBot/data/TechBot/cogs/CogManager/cogs/cartographer/main.py", line 186, in view_settings
    allowed = ", ".join(self.db.allowed_guilds)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, int found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "{HOME}/redenv/lib/python3.11/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
    await ctx.command.invoke(ctx)
  File "{HOME}/redenv/lib/python3.11/site-packages/redbot/core/commands/commands.py", line 825, in invoke
    await super().invoke(ctx)
  File "{HOME}/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1650, in invoke
    await ctx.invoked_subcommand.invoke(ctx)
  File "{HOME}/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1029, in invoke
    await injected(*ctx.args, **ctx.kwargs)  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "{HOME}/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 244, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: sequence item 0: expected str instance, int found

Error 2:
Traceback (most recent call last):
  File "/home/tech/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped
    ret = await coro(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tech/.local/share/Red-DiscordBot/data/TechBot/cogs/CogManager/cogs/cartographer/main.py", line 186, in view_settings
    allowed = ", ".join(self.db.allowed_guilds)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, int found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/tech/redenv/lib/python3.11/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
    await ctx.command.invoke(ctx)
  File "/home/tech/redenv/lib/python3.11/site-packages/redbot/core/commands/commands.py", line 825, in invoke
    await super().invoke(ctx)
  File "/home/tech/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1650, in invoke
    await ctx.invoked_subcommand.invoke(ctx)
  File "/home/tech/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1029, in invoke
    await injected(*ctx.args, **ctx.kwargs)  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tech/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 244, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: sequence item 0: expected str instance, int found

Cog Version*
Latest
To Reproduce
Steps to reproduce the behavior:

Install cartographer
Allow more than one server
Configure settings
Attempt to view settings with [p]cartographerset view

Expected behavior

Some sort of view of global settings should show

Screenshots
N/A
Additional context

Guild ID type should be cast as string not integer
Thank you for developing this!

Just pushed a fix. ty for reporting!

Thanks for the quick fix! 😄


On first install (manual method) application restart is required after enabling

Affects PC Install only
After installing into the plugins folder from the repo clone, restarting the application is required to register the plugin (not speckle-QGis issue)
Subsequently, enabling the plugin the manager then gives UI reports of specklepy not being found and the Plugin isn't visible in the UI.
The specklepy dependency has been successfully installed restarting the application solves the issue, but perhaps there is a call to specklpy too early, or if there is some plugin init process that can be handled to check again.

Closing, as all OS are now able to install from Marketplace/Manager


Please add a 0.0.3 version.

A dependency of babel, line-numbers is using left-pad version 0.0.3 as a dependency. Can you please add back in a 0.0.3 version to support the legacy features

+1

Fails https://integration.wikimedia.org/ci/job/npm/59979/console too.

ember-cli also depends on 0.0.3 as well.

+1

+10000000000000000000000000

+1

+1

+1

:+1:

Versions 0.0.4-0.0.8 also seem to have been removed.

+1

:+1:

:+1:

:+1:

this is breaking the internets

OMGPLZHALP

:+1:

fukfufuk

Azer right now: "HOW many people are using this 10-starred repo?!"

Please I am begging you !

The sky is falling!!!

+1s only add noise, please refrain from doing so. This is a duplicate of https://github.com/azer/left-pad/issues/4 follow progress there.

+1

:+1:  common

+1 broken!

This is what you get with a bunch of "Tiny Modules".

this has halted my day's coding mojo.

npm install<EMAIL_ADDRESS>--save will fix your babel builds

I guess half of the world will go mad in next 24 hours.

comment from issue #4 this fixed worked for us
"left-pad": "git://github.com/azer/left-pad.git#bff80e3ef0db0bfaba7698606c4f623433d14355"

this is also causing lodash to break

This just broke potentially thousands of projects.

Causing node-sass to break too

It's really concerning that one small package could break so many projects. I'm working on an ember-cli app and, unfortunately, even adding left-pad in my dependencies won't fix this issue.
Is there really no way to install left-pad locally so that it will be picked up by sub-dependencies too? I've tried npm linking it as well and the sub-dependency continues to fail.

@spinlock99 try this: "left-pad": "git://github.com/azer/left-pad.git#bff80e3ef0db0bfaba7698606c4f623433d14355"

Authors you're awesome! Killed the whole project with perhaps lowest important library in the whole npm!
@spinlock99 you're totally right

+1

+1

Hey all, this whole discussion is already happening in https://github.com/azer/left-pad/issues/4. The fewer places we have to use to reach people, the better, so please follow that issue.
This should now be resolved for Babel 6 if you reinstall, a Babel 5 fix is in the works.

<EMAIL_ADDRESS>

btw made a pull request to no longer use this library https://github.com/lydell/line-numbers/pull/2

@guisouza story sounds suspect why would he get soo butt hurt about a patent troll.

Copy pasting from #4 - Thanks to @maxkostow - his fix also worked for me.
npm install azer/left-pad.git#bff80e3ef0db0bfaba7698606c4f623433d14355 --save

FYI I was deploying on Codeship but had to clear their depenency cache.

Reopenning so people see this

@ccutch sounds to me like he was more irritated that NPM didn't fight the patent troll.

Thanks @jjshammas. My issue was that I was installing from master rather than the specific hash that you gave. Thanks again for pointing that out.

Confirmed that npm install<EMAIL_ADDRESS>is now working

@chibicode thank you. Everyone who helped you are all heroes


Add missing mandatory step

user must change the value of awshost for it to work

Hello.
Good catch ! Thank you.
I've merged your pull request and added some text about the two working options.
Seems that  data.iot.REGION.amazonaws.com  works as well but region has to match the one you create the things/certificates in.
I'm wondering if data.* instead of the curious hostname can be AWS way to perform some sort of load balancing on traffic from things... Could be... will see :-)
ciao,
mario


Use new Babel options key

Fixes #124

I'm baffled as to why this causes Travis failures... possibly a bug downstream in ember-cli-babel?

Closing this in favor of #127


Godot crashes along with Nvidia driver making system unstable on Nivdia Optimus Linux system

Godot version
v4.1.1.stable.flathub [bd6af8e0e]
System information
Godot v4.1.1.stable (bd6af8e0e) - Freedesktop SDK 23.08 (Flatpak runtime) - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 Ti (nvidia) - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)
Issue description
Apparently currently running Godot 4.1.1 (Flatpak, host is Fedora Silverblue 39 Beta) on my system always ends up with eventually Godot stopping responding and the Nvidia card (driver is 535.104.05) crashing until I reboot.
I do not know if it's a bug in the Nvidia driver or in Godot, so I'm filling an issue here.
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: handle_crash: Program crashed with signal 11
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: Engine version: Godot Engine v4.1.1.stable.flathub (bd6af8e0ea69167dd0627f3bd54f9105bda0f8b5)
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: Dumping the backtrace. Please include this when reporting the bug to the project developer.
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: ERROR: FATAL: Index p_index = 1 is out of bounds (size() = 0).
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]:    at: get (./core/templates/cowdata.h:155)
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: ================================================================
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: handle_crash: Program crashed with signal 4
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: Engine version: Godot Engine v4.1.1.stable.flathub (bd6af8e0ea69167dd0627f3bd54f9105bda0f8b5)
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: Dumping the backtrace. Please include this when reporting the bug to the project developer.
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]: ERROR: FATAL: Index p_index = 1 is out of bounds (size() = 0).
set 22 20:43:57 centauro org.godotengine.Godot.desktop[16003]:    at: get (./core/templates/cowdata.h:155)

This Godot crash apparently can bork both the iGPU and the dGPU:
set 22 20:43:46 centauro kernel: NVRM: GPU at PCI:0000:01:00: GPU-60a9bb49-90ee-5995-7b62-7b249c46239d
set 22 20:43:46 centauro kernel: NVRM: Xid (PCI:0000:01:00): 79, pid='<unknown>', name=<unknown>, GPU has fallen off the bus.
set 22 20:43:46 centauro kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.

set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57d:0:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:0:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:1:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:2:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:3:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:4:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:5:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:6:0:0x0000000f
set 22 20:43:57 centauro kernel: nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c57e:7:0:0x0000000f

set 22 20:44:05 centauro kernel: nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU progress: 0x0000c57d:0 2:0:4048:4040

set 22 20:44:13 centauro kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=53185 end=53186) time 232 us, min 1073, max 1079, scanline start 1066, end 1081
set 22 20:44:15 centauro kernel: nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU progress: 0x0000c57d:0 2:0:4048:4040

Steps to reproduce
Basically, opening my current project (It's a Godot 3.5 project I converted to Godot 4.x) and trying to do stuff for a while (for example, I  have been working on improving the graphics on that project).
After a while Godot freezes and, when it is killed, the Nvidia card is borked.
Minimal reproduction project
N/A

I'm using Godot 4.1.1 and NVIDIA GeForce GTX 1660 on Ubuntu with the proprietary driver.
Also I'm using dual screen and x.org desktop.
Occasionally the editor will freeze mostly during debugging and the screen will appear glitched from top left to bottom right.
I had to logout and login back to recover the computer.
This issue never happened to other applications.

Can you test https://github.com/godotengine/godot/pull/80566 locally to see if it resolves the issue?
Also, can you reproduce this using all rendering methods, or only Forward+/Mobile?

I actually have been using v4.1.3.stable.flathub [f06b6836a] for a tutorial recently and I had no issue with crashes.
One thing to note was that the project was set to Compatibility renderer, so I have yet to test if the issue is specific to the Forward+ renderer.


New users without GitHub account have an empty navigation

We may have cases where the user registers without having connected their GitHub account, e.g. first-time pledge or (in the future) free subscription. In this case, we only have a User object with their email, but no personal GitHub organization is associated.
With this setup, the left navigation is empty:

We should probably show at least:

Posts
Funding
Finance
Settings

Fixed by #1839.


AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'assign' when using model as layer

System information

Have I written custom code (as opposed to using example directory):  no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Linux Ubuntu 18.04
TensorFlow backend (yes / no):  yes
TensorFlow version:  tensorflow-gpu 2.0.0
Keras version:  2.3.0
Python version:  3.6.8
CUDA/cuDNN version:  10.2
GPU model and memory:   GeForce RTX 2080 8GB

I created the following model for testing:
inputLayer1 = Input(shape=(maxWordLen,),name='wordInput')
embedding1 = Embedding(self.numOfChar, 16, input_length=maxWordLen,embeddings_initializer='random_uniform')(inputLayer1)
output1 = Conv1D(4,3,activation='relu',kernel_initializer='random_uniform')(embedding1)
output1 = MaxPooling1D(2)(output1)
output1 = GlobalMaxPooling1D()(output1)

wordEncoder = Model(inputLayer1,output1,name='wordEncoder')

inputLayer2 = Input(shape=(maxWordCount,maxWordLen),name='mainInput')
lstmIn = TimeDistributed(wordEncoder)(inputLayer2)

lstm1 = Bidirectional(LSTM(32, return_sequences=True,  dropout=dropout,recurrent_dropout=dropout))(lstmIn)
lstm2 = Bidirectional(LSTM(32, return_sequences=True,  dropout=dropout,recurrent_dropout=dropout))(lstmIn)

outputLayer2 = add([lstm1,lstm2])
outputLayer2 = TimeDistributed(Dense(numOfLabel, activation='softmax'))(outputLayer2)
sentEncoder = Model(inputLayer2,outputLayer2)

sentEncoder.compile(loss=loss,optimizer=optimizer,metrics=metrics)

When running .fit on this model I receive the following error:
AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'assign'

Not sure if I'm doing it wrong or if it's a problem with tensorflow 2.

Figured out that my problem is in keras/backend/tensorflow_backend.py in function
def zeros(shape, dtype=None, name=None)

changed line 963 to:
v = tf.Variable(np.zeros(shape=shape, dtype=dtype), name=name)

in order to make it a variable instead of a Tensor Object as is returned with tf.zeros.

Markus, i got the same error as but i cannot understand how to resolve it, I am new to ML, can you help me out with step by step procedure in layman language

Figured out that my problem is in keras/backend/tensorflow_backend.py in function
def zeros(shape, dtype=None, name=None)

changed line 963 to:
v = tf.Variable(np.zeros(shape=shape, dtype=dtype), name=name)

in order to make it a variable instead of a Tensor Object as is returned with tf.zeros.

Markus, i got the same error as but i cannot understand how to resolve it, I am new to ML, can you help me out with step by step procedure in layman languag


Unable to uninstall specific version of formulae

brew doesn't appear to support at signs (@) when instructing brew uninstall to remove a specific version of a formula :/
The currently recommended workaround, rm -rf <path> is lazy and risky. If I wanted to manage packages at such a low level, I wouldn't bother using Homebrew in the first place.

From the issue template:

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you do not read fill out the issue template repeatedly you will be blocked from ever submitting issues to Homebrew again.

If you add the necessary information to this issue (don't create a new one, please) then this issue may be reopened.


Left panel too small to fit content

The left panel is too small to fit its content and requires scrolling. See image.

As a workaround you can open MapEditor.tscn and disable horizontal scroll in the ScrollContainer.
I have it on my TODO list, I'll try to work on some update soon.

Worked great, thanks:

Fixed by 0b3292d


MatSort not sorting negative numbers correctly

Bug, feature request, or proposal:
A number field, if it's negative, gets sorted after 0 when sorting ascending.
What is the expected behavior?
Negative numbers come before 0 when sorting ascending.
What is the current behavior?
When sorting ascending, negative numbers come after 0 and before positive numbers.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-yfw5ia-uaqsrh?file=app%2Ftable-sorting-example.ts
Click on the weight column header one time to sort ascending.
What is the use-case or motivation for changing an existing behavior?
It makes sense that -1 < 0 < 1 and I think the default sort comparison should follow that rule.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 5.2.2
Anything else
This is using the default sort with MatSort on a MatTable using MatTableDataSource.

I also have this problem. Any fixes?

@aleksanderhan A workaround is to use MatTableDataSource.sortData to override the sort mechanism.

Should be fixed in https://github.com/angular/material2/pull/10561


Upgrade python27Packages pants13-pre to latest (currently 1.3.0.dev19)

Issue description
Want the latest 1.3.0 dev release of pants (to get a particular bug fix).
Steps to reproduce
Just running pants w/in nix-shell w/ trying to use the latest version.
Technical details

System: OSX
Nix version: nix-env (Nix) 1.11.9
Nixpkgs version: "17.09pre106045.7369fd0b51"

Fixed in https://github.com/bhmiller/nixpkgs/commit/064882e52ab3e5c96e8c9bd1495228ed84b83a10


Support for authentication keys

Examples in the code/tests leverage using the managed identity authorization with via token_provider.
If the current solution supports connecting to endpoints with API keys, ti would be good to update documentation.
If the solution does not support connecting to endpoints via API keys at the moment, this is a feature request :)

Hi @jjczopek, you can use API keys just like you can in the OpenAI Python API Library. This load balancer would absolutely support that. Happy to add an example or, better yet, accept a PR!


Verilator lint fixes

@tomroberts-lowrisc: I stole the secded changes from the decoder in the Ibex repository. Did you hand-edit this to avoid the Verilator warning, or is there another version of the generator that I haven't seen?

Not that I remember - I think they were just generated by an older version of the generator script


Update logic to use shipping zones available in given chnnel in product module

Return data based on available warehouses for a given channel.
Update:

ProductVariant.quantityAvailable
Product.isAvailable
ProductVariant.stocks

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2554 Update queries and logic to use shipping zones available in given channel


How to move forward?

Sorry that I completely forgot this crate since I'm busy at other stuff!
I was going to do proc-macro until something else chips in.

Right now I'm thinking if there's anyway to simplify it, because writing proc-macro is really painful way of doing it...
It's a shame that rust has no reflection to simplify it.

Also, very often, different error types might have the same error: e.g. io::Error that is common and often seen among the codebase.

I mean, if you found some time to keep sketching and prototyping on this crate, that would be fantastic!
I don't know where I wrote something about the purpose of this fork, but to summarise:

it's compatible to thiserror syntax so it can be swapped in
it allows crates to have a stable API even in the light of changes to what errors can be returned. Such a crate will remain stable as long as variants are only added.
it stores data efficiently by default to avoid huge error structs (much like anyhow), while having a way to visualize the tree of possible errors while making it possible to introspect errors. Ideally, there is a stable way of accessing parts of the error tree and get the data within it.

I hope that makes sense, but in a way it's a possible solution to the 'how to get thiserror for stable APIs' while making it easier to introspect errors (and this is what I am thinking about).
It's quite notable that the current way of introspection has the advantage that one cannot miss added error variants that might be important for what one tries to introspect. Maybe being able to visualize all possible errors in the tree, which is impossible right now), would at least help to on-demand figure out what one might be missing to learn something about an error.
Alternatively, maybe there could be a notion of 'tagging' errors. So libraries can provide easy-to-find tags that tell something about the error at hand.
And lastly, the error produced should be 'one and the same', so it's much like anyhow, but with a lot more metadata inside for better introspection. And of course, the library producer should be forced to spell out all possible errors as a form of documentation.
Of course, I don't know if any of this makes much sense, but please feel free to ask or share your ideas on how to solve the problems that this tries to address.
(it would be so exciting if this could work out, having a 'next-gen' error crate would be big)

Thank you!
Yeah I think it makes sense, it's mostly just proc-macro which is giving me a bit headache before.
I need to find some time to continue on this.

My initial thoughts on how to do the proc-macro, is to generate the name from the crate name + enum name + variant.
Crate name can be obtained by:
    let crate_name = std::env::var("CARGO_PKG_NAME").unwrap();

Yeah I think it makes sense, it's mostly just proc-macro which is giving me a bit headache before.

Yes, proc-macros aren't anything I like either, and thus far I managed to avoid it. Then I think at some point, one will have to learn it. My plan here is to tackle this once it's the last thing needed to be able to make gitoxide stable.

My initial thoughts on how to do the proc-macro, is to generate the name from the crate name + enum name + variant.

Apologies, I don't think I follow.

My initial thoughts on how to do the proc-macro, is to generate the name from the crate name + enum name + variant.

Apologies, I don't think I follow.

I was thinking about how to generate the unique name for each error variant.


How can I modify the behaviour of a subscription resolver

Consider this subscription resolver:
  Subscription: {
    publications: {
      subscribe: async (parent, args, ctx, info) => {
        return ctx.db.subscription.post({ }, info)
      },
    },
  },

As it is written, it will send events for any mutation to the Post model. However, I might want to cover different scenarios:

block deleted events
rename the title of the post in the subscription event being sent out

How can I handle these and other scenarios? Basically I want to intercept the subscription event with any custom logic.

I'm confused how withFilter would function in conjunction of return ctx.db.subscription.post({ }, info) - most of the example use cases of withFilter are tied to returning an AsyncIterator - is that the responsibility of ctx.db.subscription somehow?

withFilter seems to need some handholding to work as I would expect.   withFilter requires a resolved AsyncIterator, but ctx.db.subscription.link returns a Promise - so you have to await.     Finally I was surprised that I have to invoke the function filteredSubscription on the return - it feels like this is different than the usual examples that leverage PubSub - where the function itself is returned.
Can somebody help explain why this works, and if the syntax is expected?
  subscribe: async (parent, args, ctx, info) => {
    const subscription = await ctx.db.subscription.link(
      { },
      info,
    )

    filteredSubscription =  withFilter( () => subscription , (payload, variables) => {
      return true
    })

    return filteredSubscription()
  }

I have another question related to this regarding the info. Consider the following where I want to return an actual type instead of that whole subscription payload as a client doesn't need to know other details about a subscription (eg. kind of mutation, changed fields...).
type Subscription {
  onFightStart: Fight!
}

# and query might look like...

subscription {
  onFightStart {
    id
    attackerId
  }
}

On the resolver side, it means that info argument is structured based on my input query and cannot be passed to ctx.db.subscription.fight({}, info) call directly. I need to somehow transform it so only relevant fields are being queried. I did found this article about demystifying the info, but it still looks like a lot of legwork and feels like shoving my hands to intestines of something not particularly appealing.
const onFightStart = {
  subscribe(_, args, ctx, info) {
    const fightIterator = await ctx.db.subscription.fight({}, /* how to build correct info here? */)
    const nextFight = async () => {
      const { value, done } = await fightIterator.next()
      // value is returned in { mutation, node } structure here, not what client wants
      const newValue = transformValueByInfo(value, info) // <-- not sure how do this
      return { value: newValue, done }
    }
    return { /* AsyncIterator juggling */ }
  }
}

I am aware that if I don't pass any info argument to prisma binding function, it will create one to contain every scalar field, but that doesn't work with subscriptions as an only scalar field is a mutation. I had also figured out it's possible to pass a query string to build that info object, but that's hardly flexible. Ideally I want to grab fields that client is asking for.
const selectionSet = `{
  mutation
  node {
    id
    attacker {
      id
    }
  }
}`
ctx.db.subscription.fight({}, selectionSet)

You're exactly right, @FredyC. This should be a lot easier and will in fact become easier once this issue is tackled: https://github.com/graphcool/prisma-binding/issues/118

@FredyC if I understood you correctly, you have a subscription to the underlying service like this:
type Subscription {
  fight: SubscriptionPayload
}

type SubscriptionPayload {
  ...
  node: Fight
}

and want to expose this:
type Subscription {
  fight: Fight
}

This means, that the info object of the resolver for the fight subscription will contain a query like this:
subscription {
  fight {
    id
  }
}

but the underlying service needs to receive this:
subscription {
  fight {
    node {
      id
    }
  }
}

In other words, the received query needs to be "embeded" into another query / we need to wrap it.
An API for this could look like this:
const onFightStart = {
  subscribe(_, args, ctx, info) {
    const fightIterator = await ctx.db.subscription.fight({}, wrapInfo(info, 'node'))
  },
  resolve(fight) {
    return fight.node
  }
}

@FredyC does that make sense to you?

You are correct on input information. However, I want to watch for changes in different fields than those requested by the client. I did not realize that before mainly because subscriptions are a bit confusing about this. Data you request will be watched for changes and that's not always what you want.
const onFightStart = {
  subscribe(_, args, ctx, info) {
    const fightIterator = await ctx.db.subscription.fight({}, watchFragment) // <-- just a string to specify what to watch
    const nextFight = async () => {
      const { value, done } = await fightIterator.next()
      const fight = await ctx.db.query.fight({ where: { id: value.node.fightId } }, info) // <-- use info from client
      return { onFightStart: fight }
    }
    return { /* AsyncIterator juggling */ }
  }
}

I don't have any big issue with this right now, it's just kinda unintuitive and I had to spent quite some time to figuring that out and digging in the source code. I just hope that your breaking change in https://github.com/graphql-binding/graphql-binding/issues/80 won't prevent me doing this :)

Hey 👋,
I believe the initial question has been well resolved throughout the conversation. In need for gaining a better overview of the issues facing the current version, I'll close it.
Feel free to reopen the issue if you believe we should further discuss its context. 🙂


test model on other languages

Hi,
I want to ask a question ,if i want to use model that  trained in English,and use it to test other languages.How do I run the code?

Do you mean in form of zeroshoot transfer learning?
If so we use Laser for that. First we train laser , to obtain zeroshoot predictions for other languages.
Then we use that zershoot predictions to train regular multifit (pretrained in the language that we are testing on). The unsupervised pretraining removes noise from the laser zeroshoot predictions and improves the results.

I understand now,thank you.

Hi @PiotrCzapla , have you or your colleagues already pretrained this model on English Wikipedia?
If not, would using prepare_wiki-en.sh to grab wikitext-103, then running postprocess_wikitext.py on it be identical to the dataset preparation you did for other languages in the MultiFiT paper?
I'd like to reproduce the monolingual supervised training procedure in the MultiFiT paper for English language classification. Thanks in advance!

Do you mean in form of zeroshoot transfer learning?
If so we use Laser for that. First we train laser , to obtain zeroshoot predictions for other languages.
Then we use that zershoot predictions to train regular multifit (pretrained in the language that we are testing on). The unsupervised pretraining removes noise from the laser zeroshoot predictions and improves the results.

Q) in this case, you don't have a single model with the fixed tokenization that does zero-shot embedding for other language. am I right?

Do you mean in form of zeroshoot transfer learning?
If so we use Laser for that. First we train laser , to obtain zeroshoot predictions for other languages.
Then we use that zershoot predictions to train regular multifit (pretrained in the language that we are testing on). The unsupervised pretraining removes noise from the laser zeroshoot predictions and improves the results.

In the CLS-DE notebook I only see the classifier fine-tuning happening with DE Music Data, Label pairs. But if I understand what you said correctly, shouldn't the LASER classifier be fine-tuned with EN Music Data first before it can act as a teacher to fine-tune the DE Classifier? I don't see that in the notebook. Am I misunderstanding the training regime?


Missing SQLite commands

Hi there,
I noticed that some SQLite commands are missing in the db shell, like .timer. Any plans to support those commands soon?

There's nothing in the short term plans. What commands exactly are you interested in @abdurahmanshiine ?

I'm still experimenting with LibSQL, so I don't have an exhaustive list yet, but the .timer function is the one I currently need

Second that on the timer and stat commands.
Hitting a roadblock where none of the normal avenues for rapid db query/schema optimizations are available, i.e. none of the GUIs for libsql have query time support, and the cli doesn't have the ability to measure query duration or latency.


Update to 1.17.1

A number of things (including the headlining 3x FPS boost feature) are missing/commented out, but the game launches and can load into a world just fine.
I do plan on trying to get the commented out things working again, but I'm burnt out from 3 hours of  work straight on getting it loading into a world, so I'm not going to do it right now. :P
If someone else wants to help out, feel free to push to my 1.17 branch, I've allowed edits by maintainers.

Did that with FIXMEs.

Any progress yet? I really want VanillaFix for 1.17 Fabric :p

So just checking on this... How is it going?

I mentioned in the Discord a couple times that I wasn't going to be working on this because I didn't know how to. Anyone else can feel free to work on this.


[META] Support local model in ML inference processor

We have released ML inference processor in 2.14 which only supports remote model. We are going to enhance it to support local model too.

Does this mean models deployed inside OpenSearch ml-common?

Does this mean models deployed inside OpenSearch ml-common?

Yes, it is going to be released with 2.15. Related PR: https://github.com/opensearch-project/ml-commons/pull/2508

Great! Now is it possible to deploy a small language model such as microsoft/Phi-3-mini-4k-instruct-onnx on OpenSearch and use this feature to do question answering inferencing within OpenSearch? If yes, then would you please share the steps?

@asfoorial , no, this feature is to support using current supported local models in ML inference processor. SLM is not a supported local model type. So you can't deploy it inside OpenSearch cluster. You can deploy it somewhere else and use connector to connect. One update in 2.15 is we support private IP setting https://github.com/opensearch-project/ml-commons/pull/2534


literature values sketchy?

or we're using them wrong?  numbers don't come out seeming reasonable

reasonableness vastly improved, but need to adjust for better agreement w/ exp data
try a model fit for the kKp eqn instead of using the literature-derived relationship


Logger for Pub/Sub

done with https://github.com/kota-yata/media-over-quic-experiment/commit/7e8030f34c056ffab3757d7dd6ba95eb2c117f2e


make unitfile independent of docker.service

This allows both docker and docker-latest to use novolume-plugin without any
changes in novolume-plugin's unitfile.
Instead docker and docker-latest's unitfiles will have a dependency on
docker-novolume-plugin like so:
After=docker-novolume-plugin.socket
Wants=docker-novolume-plugin.socket
Signed-off-by: Lokesh Mandvekar<EMAIL_ADDRESS>

@runcom @rhatdan ptal


Verdiccao4+ cannot write tags into my disk

Describe the bug

cannot write tags into my disk
To Reproduce

Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

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

Docker verdaccio tag: verdaccio latest
Docker commands :
docker pull verdaccio/verdaccio
docker run -itd --name verdaccio -p 4873:4873 -v /path/to/verdaccio:/verdaccio verdaccio/verdaccio
Docker Version : Docker Desktop

Configuration File (cat ~/.config/verdaccio/config.yaml)
#
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#

# path to a directory with all packages
storage: /verdaccio/storage

auth:
  htpasswd:
    file: /verdaccio/conf/htpasswd
    # Maximum amount of users allowed to register, defaults to "+infinity".
    # You can set this to -1 to disable registration.
    #max_users: 1000

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npm.taobao.org/
    #url: https://registry.npmjs.org/

packages:
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

# log settings
logs:
  - {type: stdout, format: pretty, level: http}
  #- {type: file, path: verdaccio.log, level: info}

I also use new config.yaml like this
#
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#

# path to a directory with all packages
storage: /verdaccio/storage/data
# path to a directory with plugins to include
plugins: /verdaccio/plugins

web:
  # WebUI is enabled as default, if you want disable it, just uncomment this line
  #enable: false
  title: Verdaccio
  # comment out to disable gravatar support
  # gravatar: false
  # by default packages are ordercer ascendant (asc|desc)
  # sort_packages: asc

auth:
  htpasswd:
    file: /verdaccio/storage/htpasswd
    # Maximum amount of users allowed to register, defaults to "+infinity".
    # You can set this to -1 to disable registration.
    # max_users: 1000

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/

packages:
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish/publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated
    unpublish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

middlewares:
  audit:
    enabled: true

# log settings
logs:
  - { type: stdout, format: pretty, level: http }
  #- {type: file, path: verdaccio.log, level: info}
#experiments:
#  # support for npm token command
#  token: false

but no tags into my disk

Environment information

Debugging output

$ NODE_DEBUG=request verdaccio display request calls (verdaccio <--> uplinks)
$ DEBUG=express:* verdaccio enable extreme verdaccio debug mode (verdaccio api)
$ npm -ddd prints:
$ npm config get registry prints:

Additional context

Fuck ！ I find the problem
it's npm issue
it will lost some packages


[Bugfix] Host full-neighbor sampling returns wrong results in unit test

This is to fix  https://github.com/rapidsai/wholegraph/issues/137. Meanwhile, it also enables the full-neighbor sampling tests.
(Without this fix, scenarios with max_sample_count=-1 would have assertion failures due to https://github.com/rapidsai/wholegraph/issues/137.

/ok to test

/merge


UWP Win 10 WinJS error

Using VS 2015 with Cordova Tools, Cordova 6.1.1:
When running UWP Win 10 version of blank app with hostedwebapp plugin installed, a WinJS error pops up:

Unhandled exception at line 9, column 9 in ms-appx://[REMOVED]/www/js/wrapper.js
0x800a1391 - JavaScript runtime error: 'WinJS' is undefined

Workaround:
I've wrapped the whole content of wrapper.js into a window.load =function() {  } block to make sure it's executed only when wapper.html has loaded.
Seems to do the trick.
Just wanted to make sure that this is a correct workaround.
Thanks!

Thanks for reaching out.  So i can see there being a problem if wrapper.js tries to execute on a cordova API before the api is loaded.  Generally we recommend that you utilize the Cordova "deviceready" event to start any js execution that might call a cordova API.  This when you know everything will be ready.  Does this help your situation?

Helllo!
This is happening with just pointing to a website that does not contain any cordova code. And the applicatoins index.html and index.js are both pretty much empty (but I don't think the plugimn would use that as the start url points to a local dev server serving a normal html page).
Where / When does wrapper.html get called?
Thanks

I've been able to repro this 100% by setting up new project and adding the plugin and running windows 10 UWP build via command line.
Every time the problem is fixed as soon as I wrap the content of wrapper.js around a window.onload = function() function


DAC Supported List Link not Working

Hey, I am searching a different issue that uses this block and realized that the supported list of DAC devices on the docs is not loading. I tried on a couple different devices and got the same result. I'll try to post the logs later when I get a chance. Thank you!
Here's the link to the docs: https://sound.balenalabs.io/docs/support/
And the direct link to the list: https://sound.balenalabs.io/docs/docs/audio-interfaces#dac-boards

See #448

Closing as it's a duplicate of #448


Aggregations only work with TopNSearch?

If I use bluge.NewAllMatches and add aggregations, no data is ever returned in the buckets.
This reproduces the failure in the test suite:
diff --git a/test/aggregations_test.go b/test/aggregations_test.go
index bddc664..41a3cdd 100644
--- a/test/aggregations_test.go
+++ b/test/aggregations_test.go
@@ -223,7 +223,7 @@ func aggregationsTests() []*RequestVerify {
        return []*RequestVerify{
                {
                        Comment: "category inventory, by type",
-                       Request: bluge.NewTopNSearch(0,
+                       Request: bluge.NewAllMatches(
                                bluge.NewTermQuery("inventory").
                                        SetField("category")),
                        Aggregations: search.Aggregations{

Is this expected behavior?

First, I have not reviewed the code, so possibly it is just broken.
But, I think the integration test was not written in a way that it works by seamlessly switching from TopN to All.  The reason is that when using the TopN search, as soon as the Search() method returns, the aggregations have already been calculated.  However, when using the All search, the aggregations are computed WHILE you call Next() on the DocumentMatchIterator.  Now, if the test had filled in the ExpectedMatches section, the test framework would have iterated through them, but the original test had size set to 0, so it didn't specify what the results were going to look like.  In summary, in order for this test to be valid after switching to NewAllMatches, we would have to populate the ExpectedResults section, and it would have to contain all the results (because we used All Matches).  Whether or not this test passes or fails at that point, I'm still not sure...

when using the All search, the aggregations are computed WHILE you call Next() on the DocumentMatchIterator.

Thanks, this explains why it appeared to not work in my app.
I changed the test to try and demonstrate the behavior I was seeing. I guess I got lucky the test didn't iterate either.
Some examples of aggregation would be helpful in the docs. I've been trying to piece it together from the test cases, but there's a lot of abstraction in the test suite.


Dictionary for observations codes

Coverage remained the same at 89.959% when pulling facd162c1e6462a08ecbb3c88ac3f73732210af9 on observations_dictionary into 203535d948fec347e3ea7852f63eae9220f06276 on develop.


Add Support for Schemaless Record

Currently the BigQueryRecordConverter throws an error when schemaless JSON data is consumed.
JsonConverter converts JSON to map before it arrives at the BigQuery connector. Therefore, instead of throwing null pointer error, the BigQueryRecordConverter should deal with schemaless data type by converting it to legitimate format.
Should also fix https://github.com/wepay/kafka-connect-bigquery/issues/174

This is the PR against #181 . As ConfluentInc has signed corporate CLA with WePay and @CodingParsley is currently not part of ConfluentInc hence raised separate PR. Please if we can merge same and close #181 .
@criccomini @mtagle

 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.

@mtagle Gentle reminder.


Switch multi property

What's your idea?

In the case of binding one queryParam one select box with two situations: multi selection & single selection, there are conflicts using one queryParam because of the mulit property only works on multi selection situation. Is it possible to make multi changeable?
 <p-multiSelect
         *ngIf="!isSingle()"
         queryParamName="sources"
         [formControl]="processingForm.controls['sources']"
         >
 </p-multiSelect>

 <p-dropdown
           *ngIf="isSingle()"
            queryParamName="sources"
             [options]="sources"
             [formControl]="processingForm.controls['sources']"
 >
 </p-dropdown>

    this.paramGroup = this.qpb.group({
        sources: this.qpb.param('sources', {
            multi: true,
            serialize: (value: Object): string => {
                return JSON.stringify(value);
            },
            deserialize: (value: string): Object => {
                return JSON.parse(value);
            }
        })
    });

Describe the solution you'd like

Add an api such as this.paramGroup.setProperty('sources', { multi: false})

Hi, thanks for opening this issue. Is the isSingle() decided once when the component loads, or can this change at any point in time?

Sorry for the late reply. It could be changed all the time.

It could be changed all the time.

I think that would make it awkward if you currently have a multi: true query param with a value of [1, 2] and now want to disable multi. ngqp couldn't know what you'd want to do with the value, and any strategy like "pick the first one" seems like a workaround.
However, can't you do something like this for your case?
private singleParam = this.qpb.param('p');
private multiParam = this.qpb.param('p', {multi: true});

private paramGroup = this.qpb.group({
    param: singleParam,
});

switchParam(multi: boolean) {
    const currentParam = this.paramGroup.get("param");
    this.paramGroup.remove("param");

    const newParam = multi ? this.multiParam : this.singleParam;
    // This probably requires a type assertion, I cannot actually try it out right now
    newParam.setValue(currentParam.value);
    this.paramGroup.add("param", newParam);
}

On a side note, ngqp doesn't usually work well in combination with template-driven or reactive forms (you're using both queryParamName and formControl).

Yea, it is a good idea to drop the old one and add a new one without multi property. I will try that out and hope it works. Thank you for your help!  Once you have tried it out please feel free to post back here whether it worked / what else was needed to make it work.
I'll close this issue for now given that solution and the fact that I don't think the original feature can be implemented in a nice way. We can certainly reconsider if the solution above doesn't work out.

I forgot to leave the feedback! The remove / add new control works, just need to find the correct time to do so.


Add increment to Changes collection

We probably can't use one of the existing mongoose plugins to auto-increment, since they aren't flexible enough for us, but we can do it on our own.

Add a collection that stores the current value of the counter.

Some examples can be found here and here (under "Creating a custom auto-increment")
The schema will be in packages/apollo-schemas/src
The schema will be imported and registered in packages/apollo-collaboration-server/src/changes/changes.module.ts

Add logic in packages/apollo-collaboration-server/src/changes/changes.service.ts before this.changeModel.create to add the correct sequence number to the changeEntry

The changes schema will have to be updated to have this field as well.
For now, this will involve doing a findOneAndUpdate or findAndModify to get and increment the sequence number from the new collection. Eventually this may be swapped out with e.g. a fetch to an API to get the sequence number.

This is now ready for review https://github.com/GMOD/Apollo3/pull/156


discrepancy when plotting vertex time course with pyvista backend

Describe the bug
The MNE time course looks different when plotting a vertex within the brain visualization GUI via the pyvista backend (top figure shown below) compared to manually plotting the vertex using SourceEstimate.data (bottom figure shown below).
Steps to reproduce
See https://gist.github.com/rythorpe/3c57fdb572bc17bb1f3e4bb70b3e1104 using the somato dataset. Selecting the exact vertex within the brain visualization window can be tricky (unless there is a more controlled way to to this through the API?).
Expected results
I expected the vertex time courses rendered in the GUI to match those plotted manually with matplotlib. Furthermore, I expected the vertex of maximal activity (blue trace shown below) to reflect the largest peak (compared to the orange trace) in the GUI.
Actual results
Note that the blue trace represents the time course of the right hemisphere vertex retrieved with SourceEstimate.get_peak() and that the vertex IDs are the same in each figure.

Thanks a lot @rythorpe for the bug report. It does looks like something funky is going on. @GuillaumeFavelier do you know where we should look in the code for this? @rythorpe mentioned to me that he would be up for doing a PR

Thanks a lot @rythorpe for the bug report. It does looks like something funky is going on. @GuillaumeFavelier do you know where we should look in the code for this? @rythorpe mentioned to me that he would be up for doing a PR

Do you still have this problem with smoothing_steps='nearest'? The time course plotted is for the smoothed data.

Do you still have this problem with smoothing_steps='nearest'? The time course plotted is for the smoothed data.

Do you still have this problem with smoothing_steps='nearest'? The time course plotted is for the smoothed data.

That appears to do the trick (see plot below)! What is the motivation behind plotting the time course for smoothed data by default? Unless there is a strong use case for reducing high-frequency noise in the inverse solution, I feel like this can give a misleading first-impression of relative vertex time courses.

Do you still have this problem with smoothing_steps='nearest'? The time course plotted is for the smoothed data.

That appears to do the trick (see plot below)! What is the motivation behind plotting the time course for smoothed data by default? Unless there is a strong use case for reducing high-frequency noise in the inverse solution, I feel like this can give a misleading first-impression of relative vertex time courses.

Furthermore, I expected the vertex of maximal activity (blue trace shown below) to reflect the largest peak (compared to the orange trace) in the GUI.

Wasn't this also an issue? Is this also fixed by changing the smoothing steps?

Furthermore, I expected the vertex of maximal activity (blue trace shown below) to reflect the largest peak (compared to the orange trace) in the GUI.

Wasn't this also an issue? Is this also fixed by changing the smoothing steps?

What is the motivation behind plotting the time course for smoothed data by default?

The source space is a decimated surface, so to get a proper visualization you need to smooth the result. You could also plot directly on the source space but since it's so decimated it will look very weird

What is the motivation behind plotting the time course for smoothed data by default?

The source space is a decimated surface, so to get a proper visualization you need to smooth the result. You could also plot directly on the source space but since it's so decimated it will look very weird

Furthermore, I expected the vertex of maximal activity (blue trace shown below) to reflect the largest peak (compared to the orange trace) in the GUI.

Wasn't this also an issue? Is this also fixed by changing the smoothing steps?

This is fixed by using smoothing_steps='nearest'. Note in the figure attached to my previous comment that the peak at t=0.041 sec in the blue trace is now greater in magnitude than in the orange trace.

Furthermore, I expected the vertex of maximal activity (blue trace shown below) to reflect the largest peak (compared to the orange trace) in the GUI.

Wasn't this also an issue? Is this also fixed by changing the smoothing steps?

This is fixed by using smoothing_steps='nearest'. Note in the figure attached to my previous comment that the peak at t=0.041 sec in the blue trace is now greater in magnitude than in the orange trace.

okay feel free to close issue then.

okay feel free to close issue then.

Thanks for the help @larsoner and @jasmainak!

Thanks for the help @larsoner and @jasmainak!


Use setupTestdata and force_login tests

Codecov Report

Merging #227 (f8ed8c2) into master (bbbec2b) will not change coverage.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##           master     #227   +/-   ##
=======================================
  Coverage   89.24%   89.24%
=======================================
  Files          27       27
  Lines        2129     2129
=======================================
  Hits         1900     1900
  Misses        229      229

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 bbbec2b...e2132b4. Read the comment docs.


[New Arch][iOS] Invisible TimePicker

Hi there !
Just reporting an issue I've stumbled upon when playing around with this library.
On iOS, when the new arch is enabled, if you press the time, it's initially invisible, and you'll have to touch it once to make it visible.
(see attachment below)
Disabling the new arch "fixes" the issue, but obviously it's not really a fix.
https://github.com/user-attachments/assets/98fc412e-4ef5-4a18-b5dd-4aa3373e93f4

Same for me

The same here


Bump pubspec dependencies

Bumping the dependencies across the board to ensure they are all up to date.

Looks good to me!


Externalize code generator

See https://github.com/FlowingCode/FontAwesomeIronIconset/issues/7

Back to triage per https://github.com/FlowingCode/FontAwesomeIronIconset/issues/7#issuecomment-1071039020

Closed as wontfix


Sidechain cbfix

Some of the updates are following:
1)Made the codec classes consistent with the order of channels
2)Added CB atom addition prior to voxelisation begins
3)Added random side_chain keeping, and cofactor information feeding (I think this will need further improvement though)
4)Changed the config file slightly to take into account the extra channels that the side-chain codec implements.

Hi @sunal1996
Did you try running the tests? It seems like they fail:
==================================== ERRORS ====================================
_____________ ERROR collecting tests/test_create_frame_data_set.py _____________
/usr/local/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
    mod = import_path(self.fspath, mode=importmode)
/usr/local/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
    importlib.import_module(module_name)
/usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
/usr/local/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
    exec(co, module.__dict__)
tests/test_create_frame_data_set.py:10: in <module>
    import aposteriori.data_prep.create_frame_data_set as cfds
src/aposteriori/__init__.py:1: in <module>
    from .data_prep.create_frame_data_set import make_frame_dataset
E     File "/code/src/aposteriori/data_prep/create_frame_data_set.py", line 695
E       )
E       ^
E   SyntaxError: unmatched ')'
=========================== short test summary info ============================
ERROR tests/test_create_frame_data_set.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!


Learner Addition

Enter Details Below !
Github Username :- manognyaa
Your Name :- Manognya Dasika
Thanks !!!

hello sir, please assign me this issue, really excited @rohan-kulkarni-25 sir.


Android: Incomplete gamepad support

Connecting a gamepad allows you to control the Liko-12 D-Pad with the gamepad's D-Pad and left joystick, but none of the gamepad's buttons connect to the three Liko-12 buttons. Tested with a wired PS3 controller and a Bluetooth 8bitdo gamepad with identical results.

Could a remapping program be added to DiskOS in order to let the user configure his joystick to their needs?

Oh, yeah, forgot to ask, Did you try to execute the joymap command in the first place ??????????


affected/package: cmd/compile

What version of Go are you using (go version)?

$ go version
go version go1.18.1 windows/amd64

Does this issue reproduce with the latest release?
yes, and older versions too.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\ddaa\AppData\Local\go-build
set GOENV=C:\Users\ddaa\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\ddaa\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\ddaa\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.18.1
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\programing\go\bugReview\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\ddaa\AppData\Local\Temp\go-build2565525896=/tmp/go-build -gno-rec
ord-gcc-switches

What did you do?
https://go.dev/play/p/B174Ew_9WL8

What did you expect to see?
The compiler should treat switch on nameless struct constant expression and named struct type constant equally, or the documentation should explain that using named type constant is not allowed.
What did you see instead?
The program caused a compilation error while It seems that I am unable to find rules in the language specification saying this is not allowed.

there are syntax errors and parsing ambiguities in your code https://go.dev/play/p/hcprB6e912_w
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions