Shortening message in workload create/update/apply help output

Pull request

What this PR does / why we need it
Changing message in workload create/update/apply to shorten it for flags which value can be specified multiple times
Which issue(s) this PR fixes

Fixes #106
Describe testing done for PR

Additional information or special notes for your reviewer

Correction of previous PR
Check #109 for more info

Signed-off by: Wendy Arango<EMAIL_ADDRESS>

LGTM - Thank you Wendy!
validation:
tanzu apps workload create -h | grep multiple
      --annotation "key=value" pair    annotation is represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
      --build-env "key=value" pair     build environment variables represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
      --env "key=value" pair           environment variables represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
      --label "key=value" pair         label is represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
      --param "key=value" pair         additional parameters represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
      --service-ref object reference   object reference for a service to bind to the workload "database=rabbitmq.com/v1beta1:RabbitmqCluster:my-broker" ("database-" to remove, flag can be used multiple times)


[Addition]: 14 Pisces miners only witnessing themselves Stansbury, UT

Hotspot b58 Addresses
Wallet Address: 132zYwY9C7JGV8vMZLerxMmLEvCKSX3mwnU6QKeyQNNtnDqDTEh
Discord Handle
mb#0424
Reason(s)
I already reported 8 of these on Saturday, looks like the same wallet has added 5 more. Same issue all 14  only witnessing themselves. Can't we please require locations be asserted while blue tooth connected to miners while at the same time the app requires GPS connection to verify physical assertion?

Good stuff. You'll need to list the hotspot's b58 addresses to have them considered for the denylist, and also provide a bit more evidence of what you think they are doing wrong. E.g. if you think they are not witnessing others - you need to demonstrate that.
The addresses for 11 of these (set A) are:
112F2co6LqTZcupLcVrPnLgC36kAEgsTu5LnxQMiuN3nE1mdK584
112gqBUbxhki9E7aYzatzVW12TjcskHVqKtVKMYBHSGanG6dLYUA
112evrR4honqE6GMe5JwE7pZe1qWjXwx6qPDTCigfPR8ig3vWEma
112ddbgBPuibQsArb2pV8XkNDt2gAM83F5oPVaM1oTecJiTPP6hc
112fMFXvfz25DXYLfB1pP9xqrukYU3FnCjQxoNjS6mx7Tz136JX9
112FVPDGk4wcjdqnGCqJqtSwviUD9AsUho7EoFcyjHcNtMHnH453
112dbCZQ3CxUA4yW5caGkw6Rv8DQhrDuVhgfXFczFg5AmdFELyNb
112GkHS8e1WsrAbGnxuWfuYeYHg8Dvv4nwJovfUDCHVDa8VQ1py5
112dANiXWC4KVBfvzgVfh72ggBr6UvetqowN8Us3WdEyTbb3nCrC
112GvoTEQLVZzgTccPYJFUGf7eqRVy1dytWgeZ3v9bqVHwNXSgw4
112D4xGGE8aQCNDPnbKw9BDTRvkrtjJiT6TSnvyrXeM7KSqXG4hu
They seem to be in 2 clusters, 11 are in 'Set A' that only witness themselves and not the true local network. The remaining 3 I think are newly asserted so it's hard to say what they are doing, but it would be extremely suspicious if they are in the same wallet
Set A 11 HS with 5 witness iterations:

The true local network (which they do not witness):
2 witness iterations from 11jv2aGFjTX61V2VZof2RpkyemTpmf8dcocATndHHqwfGWpWEah

Using https://github.com/ADDIX-io/helium-clustertool

Any advise for how to properly submit one of these requests? It's very frustrating because this one spoofer essentially scaled our entire community and many of my own hotspots by more than 50% in a single hour all because they are cheating. How do I show proof they are only witnessing each other so they can get taken down as soon as possible, isn't that what you've already done with your mapping above? I didn't spend 20k to buy hotspots, wait for 8 months to receive them then work my butt off to get them placed at legitimate host locations in key area's that have no coverage to then in a single instant get everything scaled by a scammer and then not be able to have them taken off the network immediately once they are identified.

b58 addresses are the hotspot addresses themselves - these are the things that get added to the denylist.
My impression is the denylist issues are actioned by a very small team of a few volunteers and then Nova's Chief Product Officer Abhay - who one might expect has quite a lot else to do. So I think they have very very little time to act on the large list of raised issues. This is why there are so many outstanding - the currently allocated team is just far too small to be able to process the scale of gaming that is going on, and it's not clear to what extent they even have tools to help them check the submissions.
You might well wonder why things work in this way. Surely they would hire a customer support agent or two you might think? But I guess even a $200M investment surely can't go far with current San Francisco wages? If you think this current situation is perhaps not an ideal way of dealing with rampant organised gaming, might be worth raising it on Discord, but be prepared for some surpising responses.
Anyway. Long story short, you need to provide as much hard evidence as you can of gaming, such that a reviewer can quickly read and be confident your made a valid submission. AFAIK there's no additional 'internal' work that will be done to add to or validate this suggestion, it will either just be accepted or rejected.
Knowing what evidence to add and even what constitues 'cheating' is a puzzle, and there's no official guidance on this, or even feedback on the submissions. But for sure, your own say-so that 'I know they are not there and they look suspicious' is not enough.
Personally, for cheaters such as you've got here - a spoofed self-witnessing group - I think the best evidence is using the PoC mechanism that already exists, i.e. using PoC data to demonstrate the cluster do not witness the true local network - despite being in the middle of one. For sure there can be cases where a cluster might legitimately witness no others - say you setup in a totally new location, or in a valley or whatever. But otherwise, a cluster witnessing on its own in the midst of others is pretty solid evidence, and you don't have to worry about poor proxy measures like: are they all same brand, same db, etc - even the RSSI values etc can all be faked, so in my view not worth mentioning.
I don't know the best way to find this evidence, but one way is using this cluster analysis tool:
https://github.com/ADDIX-io/helium-clustertool
Which just requires a bit of googling & tinkering to setup (if you've no idea like me).
This allows you to show the witnesses this cluster has, and also the witnesses of the true local network (which you could trigger from your own hotspot address since you know it is legit).
There's also https://crowdspot.herokuapp.com/ which gives a cluster graph, but TBH I don't find it that helpful compared to the cluster tool above.
You might find this cluster you've flagged gets denied within days, or it might be months. If you are unhappy about this process I suggest raising your voice on Discord about it, you'll not be alone.
Worth noting this cluster is likely linked to the network of 1,000s of Pisces that have recently been flagged by a community group CTH Red Team (see recent submissions), and you'll see there are MANY such pisces clusters still unflagged in the US. You may also find this gamer takes their hotspots offline in response to the issue being raised - this seems to have happened with many of the European ones.
Good luck.

Thank you so much! Good information. You are right I was surprised by the response on got on Discord, everyone seamed to think that my idea of having the Helium App require phone GPS access while at the same time connected to the miner via Bluetooth in order to assert the location, could be easily faked as well (I'm not techie enough to know if that is true). To me though it would make the mass gaming harder (and even the not quite so criminal but still local gaming of guys just asserting a mile away etc.). But I got push back from folks that ship their miners all over to hosts because that would add additional set up steps for theirs hosts as they (the miner owners) wouldn't be able to assert them remotely themselves. I still think its a good idea. :)

PS hopefully the info provided in this issue is enough for a denial. But you may want to do more denylist additions in future as well.
I don't know, but I suspect the response to your specific suggestion may have been due to technical infeasibility. But there will be receptive ears for ideas to reduce gaming in general. Mass gaming generally isn't hard to spot, it's that it doesn't get dealt with in a timely manner that I suspect means they don't get discouraged.

I just observed the exact same thing in my small local cluster. I posted my finding today.  They don't seem to be steeling any of my legit activity, but they are making made bank and that probably takes away from the rest of us. I guess the gamers serve a purpose but it would be nice to know Helium knows about it and is working to stop it, even if it means only delivering data and no rewards, they could make it up later. Nobody is gonna dismantle there setup if they know it will be restored ASAP and with enhanced(lottery) awards.

KenD123, yes in my case this is super frustrating because they are scaling the entire community. My own hotspots within this area are getting scaled at a .40 whereas before this individual asserted all of these false locations I and the entire community were at 1.0 with no scaling (which the exception of a few overcrowded layer 8 hexes). Very frustrating and even more frustrating that the cheaters are getting better rewards than my legitimately installed hotspots. I wish when it is this obvious that they would get black listed within a day or two of the request. Honestly if they just hired 1 or 2 folks full time they could keep up with the list. Heck I'll do it and they can pay me in Helium.

I wish when it is this obvious that they would get blacklisted within a day or two of the request. Honestly if they just hired 1 > or 2 folks full time they could keep up with the list. Heck I'll do it and they can pay me in Helium.

Make a noise about it on Discord. Eventually, the message will get through that many in the community are not happy about blatant gaming being allowed to carry on for months even though it would be simple to massively curtail. The bottleneck is resource to act on the denylist backlog.

@maffoobell @KenD123
Don't be disheartened by a surprising lack of interest in this topic on Discord. Many people read but don't comment, and the more word is spread about the current denylist process, and how the community can help, the better. Many people mistakenly believe that Helium (i.e. Nova or Foundation) already handle the whole process on behalf of the community. Also, be wary about getting rabbit-holed into deep detail e.g. on token burn, the fact is mass gaming is occurring and not enough is being done to stop it.


Control Progressive Test Results updates in Test Runs.

Hi All,
I have a query related to test execution through VSO build Task.
I see the below logs while I am executing the tests from the VSO build Tasks. The batch size here is showing as 1000. Is there a way i can change this batch size so that the test results are updated in the test run more frequently?
I, 4704, 22, 2016/10/25, 17:55:08.630, \DTAExecutionHost, TcmRestApiHelper.UpdateTestResultsToTestRun : Starting update in batches of 1000. Total batches : 1
V, 4704, 22, 2016/10/25, 17:55:08.630, \DTAExecutionHost, TcmRestApiHelper.ProcessResultsInBatches : Updating a batch of test results on tcm. Processing batch 1 of 1...
Thanks,
Amaran. A.

@AmaranAthigaman The publishing of results is done at the end of the set of tests given to the machine to execute. With Visual Studio Test task, that means you only see results at the end of all the tests being run. For Run Functional Test task that distributes tests, it means results are uploaded once the tests being executed on a particular machine are finished execution.


Honkai Impact 3rd Meshes do not export

Meshes from honkai impact 3rd do not seem to export with geometry when exporting from current game versions.

what does this even mean

read the guide in readme, animators do not export with any mesh data in current version of tools. Only exports with empties in place of bones and such.

^ new griseo battlesuit attempted export

reply on discord , and download latest actions not release and make sure after you build cabmap you are selecting it and you need betterfbx to import


[Translation FR] Add french tutorial translation & possibility to easily switch languages

Description
This is a proposition about the french translation of the tutorial, installing a mechanism of language choice
It has been reviewed and corrected once.

@jamesroutley : Hi, If you have time, could you give feedback on this?

Thanks @jamesroutley !
Do not hesitate to ping @begault or me if you merge some other PR. We will try to keep up to date the translation. :)


[Feature]: MS teams Sink

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?
No
Problem Description
No problem
tested slack sinks to teams and only arrive title

Solution Description
add MS teams sink
support MS teams incoming webhook
Benefits
Users can choose to sink into Teams
Potential Drawbacks
No response
Additional Information
Teams Docs
Teams Example

Hi @arbreezy! I'm interested in contributing to this issue. Could you provide guidance on how to get started?

@nox1134 apologies for not replying sooner.
Nice, the solution should be straight forward but there are a few parts that have to be updated.

You will have to add a new sink in the sinkreporter
Add your MS teams implementation in a similar fashion with slack to satisfy the interface
Regarding the implementation, we are initialising an HTTP client  for all the sinks and you will have to see what is needed to configure(authentication, endpoint, etc..)  an MS team webhook
If there are more configs to add, you will have to update the webhook api struct and run make manifests to re-generate the CRD
Atm we have to manually update the Helm chart's CRD template so please update this as well, if 4. is true

@nox1134 are you working on this feature?

Hi @danportu! I'm busy with something else right now, so if anyone wants to work on it, they can.

@danportu happy to assign it to you if want to have a go :+1:


flutter_layout_grid-1.0.6 Error: A value of type 'RenderObject?' can't be assigned to a variable of type 'AbstractNode?'.

I have recently moved to Flutter 3.16.5, from Flutter 3.10.6.
I am getting the below issue when I build the project. Please check and help me on this as soon as possible as I am unable to proceed with my current task.
/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_layout_grid-1.0.6/lib/src/widgets/placement.dart:82:55: Error: A value of type 'RenderObject?' can't be assigned to a variable of type 'AbstractNode?'.
 - 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('/C:/dev/flutter/packages/flutter/lib/src/rendering/object.dart').
 - 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('/C:/dev/flutter/packages/flutter/lib/src/foundation/node.dart').
      final AbstractNode? targetParent = renderObject.parent;
                                                      ^
/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_layout_grid-1.0.6/lib/src/widgets/placement.dart:83:58: Error: The method 'markNeedsPlacement' isn't defined for the class 'AbstractNode?'.
 - 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('/C:/dev/flutter/packages/flutter/lib/src/foundation/node.dart').
Try correcting the name to the name of an existing method, or defining a method named 'markNeedsPlacement'.
      if (targetParent is RenderLayoutGrid) targetParent.markNeedsPlacement();
                                                         ^^^^^^^^^^^^^^^^^^
/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_layout_grid-1.0.6/lib/src/widgets/placement.dart:84:54: Error: The method 'markNeedsLayout' isn't defined for the class 'AbstractNode?'.
 - 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('/C:/dev/flutter/packages/flutter/lib/src/foundation/node.dart').
Try correcting the name to the name of an existing method, or defining a method named 'markNeedsLayout'.
      if (targetParent is RenderObject) targetParent.markNeedsLayout();
                                                     ^^^^^^^^^^^^^^^
/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_layout_grid-1.0.6/lib/src/widgets/placement.dart:132:55: Error: A value of type 'RenderObject?' can't be assigned to a variable of type 'AbstractNode?'.
 - 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('/C:/dev/flutter/packages/flutter/lib/src/rendering/object.dart').
 - 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('/C:/dev/flutter/packages/flutter/lib/src/foundation/node.dart').
      final AbstractNode? targetParent = renderObject.parent;
                                                      ^
/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_layout_grid-1.0.6/lib/src/widgets/placement.dart:133:58: Error: The method 'markNeedsPlacement' isn't defined for the class 'AbstractNode?'.
 - 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('/C:/dev/flutter/packages/flutter/lib/src/foundation/node.dart').
Try correcting the name to the name of an existing method, or defining a method named 'markNeedsPlacement'.
      if (targetParent is RenderLayoutGrid) targetParent.markNeedsPlacement();
                                                         ^^^^^^^^^^^^^^^^^^
/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_layout_grid-1.0.6/lib/src/widgets/placement.dart:134:54: Error: The method 'markNeedsLayout' isn't defined for the class 'AbstractNode?'.
 - 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('/C:/dev/flutter/packages/flutter/lib/src/foundation/node.dart').
Try correcting the name to the name of an existing method, or defining a method named 'markNeedsLayout'.
      if (targetParent is RenderObject) targetParent.markNeedsLayout();
                                                     ^^^^^^^^^^^^^^^

This is happening to me as well.

OK. Taking a look.

Upgrade flutter_layout_grid to ^2.0.0, and you should be set.


IPv6 only works as long as you ping

Version
Windows version: 10.0.22621.963
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) #1 SMP Wed Nov 23 01:01:46 UTC 2022
Distro Version
Ubuntu 22.04
Other Software
ping from iputils 20211215
Repro Steps

Configure WSL in bridge mode
Verify you have a global ipv6 address (ip addr)
Start pinging an ipv6 address (ping ipv6.google.com -i 1 -W 2 -O)
After about 5-10 minutes, packets will start coming in
As long as you're pinging, you'll have full internet access over ipv6
Verify access by curl ipv6.google.com or start firefox in WSL and go to ipv6-test.com

This time can be shortened greatly, by forwarding ping packets to the correct interface: https://github.com/withinboredom/ipv6-wsl
Expected Behavior
IPv6 packets should go to the correct interface by default.
Actual Behavior
IPv6 packets are sent to the wrong interface (often called the "wsl" interface in WireShark) instead of the VM interface. After pinging for a while, Windows learns the correct route and packets work correctly until it "forgets" the route once pinging stops.
Diagnostic Logs
No response

I dig a little more on the wsl ipv6 issue and to me, it seems like hyper-v virtual switch has a broken ipv6 routing table implementation. Once it forgets the route to wsl if we try to somehow re-build the routing table, ipv6 seems to work again. In my case, I could trigger the 're-build' if I change the wifi since I am bridge-ing the WLAN interface for wsl.


Some extra clean up, and removal of an added infinite loop

I seem to have added an infinite loop that the tests didn't catch so I've fixed that, also I made a few more changes that take advantage of return types and pattern matching (even more if lets).
I also implemented Iterator in the iter branch, as an independent type and then implemented IntoIterator, as implementing Iterator directly would cause a conflict with for_each

Thanks again, this is much nicer


Do Not Support Subscriptions Autoconfigure

The project can autoconfigure graphqlController, provides an rest mapping of /graphql be default. It is great for my project, save me lot of code.
Recently, I want to write a subscription to monitor changes from server. I checked out the source code and related artifacts about spring-boot-starter of graphql.
I founded com.graphql-java:graphql-spring-boot-starter:5.0.2 can do that, but that uses an old graphql-java core dependency version released around 2018. Which have not more newer version, and have unofficial package name in source code, so I think it is likely be DEPRECATED? or retired?
And graphql-java-spring likely the official "starter" project, but have no subscriptions support, any other friends meet the similar problems?

The new location for the old com.graphql-java:graphql-spring-boot-starter:5.0.2 is https://github.com/graphql-java-kickstart

The new location for the old com.graphql-java:graphql-spring-boot-starter:5.0.2 is https://github.com/graphql-java-kickstart


Use AddRange, RemoveRange, etc. for multiple entity overloads (Issue #1517)

Also add IEnumerable overload and change return type to void.

:shipit:


[Bug]: on installation, "No Module named 'CMakeBuild'"

PyBaMM Version
latest
Python Version
3.8.9
Describe the bug
I am trying to install PyBaMM on Mac OS. Running
-> brew install sundials && pip3 install pybamm
gives the error
"ModuleNotFoundError: No module named 'CMakeBuild'".
This is after succesfful install / update to sundials and during the attempt to install pybamm itself. Any advice or guidance on how to get pybamm installed would be much appreciated.
Steps to Reproduce
In terminal on Mac OSx 12.2 running Python 3.8 issue "brew install sundials && pip3 install pybamm".
Relevant log output
ModuleNotFoundError: No module named 'CMakeBuild'

Hi @khurlbutt, can you please post your full log output?

@martinjrobins it begins below (as a reminder, I issued "brew install sundials && pip3 install pybamm")
###BEGIN OUTPUT###
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.
Warning: sundials 6.2.0 is already installed and up-to-date.
To reinstall 6.2.0, run:
brew reinstall sundials
Defaulting to user installation because normal site-packages is not writeable
Collecting pybamm
Using cached pybamm-22.4.tar.gz (908 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.16 in ./Library/Python/3.8/lib/python/site-packages (from pybamm) (1.22.2)
Requirement already satisfied: scipy>=1.3 in ./Library/Python/3.8/lib/python/site-packages (from pybamm) (1.8.0)
Collecting pandas>=0.24
Using cached pandas-1.4.2-cp38-cp38-macosx_11_0_arm64.whl (9.9 MB)
Collecting anytree>=2.4.3
Using cached anytree-2.8.0-py2.py3-none-any.whl (41 kB)
Collecting autograd>=1.2
Using cached autograd-1.4-py3-none-any.whl (48 kB)
Collecting scikit-fem>=0.2.0
Using cached scikit_fem-6.0.0-py3-none-any.whl (144 kB)
Collecting pybamm
Using cached pybamm-22.3.tar.gz (907 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-22.2.tar.gz (907 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-22.1.tar.gz (906 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-21.12.tar.gz (907 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-21.11.tar.gz (901 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-21.10.tar.gz (897 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-21.9.tar.gz (894 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-21.8.post2.tar.gz (890 kB)
Preparing metadata (setup.py) ... done
Using cached pybamm-21.8.post1.tar.gz (888 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/w8/w8ymv3_s30z1s4rccl6ypmgm0000gn/T/pip-install-pqy0bl37/pybamm_0fcd5ef3354e4db68c3cfe53f753d1ab/setup.py", line 18, in
import CMakeBuild
ModuleNotFoundError: No module named 'CMakeBuild'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
###END OUTPUT###

It looks like you have one of the newer apple M1 CPUs? If so we don't support these yet via installation from PyPI. I would recommend that you try installing from source, using the instructions here: https://pybamm.readthedocs.io/en/latest/install/install-from-source.html

its not finding casadi in your python environment.

Is this still open?

We'll close it since we haven't heard back in a while


[l10n] Improve German translation

[x] I have followed (at least) the PR section of the contributing guide.

Closing for #24436 as ongoing work is on the next branch.

Closing for #24436 as ongoing work is on the next branch.


[Tasks] Basic task addition/deletion

Implemented basic task addition/deletion, by adapting existing code.
UI and Storage are not present yet.

Coverage decreased (-4.2%) to 78.532% when pulling 3ba0315a36b2de3314a6af1d71eb099a6c0f84c0 on Esilocke:deadlines into 0b64d5786d31a875315172236c81b17d4d41584f on CS2103AUG2017-W09-B2:master.

Coverage increased (+0.2%) to 82.935% when pulling c79235efe0ffa69628e6a44ce12182e4806eb92c on Esilocke:deadlines into 0b64d5786d31a875315172236c81b17d4d41584f on CS2103AUG2017-W09-B2:master.

Coverage increased (+1.1%) to 83.831% when pulling f0c903bfd8cbb4fc1c4d869cf779cc6263fe6a46 on Esilocke:deadlines into 0b64d5786d31a875315172236c81b17d4d41584f on CS2103AUG2017-W09-B2:master.


collection.insert not working when using SimpleSchema

I was testing insert and tried to perform subscribe to do some async action. But when using SimpleSchema it won't work but without it works.
Is this a limitation or bug?
const boxes = new Mongo.Collection('boxes');

boxes.schema = new SimpleSchema({
  _id: {
    type: String,
  },
  name: {
    type: String,
  },
  description: {
    type: String,
    optional: true,
  },
  lang: {
    type: String,
  }
}
boxes.attachSchema(boxes.schema);
const Boxes = new MongoObservable.Collection(boxes);

Boxes
      .collection #-- without collection it is not inserting.
      .insert({
        name,
        description,
        lang,
      }, { validate: true });

I would like to do something
Boxes.insert(doc).subscribe( str => console.log(str));

I have noticed subscribe working only when there isn't any error in the insert. Otherwise, I don't even capture in the error function.

insert implemented as Observable, and you need to perform subscribe in order to execute the actual insert.
Please try:
Boxes
      .insert({
        name,
        description,
        lang,
      }, { validate: true }).subscribe(() => { ... });

I'm using redux-observable in addition to meteor-rxjs, so I don't subscribe there.I have noticed issue when validation fails, it don't throw the error and also don't return anything.

@veeramarni, can you share a repository with an example?

Closing due to inactivity and cleanup.
Feel free to open a new issue if you are still affected.


[java] [c#] Add inheritance example

NB: This is a port of the C++ example, but doesn't have the deserialize-the-base-parts-into-a-derived.

Rebased to pickup the golden test fixes.


Black path in remote connection not working as expected

Environment data

VS Code version: 1.54
Extension version (available under the Extensions sidebar): 2021.2
OS and version: Archlinux - Kernel version 5.11
Python version (& distribution if applicable, e.g. Anaconda): -
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): -
Relevant/affected Python packages and their versions: -
Relevant/affected Python-related VS Code extensions and their versions: -
Value of the python.languageServer setting: -

Expected behaviour
When specifying an empy string in python.formatting.blackPath in the Remote server (using an SSH connection) it should look at the selected Python environment installation of Black.
Actual behaviour
Does nothing.
Steps to reproduce:
I've installed locally Black, ans pecified the user setting:

In the Remote server (using the SSH extension) I set the string to empty, expecting it was taking the environment version of Black. Making this, as written above, does not format the document, it just loads and does nothing.

Obviously if in the remote setting I specify the setting black (the default one) it takes the user setting, so it says:
Path to the black formatter is invalid (/usr/bin/black)

Same thing happens with python.linting.flake8Path

Hi @MarcoDiFrancesco,
Thank you for reaching out. We already offer this behaviour (using the environment version of the tool) if you leave it at its default value, which is the command name (black, flake8, etc), not the empty string.


[MLForecast: test set eval and early stopping ]

Description
Hey team,
it's gonna be beneficial to have an option to early stop models when training.
Use case
CV hyper-param optimization

Hey @Djuseppe, thanks for using mlforecast. We have that built-in for LightGBM in the LightGBMCV class and you can do it for other frameworks by using custom training. It'd be very hard to have a general solution because each framework has a slightly different interface.

thanks for the info 🙂
indeed a custom training is amazing and suits me nicely, since I have also custom CV with Optuna optimization.
Closing, as existing features are just enough.


Update HA

After updating to
Home Assistant 2023.6.0
Supervisor 2023.06.1
Operating System 10.2
integration is broken ((((

@IncognitoMSK - I saw this error early when you posted it and so delayed upgrading HA as I didn't want to break my AirCloud integration but it broke last week sometime and I just got around to looking at it. I was running Home Assistant 2023.5.6, Supervisior 2023.06.4 and Operating System 10.3. I was getting very similar errors as you, but all referencing phython3.10. However, after upgrading to Home Assistant 2023.6.3, my integration is now working again and I'm not getting any of those errors. Have you upgraded since your post?

Sorry for late response. I tested integration with all latest versions HA and it works. Errors in log can be bad internet connection or unstable API


Change window swallowing to use rules.

Feel free to ignore this PR if it goes against default structures.
This PR replaces the default behaviour of setting swallow rules in the theme with setting them with awful.rules.
I'm not sure if this is better but to me seems to make more sense.

what happens when you turn the swallow filter off with false?, i added that horrible juggling with the filter var because using booleans with lua in the way it is used in here will not act at all in the expected way.

I've done some testing and it seems to work just fine. I guess since it's only one switch i.e
window_swallowing_activated toggling works fine. In terms of setting the swallow rules
as client properties  it seems that awful is handling any possible funkiness.

I really like that idea. Now that you PR it, it seems to be almost obvious that it should be that way. Good job! One thing I don't like though is how one has to set swallow_parent to true for all clients in order to get "the default behavior". I think it should just swallow everything by default and then the user can add exceptions. We used to have dont_swallow(filter list)  but that's obviously not a perfect naming scheme either. Maybe swallow_exception would fit better?


poetry instead of Pipfile

subj

+1 on poetry, however, I am not sure how to go about deployment with it, might have to generate a requirements.txt for that

+1 on poetry, however, I am not sure how to go about deployment with it, might have to generate a requirements.txt for that

Poetry might generate requirements.txt out of the box since 1.0 version for docker install or PyCharm indexing and etc. In case of pipfile you need a another tool as requirementslib for this

Poetry 1.x will generate a requirements.txt:
https://python-poetry.org/docs/cli/#export
poetry export -f requirements.txt > requirements.txt

Poetry 1.x will generate a requirements.txt:
https://python-poetry.org/docs/cli/#export
poetry export -f requirements.txt > requirements.txt

I wrote the same)

I have modified my project to use poetry, and I changed the dockerfiles to do the following:
COPY ./backend/app/pyproject.toml ./backend/app/poetry.lock /app/
RUN cd /app && $HOME/.poetry/bin/poetry config virtualenvs.create false && $HOME/.poetry/bin/poetry install

The config virtualenvs.create false part disables the use/creation of a venv by poetry, so it installs everything in the "main" python inside the docker images. While not required, I feel that using the same tool everywhere makes more sense.
As a side note, I use a custom base image with most of my python dependencies in it to save time in CI, and there is a bug in poetry that reinstalls everything even if included in the base image, but it still works.

this will be really great and simple to change!

Yep. I want to migrate this to Poetry :smile:
I just haven't had the time yet.

I'll create a PR for this, most likely this week. @tiangolo what do you think about also changing backend.dockerfile to install dependencies using Poetry instead of raw pip install ...?

We now have Poetry, and it's integrated into the Dockerfiles as well. :rocket:
Thanks @RCheese for the idea and PR!


cropBoxData issue

Hi, I am experiencing a problem with cropBoxData.
          <ReactCropper             cropBoxData={cropData}             src={backgroundImage}             style={styles.cropping}             guides={false}             ref={(c) => {               this.cropper = c;             }}           />
In my code cropData is object example {left: 72, top: 88, width: 576, height: 324}
No warnings or errors, just doesn't work.

HI,
It seems cropBoxData can't be set when start.
Could you try to set it like
componentDidMount() {
  setTimeout(()=>{
    const cropBoxData = { left: 72, top: 88, width: 576, height: 324 };
    this.setState({ cropBoxData });
  }, 0)
}

Yes, it was helpful!
Do you plan to fix this problem in future?

@roadmanfong up


Demo improvements (code presented, section headers, readme)

Some changes:

The code for the samples is now below the example, to avoid that the example watched by the user moves when you toggle the code
The 'Code' text has been removed to keep the consistency with the other buttons
h2/h3 font size have been decreased
A link to the demo site has been added at the first paragraph. Before, the link was only at the bottom of the page, which is (I think) a little bit annoying for a user.

What do you think ?

Thanks @divdavem !


Various rubik_scrambler enhancements

I've made various changes that I hope are helpful.  Some highlights:

Increased the number of moves that are supported, including double layer moves.
Added additional keys to bypass animation, scramble, hide non-cube parts of the display, etc.
Reduced CPU usage.
Undo key.
Feel free to send me feedback.

@selliott512  Hi! Sorry, it took me a while to go through the modifications. Could you provide a list of mappings that exist between keys and functions? Also, thanks for improving the render function. Looks much neater now!

@XanderWraik Unfortunately I haven't logged into github for a while, so I didn't see this.
I've made a bunch of additional modifications since the last pull request.  I'm thinking of releasing it as my own program with a different name.  The splash screen will credit you by saying "by Steven Ellliott based on rubik_scrambler by XanderWraik".  Let me know if you'd rather it have your real name.  I'll also release it under the MIT license, just like rubik_scrambler.  I figured we had different ideas about which direction it should go.  I hope that's ok.  When I publish it, most likely on github, I'll send you the URL.
As to your question: Most of the key bindings are in EventListeners.js:
case "A": // (A)nimation toggle
case "C": // (C)orner view toggle
case "G": // Undo (like Ctrl-G in Emacs)
case "H": // (H)ide toggle
case "J": // (J)umble (S was taken)
case "N": // (N)new cube
case "O": // (O)rientation display toggle.
In addition to that I think I added rotating the entire cube "X Y and Z".  I made scrambling J for jumble since I wanted to use M, E and S for middle moves.
Thanks for writing this program.  It fills a niche for a keyboard based cube.  I've enjoyed working on it and playing with it.

@selliott512 Yes, I don't have any issues. Feel free to play around and release it as you see fit.
Yes, I'd prefer having my real name on there.
No, I'm quite comfortable with the changes you've made. However, I spotted one critical bug in the final release which is why I had reverted the changes. I'm outlining it here:
You ensured CPU cycles are not utilized when the cube is not interacted with, however, I noticed that this freezes the cube completely, thereby completely disabling mouse interactivity, which is not something you'd want while solving. If you can work that issue out, it'd be great, then you may not even need to release an updated version on your site. It could persist here only. But anyhow, it's entirely upto you.

@XanderWraik That sounds great.  I see from your profile that your real name is Siddhante Nangla, so I'll use that without "XanderWraik" in the readme.  But if you'd rather I put both with something like "Siddhante Nangla aka XanderWraik" I'm happy to do that too.  I'm Steven Elliott, by the way.  If you'd rather reach me by email you can at<EMAIL_ADDRESS>I noticed that bug too.  I should have notified you.  I ended up fixing it in my version by running the animation loop while any mouse button is pressed, but still suspending animation when neither a mouse button nor key is pressed.  I'll share more info shortly.

I've published my copy named QWERTYcube at http://selliott.org/puzzles/qwertycube.  I'm curious what you think of it.  As to the bug you mentioned - if you look in QWERTYcube you can see how that was fixed.  A variable is set when a mouse button is pressed:
function onMouseDown(event) {
    // The user may be adjusting the camera if a mouse button is done. When
    // in doubt animate.
    if (!infoDisplayed) {
        cameraAdjusting = true;
        animateCondReq(true);
    }
}

And that variable is checked in the animation logic:
function animateCondReq(needed) {
    animateNeeded = needed;

    // This method requests that doAnimate() be called next frame if need be.
    if (animateNeeded || moveCurrent || moveQueue.length || statusDisplayed
            || cameraAdjusting || timer) {
        window.requestAnimationFrame(doAnimate);
    }
}

@selliott512 Hi. Just had a look at it. Yeah, it's definitely good. I like the features you added. It's without a doubt an evolved version of 'rubik_scrambler'. It supports the full set of rotations that you'd come to expect from an actual cube app. I see that you refined the UI also quite a bit: The colours used are quite appealing. You got rid of the bug, which was important for a good user experience. What's left is to allow rotation of a face by dragging a layer: This may be harder to achieve, but should be well worth a try.


Added Search

Added basic search feature

Thanks for this !
I just reverted the changes from the commit https://github.com/gordielachance/plugin.audio.subsonic/pull/16/commits/ce58b6993fcb8513946a1b110c923736dcdb6c75.


Refactor shopcarts to use Flask-RESTX

As a [role]
I need [function]
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given [some context]
When [action taken]
Then [outcome observed]

Refactor your micro service to use Flask-RESTX following the file layout outlined in lab-flask-restplus-swagger.


VS2017 Migration (project.json to csproj)

A new PR against the master branch. Contains the project changes to move to csproj (and VS2017)
Includes changes to the appveyor build also.

I need to test out deploy.cmd for this.  I now realize why we had this on a branch - its because i can deploy to another site on a branch in azure.  Oh well I will work on a workaround for that to test

So the 'real' testing of this is going on via the vs2017 branch with PRs from Steve and me.  I got a 'successful' build that ran in azure (there were some npm warnings/errors that i haven't fully parsed) but it claimed it successfully deployed.
When I hit the site http://allready-test.azurewebsites.net it says "You do not have permission to view this directory or page." so I am presuming something didn't get deployed/configured right for it to 'launch' and it is trying to serve me up the home directory as it were.
Noting this for historical reasons as I will go under the covers to figure out more later.  @stevejgordon @MisterJames @dpaquette if you have any ideas/experience please let me know

update: the update to the new dotnet build revealed an underlying npm error during 'dotnet publish' that previous dotnet tooling ignored.  Aka it was always there but ignored before.  Working on fixing this (so far all fixes mentioned here  and here don't make sense or don't help for what I am seeing as we are on NPM 3+ and I tried a deploy on a new build)

update issues fixed.  Will apply changes to this PR and then merge it in.  Once merged all work will need to be on VS2017 or VS Code or Command Line as VS2015 doesn't support csproj .net core

FYI: the fix for the npm issue turned out to be updating bower and gulp versions - thank you @dpaquette for the pro tip 😸


app crashes

app crashes...
view <RCTShadowView: 0x100637400; viewName: RCTTextField; reactTag: 1799; frame: {{8, 8}, {398, 28}}> (tag #1799) is not a descendant of <RCTShadowView: 0x1062935b0; viewName: RCTView; reactTag: 1695; frame: {{0, 0}, {394,<PHONE_NUMBER>6666663}}> (tag #1695)
RCTMeasureLayout + 400
RCTUIManager.m:1269
-[RCTUIManager measureLayout:relativeTo:errorCallback:callback:] + 292
 + 144
 + 284
 + 60
-[RCTModuleMethod invokeWithBridge:module:arguments:] + 1684
-[RCTBatchedBridge _handleRequestNumber:moduleID:methodID:params:] + 712
__33-[RCTBatchedBridge handleBuffer:]_block_invoke.452 + 1144
_dispatch_call_block_and_release + 24
_dispatch_client_callout + 16
_dispatch_queue_drain + 1036
_dispatch_queue_invoke + 464
_dispatch_root_queue_drain + 760
_dispatch_worker_thread3 + 132
_pthread_wqthread + 1092
start_wqthread + 4

Hi @avishayhajbi
I'm losing it for now, since the obj-c callstack doesn't sound like a very informative issue description, honestly.
Feel free to reopen if the issue reoccurs, but next time with more info please ;)


Backport fix for flickering web contents on large monitors

Backports https://chromium-review.googlesource.com/c/575445/
Refs https://bugs.chromium.org/p/chromium/issues/detail?id=695427
Fixes https://github.com/electron/electron/issues/9413
I wasn't able to reproduce the issue, so can't verify if this actually fixes the issue. Backporting it so that anyone interested can verify with the libcc build.
/cc @bpasero

Thanks, very interested in seeing this land. Can also verify easily.


Store attributes of user classes outside object and postpone init

Related to #249 #250 #252 #254 #255 #256 #257 #258
closes #247
This is a feature branch used to collect various PRs regarding postponing user object initialization needed to support __slots__ and immutable objects.
/cc @goto40 @markusschmaus
Code review checklist

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[ ] Title summarizes what is changing
[ ] Commit messages are meaningful (see this for details)
[ ] Tests have been included and/or updated
[ ] Docstrings have been included and/or updated, as appropriate
[ ] Standalone docs have been updated accordingly
[ ] Changelog(s) has/have been updated, as needed (see CHANGELOG.md, no need
to update for typo fixes and such).

@markusschmaus @goto40 Thanks guys for an excellent work. I'll be running some more tests with my peers and if everything goes well this is ready to be merged to master.

I've fixed one more issue where scope providers may create additional attributes to user-class instances.


.NET Install Page needs updating for OS Family 6

With the release of OS Family 6, .NET 4.7.2 is preinstalled, and thus the page describing using startup tasks to update the .NET Framework version needs updating.
https://azure.microsoft.com/en-us/updates/guestosfamily6announce/

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

ID: f082a39c-4081-f5c3-1e1d-effcfecb2fd7
Version Independent ID: e57c7222-bb36-5fa1-bdc5-f8f3cd87e3d8
Content: Install .NET on Azure Cloud Services roles
Content Source: articles/cloud-services/cloud-services-dotnet-install-dotnet.md
Service: cloud-services
GitHub Login: @jpconnock
Microsoft Alias: jeconnoc

Thanks for the feedback! We are currently investigating and will update you shortly.

Also, there are issues actually using OS Family 6, even though it is GA.  Probably those need to be fixed before the doc is updated.
https://developercommunity.visualstudio.com/content/problem/443790/the-os-family-6-you-are-trying-to-deploy-is-not-su.html

@v-piwijs @mmccrory Can either of you help with the issue discussed here: https://developercommunity.visualstudio.com/content/problem/443790/the-os-family-6-you-are-trying-to-deploy-is-not-su.html
@jpconnock Can we update the doc with the note for OS Family 6 in the startup tasks. Thanks, :)

I have commented with instructions on how to install the Azure SDK in the dev community site.
This page https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-guestos-update-matrix will be updated with these instructions as well at the next build (2/21 morning)

Thanks @v-piwijs.

@Karishma-Tiwari-MSFT should this be assigned to me?  I am not the author for this page:
articles/cloud-services/cloud-services-dotnet-install-dotnet.md

Since you mentioned This page https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-guestos-update-matrix will be updated with these instructions as well at the next build (2/21 morning), if this is already incorporated in this doc, we can close this issue.


[HxGrid] Defer

fixes #705
fixes #858

Inspired by the QuickGrid implementation (there's still more to incorporate):
https://github.com/dotnet/aspnetcore/blob/42af9fe6ddd7c3f9cde04ac003bf97509881873b/src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/QuickGrid.razor#L9

Merging this into master to publish a prerelease version for further intensive testing.
If this turns out to be dysfunctional, we can easily revert the change.


pipenv clean is not working

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
Run pipenv clean on a project with deps not specified in Pipfile.lock, nothing happens
Expected result
The dependencies should be removed from virtualenv
Actual result
Nothing happens
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
$ pipenv install requests
$ pipenv run pip install flake8    # flake8 is not included in Pipfile
$ pipenv clean
# No output
$ pipenv graph
flake8==3.6.0
  - mccabe [required: >=0.6.0,<0.7.0, installed: 0.6.1]
  - pycodestyle [required: >=2.4.0,<2.5.0, installed: 2.4.0]
  - pyflakes [required: >=2.0.0,<2.1.0, installed: 2.0.0]
  - setuptools [required: >=30, installed: 40.4.3]
requests==2.20.0
  - certifi [required: >=2017.4.17, installed: 2018.10.15]
  - chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
  - idna [required: >=2.5,<2.8, installed: 2.7]
  - urllib3 [required: >=1.21.1,<1.25, installed: 1.24]

Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
If you're on macOS, run the following:
$ pipenv --support | pbcopy

If you're on Windows, run the following:
> pipenv --support | clip

If you're on Linux, run the following:
$ pipenv --support | xclip

$ pipenv --support
Pipenv version: '2018.10.13'
Pipenv location: 'c:\\users\\frostming\\.local\\venvs\\pipenv\\lib\\site-packages\\pipenv'
Python location: 'c:\\users\\frostming\\.local\\venvs\\pipenv\\scripts\\python.exe'
Python installations found:

3.7.0: D:\Programs\Python\Python37-32\python.exe
2.7: D:\Programs\Python\Python27\python.exe

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.7.0',
 'os_name': 'nt',
 'platform_machine': 'AMD64',
 'platform_python_implementation': 'CPython',
 'platform_release': '10',
 'platform_system': 'Windows',
 'platform_version': '10.0.15063',
 'python_full_version': '3.7.0',
 'python_version': '3.7',
 'sys_platform': 'win32'}

System environment variables:

ALLUSERSPROFILE
APPDATA
COMMONPROGRAMFILES
COMMONPROGRAMFILES(X86)
COMMONPROGRAMW6432
COMPUTERNAME
COMSPEC
HOMEDRIVE
HOMEPATH
HTTPS_PROXY
JAVA_HOME
LOCALAPPDATA
LOGONSERVER
NUMBER_OF_PROCESSORS
ONEDRIVE
OS
PATH
PATHEXT
PROCESSOR_ARCHITECTURE
PROCESSOR_ARCHITEW6432
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(X86)
PROGRAMW6432
PROMPT
PSMODULEPATH
PUBLIC
SESSIONNAME
SYSTEMDRIVE
SYSTEMROOT
TEMP
TMP
USERDNSDOMAIN
USERDOMAIN
USERDOMAIN_ROAMINGPROFILE
USERNAME
USERPROFILE
WINDIR
LANG
TERM
COLORTERM
TERM_PROGRAM
TERM_PROGRAM_VERSION
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programs\Git\cmd;D:\Programs\TortoiseSVN\bin;D:\Programs\Gpg4win\..\GnuPG\bin;D:\Programs\nodejs\;D:\Programs\Python\Python37-32\Scripts\;D:\Programs\Python\Python37-32\;C:\Users\frostming\AppData\Local\Microsoft\WindowsApps;C:\Users\frostming\.local\bin;D:\Programs\Microsoft VS Code\bin;C:\Users\frostming\AppData\Roaming\npm;C:\Users\frostming\AppData\Local\Yarn\bin;D:\Programs\GnuWin32\bin;D:\Programs\heroku\bin;C:\Users\frostming\AppData\Local\hyper\app-2.0.0\resources\bin;D:\Programs\Java\apache-maven-3.2.5\bin;
LANG: zh_CN.UTF-8

Contents of Pipfile ('D:\Workspace\tempenv\Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
requests = "*"

[dev-packages]

Contents of Pipfile.lock ('D:\Workspace\tempenv\Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "70e8bf6bc774f5ca177467cab4e67d4264d0536857993326abc13ff43063bec0"
        },
        "pipfile-spec": 6,
        "requires": {},
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "certifi": {
            "hashes": [
                "sha256:339dc09518b07e2fa7eda5450740925974815557727d6bd35d319c1524a04a4c",
                "sha256:6d58c986d22b038c8c0df30d639f23a3e6d172a05c3583e766f4c0b785c0986a"
            ],
            "version": "==2018.10.15"
        },
        "chardet": {
            "hashes": [
                "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
                "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
            ],
            "version": "==3.0.4"
        },
        "idna": {
            "hashes": [
                "sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e",
                "sha256:684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
            ],
            "version": "==2.7"
        },
        "requests": {
            "hashes": [
                "sha256:99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c",
                "sha256:a84b8c9ab6239b578f22d1c21d51b696dcfe004032bb80ea832398d6909d7279"
            ],
            "index": "pypi",
            "version": "==2.20.0"
        },
        "urllib3": {
            "hashes": [
                "sha256:41c3db2fc01e5b907288010dec72f9d0a74e37d6994e6eb56849f59fea2265ae",
                "sha256:8819bba37a02d143296a4d032373c4dd4aca11f6d4c9973335ca75f9c8475f59"
            ],
            "version": "==1.24"
        }
    },
    "develop": {}
}

No sure if it is only me that has this issue, I will go deep into the source code later today.

It's related to Windows path normalization.
Can we convert the path all lowercased for Windows? Any concern?

makes sense because we needed to keep them not lowercased for legacy reasons (for virtualenv discovery for people who started using pipenv before we normalized properly)
so it's not finding your virtualenv, basically?

@techalchemy No, virtualenv finding is working correctly, but the paths of working set is all lowercased on Windows. It fails to tell whether the installed package is in my virtualenv.


The players shadow is still misplaced

The player's shadow is still misplaced please fix.

Any more info? Mc version? other mods? forge or fabric?

Mc 1.19.2 Forge and a lot of mods 57 mods to many names sorry.

It's fixed in 1.19.4.

Please fix in 1.19.2 ok?

Not an issue in 1.19.2. That was fixed in 2.2.2 already.

Oh

It keeps crashing

2.2.2 has been out for nearly 6 months, that version is fine. Also just released 2.2.3 with other fixes. Otherwise open a new issue with the crash report.

Well the mod is not compatible with identity mod fair enough

Hm, Identity had some really cursed 3-way mod clash if I remember correctly. Yea not looking into that rn.

Added a DIY fix in #353 .


Download  or delete converted original file

As an IAO analyst
I want to download or delete an original file that has been converted to PDF
so that I can see the file in native format if the file is not readable in PDF

Assumptions & Scope
What are the assumptions for this story?
What is IN scope?
What is NOT in scope?
Delete and download of not converted files, #3136
Acceptance Criteria
Scenario 1: Click on Ellipsis for record that has been converted

GIVEN a ministry coordinator or IAO analyst is on the Gathering Records log
AND the records have been uploaded
WHEN the user clicks on the ellipsis next to a record
AND the file has been converted to PDF
THEN a dropdown will open with these options: Download PDF, Download Original, Delete

Scenario 2: Download Original

GIVEN a ministry coordinator or IAO analyst has clicked on the ellipsis for a record
AND the record has been converted to a PDF
WHEN the user clicks on 'Download Original'
THEN the record will be downloaded to the the user's desktop in the original format
...

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@nkan-aot - really minor update, but in the Records tab, when clicking the ellipsis next to a record, can we change "Download" to "Download Original"?
Otherwise, ACs pass.

@nkan-aot - really minor update, but in the Records tab, when clicking the ellipsis next to a record, can we change "Download" to "Download Original"?
Otherwise, ACs pass.

@nkan-aot - hold off on this for the moment, needs discussion.

@JHarrietha-AOT - just regarding Scenario 2 above, do you have a design for this? I.e., where a non-native PDF file is converted to a PDF, what should be displayed under the ellipsis?
Currently it has these options:

However, I believe 'Download' should be updated to 'Download Original' - is that right?
I found some other designs (e.g., https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/975449391), but nothing displaying just 'Download Original', 'Download PDF', and 'Delete'.
Thanks!

@KyEggleston that is correct the design and the ticket itself says download original good. @nkan-aot I think this needs to be updated so it makes sense to the user what they are downloading

For reference here is a screenshot if the designs: **

rename will be removed, duplicate will be a separate ticket

'Rename' option may need more discussion on business side - interest in keeping this option at sprint demo today. Will meet with CFD Personals team (who brought it up) for further discussion.

'Download PDF' changed to 'Download Converted' in new designs.
ACs pass, closing ticket.


Add make targets to cover testing docker images using GCE VMs

https://cloud.google.com/dataflow/docs/guides/develop-with-gpus


I18n::InvalidPluralizationData (translation data {:one=>"tenth", :other=>"tenths"}

Hello,
Have an issue with EN translation, please see an example:
irb(main):016:0> I18n.with_locale(:ru) { (3.75).to_words }
=> "три целых и семьдесят пять сотых"

irb(main):017:0> I18n.with_locale(:fr) { (3.75).to_words }
=> "trois et soixante-quinze centièmes"

irb(main):018:0> I18n.with_locale(:ua) { (3.75).to_words }
=> "три цiлих i сiмдесят п’ять сотих"

irb(main):019:0> I18n.with_locale(:en) { (3.75).to_words }
Traceback (most recent call last):
        2: from (irb):19
        1: from (irb):19:in `block in irb_binding'
I18n::InvalidPluralizationData (translation data {:one=>"hundredth", :other=>"hundredths"} can not be used with :count => 75. key 'many' is missing.)
irb(main):020:0>

Hi!
I haven't been able to reproduce it. Do you mind sharing your installed gem versions?:
>> I18n.with_locale(:en) { (3.75).to_words }
=> "three and seventy-five hundredths"
>> NumbersAndWords::VERSION
=> "0.11.6"
>> I18n::VERSION
=> "1.7.0"

The same for me:
irb(main):006:0> NumbersAndWords::VERSION
=> "0.11.6"
irb(main):007:0> I18n::VERSION
=> "1.6.0"

Also, I have found one thing - this error happened for me only in staging and production Rails environments. In development all works as expected:
Loading production environment (Rails 5.2.3)
2.6.3 :001 > Rails.env
 => "production"
2.6.3 :002 > I18n.with_locale(:en) { (3.75).to_words }
Traceback (most recent call last):
        2: from (irb):2
        1: from (irb):2:in `block in irb_binding'
I18n::InvalidPluralizationData (translation data {:one=>"hundredth", :other=>"hundredths"} can not be used with :count => 75. key 'many' is missing.)

Loading development environment (Rails 5.2.3)
2.6.3 :001 > Rails.env
 => "development"
2.6.3 :002 > I18n.with_locale(:en) { (3.75).to_words }
 => "three and seventy-five hundredths"

Do you know how it is possible?

There's a difference with localization data in those environments. Try to put up a project where this is reproducible that we can play with?

Sorry, it is private repo, I can`t share it.
I created new clean rails app and tested it - it is working without exceptions both for prod and dev o_O
Also, in my project, it started to work without exception when I changed
config.i18n.fallbacks = true

on
config.i18n.fallbacks = false

into config/environtments/production.rb

That's what I am saying, you have something in your en.yml that cannot be found, while it works for other languages. Try to drop two of your .yml's into the test Rails app?

Interesting, I reverted config.i18n.fallbacks to the true again and cleaned up all yml files in config/locales and an exception was reproduced.
Also, I tried to disable most of gems which I am using in my app without any luck.
Will try to find the issue reason and update you.

I wonder if it is related to ruby-i18n/i18n#401


SplineLoader using deprecated three.js classes

I'm getting warnings from THREE for using deprecated geometry classes. It looks like the issue is coming from the SplineLoader class.

Fixed in @splinetool/loader version 0.9.132


the React Developer Tools extension for Google Chrome Bug?

I just do as the following:
" Install the React Developer Tools extension for Google Chrome. This will allow you to navigate the view hierarchy if you select the React tab when the developer tools are open. "
But ,when i install extension , restart chrome , but did't say react tab

This belongs on the facebook/react-devtools repo


fix: bootstrap bbjs.

As title.
Removing bootstrapping boxes as:

It doesn't work (think it needs to be done after the yarn build), and it doesn't fail due to missing set -e flags.
It isn't needed? We only need to bootstrap what's needed to get a working dev env for running tests.

I'm not too bothered if bootstrap is 'build everything' as then issues get reported early, but LGTM

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 23d1e2d3 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,996
868,148
3,449,672

l1_rollup_execution_gas
842,083
3,595,256
22,205,041

l2_block_processing_time_in_ms
2,027 (+3%)
7,573
29,811

note_successful_decrypting_time_in_ms
295 (+1%)
875
3,167

note_trial_decrypting_time_in_ms
99.4 (+3%)
83.3 (+3%)
133 (-16%)

l2_block_building_time_in_ms
20,652
81,829 (+1%)
326,501 (+1%)

l2_block_rollup_simulation_time_in_ms
12,006 (+1%)
47,508 (+1%)
188,808 (+1%)

l2_block_public_tx_process_time_in_ms
8,602
34,187
137,198

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
21,820 (-1%)
42,340

note_history_successful_decrypting_time_in_ms
2,116 (+5%)
4,033 (+2%)

note_history_trial_decrypting_time_in_ms
121
178 (+24%)

node_database_size_in_bytes
1,630,058
1,098,969

pxe_database_size_in_bytes
29,748
59,307

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
768 (+1%)
61,697
18,905

private-kernel-ordering
126 (+1%)
24,297
8,153

base-rollup
1,769
656,428
873

root-rollup
169 (+1%)
4,072
1,097

private-kernel-inner
792 (+1%)
81,568
18,905

public-kernel-private-input
569 (+1%)
41,519
18,905

public-kernel-non-first-iteration
407
41,561
18,905

merge-rollup
15.2 (+1%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,787
27,547


C++ in Jupyter: check this out, possibly useful for NetworKit developers

https://hub.mybinder.org/user/quantstack-xeus-cling-lje33x50/notebooks/notebooks/xcpp.ipynb

Unfortunately, the link is broken :D

I was referring to this: https://github.com/QuantStack/xeus-cling
and wanted to link to the demo: https://t.co/vEOWLzkkqL

This is indeed a nice feature. I close this issue but leave #166 open for now.


Back props & Android back button ?

Hi, i'd like to ask is there any way to handle back button in android like in V3 ? and i'm trying back prop in android but it didn't work. maybe someone can help me.
Thanks.

Could you please post your code for v3? For v4 you could pass custom reducer as shown in Example project and check events.

@aksonov you duplicated #2118 for #2112 and #2112 for #2118. lol.


[density]: naming convention and sizes

Currently we have 2 methods of density - names and numbers (in progress-ring).
We want to unify all as suggested here:
const sizeMap = {
	ultraCondensed: '20', // required for progress ring,
	superCondensed: '24',
	extraCondensed: '28',
	condensed: '32',
	semiCondensed: '36',
	normal: '40',
	semiExpanded: '44',
	expanded: '48',
	extraExpanded: '52',
	superExpanded: '56',
        ultraExpanded: '60',
};

this change will affect all components as we will change the extended density to expanded, and progress ring will not use numbers but keywords in density.

relates to #337 #571

notice that icon still has a size member

layout members are still defined by t-shirt sizes

Decision summery:

we will use only one property - size for all
Text-field that has size as native attribute:
2.1 will not support vivid sizes property
2.2 will have an option of changing the base: 40px token to allow dense q extended text-field.we
2.3 Add documentation for a use-case for text-field using token customize.
we will still have 2 methods of size units:
4.1 naming (normal, condensed etc..) - for components that has 3 sizes (of 8px jumps).
4.2 numbers (-3, -2, -1, 0, 1, 2, 3 ....) - for component with multiple sizes such as progress ring  (for 4px jumps).
4.3 this will be documented in our docs.

edge use-cases of sizes:

textfield
contact-pad


Upgrade helm to version 3.13.2

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Upgrades helm from 3.10.3 to 3.13.2
This PR fixes the following CVEs detected by advanced deep scan in helm:
CVE-2023-2253, CVE-2023-28840, CVE-2022-27664, CVE-2022-41721, CVE-2022-41723, CVE-2023-39325, CVE-2022-32149, GHSA-m425-mq94-257g, CVE-2022-23471, CVE-2023-25153, CVE-2023-25173, GHSA-6xv5-86q9-7xr8, CVE-2023-28841, CVE-2023-28842, GHSA-jq35-85cj-fj4p, CVE-2023-3978, CVE-2023-44487, CVE-2023-44487, CVE-2023-25165
Change Log

Upgrade to 3.13.2 to fix CVE-2023-2253, CVE-2023-28840, CVE-2022-27664, CVE-2022-41721, CVE-2022-41723, CVE-2023-39325, CVE-2022-32149, GHSA-m425-mq94-257g, CVE-2022-23471, CVE-2023-25153, CVE-2023-25173, GHSA-6xv5-86q9-7xr8, CVE-2023-28841, CVE-2023-28842, GHSA-jq35-85cj-fj4p, CVE-2023-3978, CVE-2023-44487, CVE-2023-44487, CVE-2023-25165
Remove dependency on golang version <= 1.18.8. Builds with latest golang version 1.20.10

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

CVE-2023-2253, CVE-2023-28840, CVE-2022-27664, CVE-2022-41721, CVE-2022-41723, CVE-2023-39325, CVE-2022-32149, GHSA-m425-mq94-257g, CVE-2022-23471, CVE-2023-25153, CVE-2023-25173, GHSA-6xv5-86q9-7xr8, CVE-2023-28841, CVE-2023-28842, GHSA-jq35-85cj-fj4p, CVE-2023-3978, CVE-2023-44487, CVE-2023-44487, CVE-2023-25165

Test Methodology

Pipeline build id: xxxx
Buddy builds
AMD: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=460513&view=results
ARM: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=460514&view=results

Extracted from former PR (based off of main):
https://github.com/microsoft/CBL-Mariner/pull/6871

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/CBL-Mariner/pull/6924

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=464509&view=results


New sk-SK lang and new ja-JP hash: RARLab.WinRAR version 7.00.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This manifest appears to have 70 installers, so I'm hoping that we can get it through Automatic Validation, as I don't want to manually validate more than 10 for a single manifest if possible - because of how long it takes. If each validation takes 20 minutes, then 20 minutes * 70 = 1400 minutes / 7 VMs = 200 minutes or 3.33 hours.


FieldInfo#toString throws exception if owning type throws exception on toString.

Would be better if this was protected and just logged a warning and continued.

Fixed in master and release/1.1


ValueError conflict with Django treenode

I've tried working this out on my own for ages and I still can't figure it out. So 99% of the time everything works perfectly. After a seemingly random number of clicks, Django will shoot me an error message

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "", line 2, in message

File "/usr/local/lib/python3.8/site-packages/django_unicorn/decorators.py", line 17, in timed
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django_unicorn/views/init.py", line 43, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/views/decorators/http.py", line 40, in inner
return func(request, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django_unicorn/views/init.py", line 485, in message
json_result = _handle_component_request(request, component_request)
File "/usr/local/lib/python3.8/site-packages/django_unicorn/views/init.py", line 331, in _handle_component_request
return _process_component_request(request, component_request)
File "/usr/local/lib/python3.8/site-packages/django_unicorn/views/init.py", line 93, in _process_component_request
set_property_from_data(component, property_name, property_value)
File "", line 2, in set_property_from_data

File "/usr/local/lib/python3.8/site-packages/django_unicorn/decorators.py", line 17, in timed
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django_unicorn/views/utils.py", line 62, in set_property_from_data
set_property_from_data(field, key, key_value)
File "", line 2, in set_property_from_data

File "/usr/local/lib/python3.8/site-packages/django_unicorn/decorators.py", line 17, in timed
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django_unicorn/views/utils.py", line 90, in set_property_from_data
setattr(component_or_field, name, value)
File "/usr/local/lib/python3.8/site-packages/django/db/models/fields/related_descriptors.py", line 215, in set
raise ValueError(
Exception Type: ValueError at /unicorn/message/Chooser
Exception Value: Cannot assign "1": "Node.tn_parent" must be a "Node" instance.

(Node.tn_parent is a Django treenode property)
The kicker? This doesn't affect anything on the user side. The function is executed flawlessly. The only visible problem is on server side where there's a slight bump in performance. I'd prefer to fix it to smooth out said problem.
Apologies in advance if this is the wrong place to talk about this.

Ah, one thing. On the user side, the developer console spits a 500 error at me. Again, the site itself still works???

Sometimes data gets serialized incorrectly, but it's frustrating this only happens once in a while. If you can create an example or test that replicates the problem I'd love to look at it.

I think I have a similar problem where in unicorn:data user: 1 only sometimes causes this problem but user: "1" always causes the same value error.
For me the cause is different though because I'm using a select to choose a user ID.
Cannot assign "'1'": "Ticket.user" must be a "User" instance.


Polyline with arrow material is blurry

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/sFOMs4XMJQk
It's particularly noticeable when the polyline has a large width:

This also has major issues at horoizon views.

BONUS:  It'd be nice of the width parameter was used for the width of the polyline, not the width of the arrow head.  And the arrow head should maintain a nice proportion.  It doesn't look good all stretched out like this for a polyline with a large width.

Came across the issue that @mramato described by chance today, @emackey thought it was worth uploading a screenshot demonstrating the issue:

This is an old issue, any traction on this?

@mccoy1 Good news/bad news.
Good: The artifacts/twistyness/jumping are all fixed by #8706 and #8727 which are in master now and will go out with the May 1st release. (Thanks again @kring!)
Bad: The blurriness on wide lines is still a problem for the arrow material.
@emackey Any idea on the blurriness? Since it's specific to the arrow material I'm assuming it's something specific to its shader?

Ah nerd-sniping me on this one eh?  Back at ya: #8791 😄

Does anyone know if the Polyline pixel width is available in the fragment shader?


⚠ Bofrost.de has degraded performance

In 2433c02, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1400 ms

Resolved: Bofrost.de performance has improved in ca233b4 after 10 minutes.


Data reorg

fixes #39

Coverage decreased (-0.02%) to 87.954% when pulling 9ceea6bfb9fc8ec8414b851899aea3683b1c68e5 on data-reorg into feaa127b758737650e061ca0e98f8cf2de6fb988 on master.

Coverage increased (+0.04%) to 88.013% when pulling 79b1afebc9d4fd80e4619486da410ef62c02af3b on data-reorg into feaa127b758737650e061ca0e98f8cf2de6fb988 on master.

Coverage increased (+0.04%) to 88.013% when pulling c6423dec2bc08d29d6d60772439f69178edbf83d on data-reorg into feaa127b758737650e061ca0e98f8cf2de6fb988 on master.


Implement minimial flow support

While this won't provide full coverage, it will allow folks to use flow without ignoring fusion imports.
Fixes #76

!merge


Docker events init error with docker-machine with kvm (using kvm driver forked from https://github.com/tdilauro/docker-machine-kvm )

I am using kvm driver for docker-machine, It works on cli flawlessly without any issues.. But on Dockstation,  even I start it manually via cli, Dockstation shows connected, but when I click on containers tab, I get docker events init error..
The  I only see Hyper-V, VMWare and VirtualBox as hypervisors in settings.. Need support for kvm driver selection in settings if possible..

Oh, need to check your case...
I can't promise to do it next week because I'm working hard on a new release. But I'll try to check this as soon as possible.
I think that I will try to add a possibility to set custom drivers in the settings of the app.


add support for ipfs files stat --with-local

So, I upgraded my js-ipfs-api and found out that the support for ipfs files stat --with-local was broken after 98000af3fe9c15aa7f6a594f760bff2f3d373095 (the response object is not relayed entirely anymore, so the new values get dropped).
Another problem I had and that is not solved yet by this PR is that due to the migration in go-ipfs to the new go-ipfs-cmds framework (https://github.com/ipfs/go-ipfs/pull/4638), the command ipfs files stat now reply with a stream which is not converted properly in values by js-ipfs-api. There is two way to solve that problem:

convert the stream in a single value in js-ipfs-api
use cmds.EmitOnce in go-ipfs to hint the ReponseEmitter and reply without streaming

Do you have a preference ?
CC @whyrusleeping, @Stebalien

If the best choice is to adjust go-ipfs, it would be nice to choose before the upcoming 0.4.14.

Someone to answer my question ?

after 98000af (the response object is not relayed entirely anymore, so the new values get dropped).

What are the values missing? Mind updating that with the docs + tests on https://github.com/ipfs/interface-ipfs-core ?

the command ipfs files stat now reply with a stream which is not converted properly in values by js-ipfs-api.

The endpoint should be setting the headers so that js-ipfs-api figures that on the fly. Is that not the case?

What are the values missing? Mind updating that with the docs + tests on https://github.com/ipfs/interface-ipfs-core ?

New values comes from https://github.com/ipfs/go-ipfs/pull/4638. I will update interface-ipfs-core as well.

The endpoint should be setting the headers so that js-ipfs-api figures that on the fly. Is that not the case?

Actually, I'm not really sure what's going on. This is what I get when I do a request with the last go-ipfs:

Here, res is a DestroyableTransform which is part of the through2 npm package. This doesn't happen if cmds.EmitOnce is used in go-ipfs.
go-ipfs current master
js-ipfs-api v17.5.0

@MichaelMure I had a problem which was similar, though after a quick look at the stats source I think I was triggering a different code path. Nonetheless it might be worth to check. Could you set a breakpoint at https://github.com/ipfs/js-ipfs-api/blob/f81dce5bf54df3a3578e4786bfb741d761cd1297/src/utils/send-files-stream.js#L135 and see if you come across it? If yes, then it might be related to https://github.com/ipfs/js-ipfs-api/issues/696.
Another hack that worked in my case when I didn't get any value back from a stream was hard-coding the chunkedObjects to false at https://github.com/ipfs/js-ipfs-api/blob/f81dce5bf54df3a3578e4786bfb741d761cd1297/src/utils/send-request.js#L34.

The breakpoint at https://github.com/ipfs/js-ipfs-api/blob/f81dce5bf54df3a3578e4786bfb741d761cd1297/src/utils/send-files-stream.js#L135  is not triggered.
Hardcoding chunkedObjects to false indeed solve the problem. It's the same effect as using cmds.EmitOnce in go-ipfs.
The root problem might linked to 210dabb3a857bd6e832f37c64b90ad0fcdba6519 that introduce changes on how data is decoded when chunkedObjects is true.

@pgte There seem to be more issues with streamed responses.

@diasdavid does that make sense for you to set the optional values of the http request to default value as I did in this PR ? Or should the keys be missing entirely ?
For reference, the go struct:
type statOutput struct {
	Hash           string
	Size           uint64
	CumulativeSize uint64
	Blocks         int
	Type           string
	WithLocality   bool   `json:",omitempty"`
	Local          bool   `json:",omitempty"`
	SizeLocal      uint64 `json:",omitempty"`
}

@diasdavid spec completed here: https://github.com/ipfs/interface-ipfs-core/pull/227
I'll add some test when I'm sure what the interface should look like.

PR updated with better default values and a fixed test

@MichaelMure the code looks code. Could you fix the tests please?

@hacdias please note that you need go-ipfs master and https://github.com/ipfs/js-ipfs-api/issues/696 fixed (I used the cmds.EmitOnce workaround in go-ipfs to have the test pass).

@MichaelMure curiously enough, the tests passed here. Anyway, I'm approving this changes because they seem to be correct. We can wait until those issues are also fixed to merge this one.

So, huuuu, I actually had trouble when the http reply was a stream because I ... didn't unwrap the stream with streamToValue. So #696 might have been a problem but my code was incorrect as well. Well ...
I still have trouble running the tests properly (lots of unrelated tests are failing), so I'm not sure everything is correct. That said I'm currently using a fork of js-ipfs-api in my project (https://github.com/MichaelMure/js-ipfs-api/tree/fork) and it works properly now.

@MichaelMure released interface-ipfs-core with your changes, please rebase master onto this branch and update the interface-ipfs-core dep.


Cannot stackalloc JobHandle[]

Even though JobHandle is a struct, I cannot seem to be allowed to stackalloc an array of them, which makes allocation free scheduling of jobs from within a loop of unknown runtime count very cumbersome (borderline impossible).
It would be extremely convenient to be able to do this to get the ability to directly and synchronously schedule and then complete workloads without allocating or messing around with a List or something like that.
It would also help to combine job dependencies as these jobs are being scheduled in parallel. As far as the package's api goes, that requires some sort of Span to be passed in. But assembling that span in memory is impossible without going through another type like System.Array or System.Collections.Generic.List.

... but it is a struct. And that totally works with other structs:

What am I getting wrong here? :)
I tried to work with a list with pre-reserved capacity, but I can't even submit a List to Scheduler.CombineDependencies. So there's no chance (without juggling array indices and counting jobs?) to track dependencies as they accrue?

Thanks for pointing this out!
@LilithSilver What do you think about this one?

To use stackalloc, a struct must be "pure", i.e. contain no managed type references. Unfortunately, the JobHandle contains a reference to its associated Job.
For now, pre-allocate and store a List, and use CollectionsMarshall.AsSpan(list), as discussed here: https://stackoverflow.com/a/60514418/2779909
I agree that this would be super convenient though... I will look into associating an ID to a Job instead of storing a class reference for scheduling purposes. That would add some overhead to the scheduler but maybe that's OK.
Thanks for pointing this out!


CB: bucket per mount mapping

Fixes: #1740
This PR changes the couchbase connection URI format in two ways:
a) bucket name needs to be specified after couchbase://<host>[:<port>]/
b) a document type needs to be specified using docTypeKey
In addition, a Quasar couchbase mount now maps directly to a couchbase bucket.

@nicflores Needs a merge from master


Game crashes in release build if tetrominos are spawned en masse

This is likely due to the dangling Variant issue where reference to freed objects are being reassigned: https://github.com/godotengine/godot/pull/38119
The way this game was coded was terribly rushed, with no thought or design to keep track of object references. You will see many null checks because of this, just search the files for is_instance_valid() and you'll see plenty. When something dies in this game, queue_free() is called and it's supposed to be freed from the memory. However, other objects still have reference to that thing, and because that reference is not freed, it thinks the object still exist because other stuff occupied that space in memory.
This was apparent when the speech bubble didn't work correctly when entering a scripted area, because the check for the speech bubble was whether or not it is null. Even though the speech bubble was destroyed, the reference still says that the speech bubble exists - this is because it was assigned to something else. Therefore, the code relating to speech bubble could not execute, because the reference was not pointing to a SpeechBubble object, it was pointing to whatever the hell else is occupying that memory space at that given time.
In the debug build, there seems to be monitoring and checks to prevent this from happening. The goal of this issue is to refactor and ensure all references to itself are properly removed before queue_free() is called.

tetromino references have been redesigned and optimized


pkg/cidata:  During boot, only terminate user connections when the environment changes

for #1941

Can you please squash commits? At least the first and last commit should be combined into a single commit.


AttributeError: 'WebSocket' object has no attribute 'page_id' on wp.redirect

Issue seems to be related to 0.1.4 change "use wp.redirect in request handlers with no need for page_ready event"
In our example, when a user navigates to a page (i.e. http://localhost:5000/overview?project_id=37), it first checks if they are logged in. If they aren't, we save the original request.url, redirect them to AD login, and send them back to the JustPy application. Once they're set to logged in, we redirect the page to the original request.url. However, the full URL gives an error, so we have to remove the base domain (i.e. http://localhost:5000).
This works:
users[request.session_id]['redirect_page'] = str(request.url).replace('http://localhost:5000','')
...
wp.redirect = users[request.session_id]['redirect_page']

But this:
users[request.session_id]['redirect_page'] = str(request.url)
...
wp.redirect = users[request.session_id]['redirect_page']

Causes an error, but still redirects correctly:
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 154, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/applications.py", line 111, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/middleware/errors.py", line 146, in __call__
    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/middleware/httpsredirect.py", line 19, in __call__
    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/middleware/gzip.py", line 20, in __call__
    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/exceptions.py", line 58, in __call__
    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/routing.py", line 566, in __call__
    await route.handle(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/routing.py", line 283, in handle
    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/share/virtualenvs/analysis-hub-OumnfNmP/lib/python3.6/site-packages/starlette/endpoints.py", line 76, in dispatch
    await self.on_disconnect(websocket, close_code)
  File "/home/ubuntu/analysis-hub/justpy/justpy.py", line 274, in on_disconnect
    pid = websocket.page_id
AttributeError: 'WebSocket' object has no attribute 'page_id'

Thanks for flagging this, I'll take a look. I don't use the whole path for redirection with local, so never encountered this issue.

I was able to suppress the error with this change to justpy/justpy.py:
    async def on_disconnect(self, websocket, close_code):
        try:
            pid = websocket.page_id
        except:
            return

Thank you! I made the change to the code.

Has current release fix it?
I still have, sometime in logs:
AttributeError: 'WebSocket' object has no attribute 'page_id'
ERROR websockets_impl: Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 154, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "/usr/local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 146, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/gzip.py", line 20, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 58, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 582, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 299, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/endpoints.py", line 76, in dispatch
    await self.on_disconnect(websocket, close_code)
  File "/usr/local/lib/python3.8/site-packages/justpy/justpy.py", line 274, in on_disconnect
    pid = websocket.page_id
AttributeError: 'WebSocket' object has no attribute 'page_id'

Has current release fix it?
I still have, sometime in logs:
AttributeError: 'WebSocket' object has no attribute 'page_id'
ERROR websockets_impl: Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 154, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "/usr/local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 146, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/gzip.py", line 20, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 58, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 582, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 299, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/endpoints.py", line 76, in dispatch
    await self.on_disconnect(websocket, close_code)
  File "/usr/local/lib/python3.8/site-packages/justpy/justpy.py", line 274, in on_disconnect
    pid = websocket.page_id
AttributeError: 'WebSocket' object has no attribute 'page_id'

Not yet, I haven't issued a new release since. Will do so in the next few weeks.

Not yet, I haven't issued a new release since. Will do so in the next few weeks.

has this been fixed or should it be added to 0.3.0?

Please re-report the error if it is still happening


Flow error for local installation

I prefer installing dependencies locally rather than globally. Running flow after installing pundle results in the following error:
node_modules/pundle-api/types.js:6
  6: export type { FileIssue, MessageIssue } from './src/issues'
                                                  ^^^^^^^^^^^^^^ ./src/issues. Required module not found

Found 1 error

Here's my flowconfig:
[ignore]
<PROJECT_ROOT>/.venv/.*

.*/node_modules/fbjs/lib/.*
.*/node_modules/jss/.*
.*/node_modules/pundle-api/spec/.*
.*/node_modules/react-swipeable-views/.*

[libs]
flow-typed

[options]

I get this error because the src directory in the pundle-api package is ignored by npm.
Another option could be to add pundle to flow-typed.

Fixed as of https://github.com/motion/pundle/pull/101/commits/d7fdb527b2397b7fadc95a0ebacda7a9a0f8d212 will be part of v2b13


Configuration modification does not take effect

Feature description

I modified the leader key, but it doesn't seem to work.

Additional information

I use the latest code from the main branch.

This is hard coded into alpha. Please modify these lines:
https://github.com/ayamir/nvimdots/blob/c3c0365d3dd0610d185aa610a8e6c46840e4ac03/lua/modules/ui/config.lua#L63-L71

This is hard coded into alpha. Please modify these lines:
https://github.com/ayamir/nvimdots/blob/c3c0365d3dd0610d185aa610a8e6c46840e4ac03/lua/modules/ui/config.lua#L63-L71

But after I modify the leader key  to \, only space key still take effect.

@Jint-lzxy  I found that it seems that because I have multiple neovim configurations in the same directory, I modified another configuration when I used neovim to edit configuration. Thanks a lot.


Add register/login on the server

This PR introduces most of the authentication functionality that will be used on the server. This includes:

register endpoint
login endpoint
JWT authentication

Logout and other Redis features will be implemented in a separate PR

will handle the error in a separate PR, since there are no real integration tests yet


Not able to include values.yaml file in helm.tar.gz

I'm building helm.tar.gz file using helm goal.
What I would like to achieve is to include values.yaml file inside it but I don't see the way to do it.
Is it possible?

f-m-p version : 3.2.28
Maven version : 3.3.9

@libkad : Are you still using helm goal? FYI helm goal has been deprecated and we're not sure whether to include this or not in upcoming 4.0 release. I would really appreciate if you could provide feedback on this.

No, this was a blocker for us and we switched to use maven assembly plugin to achieve what we needed

@libkad : Oh okay. Shall we close this then ;-) ?

yes

Thanks for your feedback


Coverage of actual tests in the test/spec-files

Is it possible to include the coverage of the tests that are run?
It would be very helpful to see that all lines in the tests have been run, since dead code in the tests could mean that parts of tests are never run. (which happened to me today)

Yup, it's pretty easy:
istanbul cover --no-default-excludes -x "**/node_modules/**" <insert your tests here>
By default istanbul excludes the following: [ **/node_modules/**, **/test/**, **/tests/** ]
We turn that off with --no-default-excludes, then turn on the exclude for the dependencies with -x "**/node_modules/**", then add your test runner after it and you should see the tests being covered.
I have a few apps that I don't exclude the node_modules directory during functional testing to ensure that I am using as much of my dependencies as possible. I've been able to move to smaller modules once I noticed that I am only using certain parts of certain larger modules.

Awesome! I found some errors in my test with that. Thanks a lot!