Added documentation for Salesforce authentication password plugin.

@dain here is the documentation for the Salesforce Authenticator, #4372 .  Please advise if changes are needed.

@lhofhansl please feel free to review these docs as well.  Not required, but if you have time and the inclination.

Please address the requested changes and I can review again after.

@mosabua I've addressed all your comments.  I guess amending the previous commit wasn't the best idea.  Sorry about that.  Luckily, the changes are small and only to one file.

Only minor changes left.. imho this is ready to go.

Thanks @mosabua , I'll make those changes and issue another commit.

@electrum @dain sorry for the nudge here guys, if you get a moment, I'd appreciate your review on these docs.  Looks like @mosabua is a thumbs up.

  I just fixed the mssage.


Feature/issue 20 break after open cursor for

Fixes #20 - add line break after open cursor for

solved #21 not #20


Suggestion for implementing improvements related to Expulsion Pylon

"Expulsion Pylon:
Intended for use on servers, this block allows you to expel other players from the chunk it's placed in. You can whitelist players with a Player Filter - OPs are always whitelisted."
This mod is helping me against theft in protected properties and players like to use it, but some team members have specific permission nodes and I can't give Op to everyone because there is a hierarchy, would have the possibility of implementing a permission to ignore players by nickname? or some specific permission, something like LuckPerms permissions?
By the way, your mod is very good and useful.

I haven't done much with permissions, do you have an example of what you're trying to do? The player filter allows you to ignore specific players.

Of course, a practical example, on my server there are some positions, the first of which is Members, Helpers, Moderators, and Adm, but only Moderators and Adm have OP, what I'm suggesting is that somehow, you could put player name instead of op permission. For example, it is not possible to place a filter with each Helper and Moderator on the basis of all players because the number of players is high, and not all staff members have op, so if there was a way to allow it by nick, for example, such a person can enter all lands because it has direct permission in the configuration, I don't know if it was clear, but this would be very good in case the Helper wants to go to the person to help (even though he doesn't have op or card) even to investigate, they can't access members' land but they should and in this part the mod ends up preventing it, so I thought maybe there was some permission that would authorize entry even without having OP.

I see, a permission to bypass all pylons like OP does. Yes, I think that sounds doable.


Use edge server host

@flore77 thanks for taking the time to submit this PR. I noticed that when there is a cookie it would add an extra slash to the URL. Also, I wanted this to be committed to main. We decided not to have the combined notifications when we send this to customers.
Closed in favor of #4


Feature request: configurable prometheus queries

We use  kube-eagle and victoria metrics.
Right now, I have to set up a scrape job from cadvisor solely dedicated to krr:
  # These metrics are required by https://github.com/robusta-dev/krr
  - job_name: kubelet
    scheme: https
    tls_config:
      ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
      insecure_skip_verify: true
    bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
    kubernetes_sd_configs:
      - role: node
    relabel_configs:
      - action: labelmap
        regex: __meta_kubernetes_node_label_(.+)
      - target_label: __address__
        replacement: kubernetes.default.svc:443
      - source_labels: [__meta_kubernetes_node_name]
        regex: (.+)
        target_label: __metrics_path__
        replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
    metric_relabel_configs:
      # We only need the following metrics because they are needed by robusta-dev/krr, everything else we get from kube-eagle
      - action: keep
        if: '{__name__=~"(container_cpu_usage_seconds_total|container_memory_working_set_bytes)"}'

I think it would be an improvement if one could overwrite the queries mentioned in the docs to whatever fits the local setup.
Let users figure out the equivalent queries for tools like kube-eagle.

Hey, @djfinnoy !
I think this feature is already implemented, as you can first define any prometheus metric you want here:
https://github.com/robusta-dev/krr/tree/main/robusta_krr/core/integrations/prometheus/metrics
And then use it in a strategy, like here:
https://github.com/robusta-dev/krr/blob/main/robusta_krr/strategies/simple.py
The only thing that it will require you to write a bit of python, but I tried to do everything to make is as simple as possible.


Add a constructor to GroupBy for attribute type hints

Add a constructor to GroupBy for attribute type hints. This proposal can save a lot of "# type: ignore" comments.

Codecov Report

Merging #1916 (07512ec) into master (9e291f7) will decrease coverage by 1.11%.
The diff coverage is 84.90%.

@@            Coverage Diff             @@
##           master    #1916      +/-   ##
==========================================
- Coverage   94.15%   93.03%   -1.12%
==========================================
  Files          41       41
  Lines       10003     9932      -71
==========================================
- Hits         9418     9240     -178
- Misses        585      692     +107

Impacted Files
Coverage Δ

databricks/koalas/groupby.py
90.35% <84.90%> (-1.14%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
25.66% <0.00%> (-66.65%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
47.82% <0.00%> (-52.18%)
:arrow_down:

databricks/koalas/__init__.py
81.25% <0.00%> (-9.38%)
:arrow_down:

databricks/conftest.py
96.61% <0.00%> (-3.39%)
:arrow_down:

databricks/koalas/testing/utils.py
79.12% <0.00%> (-1.40%)
:arrow_down:

databricks/koalas/generic.py
91.86% <0.00%> (-1.29%)
:arrow_down:

databricks/koalas/mlflow.py
95.12% <0.00%> (-0.12%)
:arrow_down:

databricks/koalas/plot.py
91.81% <0.00%> (-0.12%)
:arrow_down:

databricks/koalas/indexing.py
92.53% <0.00%> (-0.10%)
:arrow_down:

... and 10 more

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 9e291f7...f9d736b. Read the comment docs.

@itholic Thanks for review!

Add a constructor to GroupBy for attribute type hints.


re: issues with new update

HI Alumae,
I have seen a couple of bugs with the new update.
1)the server cannot process more than one decoding process per worker, after one decoding processed the worker is not accepting connection from server.

we are not getting the correct json format for the usage

curl  -T 752706.wav "http://localhost:8888/client/dynamic/recognize"
{"status": 0, "hypotheses": [{"utterance": ""}], "id": "6ceaf16d-e754-488f-a2a8-3d9c4e63affa"}
                or

curl -v -T<PHONE_NUMBER>5818Z.wav -H "Content-Type: audio/x-raw-int; rate=16000" --header "Transfer-Encoding: chunked" --limit-rate 32000 "http://localhost:8888/client/dynamic/recognize"
{"status": 0, "hypotheses": [{"utterance": ""}], "id": "6ceaf16d-e754-488f-a2a8-3d9c4e63affa"}
as seen we are not getting any hypothesis after the new update. But i can see the result on the server.

Are you using the gst-kaldi-nnet2-online plugin? If yes, did you update it's to latest trunk and recompile?

I have updated it, i'm able to get the likelihood scores and confidence scores.

Can you copy/paste you configuration file?
Also, do you see any errors in the server or worker logs?

Here is my configuration file
You have to download TEDLIUM "online nnet2" models in order to use this sample
Run download-tedlium-nnet2.sh in 'test/models' to download them.
use-nnet2: True
decoder:
use-threaded-decoder: true
model : /home/azureuser/speech/server/kaldi-gstreamer-server-master/test/models/english/fisher_nnet_a_gpu_online/final.mdl
word-syms : /home/azureuser/speech/server/kaldi-gstreamer-server-master/auxo/lm/words.txt
fst : /home/azureuser/speech/server/kaldi-gstreamer-server-master/auxo/lm/HCLG.fst
mfcc-config : /home/azureuser/speech/server/kaldi-gstreamer-server-master/test/models/english/fisher_nnet_a_gpu_online/conf/mfcc.conf
ivector-extraction-config : /home/azureuser/speech/server/kaldi-gstreamer-server-master/test/models/english/fisher_nnet_a_gpu_online/conf/ivector_extractor.conf
max-active: 7000
beam: 15.0
lattice-beam: 6.0
acoustic-scale: 0.083
lm-fst:  /home/azureuser/speech/server/kaldi-gstreamer-server-master/auxo/lm/G.fst
do-endpointing : True
endpoint-silence-phones : "1:2:3:4:5:6:7:8:9:10"
traceback-period-in-secs: 0.25
chunk-length-in-secs: 0.25
num-nbest: 10
out-dir: tmp
use-vad: False
silence-timeout: 10
Just a sample post-processor that appends "." to the hypothesis
post-processor: perl -npe 'BEGIN {use IO::Handle; STDOUT->autoflush(1);} s/(.*)/\1./;'
full-post-processor: ./sample_full_post_processor.py
logging:
version : 1
disable_existing_loggers: False
formatters:
simpleFormater:
format: '%(asctime)s - %(levelname)7s: %(name)10s: %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
handlers:
console:
class: logging.StreamHandler
formatter: simpleFormater
level: DEBUG
root:
level: DEBUG
handlers: [console]

Please use markdown syntax to make such things readable (https://guides.github.com/features/mastering-markdown/)
My second question was: do you see any errors in the server or worker logs?

this is my server log after a decoding is complete and when i send a new file to decode
INFO 2015-07-01 14:11:47,999 Worker <main.WorkerSocketHandler object at 0x7f21aa3ac210> leaving
INFO 2015-07-01 14:11:48,902 ce903546-4d5d-4ae5-bea9-d6bee6151292: Handling on_connection_close()
INFO 2015-07-01 14:11:48,903 ce903546-4d5d-4ae5-bea9-d6bee6151292: Closing worker connection
INFO 2015-07-01 14:11:49,052 New worker available <main.WorkerSocketHandler object at 0x7f21aa3ac3d0>
INFO 2015-07-01 14:12:57,718 Status listener left
INFO 2015-07-02 02:54:18,959 0d516e2d-b038-4546-9c79-7c939c9937e7: OPEN: user='none', content='none'
INFO 2015-07-02 02:54:18,960 0d516e2d-b038-4546-9c79-7c939c9937e7: Using worker <main.HttpChunkedRecognizeHandler object at 0x7f21aa3acdd0>
INFO 2015-07-02 02:55:09,096 0d516e2d-b038-4546-9c79-7c939c9937e7: Handling the end of chunked recognize request
INFO 2015-07-02 02:55:09,098 0d516e2d-b038-4546-9c79-7c939c9937e7: yielding...
INFO 2015-07-02 02:55:09,099 0d516e2d-b038-4546-9c79-7c939c9937e7: Waiting for final result...
q    INFO 2015-07-02 03:09:58,502 Worker <main.WorkerSocketHandler object at 0x7f21aa38bbd0> leaving
INFO 2015-07-02 03:09:58,503 0d516e2d-b038-4546-9c79-7c939c9937e7: Receiving 'close' from worker
INFO 2015-07-02 03:09:58,504 0d516e2d-b038-4546-9c79-7c939c9937e7: Final hyp:
INFO 2015-07-02 03:09:58,507 200 PUT /client/dynamic/recognize (<IP_ADDRESS>) 939547.85ms
INFO 2015-07-02 03:09:58,507 Everything done
INFO 2015-07-02 04:01:09,529 New worker available <main.WorkerSocketHandler object at 0x7f21aa3acf50>
INFO 2015-07-02 04:01:28,258 New worker available <main.WorkerSocketHandler object at 0x7f21aa167990>
INFO 2015-07-02 05:48:23,666 57914580-bff0-45e3-bb37-f56cf23e5925: OPEN: user='none', content='none'
INFO 2015-07-02 05:48:23,667 57914580-bff0-45e3-bb37-f56cf23e5925: Using worker <main.HttpChunkedRecognizeHandler object at 0x7f21aa167e10>

OK, what about the worker log?

2015-07-02 04:01:28 -    INFO:   decoder2: Setting pipeline to READY
2015-07-02 04:01:28 -    INFO:   decoder2: Set pipeline to READY
2015-07-02 04:01:28 -    INFO:   main: Opening websocket connection to master server
2015-07-02 04:01:28 -    INFO:   main: Opened websocket connection to server

This is the log describing worker startup, not the processing of an actual request.

here is the log after the decoder processed a couple of requests , it is not accepting connection from server after this
2015-07-02 06:04:25 -    INFO:   decoder2: 1ccfa65f-9f98-4d00-821a-3f2b8c7f8d99: Pipeline received eos signal
2015-07-02 06:04:25 -    INFO:   decoder2: 1ccfa65f-9f98-4d00-821a-3f2b8c7f8d99: Resetting decoder state
2015-07-02 06:04:25 -    INFO:   main: 1ccfa65f-9f98-4d00-821a-3f2b8c7f8d99: Sending adaptation state to client...
2015-07-02 06:04:25 -   DEBUG:      ws4py: Closing message received (1000) ''
2015-07-02 06:04:25 -   DEBUG:   main: 1ccfa65f-9f98-4d00-821a-3f2b8c7f8d99: Websocket closed() called
2015-07-02 06:04:25 -   DEBUG:   main: 1ccfa65f-9f98-4d00-821a-3f2b8c7f8d99: Websocket closed() finished
2015-07-02 06:04:26 -    INFO:   main: Opening websocket connection to master server
2015-07-02 06:04:26 -    INFO:   main: Opened websocket connection to server

here is my configuration file uploaded
http://textuploader.com/3qep

I'm sorry, but I need a worker log from the startup until the 1st request has been processed.

ok i will repeat the issue and will share the complete logs  server and worker. can i get your email ID

<EMAIL_ADDRESS>

Hi Alumae,
the problem mostly seems like   this  https://github.com/alumae/kaldi-gstreamer-server/issues/10
but now it is like after a timeout instead of first decoding.

The timeout problem was caused by Azure cloud which closes inactive websocket connections.


feat: initial kyverno support

📑 Description
Add initial support for Kyverno.
✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

ℹ Additional Information
Documentation and testing coming in separate PRs. This PR includes CLI support but not operator, that work is next.

+1

Beam me in - says @kurktchiev

Build steps here:
`

install k8s
install kyverno (e.g. helm install kyverno kyverno/kyverno --version 3.2.5 -n kyverno --create-namespace)
install kyverno policy (e.g. https://kyverno.io/docs/introduction/#validation)
git clone https://github.com/ronaldpetty/k8sgpt.git
cd k8sgpt
git checkout kyverno
make build
./bin/k8sgpt auth add -b ollama -m llama3 -u http://localhost:11434/ (or whatever you like)
./bin/k8sgpt integration activate kyverno
./bin/k8sgpt filters list
./k8sgpt analyze --explain --backend ollama --no-cache
`

Initial documentation here https://github.com/k8sgpt-ai/docs/pull/116

Please amend commits to be signed for the DCO check
Ensure you have a local copy of your branch by checking out the pull request locally via command line.
In your local branch, run: git rebase HEAD~5 --signoff
Force push your changes to overwrite the branch: git push --force-with-lease origin kyverno

@AlexsJones I believe I did all the fixes, thanks for the tips/help. Please let me know if there is anything else to do here.


Replace default SCM version with a custom scheme

This changes behavior from the default in setuptools-scm which is to use git describe.  The problem with git describe is that on a given branch it describes the HEAD commit using the latest tag on that branch or in a merged branch.  When, say, the releases/v1.0a4 branch is cut off and later only a few commits are cherry-picked from master, and one of those commits gets tagged as v1.0a4, this tag never appears on master again.  And thus, git describe never properly recognizes this as the latest version tag.
This change instead looks at any tag in the repository starting with v.  If the current HEAD commit is tagged with one of those tags, that's used for the version exactly.  Otherwise, the latest tag is always used and incremented using the smallest possible increment.
Finally, a dev sub-version is used which counts all commits on the current branch.  This addresses the issue of it being sortable, while keeping the implementation simple.
By the way, local version suffixes like +g1478d96c.d20200826 are not changing and are still provided by setuptools-scm's default implementation.
One known limitation of this current implementation is that the latest tagged version is always used for non-exact dev builds.  We are unlikely to build new releases of EdgeDB from old branch commits, and on a release branch if we need another release, we will move the tag, making a release an exact match again.

This commit's version is for example: edgedb-server==1.0a5.dev5020+g67903476.


fb_tags.html: fix to Twitter tag

Fixes #304
Or will be able to eventually :smile:. Hi all! I wanted to help out while I was cruising through Jupyter projects and came across this repo.
Could you recommend how to get the site built locally? I'm not quite following the documentation, but I'm happy to test based on your needs. Cheers :+1:

@choldgraf I scrolled through the *md files in the root directory and didn't see any way to get running. Taking a step back, I see the Dockerfile under jupyter_book, and I've run that and getting some errors (Docker 19.03.4 on Fedora):
$ docker build .
$ sudo docker run cc11lalalahash
Configuration file: none
            Source: /srv/jekyll
       Destination: /srv/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
   GitHub Metadata: Error processing value 'title':
  Liquid Exception: No repo name found. Specify using PAGES_REPO_NWO environment variables, 'repository' in your configuration, or set up an 'origin' git remote pointing to your github.com repository. in feed.xml
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    No repo name found. Specify using PAGES_REPO_NWO environment variables, 'repository' in your configuration, or set up an 'origin' git remote pointing to your github.com repository.

Note that this repo is origin (and my copy is mine) locally. Is there something sneaky I'm missing?

@mbbroberg have you followed any of the guide here?
https://jupyterbook.org/intro
That has instructions for getting a book to work locally. There is also this page:
https://jupyterbook.org/contributing.html
which has contribution instructions and guides

Ok cool, thanks @choldgraf. I still had some blanks to fill in when it comes to knowing exactly how to get started. I was working from this page: https://jupyterbook.org/guide/publish/book-html.html
And ran:
docker run --rm --security-opt label:disable -v /home/$USER/Development/jupyter-book/jupyter_book/:/srv/jekyll -p 4000:4000 -it -u 1000:1000 jup

Where jup is my local build from the provided Dockerfile.
Is the root of this repository a book? I'm lost in the structure rn. Thanks for your patience!

The book template for the site is found in jupyter_book/book_template (https://jupyterbook.org/contributing.html#The-template-SSG-website). You should be able to run the jupyter-book build command on it and make it work

Hey @choldgraf -- I was able to get everything to build following these steps. Last step: could you point me how I can confirm it's fixed?
Here's what I've tried so far:
I'm not quite sure how to confirm the changed tags load properly. I thought there may be a place to fill out social links in _config.yml but I don't spot anything. The site looks build but with a lot of nones around:

Hey @choldgraf -- I was able to get everything to build following these steps. Last step: could you point me how I can confirm it's fixed?
Here's what I've tried so far:
I'm not quite sure how to confirm the changed tags load properly. I thought there may be a place to fill out social links in _config.yml but I don't spot anything. The site looks build but with a lot of nones around:

Hmmm - that's pretty weird, what does your toc.yml file look like?

Closing as this should be superceded by beta.jupyterbook.org, but thanks very much for your work on this! The social media tags should work in the new version


YamiVersion.h & building checking & installation directory

adjust included header file.

What about v4l2/Makefile.am?  It looks like v4l2_wrapper.h gets installed into $(includedir)/libyami_v4l2/.  Should v4l2_wrapper.h even get installed?  libyami_v4l2 does not have a .pc file.  Seems the libyami v4l2 install needs some attention.


Adding more unit tests.

Fixes DD-
Description of changes
How to test
Related PRs
(Add links)
*
Notify
@DANS-KNAW/core-systems

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


ability to change up axis

A lot of models going through obj2gltf right now come out sideways, since gltf assumes a Y-up axis.
Does obj assume anything? Otherwise, should we add a flag for changing the up axis, along with some notes?
As observed by @mramato, it's probably also better to bake this transformation straight into the geometry by flipping components of vertices rather than slap a rotation quaternion onto the gltf scenegraph.

Blender's OBJ exporter offers user-selection of export axes, but the default is -Z forward, +Y up.

I believe Three,js loaders also assume Y up (or at least the obj loader does).  So we should default to Y Up and let it be overridden by the caller.


python310Packages.elmax-api: 0.0.2 -> 0.0.3

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 204613 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.elmax
python310Packages.elmax-api
python39Packages.elmax-api


Board.name should be a class attribute rather than an instance property

Hmm, #339 does sort of solve this specific issue, but it doesn't solve the problem I was actually having. I'll open a new issue.


expr: Support json_merge_patch pushdown

What is changed and how it works?

Issue Number: Close #16770

What's Changed:

Related changes

[x] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[x] Unit test
[x] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

support json_merge_patch pushdown to tikv

/merge

/run-all-tests

/test ?

/ok-to-test

/merge


Summarise Example Mapping blog and provide link

As suggested, I've summarized @mattwynne 's blog on Example Mapping and provided a link. If it's lost too much of it's nuance in summary, please let me know!

What is with all the external posts going down at once.
This looks great, merge it. :-)

CodeShip's blog post is now HTTPS:
https://blog.codeship.com/cucumber-best-practices/

This diagram blog post is now lacking its diagram, so it should be removed:
http://blog.geekdaily.org/2009/06/cucumber-webrat-who-names-these-things.html


docs: fix minor typo in readme

Fixes lamba -> lambda in the readme file.

i really suck at typing 😬


Application Configuration to dataclass

Switch ApplicationConfiguration from a SimpleNamepsace to a data class.
Only the minimal changes were made to pass tests/mypy/linters

In case anyone is curious about the comment style vs #: it allows for mouse over support in the IDE:

This PR is being closed.


dev-docs: describe Adloox Prebid Analytics Adapter

Policy dictates documentation to be added to the prebid website, as discussed in https://github.com/prebid/Prebid.js/pull/6308#discussion_r589585261
This commit adds details about the Adloox Prebid Analytics Adapter to the Prebid website.

The js repo MD file pull https://github.com/prebid/Prebid.js/pull/6308/files#diff-3aa3ff1169f2f1cb52b4495d0ddf6e782130f438f8c875165784646614db5b32 seems much more verbose; does that somehow get automatically incorporated @bretg or should the author copy here?

Disclosure added as per request in https://github.com/prebid/Prebid.js/pull/6308#discussion_r595125216


TypeError: Cannot read property 'Any State or UT' of null

Describe the bug
Website crashes on production if any state or UT is selected from the map.
To Reproduce
Steps to reproduce the behavior:

Go to 'website's homepage'
Click on 'any of the states or the UT from India's Map'
See error

Expected behavior
State or UT's map should be visible with district wise details of the COVID-19 related patients.
Screenshots

Desktop (please complete the following information):

OS: macOS Catalina
Browser: Chrome

I have raised the PR for the same with the issue fixed.


Update zio, zio-test-sbt to 1.0.4

Updates

dev.zio:zio
dev.zio:zio-test-sbt

from 1.0.3 to 1.0.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-patch

Superseded by #18.


Symlinks cause silent errors on push

This is not the same as #255 or #264, although definitely related.
Bad symlinks will cause clasp push to fail - this is good. What's bad is the given error message. Luckily I solved it pretty quickly, but I if I were having a bad day I could have been here a while.
I can successfully perform a push by fixing any bad symlinks in my project. What's important here is the error message returned by clasp.
Expected Behavior
After clasp push, the reported error should be informative.
Actual Behavior
$ clasp push
Push failed. Errors:

Steps to Reproduce the Problem

Create a new project: clasp create
Create a bad symlink, ln -s /this/does/not/exist.ts test.ts
Call clasp push

Specifications

Node version: 8.12
Version: 2.01
OS: Linux - Ubuntu 18.04

OK, thanks for the report.
Will have to look at the error handler for clasp push.


[BUG]:Your domain is DOWN!! https://orm.drizzle.team/

What version of drizzle-orm are you using?
0
What version of drizzle-kit are you using?
0
Describe the Bug
https://orm.drizzle.team/ is down and all the documentation is unaccesable.
Expected behavior
No response
Environment & setup
No response

fixing

Temporary docs for anyone who looking for (like me).
https://web.archive.org/web/20240907040612/https://orm.drizzle.team/docs/overview


CI: update workflow to pull_request_target

Current pull_request does not allow PRs from forks to have access to the repo secrets.
See details in https://securitylab.github.com/research/github-actions-preventing-pwn-requests/

After reading more carefully the documentation, this should be reverted as it prevents pull request from effectively testing the code being proposed.
See https://stackoverflow.com/questions/74957218/what-is-the-difference-between-pull-request-and-pull-request-target-event-in-git

Few paths forward here:

If we are okay with having pull-request accessing the "secret" (aka SERVICE_ACCOUNT_KEY), it would be easier to simply add it as a regular variable. This would avoid applying workaround requiring to explicit checkout the actual branch associated with the pull request. See INSECURE. Provided as an example only. example in the post^1.

Revert this pull request, skip the part of the workflow that do not have access to the secret reporting a meaningful message indicating that they need to be added as collaborator. Indeed pull request from collaborator (with "write" access) will have access^2 to secret.

Implement a more sophisticated set of workflows with a first one able to access the secret to generate the index-data file and uploading it as an artifact to then ensure a second workflow effectively test the pull request code by using the file generated.

Moving forward with (2) seems like the most reasonable solution here.


Incorrect return of $response->getStatus()

I always get int 301 even if it reached the site

I had this same problem. Say for example your URL is set to http://google.com - this will never return a 200 response, because it redirects to https://www.google.com. Make sure that you're adding the final destination URL after the redirect, or change the check to:
if($response->getStatus() === 200 || $response->getStatus() === 301) {
    // Do stuff
}

I think it needs a follow redirect on https


Please invite me to the community

Name
Senior Full-Stack Developer
Additional Context
No response

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


Example resources result in validation errors in visualisation tool

The JSON FHIR resources as found e.g. here: http://build.fhir.org/ig/hl7-be/hl7-be-fhir-laboratory-report/Bundle-antibiogramIsNegativeAsBundleCollection.json
result in errors when uploaded through the FHIR visualisation tool.

@FlorianBonte-Moonchase http://build.fhir.org/ig/hl7-be/hl7-be-fhir-laboratory-report is an outdated URL. Where did you get it from?

Updated link:
http://build.fhir.org/ig/hl7-be/lab/Bundle-antibiogramIsNegativeAsBundleCollection.json.html
When uploaded through the tool, no errors were found.


Permit 1 character room name

Is there a reason for this regexp? I just spent 30 minutes trying to create the room "1" (and 0, and 2, and 3...) and thought the game was broken :)
If there is a reason, maybe an
else{
	console.log("Invalid room name or user name. Valid room names are between 2 and 20 in length. Valid user names are between 1 and 100 in length and do not contain commas");
}

would avoid some trouble for now!

Allowed 1 letter room names, why not.


feat(daffio): dynamic sidebar content

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

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #2680
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
changes sidebar and nav to use the named view. Note that this means that sidebars and navs will only appear on routes that have them defined (currently only docs and home, respectively)

@xelaint while this can be merged now, I think its best to create the other pages and sidebars based on this as an acceptance test

@damienwebdev what do you think about namedOutlet instead of namedView?


set waypoints for guided_mode from a companion pc and return back to auto_mode?

A complete change on this question since I was able to further on my code.  I have not seen an example of this or on the documentation, is it possible to take the drone out of auto_mode to guided_mode with specific waypoints, and then return back to auto_mode ? without restarting the waypoints from auto_mode.  The goal of this would be an example of a script running that based on a sensor would set up a small guided_mode set of waypoints, interrupt auto_mode, then return to auto_mode and continue to the next waypoints in auto_mode.

Are you wanting to return to the mission at the same transect (i.e. between the waypoints at point of changing to GUIDED?) If so you will need to keep some record of the next waypoint before changing mode, then advance to that waypoint again when switching back to AUTO.

Are you wanting to return to the mission at the same transect (i.e. between the waypoints at point of changing to GUIDED?) If so you will need to keep some record of the next waypoint before changing mode, then advance to that waypoint again when switching back to AUTO.

That is my idea , I want to go into GUIDED mode, do some maneuvering then go back to AUTO mode.  How would I go about obtaining the waypoint or the list of waypoints?

The way I do this is by having my onboard computer detect a servo pulse (using SERVO_OUTPUT_RAW) e.g. servo8 going from low to high, and then changing the mode in my code. So in the planned mission using mission planner:
waypoint1,
do_set_servo(8, high)
delay(1)
do_set_servo(8, low)
waypoint2,
...


Update book to track quickstart changes

.cargo/config -> .cargo/config.toml

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jamesmunns (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.


chore: upgrade debug dep from 3.10 to 4.3.6

Related discussion: https://github.com/expressjs/discussions/issues/256

CI/CD is failing for old versions of node.
I believe it is ok to ignore these errors because version 5.0 will drop support for nodejs version below 18
@wesleytodd @UlisesGascon Can you please confirm it is ok to ignore them?

I think these CI errors will be sorted by #5595

@IamLizu thanks for pointing https://github.com/expressjs/express/pull/5595#issuecomment-2050179731
@wesleytodd debug dropped support to nodejs 4 on version 4.0.0 should I mark this change as a breaking change then?  If so, should I use conventional commits BREAKING CHANGE to mark the change?

Can you please confirm it is ok to ignore them?

Yep! See the comment I just made in #5830.


Microsoft.Compute: Add CloudServices in stable 2021-03-01 Version

NOTE: This PR had already been signed off on here: https://github.com/Azure/azure-rest-api-specs/pull/13155
Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

If you edit the existing 2020-10-01-preview cloudservice.json file with the breaking changes and have another SDK release, you can then bring the breaking changes over to this stable release without issue.
We do not want breaking changes comparing the Stable release to the latest Preview release. If the Preview release already has them, then that is not a breaking change.

If you edit the existing 2020-10-01-preview cloudservice.json file with the breaking changes and have another SDK release, you can then bring the breaking changes over to this stable release without issue.
We do not want breaking changes comparing the Stable release to the latest Preview release. If the Preview release already has them, then that is not a breaking change.

Sounds good, that is being addressed by making changes to the preview version here: https://github.com/Azure/azure-rest-api-specs/pull/12666


Adding documentation

Would be nice to get some documentation and tutorials for C++ and Python APIs please.
Happy to submit a PR if needed.

Thanks for your interest! Currently the API is still under flux. Once it stabilizes would definitely add more documentation.


Titlebar doesn't honor user settings outside git environment

I have a custom prompt function. It sets the titlebar and the command line with special values:
function prompt {
    $realLASTEXITCODE = $LASTEXITCODE

    $cliPrefix   = "$(getCurrentUser) $($pwd.ProviderPath)"
    Write-Host -NoNewline $cliPrefix

    $titlePrefix = "$(getCurrentUser) $(Split-Path -Leaf $pwd.ProviderPath)"
    $Host.UI.RawUI.WindowTitle = $titlePrefix
    $Global:PreviousWindowTitle = $titlePrefix
    $Global:GitPromptSettings.EnableWindowTitle = $titlePrefix

    # Reset color, which can be messed up by Enable-GitColors
    $Host.UI.RawUI.ForegroundColor = $GitPromptSettings.DefaultForegroundColor

    Write-VcsStatus

    $global:LASTEXITCODE = $realLASTEXITCODE
    return "> "
}

If I don't set $Global:PreviousWindowTitle, then my custom title gets overwritten every time Write-VcsStatus is called. Hence, once I go into a git repo, then back out, the title isn't updated.
It seems silly that I have to set my title in 2 places in order for it to actually get used.
Note: The first setting of Host.UI.RawUI.WindowTitle is currently superfluous, since Write-VcsStatus always overwrites it
In summary, here are the repro steps:
In prompt, set window title, then call Write-VcsStatus
Set-Location into a git repo
Set-Location outside a git repo
Titlebar still contains previous repo name, not personalized titlebar

Is this still a problem?

I tried the repro steps and couldn't repro it.  However, I don't like this related script:
$WindowTitleSupported = $true
if (Get-Module NuGet) {
    $WindowTitleSupported = $false
}

I believe the intent here is to see if we are running under the VS NuGet Pkg Mgr console.  If so, the above test should be changed to if ($Host.Name -eq 'Package Manager Host').  Or perhaps we invert the logic and test against host name ConsoleHost. That would probably be safer. Or, we could just set the WindowTitle all the time and wrap with a try/catch.

@rkeithhill I'm going to go ahead and close this, but feel free to open an issue for discussing potential improvements to the window title situation. Note also the discussion over in https://github.com/dahlbyk/posh-git/pull/96.


[core-http] Remove ServiceClientCredentials from ServiceClient API

This change removes ServiceClientCredentials from the credentials parameter on ServiceClient so that only TokenCredential implementations can be used.  Those who use ms-rest-nodeauth would be able to leverage the changes in https://github.com/Azure/ms-rest-nodeauth/pull/66 to use those credential types with SDKs using the updated ServiceClient.
It's worth noting that this change does not prevent someone from constructing their own RequestPolicyFactory list with a signingPolicy.  I figured it would be better to leave ServiceClientCredentials and SigningPolicy around (for now) if someone really needed to use them.  We can delete them entirely at a later date if we decide to, or even now if anyone feels strongly that they should be gone.
Questions for Reviewers

Should RawTokenCredential live in @azure/core-auth so that it can be used outside of @azure/core-http, like in @azure/core-amqp?

Regarding https://github.com/Azure/ms-rest-nodeauth/pull/66#issuecomment-513887467 , I might have a better heuristic for isTokenCredential that may not be 100% perfect but more reliable than just checking for getToken on the credential object.  I looked into function.length and it appears to be supported across all browser JS engines.  With that in mind, the logic for isTokenCredential could be changed to the following:
  return credential
    && typeof credential.getToken === "function"
    && (credential.signRequest === undefined || credential.getToken.length > 0);

This new logic ensures that if the credential object also has a signRequest method, that the getToken method be defined to take a non-zero number of parameters.  My theory is that this scopes the length check to only be applicable when the credential might also be a ServiceClientCredential so that if getToken.length returns 0 on a particular platform when it should be non-zero, at least we're wrong only when we have good reason to suspect the credential might just be a ServiceClientCredential that also implements `TokenClientCredentials.
In other words, this new logic reduces the number of false positives we'd get compared to only checking for the existence of getToken on the credential object and it definitely helps to avoid the case where someone tries to use a credential from an incompatible version of ms-rest-nodeauth and succeeds, resulting in errors.
What do you think @bterlson?

@daviwil seems like a good approach!

OK, I updated isTokenCredential with the proposed changes and it seems to work as expected both with the current ms-rest-nodeauth (returns false on those credentials) and the updated version that is compatible with TokenCredential (returns true for those credentials).  Can you take another look @ramya-rao-a?

While waiting on @amarzavery to take another look, how about one of the following names:

BareTokenCredential
`StringTokenCredential``
BasicTokenCredential
SampleTokenCredential
TestTokenCredential

Trying to think of something that would make it obvious that it's mostly meant for test purposes.

Trying to think of something that would make it obvious that it's mostly meant for test purposes.

Are we sure that this was meant for tests and samples only?

No, I'm not sure of that, that's why I said "mostly" :)  My guess is that it's unlikely anyone would use this in production instead of making their own TokenCredential implementation (or ServiceClientCredentials in the past).
SimpleTokenCredential could be another option.

SimpleTokenCredential is my winner with BasicTokenCredential as a runner up

Renamed RawTokenCredential to SimpleTokenCredential in the latest change.

Thanks all! Merging this.

Thanks all! Merging this.


Main news feed seems to have changed layout

For as long as I can remember, the news feed has looked like this:

Expected news feed

but as of yesterday or the day before, it has looked like this:

Current news feed

Did something change recently in which I need to make an adjustment on my side to get that back? I definitely prefer the prior news feed.

Did you disable any features? Looks like hide-useless-newsfeed-events  is not enabled.

I have not made any changes to it in several months. The last changes that were made was custom this custom CSS which I was advised to use in a previous ticket:
/* #1864 restore Star/Unstar buttons in dashboard */
.dashboard .flex-items-baseline [value='Star'],
.dashboard .flex-items-baseline [value='Unstar'] {
	display: block !important;
}
.dashboard .watch_started .border-gray.flex-items-baseline .text-bold.text-gray-dark  {
	display: block !important;
}

Any console errors? Also what version are you on?
I tried in chrome on my computer and its working for me.

My apologies, I am using Firefox on Linux. On Firefox dev edition, it has version 21.5.19. I have normal Firefox as well which I have not opened in a few day, which is on version 21.5.10, that one seems to be fine. I just disabled the addon and then reenabled it and it looks like it is back to how I expected it to be. Not sure exactly what is up with that, but it seems to be ok now, so my apologies, it must have just been something on my end.

I may have spoke to soon. It seems that the issue isintermittent. I went back to the main page in one tab and it was not working properly, I opened another tab, it was working properly. That is quite strange.

Can you go back to 21.5.10 and see if you have an issue?

Sure thing, I will give that a try here shortly. Is there a mechanism to roll back an update, or do I have to remove it, download the previous and install it manually, then block updates to that addon?

Likely due to https://github.com/sindresorhus/refined-github/issues/4376
It’s intermittent because it’s due to a race condition. Remove your custom CSS and you should see the problem disappear. Follow the other issue for a better fix


Add STCurrency.h to xrpl_core to fix clio build

High Level Overview of Change
Fixes clio build.
Context of Change
Adds STCurrency.h to RippledCore.cmake.
Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Performance (increase or change in throughput and/or latency)
[ ] Tests (you added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation update
[ ] Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
[ ] Release

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.65%. Comparing base (22b7518) to head (650245d).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4939   +/-   ##
========================================
  Coverage    61.65%   61.65%
========================================
  Files          806      806
  Lines        70967    70967
  Branches     36690    36690
========================================
  Hits         43752    43752
+ Misses       19856    19855    -1
- Partials      7359     7360    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Looks good to me in terms of fixing Clio 👍
@thejohnfreeman @legleux you mentioned something more needed to be done I believe?

Just that I had a PR that moved a bunch of of headers so I'd just add this with that PR #4940.


TestNSCDiesSingleNode test failed sometimes.

Expected Behavior
Test should pass always.
Current Behavior
Test is failing some times.
Failure Information (for bugs)

Steps to Reproduce

Step 1
Step 2
You get the idea...

Context

Kubernetes Version:
etc.

Failure Logs
TestNSCDiesSingleNode.txt

I can start looking at this issue if you don't mind

Still failing: https://circleci.com/gh/networkservicemesh/networkservicemesh/45209
Any progress on this?  Did you pick it up @denis-tingajkin

@nickolaev could you please reopen this issue, because #1078 only extend logs during fail. It doesn't fix bug


View Data::Select Row

When viewing table data, I want to select individual rows - can't be done. Only select all works.

Why not? To select a row just click on the checkbox on the very left OR just right mouse click on the row to select the row. Works? Not? Please add a screenshot to make it more clear!

right clicking the row works, but not left clicking the checkbox. Using google chrome.

Left clicking works perfectly for me in Chrome. Probably module specific. Where it doesn't work?

Which module you're experiencing this problem?

Which module is that you're experiencing the problem with?

Webmin->servers->mysql database server.
click on a database name.
click on a table
View data
then I try to left click on the square to select the row and nothing happens. right click works.

Ohh. That was deep! Confirmed! Thanks for pointing this out! ;)

Will be fixed in version 14, most likely today! Thanks for pointing out!

...will also fix the table editor mode, when table is shrieked..

Version 14 ?!? Sounds great. I look forward version 14 more of your extension, than Windows 10!
PS. you told me about Filemin - superb file manager, and even your screen video: Authentic Theme 13 for Webmin/Usermin/Virtualmin/Cloudmin (May 24, 2015) shows me another nice module: csf
Nice!

:)) So good to hear it! Thanks!!
Yes, CSF is absolutely great. Filemin is going to replace old Java file-manager. ;)

Any other essential module for Webmin/Virtualmin? can you recommend? all modules looks nice on your theme ;) even cPanel looks ugly now... directAdmin as well, Plesk is OK, but it's not "light" so you won!

:) Good to hear! I hope that bunch of guys/companies won't be angry with me! I don't know what else I could recommend other than what we already have in Webmin, besides mentioned CSF and Filemin.

Please update to version 14. Bugs should be gone!


Support displaying background tasks in scrcpy

[ ] I have checked that a similar feature request does not already exist.

Description:
Currently, scrcpy is an excellent tool for mirroring the screen of an Android device to a computer. However, it only displays the active foreground screen, and there is no way to view or interact with background tasks running on the device.
Feature Request:
I would like to request the implementation of a feature that allows scrcpy to display background tasks as well. This would be particularly useful for developers and testers who need to monitor the behavior of their apps when they are running in the background.
Possible Implementation:
One possible implementation could be to introduce an option or a command that enables the display of background tasks in scrcpy. When this option is enabled, scrcpy would continuously capture and mirror the screen of the device, including any background tasks that are currently running. This would provide a more comprehensive view of the device's activity and help in identifying any issues or bugs related to background tasks.
Benefits:

Developers and testers can monitor the behavior and performance of their apps when they are running in the background.
It would enable better debugging and identification of issues related to background tasks.
Provides a more comprehensive view of the device's activity, improving overall testing and troubleshooting capabilities.

Additional Notes:
It's important to consider any potential performance implications or limitations of capturing and displaying background tasks. Implementing this feature may require collaboration with the Android OS or utilizing specific APIs to access background tasks.
Thank you for considering this feature request. I believe it would greatly enhance the functionality of scrcpy and make it an even more valuable tool for Android developers and testers.

I don't think you could display background apps because the OS doesn't actually render them when they are in the background.  I don't know if there is way to tell the Android to do that.
What you could do is to simulate a secondary display, move your background task to that display and then use the --display switch on scrcpy to render that display. The option for simulating a secondary display was found in the developer options of my Android 12 Samsung. I tried doing something of the sort a while ago but was met with failure because the secondary display simulation on most vendors can be described as experimental at best and I couldn't actually find a way to move apps onto there.

Thank you for your answer :)


tx-generator: Fix multi-threaded use of tx-streams.

Put the tx-streams behind an MVar.
Replace 'BechmarkTx' with generic 'NtoM'.
Remove 'RunBenchmarkAux' and cleanups.
Remove global state for 'TFee' and 'TTxAdditionalSize'

This PR addresses https://github.com/input-output-hk/cardano-node/issues/4428.

Todo: Fix 'Selftest.testscript'

bors r+

bors r+

bors r+

bors r+


In "Group: Window List", some window names take some time to update

Windows that often change their names, like music players or multiple file text editors, take some time to display the new name.

Fixed by 9f8ff5e. Thank you!


Tournament imports should gracefully handle invalid xws

If a tournament contains a squad with invalid xws, the tournament will throw a error like ERROR => Pilot not found for kickback-sigeofcoruscant <= and then stop processing any additional users.
While there is no fix for bad xws (aside from fixing the data manually in listfortress), the tournament importer could gracefully handle the error. I believe that if this line was in a try catch block, a bad squad could be skipped while allowing the rest of the tournament to be imported.

Fixed in 72615f6


Remove time multisensor type from timestamp set

As discussed, removing the type from the set will prevent the device class from being improperly set up stream. Since it is empty we can remove it entirely.

right - I was originally going to leave the variable in place as an empty set but then thought that wouldn't be very useful since the spec doesn't change often so who knows when we'd actually have something to put there


Run Django-migrate command on ingest_data cronjob steps and on_deploy

US-90. The ingest_data import-command is called by cron jobs, but the data import cannot be processed, because the Munigeo-project that handles the places, needs SQLite (memory only database), that is not initialised in the environment created by the cron jobs.

Codecov Report

Merging #71 (239a24d) into main (86303d4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   59.36%   59.36%
=======================================
  Files          23       23
  Lines         790      790
  Branches      113      113
=======================================
  Hits          469      469
  Misses        316      316
  Partials        5        5

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 86303d4...239a24d. Read the comment docs.


feat: helper function to initialize open telemetry SDK

Codecov Report

Merging #5 (44f32c6) into main (e231e52) will increase coverage by 9.97%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   60.55%   70.52%   +9.97%
==========================================
  Files           3        3
  Lines         218      285      +67
==========================================
+ Hits          132      201      +69
+ Misses         67       65       -2
  Partials       19       19

Impacted Files
Coverage Δ

metrics.go
90.90% <93.33%> (+3.40%)
:arrow_up:

server_utils.go
54.30% <0.00%> (+5.77%)
:arrow_up:

helpers.go
82.85% <0.00%> (+17.47%)
:arrow_up:

Continue to review full report at Codecov.

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


Wait for download

Hi,
Is there a way (like a function or an attribute) to wait until the player finish the media download? Because I need to wait until it finishes the download and starts playing the media to do another task.
Best,
Mário Teixeira

Perhaps the playing or progress event is what you are looking for?
https://github.com/sampotts/plyr#events


Question about the topology execution times

I am wondering how the "times" parameter works in the stream execution.
Since it has a huge influence on the running time, what is a suggested value of "times"?
for (int j = 0; j < times; ++j) {
    /* Execute the topology */
    stream(stream::kind::eager).submit(net).wait();
}

Hi @xmsjshou,
Times is the amount of times you perform independent inference. For instance you might configure the topology to process one image (batch 1), and then you will have to execute the inference as many times as number of images you have (for each run putting new image in the source of the topology).

Thank you very much！


display additional options in help text

These are mentioned on fbinfer.com so IMHO should be displayed when running infer -h

Build failure was due to a timeout on one of the jobs.


add Endpoint default constructor.

What is the purpose of the change
fix the Endpoint constructor error during Consumer start with FORCE_APPLICATION.
this place need default Endpoint constructor: https://github.com/apache/dubbo/blob/2e8dca636792f354f31661eca0d151e12a79cd4f/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java#L186
Brief changelog

add Endpoint default constructor.

Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #8277 (d2447b1) into 3.0 (2e8dca6) will decrease coverage by 0.17%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.0    #8277      +/-   ##
============================================
- Coverage     64.05%   63.87%   -0.18%
+ Complexity      312      310       -2
============================================
  Files          1073     1073
  Lines         45274    45232      -42
  Branches       6814     6781      -33
============================================
- Hits          28999    28892     -107
- Misses        13056    13114      +58
- Partials       3219     3226       +7

Impacted Files
Coverage Δ

.../dubbo/registry/client/DefaultServiceInstance.java
74.54% <100.00%> (+4.17%)
:arrow_up:

...ache/dubbo/remoting/transport/AbstractChannel.java
37.50% <0.00%> (-37.50%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
68.96% <0.00%> (-27.59%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
47.82% <0.00%> (-15.22%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-8.70%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
61.01% <0.00%> (-6.78%)
:arrow_down:

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
:arrow_down:

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
:arrow_down:

... and 37 more

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 2e8dca6...d2447b1. Read the comment docs.


feat(client): add rtl direction attribute to html element

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Ref #48101

I am actually surprised, that it was smart to include rtlLang


录制第二屏幕勾选“仅在发生变化时捕获”选项时，点击停止录制，会出现截图空白编辑器画面

Describe the bug
A clear and concise description of what the bug is.
使用2.36
WIN10-64
To Reproduce

Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows 10]
Version [e.g. 2.35.2]

Additional context
Add any other context about the problem here.

Are you trying to record a secondary screen that is tilted sideways?

Are you trying to record a secondary screen that is tilted sideways?

问题录像（Problem video address）：https://drive.google.com/file/d/1FZbEHDC6yBmpM_tzdRARB_-tsM7BNRzp/view


Wording improvements on "new program" page

Our UX writers have found a lot of wording improvements on that page (https://staging.seattle.civiform.com/admin/programs/new).

List
Current: Program Information - Administrative Use Only
Suggested: Program information—Internal (using an en dash)
Current: What do you want to call this program?
Suggested: Delete. Let field labels do the job
Current: Give a name for internal identification purposes - this cannot be updated once set.
Suggested: Internal program name. Once set this cannot be updated.
Current: Program description
Suggested: Delete
Current: This description is visible only to system admins
Suggested: Internal program description
Current: Publicly Visible Program Information
Suggested: Program information—External
Current: Program display name
Suggested: Delete
Current: What is the name of this program? This will be shown to applicants
Suggested: Program name
Current: Program display description
Suggested: Delete
Current: A short description of this program. This will be shown to applicants
Suggested: Program description

And are we considering adding the program category? I think it will help out the admin find the program much quicker.

Are we doing something similar to “new question”? Delete the question description? And what is the original purpose of using “Name”? Is it possible to just use the “question text” directly?

So sorry I didn't see this earlier - Talia (UX writer) suggested changes to this page, and they are captured in this PR: https://github.com/seattle-uat/civiform/pull/1241
Happy to change further if others have ideas!

Some updated with wording, where I and @kencenerelli  work together for the civiform admin part.
https://docs.google.com/document/d/1QLL5ytDdpi24pk6H0IHdmWabZRsAQFmcpALtuj2OeGA/edit?usp=sharing


Armor does not calculate automatically from armor worn

In GitLab by @stephen.m.cabrera on Jan 20, 2022, 11:20
Most of the time the armor value for a PC should just be the sum of all the armor that the character has equipped. Instead of calculating that the sheet requires you to add that in yourself. Instead it could do something like what the dice roll formula field does--it defaults to a value (in this case we could have it default to the sum of armor that is equipped) and then allows that value to be overridden.

In GitLab by @Asacolips on Jan 21, 2022, 08:01
I've avoided calculating this so far due to it not being as simple as weight (which is currently calculated) due to how moves can also interact with it. For instance, fighters and barbarians both have ways of gaining additional armor that's not represented anywhere in the equipment tab. I also need to make sure that the system can distinguish between +N armor and N armor, so that armor stacking is handled correctly.
I do agree that this would be a good feature to add to the system, but it will likely be awhile before I can incorporate it since there's several things I need to be careful of to do it the right way.


Add filter: Date Last Opened

Is your feature request related to a problem? Please describe.
Files are not always modified, but often only accessed, so the lastmodified filter is not always useful, at least on macOS.
Describe the solution you'd like
Add the option to filter by the date of last access to the file.
Additional context
I don't know how it should be implemented on other operating systems, but I think that on macOS, copying the implementation of 83ed1f848fe0a8c8560c80d36313b0c669f64549 with the kMDItemLastUsedDate parameter of the mdls command would be enough.

This is incuded in the next release.


Fix documentation

Some parts are confusing, unprecise, or mixing several concepts in one go which makes it hard to follow

what first example are you talking about?

This one you have to merge yourself, I don't have commit rights :D

Thank you!


add wait argument to Database.copy() method

Coverage increased (+0.006%) to 99.308% when pulling 86b978f3853947ef8786ff23ed05219421dabeff on dmitry-kiselev-light-it:db_copy_wait into ca1e8896739ef65bc48aa41805f239863498dcdb on skwashd:master.


Change the type of custom action to JS based action

Overview
We need 2 features of the JS based action, which is pre and post step. We use these to cleanup helm charts before and after the cleanup.
https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Proposal
We still use bash scripts for the actual execution, but invoke the bash scripts via the JS module.
Note: Effort is non trivial since we might not be able to use the already existing actions.

This is a good example of exactly what we want: https://github.com/helm/kind-action

Closed by: #25


Use name reference for objects in Sunstone

Author Name: Ruben S. Montero (@rsmontero)
Original Redmine Issue: 2855, https://dev.opennebula.org/issues/2855
Original Date: 2014-04-28

This should leverage the caching mechanism already implemented in Sunstone

done


added semantic html and adjusted indented spaces

Hi! @jeffreycharters, yeah I wasn't sure what to do when I saw the conflict so I just closed it lol. I'd appreciate your help, any idea what I can do to rectify it?


[SR] Add ListAddItem

added Serbian intents for List Add Item

Closed as another user mixed antoher language into this PR...


Unhandled error on ctx.arc()

Hello,
thanks for the repo, really hoping to replace dependency hell of https://github.com/Automattic/node-canvas with this. However when simply swapping it I got an unhandled error.
The error is:
Error - Failed to convert napi value into rust type `bool`

The line of code it fails on is:
        ctx.arc(x - (radius), y, radius * 2, rotate, rotate + .4 * Math.PI, 0);

I'm drawing some circles on a canvas, more context follows:
  var size = 768
  var gridSize = 8
  var margin = 2
  const cnv = createCanvas(size, size)
  const ctx = cnv.getContext('2d')
  cnv.width = size
  cnv.height = size
  circleSize = size / (gridSize + margin * 2)
  radius = circleSize / 1.25
  rotate = 0
  for (var i = 0; i < gridSize; i++) {
    for (var j = 0; j < gridSize; j++) {
      var x = (i * circleSize) + (circleSize / 2);
      var y = (j * circleSize) + (circleSize / 2);
      ctx.fillStyle = color
      ctx.beginPath();
      ctx.arc(x - (radius), y, radius * 2, rotate, rotate + .4 * Math.PI, 0);
    }
  }

Im using node v18.11.0 and @napi-rs/canvas v0.1.37 on a mac with v12.6.3 Monterey and an Intel processor

The error also happens with node v16.19.1

@okwme it's because the last param of arc is supposed to be Boolean, but provided 0 here: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc
I'll fix it by converting it into the Boolean value.

Ah thank you that seems to have fixed it!


Is there a way to make capture these info?

Hi,
Have been searching for Amazon scrappers and this project is the most effective and efficient, especially on the capability to work on "keyword search" - great work!
I had forked this and was trying to make some changes so that it works with Amazon in my region (Amazon.com/au & Amazon.co.jp). But unfortunately it turned out that I do not have the skill to do so.
Would be very good to see if there is a way to alter parameters like this.
I also shared the same thought in the other issue thread regarding "Price", and I was also thinking to get the data of "Seller" and "Stock level" as well for a thorough analysis.
Thanks so much again for having this fascinating project.
Kenneth

Hi Kenneth,
Thanks for your warm words :)
I tested amazon2csv on amazon.com.au and amazon.co.jp with the --url option, and it works.
If I search for something in my browser, for example "Python", I get a result page with the url https://www.amazon.com.au/s/ref=nb_sb_noss_2/357-0469114-0585948?url=search-alias%3Daps&field-keywords=python.
In the terminal, I type :
amazon2csv -m 10 -u "https://www.amazon.com.au/s/ref=nb_sb_noss_2/357-0469114-0585948?url=search-alias%3Daps&field-keywords=python"
... and I get proper results :)
That may not be your use case. Perhaps you would like to search with keywords directly.
In this case, you should modify amazonscraper/client.py where "amazon.com" is present,  change it with "amazon.com.au".
Could you test it?
Price and other features are more difficult to parse.
There are multiple prices displayed. Which one should we extract?


Direct access to filesystem

Great start! Two suggestions: It would be great if the path to the database and keyfile in the filesystem could be specified and saved, and read from as needed. That way, the database and keyfile could be on removable media (like a thumbdrive) and not subject to being lost with the Chromebook. This will be necessary if you ever want to go read-write as well.

Researched direct access to filesystem again.  It is not feasible at this time.


Overflow evaluation with recursive types and Box

I have issues with "overflow evalution" with recursive enum types, but only when I start a variant with a Sender containing either a Receiver or a Sender, which also contains a Receiver or a Sender. You can see the playground here: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=5343c9bc10329a804d43ef1493527e38.
As you can see in this playground, when I start with a Receiver, I do not have any compilation issue.
Also, if I swap Sender/Receiver with their payload, I do not have the issue, as you can see in this playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=7b946d0b6d04557ff648659edf0773ee.
How can this be possible and how can I solve this?

I had this issue as well.
I was creating a context with some rtrb queues as well as a blocking one.
I had to put that object into a box to workaround this problem.
Reallllllyyyyyy strannnnnngeeeeeee.


Improve the UX for adding a duplicate person to testing queue

Description
The app crashes without any clear message. when adding a person to the queue that is already in another facility's queue
Proposed solution
Show a clear message or disallow operation
Additional context
https://user-images.githubusercontent.com/4952042/146027587-a57092b7-1314-4f4a-9c36-bd5941897e7a.mp4

Solution here is likely to throw some kind of toast to let users know that the patient is already in another facility queue (and potentially share the name of that facility, if possible)

@emmastephenson what does the user need to do to change their facility? I'm assuming they would want to do that here? What are their options from here on what next action they can take?

There's a couple of potential pathways here. If the user has access to the other facility, then they should be able to go in to that facility queue, remove the patient from that queue, and add them back in the correct facility queue. If the user doesn't have access to the other facility, they're just kind of stuck and won't be able to do anything besides reach out to the other facility and ask them to remove the patient from their queue.
I will say that AFAIK, we've never had user reports of this issue; this has purely been something that devs have discovered when messing around in testing environments. So I don't think it's terribly common in the real world, but we want a better scenario than just throwing them to the 400 page.

@emmastephenson thanks for the context. In that case I suggest this:
"This person is already registered at [facility name]. To test them at your facility, you'll need to remove them from the other facility and add them to yours. If needed, contact [facility name] directly to resolve this issue."

Thanks @Rebecca-LM! I guess my one concern there is that this might imply that the patient needs to be taken off the other facility's roster or somehow archived from the facility, but really they just need to be taken off the other facility's queue. (Mostly I worry people will somehow conflate this with self-reg at different facilities, we get questions in support about that frequently). Could the content change to something like "This person is already being tested at [facility name]"?

@emmastephenson ah, that makes sense. Can you explain what it means to be on their queue vs. just in their system or registered there?

Sure! Being registered at the facility just means you're in their list of patients. Being queued at the facility means that you have a test result pending submission, so somebody has started conducting/recording a test for you but hasn't submitted it yet for some reason.
In this example, this is the queue at Facility 1 (Central Middle School):

And this is the person list for Central Middle School:

There's a second facility in the same org, "this facility is bogus". "Emma TestAccount" is registered at both facilities, meaning that patient appears in both facility lists. This is the patient registration list for that facility:

If I tried to add "Emma TestAccount" to the testing queue at "this facility is bogus", that's when I'd run into this 400 error, because that patient is already in the middle of a test at the first facility, "Central Middle School." It's fine for the person to be registered to both facilities, it's only when they're trying to conduct simultaneous tests on the same person that we run into problems. Does that make sense?

@emmastephenson ok that makes more sense. Can they just be removed or deleted, or what are the options since they're in pending status? I took a guess below -- remove or submit?
"This person has a pending test in the queue at [facility name]. To test them at your facility, you'll need to first remove their test from the other queue, or submit the test. If needed, contact [facility name] directly for help with this issue."

Yep, the options in this case are to remove or submit the pending test. The new copy looks perfect, thank you!

Ready to start engineering work on this.

relevant slack thread: https://skylight-hq.slack.com/archives/C01SJ0DUL7N/p1649172932681069

Closing as we haven't seen this in the wild - will re-open if it becomes an issue


Release 4.4.4 seems to require Jinja2

Hello,
I just upgraded django-debug-toolbar from 4.4.3 to 4.4.4. Unfortunately, I immediatly get an error due to the absence of jinja2 in my environment.
Traceback (most recent call last):
  File "/home/alorence/dev/projects/myproject/manage.py", line 29, in <module>
    main()
  File "/home/alorence/dev/projects/myproject/manage.py", line 25, in main
    execute_from_command_line(sys.argv)
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/apps/registry.py", line 124, in populate
    app_config.ready()
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/debug_toolbar/apps.py", line 25, in ready
    for cls in DebugToolbar.get_panel_classes():
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/debug_toolbar/toolbar.py", line 136, in get_panel_classes
    import_string(panel_path) for panel_path in dt_settings.get_panels()
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/utils/module_loading.py", line 30, in import_string
    return cached_import(module_path, class_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/utils/module_loading.py", line 15, in cached_import
    module = import_module(module_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/debug_toolbar/panels/templates/__init__.py", line 1, in <module>
    from debug_toolbar.panels.templates.panel import TemplatesPanel
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/debug_toolbar/panels/templates/panel.py", line 17, in <module>
    from debug_toolbar.panels.templates.jinja2 import patch_jinja_render
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/debug_toolbar/panels/templates/jinja2.py", line 3, in <module>
    from django.template.backends.jinja2 import Template as JinjaTemplate
  File "/home/alorence/.cache/pypoetry/virtualenvs/myproject-4kgUsWzL-py3.12/lib/python3.12/site-packages/django/template/backends/jinja2.py", line 3, in <module>
    import jinja2
ModuleNotFoundError: No module named 'jinja2'

I see that some changes were made around jinja2 management in that release, is there something missing in my config to prevent debugtoolbar trying to import jinja2?
By the way, I use debug-toolbar for years now, it is the first app I install in any nw project. This is a great tool, thank you a lot for maintaining it !
Best regards

We noticed the same error with 4.4.4

Duplicate of #1949

Duplicate of #1949

Sorry about that, I checked too quickly for existing issues. Closing this


null is incorrectly highlighted

PHP's null keyword is incorrectly highlighted.
Expected

Actual

This also appears to include booleans.


SyncerComponent crashes with UnknownAPI: No API registered for the name 'eth'

<bound method AsyncioIsolatedComponent._do_run of <trinity.components.builtin.syncer.component.SyncerComponent object at 0x7f7cc900e8b0>> raised an unexpected exception
Traceback (most recent call last):
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/asyncio_run_in_process/_child.py", line 205, in run_process
    runner(async_fn, args, to_parent)
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/asyncio_run_in_process/_child.py", line 168, in _run_on_asyncio
    result: Any = loop.run_until_complete(_do_async_fn(async_fn, args, to_parent, loop))
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/asyncio_run_in_process/_child.py", line 160, in _do_async_fn
    return await async_fn_task
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/asyncio_run_in_process/_child.py", line 85, in _handle_coro
    return await coro_task
  File "/home/salgado/src/snakecharmers/trinity/trinity/extensibility/asyncio.py", line 72, in _do_run
    await self.do_run(event_bus)
  File "/home/salgado/src/snakecharmers/trinity/trinity/components/builtin/syncer/component.py", line 378, in do_run
    await wait_first([sync_task, node_manager_task])
  File "/home/salgado/src/snakecharmers/trinity/p2p/asyncio_utils.py", line 48, in wait_first
    raise done_task.exception()
  File "/home/salgado/src/snakecharmers/trinity/trinity/components/builtin/syncer/component.py", line 386, in launch_sync
    await strategy.sync(
  File "/home/salgado/src/snakecharmers/trinity/trinity/components/builtin/syncer/component.py", line 222, in sync
    await manager.wait_finished()
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_generator/_util.py", line 42, in __aexit__
    await self._agen.asend(None)
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/asyncio.py", line 441, in background_asyncio_service
    raise MultiError(
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/base.py", line 165, in run
    await self.child_manager.run()
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/asyncio.py", line 243, in run
    raise MultiError(
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/base.py", line 165, in run
    await self.child_manager.run()
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/asyncio.py", line 243, in run
    raise MultiError(
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/async_service/asyncio.py", line 35, in run
    await self._async_fn(*self._async_fn_args)
  File "/home/salgado/src/snakecharmers/trinity/trinity/sync/common/headers.py", line 956, in run
    await self._build_skeleton()
  File "/home/salgado/src/snakecharmers/trinity/trinity/sync/common/headers.py", line 963, in _build_skeleton
    async for peer in self._tip_monitor.wait_tip_info():
  File "/home/salgado/src/snakecharmers/trinity/trinity/protocol/common/monitors.py", line 52, in wait_tip_info
    highest_td_peer = self._peer_pool.highest_td_peer
  File "/home/salgado/src/snakecharmers/trinity/trinity/protocol/common/peer.py", line 262, in highest_td_peer
    peers_by_td = groupby(td_getter, peers)
  File "cytoolz/itertoolz.pyx", line 118, in cytoolz.itertoolz.groupby
  File "cytoolz/itertoolz.pyx", line 149, in cytoolz.itertoolz.groupby
  File "cytoolz/functoolz.pyx", line 838, in cytoolz.functoolz.excepts.__call__
  File "/home/salgado/src/snakecharmers/trinity/trinity/protocol/common/api.py", line 66, in head_td
    return self._tracker.head_td
  File "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/cached_property.py", line 35, in __get__
    value = obj.__dict__[self.func.__name__] = self.func(obj)
  File "/home/salgado/src/snakecharmers/trinity/trinity/protocol/common/api.py", line 61, in _tracker
    api = choose_eth_or_les_api(self.connection)
  File "/home/salgado/src/snakecharmers/trinity/trinity/protocol/common/api.py", line 31, in choose_eth_or_les_api
    return connection.get_logic(ETHV63API.name, ETHV63API)
  File "/home/salgado/src/snakecharmers/trinity/p2p/connection.py", line 325, in get_logic
    raise UnknownAPI(f"No API registered for the name '{name}'")
p2p.exceptions.UnknownAPI: No API registered for the name 'eth'

I think we may be missing a call to Multiplexer.close() when a connection is terminated. We used to close the multiplexer at the end of Connection.run(): https://github.com/ethereum/trinity/commit/49f233d5c144afbcb7f1cccfdabd3df04e026ea7#diff-e7941748edce5bb431bc060d8f08fb0aL154-L155
But now we only do that when the connection is GCed: https://github.com/ethereum/trinity/commit/49f233d5c144afbcb7f1cccfdabd3df04e026ea7#diff-e7941748edce5bb431bc060d8f08fb0aR135-R140
So this could be caused by a Peer/Connection that is no longer running but for which the multiplexer/transport hasn't been closed yet. Because of that, Connection.has_logic() is not raising a PeerConnectionLost: it only does that when the multiplexer's .is_closing is True

Unfortunately my hypothesis above doesn't seem to be possible as Connection.run() ensures the multiplexer is closed by calling wait_streaming_finished()


Fix typos and demo code in useWriteContract docs

What changed? Why?

The tutorial useWriteContract() is using isPending instead of isLoading.
Updated demo code to reflect this.

you'll'll should be you'll

Consistent codeblock MarkDown format where tsx: should be tsx

Notes to reviewers
n/a
How has it been tested?
Visually.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Can not open flask stream server that I created by myself

V2.1.3
cordova 8.0
Android xiaimi redmi
**I want to open the video stream from my own flask video stream server, but show the error: 'Couldn't open http://<IP_ADDRESS>:5000/video_feed: java.io.FileNotFoundException: No content provider', but I can open the link from browser and show the video **
I want to show the video correctlly

Sorry, I found the reason. I should not use the plugin, it's my server's issue, not the plugin's issue.


CMPG323 Training (5 Aug)

Git is the leading version control tool, and it's essential for developers. Learn how to use Git to track your own changes and collaborate with others.


Feature request: store "installed from CI" in the BigTable

Like many other maintainers, I'd love to know how many of my package installs are from CI vs. other use-cases in order to get a better estimate of how many people use Hypothesis.  (as a testing tool the CI download stats are useful to decide on e.g. supported versions, but much less useful for counting users)
I was pleasantly surprised when my background reading shows that pip already does some auto-detection of CI and includes that in the user-agent (https://github.com/pypa/pip/pull/6273), and that it's already handled by linehaul (#46)...
So all that's left is to actually store that data ala https://github.com/pypa/linehaul/pull/46#issuecomment-486508359, so that we can query it later!

I went ahead and just transferred this one. Thanks!

seconded

The schema has been updated to add details.ci to simple_requests and file_downloads, I think the next step here is updating this function to write that field.

Ah gotcha. I saw the details.ci in the file_downloads field, but noticed that it was a null value. Not a priority, I get that this is just open source, just wanted to bump this. I was just digging into the data trying to figure out how many people were actually using my package (since overwhelmingly the downloads appeared to be mirrors or scrapers), and couldn't find a good way to determine this (Although I think the details.ci field would go a long way), so I was just curious. Tbh I'm surprised others aren't more interested in having this statistic.

I poked at this in hopes of opening a PR, but ended up stuck because I don't understand the message format well enough.  Some notes which I hope will be useful for someone, no promise of accuracy:

The core of our function is here: we grab a line from the input file, parse it into one of our neat dataclasses, and then write it out as jsonlines
So the change we need to make is:

Add ci = attr.ib(type=Optional[bool], default=None) to the Download (and Simple?) dataclass(es)
Write a bit of parsing code which will extract this from the blob format, and use it to populate the data dictionary in the parse() function

This is where I got stuck; I'm not sure where to look for raw blobs to see how "is in CI" is represented.  The current test fixtures don't contain any CI info.

Add some tests to make sure it keeps working in future :-)

@di if you happen to have some raw data with a CI field handy, I'd be happy to update the test fixtures and code according to this plan 🙂

Actually, this seems to just be working as expected now that the field exists in the schema, without needing any changes here:
SELECT COUNT(*) AS num_downloads
FROM `bigquery-public-data.pypi.file_downloads`
WHERE details.ci is not NULL
  AND DATE(timestamp)
    BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
    AND CURRENT_DATE()

Row
num_downloads

1
1928588704

SELECT COUNT(*) AS simple_requests
FROM `bigquery-public-data.pypi.simple_requests`
WHERE details.ci is not NULL
  AND DATE(timestamp)
    BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
    AND CURRENT_DATE()

Row
simple_requests

1
2427426581

I made https://github.com/pypi/linehaul-cloud-function/pull/144 anyways just to ensure we have an example of ci: true in all our test fixtures.
Given that, I think we can close this, but I'll let @Zac-HD confirm.

Ah gotcha. I'm not sure if this is a bug or a feature, but when I tried looking up whether details.ci was False it came back with no results. Also when I looked up some of my own packages that I installed from the command line, they all came back with 0 results when checking if details.ci IS TRUE. Maybe I'm just not using it right or not understanding fully this functionality?

Awesome that it's already storing this though!

Yep, it's working!  I'll give it a few months to populate, and then dig in - maybe at PyCon 🙂
Thanks again @di!


Golang mock tcp :8900: connect: connection refused

How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v18.19.0
Amplify CLI Version
12.10.2
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Describe the bug
when running amplify mock function <functionID> --event src/event.json, got error

tcp :8900: connect: connection refused

Expected behavior
when running amplify mock function <functionID> --event src/event.json, lambda should work as expected.
Reproduction steps

in a new folder, yarn init -y
amplify init -y
amplify add function, choose go.
run amplify mock function <functionID> --event src/event.json, see the error.

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

mock doesn't work because our Go Runtime has already upgraded from go1.x (https://github.com/aws-amplify/amplify-cli/pull/13671), which means the RPC we use for mock doesn't work anymore.
ref:

how we use RPC for the mock  https://djharper.dev/post/2018/01/27/running-go-aws-lambda-functions-locally/


[Doc]  Inconsistent font size in table formatting

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
It's a style issue - text with bullets has a different font size.

Java client library

Schema compatibility

What is your suggestion?
Is it possible to unify the font size? Otherwise, we may consider using bullets throughout, or comma-delimited items.
//cc @Anonymitaet @urfreespace
Any reference?
No response
Are you willing to submit a PR?

[x] I'm willing to submit a PR!

Assign to me, this is a CSS style bug.


feat: Add support for creating a security group along with the load balancer

Description

Add support for creating a security group along with the load balancer

Motivation and Context

All ALBs created require a security group which then means another module definition for users. Instead, this now adds the ability to add the necessary rules directly into the ALB module. In the future, I'd like to look at mapping the listeners into rules to where users only need to specify the port and protocol once and this will create the necessary network access (they will still have to add CIDR blocks, etc., to know where that traffic is coming from or going to, but the port and protocol won't be duplicated)

Breaking Changes

No

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 8.3.0 :tada:

please rollback or fix it.
When I'm creating a NLB I'm receiving this error:
│ Error: creating network Load Balancer: InvalidConfigurationRequest: Security groups are not supported for load balancers with type 'network' │       status code: 400, request id: 81f69f77-12d9-44ec-8cf3-90131a19631d │  │   with module.nlb.aws_lb.this[0], │   on .terraform/modules/nlb/main.tf line 5, in resource "aws_lb" "this": │    5: resource "aws_lb" "this" {

Why is create_security_group enabled by default ?
This is breaking change for all user that previously use the module.
We need to add create_security_group = false to continue to use the module now...

Why is create_security_group enabled by default ?
This is breaking change for all user that previously use the module.
We need to add create_security_group = false to continue to use the module now...

This is breaking change for all user that previously use the module.

Could you elaborate on why this is a breaking change? I understand that there was an unfortunate bug which has since been patched in https://github.com/terraform-aws-modules/terraform-aws-alb/releases/tag/v8.3.1, but otherwise its not a breaking change

My bad, it's not breaking change, I'm a bit strong with my words...
Just that the change to this new version means that all users of the previous versions will have, on next apply, a creation of a security_group, which is useless, and which will also modify the loadbalancer for nothing.
It would have been better to set create_security_group = false by default to keep the old way of working and to allow new implementations to use this feature if needed.

Also broke our projects since we already had a security group and now the module wanted to create another one. So I second that you should set create_security_group = false by default


deprecated github actions in workflow

3 warnings
security-scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
security-scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
verify
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Issue is fixed.
There are no deprecated messages any more.