Need a proper release (not a pre-release)

For one project, I use tox-pipenv and one package (fluidpythran) depends on Black.
Pipenv complains loudly of the fact that there is only pre-release of Black and fails because of that.  Since I used pipenv through tox, I can't add the --pre option. Anyway, it would be better not to have it...
A simple solution to this problem would be to have a proper release of Black, with a version without "a" or "b"...
Pipenv's complain:
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches black (from -r /tmp/pipenv-c310e9_t-requirements/pipenv-cysm1vet-constraints.txt (line 4))
Skipped pre-versions: 18.3a0, 18.3a0, 18.3a1, 18.3a1, 18.3a2, 18.3a2, 18.3a3, 18.3a3, 18.3a4, 18.3a4, 18.4a0, 18.4a0, 18.4a1, 18.4a1, 18.4a2, 18.4a2, 18.4a3, 18.4a3, 18.4a4, 18.4a4, 18.5b0, 18.5b0, 18.5b1, 18.5b1, 18.6b0, 18.6b0, 18.6b1, 18.6b1, 18.6b2, 18.6b2, 18.6b3, 18.6b3, 18.6b4, 18.6b4, 18.9b0, 18.9b0
There are incompatible versions in the resolved dependencies.

Duplicate of https://github.com/ambv/black/issues/517
Sorry for the noise. I'm going to avoid black dependency for now.


res:/ add Oracle Linux icon

Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Thank you!

I released new build includes this commit!
https://github.com/yuk7/wsldl/releases/latest
Thank you for your contribution!


3D Scatter Plot Viewer in Glue

Here is the Glue 3D scatter plot viewer with a very simple user interface(see below), which enables the property selection by the user now.

The questions I got now are:

How to combine the size property selected by the user from the dataset with the real size showed in the viewer. In the current code we use the method from @maxwelltsai while it only works for the mass property.
Any other functionalities to be implemented like color scheme or axis?
Here is a pretty example from the Vispy for the galaxy simulation display, maybe we could borrow some shader code from it? https://github.com/vispy/vispy/blob/master/examples/demo/gloo/galaxy/galaxy.py

Do you have any advice? Thanks and please feel free to polish the code :)

Here is the 3d Scatter Plot Viewer with some advanced functionality as threshold control, color picker and a small color display area. I am thinking about adding layers for current Volume and Scatter viewer to link different dataset together :) That would be the most exciting part !

@Penny - is this in a state where it should work? I tried it on a different catalog, and I could not see any points, but it could just be because this is in progress?

@astrofrog Yeah I had a new version of this viewer which set the position & distance of the camera according to the dataset, but another reason for the 'disappear' of those points is the size calculation we used is based on the mass of each object/point, so if users choose other properties for displaying the size then the point might be too small to show up. Max and I are still thinking about a general way to display the correct size of those points, any advice?
I will commit my code here soon today :) Thanks!

For the size, I think it makes sense to be able to select a property to use, as well as the min/max to use for normalization - so for example I could select mass, 1 to 100 msun, and points of 1msun will be the smallest size and 100msun will be the largest size, where the min/max size could be hard-coded for now (and later configurable)

The latest commit is the final code for 3D scatter plot with new features and size normalization (thanks @maxwelltsai for helping with the normalization!)
@astrofrog Please let me know if it is ok for merging, I will think about a better highlight solution for those scatter points :)

@astrofrog I already modified the README.md and I will merge this PR now. Is it ok?

@PennyQ - yes, we can merge this :)

I fixed the imports in 8c273de5046746561fc209910d4084d4585f1b61


[Bug] Wrong Country Flag Used On Language

Describe the bug
Language "Bahasa Melayu" (known as msa in VRC) is using Indonesian flag.
To Reproduce
Steps to reproduce the behavior:

Add Bahasa Melayu language to your bio or find a friend that use Bahasa Melayu as their language in their bio
Observe the flag used

Expected behavior
It should show Malaysia flag.
Screenshots

What version you are running
Version 2024.05.09
Extra detail
I saw that in the code html/src/app.js under variable "LanguageMappings" both Bahasa Melayu and Bahasa Indonesia is using "id". I do not know how the code works but perhaps using "my" for Bahasa Melayu is the fix for this.

@hyblocker can you give this a look if you have the time.


Update contributing docs to include benefits of becoming a contributor

For contributors to any of our GitHub repos, I'd like to add a benefit of making sure they all get added to our organization as a read-only contributor so that they can display our org on their profile.

✅ By submitting this issue, I have verified the following

[x] Checked to see if the issue has already been discussed before 🤔
[x] Made sure enough details were provided if proposing a new feature 🔍

https://help.github.com/en/articles/publicizing-or-hiding-organization-membership

Hey folks, just a friendly reminder that if you've contributed to the website, don't be afraid to showcase that work through LinkedIn - here's an example of how that can be done by posting under "Experience" or "Volunteering" on your LinkedIn profile.
"Techqueria is a 501c3 non-profit representing one of the largest communities of Latinx professionals in the tech industry. 🌮"


Use ReplicatedSecrets to control Medusa bucket secrets replication into K8ssandraCluster namespaces

What this PR does:
Switch to using ReplicatedSecrets to control replication of the medusa bucket secrets.
Which issue(s) this PR fixes:
Fixes #1217
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[ ] CLA Signed:  DataStax CLA

I've marked out the places where I think these changes should take place, and commented with the specifics of the changes I intend to make.
There is a slight issue to work around here as I've currently drafted the design. It relates to the fact that (in my current round of comments) I talk about creating a single ReplicatedSecret for a single MedusaConfig, but this probably won't work for the following reason;

When a cluster is created, it would presumably go and create a replicatedSecret if one didn't already exist in the MedusaConfig namespace.
But if a replicatedSecret did exist, then it would go and add an entry to the ReplicationTargets in the ReplicatedSecret.
The problem arises on cluster deletion, where the finalizer might go and either remove the replicationTarget entry or remove the secret (if no more targets exist).
However, in the case that multiple K8ssandraClusters existed in the same context-namespace, this might cause the deletion of one cluster to delete replicated secrets relied on by another.

As a result, I think we're going to have to

Create multiple independant ReplicatedSecrets per cluster in the MedusaConfig's namespace.
Somehow ensure that (if two clusters reference the same MedusaConfig and are in the same namespace) the secrets are renamed while being replicated so that we don't end up with a conflict in the K8ssandraCluster's namespace instead.

@adejanovski let me know if you agree with this approach, and with the locations in the code where I've proposed changes. I haven't worked on the Medusa Controller extensively, so your input is appreciated.

@burmanm thinks there might be a way to create replicas of the Medusa StorageSecretRef without needing to add a new name-namespace type selector to identify the secret.
We are going to catch up about this next week to see if we can progress this work.

Closing as I no longer think this is required.


Bluetooth: HCI: Use lower-case values for bus and quirks in devicetree

It's more common (and more readable) convention to use lower-case names for string-based device tree property values. Convert the HCI bus and quirks to follow this convention. Also take advantage of the recently added support for string-array enums to enforce that the correct values are used.

Note: I got the inspiration from https://github.com/zephyrproject-rtos/zephyr/pull/79634


Add inline documentation to examples

I think it would be valuable to add some inline documentation to the example files to make it easier to get started with tower-lsp.
Especially a top level comment explaining what is being showcased in this example, as well as maybe client usage notes would be very useful.
I'd also be willing to help with this if you want to add it.

Sure, that sounds like it would be a great addition! Provided that the documentation isn't too heavy to the point of distraction and focuses primarily on explaining "why" and "how" behind the API, of course. Pull requests are always welcome and appreciated in this regard!
However, now that I think about it, perhaps it might be even more valuable to improve the rustdoc output for the crate by fleshing out the prose and adding inline Rust examples there rather than annotating the crate examples. Any thoughts on this?

I think you're right on both points, not adding too much documentation is a good idea and improving the API doc itself would be valuable!


Submission 20210102-ict

Hi there, can you please get in touch with us regarding this submission? We need to sort out issues regarding frequency of submission: https://github.com/microsoft/MSMARCO-Document-Ranking-Submissions/#frequency-of-submission
Is there an email we can reach you at?

Hi there, can you please get in touch with us regarding this submission? We need to sort out issues regarding frequency of submission: https://github.com/microsoft/MSMARCO-Document-Ranking-Submissions/#frequency-of-submission
Is there an email we can reach you at?

Hi there, can you please get in touch with us regarding this submission? We need to sort out issues regarding frequency of submission: https://github.com/microsoft/MSMARCO-Document-Ranking-Submissions/#frequency-of-submission
Is there an email we can reach you at?

yeah, my email is url.
thanks

Hi there, can you please get in touch with us regarding this submission? We need to sort out issues regarding frequency of submission: https://github.com/microsoft/MSMARCO-Document-Ranking-Submissions/#frequency-of-submission
Is there an email we can reach you at?

yeah, my email is url.
thanks

Hi there, can you please get in touch with us regarding this submission? We need to sort out issues regarding frequency of submission: https://github.com/microsoft/MSMARCO-Document-Ranking-Submissions/#frequency-of-submission
Is there an email we can reach you at?

Hi Jimmy,
My PR commented  5 days ago hasn't been resolved yet. I've replied to you immediately after geting your email. To make sure you have received my response, I resent you yesterday.
Thanks

Hi there, can you please get in touch with us regarding this submission? We need to sort out issues regarding frequency of submission: https://github.com/microsoft/MSMARCO-Document-Ranking-Submissions/#frequency-of-submission
Is there an email we can reach you at?

Hi Jimmy,
My PR commented  5 days ago hasn't been resolved yet. I've replied to you immediately after geting your email. To make sure you have received my response, I resent you yesterday.
Thanks


Add SolMoon to token list

[x] I will not ping the Discord about this pull request.

Please provide the following information for your token.
Please include change to the src/lib/.json and in the PR
At minimum each entry should have

Token Address: Gro98oTmXxCVX8HKr3q2tMnP5ztoC77q6KehFDnAB983
Token Name: SolMoon
Token Symbol: SOLMO
Logo: https://i.ibb.co/MSMcv41/Sol-Moon-logo.png
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

No going back, go go go

Is there an error in our code?


index.html 404 page not found

Hi,
I tried to install WexFlow .Net Core on windows. I run install.bat and run.bat. But I got error "404 nancy" like this issue  . I close run.bat and I run on IIS express (backend folder), appeared login page and I fill out user/password but submit button did not work, nothing happened. When I double clicked it's opened file:///D:/.../backend(index.html on browser.

Open the backend by opening the web page Backend\index.html on a browser.
To open the backend, go to "Backend" folder and double-click on the file "index.html".


Preserve XCTest class naming convention

Test files should be named:
<namespace>_<heading>Tests.swift

Currently, this is:
<namespace>_<heading>.swift

Fixed in 5c41f405272f7a8851dc4f957c6bee66c7b8a095


Load balance endpoint form doesn't validate inline endpoint xml

Description:
In the Load Balance Endpoint form, any text can be added as an inline endpoint without validating the XML. If invalid XML is added and the file is saved, the form will not correctly display the endpoint value the next time it is opened.

Note : Local entry XML form has this validation.

Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The inline is just for backward compatibility. We do not encourage users to use it.


Kernel Parameters

Hi,
I am currently implementing a custom kernel and facing problems with the gradients' computation: dL_dK is an NxN matrix (for N data points) whereas dK_dtheta should be N^2 x M, for M parameters.
Do the kernels support multidimensional parameters or only scalars? For instance, is it possible that the 'variances' parameter of the Linear kernel is a 2x2 array for  2-dim data?
In that case what are the dimensions of the return value of update_gradients_full()?
Thank you in advance for your help.

Great to hear you are implementing new kernels, we are always happy for a pull request if the kernel if of interest to the community.
Is it a stationary kernel you are implementing?
The variance parameter is usually a scalar, except for the linear kernel (to my knowledge). The input dimensionality can be taken into account for example for the lengthscale parameter of the ARD kernel.

On 30. Jun 2018, at 18:20, yhalk<EMAIL_ADDRESS>wrote:
Hi,
I am currently implementing a custom kernel and facing problems with the gradients' computation: dL_dK is an NxN matrix (for N data points) whereas dK_dtheta should be N^2 x M, for M parameters.
Do the kernels support multidimensional parameters or only scalars? For instance, is it possible that the 'variances' parameter of the Linear kernel is a 2x2 array for 2-dim data?
In that case what are the dimensions of the return value of update_gradients_full()?
Thank you in advance for your help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for your reply! No, it is not a stationary kernel.
I am trying to implement the kernel by Gal,Ghahramani, 2015, as described here:

(sigma is a non-linear function),
where I would prefer to have a QxP dimensional w, rather than a scalar.


Import missing annotations on RTE images

As a DS
I want to import the remaining annotations
So that everything RTE has done is inside Picsellia
Acceptance Criteria:

[ ] The missing annotations are imported into a Dataset Version

Definition of Done:

[ ] All acceptance criteria are met.

Waiting for @n7-Thomas for the update_metadata SDK method


Allow to easily rename multiple nodes

I wanted this for a long time. The batch rename dialog is an overkill for such basic operation 😒

Putting as draft, because undo is broken.

Undo error fixed, but I had to do a little refactoring.

Is it possible to rename an interleaved selection? Like:
node2, node6, node8, node9 -> Test, Test2, Test3, Test4?

So I took a look at it, the code seems great and straight forward, I don't have any problem with the implementation. But while doing the worst i could to make it break I did found a few bug and strange behaviour I'll try to order them from most important to sidenotes that are not really important and might only be a personnal point of view.

When editing multiple node. StringPath will be badly updated which isn't a case when editing element one at a time. But this also happens with Batch edit so maybe it is okay to have a bug with this here too. (I'm not sure it has been reported yet for Batch Edit). it feels like the rename function is not designed to have multiple rename in the same frame
You can edit outside the list by going to a node with the arrows. This is not a problem in general but will make strange behavior especially since there is not enough readability. For example, if you select a node you rename it you then go down with the arrow and rename this other node and unfortunately the previous node is also renamed at the same time. I think if the node is outside of the selection it should not rename selected nodes.
When changing the name of one node to an empty string it will rename the node to the name of its class but this behavior was not reimplemented in multi edit so it will just rename everyone from the name of the class being edited instead of their own class.
Edit disappear from popup when multiple node are selected since we are adding a particular behavior on this it might be a good idea to make it reappear maybe with a slightly modified name. Simple Batch Edit? Multi-edit ?
After multi editing the inspector will edit the first node instead of the batch of node
When modifying the name to the name of the focused node it won't rename any of the node as the name of the focused node didn't change. It might be problematic if someone is editing the property of a batch of node and then want to rename the nodes and just paste a value and nothing happens. Right now you have to either unselect the node modify and then reselect your node to continue with your edition of those nodes or set the value to something arbitrary and then setting to the value you want.
Right now it feels like we are only editing the focused node. I’m not sure how to improve it :(

What is StringPath 🤔
See this issue: #12544 If you move within nodes of the same type, the nodes are correctly deselected
Makes sense
Makes sense
The inspector is consistent with what is selected after rename, so it's not really a problem
I'll see if it can be fixed easily
The PR was inspired by Windows' file explorer, which also behaves like this

sorry for first one it is NodePath. I will make a different bug issue. I think the solution does not need to be in this PR as the problem is also present in Batch Edit and most likely the solution should be in both. I'll look if the issue already exists. If it does not I will create it. If it does I will update this with a link to it.
okay so it was just another bug
N/A
N/A
N/A
N/A
That's why i placed it last as i didn't have any idea how to make it better and didn't have any other example of similar behaviour, if you feel it is easily understandable by most people than i think it's okay

Rebased after #76376
I reworked the code using the new methods and it's now simpler.
I tested different cases and it works correctly, but seems to break node paths in very specific cases .-. Maybe it's something that could be fixed later, idk.

@ajreckof Would you be interested in doing the changes you requested? I rebased and tested the PR and it still works. If I understand correctly, it might have some inconsistencies with batch rename, but right now it's in mergable state and this can be improved in a follow-up.

Which bugs?

My bad I misremembered the suggestions I don't know why :( forget what I said. Modifications are even easier.

here are the modifications I suggested on top of the last commit you pushed : https://github.com/KoBeWi/godot/compare/million_of_names...ajreckof:godot:millions-of-names?expand=1

I actually tried doing your reverse list suggestion (before I wrote my comment), and it led me to the same result:
https://github.com/godotengine/godot/assets/2223172/504ce0de-9dc6-4a40-adac-b3cd8a8edef3
The nodes are named in reverse. That's not an expected behavior.

I know it will be named in reverse see https://github.com/godotengine/godot/pull/69087#discussion_r1231515895 the fact is this is already the case with batched rename so I think it would be better to first make it like that so that it is consistent and create a second PR that will fix the order of the renames in both cases. If you really wish to add it here I would then also fix the batch rename side too.

I'd rather make the naming correct and your changes + related fixes can be done in a follow up.

I'd rather make the naming correct and your changes + related fixes can be done in a follow up.

That seems okay I would still include my suggestion of removing the _renamed function and calling directly the rename_node function with the right parameter as what is done in _renamed is already done in rename node

Uh can you make a separate patch for that? >_>

of course here is the updated patch https://github.com/KoBeWi/godot/compare/million_of_names...ajreckof:godot:millions-of-names?expand=1

I think this feature could coexist with the existing batch rename dialog #15928. However, from a UX perspective, it would be beneficial if, instead of just displaying one LineEdit for the first selected node, we could display LineEdits for all selected nodes and update changes as we type.

we could display LineEdits for all selected nodes and update changes as we type

Indeed, it's not possible without some nasty hacks and workarounds. Not really an issue in my opinion, but it may hurt discoverability.

we could display LineEdits for all selected nodes and update changes as we type

Indeed, it's not possible without some nasty hacks and workarounds. Not really an issue in my opinion, but it may hurt discoverability.
For this to be more discoverable both Rename and Batch Rename should be available on the popup menu when selecting multiple nodes but that remains to be seen later.

strange see how I proposed it here https://github.com/godotengine/godot/pull/69087#issuecomment-1508856354 and it was said to be resolved here https://github.com/godotengine/godot/pull/69087#issuecomment-1509010046 but effectively when I test it isn't appearing

I think this feature could coexist with the existing batch rename dialog #15928. However, from a UX perspective, it would be beneficial if, instead of just displaying one LineEdit for the first selected node, we could display LineEdits for all selected nodes and update changes as we type. However, the limitation of the current system only allows editing one node at a time. Therefore, I believe it is impossible to achieve.

see for better context : https://github.com/godotengine/godot/pull/69087#issuecomment-1508918621

I fixed the missing Rename option for multiple nodes.

Fixed.

When the root is selected it will not rename it and start from the next one.

https://github.com/godotengine/godot/pull/69087#issuecomment-1974940415

Thanks!


Array of mapped generic type allows invalid object assignments

TypeScript Version:  2.9.0-dev2.0180402

Search Terms: mapped generic type array
Code
enum Fruits {
    Mango = 0,
    Banana = 1
}

interface IFruitMetadata<T> {
    [Fruits.Mango]: T;
    [Fruits.Banana]: T;
}

const onSale1: IFruitMetadata<boolean>[] = [{
    [Fruits.Banana]: 22,
    [Fruits.Mango]: 32,
}];

const onSale2: Partial<IFruitMetadata<boolean>>[] = [{
    [Fruits.Banana]: 22,
}];

Expected behavior:
Both assignments have compile errors (number not assignable to boolean) (This is the behavior on 2.7.2)
Actual behavior:
Only the unmapped type assignment has a compile error.
Playground Link
Related Issues:

The problem is that Partial<IFruitMetadata<boolean>> is {}. Simplified example:
const enum E { A }
interface I { [E.A]: number; }

type T = { [K in keyof I]: boolean }; // Fails

type Bools<T> = { [K in keyof T]: boolean };
type B = Bools<I>; // No error, returns {}

Duplicate of https://github.com/Microsoft/TypeScript/issues/13042.

keyof I should be never really. but that is a different bug.


nanoGPT experiment

Hi, your work is very interesting! I especially like that you showed the results on CIFAR-10 and nanoGPT.
I was wondering if you were planning to release the code for the nanoGPT experiment?

Hello @AwesomeLemon,
Thank you for finding our work interesting. Yes, we will add it very soon, thanks for pointing out that it is missing.


kexec_kernel only exports the pool containing the selected BE

We do a good job of cleaning up ZFS mounts throughout ZBM, mounting and unmounting only around the specific parts where we need filesystem access. We are not so careful with r/w pool imports (and cannot be, unless we want to annoy users with endless encryption prompts). Once a pool is imported r/w, it stays that way unless explicitly reimported.
In kexec_kernel, we export the pool containing the selected BE if that pool is mounted r/w. Best practice is probably to loop through all pools and export every r/w pool before doing the final kexec. This might require some care in case one or more exports fail or, if possible, the kexec were to fail.

The work for this is staged in the logging branch.

Closed in https://github.com/zbm-dev/zfsbootmenu/commit/45d00665c57715efa72215f61990e4c45fd68939


Bot stopped working

Bot stop saving notes and responding to commands a couple of days ago, any idea why? :(

@jagr21 please, check, it should be live from now. There was a problem with domain name (it was expired)

@jagr21 please, check, it should be live from now. There was a problem with domain name (it was expired)

Can confirm it's working again, thanks!

Still not working. "text accepted", but not saved.


linker command failed with exit code 1 (use -v to see invocation)

linker command failed with exit code 1 (use -v to see invocation)
installing this pod broke my project

Hi! I'll check and fix asap.
D
Den tis 2 apr. 2019 20:13wbdeedcoin<EMAIL_ADDRESS>skrev:

linker command failed with exit code 1 (use -v to see invocation)
installing this pod broke my project
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danielsaidi/Tutti/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaPZ1iZlvvcZGMrR_9FmWUbuvnWpm9Aks5vc53CgaJpZM4cYz4O
.

We are using the latest version in our next release. Which Tutti version do you use? Please note that the latest version is built for Swift 5.

I had to pod deintegrate. It broke my whole project.
I have xcode 10.1 and swift 5.
I cd into project root.
pod init
and added the pod lines
then ran pod install
And when I relaunched Xcode I got the linker error.
I'll try again today.
Could you provide a pod example file and dir structure in the install instructions? Maybe I installed wrong.

You must use Xcode 10.2 to get Swift 5 support. Using Xcode 10.1 is probably what's causing the problem.


Fix RBD CephArgs string test for userid

The strContainsClient function is spliting characters instead of words
and not correctly determining if a user has been defined.

@codenrhoden We reviewed the changes for CephArgs and believe we have found a defect.

Codecov Report

Merging #1083 into master will increase coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1083      +/-   ##
=========================================
+ Coverage   34.19%   34.5%   +0.31%
=========================================
  Files          36      36
  Lines        2901    2901
=========================================
+ Hits          992    1001       +9
+ Misses       1806    1796      -10
- Partials      103     104       +1

Impacted Files
Coverage Δ

...storage/drivers/storage/vfs/storage/vfs_storage.go
40.28% <0%> (+2.15%)
:arrow_up:

Continue to review full report at Codecov.

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

I can confirm that @mvollman is correct.
Here a quick test: https://play.golang.org/p/hZ3XrrOsTR
Causing rexray to fail: #1091

@mvollman Thanks again for pointing this out.
Since this PR needs to be rebased before it can be merged, I'd like to ask for the following...
Please move the strContainsClient function from storage/rbd_storage.go to utils/utils.go, and then make it a public function by renaming it to StrContainsClient. Then, add a testcase for the function in utils/utils_test.go.
I tested this out with the following patch and things looked good:
git diff libstorage/drivers/storage/rbd
diff --git a/libstorage/drivers/storage/rbd/storage/rbd_storage.go b/libstorage/drivers/storage/rbd/storage/rbd_storage.go
index 07effe2..e4475d9 100644
--- a/libstorage/drivers/storage/rbd/storage/rbd_storage.go
+++ b/libstorage/drivers/storage/rbd/storage/rbd_storage.go
@@ -2,7 +2,6 @@ package storage

 import (
        "regexp"
-       "strings"

        gofig "github.com/akutz/gofig/types"
        "github.com/akutz/goof"
@@ -50,7 +49,7 @@ func (d *driver) Init(ctx types.Context, config gofig.Config) error {
        d.config = config
        d.defaultPool = d.config.GetString(rbd.ConfigDefaultPool)
        cephArgs := d.config.GetString(rbd.ConfigCephArgs)
-       if cephArgs == "" || !strContainsClient(cephArgs) {
+       if cephArgs == "" || !utils.StrContainsClient(cephArgs) {
                d.multiPool = true
        }
        ctx.Info("storage driver initialized")
@@ -493,15 +492,3 @@ func (d *driver) parseVolumeID(name *string) (*string, *string, error) {
        pool := d.defaultPool
        return &pool, name, nil
 }
-
-// Search str arg for flags that can set a Ceph client id/name
-func strContainsClient(arg string) bool {
-       fields := strings.Split(arg, "")
-       for _, s := range fields {
-               switch s {
-               case "--id", "--user", "-n", "--name":
-                       return true
-               }
-       }
-       return false
-}
diff --git a/libstorage/drivers/storage/rbd/utils/utils.go b/libstorage/drivers/storage/rbd/utils/utils.go
index fe4a8d3..951c27b 100644
--- a/libstorage/drivers/storage/rbd/utils/utils.go
+++ b/libstorage/drivers/storage/rbd/utils/utils.go
@@ -424,3 +424,15 @@ func RunCommand(
        }
        return nil, exitStatus, goof.Newe(err)
 }
+
+// Search str arg for flags that can set a Ceph client id/name
+func StrContainsClient(arg string) bool {
+       fields := strings.Split(arg, " ")
+       for _, s := range fields {
+               switch s {
+               case "--id", "--user", "-n", "--name":
+                       return true
+               }
+       }
+       return false
+}
diff --git a/libstorage/drivers/storage/rbd/utils/utils_test.go b/libstorage/drivers/storage/rbd/utils/utils_test.go
index ca56ca6..33f7d43 100644
--- a/libstorage/drivers/storage/rbd/utils/utils_test.go
+++ b/libstorage/drivers/storage/rbd/utils/utils_test.go
@@ -75,3 +75,47 @@ func TestParseMonitorAddresses(t *testing.T) {
                assert.True(t, test.ip.Equal(ip[0]))
        }
 }
+
+func TestArgsClient(t *testing.T) {
+       tests := []struct {
+               args    string
+               present bool
+       }{
+               {
+                       args:    "--id myuser",
+                       present: true,
+               },
+               {
+                       args:    "--user myuser",
+                       present: true,
+               },
+               {
+                       args:    "-n client.myuser",
+                       present: true,
+               },
+               {
+                       args:    "--name client.myuser",
+                       present: true,
+               },
+               {
+                       args:    "--cluster cluster2",
+                       present: false,
+               },
+               {
+                       args:    "--cluster cluster2 --id ceph",
+                       present: true,
+               },
+       }
+
+       for _, tt := range tests {
+               tt := tt
+               t.Run("", func(st *testing.T) {
+                       st.Parallel()
+                       b := StrContainsClient(tt.args)
+                       if b != tt.present {
+                               t.Errorf("detection of client in cephArgs: %s incorrect, got: %v want: %v",
+                                       tt.args, b, tt.present)
+                       }
+               })
+       }
+}

This way we have a testcase for this function to protect against my silly mistakes. Since you uncovered the error and proposed the fix, I want to make sure you get the credit.


[Shadowrun 5th Advanced] fix delete and import of contacts

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[x] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

No steps to preserve player data where taken.


Some thoughts about data sync

We can use java reaction programming model to do the whole data sync, thus we can use some reactive database like mongoDB or some relational reactive database middle ware like R2DBC to construct a pipeline from soul admin to soul gateway, when some data changed in soul admin database, the propagation of data changing will handled by soul gate way to maintain data consistency, however It seems like It is not doable based on current project, because the whole project is mature and It is  hard to test. I just wanna propose my perspective on data sync in soul.
BTW, java reactive programming is not the mainstream in china, and It is difficult to change the mindset of traditional Java. So Is it worth to spend time learning it?

The problem of data consistency exists all the time, but in my opinion, the final consistency can be achieved by soul. High performance requires sacrifice.

The problem of data consistency exists all the time, but in my opinion, the final consistency can be achieved by soul. High performance requires sacrifice.

Don't worry, Reactor  code is the future

Don't worry, Reactor  code is the future


Update version & SIGNATURE_KEY to v<IP_ADDRESS>.111

Update version & SIGNATURE_KEY to v<IP_ADDRESS>.111

You'll need to also update the version number and the experiments

You'll need to also update the version number and the experiments

That's right

How do you capture the experiments? I can't seem to find it in the requests made here.

Nevermind, I saw it now. If I understand this correctly you would at least need:

APP_VERSION: Sent on every request at the end of the user-agent header.
APP_VERSION_CODE: Sent on every request after Instagram in user-agent header.
SIGNATURE_KEY: Should be possible to find using frida or debugger (no success for me)
supported-capabilities.json: All the keys and values sent in POST body key supported_capabilities_new to https://i.instagram.com/api/v1/feed/reels_tray/.
EXPERIMENTS: Sent to https://i.instagram.com/api/v1/qe/sync/, should happen when you login.
capabilitiesHeader: Sent on every request in the x-ig-capabilities header.

Nevermind, I saw it now. If I understand this correctly you would at least need:

APP_VERSION: Sent on every request at the end of the user-agent header.
APP_VERSION_CODE: Sent on every request after Instagram in user-agent header.
SIGNATURE_KEY: Should be possible to find using frida or debugger (no success for me)
supported-capabilities.json: All the keys and values sent in POST body key supported_capabilities_new to https://i.instagram.com/api/v1/feed/reels_tray/.
EXPERIMENTS/LOGIN_EXPERIMENTS: Sent to https://i.instagram.com/api/v1/qe/sync/, should happen when you logout/login?
capabilitiesHeader: Sent on every request in the x-ig-capabilities header.

hi, can you give me your email? i want you to ask a few questions about capturing Instagram requests.


Added support for XINFO commands

Closes #998
Closes #999

coverage: 77.861% (+0.3%) from 77.6% when pulling 1c1a6a7e0da17a0c4f70e1bc768835c9519fcd3b on vladvildanov:vv-xinfo-commands into 90da582efc88d5168fa126f1c3527733d81690eb on predis:v2.x.


modify the prometheus.yml file to add new job

Hi
I am trying to edit prometheus targets in /prometheus/conf/prometheus .yml but the prometheus  container did not take the modification. I also try to make volume from /prometheus/conf/prometheus .yml to etc/prometheus/prometheus .yml but it didn't wotk .
1 - prometheus file in /prometheus/conf/prometheus .yml
global:
scrape_interval:     15s
evaluation_interval: 15s
external_labels:
monitor: 'promswarm'
rule_files:

"swarm_node.rules.yml"
"swarm_task.rules.yml"

alerting:
alertmanagers:

static_configs:

targets:

alertmanager:9093

scrape_configs:

job_name: 'prometheus'
static_configs:

targets: ['localhost:9090']

job_name: 'dockerd-exporter'
dns_sd_configs:

names:

'tasks.dockerd-exporter'
type: 'A'
port: 9323

job_name: 'cadvisor'
dns_sd_configs:

names:

'tasks.cadvisor'
type: 'A'
port: 8080

job_name: 'node-exporter'
dns_sd_configs:

names:

'tasks.node-exporter'
type: 'A'
port: 9100

job_name: 'centos_node_exporter'
static_configs:

targets: ['<IP_ADDRESS>:9100']

2 - prometheus file in the prometheus container /etc/prometheus/prometheus.yml
global:
scrape_interval:     15s
evaluation_interval: 15s
external_labels:
monitor: 'promswarm'
rule_files:

"swarm_node.rules.yml"
"swarm_task.rules.yml"

alerting:
alertmanagers:

static_configs:

targets:

alertmanager:9093

scrape_configs:

job_name: 'prometheus'
static_configs:

targets: ['localhost:9090']

job_name: 'dockerd-exporter'
dns_sd_configs:

names:

'tasks.dockerd-exporter'
type: 'A'
port: 9323

job_name: 'cadvisor'
dns_sd_configs:

names:

'tasks.cadvisor'
type: 'A'
port: 8080

job_name: 'node-exporter'
dns_sd_configs:

names:

'tasks.node-exporter'
type: 'A'
port: 9100

@oBaqazi You'll need to edit docker-compose.yml and add the prometheus.yml file in (2) places inside, a total of (4) lines. Take a look at the configs: section near the top that defines the Docker config metadata, and then look for the configs: section of the prometheus: service definition, you'll see other config label and file examples there to copy to have swarm propagate your file into a container when it's brought up using the 'docker config ls' mechanism.

Also, a volume mounted at ./local_dir:/prometheus/conf would replace everything in that directory, probably not what you want. Either use a Docker config to get your local single file into your container at a specified location, or put your files into ./local_dir and map them into the container in a different place (e.g. /prometheus/local_config) and then modify the docker-compose.yml prometheus: command:  - '--config.file=/etc/prometheus/prometheus.yml' to match your new config file.
Also see https://github.com/swarmstack/swarmstack which has the exact config: lines to cut-n-paste to bring a local prometheus.yml file into your container.

Thank you sir ,  it works


[Feature Request] Autosync to cloud storage.

The app currently can transfer data to and from a CSV file. It would be great if the app can periodically sync the data with a cloud storage provider like Google drive, Dropbox, One drive etc.

Also Nextcloud/Owncloud would be good


Update Money component to use individual props

See the changelog for more information.

Holding off on this for now. I'll just close the PR


Hide overflow in y-axis in all pages

Overflow is hidden in x axis only, but there is no need to have a scroll bar in the calculator pages. Would like to hide the overflow in y-axis also so that the website looks better .
@Srijita-Mandal , I would like to work on this issue under JWOC.

Okay.


Validation does not work.

Validation API does not function.

I had the same problem. try adding name="files" to the directive. like this.
<form name="testForm">
  <lf-ng-md-file-input name="files" lf-maxcount="10" lf-filesize="1MB"></lf-ng-md-file-input>

the name="files" is used in the form error validation call.

testForm is the name of the form <form name="testForm"> and files is the name of the directive inside the form. Chained together with $error

I tried this, but it does not work.
This is how the mark up look like, what am i missing ?
 <lf-ng-md-file-input style="margin-bottom:50px;" name="files" lf-files="projectImage" lf-required lf-browse-label="Upload Image" lf-placeholder="Pick Image" lf-remove-label="Remove" lf-drag-and-drop-label="Drag and drop your project image here !" drag preview></lf-ng-md-file-input>

Please upload a project image.

Image size too large.

This file is not accepted.

<form name="testForm" layout="column" ng-submit="onSubmit()">
      <lf-ng-md-file-input name="files" lf-files="files05" lf-browse-label="Search" lf-remove-label="Delete" lf-drag-and-drop-label="Drag and Drop here!" lf-maxcount="1" lf-filesize="1MB" lf-totalsize="5MB" drag preview progress multiple type="file" fileread="" accept=".xls,.xlsx,.ods" multiple="false"></lf-ng-md-file-input>

Too many files.

File size too large.

Total size too large.

Mimetype error.

 <md-button class="md-raised md-button md-ink-ripple md-accent" type="submit" ng-disabled="testForm.$invalid">Submit</md-button>
  </form>

make sure your form has a name to. and add the angular-messages module to your app.
In index.html

app.js
angular.module('myApp', [
    "lfNgMdFileInput",
    "ngMessages"
])

The upload does not update $dirty or $pristine or $touched fields for element. This way you're forced to show errros all the time on page, not only on submit or change.

Any update on the set $pristine thing?????


async method lacks 'await' operators and will run synchronously

1>c:\RehanBoiler\StudentsSample_V2\Services\Feed\FeedService.cs(181,51,181,59): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Thanks for raising this. This warning is intentional, it's up to you to fill in that method (most likely using an await statement somewhere) and then the warning will go away.


docker-cloud create fails, while pasting it in UI succeeds

Information here:
https://forums.docker.com/t/docker-cloud-stack-complains-about-bad-format/8422/1

I installed the latest version from master commit d2e86e3 locally.
docker-cloud-bug.yml
someservice:
  image: ubuntu
  environment:
    SOME_COOL_ENV: "db286f7=15)#33$3(n(uq*(q4)ohcn!sx(gs^i#0%1t7j$t3#2"

And then when running stack create:
✗ .vedockercloud/bin/docker-cloud stack create -n bug -f docker-cloud-bug.yml
Bad format of the stack file(docker-cloud-bug.yml): Invalid interpolation format for "environment" option in service "someservice": "db286f7=15)#33$3(n(uq*(q4)ohcn!sx(gs^i#0%1t7j$t3#2"

I have drilled down the problem to the $-signs in the environment string. However, there should be possibility to allow a dollar sign somehow, it might be a part of a password or similar. I tried escaping, but no success... :/

The docker-cloud CLI implements the docker-compose method of evaluating environment variables within compose files (you will notice you cannot run that compose file with docker-compose either). You will have to escape $ with $$ if you use the CLI for creating the compose stack from there.

Yes, I saw that when I looked into the code. However, I think better error message to the user would be a good enhancement. Such as: Environment variable substitution $asdf without asdf being present in environment. If $ is part of your environment value, escape $ as $$

Sure, would you mind opening an issue on https://github.com/docker/compose/issues?


[Question] What is the limitaton of characters option?

The characters option can be others like<PHONE_NUMBER>?

It needs to be 62 unique characters.

I see, thanks.
And what is the largest number when encoding and decoding with $integer = true?
I tried some values, it looks like the max number is about PHP_INT_MAX / 5.5
>>> PHP_VERSION
=> "7.1.8"
>>> function_exists("gmp_init")
=> true
>>> use Tuupola\Base62Proxy
>>> $fun = function ($number) {
...     $number = (int) $number;
...     $encoded = Base62Proxy::encode($number);
...     $decoded = Base62Proxy::decode($encoded, true);
...     $same = $number === $decoded;
...     return compact('number', 'encoded', 'decoded', 'same');
... }
=> Closure {#776
     parameters: {
       $number: {},
     },
   }
>>>
>>> $fun(123456)
=> [
     "number" => 123456,
     "encoded" => "W7E",
     "decoded" => 123456,
     "same" => true,
   ]
>>> $fun(PHP_INT_MAX)
=> [
     "number" =><PHONE_NUMBER>854775807,
     "encoded" => "AzL8n0Y58i7",
     "decoded" =><PHONE_NUMBER>854775559,
     "same" => false,
   ]
>>> $fun(PHP_INT_MAX/6)
=> [
     "number" =><PHONE_NUMBER>809129216,
     "encoded" => "1pYWSpl0r6e",
     "decoded" =><PHONE_NUMBER>809129216,
     "same" => true,
   ]
>>> $fun(PHP_INT_MAX/5)
=> [
     "number" =><PHONE_NUMBER>370955264,
     "encoded" => "2CGcxOuPpMg",
     "decoded" =><PHONE_NUMBER>370955202,
     "same" => false,
   ]
>>> $fun(PHP_INT_MAX/5.5)
=> [
     "number" =><PHONE_NUMBER>973595648,
     "encoded" => "1zsZPopHqKm",
     "decoded" =><PHONE_NUMBER>973595648,
     "same" => true,
   ]
>>> $fun(PHP_INT_MAX/5.4)
=> [
     "number" =><PHONE_NUMBER>676810240,
     "encoded" => "22AnqhjLcKA",
     "decoded" =><PHONE_NUMBER>676810178,
     "same" => false,
   ]
>>> $fun(1686976733973595648)
=> [
     "number" =><PHONE_NUMBER>973595648,
     "encoded" => "20cN1QVk7Aw",
     "decoded" =><PHONE_NUMBER>973595586,
     "same" => false,
   ]

Maybe this is a bug?

I also tried dev-master, it is the same as 0.8.0

It seems pure PHP encoder for some reason has limit of PHP_INT_MAX - 248. GMP and BcMath encoders handle full PHP_INT_MAX too.
print $data = PHP_INT_MAX - 248;
print "\n";

print $encoded = (new Tuupola\Base62\PhpEncoder)->encode($data);
print "\n";
print $encoded2 = (new Tuupola\Base62\GmpEncoder)->encode($data);
print "\n";
print $encoded3 = (new Tuupola\Base62\BcmathEncoder)->encode($data);
print "\n";
print $encoded4 = (new Tuupola\Base62)->encode($data);
print "\n";

print (new Tuupola\Base62\PhpEncoder)->decode($encoded, true);
print "\n";
print (new Tuupola\Base62\GmpEncoder)->decode($encoded2, true);
print "\n";
print (new Tuupola\Base62\BcmathEncoder)->decode($encoded3, true);
print "\n";
print (new Tuupola\Base62)->decode($encoded3, true);
print "\n";

/*
9223372036854775559
AzL8n0Y58i7
AzL8n0Y58i7
AzL8n0Y58i7
AzL8n0Y58i7
9223372036854775559
9223372036854775559
9223372036854775559
9223372036854775559
*/

It seems pure PHP encoder seems to fails with some numbers, such as<PHONE_NUMBER>370955264.

Autoselecting always defaulted to PHP encoder even when GMP was available. This is fixed now in master.

But when to autoselect BcmathEncoder ? Maybe the fixer should be like:
if (extension_loaded('gmp')) {
    $this->encoder = new Base62\GmpEncoder($this->options);
} elseif (extension_loaded('bcmath')) {
    $this->encoder = new Base62\BcmathEncoder($this->options);
} else {
    $this->encoder = new Base62\PhpEncoder($this->options);
}

I tested more. Yes, GMP and BCMath are OK.
Sometimes, there is an orderly error using PhpEncoder, like:
:heavy_check_mark: PHP_INT_MAX - 255
:heavy_multiplication_x: PHP_INT_MAX - 255 - (1 ... 61)
:heavy_check_mark: PHP_INT_MAX - 255 - 62
:heavy_multiplication_x: PHP_INT_MAX - 255 - 62 - (1 ... 61)
:heavy_check_mark: PHP_INT_MAX - 255 - 62 - 62
:heavy_multiplication_x: PHP_INT_MAX - 255 - 62 - 62 - (1 ... 61)

The key problem is this line:
$digit = (integer) ($accumulator / $target_base);

division between big integer can not be trusted. In my system, it is only safe if the integer number has a length less than 16.
So this issue is because of the PHP float precision, I suggest PhpEncoder should be removed.

Pure PHP encoder will be fixed instead. BCMath encoder is much slower than the PHP encoder so there is no point autodetecting it. User can still instantiate it manually if there is a reason to use it. BCMath encoder is included mostly for curiosity.

Fixed in 0.9.0. Thanks for the heads up!

Well done 🎉


Getting data from the API

Getting meme image data from the API mentioned in README.md and displaying meme images in the imageview, and make sure to add functionality to move to next meme image.

I would like to work on this.
Could you assign me this ?

I would like to work on this. Could you assign me this ?
@CH1NRU5T  Yeah you can work on this issue and read the readme and contributing.md before contributing.

#6  fixes #3


Add Unit tests for RefSet.

A small refactoring in evaluator.js that I had forgotten also went in to this pr. If you want I can separate it to another pr. It is a trivial change anyway.
The unit tests are the main thing.

@pdfjsbot test

Interesting failure. For me it does not fail with or without this change. Perhaps the reference should be recreated?

@pdfjsbot test

Interesting failure. For me it does not fail with or without this change. Perhaps the reference should be recreated?

Let's not recreate the reference. Attempting to investigate the cause....
@pdfjsbot test


#130 Change the ngrinder-recorder guide link

Reject. You should make direct link to release page in the ngrinder menu.

This issue is unnecessary now.


4.2 - Invalid route action: [Reports\Packages\Invoiceannexes\Index] after creating a new crud structure with enso:cli

This is  a possible bug.

Prerequisites

[x] Are you running the latest version? enso 4.2, php 7.4.11
[x] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/laravel-enso)
[x] Did you check the documentation?
[x] Did you perform a cursory search?

Description

The plan was to create a new crud structure and add its menus into a fresh laravel-enso 4.2.
Installing 4.2 was fine, no problem.
Following the official documentation I was able to create:

Preparing menu structure before creating migration/new crud structure.
Creating new crud structure, which basically only should shows a content in a table.

After creating the new crud and adding the Route::middleware(['api', 'auth', 'core']).... to the routes/api.php the migration failed with the following error message:

laravel@ensodev:/var/www/laravel$ php artisan migrate

   UnexpectedValueException

  Invalid route action: [Reports\Packages\Invoiceannexes\Index].

  at vendor/laravel/framework/src/Illuminate/Routing/RouteAction.php:91
     87▕      */
     88▕     protected static function makeInvokable($action)
     89▕     {
     90▕         if (! method_exists($action, '__invoke')) {
  ➜  91▕             throw new UnexpectedValueException("Invalid route action: [{$action}].");
     92▕         }
     93▕
     94▕         return $action.'@__invoke';
     95▕     }

  • `Reports\Packages\Invoiceannexes\Index` was not found: Controller class `Reports\Packages\Invoiceannexes\Index` for one of your routes was not found. Are you sure this controller exists and is imported correctly?

      +8 vendor frames
  9   routes/api.php:43
      Illuminate\Support\Facades\Facade::__callStatic()

      +3 vendor frames
  13  routes/api.php:52
      Illuminate\Routing\RouteRegistrar::group()

I expected the process could complete without error, even customizing the generated files.
Or did I miss something?
Steps to Reproduce

Complete process log to follow the creation of a new crud structure using enso:cli
laravel@ensodev:/var/www/laravel$ php artisan enso:cli
Create a new Laravel Enso Structure

Current configuration status:
Model ✗
Permission Group ✗
Permissions ✗
Menu ✗
Files ✗
Package ✗

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 0

Model configuration:
name =>

 Configure Model (yes/no) [no]:
 > App/Reports/Packages/Invoiceannexes

Current configuration status:
Model ✗
Permission Group ✗
Permissions ✗
Menu ✗
Files ✗
Package ✗

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 0

Model configuration:
name =>

 Configure Model (yes/no) [no]:
 > y

 name:
 > App/Reports/Packages/Invoiceannexes

Current configuration status:
Model ✓
Permission Group ✗
Permissions ✗
Menu ✗
Files ✗
Package ✗

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 1

Permission Group configuration:
name =>

 Configure Permission Group (yes/no) [no]:
 > y

 name:
 > reports.packages.invoiceannexes

Current configuration status:
Model ✓
Permission Group ✓
Permissions ✗
Menu ✗
Files ✗
Package ✗

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 2

Permissions configuration:
index => ✗
create => ✗
store => ✗
show => ✗
edit => ✗
update => ✗
destroy => ✗
initTable => ✗
tableData => ✗
exportExcel => ✗
options => ✗

 Configure Permissions (yes/no) [no]:
 > y

 index (yes/no) [no]:
 > y

 create (yes/no) [no]:
 >

 store (yes/no) [no]:
 >

 show (yes/no) [no]:
 > y

 edit (yes/no) [no]:
 >

 update (yes/no) [no]:
 >

 destroy (yes/no) [no]:
 >

 initTable (yes/no) [no]:
 > y

 tableData (yes/no) [no]:
 > y

 exportExcel (yes/no) [no]:
 > y

 options (yes/no) [no]:
 > y

Current configuration status:
Model ✓
Permission Group ✓
Permissions ✓
Menu ✗
Files ✗
Package ✗

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 3

Menu configuration:
name =>
icon =>
parentMenu =>
route =>
order_index => 999
has_children => ✗

 Configure Menu (yes/no) [no]:
 > y

 name:
 > Invoiceannexes

 icon:
 > car

 parentMenu:
 > Reports.Packages

 route:
 > index

 order_index:
 > 100

 has_children (yes/no) [no]:
 >

Current configuration status:
Model ✓
Permission Group ✓
Permissions ✓
Menu ✓
Files ✗
Package ✗

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 4

Files configuration:
model => ✗
structure => ✗
routes => ✗
views => ✗
form => ✗
table => ✗
options => ✗

 Configure Files (yes/no) [no]:
 > y

 model (yes/no) [no]:
 > y

 structure (yes/no) [no]:
 > y

 routes (yes/no) [no]:
 > y

 views (yes/no) [no]:
 > y

 form (yes/no) [no]:
 > y

 table (yes/no) [no]:
 > y

 options (yes/no) [no]:
 > y

Current configuration status:
Model ✓
Permission Group ✓
Permissions ✓
Menu ✓
Files ✓
Package ✗

Will generate:
model
structure
routes
views
form
table
options

 Choose element to configure:
  [0] Model
  [1] Permission Group
  [2] Permissions
  [3] Menu
  [4] Files
  [5] Package
  [6] Generate
  [7] Toggle Validation
  [8] Exit
 > 6

Copy and paste the following code into your api.php routes file:

<?php

use Illuminate\Support\Facades\Route;

Route::middleware(['api', 'auth', 'core'])
    ->group(function () {
        Route::namespace('Reports\Packages\Invoiceannexes')
            ->prefix('reports/packages/invoiceannexes')
            ->as('reports.packages.invoiceannexes.')
            ->group(function () {

		Route::get('', 'Index')->name('index');
		Route::get('initTable', 'InitTable')->name('initTable');
		Route::get('tableData', 'TableData')->name('tableData');
		Route::get('exportExcel', 'ExportExcel')->name('exportExcel');

		Route::get('options', 'Options')->name('options');
		Route::get('{invoiceannexes}', 'Show')->name('show');

        });
    });

laravel@ensodev:/var/www/laravel/routes$ cat api.php
<?php

use App\Http\Controllers\Dashboard\ChartController;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\Facades\Route;

// example data for the dashboard
Route::middleware(['web', 'auth'])
    ->namespace('Dashboard')
    ->prefix('dashboard')->as('dashboard.')
    ->group(function () {
        Route::get('line', [ChartController::class, 'line'])
            ->name('line');
        Route::get('bar', [ChartController::class, 'bar'])
            ->name('bar');
        Route::get('pie', [ChartController::class, 'pie'])
            ->name('pie');
        Route::get('doughnut', [ChartController::class, 'doughnut'])
            ->name('doughnut');
        Route::get('radar', [ChartController::class, 'radar'])
            ->name('radar');
        Route::get('polar', [ChartController::class, 'polar'])
            ->name('polar');
        Route::get('bubble', [ChartController::class, 'bubble'])
            ->name('bubble');
    });

Route::middleware(['auth', 'core'])
    ->group(function () {
        // add your local routes
    });

Broadcast::routes(['middleware' => ['auth:sanctum']]);

Route::middleware(['api', 'auth', 'core'])
    ->group(function () {
        Route::namespace('Reports\Packages\Invoiceannexes')
            ->prefix('reports/packages/invoiceannexes')
            ->as('reports.packages.invoiceannexes.')
            ->group(function () {

		Route::get('', 'Index')->name('index');
		Route::get('initTable', 'InitTable')->name('initTable');
		Route::get('tableData', 'TableData')->name('tableData');
		Route::get('exportExcel', 'ExportExcel')->name('exportExcel');

		Route::get('options', 'Options')->name('options');
		Route::get('{invoiceannexes}', 'Show')->name('show');

        });
    });

laravel@ensodev:/var/www/laravel$ php artisan migrate

   UnexpectedValueException

  Invalid route action: [Reports\Packages\Invoiceannexes\Index].

  at vendor/laravel/framework/src/Illuminate/Routing/RouteAction.php:91
     87▕      */
     88▕     protected static function makeInvokable($action)
     89▕     {
     90▕         if (! method_exists($action, '__invoke')) {
  ➜  91▕             throw new UnexpectedValueException("Invalid route action: [{$action}].");
     92▕         }
     93▕
     94▕         return $action.'@__invoke';
     95▕     }

  • `Reports\Packages\Invoiceannexes\Index` was not found: Controller class `Reports\Packages\Invoiceannexes\Index` for one of your routes was not found. Are you sure this controller exists and is imported correctly?

      +8 vendor frames
  9   routes/api.php:43
      Illuminate\Support\Facades\Facade::__callStatic()

      +3 vendor frames
  13  routes/api.php:52
      Illuminate\Routing\RouteRegistrar::group()

Just for the record, the correct route namespace should be full path, like this:
App\Http\Controllers\Reports\Packages\Invoiceannexes
So, the file routes/api.phpshould contains the following:
Route::middleware(['api', 'auth', 'core'])
    ->group(function () {
-        Route::namespace('Reports\Packages\Invoiceannexes')
+        Route::namespace('App\Http\Controllers\Reports\Packages\Invoiceannexes')
            ->prefix('reports/packages/invoiceannexes')
            ->as('reports.packages.invoiceannexes.')
            ->group(function () {

                Route::get('', 'Index')->name('index');
                Route::get('create', 'Create')->name('create');
                Route::post('', 'Store')->name('store');
                Route::get('{invoiceAnnexes}/edit', 'Edit')->name('edit');

                Route::patch('{invoiceAnnexes}', 'Update')->name('update');

                Route::delete('{invoiceAnnexes}', 'Destroy')->name('destroy');

                Route::get('initTable', 'InitTable')->name('initTable');
                Route::get('tableData', 'TableData')->name('tableData');
                Route::get('exportExcel', 'ExportExcel')->name('exportExcel');

                Route::get('options', 'Options')->name('options');
                Route::get('{invoiceAnnexes}', 'Show')->name('show');
        });
    });

In this case the error message is gone, but other problems appear:

it seems the show, edit, delete buttons does not work for rows
excel export, create are working
writing route directly into the browser, edit is working, but show does not work

It seems the enso:cli is not really up to date.

Clicking on the edit button, the browser url shows: http://domain.tld/  and in the console I got this error message:
Error: Route Error: "invoiceAnnexes" key is required for route "reports.packages.invoiceannexes.edit"
    at i.throwMissingKeyError (chunk-vendors.ef3142e0.js:53)
    at i.optionalParam (chunk-vendors.ef3142e0.js:53)
    at i.fillParam (chunk-vendors.ef3142e0.js:53)
    at chunk-vendors.ef3142e0.js:53
    at String.replace (<anonymous>)
    at i.fillParams (chunk-vendors.ef3142e0.js:53)
    at i.buildUrl (chunk-vendors.ef3142e0.js:53)
    at i.get (chunk-vendors.ef3142e0.js:53)
    at a.route (chunk-vendors.ef3142e0.js:1)
    at a.default (chunk-5add0ec2.1d7ead9f.js:1)

@pongraczi since the L8 upgrade we are no longer using the namespace helper in our routes, we use MyController::class and import the controller namespace. example

Ok, in this case the enso:cli and documentation should contain a warning, because all these issues appeared when I followed the documentation about how to create a CRUD
Thanks, now it is clear.

You are right, we will update it asap.


No module named 'ldm.models.diffusion.sampling_util'

Running the colab notebook fast-DreamBooth.ipynb. Training seems to complete fine, but running the UI produces:
Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 15, in <module>
    from modules import import_hook, errors, extra_networks, ui_extra_networks_checkpoints
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 6, in <module>
    from modules import shared, ui_extra_networks, sd_models
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 17, in <module>
    from modules.sd_hijack_inpainting import do_inpainting_hijack
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 14, in <module>
    from ldm.models.diffusion.sampling_util import norm_thresholding
ModuleNotFoundError: No module named 'ldm.models.diffusion.sampling_util'

try test running the notebook without the first cell

Had the same issue
Fix:

Rename /content/gdrive/MyDrive/sd/stable-diffusion-webui to /content/gdrive/MyDrive/sd/stable-diffusion-webui-old.
Reinstall dependencies.
New ...webui folder will be fixed and working.

This is annoying, I have to reinstall all the extensions

This is annoying, I have to reinstall all the extensions

Yes. How we deal with it @TheLastBen?  I guess all extension not work properly when we have to reinstall again?

Rename the current SD folder, then copy the extension back to the new SD folder


ng build Performance Has Degraded Significantly In Upgrade from Angular v12 -> v15

Command
build
Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
12.2.17
Description
I recently tried to upgrade our large enterprise application (~1300 components) from Angular v12 to v15. After the upgrade, I noticed that 'ng build'  times had increased from around ~13 mins on Angular v12 to 21 mins on Angular v15.
Here's my project configuration:
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"lodash",
"highcharts",
"moment-timezone",
"daterangepicker",
"jquery",
"wolfy87-eventemitter",
"css-element-queries",
"pdfmake/build/pdfmake",
"pdfmake/build/vfs_fonts",
"html2canvas",
"ipaddr.js",
"deepmerge",
"moment/moment",
"vis",
"messageformat"
],
"outputPath": "dist/my-app",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"preserveSymlinks": true,
"assets": [
"src/assets"
],
"styles": [
"./node_modules/please-wait/build/please-wait.css",
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/vis/dist/vis.css",
"./node_modules/fullpage.js/dist/jquery.fullpage.min.css",
"./node_modules/ag-grid-community/dist/styles/ag-grid.css",
"./node_modules/ag-grid-community/dist/styles/ag-theme-balham.css",
<EMAIL_ADDRESS>"./node_modules/angular-archwizard/archwizard.scss",
"./node_modules/daterangepicker/daterangepicker.css",
"style.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"src/assets/sass"
]
},
"scripts": [
"./node_modules/.../script1.js",
"./node_modules/.../script2.js",
"./node_modules/.../script2.js",
]
},
"configurations": {
"production": {
"outputHashing": "none",
"buildOptimizer": true,
"optimization": false,
"sourceMap": false,
"aot": true
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true,
"aot": false,
"progress": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "my-app:build:development",
"port": 3000
},
"configurations": {
"production": {
"browserTarget": "my-app:build:production"
},
"development": {
"browserTarget": "my-app:build:development"
},
"defaultConfiguration": "development"
}
},
Command used: node --max-old-space-size=16384 ./node_modules/@angular/cli/bin/ng build
Minimal Reproduction
I wasn't able to reproduce issue in a smaller application and am unable to share our code base.
Exception or Error
No response
Your Environment
Angular CLI: 15.0.4
Node: 16.19.0
Package Manager: yarn 1.22.19
OS: win32 x64

Angular: 15.0.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1500.4
@angular-devkit/build-angular   15.0.4
@angular-devkit/core            15.0.4
@angular-devkit/schematics      15.0.4
@angular/cdk                    15.0.3
@angular/flex-layout            15.0.0-beta.42
@angular/material               15.0.3
@schematics/angular             15.0.4
rxjs                            6.6.0
typescript                      4.8.4

Anything else relevant?
No response

Attaching cpu profile
cpuprofile.zip

Some of these profiles appear to indicate that a lot of time spent in SCSS compilation, although there's also a lot of waiting for background worders to complete. It's impossible to judge where time is spent now compared to where time used to be spent in v12.
Please be aware that using a custom builder (@angular-builders/custom-webpack:browser) is not supported by the Angular team, although I gather from #24634 (also yours) that this does occur with the stock builder as well.

Can you please update to the latest stable version of @angular-devkit/build-angular and check if the problem persists?

Some of these profiles appear to indicate that a lot of time spent in SCSS compilation, although there's also a lot of waiting for background workers to complete. It's impossible to judge where time is spent now compared to where time used to be spent in v12.
Please be aware that using a custom builder (@angular-builders/custom-webpack:browser) is not supported by the Angular team, although I gather from #24634 (also yours) that this does occur with the stock builder as well.

I had actually removed the usage of the custom builder before I had performed the profiling. I've updated the angular.json config above to reflect what was used.

Can you please update to the latest stable version of @angular-devkit/build-angular and check if the problem persists?

I upgraded to v15.2.1 and there was some improvement in the ng build times. It's now taking ~17 mins (down from 21 mins). It's still 4 minutes slower than Angular v12.

It's now taking ~17 mins (down from 21 mins)

Dear god, that's an insane length of time. Might I ask how it's so long?
I thought 25 seconds is way too long already.

It's a large application with about ~1300 components

@clydin I saw some efforts towards integrating esbuild into the toolchain, but seems to have been pretty quiet for a couple of weeks. Is this something that's planed? The pain of slow builds I would like to see go away one day

I did some investigation and noticed that the NgccProcessor.process() method takes a lot longer for Angular v15 over v12. It's about 9 mins on v15 and 2.5 mins on v12. This is just run once on a clean node_modules directory.
Subsequent build times are comparable on v15 and v12.

Hi @fearghalom, indeed NGCC is taking a considerable amount of time. Are there a lot of libraries that require NGCC?

Hi Alan, maybe 5 libraries. What I noticed is that the bulk of the time is spent determining the dependencies ( specifically host.collectDependenciesInFiles(rootFiles, dependencies); in ProgramBasedEntryPointFinder.getInitialEntryPointPaths() ). The processing of the legacy view engine libraries seems to take just about 10 seconds.

That is interesting as there hasn’t been amy changes in NGCC.

Hi @alan-agius4, I profiled the main-ngcc.js with the following command arguments:
node --cpu-prof<EMAIL_ADDRESS>--source .\node_modules --properties es2020 es2015 browser module main --first-only --create-ivy-entry-points --async --tsconfig .\tsconfig.app.json --use-program-dependencies
CPU.20230313.105243.34684.0.001.cpuprofile.zip

Our Angular project package.json file is read 637,823 times while ngcc is run (specifically in ModuleResolver.isEntryPoint()).

Can you please share your tsconfig file?

tsconfig.app.txt
tsconfig.txt

tsconfig.app.txt
tsconfig.txt

I suspect the performance issue is due to the paths settings. I am not too sure what you are trying to achieve, but that is an awful loot of lookup for every module.
{...
  "paths": {
    "*": [
      "node_modules/*",
      "src/ng_app/src/main/ts/*",
      "src/meta/src/main/ts/*",
      "src/*",
      "src/infra/src/main/ts/*",
      "src/common/dist/src/main/ts/*",
      "src/common_generated/dist/src/main/ts/*",
      "src/comm/dist/src/main/ts/*",
      "src/comm_generated/dist/src/main/ts/*",
      "src/query/dist/src/main/ts/*",
      "src/domain_model/dist/src/main/ts/*",
      "src/domain_model_generated/dist/src/main/ts/*",
      "src/requests_generated/dist/src/main/ts/*"
    ]
  }

I suspect the performance issue is due to the paths settings. I am not too sure what you are trying to achieve, but that is an awful loot of lookup for every module.
{...
  "paths": {
    "*": [
      "node_modules/*",
      "src/ng_app/src/main/ts/*",
      "src/meta/src/main/ts/*",
      "src/*",
      "src/infra/src/main/ts/*",
      "src/common/dist/src/main/ts/*",
      "src/common_generated/dist/src/main/ts/*",
      "src/comm/dist/src/main/ts/*",
      "src/comm_generated/dist/src/main/ts/*",
      "src/query/dist/src/main/ts/*",
      "src/domain_model/dist/src/main/ts/*",
      "src/domain_model_generated/dist/src/main/ts/*",
      "src/requests_generated/dist/src/main/ts/*"
    ]
  }

You can disable NGCC from processing all the files by setting the environment variable BAZEL_TARGET=1.

We don't use relative imports in our TS code but use Java like package imports instead. The path mapping allows us to do this. Some of the TS code directories can be 6 to 7 levels deep.
I can see from profiling, that the path mapping does indeed result in a large performance overhead in Angular v15. Angular v12 seemed to handle our project structure a lot better. I've patched @angular/compiler-cli locally and brought the ngcc time down to about 35 seconds from around 10 minutes.


Change Tracker: Enable using backing fields

It is possible to configure an entity to have a getter-only property that has a backing field. The Query Pipeline will write to this field when creating entity instance. For most cases, the ChangeTracker only needs to read property values, but there are some value propagation cases where we need to set property values (generated properties, FK propagation, etc.). We should enable the ChangeTracker to use the backing field for these cases.

:+1:
This would be a great feature and I currently suspect I am getting bizarre behavior due to the change tracker not being able to use getter-only properties.

Question. Will this work if the backing field is of a different type? I'm using a pattern for validation where I wrap strings and ints in a class that checks for valid input, and allows me to change the format of the input in a simple way. Today this doesn't work so well with EF Core.
Example:
public class Email {
  public Email(string email) {
    if (!invalidEmail) {
      throw new IllegalOperationException("invalid email");
    }

    this.Email = email;
  }

  public string ToString() {
    return Email.Trim();
  }

  public string Email { get; set; }
}

public class Model {
  string email;
  public Email Email {
    get { return email == null ? null : new Email(email); }
    set { email = value.ToString(); }
  }
}

The backing field is here of a different type than the public property, but would this work when this issue has been dealt with?

@Skinney I think they would all need to be the same. I think what you really want is type conversion so that EF can handle a string from the database mapping to your Email type.

Triage: I think we should do this in 1.1


.eslint config throws error when opening repo in Atom

I was browsing the latest 1.0 alpha just a moment ago and when I launched the project in Atom an error was thrown due to linter-eslint not being able to find extends: eslint-config-airbnb anywhere in my path.  Just a heads up; not sure if there's anything I can do to tell eslint to ignore extensions locally.

This can be fixed by the changing all the rules in the form
"react/jsx-uses-react": 2,

To
"react/jsx-uses-react": [2],

Is this an atom bug? Is something wrong here?

I saw this as an unmet dependency issue with the repo, but looking fresh in the morning I see that eslint-config-airbnb is in package.json and so it is indeed an issue with Atom (or the plugin).  Will close and file issue there.  Thanks!

The exact same thing happens for me in Sublime Text 3 with SublimeLinter-contrib-eslint.

Of we replace the extends value in .eslintrc with something like:
"extends": "./node_modules/eslint-config-airbnb/node_modules/airbnb-style/linters/.eslintrc"

everything works fine.


kdeApplications.kaccounts-integration: unbreak derivation

Motivation for this change
Unbreaks evaluation.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thank you!

Thank you!


perf(services): lazy create all services

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines
[x] Tests for the changes have been added/updated (for bugfix/feature)
[x] Docs have been added/updated (for bugfix/feature)

PR Type
What kind of change does this PR introduce?

[ ] Feature (a new feature)
[ ] Bugfix (a bug fix)
[ ] Style (changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc))
[x] Refactor (a code change that neither fixes a bug nor adds a feature)
[x] Perf (a code change that improves performance)
[ ] Test (adding missing tests or correcting existing tests)
[ ] Build (changes that affect the build system, CI configuration or external dependencies)
[x] Chore (anything else), please describe:

What is the current behavior?

What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
Fixes #497.

This is very strange what the coverage decrease.
I was clearly not thinking that it would cause this 😞

After checking some cases it seems very not possible.
Example: https://codecov.io/gh/Sonia-corporation/il-est-midi-discord/pull/734/src/src/features/firebase/services/firebase-guilds.service.ts?before=src/features/firebase/services/firebase-guilds.service.ts
The coverage says that throw new Error(Collection not available); is never called.
Checking the tests and multiple successful tests are expecting the same throw.

I suspected the mocks but this is not even the case in this file!


Added number-guessing game in Python

Added Number-Guessing Game in Python Folder

Thank you for your contribution!
Regards,
Gantavya Malviya ( https://linktr.ee/gantavyamalviya )

Please change the directory and make a valid .py file if you want to contribute to Python directory.


FirebaseInstanceID integration tests

NOTE: currently the tests are failing because of most likely a server issue. It supposed to be fixed before the PR merge.

I temporary disable a failing test so the PR can be submitted earlier to leverage the rest of the tests for testing other PRs.

@paulb777 see the PR demonstrating the integration tests disabled for forks.

The referenced PR link has failing Installations tests?

@paulb777 Right, the PR doesn't have Installations changes now. Are you fine with a separate PR since it's been like this for a while?


Bug: wallet_watchAsset cannot read properties of undefined (reading 'dappLogoURL')

Describe the bug
Trying to track an asset as described in the documentation throws the following error " cannot read properties of undefined (reading 'dappLogoURL')
Steps

Try to track an asset using the steps described in the docs: https://docs.cloud.coinbase.com/wallet-sdk/docs/tracking-assets
The following error is shown in the console: "Cannot read properties of undefined (reading 'dappLogoURL')"

Expected behavior
Tracking an asset works
Version
3.3.0
Additional info

Desktop

Browser: Chrome 102.0.5005.115 / Brave 1.39.112
Coinbase wallet browser extension 2.19.0

Smartphone
No response

Bug

I am unable to reproduce this issue.
Can you provide a code snippet and the details for the custom token you are attempting to add?

@taycaldwell seems like the issue is no longer reproducible with the latest Coinbase wallet browser extension (v2.21.3)

Thanks for closing. This was fixed in version 2.20 or 2.21.


iOS speed is always returned -1

🐛 Bug Report

Expected behavior
${position.speed.toInt()} => Always returns -1.
Reproduction steps
Widget build(_) {
    Size size = MediaQuery.of(context).size;
    return StreamProvider<Position>.value(
      value: getPositionStream(),
      builder: (c, wd) {
        return Consumer<Position>(
          builder: (_, position, __) {
            if (position == null) return SizedBox();

.....
.....

  Row buildRow(Position position) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        Icon(FontAwesome.arrow_left,
            size: 44, color: Colors.grey.withOpacity(0.3)),
        **buildRichText(label: "${position.speed.toInt()}"),**
        Icon(FontAwesome.arrow_right,
            size: 44, color: Colors.grey.withOpacity(0.3)),
      ],
    );
  }

Configuration
Version:  geolocator: ^6.1.7
Platform:

[ x] :iphone: iOS

Hi! This is something from the iOS location library, when the provided location is not from the GPS itself, but it is calculated using the Wi-Fi, the internet signal (3G, 4G...) or the phone reception. Something like the Fused Location API does in the Android.
I suggest you to try it in a physical device under the open sky and make sure you are using the accuracy High. After a while, you should see the real speed.

@daniloapr thank you for explaining the issue to the OP. I will close the issue for now if there are any questions or other concerns place post them here and I would be glad to reopen the issue.


[phpstorm-stubs] fix openssl_random_pseudo_bytes return type

According to https://www.php.net/manual/en/function.openssl-random-pseudo-bytes.php this function returns string only since PHP 7.4 already. I could also find a changelog entry on
https://www.php.net/ChangeLog-7.php#PHP_7_4

openssl_random_pseudo_bytes() now throws in error conditions.

I wanted to double-check via php-src, but couldn't find the right place in the 7.4 tag and wasn't a 100% sure. maybe you want to still double-check this somehow if possible

@herndlm Thank you for the contribution!


Clarify OCP and support options

Address some feedback:

Update the intro page to include OCP in the title and at the bottom of the page to direct NVAIE customers to NVIDIA support and others to Red Hat support.
Add OCP into the title for these pages to orient the reader:

Prereqs
Inst and Upg Overview
Inst NFD
Inst GPU Op

@francisguillier, no rush on my part, but PTAL when you get a chance.

thanks Mike. These changes look good to me.
1 request that NVEX team emitted was to create a shortcut in the standard GPU operator page (https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/latest/getting-started.html)
that would redirect to the OpenShift GPU operator page (https://docs.nvidia.com/datacenter/cloud-native/openshift/latest/index.html)
One of the reason was customer went to the first page and then installed GPU operator using Helm commands on an OpenShift cluster.
If the customer was aware there is an another procedure to deploy GPU operator on OpenShift, they would not commit this mistake.


Fix pre-commit isort hook failure for docs subdir.

See #4805

Hello @arnaudgelas! Thanks for updating this PR.

In the file pytorch_lightning/metrics/metric.py:

Line 126:13: W503 line break before binary operator
Line 216:17: W503 line break before binary operator
Line 217:17: W503 line break before binary operator

In the file pytorch_lightning/utilities/apply_func.py:

Line 33:33: E231 missing whitespace after ':'

Hello @arnaudgelas! Thanks for updating this PR.

In the file pytorch_lightning/metrics/metric.py:

Line 126:13: W503 line break before binary operator
Line 216:17: W503 line break before binary operator
Line 217:17: W503 line break before binary operator

In the file pytorch_lightning/utilities/apply_func.py:

Line 33:33: E231 missing whitespace after ':'


Update the right syntax for flag '--window-size'

As per its original implementation: https://cs.chromium.org/chromium/src/headless/app/headless_shell_switches.cc?l=109
PR #91 partially implemented the change, I've just amended it in the missing places.

@adieuadieu this one should be OK for merging. #91 can be closed afterwards.

Thank you, @gvarisco!


IPT test mode

Hi!
We 've faced an issue trying to publish dataset in the ipt test mode in order to test them through BioCheck.
It keeps giving us this message for 2 different datasets. And when I tried to delete rows until line 99 it says that has empty lines and then again the same problem when the datasets do not seem to be in incorrect format.Let me know if you have any idea!

Also, do you know in which term of DWC terms should be the "station number"? Is it ok to be placed as verbatim locality?
Thank you very much!

Thank you for contacting us.
Looks like this issue https://github.com/gbif/ipt/issues/2231

The issue has been fixed in the 3.0.1. In prior versions you could use text files or URL data sources instead of Excel as a workaround


only fail INVALID format when it's set as that

fixes hyprwm/Hyprland#8790
edit:
it think fixes #117 also

default is DRM_FORMAT_INVALID
so on first connect, rule says disabled, HL commits with no buffer or format set, which is fine since it's a disable commit
but it fails because the default is DRM_FORMAT_INVALID, so drm: No format for output

shouldnt we check for a format then only if it's enabled and not only if format committed?

yeah your right


Too few elements in array (expected at least 5)

In the latest rnsvg (9.2.4), I get this error. Tracing the error, it appears that the RNSVGCGColor function expects an array of 5+ elements for the color, but the extractBrush (extractColor) function returns an array of length 2.
For example, if I provide a stroke color (stroke: "rgba(0, 0, 0, 0.3)"), the extractBrush returns [0,<PHONE_NUMBER>], leading to the below screenshot.

Looks like it's probably related to this commit: https://github.com/react-native-community/react-native-svg/commit/1c518c98960629dd9fc81d8ec89b3229f68bf108

Can you try rebuilding your native bundle? The changes to the js and native logic were done in sync. This means you must be using old native or js logic with new native or js logic to be able to get this type of error. (new js with old native obj-c code in this case)

i have the same issue with version 9.2.4
i remove application from emulator and removed react-native-svg from node_modules after that i tried to fix by:
npm install
npm start -- --reset-cache
react-native run-ios
but i've got the same error

Can you open the project in xcode, clean the build, and build again? Seems your native code didn't update

I think my issue is related to expo/expokit. It doesn't update the native dependencies. I thought I could work around it, but it looks like I was wrong...

clean build doesn't help
we are migrated to cocoapods project and bug resolved

This issue was closed without a solution. How does one resolve this issue if using Expo?

You use the version of react-native-svg that comes built into expo. And if you need a newer version, you either eject from expo or request them to upgrade the dependency.

I am having this issue, and I am working on an ejected project. Cleaning the build in XCode did not help.

Try removing your node_modules, clear caches, install, and run again.

I can confirm that this issue is resolved by cleaning and re-building the iOS app after upgrading. Removing node_modules isn't enough; you need to remove all iOS build output. git clean -fdx is the nuclear approach, but there are gentler options. 😄

For those of you who can upgrade (not using Expo), the only full proof way for us that worked was following these exact steps:

Close Xcode
Delete app from phone
Re-clone the repo
Run yarn in root
cd ios; pod install --repo-update
Start packager with npm run start -- --reset-cache
Open project in Xcode (remember to open the .xcworkspace and NOT the .xcodeproj)
Clean (cmd-shift-k)
Build (cmd-r)
Pray to Xcode
Celebrate

For those of you who can upgrade (not using Expo), the only full proof way for us that worked was following these exact steps:

Close Xcode
Delete app from phone
Re-clone the repo (I said it would work - not be short and sweet)
Run yarn; cd ios; pod install --repo-update; cd ..; npm run start -- --reset-cache in root of project
Open project in Xcode (remember to open the .xcworkspace and NOT the .xcodeproj)
Clean (cmd-shift-k)
Build (cmd-r)
Pray to Xcode
Celebrate

worked perfect for me. Thanks man!

Having the same issue with 9.4, tried everything in this thread. Reverted to 8.0.11 and it's working again. Error was even occurring with a blank SVG element with no components in it and no colors defined.

This can only happen if you had upgraded either the js or native code, but not the other. The clearing builds/caches/node modules, reinstall, rebuild, and try again.

After upgrading and running pod install, I had forgotten to rebuild/reinstall the ios app with react-native run-ios.
Now I don't see the error any more :)

I'm having this same error, from a clean install upgrading from 8.0.10 -> ^9.13.2 I was thinking it was from my .svg even and the homer example looks like this. Any more fullproof way of determining if it really is a .js vs. native code incompatibility/upgrade issue?

@spacesuitdiver Make a clean project and try there: https://github.com/react-native-community/react-native-svg#unexpected-behavior
react-native init CleanProject
cd CleanProject/
yarn add react-native-svg
cd ios && pod install && cd ..
Make a reproduction of the problem in App.js
react-native run-ios
react-native run-android

Well, I can confirm it's something related to my project using only my Podfile it works fine in a new RN project on 0.59.10...
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'CleanProj' do
  pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga/yoga.podspec'
  pod 'React', path: '../node_modules/react-native', subspecs: [
    'Core',
    'CxxBridge',
    'DevSupport',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket',
  ]

  # React Native third party dependencies podspecs
  pod 'DoubleConversion', :podspec => "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  pod 'RNSVG', :path => '../node_modules/react-native-svg'
end

Will keep poking around.

For those of you who might have ran into this, I did a few things to ultimately get the RNSvg product to recompile, I have no idea where or how it was cached, it's rather frightening honestly.

If you are on legacy build system switch to new build system in workspace settings
For fun because I was going to debug the package I added RNSvg I added it to my scheme to build AT THE TOP like so, your product will be below.

I had the same issue and the problem was that the class Text was imported from svg module and not from "react-native"

For those of you who can upgrade (not using Expo), the only full proof way for us that worked was following these exact steps:
....
8. Pray to Xcode
...

i don't have proof but neither have doubts about this step.


AbstractFakeFileSystem is not thread safe

Class member AbstractFakeFileSystem.entries uses a simple HashMap (not ConcurrentHashMap).
For this reason I get ConcurrentModificationException when running in parallel.

Available in MockFtpServer version 3.1.0


travis builds using cibuildwheel for Linux wheels

Summary
This PR adds linux wheel builds to python-fcl, as discussed in this trimesh pr. Currently it is successfully building the wheels on manylinux docker images, across python 2.7, 3.5, and 3.6. It creates the binary wheels using cibuildwheel which can then be set to automatically upload the wheels to pypi. The point of this is so that a pip install python-fcl will not require the user to have the right build environment including the exactly correct versions of fcl and libccd. As python-fcl develops, the versions of fcl and libccd used in these builds can be updated and checked by travis for compatibility in this repo. OSX and Windows builds aren't set up in this PR, but could be in the future as they are supported by cibuildwheel.
At the moment the basic build process looks something like

install gcc
install cmake 2.8.12 (manylinux1 is centos5 based, which has cmake 2.8.11 which is too old for FCL)
clone the specific commits of fcl and libccd (in requirements/clone.bash)
build and install libccd and fcl
cibuildwheel builds and packages everything into a wheel for multiple versions of python

Things that still need to be done

enable travis on this repo

set up .travis.yml for automatic pypi deployment

remember to bump fcl/version.py every time you make a change

set up builds for OSX (should be pretty similar to manylinux)

set up windows builds (eesh- maybe not for a while)

fix or understand why test_pairwise_continuous_collisions is reliably failing. I suppressed it for now. (IE https://travis-ci.org/mikedh/python-fcl/builds/290950906):
Python 2.7

FAIL: test_pairwise_continuous_collisions (test_fcl.TestFCL)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/project/test/test_fcl.py", line 129, in test_pairwise_continuous_collisions
 self.assertTrue(result.is_collide)
AssertionError: False is not true

This is awesome, man! :) This is a huge help. I'll take a look at the pairwise continuous collisions bug today or tomorrow. Otherwise, is this pretty much ready to merge?

Haha thanks! Yeah this should be good to merge, the travis builds were succeeding on my fork. In the travis logs it looked like cibuildwheel was also finding all the shared libraries it should have (libccd and libfcl) and putting them in the wheel too, which is kind of impressive.
It was definitely quite the journey of self discovery. Though once I started doing the local test builds with the docker image instead of committing and waiting half an hour for travis to fail on something dumb it got a lot easier. If you're playing around with it I'd highly recommend testing locally 😛

Will do, I'll let you know if any local tests fail :) Thanks a million for this, man! Also, I went ahead and added you as a contributor, so you'll have write access and such.
Best,
Matt

No problem! And thanks for setting up the auto deploy and travis so quickly! Watching the build upload the wheels automatically was pretty glorious.
I just installed FCL on my laptop through the wheels on pypi, they worked like a champ, tests in fcl / trimesh.test_collisions both looked good.

Awesome, great to hear! This'll be a huge help for easing installs. I'll look at adding OS X builds as soon as I have time as well :)