Documentation errors: Better api help and tutorials needed

The current documentation is a great start and the getting started guides are superb and easy. However a major roadblock for any developer starting with Dash Platform is when the examples don't work or they get stuck at some point or find no api documentation.
Here are some small annoyances (plus some people in #evo-net had also trouble getting up to speed with the tutorials, maybe good feedback to recheck the initial guidelines):

Make a payment code (both on https://github.com/dashevo/DashJS and https://dashevo.github.io/DashJS/#/getting-started/quickstart ) is producing an error: activeAccount .createTransaction({   recipient:{address:'yLptqWxjgTxtwKJuLHoGY222NnoeqYuN8h', amount:0.12} }) .then((tx)=> console.log(tx));
results in: (node:30100) UnhandledPromiseRejectionWarning: Error: An amount in dash or in satoshis is expected to create a transaction   at Account.createTransaction (..\dashevo\node_modules\@dashevo\wallet-lib\src\types\Account\methods\createTransaction.js:41:13)
This works fine:
activeAccount .createTransaction({   recipient: "yLptqWxjgTxtwKJuLHoGY222NnoeqYuN8h",   satoshis: 12000000 }) .then((tx)=> console.log(tx));
The Read a document on the same page works fine, but the code presented at https://github.com/dashevo/DashJS doesn't work:
const profile = await sdk.platform.fetchDocuments('profile',{name:'Bob'})

Minor improvements:

The quickstart does not point out where the schema.json comes from, just copying/linking the example schema of the dashjs library would be helpful: https://dashevo.github.io/DashJS/#/getting-started/quickstart
The tutorials at https://dashplatform.readme.io/docs/tutorial-connecting-to-evonet or https://dashplatform.readme.io/docs/tutorial-create-and-fund-a-wallet should be one code snippet to make it easy to copy and try out and to make clear the code belongs together
In general a start to finish tutorial from getting the sdk ready, checking your wallet + balance, then creating an identity and registering a platform name with it would be great. currently any developer can figure it out, but instead of taking a few minutes it might take 10-30 minutes and we all know how short attention spans are these days ^^

I know I am getting more and more stuck the deeper I look as the tutorials stop abruptly and finding information in the source code is far from easy (its javascript after all ..). Good examples of detailed API documentation, having something like this for the most important few methods in each area (payment, contracts, etc.) would help a lot, especially if it is all on one easily searchable page. A lot of this information is already available at some pages at https://dashplatform.readme.io/docs or https://dashevo.github.io/DashJS/, but a lot more is needed to help new developers get up to speed and to know which methods exists and which parameters can be used:

https://bittrex.github.io/api/v1-1
https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md

thanks for putting this together @BenjaminNitschke! we are going to discuss this during our next documentation team planning, which typically occurs on Tuesdays. someone will respond again to this letting you know about the status of these proposed improvements.

Hey Benjamin !
Thanks a lot for the feedback.

Points well taken (sorry for that by the way), and I do agree with you, these are actually mistakes introduced by recent breaking change and a copy/paste from the wallet-lib that is not clear. We did plan (actually is my task today) to update the documentation.

For those you mentioned, because they are already spotted, it will be fixed in the coming PR that should be merged in the next 24hours.
Though, I will take the effort to do a recheck, add link to the dash platform documentation when able(which wasn’t live yet), or add more useful things trying to improve the documentation (which might come later on that last part, may be post dashpay contract delivery); It’s still possible that people will get stuck, have issue with dependencies, bugs etc… and we hope to have more of this reports to help us guiding us on what is the most urgent for them, or to point mistakes (therefore, thanks again!)

To put some context, the current state, is a quick MVP allowed by the release of Evonet, we put the effort mostly (because MVP) on providing the features for the first group of heavy enthousiasts, which is why some learners in Discord were really lost.  Now that we have a working full-stack, we consolidate around, and this will come with obviously a more stable API (were methods doesn’t just stop working because not updated in the doc) and more clear documentation.

The doc is now updated here : https://dashevo.github.io/DashJS/#/
Thank you again for the feedback, we tried to apply as much of them on it.


Keptn Full Tour: View Carts Service

I just stumbled across this step of the tutorial for Keptn 0.7.x:

In theory, the above commands will work with the tutorial. However, this will only work if the CD part is on the same cluster and behind the same ingress as the api (for the tutorial, this is obviously true).
Keptn offers a more generic way, by configuring the protocol, hostname and port as specified here: https://keptn.sh/docs/0.7.x/continuous_delivery/expose_services/#create-configmap-with-ingress-information
Maybe we could use the configmap in the tutorial?
Another way that we can also use to teach the user how Keptn works is the keptn get event command:
$ keptn get event sh.keptn.events.deployment-finished --project sockshop --service carts --stage dev

{
    "contenttype": "application/json",
    "data": {
        "deploymentURILocal": "http://carts.sockshop-dev",
        "deploymentURIPublic": "http://carts.sockshop-dev.1-2-3-4.nip.io:80",
        "deploymentstrategy": "direct",
        "image": "docker.io/keptnexamples/carts",
        "labels": null,
        "project": "sockshop",
        "service": "carts",
        "stage": "dev",
        "tag": "0.11.1",
        "teststrategy": "functional"
    },
    "id": "3077338f-82e1-4301-92c8-f2983139c200",
    "shkeptncontext": "069d758a-9b76-45a9-af5f-a6e9b42e391e",
    "source": "helm-service",
    "specversion": "0.2",
    "time": "2020-09-11T12:21:22.444Z",
    "type": "sh.keptn.events.deployment-finished"
}

good point @christian-kreuzberger-dtx !
The purpose of the tutorial is to execute in the exact way we've written it. If the user wants to change ingress, name of project etc this means the user has to take care of all subsequent commands to be correct and I'd assume the user has to work then rather with the documentation than with the tutorial.
But back to your point:

how could we use the configmap? Do you refer to the ingress-config or the api-nginx-config?
The CLI command makes sense, maybe that's the best way to do it...

Just verified this with Keptn 0.8.2, you can get the public URL of a deployed service by inspecting the deployment.finished event, e.g.:
keptn get event sh.keptn.event.deployment.finished --project sockshop --service carts --stage dev | jq -r '.[0].data.deployment.deploymentURIsPublic'

The description is as follows:

keptn get event - Keptn CLI command to fetch events
sh.keptn.event.deployment.finished - specify which event
--project sockshop --service carts --stage dev - specify project, service and stage
| - bash pipe operator
jq - tool to parse and process json output
-r '.[0].data.deployment.deploymentURIsPublic' - parse the latest deployments deploymentURIsPublic

I'm unassigning Juergen, this issue still needs some work


[PE-D][Tester B] Policies box UI does not update when adding new policies

In the UI, there's a box designated for policies, which most users should assume that whenever a new policy is added to a client, then the list of policies will be added. However the policy box remains empty even after adding multiple policies. The user is then unable to keep track of the details of the policies that they have added, such as the policy_type, policy_id, premium_term, policy_premium, and benefit as only the policy_name is shown in the clients.

Labels: severity.Medium type.FeatureFlaw
original: Ryan-Reno/ped#2

Policy list panel shows:

A single policy (when added with addpolicy)
List of policies (when using view)

Should not show anything, for other commands

EDIT: I don't think we should change the addPolicy command, as this will violate feature freeze. We should specify clearly in the UG that users will need to use 'view' command to verify the details of the just-added policy.
This fix can be put under "planned enhancements" in DG.


Refactor stability days

Codecov Report

Merging #373 (17f760c) into main (f78cd8d) will increase coverage by 0.08%.
Report is 1 commits behind head on main.
The diff coverage is 68.18%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #373      +/-   ##
==========================================
+ Coverage   81.65%   81.74%   +0.08%
==========================================
  Files         194      194
  Lines       10576    10589      +13
==========================================
+ Hits         8636     8656      +20
+ Misses       1640     1635       -5
+ Partials      300      298       -2

Flag
Coverage Δ

unittests
81.74% <68.18%> (+0.08%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

checker/check-api-sunset-changed.go
34.40% <30.00%> (-0.48%)
:arrow_down:

checker/checker.go
49.76% <100.00%> (+7.32%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
:loudspeaker: Have feedback on the report? Share it here.


[question] Will this be functional for v9 stable release on Monday?

Hope all is well, just checking on v9 compatibility. Thanks!

Seems to pop some "Canvas drawing failed for the token layer" errors

The teleports don't work on V9 for me.

Teleports appear to work fine on-map,  However, when you go to a difference scene it errors out.

AFAIK all features now work fine on V9 with the new 1.5.3 release - please file a new issue if you still have problems.


15 tps On almost empty world

Timings link
https://timings.aikar.co/?id=cc111b6aef7749a3a625d205fd537fa2
Description of issue
Consistent 15 tps hapening prety randomly. Without plugins hapens too.
Purpur-1434:
https://timings.aikar.co/?id=630b440a61f84748aa4f1daf9544f778
Purpur-1436:
https://timings.aikar.co/?id=cc111b6aef7749a3a625d205fd537fa2

Purpur version
This server is running Purpur version git-Purpur-1436 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 45ae426 on HEAD)
You are running the latest version
Previous version: git-Purpur-1434 (MC: 1.18.1)
Agreements

[X] I am running the latest version of Purpur available from https://purpur.pl3x.net/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] My version of Minecraft is supported by Purpur.

Other
No response

And even world was recreated.

Im having performance issues aswell. Purpur seems to be running slower than paper at this time.
Purpur: https://timin.gs/?id=8bc434875b6f410d94601e287c960efa
Paper: https://timin.gs/?id=7c85fe92b8484d1297ffafd6b07c52ad

Purpur-1434: https://timings.aikar.co/?id=630b440a61f84748aa4f1daf9544f778
Purpur-1436: https://timings.aikar.co/?id=cc111b6aef7749a3a625d205fd537fa2

These reports don't make any sense, tbh. Looking at the mspt rates (0.4ms) during the 15tps ranges, it should be reading 20tps. The graphs don't even show any signs of tps loss at all (0%). Are you actually experiencing any lag, or is this a fault in the tps readout/calculation?

Purpur: https://timin.gs/?id=8bc434875b6f410d94601e287c960efa
Paper: https://timin.gs/?id=7c85fe92b8484d1297ffafd6b07c52ad

I'm not sure where you think Purpur is being slower than Paper in these reports @cfitz25. Both reports show the server running at a perfect 20tps. Paper's report is 22.8mspt and Purpur's is 15.7mspt, making Purpur's faster but both are running in perfect condition with no lag..

Sorry, i was looking at the ms values below that, seems i gotta understand how timings reports work better. Thanks for pointing this out

Probalyt tps are calculated wrong. I thought it was intended reading.

I set 5000000 random tick rate and server wasnt lagging too bad. So this must be tps calculation isusue.


Symfony 5.4.11

Coverage remained the same at 97.386% when pulling eec575cfab30f7ce606dc4ffb42d3c4be439f7c0 on symfony-5.4.11 into 615b53520688b45a9baee16531cd3ff2e77b1586 on master.


net/haproxy: plan upgrade to HAProxy 2.8 release series

ETA: 01/2024 (no promises!) / Scheduled for inclusion in OPNsense 24.1
HAProxy 2.8 and the short-lived 2.7 release series introduced several interesting enhancements:

Support for OCSP stapling is finally a built-in feature
Thread limit raised to 4096, support for thread groups
HTTP compression of requests & responses
Updated options for tuning HTTP/2 performance
Assorted Lua improvements
HTTP/2 is enabled by default (we should warn users about this)

My personal wishlist for this plugin release:

Maybe we'll find a way to enable support for HTTP/3 over QUIC (FreeBSD bug 267388)...
Fixes and improvements for the integrated HAProxy Python CLI

As usual, a number of tasks need to be completed:

[ ] Add HAProxy 2.8 package
[ ] Check for removed features / incompatible changes
[ ] Replace deprecated functionality
[ ] Perform a set of tests
[ ] Document known issues (nothing found so far)
[ ] Update documentation URLs to point to 2.8 docs
[ ] Add support for new config options (OPTIONAL)

More details:
https://www.haproxy.com/blog/announcing-haproxy-2-7
https://www.haproxy.com/blog/announcing-haproxy-2-8

@syberx, the issue clearly states in the first sentence:

ETA: 01/2024 (no promises!) / Scheduled for inclusion in OPNsense 24.1

Which feature are you waiting for that is not available in os-haproxy right now?

PR for addition in OPNsense 24.1:
https://github.com/opnsense/plugins/pull/3694
Support for QUIC will not be added in this release. It will probably be added in os-haproxy 4.3 or 4.4.


I've asked repeatedly

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the library and it is still present.

cloudflare-go version
I'm not sure
Go environment
I want to clarify if this platform is blocking or restricting any calls or text messages to my device. Google should be my DNS, and is already built in as so. I'm puzzled how cloudflare has taken charge of DNS. I'm very upset and disturb about this situation. I want all calls and text to my device phone number like normal. Please remove cloudflare as DNS. I don't need or interested in any feature's. My incoming messages are being restricted and orange is now primary color on my device. Please stop
Expected output
Detach from my device and IP address. Restore my Google server
Actual output
I don't use cloudflare for anything. Remove
Code demonstrating the issue
I have no clue. See attached
Steps to reproduce
Erase all please. My threads are being effected. People who I've interacted with or who's been sync aren't notifying on my device
References
No response


fix thumbnails for 4,5,7 (byron)

Checklist

[x] You have included a thumbnail image
[x] You have created a new Markdown file to describe your map
[x] You have put at least your name and the map day in the pull request

fixed day 3 map as well (choropleth map cannot map counts!)


Analyzer 1.6.0 on Dart 2.13.0 fail to precompile: Getter not found: 'topLevelVariable'. Type 'dynamic' of the case expression is not a subtype of type 'TargetKind' of this switch expression.

Dart SDK version: 2.13.0 (stable) (Wed May 12 12:45:49 2021 +0200) on "macos_x64"
Failed to precompile build_runner:build_runner:
/opt/homebrew/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.6.0/lib/src/error/best_practices_verifier.dart:1600:40: Error: Getter not found: 'topLevelVariable'.
return kinds.contains(TargetKind.topLevelVariable);
^^^^^^^^^^^^^^^^
/opt/homebrew/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.6.0/lib/src/error/best_practices_verifier.dart:2024:23: Error: Getter not found: 'topLevelVariable'.
case TargetKind.topLevelVariable:
^^^^^^^^^^^^^^^^
/opt/homebrew/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.6.0/lib/src/error/best_practices_verifier.dart:2024:23: Error: Type 'dynamic' of the case expression is not a subtype of type 'TargetKind' of this switch expression.

'TargetKind' is from 'package:meta/meta_meta.dart' ('/opt/homebrew/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/meta_meta.dart').
case TargetKind.topLevelVariable:
^
/opt/homebrew/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.6.0/lib/src/error/best_practices_verifier.dart:2001:13: Context: The switch expression is here.
switch (this) {
^
pub finished with exit code 1

Same, started happening after upgrading to build_runner 2.0.4 and analyser 1.6.0

*for forced use of a specific version of the analyzer, you can add this block to pubspec.yaml
dependency_overrides:
  analyzer: '1.5.0'

@pq - perhaps a versioning issue with your recent change - https://dart-review.googlesource.com/c/sdk/+/200900 ?

@vsmenon: quite right.  1.6.0 has a dependency on a change to  a newer package:meta.  I was out yesterday but it looks like there was a scramble to address this by @scheglov, @jcollins-g, @bwilkerson and others and I believe we're out of the woods with analyzer 1.7.0.   There's also been some conversation about what we can do to harden the CI/release process to avoid this kind of issue in the future.  Not sure there's resolution yet.  (If there are open issues, maybe someone could link here?)
/fyi @devoncarew
Sorry for the inconvenience @artnavsegda !

@flutterfromscratch  Eeeep.  pubspec.yaml in Flutter pins meta to a specific version (1.3.0), forcing any package that uses Flutter and analyzer (even indirectly, e.g. through package test or build_runner) to prefer analyzer 1.6.0.
Reopened https://github.com/dart-lang/sdk/issues/46136 and closing this as duplicate.

cc @jakemac53 as I know he's thought about flutter package pinning and the implications. I hadn't realized that it means that a flutter stable release (pinning meta) will effectively also pin the analyzer version, and transitively all build related packages.

Oh right 🤕 ... ya this is very problematic for this case in particular. Flutter users can override meta to the latest but that isn't a good solution.


Mango index not used when selector has a field with "$gt", "$lt" and another field

Write a Mango query with 2 selector fields. One field "a" checks "$gt", "$lt" and anther field "b" simply checks equality.
Create index of one field ["a"] and these 2 fields ["a", "b"].
Expected Behavior

For all Mango queries below, Mango index a-index is used.
Current Behavior

For Mango query 1, Mango index a-index is not used.
For Mango query 2 and 3, Mango index a-index is used.
Possible Solution

Fix the bug.
Steps to Reproduce (for bugs)

Bulk Insert Documents
{
  "docs": [
    { "a": "1970-01-01", "b": 1, "c": "xxx" },
    { "a": "1970-01-02", "b": 2, "c": "yyy" },
    { "a": "1970-01-03", "b": 1, "c": "zzz" },
  ]
}

Query 1
{
  "selector": {
    "a": {
      "$gte": "1970-01-01",
      "$lt": "1970-01-31"
    },
    "b": 1
  }
}

Query 2
{
  "selector": {
    "a": {
      "$gte": "1970-01-01",
      "$lt": "1970-01-31"
    }
  }
}

Query 3
{
  "selector": {
    "a": {
      "$gte": "1970-01-01"
    },
    "b": 1
  }
}

Index 1
{
   "index": {
      "fields": [
         "a"
      ]
   },
   "name": "a-index",
   "type": "json"
}

Index 2
{
   "index": {
      "fields": [
         "a", "b"
      ]
   },
   "name": "a-b-index",
   "type": "json"
}

Bulk insert documents as above
Open Fauxton
Create Mango index 1 as above
Enter Mango query 1 as above
Press Explain button
I found that index a-index is not used
Run the query, it is really slow
Enter Mango query 2 or query 3 as above
Press Explain button
Index a-index is used
Perform above steps again, but this time, create index 2

Context

Index a-index is not used in the mango query 1, so query performance is poor.
Your Environment

Version used: 2.1.1 (docker image)
Browser Name and version: Firefox 60
Operating System and version (desktop or mobile): Ubuntu 16.04 x64

This appears to have been fixed on master (which will become the 2.2.0 release):
# Create the database and 3 documents
$ curl -X PUT localhost:15984/db
{"ok":true}
$ curl -X PUT localhost:15984/db/1 -d '{ "a": "1970-01-01", "b": 1, "c": "xxx" }'
{"ok":true,"id":"1","rev":"1-5455dc18ba50b873f80d08b786882d75"}
$ curl -X PUT localhost:15984/db/2 -d '{ "a": "1970-01-02", "b": 2, "c": "yyy" }'
{"ok":true,"id":"2","rev":"1-929563268787e16b961a44c66bc502be"}
$ curl -X PUT localhost:15984/db/3 -d '{ "a": "1970-01-03", "b": 1, "c": "zzz" }'
{"ok":true,"id":"3","rev":"1-9f54d5b98444b17b4b80497fce915428"}
$

# Now we create the index
$ curl -X POST -H "Content-Type: application/json" localhost:15984/db/_index -d '{
   "index": {
      "fields": [
         "a"
      ]
   },
   "name": "a-index",
   "type": "json"
}'
{"result":"created","id":"_design/2b836b080d41d5929e6cf097a1364826f34f60bd","name":"a-index"}
$ curl localhost:15984/db/_design/2b836b080d41d5929e6cf097a1364826f34f60bd
{"_id":"_design/2b836b080d41d5929e6cf097a1364826f34f60bd","_rev":"1-583b3550340ed86a26f2c7b83b1f9625","language":"query","views":{"a-index":{"map":{"fields":{"a":"asc"},"partial_filter_selector":{}},"reduce":"_count","options":{"def":{"fields":["a"]}}}}}

# Now we POST to explain:
curl -X POST -H "Content-Type: application/json" localhost:15984/db/_explain -d '{
  "selector": {
    "a": {
      "$gte": "1970-01-01",
      "$lt": "1970-01-31"
    },
    "b": 1
  }
}' | jq .
{
  "dbname": "db",
  "index": {
    "ddoc": "_design/2b836b080d41d5929e6cf097a1364826f34f60bd",
    "name": "a-index",
    "type": "json",
    "def": {
      "fields": [
        {
          "a": "asc"
        }
      ]
    }
  },
  "selector": {
    "$and": [
      {
        "$and": [
          {
            "a": {
              "$gte": "1970-01-01"
            }
          },
          {
            "a": {
              "$lt": "1970-01-31"
            }
          }
        ]
      },
      {
        "b": {
          "$eq": 1
        }
      }
    ]
  },
  "opts": {
    "use_index": [],
    "bookmark": "nil",
    "limit": 25,
    "skip": 0,
    "sort": {},
    "fields": "all_fields",
    "r": [
      49
    ],
    "conflicts": false,
    "stale": false,
    "update": true,
    "stable": false,
    "execution_stats": false
  },
  "limit": 25,
  "skip": 0,
  "fields": "all_fields",
  "mrargs": {
    "include_docs": true,
    "view_type": "map",
    "reduce": false,
    "start_key": [
      "1970-01-01"
    ],
    "end_key": [
      "1970-01-31",
      "<MAX>"
    ],
    "direction": "fwd",
    "stable": false,
    "update": true
  }
}

The reason might be because of #1014 (you have an implicit and).
You'll see this fix with the release of 2.2.0.


bugfix: add routes for excluded ips

Pull Request Description
Describe what this PR does / why we need it
Rama support a flexible ip range configuration, in which even a discontinuous ip address range can be described. While if a subnet CIDR has some excluded ip addresses, there would be some problem for overlay pod to access these excluded ip addresses.
Does this pull request fix one issue?

Fixes #30
Describe how you did it
Four cases should be considered:

Underlay pod to access underlay excluded ip addresses: the same with underlay pod' accessing other underlay addresses, not changed.
Underlay pod to access overlay excluded ip addresses: this traffic should never pass through vxlan interface.
Overlay pod to access overlay excluded ip addresses: the same with overlay pod's accessing ip addresses outside the cluster, should never pass through vxlan interface.
Overlay pod to access underlay excluded ip addresses: the same with overlay pod's accessing ip addresses outside the cluster, should never pass through vxlan interface.

So, in the PR, I add some throw routes to handle the traffic with excluded destination address blocks, to make traffic don't pass through the vxlan interface if either it's destination is a overlay excluded ip addresses or it's the traffic from overlay pod to underlay excluded ip addresses.
Describe how to verify it
Use overlay pod to access underlay gateway or excluded ip addresses.
Special notes for reviews

Codecov Report

Merging #36 (e374c3f) into main (59e0fdf) will increase coverage by 2.90%.
The diff coverage is 79.81%.

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   15.77%   18.67%   +2.90%
==========================================
  Files          26       28       +2
  Lines        2105     2244     +139
==========================================
+ Hits          332      419      +87
- Misses       1724     1767      +43
- Partials       49       58       +9

Flag
Coverage Δ

unittests
18.67% <79.81%> (+2.90%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/daemon/utils/ip_range.go
79.81% <79.81%> (ø)

pkg/daemon/utils/utils.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

ref to #30


Update changelog for 2.0.3 release

This is to release a new patch, the changes were already merged on master (and backported on 0.8.x and 1.x).
I'm planning in releasing all those 3 today!

I'm adding a notice for the maintained versions (as discussed on Slack) and tagging it then! :+1: thanks!


[Concept] Policy control as administrator

As administrator,
I want to choose the policies that are used by Trace-X,
so that I can change the policies if needed.
Hints / Details

Policies must be synchronized with the EDC to be able to use them
After creating new policies in the frontend, it must be possible to choose them for usage
Policies for data consumption and notifications can be chosen separately

Acceptance Criteria

[ ] Concept created
[ ] PBIs created

Out of Scope

...

Wontfix


Update service-fabric-diagnostics-how-to-report-and-check-service-hea…

…lth.md
StatefulService does not have a ServiceInitializationParameters property so the code as written does not compile. Instead, the Context property must be used to retrieve the PartitionId and ReplicaId.

Hi @nmackenzie, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Neil Mackenzie). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@nmackenzie : Thanks for your contribution to the Azure documentation! The author, @toddabel, has been notified to review your proposed change.

@ms-toddabel Hi Todd. Thanks for the review. I'm merging this pull request. For subsequent submissions, please add the sign off comment so that automation adds the ready-to-merge label. Thanks for the contribution @nmackenzie Neil.


Invalid openAPI definition in hapi fhir server 6.2.0

Problem
Some paths in the openAPI definition miss the schema for the data type, which leads to errors in the openapi-generator and in swagger.
I tried to generate a NestJS API client, based on the current openAPI definition using the openapi-generator-cli. The tool refused to generate code and printed out that the content of some GET paths are missing. Here are some examples:
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/ExampleScenario'(get).parameters.[status].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/MedicinalProductPharmaceutical'(get).parameters.[_filter].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/Account/{id}/$diff'(get).parameters.[to].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/Organization/{id}/$validate'(get).parameters.[resource].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/VerificationResult'(get).parameters.[_id].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/StructureMap/{id}/$diff'(get).parameters.[to].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/AppointmentResponse'(get).parameters.[_id].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/EffectEvidenceSynthesis'(get).parameters.[_tag].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/ImmunizationRecommendation'(get).parameters.[_tag].content is missing
[[nestjs-generator] ./hapi-fhir-openapi.yaml]   -attribute paths.'/SearchParameter/{id}/$diff'(get).parameters.[from].content is missing

I asked for help in this stackoverflow question, and it was pointed out that some paths seem to miss the schema for the data type. This also leads to errors when pasting the definition into https://editor.swagger.io
Expected behavior
The schemata are given in the GET routes which should make code generation possible.
Environment

openAPI definition for version 6.2.0-PRE15-SNAPSHOT/422ef87a5d/2022-10-13
openAPI generator: 6.0.1
chrome
https://editor.swagger.io (used today)

If I am wrong and the error is on my side, I am thankful for any hint.

Encountered this issue today w/ latest version of the hapi openapi document and versions 6.0.1, 7.0.1 of the openapi-generator
I've been trying w/ other openapi defs

hapi
firely
@microsoft/fhir-codegen

I think I'd previously learned (I forget where from) that @DefinitelyTyped/fhir ultimately comes from the microsoft/fhir-codegen project.   I can get the codegenerator to work w/ that json file, but it's dated (in terms of OpenAPI spec version and its content)


Add Guns to some enemies

Lets make the saucers (to start) shoot the player. A simple raycast laser should be enough.

If you copy the new EnemyBurstFireGun (used on the caltrops) you could use that as a basis. An idea would be to swap the trigger for a semi auto one, tweak the script to make aiming at the player an option. Turn that off for the new gun, and point it z up, then swap the projectile prefab on the shooter module for a drunken player tracker and ammo effect for explosive. If you haven't found a solution you like by tomorrow then I'll look at that


[ME-65] Migrate Artist page to use same sort as web

This is more than just sorting, see https://github.com/artsy/metaphysics/pull/2020.
I chatted with Sam about what to do here, since it doesn't really make sense to separate the for-sale and not-for-sale artworks (because the new filtered artworks already sort based on merchandisability, which will already put for-sale works at the top). So we're removing the division between "For Sale" and "Other Works" to just have a single list:

I took a stab at converting the artwork grid tests to use relay-testing-utils but got stuck. Might make another try next week. #skip_new_tests

:rocket: PR was released in v1.18.5 :rocket:


Innaccurate

This is still the best doc I've found on getting your ARM template into CI/CD, but unfortunately it's not accurate. Some of the parameters listed as required aren't even included in the example. Further, azureSubscription isn't the azure subscription name or ID. This value expects the name of the service to service connection, so it's not intuitive. While I'd love for the yml to be updated to have this be serviceConnectionName or the like instead this doc needs to be updated as soon as possible to indicate that this doesn't accept the subscription information as input.

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

ID: a59ea95e-b51a-e529-37a8-215e383c9a0b
Version Independent ID: f1afdb0e-f090-3193-9bb8-ce5952016768
Content: Azure Resource Group Deployment task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/azure-resource-group-deployment.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

@pulkitaggarwl  - fyi

Thanks for jumping on this one; I just wanted to add a note that the azureSubcription value mentioned works as the service to service connection in every place I've noticed it mentioned in docs like this; not just this one.


If I can customize it, it will be great

use prop to control

I am getting the same issue.

customize what?

Closing this because it's vague. Let us know if you have anything to add.


Updating AST to 5.5 and adding in players hit to div for arcana tracking

Updated AST to 5.5 support and updated changelog
Added myself to contributors
Updated Arcana Tracking to include Players Buffed by Divination

The code utilized was largely taken from DRG Battle Litany code with some tweaks to fit the Arcana Tracking table
See attached screenshot for sample tested

Please let me know if you have any questions or concerns about this PR
Thank you

I'll merge it when I get home tonight.

Quick note, merging since Sushi approved, but the DIVWindow class here would have been better off as an interface since the class has no methods, it's just structural. The main reason to use classes is to have getters or other methods on them to work with the data but if it's just for the field names, an interface will suffice.


Fix VT sequences for Ctrl+Alt+? input

Summary of the Pull Request
Ctrl+/ and Ctrl-? are complicated in VT input.

C-/ is supposed to be ^_ (the C0 charater US)
C-? is supposed to be DEL
C-M-/ is supposed to be ^[^/
C-M-? is supposed to be ^[?

The astute reader will note that these characters also share the same key on a
standard en-us keyboard layout, which makes the problem even more complicated.
This PR does a better job of handling these weird cases.
PR Checklist

[x] Closes #3079
[x] I work here
[x] Tests added/passed
[n/a] Requires documentation to be updated

Validation Steps Performed

ran tests
checked showkey -a in gnome-terminal
checked showkey -a in conhost
checked showkey -a in Windows Terminal

C-/ is supposed to be ^_ (the C0 charater US)
C-? is supposed to be DEL
C-M-/ is supposed to be ^[^/
C-M-? is supposed to be ^[?

For the record, I think this is wrong. If you look at Mintty, or Xterm (with the meta sends escape mode set), you'll get different results:
Ctl+/ is ^_ (US)
Ctl+? is ^? (DEL)
Ctl+Atl+/ is ^[^_ (ESC US)
Ctl+Atl+? is ^[^? (ESC DEL)
Alt+/ is ^[/ (ESC /)
Alt+? is ^[? (ESC ?)
Notice how it all fits a pattern. Gnome-terminal doesn't distinguish between Ctl+Alt and Alt, which definitely seems like a bug to me.

@j4james great catch! I was using gnome-terminal to test, not xterm. That certainly does make more sense. I'll make sure that roundtrips as nicely through conpty as the other ones did

Gah okay. I concur that the fixed behavior is more correct, but now ctrl+alt+? falls into the #879 category of keys. We can't differentiate between that and Alt+Bksp, but that's probably okay.

In the future, I'd like to see if we can't just not special-case these keys.


Is it possible to open a modal from tab bar or add custom button ?

i want to be able to open modal from tabbar or just show some overlay with "Search" input.
there are couple more issues related to this but they have been closed without any real solution and no direct answer neither.
if this is possible please show example or just say "no you cant do that with RNRF".
Example:
https://video.twimg.com/tweet_video/DHR7zyEV0AEmhYI.mp4

You must read the document first


Fix section mapping, hiding untagged PRs, and hiding untagged issues

This is a rebase and resubmission of #453 to pass rubocop/tests and remove --between-tags references because it was removed in #501

I am grateful for this reasoned careful change.


Define fields for array storing

To fully support categorize in norch/search-index, I need to define which fields to be set as arrays (of one object/string):
Should be fixed in: google-to-JSONstream-file.js

Fixed in vinmonopolet-crawler


default data support for _.template()

I've added default data support for the template() method. It makes it possible to

add default data
adding helper functions

Example:
var tpl = '<%= greet(name) %>';

var hello = function(name){
  return 'Hello '+name+'!';
};

var hey = function(name){
  return 'Hey '+name+'!';
};

var defaultData = {
  greet: hello,
  name: 'Jack'
};

var settings = _.templateSettings;
var compiled = _.template(tpl,settings,settings,defaultData);
console.log(compiled());
// => "Hello Jack!"
console.log(compiled({name:'Bill'}));
// => "Hello Bill!"
console.log(compiled({greet:hey}));
// => "Hey Jack!"

I think Underscore expects you to solve this problem at the data layer using something like http://backbonejs.org/#Model-defaults would something like that work for you?

Well, I must confess, I've never worked with backbonejs...
I've started to work on a "code factory", which should be able to render code templates / snippets from template files.
So I've been looking for a rendering engine, written in node.js, which can render the files and fill with data and I decided to use underscorejs.
I also need to be able to pass default values, helper functions and sub renderers to the code renderer, so I thought this little enhancement could make it easier.

It looks like you're in the market for a more full-featured, dedicated templating library.  Maybe check out dust, or marko?


Compile error in  mac

Xamarin.Android Version (eg: 6.0):
xamarin.android-7.1.0-43
Operating System & Version (eg: Mac OSX 10.11):
Mac OSX 10.11
Google Play Services Version (eg: 8.4.0):
Xamarin.Android.Support.Compat 25.2.0-beta1
Xamarin.Android.Support.Core.UI 25.2.0-beta1
Xamarin.Android.Support.Core.Utils 25.2.0-beta1
Xamarin.Android.Support.Design 25.2.0-beta1
Xamarin.Android.Support.Fragment 25.2.0-beta1
Xamarin.Android.Support.Media.Compat 25.2.0-beta1
Xamarin.Android.Support.Transition 25.2.0-beta1
Xamarin.Android.Support.v4 25.2.0-beta1
Xamarin.Android.Support.v7.AppCompat 25.2.0-beta1
Xamarin.Android.Support.v7.CardView 25.2.0-beta1
Xamarin.Android.Support.v7.MediaRouter 25.2.0-beta1
Xamarin.Android.Support.v7.Palette 25.2.0-beta1
Xamarin.Android.Support.v7.RecyclerView 25.2.0-beta1
Xamarin.Android.Support.Vector.Drawable 25.2.0-beta1
Describe your Issue:
AndroidLibraryProjects.zip unzip error

It should unzip like this

Steps to Reproduce (with link to sample solution if possible):
Build it on Mac use the Xamarin.Android.Support  25.2.0-beta1 Version
Include any relevant Exception Stack traces, build logs, adb logs:

I'm really not sure what exactly the error is here.
I see something about Google Play Services Maps... are you trying to use Android Support 25.2.0-beta1 with Google Play Services Maps and having an error? if so, what's the version of Google Play Services maps, and what's the diagnostic build output?

The file name unzip in mac is wrong, files should put in folder,like windows ,for example AndroidManifest.xml should put in  library_project_imports folder,but it not put in the correct folder in mac,you can see in the picture very clearly.

Updating Resources...
The "CheckDuplicateJavaLibraries" task failed unexpectedly.
This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER.
System.IO.FileNotFoundException: Could not find file 'obj/Release/library_projects/Xamarin.Android.Support.Animated.Vector.Drawable/library_project_imports/classes.jar'.
File name: 'obj/Release/library_projects/Xamarin.Android.Support.Animated.Vector.Drawable/library_project_imports/classes.jar'
at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000a9] in :0
at System.IO.FileInfo.get_Length () [0x00048] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length ()
at Xamarin.Android.Tasks.MonoAndroidHelper+SizeAndContentFileComparer.GetHashCode (System.IO.FileInfo obj) [0x00001] in <3f37ea95794e430e91f10accab4cf241>:0
at System.Linq.Set1[TElement].InternalGetHashCode (TElement value) [0x00011] in <2392cff65f724abaaed9de072f62bc4a>:0    at System.Linq.Set1[TElement].Find (TElement value, System.Boolean add) [0x00000] in <2392cff65f724abaaed9de072f62bc4a>:0
at System.Linq.Set1[TElement].Add (TElement value) [0x00000] in <2392cff65f724abaaed9de072f62bc4a>:0    at System.Linq.Enumerable+<DistinctIterator>c__Iterator101[TSource].MoveNext () [0x0006a] in <2392cff65f724abaaed9de072f62bc4a>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00078] in <2392cff65f724abaaed9de072f62bc4a>:0    at System.Linq.Buffer1[TElement]..ctor (System.Collections.Generic.IEnumerable1[T] source) [0x00087] in <2392cff65f724abaaed9de072f62bc4a>:0    at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00011] in <2392cff65f724abaaed9de072f62bc4a>:0
at Xamarin.Android.Tasks.MonoAndroidHelper.DistinctFilesByContent (System.Collections.Generic.IEnumerable`1[T] filePaths) [0x00055] in <3f37ea95794e430e91f10accab4cf241>:0
at Xamarin.Android.Tasks.CheckDuplicateJavaLibraries.Execute () [0x000fb] in <3f37ea95794e430e91f10accab4cf241>:0
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <2673e16a20c14c6aa636c7270280af12>:0
at Microsoft.Build.BackEnd.TaskBuilder+d__26.MoveNext () [0x002bf] in <2673e16a20c14c6aa636c7270280af12>:0

Are you sharing the same folder or syncing the same folders back and forth between windows and mac?  This may be causing issues, particularly if you are sharing any packages or bin/obj folders between platforms.

I think we finally found the issue.  In Xamarin.Build.Download we were using Path.DirectorySeparatorChar when constructing the zip file.  So if you build just on windows, it's fine as windows is happy with either / or \ in the zip entry name.  However if you bring those modified .dll's over to mac that were built on windows, the unzip doesn't work correctly due to the \ in the entry name (it treats it all as one file instead of a dir and file).
This commit should fix it: https://github.com/xamarin/XamarinComponents/commit/c9a8b16d06f45712409d92bb56fee0d799d7d6f6
For now you can work around by deleting your packages/ folder and bin/ and obj/ folders when you move to the mac from windows.
When Xamarin.Build.Download 0.4.4 is released it will include this fix.
Thanks!


Helper functions don't return a response status code.

Hey team,
After trawling through your documentation for globals, I doesn't seem that any of the helper functions (e.g. getByUID, getByID) return a status code with Promise<Document>
So it's difficult to distinguish when we have a Document that returns valid data:
e.g.
{
    id: string;
    uid?: string;
    url?: string;
    data: [ title: "Title", description: "Description" ];
}

and a Document that contains no data:
{
    id: string;
    uid?: string;
    url?: string;
    data: null;
}

I was under the presumption that the callback function can return a Response, but seems to return undefined every-time.
How can we better distinguish a response status, without having to resort to conditional or ternary operator for data like below ?
const doc = await Client(req).getByUID('example-type', '12345', {});

const statusCode = doc?.data ? 200 : 404;

Hey @luismiddleton, thanks for asking!
That's an interesting problem you're bringing here, ran some tests on my side, here are the results:
// index.js
const Prismic = require("@prismicio/client");

(async () => {
  const client = await Prismic.client("https://200629-sms-hoy.prismic.io/api/v2");

  const home = await client.getByUID("page", "home"); // exist, filled
  console.log({ home }); // { id, uid, type, ..., data}

  const fourofour = await client.getByUID("page", "homee"); // doesn't exist
  console.log({ fourofour }); // undefined

  const empty = await client.getByUID("page", "empty"); // exists, but empty
  console.log({ empty }); // { id, uid, type, ..., data}

  const empty2 = await client.getSingle("empty"); // exists, but empty
  console.log({ empty2 }); // { id, uid, type, ..., data}
})();

So it appears that real 404s just return undefined, therefore checking for that should be enough to discern a 404 from a 200? I'm adding your feedback to our board although so we can consider being more explicit here~
Cheers!

@angeloashmore can you confirm behavior is an expected one on this one with v6? Closing it if yes ☺

@angeloashmore can you just double check that behavior is a bit more expected on v6? 🙏

@lihbr @luismiddleton So sorry that I missed this question!
In v6, documents that do not exist will throw a NotFoundError. This is detected by checking for a 404 status code (see these lines). Different errors are thrown for other status codes like 400, 401, or 403.
All errors extend from PrismicError. This allows you to have a catch-all if-statement if you want to only intercept Prismic API errors.
You could do something like the following to safely query for a document:
import * as prismic from "@prismicio/client";

const endpoint = prismic.getEndpoint("my-repo-name");
const client = prismic.createClient(endpoint);

let doc;

try {
	doc = await client.getByUID("page", "home");
} catch (error) {
	if (error instanceof prismic.NotFoundError) {
		// You can handle a "not found" query here.
		console.error('The "home" page was not found.');
	} else {
		// You can handle any other error here.
		console.error(error);
	}
}

// `doc` is now a Page document or undefined if it did not exist


Flexbox bug in IE11: Justify-content: space-around

I think there might be a bug in IE11.
Here's what's happening. I am using the CSS declaration "justify-content: space-around" with a single-row flex container. The flex items are too big to be contained within one row of a single-line flex container. According to the Worldwide Web Consortium, we should see the flex items packed, centered, and overflowing the too-small container on both sides. And this is what occurs with Firefox and Chrome.
But it doesn’t work this way with Internet Explorer 11 – at least not on my computer. With Internet Explorer 11, the items start along the left edge of the container and break out of the container only on the right side.
This is not what I was expecting with “justify-content: space-around”, based on the Worldwide Web Consortium specs at https://drafts.csswg.org/css-flexbox/#justify-content-property.
In case it helps, here's the CSS code and HTML that produced the above results:
FlexboxBug.docx
When I run this code on Firefox or Chrome, it works as described by WW3; with Internet Explorer 11, it does something different.

IE10 + 11
same with justify-content: center

Yeah, this is probably a bug, but without a good workaround, listing it here is the best we can do (as the README is for bugs with workarounds only). I'm going to close this issue, but feel free to reopen if you discover a good cross-browser workaround.


Change Icons and UI Styles

This PR removes the old ugly socials and skills icons and replaces them with an icon pack from react-social-icons https://www.npmjs.com/package/react-social-icons. This makes the icons more consistent and more appealing.

Add react-social-icons
Remove old socials and skills icons
Change background color to a gradient
Update footer margins
Update home page with new jellyfish image

PR CHECKLIST

[x] My code follows the style guidelines of this project (variable naming, commenting, copyright, etc.)
[x] I have performed a self-review of my code
[x] Changes are clearly highlighted and easy to understand
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have meaningful commit messages that explain what was changed/committed
[x] I have built and locally tested my changes
[x] My changes generate no new errors or regressions (pending verification)
[x] I have made corresponding changes to the documentation OR this is N/A
[x] Documentation accurately reflects the current state of the project OR this is N/A
[x] I have added tests that prove my fix is effective or that my feature works OR this is N/A
[x] New and existing unit tests pass locally with my changes OR this is N/A
[x] Any dependent changes have been merged and published in downstream modules OR this is N/A
[x] All links are working and correct OR this is N/A
[x] Spelling and grammar are correct
[x] I have added the "READY FOR REVIEWS" tag when this PR is ready for reviews

PR build and deploy successful https://github.com/Rongbin99/Rongbin99.github.io/actions/runs/12328623300/job/34412086432 new background gradient and social icons are displaying properly in both day and night modes. Performed sanity test and no regressions observed.
Verdict: PASSED
Day Mode

Night Mode

@Rongbin99 PR merged, thank you.


[backport] Move matmul from core.pyx to _routine_linalg.pyx

Backport of #4060
This is needed to backport https://github.com/cupy/cupy/pull/4114.

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 5036b44bfde1b8d08db4dd4edd1a912a6b5fe035, target branch v8) succeeded!

LGTM.


Add a figure to autogen notebook #215

Why are these changes needed?
Added a figure to autogen notebook #215

Related issue number
Closes #215
Checks

[] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report

Merging #246 (c2c7165) into main (1394e29) will decrease coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   43.31%   42.99%   -0.33%
==========================================
  Files          17       17
  Lines        2133     2133
  Branches      481      481
==========================================
- Hits          924      917       -7
- Misses       1126     1132       +6
- Partials       83       84       +1

Flag
Coverage Δ

unittests
42.99% <ø> (-0.24%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes


psnr&ssim

hi sorry to boter you i want ro know if i want to cacluate psnr and  ssim,what should i do?

You can find some public implementation as they are standard operators.
An example: https://cvnote.ddlee.cc/2019/09/12/psnr-ssim-python


Image/fix sparse image warp unknown batch size - r0.12

Description
Backport failed:
https://github.com/tensorflow/addons/pull/2308#issuecomment-749280054

@googlebot I consent.


Component Upgrade circus

ISPN-8506 RocksDB 5.8.0
ISPN-8507 JGroups 4.0.8.Final
ISPN-8508 Kryo 4.0.1
ISPN-8509 Protostuff 1.6.0
ISPN-8510 JBoss Marshaller 2.0.2.Final
ISPN-8511 JGroups Kubernetes 1.0.5.Final
https://issues.jboss.org/browse/ISPN-8506
https://issues.jboss.org/browse/ISPN-8507
https://issues.jboss.org/browse/ISPN-8508
https://issues.jboss.org/browse/ISPN-8509
https://issues.jboss.org/browse/ISPN-8510
https://issues.jboss.org/browse/ISPN-8511

There seem to be more failures than I would like at http://ci.infinispan.org/job/Infinispan/job/PR-5571/2/ . Are these related?

The only that that is suspicious is org.infinispan.server.hotrod.HotRodSniFunctionalTest.testServerWithNotMatchingDefaultAndClientWithSNI which is possibly caused by netty. Let me remove the netty commit

@tristantarrant I can confirm the HotRodSniFunctionalTest is caused by the netty upgrade, I ran into this before but didn't get a chance to get to the bottom of it. I'll add details to the JIRA

Looking at Jenkins test log it seems the request should have been rejected
but it passed.
On Thu, Nov 9, 2017 at 11:24 AM Ryan Emerson<EMAIL_ADDRESS>wrote:

@tristantarrant https://github.com/tristantarrant I can confirm the
HotRodSniFunctionalTest is caused by the netty upgrade, I ran into this
before but didn't get a chance to get to the bottom of it. I'll add details
to the JIRA
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/infinispan/infinispan/pull/5571#issuecomment-343111473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIBvhpawFJ6jOgavfcn-1y1bO9iEqp4Kks5s0tLTgaJpZM4QUudI
.

@pruivo some TO failures. Could the new JGroups be to blame ?

@tristantarrant you can blame JGroups, Infinispan or me...
In any case, mark the tests unstable (full class). I'll fix JGroups instead of Infinispan :+1:
or you can remove all the TO code from Infinispan since nobody is using it. @danberindei  and @rvansa
would like that :)

I've created https://issues.jboss.org/browse/JGRP-2233

@pruivo I've marked the test unstable

One failure:
org.infinispan.tx.totalorder.statetransfer.TotalOrderStateTransferFunctionalTest.testSTWithWritingNonTxThread[repl-to-2pc-nbst]

Weird that test is marked unstable...

I've disabled the test (it's also in the unstable group)

So is this ready for beta1 ?

It should be, I've disabled that single failing test.

The loveliness of TestNG's unpredictability...

@pruivo that's how TestNG always works: annotations on the class do not affect inherited methods unless those methods are overridden. It's not exactly what you would expect, but it is very predictable :)

on core:
[ERROR] Tests run: 10522, Failures: 56, Errors: 0, Skipped: 0

Only 2 failures on core now:
[INFO]
[ERROR] Failures:
[ERROR] org.infinispan.tx.totalorder.statetransfer.TotalOrderStateTransferFunctionalTest.testSTWithWritingTxThread[repl-to-1pc-nbst-off-heap](org.infinispan.tx.totalorder.statetransfer.TotalOrderStateTransferFunctionalTest)
[ERROR]   Run 1: TotalOrderStateTransferFunctionalTest>StateTransferFunctionalTest.testSTWithWritingTxThread:251->StateTransferFunctionalTest.writingThreadTest:349 » Cache
[INFO]   Run 2: PASS
[INFO]
[ERROR]   TotalOrderStateTransferFunctionalTest>StateTransferFunctionalTest.testSTWithWritingTxThread:251->StateTransferFunctionalTest.writingThreadTest:349 » Cache
[INFO]
[ERROR] Tests run: 10521, Failures: 2, Errors: 0, Skipped: 0

We are getting there!

Let's ignore this for Beta1 :)

Ok. I'm pushing the button.

The current test failures are present elsewhere. Merging

Latest failures are all known, merging. Thanks @tristantarrant


How to generate help text at runtime for logging purposes

I'm trying to find a way to generate the help text (that would be displayed if the user asked for it) at runtime when there is a parsing error. We want to log this help text for console apps that run unattended during the night and where for some reason incorrect args were setup for the job.
I can see stuff like CommandLine.Texy.HelpText.RenderUsage and so on but I have no idea what these do and they don't seem to do what we need.
Many thnaks.

From #411
var helpText = CommandLine.Text.HelpText.AutoBuild(parserResult, h => h, r => r).ToString();


MS115 Not Working

What issue do you have? Please be as thorough and explicit as possible.
See logs - cannot connect to Meross MS115 outlet. Works fine within Meross application
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?
1 - Homebridge UI-X

Which version of Homebridge/HOOBS do you have?

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
Linux Debian 12
NodeJS v18.18.2
Homebridge 1.7.0

Which version of this plugin (homebridge-meross) do you have? Has the issue started since upgrading from a previous version?
Stable 10.0 & Beta 10.0.1

Which Meross devices do you have that are causing issues? Please include product models if applicable.
MS115

Please paste any relevant logs below.
[Tree Lights] is not supported, do create a github issue https://bit.ly/hb-meross-issues with info:
{"uuid":"2301067798071451080348e1e9b6b4ba","onlineStatus":1,"devName":"Tree Lights","devIconId":"device001","bindTime":1701629490,"deviceType":"mss115","subType":"us","channels":[{}],"region":"us","fmwareVersion":"9.3.26","hdwareVersion":"9.0.0","userDevIcon":"","iconType":0,"domain":"mqtt-us.meross.com","reservedDomain":"mqtt-us.meross.com","hardwareCapabilities":[],"firmware":"9.3.26","hbDeviceId":"2301067798071451080348e1e9b6b4ba","model":"MSS115"}

-->

Hi @altimax98 this device should have started working with the recent v10.1.0 of the plugin 👍


Support multibyte in annotation parsing

I got a minor issue that fails to parse when codes are using multibyte, like following
enum Foo {
  case こんにちは(Int)
}

It crashes by out-of-bounds in a string due to making a substring from the offset.
Offset is technically bytes offset, it's not UTF8's offset.
I did only work on processing string with offset in a correct way.
I'm not an expert on string processing.
Please correct me in a better way.
Thank you for your super helpful tool.

can you add a test for it?

@krzysztofzablocki
got it. but I'm not sure how the test managed in this project.
for this case, where should I add a test into?

@muukii probably to AnnotationsParserSpec

Hello @muukii 🙌,
thank you very much for your contribution.
I have investigated this issue, and it seems like the reason of the crash is not about multibyte handling, which is fully supported, but about handing associated type with multibyte character identifier.
For example, the following code is parsed without the crash:
enum Foo {
  case こんにちは = 33
}

I'll rework your change set and create a new MR, but it is definitely inspired by your contribution.
Thank you 🙏

For observability: minimal reproducible test sample is this:
enum Foo {case こんに(Int)}

I have resolved this issue in #1178


Firebase basic login system

Create a firebase database to hold

Firebase:
--username
--password
--username
--password

Create basic login page html to submit username/password

Add Django endpoints for /username/downloads or /username_downloads

Figure out which is better and why
Figure out how do to either one

Add Django interface to firebase (how does django talk to firebase)

Ability to add account

Ability to logout

3/26 Update:
1- Complete
2- Complete
3- Needs work
4- Initialized, but not complete.
5- Needs Work, probably next step
6- Going to be included into this part, reasonably easy to accomplish.


Create unit tests for CustomersController

Pull Request Test Coverage Report for Build ba4ba85ead4ef9c56fc6b3685aae4cd7bf5ef1d4-PR-6

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.3%) to 54.889%

Totals

Change from base Build c6710ce30c01092f36477b897b20487a3d178a0a:
4.3%

Covered Lines:
445

Relevant Lines:
812

💛  - Coveralls


Add login mechanism through Social Network

Overview
The goal is to add a login mechanism through social networks, with references to the following:

https://www.ramper.xyz/
https://www.dynamic.xyz/
https://web3auth.io/

The basic login will include:

Social networks such as Gmail, etc.
External wallets such as MetaMask.

Tasks

Understand the logic behind each login type.
Implement the login API in packages/wallet-connect for the following:

Ramper.xyz
Dynamic.xyz
Web3auth.io

Implement a UI view in examples/subconnect under the EVM category for each login type.

Each type will have its own UI (Please implement its own UI lib).
Update external login with SubWallet instead of only MetaMask.

Ensure the DApp can log in with each type and can connect with SubWallet as an external wallet.

Researching Ramper Architecture:

V1: https://ramper.medium.com/ramper-architecture-f5106d8d7d5a
V2: https://ramper.medium.com/ramper-kms-architecture-v2-c041ea7f71d2


New format for dataset metadata

Format
The file is in JSON format.
{
  "format_version": "1.0",
  "latent_cache_dir": "/path/to/latent_cache_dir",  // optional, for all images in this .json
  "images": {
    "/full/path/to/image.png": { // image file
      "caption": ["caption1 for the image", "another caption for the image", ... ],
      "tags": ["tag1, tag2, tag3", "another tag1, ...", ...],
      "image_size": [1024, 768],
      "latent_cache_dir": "/path/to/latent_cache_dir"  // optional, for this image
    },
    "/full/path/to/archive.tar////inner/path/of/image.png": { // image in archive file
      "caption": ["caption for the image"],
      "tags": ["tag1, tag2, tag3"],
      "image_size": [1024, 768],
      "latent_cache_dir": "/path/to/latent_cache_dir"  // optional, for this image
    },
    ...
  }
}

Contains image files and image files in archives.
When specifying a file within an archive, the archive filename and the innter path in the archive are separated by ////. A key containing //// indicates a file within an archive.
latent_cache_dir is optional. If omitted, the image file directory will be used.
latent_cache_dir cannot be omitted if an archive file is specified.
Either caption or tags can be omitted.
Multiple captions and tags can be specified in a list.
Each image may have both caption and tags, but how they are handled depends on the specifications of the training script. Currently they are simply concatenated.

Initially, .tar is the only archive type expected, but support may expand in the future.
Please feel free to share your thoughts and suggestions on this specification.

I expect .zip be more common than .tar for image archives - even on Linux.
Would providing caption and tag be a way to use one for T5 and the other one for CLIP for models that have both (SD3, Flux)?

I expect .zip be more common than .tar for image archives - even on Linux.

I agree with that as well.
.zip is easy to extract some files without decompressing the entire file, while .tar cannot do the same thing.
Additionally, zip can also be compressed (uncompressed is also possible)

I agree with @ChristianMayer .
And, I also suggest .gz file.
It is easier to write the code like this:
import json
import gzip

with gzip.open(filename, 'r') as f:
    for line in f:
        obj = json.loads(line)
        do_something(obj)

See also: https://fnwiya.hatenablog.com/entry/2016/01/07/210000

Describe how I manage datasets locally
1、First create a lance file from pyarrow use table:
            pa.field("ImageURI", pa.string()),
            pa.field("extension", pa.string()),
            pa.field("hash", pa.string()),
            pa.field("size", pa.int64()),
            pa.field("width", pa.int32()),
            pa.field("height", pa.int32()),
            pa.field("binary", pa.binary()),
            pa.field("captions", pa.list_(pa.string(), -1)),

2、loading from website / huggingface /local filesystem
there will be version 1 like this
                    "ImageURI" :s3://example/image3.png ,
                    "extension":png,
                    "hash":none,
                    "size":none,
                    "width":none,
                    "height":none,
                    "binary":none,
                    "captions":none,

3、Then open image to get metadata as version 2(if from internet it will download then save in binary)
                    "ImageURI" :s3://example/image3.png ,
                    "extension":png,
                    "hash":0d9350f0d132236f201e121aa5a65bff5a0cfe13ae08fa08a2e92b035047c97f,
                    "size":123124123123,
                    "width":1024,
                    "height":1024,
                    "binary":b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00...',
                    "captions":none,

4、unzip binary export to image dir then update imageURI to local  (if localsystem dont exist image)
5、enable ARB bucket in here for reduce image size.
6、captions with image then save as version 3
                    "ImageURI" :D:\\example\\image3.png ,
                    "extension":png,
                    "hash":0d9350f0d132236f201e121aa5a65bff5a0cfe13ae08fa08a2e92b035047c97f,
                    "size":123124123123,
                    "width":1024,
                    "height":1024,
                    "binary":b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00...',
                    "captions":[tag,caption1,caption2],

7、(optional) delete binary in lance for reducing file size
8、cache latent files then save as version 4
                    "ImageURI" :D:\\example\\image3_sd3.npz ,
                    "extension":npz,
                    "hash":0d9350f0d132236f201e121aa5a65bff5a0cfe13ae08fa08a2e92b035047c97f,
                    "size":234234234,
                    "width":1024,
                    "height":1024,
                    "binary":b'\',
                    "captions":[tag,caption1,caption2],

9、(optional) delete origin Image in lance for reducing file size
Finally we get image files、captions and dataset metadata
And we can switch to origin state in any version.
such as before arb、from arb to caption、before cache latent...

Would providing caption and tag be a way to use one for T5 and the other one for CLIP for models that have both (SD3, Flux)?

This is certainly an interesting approach, but I don't think FLUX.1 or SD3 have been pre-trained in this way, so I would like to consider this in the future.

I also think so. But people are using it already with split captions so I wouldn't be surprised when people want to train it in this way as well.

Would providing caption and tag be a way to use one for T5 and the other one for CLIP for models that have both (SD3, Flux)?

This is certainly an interesting approach, but I don't think FLUX.1 or SD3 have been pre-trained in this way, so I would like to consider this in the future.

I also think so. But people are using it already with split captions so I wouldn't be surprised when people want to train it in this way as well.

Many people have mentioned this method, but I don't think it's reliable.
Since SDXL there have been attempts to train CLIP G and CLIP L separately, where one is responsible for the details and the other for the whole...
But from the test results, they work together, and training them separately would actually be similar to the effect of dropout separately, which would lead to a lot of randomness in the results unless a lot of training is used to pile up the generalizability.


[MetricsAdvisor] Bug: incident's severity not always returned

If an incident is already resolved (Status = Resolved), the maxSeverity required property is missing from the service's response. This issue was only observed in the GetIncidents(string, string, GetIncidentsForAlertOptions, CancellationToken) overload (the other one has not been tested).
Current SDK behavior: the client does not fail during serialization, but AnomalyIncident.Severity is set to default, which can be error-prone for an extensible enum.
Action items:

Once the issue is fixed on the service side, we need to uncomment the following check in AlertTriggeringLiveTests.GetIncidents test:

Assert.That(incident.Severity, Is.Not.EqualTo(default(AnomalySeverity)));

Service issue. Closing this since it's not related to the SDK.


Add streams module.md

Purpose
$subject
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #18879 into master will decrease coverage by 4.79%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #18879     +/-   ##
=========================================
- Coverage   20.53%   15.73%   -4.8%
=========================================
  Files          52       47      -5
  Lines        1383     1258    -125
  Branches      216      195     -21
=========================================
- Hits          284      198     -86
+ Misses       1086     1047     -39
  Partials       13       13

Impacted Files
Coverage Δ

composer/packages/tracing/src/ToolBar.tsx

composer/packages/tracing/src/TraceList.tsx

composer/packages/tracing/src/DetailView.tsx

composer/packages/tracing/src/TraceLogs.tsx

composer/packages/tracing/src/index.ts

Continue to review full report at Codecov.

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


I have problem in Instagram it's hacked

Select your issue type: (check at least one)

[x] Bug
[ ] Question
[ ] Suggestion
[ ] Other (please describe):
Describe your issue:
My Instagram is hacked
Ways to Reproduce the issue (optional):

Instagram is hacked

Instagram is hacked

My Instagram account has been suspended due to copyright infringement

Uuu

CHANGELOG.rst.txt

Username:obo.namer
Passwordabbas1380#
در تاریخ جمعه ۶ دسامبر ۲۰۲۴، ۱۳:۲۰ drShimaaemad @.***>
نوشت:

CHANGELOG.rst.txt
https://github.com/user-attachments/files/18036130/CHANGELOG.rst.txt
—
Reply to this email directly, view it on GitHub
https://github.com/deathsec/instagram-py/issues/81#issuecomment-2522689388,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUV74UUSWUSMEGLQKCII5CL2EFXMVAVCNFSM6AAAAABTEGMYP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRSGY4DSMZYHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

What happened?


Added ServerSync

New library

          1 Error

  :no_entry_sign:
  Found 2 link issues

Link issues by awesome_bot

Line
Status
Link

173
301
https://www.udacity.com/course/beginning-ios-app-development-nanodegree--nd006 redirects tohttps://www.udacity.com/nd003

1758
301
https://github.com/LunApps/LUNSegmentedControl redirects tohttps://github.com/Stormotion-Mobile/LUNSegmentedControl

  Generated by :no_entry_sign: danger

Hey @pjebs, please add the lib to the end of the section.


Potentially fix duckdb install

Works on default QGIS install on Windows.
Untested on MacOS/Linux.
If it doesn't on any particular system, we probably need to figure out where the corresponding executable is located. Linux probably in the System Python install, on MacOS probably in the QGIS bin folder.

[x] Windows (Matthias)
[ ] Linux
[ ] MacOS (Chris?)
[ ] Others?

Cool, I'll try this out. I had some code that was similar and it just wasn't ever quite successfully installing in the right place, so I'm not super optimistic. The switching to using the other route seemed to work great and there were verified successes of calling it on windows, so I thought it'd fix it all. But I'll keep going down this route, since clearly the results of my attempt weren't great.
This bit of code might help for finding the executable:
    candidates = []
    if os.path.isdir(bin_path):
        for f in os.listdir(bin_path):
            if f.startswith("python3"):
                # Check if it is an executable
                full_path = os.path.join(bin_path, f)
                if os.access(full_path, os.X_OK):
                    candidates.append(f)

(I was trying to get the highest version of python that it found...)

I see, so I guess my initial variant wouldn't work on MacOS. Tried to identify an alternative, please try the new version first :-)

@cholmes Thanks for the details, just downloaded the Mac version for inspection and I think it should now also work on MacOS. So make sure to test the latest commit :-)

Tried with your latest, and got the same type of thing I was getting before, which is the mirror of yours:
DuckDB not found or needs upgrade, attempting to install/upgrade...
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting duckdb
  Downloading duckdb-1.1.3-cp312-cp312-macosx_12_0_arm64.whl.metadata (762 bytes)
Downloading duckdb-1.1.3-cp312-cp312-macosx_12_0_arm64.whl (15.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.5/15.5 MB 53.3 MB/s eta 0:00:00
Installing collected packages: duckdb
Successfully installed duckdb-1.1.3
Failed to install/upgrade DuckDB: No module named 'duckdb'
Failed to setup DuckDB

It installs, but then fails to actually recognize it. I think I'm going to see if I can just call that set up code from the main plugin itself in addition to in the 'init'...


Sidenav close issues

I used the fixed sidenav.
When the screen width less than 992px, the sidenav is hidden, then I use the sidenav-trigger and the sidenav is opened. Then do not close the sidenav, set the screen width bigger, close the sidenav, as a result, the shadow mask is still on, sidenav should be left, but not.

Please read and use the issue template and add the version number

Your issue should be fixed by 298a87f401dbbde5e48e2108e58a4feda2420ef4


CommonJS Module Support?

Firstly, thank you for work in creating this package. It's really cool!
Is there any plan to make rword compatible with CommonJS, or will it only be available as a ES module?

What troubles exactly are you having with it? It should work without ES modules as far I'm aware.

Sorry--should have given more detail.
I'm  requiring rword as a CommonJS module:
const rword = require('rword')
and when I use the generate method:
  const words = rword.generate(4, { length: '3-5' });
I'm running into  a TypeError: rword.generate is not a function.
My guess was that since the README only describes using rword as an ES Module (import { rword } from 'rword';), this had something to do with CommonJS module support? When I run my script importing rword as an ES module with esm, it works fine.
Here's a quick stack trace:
Trace: TypeError: rword.generate is not a function
    at generatePassword (/Users/staxerman/de/create-users/create-users.js:12:23)
    at Object.<anonymous> (/Users/staxerman/de/create-users/create-users.js:18:15)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:824:10)
    at internal/main/run_main_module.js:17:11
    at Object.<anonymous> (/Users/staxerman/de/create-users/create-users.js:33:11)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:824:10)
    at internal/main/run_main_module.js:17:11

I'm on node v12.1.0

Ah, I see.
Lucky for you, this is a simple solution!
const { rword } = require('rword');
console.log(rword.generate());

I should probably document that better.

I'm sure extra documentation on it wouldn't hurt :)


Add rules to shipping & payment methods

I think you should add rules to shipping & payment methods
Rules like :
Min cart amount
Maximum cart amount
Working only with selected  cities
exclude products/categories
like other e-commerce systems

Hi @mezzat11
You can create your own custom rules based on the cart attributes, product attributes using the Cart Rule feature https://prnt.sc/15eicgx
You may also set the minimum order amount from the configuration->sales->orders section https://prnt.sc/15eifzx


Set turbolinks to false for the exporter index page

This commit sets turbolinks to false for exporters because sometimes the form page does not load the correct fields when choosing something from Export From.
In this screenshot, under the Export From should have another field where you search for the collection, but it doesn't...

@ShanaLMoore I could be wrong, but not having turbolinks might break the jQuery DataTables on the exporter index page.
Though the way I'm reading this code, it's not disabling turbolinks on the exporter index page, it's disabling them from the index page. I.e. when navigating to the form from the index page, it sends a param to disable turbolinks on that page without actually disabling it on the index page. Am I reading that correctly?

@bkiahstroud It's my understanding that this should only impact the form elements.

Great, that's completely fine with me. Mostly read "for the exporter index page" in the title and wanted to double check 😅

https://share.getcloudapp.com/NQuW5E6y
@bkiahstroud is this the functionality you're talking about?  As you can see the turbolinks are false, but i can still sort the table

@kirkkwang yes, as long as that table is still working as expected than we should be good to go (sort, search, pagination, etc.)

Great thanks @bkiahstroud for keeping that in mind!  @ShanaLMoore good to merge?

i'm not sure if it's known, but it looked to me like this issue was introduced in https://github.com/samvera-labs/bulkrax/pull/783#issuecomment-1516657037
it's possible there's a fix available without turning off turbolinks. at least for now, i'm very happy with this, and am confirming that it fixes the issue we've seen on the surfliner side.


NestedScrollView does not support a floating app bar

I want to make a floating app bar that's shared across multiple TabBarViews, so I used a NestedScrollView. I would expect the app bar to appear whenever I scroll up at any point of the page but it does not seem to do so?
main.dart
    import 'package:flutter/material.dart';

    void main() {

        Widget getPage(){
            return new ListView.builder(
                itemBuilder: ((context, index){
                    return new ListTile(
                        title: new Text('Item $index')
                    );
                }),
            );
        }

        runApp(
            new MaterialApp(
                home: new DefaultTabController(
                    length: 2,
                    child: new Scaffold(
                        body: new NestedScrollView(
                            headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
                                return <Widget>[
                                    new SliverAppBar(
                                        floating: true,
                                        bottom: new TabBar(
                                            tabs: [
                                                new Tab(text: 'tab1'),
                                                new Tab(text: 'tab2'),
                                            ],
                                        ),
                                    ),
                                ];
                            },
                            body: new TabBarView(
                                children: [
                                    getPage(),
                                    getPage(),
                                ],
                            ),
                        ),
                    ),
                ),
            ),
        );
    }

Strangely enough if "snap: true" is set for the SliverAppBar the desired effect is achieved. But I don't want it to snap.
Similar issue here: #11222
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.3.2, on Microsoft Windows [Version 10.0.16299.431], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK 26.0.3)
[X] Android Studio (not installed)
[√] VS Code, 64-bit edition (version 1.23.0)
[!] Connected devices
    ! No devices available
! Doctor found issues in 2 categories.

Please add the output of flutter doctor

Done.

same issue here

Same issue here too.

same issue too.

@HansMuller

any update on this problem?

Same issue

+1

Any chance of this fixed?

+1

Maybe this can help you guys: https://medium.com/@diegoveloper/flutter-collapsing-toolbar-sliver-app-bar-14b858e87abe

This is different than I need @diegoveloper.
I am trying to reproduce the same behavior as WhatsApp.

"me too" and "+1" comments are pointless.
Instead use  on the initial comment to upvote and increase priority.
Comments cause spammy notification mails sent to all subscribers.
If you want to get notified, use

@workerbee22
But if you set all 3 to true (floating, pinned, and snap), the desired behaviour is achieved, but OP stated

I don't want it to snap.

I think it's because snapping makes the SliverAppBar appear less smoothly? On apps like WhatsApp, we can see that the top bar appears smoothly, rather than snapping. I think a good example of snapping will be the Google Docs Android app, where the top bar snaps when we scroll up (it appears "unsmoothly")
@allanwolski
Did you find a solution?

No, waiting for the Flutter team to fix this.

@allanwolski

No, waiting for the Flutter team to fix this.

Are you saying that it is currently impossible to implement layouts like this and this?
Both these videos have been taken from Tabs - Material.io

Is there any work being made on this issue?

@aletorrado
Unfortunately, no (not yet, at least).
Here are similar issues/questions:
https://stackoverflow.com/questions/55187332/flutter-tabbar-and-sliverappbar-that-hides-when-you-scroll-down
#29561

Internal bug mirror b/136489010

Is there any updates about this? I'm having the same issue the SliverAppBar in a nested scroll view is ignoring the floating argument completely, and I want it to float but not snap.

It's super annoying that this is still an issue. Any progress on this?

+1

Any hope on this?

@willlarche mind sharing the status of the internal bug? Most of us here don't have access to Flutter's internal issue tracker but we are all waiting for the fix, please don't leave us in the dark.

I think the first steps in solving this involve the changes proposed in #41235, which will make it possible to account for the inner scroll offset.
Currently, it seems to me that the floating persistent header is only informed by the outer scroll controller, which is why it does not know to float back in when the inner controller is scrolled.

On Github (contribution: iRbouh) a clear example can be found to use the floating appbar with TabBarView by using SliverOverlapAbsorber and SliverOverlapInjector for the notification.
Example:

Title: iRbouh/Flutter - Hide SliverAppBar with TabBar on Scroll.dart
Link: https://gist.github.com/iRbouh/219a81b3f2e32c3ef725972b45627f2e

Summary in a nut shell:
DefaultTabController -> NestedScrollView:

headerSliverBuilder: SliverOverlapAbsorber -> SliverAppBar -> TabBar
body: TabBarView -> CustomScrollView -> SliverOverlapInjector (first sliver child)

It's super annoying that this is still an issue. Any progress on this?

Any progress on this issue?

Me too, Any progress on this issue?

It's super annoying that this is still an issue. Any progress on this?

Any progress on this issue?

Any progress?
This is a need with Tabs also. Using tabs with slivers will cause tabs to lose their scroll position when switching between them.

Following this offical tutorial https://api.flutter.dev/flutter/widgets/NestedScrollView-class.html
for NestedScrollView that supports TabBarView, will result in following issues:

As the description of this issue states, floating AppBar won't work. Meaning when you scroll up, it doesn't show the AppBar unless you use snap: true which it will work if you stop scrolling up.

When switching between tabs, scroll index won't be saved and it will scroll to top.

Please fix these issues, it's a very major feature and we are all greatful that it exists currently in Flutter, but it still has issues and there are no workarounds for it.

Are there any updates for a workaround about this?

I just want to add that in my case the SliverAppBar will only update it's size when I lift my finger from the scroll. Whatsapp will snap the App Bar whenever I scroll, it doesn't wait for me to lift my finger and stop scrolling completely.

Any word on this? Would be great if efforts were being made to resolve this

It appears to be on the May 2020 Milestone.

Update on the milestone here: There is a PR open to close this issue (#57707), it is still going back and forth in review, anticipated to land soon. I have moved the milestone to June to remove from the overdue heap.

@Piinks That's a great news, thank you!

@Piinks I appreciate the good news. Thanks for fixing this issue 🥳🥳

Please use reactions (emojis) on @Piinks comment, instead of adding new comments. Every time you comment an email is sent to all the subscribers (which I believe are a lot of them). Thanks

is flutter 1.17.3 has the fix? or still in progress? I have opened the release 1.17.3 and no notes for what differences occurred.
Thanks for your efforts.

I have an update for y'all!!
https://github.com/flutter/flutter/pull/57707 proposed a way to support floating and floating-snapping SliverAppBars in the headerSliverBuilder of the NestedScrollView.
Floating has been pretty easy to solve by adding a flag to NestedScrollView, floatHeaderSlivers. This flag just tells NestedScrollView's scrolling coordinator to pass the scroll offset to the outer header slivers before the inner when scrolling back up. It actually makes it possible to create whatever floating header you like, without specifically using a SliverAppBar. :)
Supporting floating and snapping though has proved challenging. The only way I have managed to get this to work required adding a flag that implemented some specific logic to the snap animation of the SliverAppBar. This non-generic solution is unfavorable. Other solutions that were tried included passing the inner position to the SliverAppBar, but this approach was also non-generic and unsuccessful as the NestedScrollView can dispose of inner scroll positions when changing tabs and can also have more than one inner position attached at a time.
There is more discussion about the snapping animation on https://github.com/flutter/flutter/pull/57707 .
I think we are going to move ahead with supporting the floating SliverAppBar, but not the floating-snapping SliverAppBar, documenting the later as a limitation instead.
The NestedScrollView will still be able to support only snapping, as it does now, and the flaotHeaderSlivers flag will allow for floating only.
I am going to close https://github.com/flutter/flutter/pull/57707 to preserve the implementation of the initial proposal. I'll open a new PR shortly and link it after removing the snap logic I tried in the other PR.

it's not fixed yet and what remains not just the "floating and snapping simultaneously"
Please open another issue, for it's also resetting the scroll point to the previous active tab on all tabs, for example, I have a news app and scrolled to whatever on tab 1 ( Home ), Then I go to tab 2 ( videos let's say ) and I scrolled to whatever when I get back to tab 1 ( home ) you will see it's been back to the same offset as tab 2 ( Videos ).

This issue still exists on the latest version not fixed yet

If anyone wants to refer to working code sample here it is -> https://dartpad.dev/0955dcf876ba24619b86d49ec50788cc?

If anyone wants to refer a working code sample, here it is -> https://dartpad.dev/0955dcf876ba24619b86d49ec50788cc?


Fix README

The README doesn't line up with the contents of the repo due to recent changes, could it be updated?
I got notified of a new release, but cloning and following the instructions fresh no longer work.

We need to change README. But installing PyPi is not working.
If you can, send PR for README fix. If possible can you check PyPi issue?

The instructions work fine for me on Ubuntu. I see only the 'UPDATE' instruction is not usable. Is that what should be edited out?


Created .gitignore, linters.yml, html, css and updating readme.md

This branch's purpose was to fill the requirements for the activity such as.
Created the .gitignore file to ignore node_modules and "test.md" files when the "git status" command check on the changes for a new commit.
Created linters.yml, to implement the linters to our project so it could flag patterns that might cause errors or other problems to the project
create the HTML file with the header asked on the requirement and the CSS styling to change the text color for it.
Also changed the readme file to a more accurate one following the template.
And also added a LICENSE.md file to it.
the previous PR was https://github.com/evillaz/hello-microverse-review/pull/1.

@Olamarx hi thank you for your time reviewing my code I had a hard time trying to understand some of the changes. so what I understand is that I need to change the PR description for a more detailed one, and do you think I should change the PR's name as well or is it ok "Created gitignore linters HTML css files" because that pretty much summarizes what I did. Also, I'm going to edit the readme template as well.

@Olamarx hi i did some changes as you asked for complete the review do you think the project is ready to ask a for a new review?


RuntimeError: CUDA error: no kernel image is available for execution on the device

cos = cos[position_ids].unsqueeze(unsqueeze_dim)

RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions

have you solved this problem? I met the same runtimeerror at "out = out + self.bias if self.bias is not None else out"


how to recover semaphore release failed

if a semaphore release failed (shutdown or net not available)，it's there any way to let the server recover the permits? just like expired in Lock

I remembered that the timeout can be set to a semaphore.

Use RPermitExpirableSemaphore.acquire(long leaseTime, TimeUnit unit) method for this purpose.


Sanguine Torva Full Helm Graphical Bug

When transmoging Regular Torva helm into the Blood Torva variant, the helmet has graphical glitches.
https://i.imgur.com/0jfJlSf.png

use the "hide/show slot" section of the model replacement search to hide hair and jaw, until I fix this.

I think this has been fixed.


Doc: Write state section

What to write here

How state works (readers should already know what keyed/unkeyed/singleton services are and that they define a key in the proto)
Querying state

@tillrohrmann Should we close this?


Unable to overwrite extension messages

I cannot overwrite messages from extensions. invalid_credentials is working fine. But maybe_email_has_been_sent, email_has_been_sent and password_has_been_reset are not used.
defmodule MyAppWeb.Pow.Messages do
  @moduledoc false

  use Pow.Phoenix.Messages

  use Pow.Extension.Phoenix.Messages,
    extensions: [PowResetPassword]

  import MyAppWeb.Gettext

  def invalid_credentials(_conn),
    do: dgettext("pow", "The provided login details did not work. Please try again.")

  def maybe_email_has_been_sent(_conn),
    do: dgettext("pow", "An email with reset instructions will be sent to you.")

  def email_has_been_sent(conn),
    do: maybe_email_has_been_sent(conn)

  def password_has_been_reset(_conn),
    do: dgettext("pow", "The password has been updated.")
end

config :myapp, :pow,
  user: MyApp.Accounts.User,
  repo: MyApp.Repo,
  web_module: MyAppWeb,
  web_mailer_module: MyAppWeb,
  messages_backend: MyAppWeb.Pow.Messages,
  routes_backend: MyAppWeb.Pow.Routes,
  mailer_backend: MyAppWeb.Pow.Mailer,
  extensions: [PowResetPassword]

Am I missing something?

I forgot to add controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks to my config but it is still not working.

It's detailed in the docs: https://hexdocs.pm/pow/1.0.20/README.html#i18n
You need to prepend with the extension name, otherwise there might be naming collision:
defmodule MyAppWeb.Pow.Messages do
  @moduledoc false

  use Pow.Phoenix.Messages

  use Pow.Extension.Phoenix.Messages,
    extensions: [PowResetPassword]

  import MyAppWeb.Gettext

  def invalid_credentials(_conn),
    do: dgettext("pow", "The provided login details did not work. Please try again.")

  def pow_reset_password_maybe_email_has_been_sent(_conn),
    do: dgettext("pow", "An email with reset instructions will be sent to you.")

  def pow_reset_password_email_has_been_sent(conn),
    do: maybe_email_has_been_sent(conn)

  def pow_reset_password_password_has_been_reset(_conn),
    do: dgettext("pow", "The password has been updated.")
end

Oh, my bad. I did miss that. Thanks for the quick response!


Fix typos

Testing potential security vulnerability in the pipeline to be reported as part of vulnerability disclosure program:
https://www.intel.com/content/www/us/en/security/security-practices/coordinated-disclosure.html

@maloel your ci might've run untrusted, downloaded code here

@maloel your ci might've run untrusted, downloaded code here

Thanks, @Janmm14
We'll follow up on this.


chore(test): add micro-benchmark performance test for defaultIfEmpty …

…operator.
Continue effort to cover items in issue https://github.com/ReactiveX/RxJS/issues/100

Thanks again, @kwonoj!


[FEATURE] request: limit file duration and exclude folders

Hello, I am a user of your app and I really enjoy it. However, I have some suggestions for improving the app functionality.

I would like to have an option to limit the duration of the files that are obtained from the playlist. For example, if a file is only (say) 20 seconds long, I don't want it to be scanned. This would help me avoid unwanted audio clips or notifications that are mixed with my music files.
I would also like to have an option to exclude certain folders from scanning for audio files. For example, I don't want the app to scan my WhatsApp folder or my downloads folder for audio files. This would help me reduce the clutter and noise in my music library.
Lastly, I would like to have an option to delete files to trash. This would allow me to recover the files if I accidentally delete them from the app.

I hope you will consider these features and implement them in the future updates. Thank you for your hard work and dedication.

This issue was fixed in 3b72a20

This issue was fixed in 3b72a20


Feature/remove comments

removeComments option integrated
documentation updated
code refactoring in index.js
unit test extended to cover removeComments

Thanks :)


The code compiles, but the browser does not refresh automatically，when set target: ['web', 'es5']

The code compiles, but the browser does not refresh automatically，when set target: ['web', 'es5']
If set target: 'web', it works, but build.js is es6

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.
You need<EMAIL_ADDRESS>(stable release will be soon)


add "Sign and verify a message with HMAC digest" example

Use the HMAC digest to sign some message and then verify the authenticity.
Use ring crate
cc https://github.com/rust-lang-nursery/rust-cookbook/issues/213

i can work on this