jira-feature-collector -- Error

2016-08-31 14:45:00,013 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-08-31 14:45:00,014 INFO  c.c.d.collector.CollectorTask - https://MYJIRA.com/
2016-08-31 14:45:00,014 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-08-31 14:45:00,601 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(403), errorCollections=[]}

#Jira Connection Details

feature.jiraBaseUrl=https://MYJIRA.com/
feature.jiraQueryEndpoint=secure/RapidBoard.jspa?rapidView=491&view=planning&selectedIssue=TST-137&versions=visible
feature.jiraCredentials=XXXXXXXXXXWWWWWWWW=

#OAuth2.0 token credentials (currently not supported in this version)
feature.jiraOauthAuthtoken=
feature.jiraOauthRefreshtoken=
feature.jiraOauthRedirecturi=
feature.jiraOauthExpiretime=

feature.deltaCollectorItemStartDate=2016-06-01T00:00:00.000000
feature.deltaStartDate=2016-06-01T00:00:00.000000
feature.masterStartDate=2016-06-01T00:00:00.000000

#feature.jiraIssueTypeId=Story
#feature.jiraSprintDataFieldName=customfield_10017
#feature.jiraEpicIdFieldName=customfield_10018

#In-built folder housing prepared REST queries (required)
feature.queryFolder=jiraapi-queries

#Jira API Query file names (String template requires the files to have .st extension) (required)
feature.storyQuery=story
feature.epicQuery=epic
feature.projectQuery=projectinfo
feature.memberQuery=memberinfo
feature.sprintQuery=sprintinfo
feature.teamQuery=teaminfo
feature.trendingQuery=trendinginfo

feature.todoStatuses[0]=To Do
feature.doingStatuses[0]=In Progress
feature.doneStatuses[0]=Done
#[{...name:"In Progress"...},{... name: "Done" ...},{... name: "To Do" ...}]

@tabladrum Looking for your help
@c-sreenivasulareddy @amitmawkin
Thanks in Advance!

403 is forbidden. It could be that the user you are using does not have access to the rest API. I've also seen this returned when the CAPTCHA response is triggered. If that is the case log out and back in in a browser.

Via web browser my credentials works fine on JIRA portal

make sure the base64 credentials you created are correct and do not have a newline.
echo -n user:password | base64

Thanks Now I'm able to see it connects to JIRA issues resolved fixing redo base64 encryption
but it displays as KANBAN how to change it to Sprint ?

See #678
By default it is treating stories that do not have sprints associated to them (thus in the backlog) as being in a KANBAN sprint.

How to change this to Sprint details on Hygieia end

Nothings displays under FEATURES IN PROGRESS also.
How to change it to Sprint like below shown o/p.

Need your help @amp5208 @MarkRx

You mustn't have sprints setup in jira or properly configured in your config file.
In your file you mentioned these shouldn't be commented out:

#feature.jiraIssueTypeId=Story
#feature.jiraSprintDataFieldName=customfield_10017
#feature.jiraEpicIdFieldName=customfield_10018

You also need
feature.jiraStoryPointsFieldName
Ensure those fields are properly set.

#feature.jiraSprintDataFieldName= Where/How to find these values in JIRA. Need your help @amp5208 @MarkRx
#feature.jiraEpicIdFieldName=
You also need
feature.jiraStoryPointsFieldName

fields are documented here:
https://github.com/capitalone/Hygieia/blob/master/collectors/feature/jira/README.md

Still Values are Zero any idea?

@MarkRx
app.prop
feature.pageSize=50
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.projectQuery=projectinfo
feature.memberQuery=memberinfo
feature.sprintQuery=sprintinfo
feature.teamQuery=teaminfo
feature.trendingQuery=trendinginfo
#feature.jiraProxyUrl=
#feature.jiraProxyPort=
######################
feature.sprintDays=60
feature.sprintEndPrior=7
######################
feature.scheduledPriorMin=2
feature.deltaCollectorItemStartDate=2016-06-01T00:00:00.000000
spring.data.mongodb.database=dashboard
spring.data.mongodb.host=<IP_ADDRESS>
spring.data.mongodb.port=27017
spring.data.mongodb.username=db
spring.data.mongodb.password=dbpass
feature.jiraBaseUrl=http://myjira.com:8080/
feature.jiraCredentials=ZGV2r3BzXXXXdm9w0w==
feature.jiraOauthAuthtoken=
feature.jiraOauthRefreshtoken=
feature.jiraOauthRedirecturi=
feature.jiraOauthExpiretime=
feature.jiraIssueTypeId=Story
feature.jiraSprintDataFieldName=customfield_10000
feature.jiraEpicIdFieldName=customfield_10001
feature.cron=0 * * * * *
feature.deltaStartDate=2016-06-01T00:00:00.000000
feature.masterStartDate=2016-06-01T00:00:00.000000
feature.todoStatuses[0]=Open
feature.todoStatuses[1]=Groom
feature.todoStatuses[2]=Selected for Development
feature.todoStatuses[3]=Backlog
feature.todoStatuses[4]=Grooming
feature.todoStatuses[5]=ToDo
feature.todoStatuses[6]=To Do
feature.todoStatuses[6]=Backlog1
feature.doingStatuses[0]=Validation
feature.doingStatuses[1]=Test
feature.doingStatuses[2]=In Process
feature.doingStatuses[3]=In Progress
feature.doingStatuses[4]=Awaiting Approval - 2
feature.doingStatuses[5]=Change Request - 2
feature.doneStatuses[0]=Awaiting Approval
feature.doneStatuses[1]=Done
feature.doneStatuses[2]=Resolved
@amp5208 looking for your help

@MarkRx
I also don't have Jira working:
My properties is:
dashboard.properties
dashboard.properties
dbhost=localhost
dbport=27017
dbname=dashboard
dbusername=dashboard
dbpassword=dashboard
server.port: ${PORT:0}
#Collector schedule (required)
feature.cron=0 0/10 * * * *
#Page size for data calls (Jira maxes at 1000)
feature.pageSize=50
#In-built folder housing prepared REST queries (required)
feature.queryFolder=jiraapi-queries
#Jira API Query file names (String template requires the files to have .st extension) (required)
feature.storyQuery=story
feature.epicQuery=epic
feature.projectQuery=projectinfo
feature.memberQuery=memberinfo
feature.sprintQuery=sprintinfo
feature.teamQuery=teaminfo
feature.trendingQuery=trendinginfo
#Jira Connection Details
feature.jiraProxyUrl=
feature.jiraProxyPort=
Trending Query:  Number of days in a sprint (not-required)
feature.sprintDays=30
Trending Query:  Length of sprint week (not-required)
feature.sprintEndPrior=7
#Scheduled Job prior minutes to recover data created during execution time (usually, 2 minutes is enough)
feature.scheduledPriorMin=2
#Delta change date that modulates the collector item task - should be about as far back as possible, in ISO format (required)
feature.deltaCollectorItemStartDate=2016-08-01T00:00:00.000000
#Jira Connection Details
feature.jiraBaseUrl=https://onejira.verizon.com/
#feature.jiraBaseUrl=https://onejira.verizon.com/
feature.jiraQueryEndpoint=rest/api/2/
#64-bit encoded credentials with the pattern username:password
#Convert above username:password into e64 bit string
#Mandatory
feature.jiraCredentials=Z29tbWEzNToxMjNxd2UpKWd0

#OAuth2.0 token credentials (currently not supported in this version)
#feature.jiraOauthAuthtoken=
#feature.jiraOauthRefreshtoken=
#feature.jiraOauthRedirecturi=
#feature.jiraOauthExpiretime=
#Mandatory
In Jira, this is your project or team
feature.jiraProjectId=VGROE
In Jira, general IssueType IDs are associated to various "issue"
attributes. However, there is one attribute which this collector's
queries rely on that change between different instantiations of Jira.
Please provide a numerical ID reference to your instance's IssueType for
the lowest level of Issues (e.g., "user story") specific to your Jira
instance.  Note:  You can retrieve your instance's IssueType ID
listings via the following URI:  https://[your-jira-domain-name]/rest/api/2/issuetype/
feature.jiraIssueTypeId=10001
In Jira, your instance will have its own custom field created for "sprint" or "timebox" details,
which includes a list of information.  This field allows you to specify that data field for your
instance of Jira. Note: You can retrieve your instance's sprint data field name
via the following URI, and look for a package name com.atlassian.greenhopper.service.sprint.Sprint;
your custom field name describes the values in this field:
https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
feature.jiraSprintDataFieldName=customfield_10005
In Jira, your instance will have its own custom field created for "super story" or "epic" back-end ID,
which includes a list of information.  This field allows you to specify that data field for your instance
of Jira.  Note:  You can retrieve your instance's epic ID field name via the following URI where your
queried user story issue has a super issue (e.g., epic) tied to it; your custom field name describes the
epic value you expect to see, and is the only field that does this for a given issue:
https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
feature.jiraEpicIdFieldName=customfield_10006
#Start dates from which to begin collector data, if no other data is present - usually, a month back is appropriate (required)
feature.deltaStartDate=2016-08-01T00:00:00.000000
feature.masterStartDate=2016-08-01T00:00:00.000000
logging.level.com.atlassian.jira=INFO
logging.level.com.capitalone.dashboard=DEBUG
logging.level.com.capitalone.dashboard.collector=DEBUG
feature.todoStatuses[0]=ToDo
feature.doingStatuses[0]=In Progress
feature.doneStatuses[0]=Done
feature.jiraStoryPointsFieldName=customfield_10002
My error printed is:
2016-10-16 17:20:00,028 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-10-16 17:20:00,041 DEBUG c.c.d.client.team.TeamDataClientImpl - Constructing data collection for the feature widget, team-level data...
2016-10-16 17:20:50,436 DEBUG c.c.d.client.team.TeamDataClientImpl - Size of paged Jira response: 1108
2016-10-16 17:20:57,253 INFO  c.c.d.collector.CollectorTask - Team Data            1108       57s
2016-10-16 17:20:57,258 DEBUG c.c.d.c.p.ProjectDataClientImpl - Constructing data collection for the feature widget, project-level data...
2016-10-16 17:21:56,479 DEBUG c.c.d.c.p.ProjectDataClientImpl - Size of paged Jira response: 1108
2016-10-16 17:21:59,183 INFO  c.c.d.collector.CollectorTask - Project Data         1108       61s
2016-10-16 17:21:59,196 DEBUG c.c.d.c.story.StoryDataClientImpl - Constructing data collection for the feature widget, story-level data...
2016-10-16 17:22:08,616 DEBUG c.c.d.c.story.StoryDataClientImpl - Obtaining story information starting at index 0...
2016-10-16 17:23:39,705 ERROR o.a.h.n.p.HttpAsyncRequestExecutor - http-outgoing-3 [CLOSED] HTTP protocol exception: null
java.nio.channels.ClosedChannelException: null
at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:257) ~[na:1.8.0_101]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:300) ~[na:1.8.0_101]
at org.apache.http.nio.reactor.ssl.SSLIOSession.receiveEncryptedData(SSLIOSession.java:340) ~[httpcore-nio-4.2.2.jar:4.2.2]
at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:366) ~[httpcore-nio-4.2.2.jar:4.2.2]
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118) ~[httpcore-nio-4.2.2.jar:4.2.2]
at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:220) [httpcore-nio-4.2.2.jar:4.2.2]
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:284) [httpcore-nio-4.2.2.jar:4.2.2]
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) [httpcore-nio-4.2.2.jar:4.2.2]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604) [httpcore-nio-4.2.2.jar:4.2.2]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]

In case this help, now I have my Jira working.
This is my properties:
`
dbhost=localhost
dbport=27017
dbname=vzrealtime1
dbusername=vzrealtime1
dbpassword=vzrealtime1
server.port: ${PORT:0}
feature.cron=0 0/10 * * * *
feature.pageSize=25
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.projectQuery=projectinfo
feature.memberQuery=memberinfo
feature.sprintQuery=sprintinfo
feature.teamQuery=teaminfo
feature.trendingQuery=trendinginfo
feature.jiraProxyUrl=
feature.jiraProxyPort=
feature.sprintDays=30
feature.sprintEndPrior=7
feature.scheduledPriorMin=2
feature.deltaCollectorItemStartDate=2016-08-01T00:00:00.000000
feature.jiraBaseUrl=https://myjira.company.com/
feature.jiraQueryEndpoint=rest/api/2/
feature.jiraCredentials=myencodeduser:passto64bits
feature.jiraProjectId=11306
feature.jiraIssueTypeId=Story
feature.jiraSprintDataFieldName=customfield_10005
feature.jiraEpicIdFieldName=customfield_10006
feature.deltaStartDate=2016-08-01T00:00:00.000000
feature.masterStartDate=2016-08-01T00:00:00.000000
logging.level.com.atlassian.jira=INFO
logging.level.com.capitalone.dashboard=DEBUG
logging.level.com.capitalone.dashboard.collector=DEBUG
feature.todoStatuses[0]=ToDo
feature.doingStatuses[0]=In Progress
feature.doneStatuses[0]=Done
feature.jiraStoryPointsFieldName=customfield_10002
`

resolved thanks!

Im getting below issue, their is no CAPTHA Isuue
Query : key in (0.0,1.0,13.0,2.0,3.0,4.0,5.0,20.0,8.0) 2017-05-09 13:14:08,020 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={}, errorMessages=[The issue key '0.0' for field 'key' is invalid., The issue key '1.0' for field 'key' is invalid., The issue key '13.0' for field 'key' is invalid., The issue key '2.0' for field 'key' is invalid., The issue key '20.0' for field 'key' is invalid., The issue key '3.0' for field 'key' is invalid., The issue key '4.0' for field 'key' is invalid., The issue key '5.0' for field 'key' is invalid., The issue key '8.0' for field 'key' is invalid.]}]} RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={}, errorMessages=[The issue key '0.0' for field 'key' is invalid., The issue key '1.0' for field 'key' is invalid., The issue key '13.0' for field 'key' is invalid., The issue key '2.0' for field 'key' is invalid., The issue key '20.0' for field 'key' is invalid., The issue key '3.0' for field 'key' is invalid., The issue key '4.0' for field 'key' is invalid., The issue key '5.0' for field 'key' is invalid., The issue key '8.0' for field 'key' is invalid.]}]} 	at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47) 	at com.capitalone.dashboard.client.DefaultJiraClient.getEpics(DefaultJiraClient.java:294) 	at com.capitalone.dashboard.client.story.StoryDataClientImpl.loadEpicData(StoryDataClientImpl.java:652) 	at com.capitalone.dashboard.client.story.StoryDataClientImpl.updateMongoInfo(StoryDataClientImpl.java:260) 	at com.capitalone.dashboard.client.story.StoryDataClientImpl.updateStoryInformation(StoryDataClientImpl.java:167) 	at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:125) 	at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:1) 	at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) 	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) 	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 	at java.util.concurrent.FutureTask.run(Unknown Source) 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 	at java.lang.Thread.run(Unknown Source)


Add support for custom root element

Fixes #49

@ghengeveld / @thafryer  Can you review please?

This PR needs some love 😀
cc @ghengeveld @thafryer

rebased from latest changes of remote

This is awesome. Sorry it took so long to get to it. I've tweaked the types and code a little bit to fix a state synchronization issue, but other than that this is great. Nice work 👍

Thanks @ghengeveld ! 🙏🤓


cleanup composer.json

get rid of unnecessary namespace entries
create a branch-alias

ping

is this thing dead?

pipedrive itself is operating, we are still a happy customer. but it looks like not much attention to their php integration :-(

@lunetics @dbu Sorry guys, I worked on this thing in between jobs and I haven't had much time since..


Different services on the same proxy host

Hello, I am trying to set up the nginx proxy manager but cannot seem to figure this out after reading the FAQs and several other issues.
I am trying to accomplish this:
home.mydomain.com --> index.local (webserver)
home.mydomain.com/nas --> synology.local:5000 (synology NAS)
home.mydomain.com/nvr --> nvr.local:443 (security camera recorder)
… and so on
I have tried specifying both the IP addresses and hostnames in the custom locations. I know this is possible with nginx as I had this set up by manually adding conf files in the /sites-available directory. What am I missing here?

Hi
(As far a I know)
This should work but is dependent on the application you are trying to do this with. This is because paths are also visible for the underlying hosts.
For example if I use home.example.com/files --> www.filemanager.local
the filemanager will try to open in the path /files. You should see this in the console if this is the case since a lot of resources would fail to load.
Maybe a solution (that I use) if you have full control of the domain. Use subdomains:
home.mydomain.com --> index.local (webserver)
nas.home.mydomain.com --> synology.local:5000 (synology NAS)
nvr.home.mydomain.com --> nvr.local:443 (security camera recorder)

The thing is; I have DDNS set up; and it's wildly inconvenient to set up all these subdomains over and over; back to Ajenti, then!
Perhaps this could be a feature request? To change the behavior for specific proxy-hosts using a toggle or something like that...?
On an unrelated note; do you happen to know if I could achieve similar behavior via the custom config? I wasn't able to find much relevant documentation; standard nginx conf didn't do it for me.
Would be happy to write up documentation/blog post detailing the instructions.

I actually do this, along with subdomains as well. Using IP/DNS should work as long as they are resolvable from within the container (i.e. if your network dns can lookup .local, not just your shell login, as usually .local is handled by a locally run mdns resolver which I dont think docker containers can use by default without a local resolver in the container).
If the target app is "smart" you should be fine. But some apps assume they are a root, or are not possible to configure as a sub, so in those cases you have to add a / after the hostname or IP. This will setup proxy pass to rewrite a request to /nas/ as http://synology.local:5000/, however this can have problems as well if the target app has directs or builds non-relative urls. The workaround for that also depends on the target app. Some will allow custom headers to be passed to tell them the appropriate url, such as SCRIPT_NAME, or config entries in the app.
Unfortunately this is when the proxy manager is hit or miss, but not because of the proxy app, but because of the many possibilities that could be.


Optimizing chain initialization

How fast can we download the blockchain to a node?  (non-producing node?, producing node?)

Dan would like the download of the blockchain to be similar to when you connect to steamit.
Want to measure download from disk vs download from memory.
Do we need a specific daemon to manage that capability?

It should be in a separate plug-in, listening on a separate port and running in a separate thread, or thread-per-connection. This could be integrated with the existing nodeos or in a separate process.
If it were within the same process, the p2p listen socket could be used, but it would delegate servicing to the new plugin, and get the socket back after the transfer is complete.
We could use zlib for streaming compression. A simple protocol would be to indicate how many blocks the client should expect, or if a maximum number of connections is reached reject the client request and have it failover to another server. If no server is able to provide the fast download, the client falls back to the current block request strategy.

Downloading the chain should involve the following assumptions:

You are connecting to a trusted peer
You are only connecting to one peer
You may have some existing blocks downloaded
You don't know how many blocks need to be fetched

After downloading the blocks the blockchain should "replay" from last head block.

in theory it could be replaying while downloading
in practice downloading should be 100x faster than replaying
therefore the maximum gain from replaying while downloading should be small

I would add this "fast-sync" as a separate plugin from the existing P2P code.
Fast-sync should be able to hand-off to the P2P code when it is complete.

Hope the fast-sync will be released soon

@wanderingbort @heifner This seems like we have either decided on different options for faster sync or that it will likely be very different than this write-up.  If I don't hear anything from you I will mark as OBE and close.

OBE (Overcome By Events)


Problem during installation: The repository is not signed

Compatible Device

[X] I'm running Raspotify on a compatible Device

Are you sure?

[X] I'm not trying to run Raspotify on a ARMv6 device

Compatible OS

[X] I'm running Raspotify on a compatible OS

Compatible Configuration

[X] I'm running Raspotify on a compatible Configuration

Latest Version

[X] I'm running the latest version of Raspotify

Are you sure?

[X] I'm not running Raspotify <IP_ADDRESS> on a Pi v1 or Pi Zero

Due Diligence

[X] I have done my due diligence

What happened?
Hi, I try install dtcooper/raspotify on fresh installation of Debian 11 on RPi2.
When I execute this script, I see output like this:
hal9000@raspberrypi:~ $ sudo apt-get -y install curl && curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.74.0-1.3+deb11u7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Get:2 https://dtcooper.github.io/raspotify raspotify InRelease [3,143 B]
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Err:2 https://dtcooper.github.io/raspotify raspotify InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXX
Reading package lists... Done
W: GPG error: https://dtcooper.github.io/raspotify raspotify InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 09146F2F7953A455
E: The repository 'https://dtcooper.github.io/raspotify raspotify InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Maybe I forgot about something?
Why I see:
W: GPG error: https://dtcooper.github.io/raspotify raspotify InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 09146F2F7953A455
E: The repository 'https://dtcooper.github.io/raspotify raspotify InRelease' is not signed.

Should I do it in less secure way?
Relevant log output and/or the contents of /etc/raspotify/crash_report if any ( sudo journalctl -u raspotify -b and sudo cat /etc/raspotify/crash_report )
cd: /etc/raspotify/: No such file or directory

For some strange reason the key wasn't downloaded in the install process from the looks of things?
It should be at /usr/share/keyrings/raspotify_key.asc.
If it's not there you should be able to fix the issue with:
curl -sSL https://dtcooper.github.io/raspotify/key.asc | sudo tee /usr/share/keyrings/raspotify_key.asc >/dev/null

sudo chmod 644 /usr/share/keyrings/raspotify_key.asc

Sucessfully add key using Your commands:
curl -sSL https://dtcooper.github.io/raspotify/key.asc | sudo tee /usr/share/keyrings/raspotify_key.asc >/dev/null
sudo chmod 644 /usr/share/keyrings/raspotify_key.asc

But still same problem :/
hal9000@raspberrypi:~ $ sudo chmod 644 /usr/share/keyrings/raspotify_key.asc
hal9000@raspberrypi:~ $ sudo apt-get -y install curl && curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.74.0-1.3+deb11u7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Get:3 https://dtcooper.github.io/raspotify raspotify InRelease [3,143 B]
Err:3 https://dtcooper.github.io/raspotify raspotify InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 09146F2F7953A455
Reading package lists... Done
W: GPG error: https://dtcooper.github.io/raspotify raspotify InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 09146F2F7953A455
E: The repository 'https://dtcooper.github.io/raspotify raspotify InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
hal9000@raspberrypi:~ $

hmmm, after reading a lot of threads on StackOverflow, I found solution, but I don't know it is safety option or not.
If You want avoid this problem, execute:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 09146F2F7953A455

before:
sudo apt-get -y install curl && curl -sL https://dtcooper.github.io/raspotify/install.sh | sh

Spotify working, so for me everything is ok. What do You mean @JasonLG1979 , should we close this issue?
And of course, thank You for rapid response to question! ;)

I'm not sure why it happens but I've used Debian based OS's almost exclusively for over 15 yrs and I can count on 1 hand how many times I've had key issues. I'd call it a fluke. 99.999% of the time there should be no reason to explicitly/manually trust the key, but as far as I can tell it's safe to do so, so long as you trust where the key comes from.
This really isn't a Raspotify bug. We're doing everything right. It's just that for some reason unknown (to me at least) something went sideways. You just happened to be that 0.001%.
It's good info to have though so if anyone else has the same issue I can point them to this bug report.


Pyqt6 shat the bed.

Traceback (most recent call last):
File "/Users/duskfall/Downloads/beetlejuice.py", line 35, in summon_beetlejuice
self.show_beetlejuice_face()
File "/Users/duskfall/Downloads/beetlejuice.py", line 46, in show_beetlejuice_face
label.setPixmap(pixmap.scaled(512, 512, aspectRatioMode='KeepAspectRatio'))
TypeError: arguments did not match any overloaded call:
scaled(self, width: int, height: int, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 'aspectRatioMode' has unexpected type 'str'
scaled(self, size: QSize, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'int'
zsh: abort      python beetlejuice.py

Closing this because we just stuck with Tkinkter for now, i'll make a new branch if i go back to Pyqt6.


typo: Double word "clustered"

@nschonni : Thanks for your contribution! The author, @CarlRabeler, has been notified to review your proposed change.

Hi @nschonni, thanks for catching another double typo :) #sign-off

@MashaMSFT: I'm sorry - only the author of this article, @CarlRabeler, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Oxidize TwoQubitDecomposeUpToDiagonal

Summary
This commit ports the TwoQubitDecomposeUpToDiagonal class from Python to rust. This internal private class is used internally by the quantum shannon decomposition code, and while not performance critical was simple to port. One difference is while the original Python implementation was a class, it acted more like a function in practice. So the new rust version is exposed as a function.
Details and comments
TODO:

[x] Generate circuit rust side after #12459 merges

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

213 of 224 (95.09%)  changed or added relevant lines in 2 files are covered.
18 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 89.593%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/two_qubit_decompose.rs
207
218
94.95%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
6
92.62%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
62661

Relevant Lines:
69940

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

228 of 239 (95.4%)  changed or added relevant lines in 2 files are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.04%) to 89.749%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/two_qubit_decompose.rs
224
235
95.32%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
94.02%

crates/qasm2/src/lex.rs
2
92.88%

crates/qasm2/src/parse.rs
6
97.61%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
63527

Relevant Lines:
70783

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

228 of 239 (95.4%)  changed or added relevant lines in 2 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 89.782%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/two_qubit_decompose.rs
224
235
95.32%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
6
93.13%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
63914

Relevant Lines:
71188

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

228 of 239 (95.4%)  changed or added relevant lines in 2 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.004%) to 89.764%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/two_qubit_decompose.rs
224
235
95.32%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
6
92.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
63901

Relevant Lines:
71188

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

225 of 236 (95.34%)  changed or added relevant lines in 2 files are covered.
136 unchanged lines in 9 files lost coverage.
Overall coverage decreased (-0.004%) to 89.927%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/two_qubit_decompose.rs
221
232
95.26%

Files with Coverage Reduction
New Missed Lines
%

qiskit/transpiler/passes/layout/sabre_pre_layout.py
1
98.88%

qiskit/transpiler/passes/routing/commuting_2q_gate_routing/commuting_2q_gate_router.py
1
99.12%

qiskit/transpiler/passes/scheduling/alap.py
2
96.72%

qiskit/transpiler/passes/scheduling/asap.py
2
96.92%

crates/qasm2/src/lex.rs
4
92.11%

qiskit/transpiler/passes/routing/layout_transformation.py
4
78.72%

qiskit/transpiler/instruction_durations.py
6
90.98%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
27
88.35%

qiskit/circuit/quantumcircuit.py
89
93.97%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.004%

Covered Lines:
65977

Relevant Lines:
73367

💛  - Coveralls


Add a plugin for scaleway

Scaleway is one of the cheapest cloud vendors, so I think it’s worth adding support for it, at least for testing.

Good idea, there is an API and GO SDK (https://github.com/scaleway/scaleway-cli/tree/master/pkg/api) already so implementing a PoC shouldn't be too difficult.

Hey any updates on this?
Would be glad to help if there's some existing work in progress since I don't have that much experience with go.

@askz Apologies for the delay, I'll set a reminder to address this next week when I'm back at my desk.

@thebsdbox did you start yet? If not I'll be happy to start working on it. Also scaleway released their go API separated from scaleway-cli. I already started to work on implementing scaleway provider for linuxkit, so I'm kind of used to their API :)

@Sh4d1 I've seen your linuxkit work !
Sure, I'm in both community channels if you want to catch up about it.


Screen session resize without reconnect

Hello. I use XRDP (v. 0.9.4) + XORGXRDP (v. 0.2.5) with KDE as DE.
It is possible to resize session without  reconnect as it works in windows ?

Not implemented yet. Suggessted in #448.

Duplicate of #448.


css fix

It looks like this change was just rearranging the CSS rules in the files, but no real style changes.
If the previous website displayed the way you expect, I think this PR is good to merge.


PromiseKit is not compatible with Swift 3.0

Compiling with Xcode 8 beta 1 triggers 76 issues. It would be great to have a swift-3.0 branch that we could clone.

Our 4.0.0-beta branches are Swift 3.0 compatable.

@nathanhosselton Oh cool, thanks for the tip! Closing


i18n

Please integrate a translation service like Weblate, Crowdwin, Transifex, Localise.com etc.
That will simplify translation significantly.
The Weblate and Crowdwin also allows to translate the fastlane app metadata which is also important.
Meanwhile here I added one translation. I wasn't able to translate all the units but even in this form it should be usable.
Thank you for the app!

@yurtpage Thanks for the translation,  I will be merging it into a new branch shortly.
I will also look into one of the services you mentioned to easily integrate translations. But currently, I have given my monitor for service so maybe I will only look into it afterwards.
Anyway thanks :)


metal vlan returns facilities not metros

Related to this metal vlan command, facilities are returned per VLAN but not metros. 🐛

Originally posted by @displague in https://github.com/equinix/metal-cli/issues/277#issuecomment-1585297439

This may be the case in other places where "[fF]acilities" is mentioned

/assign @aayushrangwala

bumping this back to visibility regarding facility deprecation @displague

This was fixed in #315, which initially went out in v0.17.0


Update django to 4.2.0, update python to 3.11

This PR updates python and django.
When CSRF_TRUSTED_ORIGINS is present, all backend tests are now succesfull, but I suggest we test this update thoroughly.
I ran all the experiments on my machine and everything seems to be working fine.
Updated:

Python => 3.11
Django => 4.2

This needs to be added to the environment variables:

CSRF_TRUSTED_ORIGINS=http://localhost:3000 # needs to be changed when running in production

See: Django documentation
Deprecated functions

django.utils.translation.ugettext_lazy

This is used by Django inline actions which hasn't been updated since 2021.
Fixed by: putting django.utils.translation.ugettext_lazy = gettext_lazy in base_settings.py
Behaviour changes
When creating a new playlist and selecting a csv file, the csv was always processed even though process_csv was not selected
Fixed by: Only reading the csv file to the Playlist.csv field when process_csv is selected.
Syntax changes

random.sample Changed in python 3.11: The population must be a sequence. Automatic conversion of sets to lists is no longer supported.

Fixed by converting the output to a list. old_songs = random.sample(list(old_new_song_set), k=n_old)

Flake8 config file doesn't allow inline comments anymore.

A lot of Admin tests were failing

Fixed by replacing:
    @classmethod
    def setUpTestData(self):
        self.factory = RequestFactory()
        self.site = AdminSite()
        self.admin = PhaseAdmin(
            Phase,
            self.site
        )

with:
    def setUp(self):
        self.admin = PhaseAdmin(model=Phase,
                                admin_site=AdminSite
                                )

In python 3.11 this caused the following error:
======================================================================
ERROR: test_search_fields (image.tests.test_admin.ImageAdminTest.test_search_fields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/server/image/tests/test_admin.py", line 34, in test_search_fields
    self.assertEqual(self.admin.search_fields, expected_search_fields)
                     ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/test/testcases.py", line 1402, in __get__
    data = deepcopy(self.data, memo)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 146, in deepcopy
    y = copier(x, memo)
        ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
                             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 146, in deepcopy
    y = copier(x, memo)
        ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
                             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 146, in deepcopy
    y = copier(x, memo)
        ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
                             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 146, in deepcopy
    y = copier(x, memo)
        ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
                             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 146, in deepcopy
    y = copier(x, memo)
        ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
                             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/copy.py", line 161, in deepcopy
    rv = reductor(4)
         ^^^^^^^^^^^
TypeError: cannot pickle 'module' object

If the tests succeed and (ideally) don't take 15 minutes to complete, I'd say this is good to go. Perhaps you could deploy it to the test environment just in case before merging its to see if it works "in real life".

Yes, I'll do that tomorrow ! Nice to have this done for my holiday


chore: Add content for visual component testing

Testing section currently provides information on how to test components by fully-mocking the render surface (JSDOM) - adding content around new options for visual component testing provided by Cypress which recently went GA. Trying to structure as a compromise solution between fast JSDOM-based component tests and slower, complex E2E tests.
Appreciate any feedback or suggestions, thanks in advance for reviewing!

I see the new site has gone live (nice work, btw! 💯 ) and this content no longer has a home. I'm not seeing a section for Testing - was this a deliberate omission, or did it just not make the initial cutover? If you feel a Testing section would be worthwhile I'd be happy to take a stab at scaffolding one out, or I can close this out if you don't envision that sort of info living here


iOS Archive Failed.

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_SPXSpeechSynthesisCancellationDetails", referenced from:
      objc-class-ref in XZMicrosoftAzureManager.o
  "_OBJC_CLASS_$_SPXSpeechSynthesizer", referenced from:
      objc-class-ref in XZMicrosoftAzureManager.o
  "_OBJC_CLASS_$_SPXSpeechConfiguration", referenced from:
      objc-class-ref in XZMicrosoftAzureManager.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Xcode Version 12.0.1 (12A7300)

@xiangyan99 Thanks for the feedback, supported architectures for iOS Speech SDK CocoaPod framework are x86_64 and arm64. Have you targeted you app also for armv7?

@jhakulin I guess you want to @xiaoMing0109 ?

@xiangyan99 Thanks and apologies, yes, @xiaoMing0109 please see the question above.

I have solved the problem.
Deployment Info
iOS 9.3
Podfile:
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['ARCHS'] = "arm64 x86_64"
        end
    end
end

Build Settings

@xiaoMing0109 Awesome, thanks for details also.


Review backtesting Future/Option chain source

Expected Behavior

There is a discrepancy in the count of contracts in the open interest and quote future/option files. With quote files having a higher count. This might be because at the time open interest was calculated, pre market open, there were contract which were not available yet and started trading on that same day. Because of this, using quote as a source of contract symbols, leaves a window for a look ahead bias. Another potential reason for these differences is that open interest might be zero and it's being filtered out.

Actual Behavior

We currently source chain contracts from TickType.Quote/TickType.OpenInterest/TickType.Trade which ever is available first

Potential Solution

Review differences in detail

Reproducing the Problem

N/A
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Closing as replaced by https://github.com/QuantConnect/Lean/issues/6861


Provide error message when clicking on "clone repository" and git isn't found

I got a new laptop and forgot to install git as part of the setup 🤦🏾♀ so when I clicked on "clone repository" in VS Code, nothing happened.

When I looked at the developer console, I saw that it was because git wasn't installed.

Perhaps the "clone repo" button could be grayed out if git isn't found, or an error banner could be shown with an error message?

Olá Luciana! Great catch! 😉


add feature to save users unit preferences as cookie

This feature adds the ability to store the unit preferences in the browser as cookies. After this update, the portal should now be started with a new environment variable that indicates the name of the cookie. API_SERVER=http://localhost:8000 UNIT_PREF=unit_pref npm start. This requires you to install universal-cookies so just run npm install once before running the app.

I think we might need to add UNIT_PREF=unit_pref line here. Could you please let me know which file to update for this new environment variable. Or, I can simply just define it in the file and just use it.


Add regressions for RM3 on MS MARCO v1 and v2 doc dev sets w/ d2q

Missing these conditions for SIGIR 2022 resource paper.

Codecov Report

Merging #1851 (ec57b8c) into master (5e0437b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1851   +/-   ##
=========================================
  Coverage     57.51%   57.51%
  Complexity     1055     1055
=========================================
  Files           179      179
  Lines         10188    10188
  Branches       1407     1407
=========================================
  Hits           5860     5860
  Misses         3836     3836
  Partials        492      492

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 5e0437b...ec57b8c. Read the comment docs.


Incorrect error message: filterBy____() only accepts arguments of type ____ or Collection

Scratched my head a bit until I found that the generated methods actually only accepts arguments of ObjectCollection. Had been using Collection, which it does not accept.

Is someone able to make a PR here with suggested changes?


Value error in nnabla on running x-umx on Rpi4, Raspberry Pi OS

On running x-umx on Rpi4, 8GB on Raspberry Pi OS i get the below error,
root@raspberrypi:/home/pi/x-umx# python3 test.py --inputs ../Music/test_16k_S16_LE_stereo.wav --context cpu --model /home/pi/x-umx/x-umx.h5 --outdir /home/pi/x-umx/results
2021-01-30 16:37:37,007 [nnabla][INFO]: Initializing CPU extension...
Traceback (most recent call last):
File "test.py", line 198, in
test()
File "test.py", line 170, in test
residual_model=args.residual_model
File "test.py", line 84, in separate
mix_spec, msk, _ = unmix_target(audio_nn, test=True)
File "/home/pi/x-umx/model.py", line 300, in call
lstm_out_bass = self.lstm(cross_1, nb_samples, "lstm_bass", test)
File "/home/pi/x-umx/model.py", line 231, in lstm
bidirectional=not self.unidirectional, training=not test, dropout=0.4, name=scope_name)
File "", line 8, in lstm
File "/usr/local/lib/python3.7/dist-packages/nnabla/parametric_functions.py", line 1567, in lstm
return F.lstm(x, h, c, weight_l0=w0, weight=w, bias=b, num_layers=num_layers, dropout=dropout, bidirectional=bidirectional, training=training)
File "", line 3, in lstm
File "/usr/local/lib/python3.7/dist-packages/nnabla/function_bases.py", line 222, in lstm
return F.LSTM(ctx, num_layers, dropout, bidirectional, training)(*inputs, n_outputs=n_outputs, auto_forward=get_auto_forward(), outputs=outputs)
File "function.pyx", line 292, in nnabla.function.Function.call
File "function.pyx", line 271, in nnabla.function.Function.cg_call
RuntimeError: value error in setup_impl
/home/pi/x-umx/nnabla/src/nbla/function/./generic/split.cpp:36
Failed num_outputs == outputs.size(): inputs[0].shape[axis] must be the same number as the outputs. inputs[0].shape[axis]: 431, outputs: 2.
I have successfully manually built & installed nnabla & llvmlite.
The latter was really very difficult to build & install.
root@raspberrypi:/home/pi/x-umx# pip3 freeze | grep 'nnabla'
nnabla==1.9.0
root@raspberrypi:/home/pi/x-umx# pip3 freeze | grep 'llvmlite'
llvmlite==0.32.1+0.gaa11b12.dirty
I think, now it is throwing error related to nnabla, of the input parameter size not equivalent to
output parameter size. Can you please suggest, where we need to set this nnabla files ?
Please help me.
Regards,
Rajiv.

Yes, i could solve it successfully. I installed the latest version of nnabla, ver 1.17 as of today,
root@raspberrypi:/home/pi/x-umx/results# pip3 freeze | grep 'nnabla'
nnabla==1.17.0.dev1
I ported x-umx successfully on my Rpi4, 8 GB. Yay...!!
This is the first succesful porting & running of x-umx on Rpi4.
I have run x-umx on a speech capture recorded with a MIC.
The speech capture is 16kHz, Stereo, S16_LE format wav.
After running this,
root@raspberrypi:/home/pi/x-umx# python3 test.py  --inputs ../Music/test_16k_S16_LE_stereo.wav --context cpu --model /home/pi/x-umx/x-umx.h5 --outdir /home/pi/x-umx/results
2021-01-31 08:16:34,465 [nnabla][INFO]: Initializing CPU extension...
Four outputs are generated inside 'results' folder(you can keep any other folder path as you pass in --outdir):
root@raspberrypi:/home/pi/x-umx/results# ls
bass.wav  drums.wav  other.wav	vocals.wav
I played each of them. It there was a 1 kHz background noise, which was there in the recording capture.
It has been eliminated at some places of the track & minimized throughout the track.
SO, yes, x-umx can be used as Speech Noise removal.
Spectrogram analysis to be done further for better analysis further. I will be attaching my output & input
for everyone here.
Thanks a lot, x-umx team from SONY.
Regards,
Rajiv.

Yes, i could solve it successfully. I installed the latest version of nnabla, ver 1.17 as of today,
root@raspberrypi:/home/pi/x-umx/results# pip3 freeze | grep 'nnabla'
nnabla==1.17.0.dev1
I ported x-umx successfully on my Rpi4, 8 GB. Yay...!!
This is the first succesful porting & running of x-umx on Rpi4.
I have run x-umx on a speech capture recorded with a MIC.
The speech capture is 16kHz, Stereo, S16_LE format wav.
After running this,
root@raspberrypi:/home/pi/x-umx# python3 test.py  --inputs ../Music/test_16k_S16_LE_stereo.wav --context cpu --model /home/pi/x-umx/x-umx.h5 --outdir /home/pi/x-umx/results
2021-01-31 08:16:34,465 [nnabla][INFO]: Initializing CPU extension...
Four outputs are generated inside 'results' folder(you can keep any other folder path as you pass in --outdir):
root@raspberrypi:/home/pi/x-umx/results# ls
bass.wav  drums.wav  other.wav	vocals.wav
I played each of them. It there was a 1 kHz background noise, which was there in the recording capture.
It has been eliminated at some places of the track & minimized throughout the track.
SO, yes, x-umx can be used as Speech Noise removal.
Spectrogram analysis to be done further for better analysis further. I will be attaching my output & input
for everyone here.
Thanks a lot, x-umx team from SONY.
Regards,
Rajiv.

Attaching the INPUT recording capture done on Rpi4 using DMIC Soundcard(4-MIC KIT, AC108 ADC),[test_16k_S16_LE_stereo.wav],
And the OUTPUTS generated on Rpi4, 8GB after running x-umx,[bass.wav, drums.wav, other.wav, vocals.wav]
Please download the attached zip, [results_and_input.tar.bz2].
Please analyze.
Regards,
Rajiv.

Attaching the INPUT recording capture done on Rpi4 using DMIC Soundcard(4-MIC KIT, AC108 ADC),[test_16k_S16_LE_stereo.wav],
And the OUTPUTS generated on Rpi4, 8GB after running x-umx,[bass.wav, drums.wav, other.wav, vocals.wav]
Please download the attached zip, [results_and_input.tar.bz2].
Please analyze.
Regards,
Rajiv.

Please close the issue, as i have successfully resolved it.
Rajiv.

Please close the issue, as i have successfully resolved it.
Rajiv.

Thank you for running x-umx on Rpi4 environment!
We would like to support Rasberrry Pi environment in the near future!


Layout fixes

Resolves breaking layout constraints in many places, and improves some of the code from the previous PR. Landscape is now working for comment views as well.
Also fixes #266.

Great work, thank you very much!


Release v1.1.0

It looks like master has some commits that haven't made it into a release (adding the has method).
It'd be great if that could be released as a v1.1.0 release 👼

@simensen any chance of a new release with this in? Would be helpful for a project I'm currently using the package in.

@simensen Would you consider cutting a release? I'd be happy to co-maintain if you're interested.

A new v1.1.0 release has been tagged. Let me know if there are any problems. Thanks.

@simensen Thank you!

This can be closed.


Willing to share the original annotations of Visual Genome dataset ?

Sorry to bother you, but seems the official website is down, and i need to use the official annotations of dense caption. I'm hoping that you can share the annotations, it will be very useful. Thx a lot~

Sorry to bother you, but seems the official website is down, and i need to use the official annotations of dense caption. I'm hoping that you can share the annotations, it will be very useful. Thx a lot~

You could try to download it here

Sorry to bother you, but seems the official website is down, and i need to use the official annotations of dense caption. I'm hoping that you can share the annotations, it will be very useful. Thx a lot~

You could try to download it here

Thx a lot for your help!


WIP: BZ Monopole problem

Leaving this for George.  Updated the problem to work with current dev branch now that the polar coordinate fix has landed there.  Potentially some things to iron out w.r.t. initial conditions though.

I effectively merged this into the branch feature/ci, then merged that branch into dev, so these changes are already in KHARMA.  Closing this version.


Pre-trained model

Hi @hackiey,
I am planning to use this key-point detector in one of my projects. I need it for inference only. Do you have or plan to release the pre-trained model that can be used for inference?
Thanks!

Hi there!
Thank you for providing the code!
Do you have the pre-trained model by any chance so we can use it for inference instead of training it ourselves?
It would be a great help.
If not, could you mention which dataset you used for training?
Thank you.


Notification handler 'textDocument/publishDiagnostics' failed with message: Illegal argument: line must be positive

Seems like we publish errors as diagnostics that don't have a line, which is kind of pointless

The simplest test file I was able to reproduce the error with:
<?php

qwerty

namespace A;

In the above case the PHP Parser returns an error with:

message: "Namespace declaration statement has to be the very first statement in the script"
startLine = 5
endLine = -1

The Range calculated for the Diagnostic receives a negative endLine, hence VS Code reports an error.
PHP Parser can return -1 for both startLine and endLine: https://github.com/nikic/PHP-Parser/blob/a7120116b0931e72004b77bca962f4824f548dd0/lib/PhpParser/Error.php#L36-L52


esp_efuse_mac_get_default  (IDFGH-8022)

Return base MAC address which is factory-programmed by Espressif in EFUSE.
base MAC address, length: 6 bytes/8 bytes. length: 6 bytes for MAC-48 8 bytes for EUI-64(used for IEEE 802.15.4).
since the examples i've seen use 6 bytes Mac,I wonder in what case should I receive a 8 byte MAC or should I always check the lenght of the MAC address, can this function also return the type of MAC address?

Hi!
You are right that esp_efuse_mac_get_default() returns 6 bytes and 8 bytes for ESP32-H4 chip because it has IEEE802154.
We can not break this API (one more). For a certain chip, you will receive a constant len of mac.
I can add an API to get len of MAC which is used in the system.


Weird scrolling behaviour on mobile when sidenav is open

https://github.com/terror/mcgill.courses/assets/112342947/33dbc584-3d30-4be9-ae84-d79c328c89dd

This should be fixed with the footer removal in #291


Unable to build rock with latest "greg" and "nagaqueen" grammar

Hi everybody,
When i try to build rock (from git) with the latest git of "greg" and "nagaqueen", i have this error:
Finished parsing, now tinkering...
sdk/io/native/FileUnix.ooc:17:23 ERROR Undefined type 'const CString'
opendir: extern func (const CString) -> DIR*
Someone knows where it comes from ?
Did you have the same error ?
Nicolas.

This should be fixed since 18 September with commit 667d3dff87465d9ba981517f4b01187e681c722c@nddrylliog/greg


Webgui - enhancement

Maybe merge it with this project: http://www.bgpanel.net/
Would be awesome to just have a webgui that controlled the servers.
Should not be hard to implement since most of it it's done already.

hi there,
just join our ts3 and lets have a small talk containing a small demo, because we´re working on a common webinterface solution for lgsm. If you like it, may we should think/work on together?!
kind regards
m0gL1

I wrote one but never mind :8ball:

Also wanna share it @JimTR?

x2

I have no plans for a web interface however i welcome attempts for other developers to create one. I am also willing to assist in getting it work if LGSM requires some tweaking.

It will require tweaks as my dev code is using the pre .sh version ... this also gives me some problems with how to call a script from a local/remote server (has it got an extension of sh or not). The web interface, which there are some screen shoots still uses the older non .sh setup so I guess it would not be good to share

Ideally, the interface would be able to handle LGSM updates.
But even more importantly, can a PHP interface work with user based servers as we got currently ?

Here is almost a perfekt version, just need some tweaking so it works with you.
https://github.com/warhawk3407/bgpanelv2

@JimTR if you want to create a specific issue for your web interface that we could use to work together that woudl be helpful. Best to include all the info about the web interface and links to the GitHub repo. You can also outline what would be required to help you do this. The same applies to bgpanel. I am happy to help were I can to get LGSM working with your web interface projects and am happy to accept pull requests related to the web interface as well.
So yeah create a single issue for your web interfaces and will see what happens :)


Move taxon from one parent to another in the Tree: error 400

Frontend version: 41cae4e June 8, 2021 7:28 AMBackend version: 654bc36 June 2, 2021 5:54 AM
For attention of @thomasstjerne & @mdoering
On ITIS request, I have tried to move infraorder Astacidea from suborder NotAssigned to [sister] suborder Pleocyemata. (Assembly - ModifyTree mode).
As a result, I have got an error message with code 400:

Console says:
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/” because the scheme does not match. data.catalogueoflife.org
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/” because the scheme does not match. data.catalogueoflife.org
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/” because the scheme does not match. data.catalogueoflife.org
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/” because the scheme does not match. data.catalogueoflife.org
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/” because the scheme does not match. data.catalogueoflife.org
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/” because the scheme does not match. data.catalogueoflife.org
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/static/css/main.81a46273.css” because the scheme does not match. main.81a46273.css
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/static/css/main.81a46273.css” because the scheme does not match. main.81a46273.css
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/static/css/main.81a46273.css” because the scheme does not match. main.81a46273.css
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. data.catalogueoflife.org
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/static/js/main.67bfeb5d.js” because the scheme does not match. main.67bfeb5d.js
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/static/js/main.67bfeb5d.js” because the scheme does not match. main.67bfeb5d.js
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/static/js/main.67bfeb5d.js” because the scheme does not match. main.67bfeb5d.js
false index.js:108:22
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/terms.json” because the scheme does not match. terms.json
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/terms.json” because the scheme does not match. terms.json
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/terms.json” because the scheme does not match. terms.json
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/favicon.ico” because the scheme does not match. favicon.ico
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/favicon.ico” because the scheme does not match. favicon.ico
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/favicon.ico” because the scheme does not match. favicon.ico
false index.js:108:22
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
false index.js:108:22
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
false index.js:108:22
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features! classification
false index.js:108:22
Cookie “__utmc” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmt” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json
Cookie “__utmb” will be soon treated as cross-site cookie against “https://data.catalogueoflife.org/gitVersion.json” because the scheme does not match. gitVersion.json

Yes, you are not allowed to modify the tree inside a sector. Only taxa without a source.
@thomasstjerne the UI should warn users and not allow them to do so.


I doesn't training,Epoch 1/2000

python train_frcnn.py -p VOCdevkit2007 --network vgg  --num_epochs 20
Using TensorFlow backend.
Parsing annotation files
Processing 000531.xml: 100%|██████████████| 6798/6798 [00:01<00:00, 3668.26it/s]
Training images per class:
{'bg': 0, 'car': 32750}
Num classes (including bg) = 2
Config has been written to config.pickle, and can be loaded when testing to ensure correct results
Num train samples 6119
Num test samples 611
loading weights from vgg16_weights_tf_dim_ordering_tf_kernels.h5
Starting training
Epoch 1/20

Although I have downloaded the pre-trained model, this is still the case，but when i use resnet,it trains
Processing 000531.xml: 100%|██████████████| 6798/6798 [00:02<00:00, 2971.03it/s]
Training images per class:
{'bg': 0, 'car': 32750}
Num classes (including bg) = 2
Config has been written to config.pickle, and can be loaded when testing to ensure correct results
Num train samples 6119
Num test samples 611
loading weights from resnet50_weights_tf_dim_ordering_tf_kernels.h5
Could not load pretrained model weights. Weights can be found in the keras application folder         https://github.com/fchollet/keras/tree/master/keras/applications
Starting training
Epoch 1/2000
1/1000 [..............................] - ETA: 7:27:19 - rpn_cls: 1.9539 - rp   2/1000 [..............................] - ETA: 5:25:22 - rpn_cls: 3.4903 - rp   3/1000 [..............................] - ETA: 5:03:22 - rpn_cls: 3.7469 - rp   4/1000 [..............................] - ETA: 4:26:33 - rpn_cls: 3.7732 - rp   5/1000 [..............................] - ETA: 4:10:56 - rpn_cls: 3.9350 - rp   6/1000 [..............................] - ETA: 3:56:59 - rpn_cls: 3.9521 - rp   7/1000 [..............................] - ETA: 3:48:50 - rpn_cls: 3.9520 - rp   8/1000 [..............................] - ETA: 3:40:04 - rpn_cls: 3.9512 - rp   9/1000 [..............................] - ETA: 3:36:31 - rpn_cls: 3.9798 - rp  10/1000 [..............................] - ETA: 3:34:02 - rpn_c

so ,what happends


Enforce stricly increasing broker relistRequests

No check was implemented to enforce the strictly increasing behavior. This adds the behavior and a unit test for the 3 possible cases (n->n, n->n++, n++->n).

Hold on I'll fix the cla


Bug kifu listing page hanging

https://gokibitz.com/kifu has been hanging up in Firefox and Chrome on multiple computers for me over the last few days.

Sorry to hear you're having trouble! Could you open your browser's console and paste any error messages you see there? The service is still up and running, and I haven't been able to reproduce an error on my end.

I'm not getting anything in the Chrome console. After an initial "Page Unresponsive", it still reads "Waiting for GoKibitz.com...." an hour later while displaying either the background color or everything but the kifu list.
Firefox prompts to wait or close, although I'll have to check the exact message on that system later.
On one of the systems I've tried this on (Windows 10 Pro), the page loads just fine in Edge (which I've only used for this one purpose).
This only started a couple of days ago and is taking place both at home and my office.
If I ctrl-alt-del, kill Chrome, and then restore, it finally displays both the kifu list and comments, but I'm logged out. I reload, and it logs me back in but the problem returns.
So I killed it, went to the main page, logged out, and was then able to view kifu. Once I log back in, the problem resumes.

I'm user HarveyCrichton and I'm pretty sure the last game I uploaded was https://gokibitz.com/kifu/ByyM3ZeFr

Hm—so you had two SGFs uploaded that were truncated at random points.
(Example: "smog山人: if your opponent makes some mistake you can profit from it :). From move 1: D16 Q4 D4 F17 D14 C17 D17 D18 C16 E18 C18 B17 B18 B16 B15 \nsmog山人: if he connects solid you can still play hane if you want. From move 1: D16 Q4 D4 F17 D14 C17 D17 D18 C16 C18 B17 \nsmog山人: if he blocks you there, you're back to the joseki xd. From move 1: D16 Q4 D4 F17 D")
The malformed SGFs were causing a surprisingly complete meltdown of functions that tried to retrieve and parse them. Obviously this shows that the uploader is insufficiently guarded against invalid SGF files: I'll see if I can address that on my side.
Out of curiosity, were you cutting/pasting the text of your SGFs? Is there any chance the truncation was caused by user error?

(You should be able to log back in now. I've marked the two invalid SGFs as deleted.)

As it happens, I just linked to the URL instead of downloading from OGS and uploading to GK from my computer for the last few games. Maybe some sketchy network issue took place.
I likely hand-edited text in the game after it was in GK, but that seems unlikely to impact the sgf in your db.

Hmmm—maybe the hand-editing thing could be a point of vulnerability. Another thing to investigate. If I ever get the chance to do GoKibitz 2.0, I'm going to store SGFs in the DB in a less fragile way.
Thanks for your excellent debugging; sorry again for the inconvenience. Let me know if you have any other issues!


Update macros for swift-syntax deprecations

Some things were renamed in newer Xcode betas.

@carson-katri this goes back to mid August, is this still a valid PR?

Yes! I'd like to get this merged so we can remove the deprecation warnings.


Fix symlinks that point to the old virtual env

First of all, congrats for the nice tool. It saves us a lot of time!
Sometimes the source virtual environment has symlinks that point to itself
the issue I had were:
$OLD_VIRTUAL_ENV/local/lib points to $OLD_VIRTUAL_ENV/lib
$OLD_VIRTUAL_ENV/local/bin points to $OLD_VIRTUAL_ENV/bin
which was causing pip to complain about updating the packages because they were out of the virtual environment.
this pull request makes sure
$NEW_VIRTUAL_ENV/local/lib will point to $NEW_VIRTUAL_ENV/lib
I also took the liberty to bump the version to 0.2.6
if possible, please release a new version on pypy because this would make our life easier.

Hello @edwardgeorge
did you have time to consider my pull request?


String values are trimmed

I have an @Parameters("foo", "123", " ") for a certain testcase. However the " " is trimmed to an empty string. This makes my testcase fail.
I don't thing the parameter values should be trimmed.

I have the same issue.

Yes, we are trimming whitespace characters. Since it would be a breaking change we won't be doing this anytime soon. Use  @ffbit's suggestion.
BTW @mdeinum " " looks like a really special case. Maybe it deserves a separate test method with explicit parameterisation.

Doesn't this also fail with method?
import static com.google.common.truth.Truth.assertThat;

import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(JUnitParamsRunner.class)
public class ParamsTest {

  public static String[] validStrings() {
    return new String[] {
      "    ", " f  ", "four",
    };
  }

  @Test
  @Parameters(method = "validStrings")
  public void testString(String value) throws Exception {
    assertThat(value.length()).isGreaterThan(3);
  }
}

Hello,
I'd also like to request that this bug be re-opened and fixed, please.
The fact that this would be a breaking change is less important than the fact that the framework misleads its users: if I write a unit test (using JUnitParams) checking for String equality I expect the test to succeed when the Strings passed in are equal, and to fail when they are not.
Right now, however, such a test would succeed when trim(String a).equals(trim(String b)). This affects not only methods that work on strings, but also methods that rely on previous methods having handled strings correctly.
Thank you for considering this.


POC: embedding compiler state for regal lint command

And possibly other use cases. The issue this would address is the ~100 ms compilation time the bundle currently requires, and which is needed for all invocations of regal lint. The LSP doesn't suffer from this as it is a continuous process and one where prepared queries will make sure that compilation state is preserved between invocations.
@srenatus suggested taking a look at gob, and pointed to guide on that topic.
We should look into:

If this works
If it saves enough time to justify the added complexity
Decide on whether to do this based on that

I did a quick POC on this just now, and this seems to have the same issues that custom JSON marshalling of "foreign" structs has. Meaning that struct types that are target for "gobing" must either be registered (simple types) or provide a MarshalBinarymethod to be used. Just trying this on some AST types and you'll get:
Error: gob: type not registered for interface: ast.Ref

and so on. This can be fixed by registering the type, like:
gob.Register(ast.Ref{})

before encoding. That's going to be a whole lot of types to register, but oh well. Eventually though, you'll face another familiar problem:
Error: gob: type not registered for interface: ast.set

and just as with JSON marshalling, you can obviously not do:
gob.Register(ast.set{})

trying:
gob.Register(ast.NewSet())

->
Error: gob: type ast.set has no exported fields

I assume we can work around this using unsafe pointers for private structs and fields, but for something like the compiler state, that's likely to turn into a monster.
There might be some simpler types, or types that we own, that could benefit from this. Not having to deserialize the provided config from YAML each time is one example. But for use with anything OPA owns, I'd say this is not worth it.


Org admin password reset self-service not working

AS AN organization administrator
WHEN I try to use the "forgot password" flow
I WANT TO receive a link to reset my password
I don't think this has been set up at all, so open to whatever email service you'd like to use.

There are many reasons we don't want to manage our own mail server(s) especially for transactional email. It's incredibly tedious with no guarantee of deliverability.
Some comparisons of common transactional Email API's. Most of them have free tiers, but we should look for one that is most friendly to open-source/non-profit projects:
https://zapier.com/learn/email-marketing/best-transactional-email-sending-services/

I'm partial to sendgrid, mainly because it is the email service heroku has built in which I have heard of before: https://elements.heroku.com/addons/categories/email-sms

From<EMAIL_ADDRESS>Subject: Reset Your Password For HelloGOV
Body:
Hi [FirstName],
We received a request to reset your password. If you didn't make the request, just ignore this email. Otherwise you can reset your password using this link:
[Reset Link]
Thanks,
The HelloGOV Team


how to handle *+ / ++ in regexes

the python regex engine does not support "possessive quantifiers"
I wonder if I can just use the normal greedy quantifiers?  I wonder if there's a way to emulate them using normal regex features

hmmmm! https://stackoverflow.com/a/5545615/812183

via c52ec58b7cdde404baa0e53cf1b26a940bbcc4e4


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1499 ms

Resolved: Bofrost.be performance has improved in 1cdbdcb after 44 minutes.


Getting ClientException with 200-Status-Code

Hi,
while executing the following code
$this->client = new GuzzleHttp\Client();
$this->client->request(
                'GET',
                'http://onlinelibrary.wiley.com/doi/10.2903/j.efsa.2017.4684/full',
                [
                    'headers' =>  [
                        'User-Agent' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0'
  ]
            );

there are occasions on which it throws a ClientException with a 200-Status-Code. The Exception carries a response. I cant tell if its a server issue or an issue with this framework.
Help would be appreciated :)

Can you post a stack trace?

I cant provide a Stack-Trace right now as it wasnt logged properly. I'm closing this Issue for now. Logging is fixed now so i should be abled to provide the trace next time, if this occurs again.


Print port mappings in ps for ctrs sharing network

In Podman v1.9, we printed port mappings for the container, even if it shared its network namespace (and thus ports) with another container. We regressed on this in Podman v2.0, which is fixed here.

LGTM

Confirmed, and I have a system test in the works.
/lgtm


chore: fix scheduled build and publish due to breaking upgrade

In the action convictional/trigger-workflow-and-wait the inputs paramater inputs was renamed to client_payload. Since last bump to v1.6.5 this was not changed.

@dmage ptal


fix(frontend): SQL server 集群管理 #2996

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


Added Google Docs Viewer Application

Added Google Docs Viewer project in Flutter Projects

I've added the Google Docs FLutter projects. It can open/load any google doc or pdf into the application, which the user can save locally or edit as per their requirement. Following plugins are used in this project:
flutter_pdfview
shared_preferences
http
path_provider

Close #4019

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@pranjay-poddar @MohitGupta121 @TusharKesarwani please review my PR


Fixed the styling for Start Writing Page and Contact Us Page

Pull Request
Hi @ANSHIKA-26 ,
I have fixed the styling for the "Start Writing Page" and "Contact Us" Page, I will be writing here what changes I have made in the code.

In Start_writing.html:
I have added a class called "add-collaborator" and "get_suggestions" for both buttons and by targeting these classes in start_writing.css I have given padding of 7px to enhance the look because they were a bit clumsy. (See screenshots)

In Starting_writing.css:
I have given the same box-shadow for the entire blog form container which was given on the "Home" page. I have commented on the earlier box-shadow. (See screenshots)
New box-shadow - box-shadow: 0px 3px 6px #fca5a5;

Also the adjusted mic button on the container and added inline styling in start_writing.html.
=> Style added: margin: 10px; font-size: 20px; padding: 7px; (See screenshots)

In the contact_us.html
I have given the same box shadow that is given for the "Start_Writing Page" and I have made changes in inline CSS itself as there was no separate class defined for it.  I have commented on the earlier box-shadow. (See screenshots)
box-shadow: 0px 3px 6px #fca5a5;

Kindly let me know if these changes are suitable for the website and if any other modifications should be done from my side. Please let me know if I have made any mistakes in the code.
Also if the changes are correct, kindly merge my Pull Request.
Once again thank you for allowing me to contribute to the project, I loved working on this project.
Thank You!
Pull Request Checklist

[X] I have added screenshots and videos to show before and after the working of my code.

[X] I have ensured the screen size is 100% while making the video.

[X] I have synced the latest fork with my local repository and resolved conflicts.

[X] I have mentioned the issue number that I created before making this PR. (format to mention issue number is: fixes #(issue number) )

[X] I understand that if the above conditions are not met, my PR will not be MERGED.
                                                                 Screenshots: BEFORE

                                                                            AFTER

issue number ?

Hi @ANSHIKA-26 ,
Issue Number - #1374
I'm sorry I forgot to add the issue number.
Thank You!


CMS version 2.2 with SHA256WithRSAEncryption algorithm

Hello,
I need to sign a json document with these requirements: CMS version 2.2, with SHA256WithRSAEncryption algorithm, but I did not find property to set the in c# signer.setSignaturePolicy(new ADRBCMS_2_2()) in class CmsSigner  . This property exists?
This guy have the same problem. (https://stackoverflow.com/questions/53485946/cms-version-2-2-sha256withrsaencryption?newreg=3fdc12c1eaf84a439aa1a71f70f41808)
Thank you

I'd recommend asking whoever wrote the API. It's not one of ours.


ControlNET SDXL - bucketing ?

Does the ControlNET SDXL training support bucketing for images with multi resolution and aspect ratio?

@alelordelo Yes!
You can change this like.
https://github.com/okotaku/diffengine/blob/main/configs/_base_/datasets/fill50k_controlnet_xl.py#L1-L28
train_pipeline = [
    dict(type="SaveImageShape"),
    dict(
        type="MultiAspectRatioResizeCenterCrop",
        sizes=[
             [640, 1536], [768, 1344], [832, 1216], [896, 1152],
             [1024, 1024], [1152, 896], [1216, 832], [1344, 768], [1536, 640]
             ],
        interpolation='bilinear'
        keys=["img", "condition_img"]),
    dict(type="RandomHorizontalFlip", p=0.5, keys=["img", "condition_img"]),
    dict(type="ComputeTimeIds"),
    dict(type="torchvision/ToTensor", keys=["img", "condition_img"]),
    dict(type="DumpImage", max_imgs=10, dump_dir="work_dirs/dump"),
    dict(type="torchvision/Normalize", mean=[0.5], std=[0.5]),
    dict(
        type="PackInputs",
        input_keys=["img", "condition_img", "text", "time_ids"]),
]
train_dataloader = dict(
    batch_size=2,
    num_workers=4,
    dataset=dict(
        type="HFControlNetDataset",
        dataset="fusing/fill50k",
        condition_column="conditioning_image",
        caption_column="text",
        pipeline=train_pipeline),
    sampler=dict(type="DefaultSampler", shuffle=True),
    batch_sampler=dict(type='AspectRatioBatchSampler')
)

thanks @okotaku ! I didn't find any docs on  how to train COntrolNET with custom dataset... The one I found is from HF with the Circle dataset. If  you can provide any info on how to train I highly appreciate!

I have also added on how to use Aspect Ratio Bucketing.
https://github.com/okotaku/diffengine/pull/101


Add Mars Frequent Flyer Badges

As per this link, it may be possible to reverse engineer the API used to generate the badges and add them as features to boost space exploration participation. There may also be a public API.

The URL for the badges image is: https://mars.nasa.gov/participate/send-your-name/img/mission-patches.a9f31a27.png
If you have their UUID you can make a GET request to https://mars.nasa.gov/syn-mars/frequent-flyers/account/UUID and it will return a JSON payload in the format:
{
    "payload": [
        {
            ...
            "mission": mission-name
            ...
        }
    ]
}

The missions we care about are:

orion-first-flight
insight
mars-2020
mars-future

Closing due to loss of interest


I have added a new code to train.py

Description
New code has been added
How has this been tested?
Please explain how you have tested the new changes.
Checklist

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes (make test-trigger and make test-all-components)
[ ] I have successfully run the E2E tests
[ ] I have updated any relevant documentation to reflect my changes

/gcbrun


Why sample_num cannot not be too large when inference?

Can we view sample_num equal to batch size in training? In paper, training batch size is 24 per 40G gpu , but sample_num is up to 4 on a 48G gpu. How can I enable larger sample_num in inference?

Hi, for every training example, we only denoise 1 image. Thus, we are denoising 24 images per step. In comparison, for every sample in inference, we need to denoise 16 images, so we are denoising 16*4=64 images for one inference step.


Quarter movements for store operations are reversed

Describe the bug
The current implementation of the exchange element (exchanger.rs) is based on the content of table 7-2 in the Users Handbook.
But, you compare the examples for config 2 in the descriptions of LDA (page 3-6) and STA (page 3-8) the movement appears to be opposite.   See example number 3 in each case.
The existing code appears to match the load case, not the store case.   Execution of stores appears to show backward behaviour compared to the examples in the STA documentation.
To Reproduce
N/A
Expected behavior
I am not 100% clear on this.  For example what happens with sign extension and subword form?
Additional context
The problem manifested in the intiial implementation of the STE opcode, but so far the boot code only makes use of config value 0 (full word, all quarters active).  That probably explains why I did not previously see a problem.

This is documented in Chapter 13 of the Technical Manual (in vol 2).   Figures 13-12 and 13-13 (pages 13-24 and 13-25) show the effect of load-type and store-type instructions as being different.
In each example we see Permutation 3, with Q3 inactive.

For the load instruction shifts are to the left (M1->E2, M2 goes nowhere since E3 is inactive, M3->E4, M4->E1).
For the store instruction shifts are to the right (E1->M4, E2->M1, E3 goes nowhere since Q3 is inactive, so M2 is unchanged, E4->M3).

So it appears that quarter activity refers to the quarters of the E register, whether it is being read from or written to.
According to figure 13-15, sign extension for an 18,18 subword form can occur to the right (from bit 4.9 into all the bits of q3).
Section 13-4.1 (covering loads) says "The sign extension process which follows step 4 is described in 13-4.3.".   But section 13-4.2 (covering stores) contains no similar statement.   I suspect this means that sign extension does not happen for stores.


Bot: Miner's harvesting slot location should include room name

A bit of a corner case. Currently, the miner's slot location is defined as [x,y]. When traveling to the slot location, if the miner leaves the room, the miner will not return.
This issue occurred a couple of times because in one of my rooms when the miner was traveling to the slot location, it was next to one of the room's exits, and it left the room when avoiding other creeps on the same path, thus the miner targeted the wrong x,y location in another room.
consider changing to:
miner.memory.slot ={x,y,roomName}

Oh, that's pretty fun.
This is simply really, really early game code that I put up.
I think I would plan to have the miners managed by a process that is assigned a room, so the room name would then be known there.


Remove need for nightly or update the documentation.

Ideally this should run out of the box on stable 2018 or perhaps specifiy up front that nightly is needed. I got the following after cargo install azure-functions-sdk
error[E0554]: #![feature] may not be used on the stable release channel
   |
61 | #![feature(rust_2018_preview)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
   |
62 | #![feature(in_band_lifetimes)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

@ianpurton Sorry for this! The current version on crates.io does indeed require nightly but the version in master does not (the requirement was recently removed). We should have handled the transition more smoothly, but a new version will be released to crates.io probably this week.

@rylev That's great. Thanks.


Added Dungeons to Build list

Added Dungeons project to main Build site.

I do not see this change reflected in the lootproject.com website.  Is there some sort of sync delay before changes are propogated to the website?  Thanks.  Stephen


[rapids] Upgrade RAPIDS for Spark to version 0.4.1

Upgrade the version of  RAPIDS Accelerator for Apache Spark to 0.4.1 from 0.4.0

/gcbrun


Todo: logging

Includes message logging (edits & deletes) and user logging.
Message logging will require storing a cache of sent messages. User logging will require storing some settings for each guild (think log channel).

Discord provides the message that was deleted along with the message edits.
Message update provides two responses:
Old content
{
    "channelId": "1012849719241883788",
    "guildId": "1007457740655968327",
    "id": "1082407022361850067",
    "createdTimestamp":<PHONE_NUMBER>281,
    "type": 0,
    "system": false,
    "content": "hello world!",
    "authorId": "455428041586376729",
    "pinned": false,
    "tts": false,
    "nonce": "1082407016984477696",
    "embeds": [],
    "components": [],
    "attachments": [],
    "stickers": [],
    "position": null,
    "editedTimestamp": null,
    "mentions": {
        "everyone": false,
        "users": [],
        "roles": [],
        "crosspostedChannels": [],
        "repliedUser": null,
        "members": [],
        "channels": []
    },
    "webhookId": null,
    "groupActivityApplicationId": null,
    "applicationId": null,
    "activity": null,
    "flags": 0,
    "reference": null,
    "interaction": null,
    "cleanContent": "hello world!"
}

New content:
{
    "channelId": "1012849719241883788",
    "guildId": "1007457740655968327",
    "id": "1082407022361850067",
    "createdTimestamp":<PHONE_NUMBER>281,
    "type": 0,
    "system": false,
    "content": "Hello World!",
    "authorId": "455428041586376729",
    "pinned": false,
    "tts": false,
    "nonce": "1082407016984477696",
    "embeds": [],
    "components": [],
    "attachments": [],
    "stickers": [],
    "position": null,
    "editedTimestamp":<PHONE_NUMBER>029,
    "mentions": {
        "everyone": false,
        "users": [],
        "roles": [],
        "crosspostedChannels": [],
        "repliedUser": null,
        "members": [],
        "channels": []
    },
    "webhookId": null,
    "groupActivityApplicationId": null,
    "applicationId": null,
    "activity": null,
    "flags": 0,
    "reference": null,
    "interaction": null,
    "cleanContent": "Hello World!"
}

And message deletions also send the content in:
{
    "channelId": "1012849719241883788",
    "guildId": "1007457740655968327",
    "id": "1082407022361850067",
    "createdTimestamp":<PHONE_NUMBER>281,
    "type": 0,
    "system": false,
    "content": "Hello World!",
    "authorId": "455428041586376729",
    "pinned": false,
    "tts": false,
    "nonce": "1082407016984477696",
    "embeds": [],
    "components": [],
    "attachments": [],
    "stickers": [],
    "position": null,
    "editedTimestamp":<PHONE_NUMBER>029,
    "mentions": {
        "everyone": false,
        "users": [],
        "roles": [],
        "crosspostedChannels": [],
        "repliedUser": null,
        "members": [],
        "channels": []
    },
    "webhookId": null,
    "groupActivityApplicationId": null,
    "applicationId": null,
    "activity": null,
    "flags": 0,
    "reference": null,
    "interaction": null,
    "cleanContent": "Hello World!"
}

See 9b9c310 as a proof of concept

That's actually a cache thing! On Message Update, Discord provides the same data as the Message Create event. On Message Delete it provides even less. It's nice that this data could be cached, but I wouldn't depend on it.
A separate message cache should be implemented somehow.


Failed to analyze local images with trivy

What happened:
Trying to analyze local image with trivy failed
$ make cli && LOCAL_IMAGE_SCAN=true ANALYZER_LIST=trivy ./cli/bin/cli analyze docker.io/idanfrim/kubeclarity-cli:local
Building CLI ...
total 355312
-rwxr-xr-x@ 1 idanf  staff  181915954 Sep 11 10:25 cli
INFO[0000] Called trivy analyzer on source image docker.io/idanfrim/kubeclarity-cli:local  analyzer=trivy app=kubeclarity
ERRO[0000] failed to get image hash from sbom: repo digest property missing from Metadata.Component  analyzer=trivy app=kubeclarity
WARN[0000] "trivy" job failed: failed to get image hash from sbom: repo digest property missing from Metadata.Component  app=kubeclarity
FATA[0000] Failed to run job manager: 1 error occurred:
	* "trivy" job failed: failed to get image hash from sbom: repo digest property missing from Metadata.Component
  app=kubeclarity

What you expected to happen:
We should be able to create sbom for local images that were not pushed to registry (not repoDigest)
How to reproduce it (as minimally and precisely as possible):
Build a local image and DO NOT push it to remote registry.
Run LOCAL_IMAGE_SCAN=true ANALYZER_LIST=trivy ./cli/bin/cli analyze <your local image>
Anything else we need to know?:
The fix for syft was to use the manifest digest instead of the repo digest, but it looks like trivy is missing the manifest digest.
Environment:

KubeClarity commit 89b14c11a0a072eec4df9f2ab4fa61a84ed16d71

Just been reading this, its is a great write up of the problem with manifests and digests and why they aren't reliable: https://github.com/google/go-containerregistry/issues/895#issuecomment-753521526
It seems like the config sha / ImageID is what we want to use as this does not get effected by the existence or not existence the manifest. This is what Trivy is outputting as ImageID too IIRC.
It would be good if local and remote copies of images could be identified as the same image.
Based on that document above repoDigests also won't be consistent between registries so today if you upload the image to two different registries so you'll get two different digests.
If we could work out how to generate/get a digest that remains the same regardless of where the image was located (local, registry a, registry b) then we could actually correctly map them all together and either avoid rescanning them or merge their entries in the UI etc.
I just played around with skopeo inspect on the same container as a docker archive and an OCI archive. The manifests are completely different but the config files are identical so this definitely seems like the right direction for uniquely identifying an image.


docs: update jsdoc for arrayUtil

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


Update beginners guide images

Updates two images in the beginners guide.

I don't think that removing the context in the second image helps users to know where the toolbar is. I will have to reject this PR at this time


How are texts in github/docs translated?

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Hello all, everything good?
Some articles on github are translated with misspelled words.
I would like to know how I can contribute to work on these spelling corrections. Or if this is generated automatically.
For example, the title of this article in Portuguese is misspelled:

Could someone clear my doubt? I would like to contribute with some corrections.
What part(s) of the article would you like to see updated?
In this specific case, the title of the article.
Additional information
No response

@lucalves
Thanks for opening this! Unfortunately, we are not able to accept changes for translated content. Our translation process involves an integration with an external service at crowdin.com, where all translation activity happens. We hope to eventually open up the translation process to the open-source community, but we're not there yet.
See https://github.com/github/docs/blob/main/contributing/types-of-contributions.md#earth_asia-translations.