An error ocurred while starting the kernel

Description
What steps will reproduce the problem?

Step 1. Launch spyder
error:
An error ocurred while starting the kernel
Traceback (most recent call last):
File "C:\Users\palas\anaconda3\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Users\palas\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\palas\anaconda3\lib\site‑packages\spyder_kernels\console_main.py", line 11, in
start.main()
File "C:\Users\palas\anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 287, in main
import_spydercustomize()
File "C:\Users\palas\anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 39, in import_spydercustomize
import spydercustomize
File "C:\Users\palas\anaconda3\lib\site‑packages\spyder_kernels\customize\spydercustomize.py", line 24, in
from IPython.core.getipython import get_ipython
File "C:\Users\palas\anaconda3\lib\site‑packages\IPython_init.py", line 55, in
from .core.application import Application
File "C:\Users\palas\anaconda3\lib\site‑packages\IPython\core\application.py", line 23, in
from traitlets.config.application import Application, catch_config_error
File "C:\Users\palas\anaconda3\lib\site‑packages\traitlets\config_init_.py", line 6, in
from .application import *
File "C:\Users\palas\anaconda3\lib\site‑packages\traitlets\config\application.py", line 17, in
from decorator import decorator
ImportError: cannot import name 'decorator' from 'decorator' (C:\Users\palas\decorator.py)
Versions

Spyder version: 4.0.1
Python version: 3.7.6
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies
atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.12.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.7 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.15 (OK)
matplotlib >=2.0.0           :  3.1.3 (OK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  1.0.1 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  1.5.1 (OK)

Hi, @sontakkeshweta, thanks for reporting this issue. According to the stacktrace posted previously, it seems that there is a downstream error on some of the libraries on which Spyder is dependent on. This error may happen due to version incompatibility and also old versions. Also, you are using Spyder 4.0.1, right now the latest version is 4.1.2, so I would recommend you to upgrade and verify that the error does appear again.

Hi @andfoy,
Greetings!!
I updated the Spyder, but the error is still there.

File "C:\Users\palas\anaconda3\lib\site‑packages\traitlets\config\application.py", line 17, in
from decorator import decorator
ImportError: cannot import name 'decorator' from 'decorator' (C:\Users\palas\decorator.py)

This part of the error says that traitlets is trying to import decorator from a file in your user directory (C:\Users\palas\decorator.py). You need to remove or rename that file.

@andfoy, please take note of @bcolsen's advice so you can give this feedback again next time (this is a very common problem).


Add content/pt-br/application_programming_interface.md

Reopening - same content as https://github.com/cncf/glossary/pull/273, but now with an organized tree/commits. Sorry for the confusion :sweat_smile:
Signed-off-by: Jéssica Lins<EMAIL_ADDRESS>

cc @brunoguidone

@seokho-son could you help us with this? We need just one approval from a codeowner :D


SRCH-5714 Benchmark Updates

Summary

Finalized benchmark script after completing SRCH-5714.
Allows for single run based on args or multiple runs based on file

Testing
You should be able to run using any or all of the CLI args, e.g.:
python search_gov_crawler/benchmark.py -f crawl-sites-test.json
or
python benchmark.py -d example.com -u 'https://www.example.com'
You should also be able to adjust the max spider jobs that run at the same time with the SCRAPY_MAX_WORKERS environment variable.
I didn't add unit tests for this file since its a benchmark and not part of the running code but if you think I should please let me know.
Checklist
Please ensure you have addressed all concerns below before marking a PR "ready for review" or before requesting a re-review. If you cannot complete an item below, replace the checkbox with the ⚠ :warning: emoji and explain why the step was not completed.
Functionality Checks

[x] You have merged the latest changes from the target branch (usually main) into your branch.

[x] Your primary commit message is of the format SRCH-#### <description> matching the associated Jira ticket.

[x] PR title is either of the format SRCH-#### <description> matching the associated Jira ticket (i.e. "SRCH-123 implement feature X"), or Release - SRCH-####, SRCH-####, SRCH-#### matching the Jira ticket numbers in the release.

[x] Automated checks pass. If Code Climate checks do not pass, explain reason for failures:

Process Checks

[x] You have specified at least one "Reviewer".

I've been able to run the benchmark from a file i.e  python benchmark.py -f ./test_parallel_domain.json but when I try to run just a single domain python benchmark.py -d [quotes.toscrape.com](http://quotes.toscrape.com/) -u 'https://quotes.toscrape.com' I get this error: TypeError: create_apscheduler_job() missing 1 required positional argument: 'name'.
Am I missing an argument or is it not set to pass one? I don't see it passing a default one in benchmark_from_args()

I've been able to run the benchmark from a file i.e  python benchmark.py -f ./test_parallel_domain.json but when I try to run just a single domain python benchmark.py -d [quotes.toscrape.com](http://quotes.toscrape.com/) -u 'https://quotes.toscrape.com' I get this error: TypeError: create_apscheduler_job() missing 1 required positional argument: 'name'.
Am I missing an argument or is it not set to pass one? I don't see it passing a default one in benchmark_from_args()

Thanks... no tests 😢 and I forget to adjust the benchmark from args based on the changes to benchmark from file.  Both should work now!


[material-ui][Select] Remove focus from the input when the listbox disappears

Steps to reproduce
Link to live example: https://stackblitz.com/edit/vitejs-vite-kzseur?file=src%2FApp.tsx
Current behavior
Make a simple multiple select using Material UI's Select component. But one thing that I did not like is that if you unselect anything or just don't select anything and click outside, the dropdown disappears but the label remains focused until you click again or focus on other component.

Link to component: https://material-ui.com/demos/selects/
Original title for ease of reading:

Make a simple multiple select using Material UI's Select component. But one thing that I did not like is that if you unselect anything or just don't select anything and click outside, the dropdown disappears but the label remains focused until you click again or focus on other component.

Expected behavior
dropdown disappears then label focus also remove
Search keywords: select, dropdown , menu

You have copied the image from https://stackoverflow.com/questions/50896839/meterial-ui-select-how-to-remove-focus-when-clicked-outside and you also have the answer there.


Is it possible to send request from cvat-ui to localhost

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Steps to Reproduce (for bugs)

Run server at localhost:2390. It works fine, and it can receive requests from localhost.
    http_listener listener("http://localhost:2390");
Install cvat for development
Add http request at cvat-ui/src/utils/opencv-wrapper:

const response = await fetch('https://<IP_ADDRESS>:2390', {
            method: 'POST',
            body: JSON.stringify({
                x: 10,
                y: 10,
                width: 100,
                height: 100,
            }),
            headers: {
            },
});

run docker run -d --rm --name cvat_opa_debug -p 8181:8181 -v ${PWD}/cvat/apps/iam/rules:/rules --network=host openpolicyagent/opa:0.45.0-rootless run --server --set=decision_logs.console=true /rules
Open cvat at localhost:3000

Expected Behaviour

I expect the request to reach the server, but it does't. What should i do to establish connection?
Current Behaviour

No request, i have push with error

means that my changes compiled
But tracking starts even then i comment line with init tracking.
Possible Solution

Context

Your Environment

Docker version docker version (e.g. Docker 17.0.05): 23.0.3
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 22.10

Please, provide request details from the browser dev tools on Network tab.

run docker run -d --rm --name cvat_opa_debug -p 8181:8181 -v ${PWD}/cvat/apps/iam/rules:/rules --network=host openpolicyagent/opa:0.45.0-rootless run --server --set=decision_logs.console=true /rules

It is not a command to rebuild CVAT, it just restart OpenPolicyAgent.

Please, provide request details from the browser dev tools on Network tab.

run docker run -d --rm --name cvat_opa_debug -p 8181:8181 -v ${PWD}/cvat/apps/iam/rules:/rules --network=host openpolicyagent/opa:0.45.0-rootless run --server --set=decision_logs.console=true /rules

It is not a command to rebuild CVAT, it just restart OpenPolicyAgent.

Why did tracking started if i commented line initing TrackerMIL and code was executed with changes? How to rebuild cvat?

Add docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build

docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build

after that i have

After rebuild (no significant changes were made) i can't open cvat at 8080

docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build

Thanks! It rebuilds the project, but error still the same - out of bounds. What should i do to send request correctly?

I see ERR_SSL_PROTOCOL_ERROR when doing a POST request to another host.
That is not a tracker issue, looks like network configuration problems.

Okay, this is not default configuration. We do not support it out of the box.
I believe the issue is ralated with that you are trying to do a request from HTTP to HTTPS, but I am not expert here.
I will close the issue because it is a very custom case.


test: fix wrong pvc status check

Which issue(s) this PR fixes:

Issue N/A
What this PR does / why we need it:
Fix wrong pvc status check. It was wrongly hard-coded to "bound".
Special notes for your reviewer:
Additional documentation or context

@Mergify backport v1.6.x v1.5.x v1.4.x


strictNullChecks doesn't work with empty destructuring assignment

TypeScript Version:  2.7.0-dev.20171223
Code
const [] = null;

Expected behavior:
error
Actual behavior:
pass

We should reuse the Object is possibly ____ messages and check for the RHS of any destructuring assignment. The following cases should error:
let { } = null;
({} = null);

let { } = undefined;
({} = undefined);

let { } = Math.random() ? {} : null;
({} = Math.random() ? {} : null);

let { } = Math.random() ? {} : undefined;
({} = Math.random() ? {} : undefined);

let { } = Math.random() ? null : undefined;
({} = Math.random() ? null : undefined);

Is anyone working on this? I'd be interested in having a go, but I don't want to impose if anyone is working on it already.


epic-wallet owner_api command returns no feedback

This is working API, but you never can be sure as there is no confirmation like in normal epic-wallet listen

@blacktyger can you check epic-wallet.toml file -> stdout_log_level = "Warning"
The output that owner_api started is only printed if stdout log level is set to "Warning".
This should be the default Level after user inits a new wallet.


CAMEL-21135: camel-core - AdviceWith using toUri pattern should also …

…support poll/enrich/pollEnrich EIPs
Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

I think regen is needed:
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWithTasks.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWithTasks.java
index 8ed0823a..240f3598 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWithTasks.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWithTasks.java
@@ -38,7 +38,6 @@ import org.apache.camel.model.ProcessorDefinitionHelper;
 import org.apache.camel.model.RouteDefinition;
 import org.apache.camel.model.ToDynamicDefinition;
 import org.apache.camel.model.TransactedDefinition;
-import org.apache.camel.model.WireTapDefinition;
 import org.apache.camel.support.PatternHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

Thanks


paperwork: 2.1.0 -> 2.1.1

Motivation for this change
Update. I also add an update script.
Changelog: https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/blob/develop/paperwork-gtk/ChangeLog
Things done

Built on platform(s)

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

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

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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 158048 run on aarch64-darwin 1

4 packages failed to build:

python310Packages.openpaperwork-core
python310Packages.openpaperwork-gtk
python39Packages.openpaperwork-core
python39Packages.openpaperwork-gtk

I restricted the packages failing on darwin to linux.


Exporting to PDF

When exporting to PDF, the code blocks look that the screenshot below. What can be made to make their background more appealing?

Found it! It is on “Style Settings” → “Editor” → “Code” “Blockquote”. Thanks!

Guess the code block background display may be related to the pdf reader, this is the appearance of a pdf I opened in Edge browser


SAA-1277: Remove transferred prisoners from appointments

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

Files
Coverage Δ

...model/audit/AppointmentCancelledOnTransferEvent.kt
100.00% <100.00%> (ø)

...anagementapi/service/AppointmentAttendeeService.kt
100.00% <100.00%> (+2.85%)
:arrow_up:

.../events/handlers/AppointmentChangedEventHandler.kt
100.00% <100.00%> (ø)

...ce/events/handlers/OffenderReleasedEventHandler.kt
89.13% <100.00%> (+0.49%)
:arrow_up:

... and 1 file with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.


Title: Resume Parsing and JOb Description comparison  using Deep Java Library(djl.ai) and Natural Language Processing (Standford NLP) in java programming language.

Is your proposal related to a problem? Please describe.
Traditional resume parsing methods, relying on rule-based systems, struggle with the complexity and variations in resume formats and languages. Instead, leveraging machine learning and natural language processing (NLP) offers a more adaptable and precise solution by learning patterns from data and comprehending textual content deeply.
The summarized approach entails:
Data Preprocessing: Standardizing resume formats and cleaning text for consistency.
Feature Extraction: Utilizing djl.ai to extract features such as skills, education, and contact information.
Natural Language Processing: Employing Stanford NLP for semantic analysis and identifying entities like job titles and organizations.
Model Integration: Developing a unified pipeline merging djl.ai and Stanford NLP outputs to fuse extracted features and NLP insights.
Evaluation and Fine-tuning: Assessing parsing performance on diverse datasets and refining parameters to enhance results.
Key benefits encompass improved accuracy, scalability for processing extensive resume volumes, and customization for specific parsing needs.
In conclusion, the proposed integration of djl.ai and Stanford NLP aims to propel automated resume analysis forward, striving for robust and scalable solutions in talent acquisition and recruitment processes.
Add any other context or screenshots about the proposal request here.

Here

Here in above image we attached resume and Provide job description Click for checking whether the candidate how uch eligible for the job role. The the Output first show the the paragraph which is resume extracted data, Second paragraph indicate the key point are extracted from previously extrated data and then it generated a score by comparing job description and key point extracted data.
Kindly assign this issue to me i can add new several approches using java .
Assign this issue with GSSOC24 With level

Here i just wanted to tell you that this project i will design in SpringBoot Framework so as per that you have to download it in order to test it. Thank You sir for assigning this issue to me


sandbox_run: Do not run net plugin in host namespace

For host network pod there's no need to prepare interfaces to let namespaces communicate - so there's no need to execute plugins.
Found it while working on kubernetes. Kubelet spawns 2 pods with host networking (kube-proxy, flannel) and networking plugin tried to create 2 veth pairs (1 for each pod) with the same eth0 name in the host namespace that causes a crash.
@lukasredynk Could you provide some additional information?
cc @mrunalp @runcom @sameo
BTW. Right now, kubelet starts with all services, and my kubernetes cluster works fine, I am still debugging problem with image pulling that seems to be the last one before running CRI e2e.

@jjlakis @lukasredynk So If I'd be to create a set of pods on the host ns, would I have to strictly on localhost to have them seeing each others ?
IMHO the correct fix would be to generate a more random interface name than eth0, but I may be missing some details.

@sameo Wouldn't a random interface name make it harder for applications to bind a specific interface? That seems like it could have the potential to break some applications, though I guess it's a more advanced use case than most images.

@jawnsy Maybe, although applications should not assume anything about interface names if they want to bind to a specific one.

@rajatchopra could you chime in here?

As an after-thought, we will have to do something more complicated when we start supporting multiple networks for a pod.

@sameo @jawnsy If we will generate random interface name, we won't get conflict but 2 useless veth pairs will be created.
@rajatchopra We don't create namespace for host network already.

@sameo Try running: docker run --net=host alpine ash and then in container ip a: you'll see all interfaces on your host machine. I think "host network" by definition don't run additional network configuration, it just uses host's. I don't know though what IP should container report as main one.

@lukasredynk I think host means do not run in a specific networking namespace. But if I want to run my pod in the host ns and I still want to use e.g. flannel as an overlay, I think we would have to run a CNI plugin.
Don't take me wrong, this is probably the saner short term solution, but in the long term we need to be able to so support host networking in a better way.

@sameo Are we okay merging this for now?

@mrunalp Yes, fine with me.
@jjlakis @lukasredynk If you agree the CNI pluging should still be run in the host netns, could we create an issue for that ?

LGTM


New release ci

Codecov Report

Merging #14 (531d9d8) into master (00d666a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   88.17%   88.17%
=======================================
  Files          20       20
  Lines        1379     1379
=======================================
  Hits         1216     1216
  Misses        163      163

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 00d666a...531d9d8. Read the comment docs.


[AutoComplete] Fix overriding TextField event props

Fixes #6560 (got it wrong previously, my "6" key is broken :sweat_smile:)

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

🙈  a second regression, I know it was a good call to wait after seeing the first one https://github.com/callemall/material-ui/pull/6370#discussion_r110539387. Thanks for the quick fix!

You're welcome, keep up the great work! :+1:


zuul2 HttpQueryParams get() method issue

In source code(https://github.com/Netflix/zuul/blob/2.1/zuul-core/src/main/java/com/netflix/zuul/message/http/HttpQueryParams.java#L118), we can see get() method uses name.toLowerCase() as key, while getFirst() method uses original name.
public List get(String name)
{
return delegate.get(name.toLowerCase());
}
Suppose current url is xxx?cityId[]=1&cityId[]=2, invoke get("cityId") would cause none value which is not expected. Is there any special reason to use lower case of param key rather than original key?

Good question, will look into it.

@artgon
Can I create a PR and handle the issue?
If possible, do you have any thoughts or opinions on this issue?

Hello @artgon I fixed this issue on #1672, Could you please take a moment to review it?
If possible, I would also like to request @sullis  to kindly join in reviewing this PR.
Your cooperation is highly appreciated.
Thanks (_ _)


response-modifier change http statusCode not effective

Environment info:

KrakenD version: devopsfaith/krakend:2.7.2
System info: docker
Backend technology: Java

Describe what are you trying to do:
I need to extract the statusCode field from the response body returned by the backend to replace the http stausCode returned to the user.
The structure of the response body returned by the backend looks like this:
{
    "data": null,
    "statusCode": 400,
    "error": {
        "msg": "custom error message"
    }
}

When the backend api returns a business-customized exception, the http status code is usually 200, and I want the kranken D to return the statusCode in the return body as the http status code to the user.
I'm referring to the sample code provided by https://www.krakend.io/docs/enterprise/extending/plugin-modifiers/ and trying to make a substitution of the status code of the request and it doesn't seem to work. I was able to correctly parse the statusCode field of the returned message by setting output_encording=“json”, but it doesn't seem to be able to be set to an http status code!

type responseWrapper struct {
	ctx        context.Context
	request    interface{}
	data       map[string]interface{}
	isComplete bool
	statusCode int
	headers    map[string][]string
	io         io.Reader
}

func (r registerer) responseDump(
    cfg map[string]interface{},
) func(interface{}) (interface{}, error) {

    // return the modifier
    fmt.Println("response dumper injected!!!")
    return func(input interface{}) (interface{}, error) {
        fmt.Println("response dumper injected!!!")

        resp, _ := input.(proxy.ResponseWrapper)

        modifiedResp := responseWrapper{
            data:       resp.Data(),
            io:         resp.Io(),
            isComplete: resp.IsComplete(),
            headers:    resp.Headers(),
            statusCode: resp.StatusCode(),
        }

        if resp != nil {

            fmt.Println("data:", resp.Data())
            fmt.Println("is complete:", resp.IsComplete())
            //Since output_encording is set to json, the output value here is always map[]
            fmt.Println("headers:", resp.Headers())
            fmt.Println("statusCode:", resp.StatusCode())
			//here I tried to modify its http status code
            modifiedResp.statusCode = 400

            fmt.Println("modified response statusCode:", modifiedResp.statusCode)
        }
        return modifiedResp, nil
    }

Your configuration file:
{
    "$schema": "https://www.krakend.io/schema/v3.json",
    "version": 3,
    "plugin": {
        "pattern": ".so",
        "folder": "/etc/krakend/plugins/"
    },
    "extra_config": {},
    "name": "KrakenD Enterprise API Gateway",
    "port": 8081,
    "host": [
        "http://fake_api"
    ],
    "timeout": "3000ms",
    "cache_ttl": "300s",
    "endpoints": [
        {
            "endpoint": "/users",
            "extra_config": {
                "plugin/req-resp-modifier": {
                    "name": [
                        "krakend-debugger-request",
                        "krakend-debugger-response"
                    ]
                }
            },
            "method": "GET",
            "output_encoding": "json",
            "backend": [
                {
                    "url_pattern": "users",
                    "extra_config": {},
                    "encoding": "json",
                    "sd": "static",
                    "method": "GET",
                    "host": [
                        "http://<IP_ADDRESS>:9999"
                    ]
                }
            ],
            "input_query_strings": [
                "*"
            ],
            "input_headers": [
                "*"
            ]
        }
    ]
}

I would very much appreciate advice.

I have the same problem, have you already solved this problem?


Some templates run but nothing is outputted

This template can be selected in the insert window, shows the run has begun alert, but outputs nothing.
This used to work fine in a former release.
- #SmartBlock Daily
	- ## 🚀  MIT
		-
	- ## 🕧  When time
		-
	- ## 🤝  Interactions
		- {{renderer(:smartblock,Add Interaction,Add Interaction,true)}}
		-
	- ## 📘  Notes
		- {{renderer(:smartblock,Daily Review,Daily Review,true)}}
		- **<%current time%>** –
	-

Errors:

Versions:
Logseq 0.7..2
Smartblocks 3.2.5

I met the same issue after updating to 0.7.2, hopefully, it could be fixed.

Try the nightly version of logseq.
On 8 Jun 2022 at 1:27 PM +0400, BuaaLzd @.***>, wrote:

I met the same issue after updating to 0.7.2, hopefully, it could be fixed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

There's a bug in the latest version of logseq. Try the new nighty version
On 8 Jun 2022 at 12:45 PM +0400, Henjo Hoeksma @.***>, wrote:

This template can be selected in the insert window, shows the run has begun alert, but outputs nothing.
This used to work fine in a former release.

#SmartBlock Daily
 - ## 🚀  MIT

         -

 - ## 🕧  When time

         -

 - ## 🤝  Interactions

         - {{renderer(:smartblock,Add Interaction,Add Interaction,true)}}

         -

 - ## 📘  Notes

         - {{renderer(:smartblock,Daily Review,Daily Review,true)}}

         - **<%current time%>** –

 -

Versions:
Logseq 0.7..2
Smartblocks 3.2.5
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


ARTEMIS-2835 Porting HORNETQ-1575 and HORNETQ-1578

ARTEMIS-2835 Porting HORNETQ-1575 and HORNETQ-1578
2 of 2) - Porting of HORNETQ-1578

Exceptions are swallowed, making it hard to diagnose issues

1 of 2) - Porting of HORNETMQ-1575

In a live-backup scenario, when live is down and backup becomes live, clients
using HA Connection Factories can failover automatically. However if a
client decides to create a new connection by itself (as in camel jms case)
there is a chance that the new connection is pointing to the dead live
and the connection won't be successful. The reason is that if the old
connection is gone the backup will not get a chance to announce itself
back to client so it fails on initial connection.

The fix is to let CF remember the old topology and use it on any
initial connection attempts.

There are about 21 tests broke with this PR.
FederatedAddressTest mainly.
Can you address these failures before this can be merged please?

ok will do.

on a positive note, this made the test suite 10 min faster.

that's maybe because those failed tests are failing earlier. :)

@clebertsuconic I've updated the branch and checked all fedoration tests passed. Also investigated other tests and seems the RedeployTest has some real failures but not related to this PR.

@gaohoward RedeployTest is now fixed on master.
Thank you
What was the issue?


Legacy staging integration test failures

Describe the bug
After merging BackendV2 PR the following tests are failing only on legacy staging with backend2 (mostly due to an invalid backend config)
======================================================================
ERROR: test_backend_invalid_attribute (test.integration.test_backend.TestIBMBackend) (backend='backend2')
Check if AttributeError is raised when an invalid backend attribute is accessed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/integration/test_backend.py", line 117, in test_backend_invalid_attribute
    backend.foobar  # pylint: disable=pointless-statement
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/ibm_backend.py", line 193, in __getattr__
    self._convert_to_target()
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/ibm_backend.py", line 230, in _convert_to_target
    self._target = convert_to_target(
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/utils/backend_converter.py", line 127, in convert_to_target
    target[inst][qarg].calibration = sched
KeyError: (1, 6)

======================================================================
ERROR: test_backend_simulator (test.integration.test_backend.TestIBMBackend) (backend='backend2')
Test if a configuration attribute (ex: simulator) is available as backend attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/integration/test_backend.py", line 79, in test_backend_simulator
    self.assertIsNotNone(backend.simulator)
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/ibm_backend.py", line 193, in __getattr__
    self._convert_to_target()
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/ibm_backend.py", line 230, in _convert_to_target
    self._target = convert_to_target(
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/utils/backend_converter.py", line 127, in convert_to_target
    target[inst][qarg].calibration = sched
KeyError: (1, 6)

======================================================================
ERROR: test_backend_target (test.integration.test_backend.TestIBMBackend) (backend='backend2')
Check if the target property is set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/integration/test_backend.py", line 66, in test_backend_target
    self.assertIsNotNone(backend.target)
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/ibm_backend.py", line 297, in target
    self._convert_to_target()
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/ibm_backend.py", line 230, in _convert_to_target
    self._target = convert_to_target(
  File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/utils/backend_converter.py", line 127, in convert_to_target
    target[inst][qarg].calibration = sched
KeyError: (1, 6)

Steps to reproduce
Expected behavior
Suggested solutions
Additional Information

Qiskit IBM Runtime version:
Python version:
Operating system:

These tests no longer fail https://github.com/Qiskit/qiskit-ibm-runtime/runs/5364187307?check_suite_focus=true


Fix '@noDerivative' warnings.

Actually, I think this might have to go the tensorflow-0.5 branch.  That's what we're testing from for the release

The master one is still on 0.4 and that doesn't have warnings as far as I know.

Actually, I think this might have to go the tensorflow-0.5 branch. That's what we're testing from for the release

How about merging into master and cherry-picking into 0.5?


Use neon-github-ci-tests S3 bucket for remote_storage tests

This bucket is already used by the pytests. The current bucket github-public-dev is more meant for longer living artifacts.
slack thread: https://neondb.slack.com/archives/C039YKBRZB4/p1703124944669009
Part of https://github.com/neondatabase/cloud/issues/8233 / #6155

CI is broken for an unrelated reason and will be fixed in https://github.com/neondatabase/neon/pull/6217


Install of Voyager returns errors

We've recently tried installing the latest Voyager commit following the instructions on the getting-started page and with the latest release, we've run into some problems:

After running the git clone command (git clone --recurse-submodules https://github.com/smithsonian/dpo-voyager .), the services directory does not contain a secrets.template.env file (I think the config.env file was also missing).
We tried copying/pasting those files from another instance of voyager on a different  computer but then ended up with these errors after npm run up:

><EMAIL_ADDRESS>up /Users/jbresner/Library/Mobile Documents/com~apple~CloudDocs/Projects/voyager2
> docker-compose up -d; docker-compose logs -f

WARNING: The VOYAGER_SERVER_PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.server.ports is invalid: Invalid port ":", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
WARNING: The VOYAGER_SERVER_PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.server.ports is invalid: Invalid port ":", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>up: `docker-compose up -d; docker-compose logs -f`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>up script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR!      /Users/jbresner/.npm/_logs/2019-11-07T14_22_25_989Z-debug.log

We've since got back and checked out commit ac70f89, which is what we last used successfully.

looking into this now and should have an answer soon

There is a discrepancy between documentation and a recent update. The config.env and secrets.env files in /services no longer exist. They have been replaced by a single .env file in the project root.
After cloning the repository, make a copy of the template configuration as follows:
cp .env.template .env

Then, edit the parameters in the .env file (most notably the VOYAGER_SERVER_PORT setting).
Apologies for the confusion. I will update the documentation shortly.


layer-shell-v1: introduce wlr_layer_surface_v1_state.committed

This allows compositors to figure out which state fields have changed
since the last commit, and avoid needlessly re-computing their
configuration on each commit.

Not usable as-is, because client_pending.committed is reset before commit, and current.committed is not well-defined. Ref https://github.com/swaywm/wlroots/issues/2098

It is currently possible to avoid this needless re-configuration on each surface commit fwiw. River simply makes and stores a copy of the layer surface's current state struct to compare with the new one on the next commit.
Having a committed bitfield would certainly be better though.

Superseded by https://github.com/swaywm/wlroots/pull/3214.


RELEASE OF PACKAGE VERSION 1.5.0 IS A DISASTROUS MALFUNCTION

The crate resolving system uses Semantic Versioning, which guarantees that a minor version must not introduce any breaking change once it reaches 1.0.0.
Thus, the version resolving behavior is that, as long as there is a newer minor version than the specified version, the newer one is automatically selected. Although a minor version could be enforced by Tilde or Equals requirement, it only works for direct dependencies.
Since ethers crate is an all-in-one entry of the detailed packages, these packages are all resolved as indirect dependencies that could not be enforced to an exact minor version, the release of 1.5.0 makes 1.0.2 no longer accessible through ethers. The dependents have to depend on ethers-* packages separately, which could be specified to an exact version but is obviously unexpected.
The release of 1.5.0 is disastrously breaking the existing code from compiling, which is a shocking fault to the dependents.

just chiming in with the same issue -- fully agree that breaking changes should not have been pushed under a minor version increment. This was breaking all of our builds containing third party dependencies which pulled in 1.5.0 under semver (we already pin to 1.0.2 for our internal crates), so we ended up having to write a [patch.crates-io] in our Cargo.toml to override dependencies to ethers = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }

@Kitryn  hey, ran into the same issue, were you able to find a temporary fix for this ? applying your above solution dent work for me, been getting abigen errors as it defaults to using 1.5.0 version of it.

@nabeel99 For our use-case we depend on the subpackages individually, so we ended up just pinning all of them to the git tag:
ethers-addressbook = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-contract = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-core = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-etherscan = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-middleware = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-providers = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2", features = ["rustls"] }
ethers-signers = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-contract-abigen = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-solc = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }

...
...

[patch.crates-io]
ethers = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }
ethers-contract-derive = { git = "https://github.com/gakonst/ethers-rs.git", tag = "1.0.2" }

the first section is what our internal code depends on, and the subsequent patch section was sufficient for us to patch whatever 3rd party dependencies we were using (i.e. ethers-flashbots - though I see that they've updated for 1.5.0 already)
Note that there's some chatter in the ethers-rs telegram group about yanking 1.5.0 and re-releasing it as 2.0, so the above might be moot in a few days

Yup reading the cargo book, the patch thing is the way to gi
An alternative is to force the exact version using crate = "= " syntax and running cargo update -p <package_name> to update the catgo lock.

yep, before this whole thing we specified our direct ethers dependencies using ~1.0.2 (which translates to >=1.0.2, <1.1) so were not directly affected, however our third party dependencies pulled in 1.5.0 which broke them; patching them required the [patch.crates.io] section, which then broke our internal packages because cargo started failing builds with note: perhaps two different versions of crate ethers_signers are being used?, thus we had to also redirect our direct dependency on ethers to the git repo as well
a whole mess, really

Apologies. This was my bad, I rushed the release. Plan is to yank and republish as 2.0 by end of weekend. Appreciate the patience.

This is fixed as 1.5 is yanked.


Clean up the encoder/decoder/loader stores before providers

We already had the evp method store being cleaned up before the provider
store was. This prevents issues where the method clean up functions cause
providers to clean up, which then needs access to the provider store. We
extend the same thinking to the encoder/decoder/loader stores.
Fixes #15727

Fixup pushed addressing the feedback. Also fixed some dodgy indentation.
@t8m please reconfirm

Windows CI failures do not seem relevant (network issues).

It works, but for a RAND provider I am getting a similar error. Should the same be applied to RAND too?

It works, but for a RAND provider I am getting a similar error. Should the same be applied to RAND too?

Hmmm. That might be a different problem. Could you raise a new issue with the error you see with RAND?

Windows CI build failures are not relevant.

Pushed. Thanks. I fixed the trivial conflict in build.info as part of the merge.


[rule-proposal] function-component-definition

When `react/arrow-function-component
optional config:

when: 'always'  | 'never'default is always

if when is set to always it will show a warning if a function component is not an arrow function.
If when is set to never it will show a warning if a function component is not a regular function.

Duplicate of #412 and #690.


feat(NumberInputE): Add float step support

Related issue
Closes #1128
Overview
Add support for stepped floats to NumberInputE.
Link to preview
https://61c1ab613913be2c341df66a--numberinputefloats.netlify.app
Reason
Component would not work correctly with float steps.
Work carried out

[x] Fix issue where validation was not invoked on step
[x] Handle floating point steps
[x] Add ability to type in a floating point number

Developer notes
If we let users enter typed input and there is a step, should we be validating their typed input?
Not doing so allows them to circumvent the step.

If component is stepped:

Valid typed user input is:

Numbers that are a result of X increments/decrements of step (from initial value) / modulus 0
e.g. Typed Input: 2.25, Initial Value: 1, Step: 0.25, Increments: 5 / (2.25 % 0.25 === 0)

Hmm I'm still unable to type a number with a decimal point though (or do we have a separate issue for that?)

Hmm I'm still unable to type a number with a decimal point though (or do we have a separate issue for that?)

Ah ok interesting it lets you add the decimal point in to an existing number but won't accept that character without a proceeding digit. Investigating now.

If there's already a decimal point, can we stop the user from typing a second one? (as we're already restricting them from typing any 'invalid' characters)

There seems to be some unexpected rounding going on:

Example:
Expected behaviour (with a step of 0.25):

Type 0.9
Step up; it's now 1.15 - it added 0.25 and the result is 1.15 - great!

Unexpected behaviour:

Type 0.009
Step up; it's now 0.26 - it added 0.25 and rounded up to 0.26
I expected the result to be 0.0259

If we let users enter typed input and there is a step, should we be validating their typed input?
Not doing so allows them to circumvent the step.

Good question. I think this should be an option.
Looking at this : "the value must be a positive number - integer or float -- or the special value any, which means no stepping is implied, and any value is allowed".
I tried 'any' and it defaulted the step to 1 while accepting floating values.
However, I don't see why someone shouldn't be able to define a step of (say) 100, but accept typed integers which are not multiples of 100. This feels like bad UX (eg. if valid inputs range from 10,000 to 50,000 we don't want a step of 1, but may want to accept all integers between 10,000 and 50,000 as valid inputs).

The following tickets have been created off the back of @k9dh3zij feedback:
https://github.com/defencedigital/mod-uk-design-system/issues/2948
https://github.com/defencedigital/mod-uk-design-system/issues/2949
https://github.com/defencedigital/mod-uk-design-system/issues/2950


Initial dump, refactor, theme

Removes package.json, don't need node
Removes erroneous files from a clone (?)
Pulls in missing / updated content from the wiki
Refactors the nav some, adds missing stuff
Changes theme to https://squidfunk.github.io/mkdocs-material/
Uses custom build of material w/ textile colors
Adds social links to footer
Bunch of TODOs scattered around but good starting place

do it...


Syncing Published with Master

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 27924717daf5c87ea7f54e5c59ea7166ba516774
https://deploy-preview-9648--docsdocker.netlify.com


feat: improve EarnOpportunityType

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3996   👈

This comment was auto-generated by Graphite.


Default (?) Prefixes

Hello :)
Please excuse this rather basic issue that I have, but.. how do I remove the light grey [default] prefix from users of the default group?
Same goes for other groups I create...
Again, sorry, this is probably a very simple fix, but I just can't seem to find it.

add a prefix to the default group?
Or there is group-name-rewrite option in the config.

Doesn't help... I don't want default members to have any prefix at all

Which chat formatting plugin are you using?

EssentialsXChat

I kind of solved it now by setting "§7" as group-name-rewrite.. it will still show two brackets, but that's better than the default tag.

Pastebin your Essentials config. Sounds like a configuration issue to me. :P

You are correct. :D


fix the behavior of ShowTopicChange and SyncTopic

Currently, the "topic_change" events are ignored if both, ShowTopicChange and SyncTopic are set, and forwarded otherwise. This pull requests changes the behavior such that the events are only forwarded if one of those two config options is set to true and ignored otherwise.

Thanks!


WRITE_EXTERNAL_STORAGE not working on Oreo

WRITE_EXTERNAL_STORAGE, this permission is not working on Oreo. I am creating images in a folder but for oreo it is not working when it is working for lower versions. How can I solve?
Version of the library
5.0.0
It gives this error:

W/System.err: java.io.FileNotFoundException: /storage/emulated/0/Pictures/xx/yy.jpg (No such file or directory)

Could you look this SO question, please?
https://stackoverflow.com/questions/52383849/java-io-filenotfoundexception-no-such-file-or-directory-error/52384223?noredirect=1#comment91713796_52384223

Hi @gcatak,
This is an open source project so feel free to send us a PR fixing the issue and we will gladly merge it and release a new version.
But first, I recommend you to look to:

https://stackoverflow.com/questions/48172519/oreo-write-external-storage-permission
https://stackoverflow.com/questions/49775322/how-to-have-read-write-external-storage-after-targeting-android-o-26-8-0

To see if the problem is in other libraries and not Dexter. I'm closing the issue until the bug is not proven to be in Dexter but feel free to reopen it if you find otherwise.
Thanks for reporting.


HTTPretty Py3 Support

The current unit tests support HTTPretty 0.8.6 without any issue; however, 0.8.6 only supports Python2. For Python3 support HTTPretty 0.9.7 is required, but this breaks the unit tests.
For now, HTTPretty on Py3 is officially unsupported here. That's not to say it won't work just that it has been too big an issue to get working with the time available to do so as there seems to be some kind of regex related error internal to HTTPretty 0.9.7 related to StackInABox's callback usage.
Help to fix this is of course welcome and appreciated.

This seems to be fixed in httpretty now, so once the dependencies can get fully updated per #87 then this can be closed.

Latest httpretty is now used by the tests per #89


Auto Score End Session Action

This is a test case to demonstrate bug 2927 and then later verify that the bug is fixed.

:tada: This PR is included in version 0.375.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[WIP]spec/ClusterStatus: track healthy pods

Outline for keeping track of number of healthy pods etcd cluster.
My first thought are just to send HTTP GET requests to each running pod after the cluster is reconciled.

In pollPods(), you can use something that I reverted in
https://github.com/coreos/etcd-operator/pull/807/files
Then update the status and eventually it will be updated.

@hongchaodeng PTAL. I'll push the actual implementation of the health check in pollPods() in a separate PR.

lgtm


Setting base_url in Laravel implementation

I need to use s3 adapter with service that are not Amazon, so i need to change base_url property during initialization.
Where i can accomplish that in a very basic Laravel installation?
Setting base_url in config/filesystem don't make any effect (it is ignored).
Should i override s3 factory method? But where in Laravel? I need to implement my own service provider to initialize s3 adapter?
Thx a lot for any clues.

This issue should be posted on the laravel repository. More info on this subject can be found here: https://www.jernejsila.com/2014/09/10/add-dropbox-filesystem-driver-laravel-5-project/


Caching Improvements (WIP)

The theory behind caching aborted Operations was that they would fail
again anyway. However, under memory pressure Operations may fail due to
failing allocations and will succeed in the future once memory pressure
drops, if we kept them in the cache we wouldn't try again.
While we are at it, improve wording and use an extra abort() method on
Operation.
As a next step we should make the cache limited by the amount of memory not the number of cached results.

Note: The second commit doesn't really work yet, the cache sizing by memory currently only uses the size of the object when it was added to the cache. In QLever we add empty result tables and then fill them with the computed result thus we significantly underestimate the size of the cached objects.

I'm really not happy with the second commit. I think limiting the memory size makes most cache operations fundamentally O(n) where n is the number of elements in the cache, which can be quite large if we have a lot of small elements. As a new value with size approaching or exceeding the capacity is added we are forced to delete everything else. In a first test on Wikidata Full even with a cache size of 20 GB completion times rise from 70 ms on average to over 128 ms. Even more problematic when we have several large tables that are often accessed but don't all fit in the cache we will constantly be recomputing those that didn't fit before.
With an element based capacity on the other hand we can simply remove the longest untouched value in O(1) for any new value once we reach capacity.
What do you think @hannahbast @floriankramer?


LinePacker doesn't handle origin-spanning features

The LinePacker doesn't appear to handle origin-spanning features correctly.

Correction: it looks like LinePacker is getting bad inputs, because the code looks like it should handle circular coordinate systems correctly.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_6cef9431-9712-4917-87c1-a1da7e9f81da/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_6cef9431-9712-4917-87c1-a1da7e9f81da.git

Docs Build status updates of commit d7e7517:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-02-16-05-27-04) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Library Partial Import Error

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior.  For instance:

conda activate venv
pip install newsapi_python

from newsapi import NewsApiClient
# Init
api = NewsApiClient(api_key='xxxxxxxxxxxx')
# /v2/everything
all_articles = api.get_everything(q='mars')
print(all_articles)

(venv) C:\Users\abc\anaconda3\envs\venv\bin>C:/Users/abc/anaconda3/envs/venv/python.exe

Expected behavior
News Data
Screenshots
d:/Projects/advisely/advisely/API/newsapi.py
Traceback (most recent call last):
  File "d:/Projects/newsoftoday/API/newsapi.py", line 3, in <module>
    from newsapi import NewsApiClient
  File "d:\Projects\newsoftoday\API\newsapi.py", line 3, in <module>
    from newsapi import NewsApiClient
ImportError: cannot import name 'NewsApiClient' from partially initialized module 'newsapi' (most likely due to a circular import) (d:\Projects\newsoftoday\API\newsapi.py)

Desktop (please complete the following information):

OS: Windows 10
Visual Studio Code
Version [1.57.1]

Additional context
(venv) C:\Users\abc\anaconda3\envs\venv\bin>pip install newsapi_python
Collecting newsapi_python
  Using cached newsapi_python-0.2.6-py2.py3-none-any.whl (7.9 kB)
Requirement already satisfied: requests<3.0.0 in c:\users\abc\anaconda3\envs\venv\lib\site-packages (from newsapi_python) (2.25.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\abc\anaconda3\envs\venv\lib\site-packages (from requests<3.0.0->newsapi_python) (1.26.5)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\abc\anaconda3\envs\venv\lib\site-packages (from requests<3.0.0->newsapi_python) (2021.5.30)
Requirement already satisfied: idna<3,>=2.5 in c:\users\abc\anaconda3\envs\venv\lib\site-packages (from requests<3.0.0->newsapi_python) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\abc\anaconda3\envs\venv\lib\site-packages (from requests<3.0.0->newsapi_python) (4.0.0)
Installing collected packages: newsapi-python
Successfully installed newsapi-python-0.2.6

@BlueSkyTrading Quite possible that you have already figured it out on your own but I'll give it a try anyway - you should change name of your file newsapi.py to something else to avoid modules names conflict.


Keyboard Manager regards the right Alt key as left Ctrl key

Microsoft PowerToys version
0.74.1
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I checked the following two cases.
Key Remap: left Ctrl to A
Key Remap: right Alt to A
✔ Expected Behavior
Key Remap: left Ctrl to A ⇒ left Ctrl key works as A key, and other keys shouldn't affect this remap.
Key Remap: right Alt to A ⇒ right Alt key works as A key, and other keys shouldn't affect this remap.
❌ Actual Behavior
Key Remap: left Ctrl to A ⇒ right Alt key also works as A key.
Key Remap: right Alt to A ⇒ right Alt key doesn't work.
From the results, I guess Keyboard Manager regards the right Alt key as left Ctrl key.
Other Software
No response

I noticed this problem already reported as #26731.

/dup #26731


Issue #92 solution don't work - Regression

Adding ${project.basedir}to solve the #92 broke the asciidoc folder generation.
We need to retrograde and find an other solution.

Code was rolled back to ensure generation of site works correctly. This works, but the bug mentionned earlier by @Bullfrog666 has been reintroduced.


<IP_ADDRESS> No Multiplayer Button In Game 1.8.0

Has anyone got some insight as why the new mod isn't showing up in game? I thought an update would be out to fix since it hasn't worked on 1.8.0 yet for myself or any of my friends.
I found on the discord several other people all seeing the same thing, it's just not an option when they start the game up on the latest client.
The latest makes no mention as to why. Re-downloaded the latest one from Appveyor and same problem.

I managed to make it work. Links on discord don't work, links here don't work, links on appveyor don't work.
However downloading and running this installer tool worked: https://github.com/200Tigersbloxed/BSMulti-Installer/releases
Good to go, not a clue why I needed that installer tool but it fixed it.


Run CI and deploy docs on tags

Fixes #35

@chriselrod After you merge this PR, you'll need to:

Bump the version number in Project.toml
Register a new release using Registrator
Wait for the General PR to be auto-merged
Wait for TagBot to create the new tag

Once TagBot creates the new tag, this should cause CI to run on the new tag, which will build and deploy the docs for the new tag and set up the "stable" docs alias.

Great, docs are now working: https://juliasimd.github.io/ThreadingUtilities.jl/stable


Install failure in armv71 architecture

Hi, I was following the installation guide and I encountered with this error message:

google_assistant_library-0.0.2-py2.py3-none-linux_armv71.whl is not a supported wheel on this platform.

Prior this error, none showed up while I was following the guide. I'm using a Raspberry Pi 3 model B (armv71) and I already updated pip as said in #37 , which seems to be a similar problem but in different architecture.
Any idea what's wrong?

@Kiszaner can you conirm you're running pip install from a virtualenv, and can you confirm the version of python and pip you're using?
Thanks in advance.

@proppy yes sure, I did the pip install from the virtualenv and I run the commands both with python and python3 variants (just in case, my rasp have python 2.7 also), but none worked. Here are the versions

pi@rpi:~ $ source env/bin/activate
(env) pi@rpi:~ $ pip -V
pip 9.0.1 from /home/pi/env/lib/python3.4/site-packages (python 3.4)
(env) pi@rpi:~ $ python -V
Python 3.4.2
(env) pi@rpi:~ $ uname -a
Linux rpi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

These were the versions I used yesterday and it didn't work, but today I did again the .whl step and it worked without doing any update/upgrade, so not sure what happened.

Filed #49, hope this will help to streamline the installation process.


Bad filepath error (No such file or directory)

I created the sessions/ directory and used the default binding <leader>sn to create a new session. However, when I go to load that same session file from the session list (<leader>sl) then I get this error:

It looks like to me that there is some junk characters at the beginning of entry_str messing up the file path.
They are not regular whitespace it seems as a vim.trim(entry_str) did not work.
If I strip the beginning characters via a substring, it works fine with no errors:

Why is there whitespace at the start of entry_str?
EDIT:
I just noticed that my possession.list() window looks very different from the list menu in the README gif. Maybe a change with fzf?
Versions
fzf-lua: Main branch, commit 2670983 (most recent version as of posting)
nvim-possession: Main branch, commit 27f7535 (most recent version as of posting)
NVIM v0.9.2-dev-25+g470017c9a
Build type: Release (Built from source)
Using lazy.nvim

Let us try and understand under what circumstances the error can be reproduced:

I created the sessions/ directory

does this mean the error occurs when setting a custom
sessions = {
  sessions_path =

rather than vim.fn.stdpath("data") .. "/sessions/"  or do you still see the error with default configuration? Moreover I see that in your example you are explicitly setting a fzf-lua previewer: would it still occur if using the default configuration for both nvim-possession and fzf-lua, namely just using
{
  "gennaro-tedesco/nvim-possession",
  dependencies = {
     "ibhagwan/fzf-lua",
  },
  config = true,

? I am running the default configuration with latest commits as of now and cannot reproduce it.

So I've stripped everything down to the code snippet you provided and unfortunately, it's the same error.
I also uninstalled all my other plugins in case of conflicts but that didn't help.

So if I understand correctly:

you created the session folder manually on your computer
you indicated the path to said session folder in lua sessions = { sessions_path = ... ... }
though the path is correct, you see an exception "No such file or directory"
such exception in 3. occurs because of extra white spaces that aren't stripped correctly
if you use the fzf-lua setup "Telescope" the error disappears

is the summary correct (just for me to understand)?
What is your fzf-lua setup? I cannot reproduce the error by using a default fzf-lua configuration, so I suspect there may be some previewers options that you may be setting that for some reasons artificially add the extra spaces (and they happen to disappear when using the "Telescope" setup). In particular the plugin uses the in-built previewer, so do not manually set bat as one.
P. S. Do you maybe have some particular fzf options, for separators, inline arguments or such? fzf-lua inherits the general fzf shell options and parses them into the preview, so that may cause some additional characters to appear.

you created the session folder manually on your computer
you indicated the path to said session folder in

I created the folder manually in the default location (i.e. vim.fn.stdpath("data") .. "/sessions/"). I did not change the sessions_path field.

What is your fzf-lua setup?

My setup is the default, in this case it is loading fzf-lua as a dependency through nvim-possession.

P. S. Do you maybe have some particular fzf options, for separators, inline arguments or such? fzf-lua inherits the general fzf shell options and parses them into the preview, so that may cause some additional characters to appear.

I do have a .zshrc where I set some fzf arguments like separators and such, but I've commented those out and reloaded to make sure they weren't conflicting. Maybe there is some cache somewhere that fzf might be using?

Could you show me (perhaps with a small recording) the following steps:

create a new session with nvim-possession
go to the location of said session on your computer, check if the name/path is correct
load the session (which should allegedly result in an error)

What are the characters ~/.d/l/s/n/s/ that are displayed in your screenshot, at the fzf-lua prompt? Might it be they are references to other directories and perhaps something on your computer isn't resolving the ~/ correctly?

What are the characters ~/.d/l/s/n/s/

This is the short path to my vim.fn.stdpath("data") folder which in my case is ~/.dotfiles/local/share/nvim/. To be honest I don't know why fzf is showing it as this short path I don't recall settings anything like that.
It follows what I set for my XDG paths:
# Inside .zshenv
export XDG_CONFIG_HOME = $HOME/.dotfiles
export XDG_DATA_HOME = $XDG_CONFIG_HOME/local/share
export XDG_CACHE_HOME = $XDG_CONFIG_HOME/cache

What I did was clear my vim.fn.stdpath("data") folder and tried it again. But when I now go to call require('nvim-possession').new() I get a different error:
https://github.com/gennaro-tedesco/nvim-possession/assets/48212096/46e906eb-b118-4e85-b443-9398b60cc5a8

Hmm, may I ask what operating system you are on? I have repeated all your steps above and I could not reproduce the exception, so I am led to believe that the extra spaces you see may be a representation of the fzf prompt that is specific to your machine. In particular you can see from your recording above that, when nvim-possession saves the session, the path is correctly indicated to be exactly the location where the session exists (with no extra spaces). The exception occurs when the entry string is fed via the fzf-prompt.
What happens when you just invoke fzf (either fzf-lua per sé in neovim or fzf in the terminal)? My guess is that you would see the additional extra spaces there as well.

Hmm, may I ask what operating system you are on?

I'm on Windows 11 using WSL 2 Ubuntu via Windows Terminal.
Invoking fzf in the terminal seems to be working fine:

Invoking it in nvim using :lua require('fzf-lua').files({cwd = '~/.dotfiles', cmd = "fd --no-ignore --hidden"}) seems to be fine as well:

Invoking it in nvim using

isn't there an additional white space between the icon and the first character of your first entry ( local)? Anyway: I didn't try on Windows (as I don't have a Windows computer at hand), only on MacOs and Linux.
I will continue investigating, but unless I come across a Windows computer I cannot guarantee to resolve this quickly, unfortunately; apologies for that, I am trying to reproduce it but it just doesn't manifest on my machines. As a workaround you could use the "Telescope" setup (what of it didn't convince you?), in the meantime I will try to ask the maintainer of fzf-lua to see if he is aware of a specific Windows behaviour that prompts extra white spaces.

Sorry that we couldn't resolve this yet - I will keep the issue open and keep you updated as well!

Update:
I think your hunch about the white and icons might be correct. I just tested it out with some of the other presets:
https://github.com/gennaro-tedesco/nvim-possession/assets/48212096/29f0e054-c062-45e6-9143-cbb0d198a09c
It seems that "telescope" and "max-perf" presets work fine.
Looking at the fzf-lua README it seems that the icons might be the issue here:

Ah, so probably both max-perf and telescope silently remove the space allocated to devicons, whereas the other defaults force a white space when icons are explicitly removed!
I would still expect it to work if you choose any other preset but manually set icons to false in your fzf-lua setup configuration. This said, great that we could make it work at the end!

So it's not only file_icons in fzf-lua but also git_icons. Once i set those both to false in the fzf-lua config, it seems to work.
With that being said, is there no way to set file and git icons to false only in nvim-possesion windows? It would be nice to have to option to display these icons in other windows.

With that being said, is there no way to set file and git icons to false only in nvim-possesion windows?

I do have such setup, have a look here: essentially you have to explicitly enable the git/file icons for the pickers you want instead of using presets; nvim-possession sets icons to false automatically, so you wouldn't have problems there. I presume that by using presets they somehow take over whatever other fzf-lua prompt there is, which is the reason why we saw those extra spaces in your example, and this shouldn't happen if you just configure the single pickers by themselves.
If you use (modifying at your will) my dotfiles that I link above you will exactly reproduce the setup as in the README :)

Ok so modifying M.list() inside nvim-possession/init.lua' to also disable git_icons` like so:
---list all existing sessions and their files
	---return fzf picker
	M.list = function()
		local iter = vim.loop.fs_scandir(user_config.sessions.sessions_path)
		if iter == nil then
			print("session folder " .. user_config.sessions.sessions_path .. " does not exist")
			return
		end
		local next = vim.loop.fs_scandir_next(iter)
		if next == nil then
			print("no saved sessions")
			return
		end

		return fzf.files({
			user_config = user_config,
			prompt = user_config.sessions.sessions_icon .. "sessions:",
			file_icons = false,
			git_icons = false,		<-------- Adding this fixed the issue
			show_cwd_header = false,
			preview_opts = "nohidden",

			previewer = ui.session_previewer,
			winopts = user_config.fzf_winopts,
			cwd = user_config.sessions.sessions_path,
			actions = {
				["default"] = M.load,
				["ctrl-x"] = { M.delete_selected, fzf.actions.resume },
			},
		})
	end

Fixes the issue for me, wihtout having to disable any icons in my fzf-lua config.

...what if you open a PR with that fix, so that I can include it and we fix this once and for all? :)

Sure thing!

By the way, it would be nice if you linked the config to get nvim-possession looking like the gif in the README. I was a bit confused at first because my one looked vastly different.

Do you mean the configuration to be found in my dotfiles?

Yeah that could work

That is a good idea: I will try to clean it up a little and link the relevant bits! :)


Using YAML build definition, have the ability to set build number format

Agent Version and Platform
Hosted VS2017 Windows. But I suspect that this request is for every agent type.
VSTS Type and Version
VisualStudio.com
##Issue
While creating the build definition manually, I have an option to set build number format using Option tab:

Currently, in YAML build definition, I'm not able to set that. Also after the build definition is created, I'm unable to manually set that option (Options tab is gone if I'm using YAML ).
My question is: is it possible to achieve this right now?

@simonvane yes that did the trick. thank you for your quick response!

@simonvane the link no longer works:(

the docs moved. This doc contains links to the new and old docs: https://github.com/Microsoft/azure-pipelines-agent/blob/master/docs/preview/yamlgettingstarted.md
Here was the old doc: https://github.com/Microsoft/azure-pipelines-agent/blob/3d39fca3cac2bf54c16600e0a3b9e7972d4c5ef3/docs/preview/yamlgettingstarted-name.md

https://github.com/Microsoft/azure-pipelines-agent/blob/3d39fca3cac2bf54c16600e0a3b9e7972d4c5ef3/docs/preview/yamlgettingstarted-name.md

@simonvane Thanks man! It really helped me!

This no longer seems to work:
name: $(Build.DefinitionName)-$(date:yyyyMMdd)$(rev:.r)


Missing favicon

Now it looks for a favicon that doesn't exist (404 on the site).

Wrong repo :( I'll move to the right one (https://github.com/ReasonVienna/reason-conf/issues)


Can't set USEast1RegionalEndpointValue property of AmazonS3Config due to an exception in the constructor.

AmazonS3Config inherits ClientConfig which calls the virtual Initialize method. AmazonS3Config overrides Initialize and calls UpdateEndpointForUsEast1Regional. So users of the AmazonS3Config class don't have a chance to set the USEast1RegionalEndpointValue property before UpdateEndpointForUsEast1Regional is called.
Expected Behavior

This is what I want to do, but currently new AmazonS3Config() throws an exception.
var awsCredentials = new BasicAWSCredentials("MyAccessKey", "MySecretKey");

var amazonS3Config = new AmazonS3Config();
amazonS3Config.RegionEndpoint = RegionEndpoint.USEast1;
amazonS3Config.USEast1RegionalEndpointValue = S3UsEast1RegionalEndpointValue.Regional;

var amazonS3Client = new AmazonS3Client(awsCredentials, amazonS3Config);

Current Behavior

My company has our own secret management system so we don't use the AWS SDK credential manager. We also run our websites as a network service if that makes a difference. When creating an instance of AmazonS3Config we get the following error.
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.Settings.PersistenceManager' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\config\systemprofile' is denied.
   at System.IO.FileSystem.CreateDirectory(String fullPath)
   at System.IO.Directory.CreateDirectory(String path)
   at Amazon.Runtime.Internal.Settings.PersistenceManager..cctor()
   --- End of inner exception stack trace ---
   at Amazon.Util.Internal.SettingsManager.GetSettings()
   at Amazon.Util.Internal.SettingsManager.TryGetObjectByProperty(String propertyName, String value, String& uniqueKey, Dictionary`2& properties)
   at Amazon.Runtime.CredentialManagement.NetSDKCredentialsFile.TryGetProfile(String profileName, CredentialProfile& profile)
   at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile)
   at Amazon.S3.AmazonS3Config.CheckCredentialsFile()
   at Amazon.S3.AmazonS3Config.GetEndpointFlagValueForUsEast1Regional()
   at Amazon.S3.AmazonS3Config.UpdateEndpointForUsEast1Regional()
   at Amazon.S3.AmazonS3Config.Initialize()
   at Amazon.Runtime.ClientConfig..ctor()
   at Amazon.S3.AmazonS3Config..ctor()

Possible Solution

Remove the call to UpdateEndpointForUsEast1Regional from Initialize. Maybe call it from the constructor of AmazonS3Client instead. Adding a try/catch block could also solve the issue.
Steps to Reproduce (for bugs)

Restrict access to the path that credential files are stored in. Then run the code snippet from the Expected Behavior section. When run on our Windows servers under the Network Service user the sdk tries to go to this path: "C:\Windows\system32\config\systemprofile".
Context

I want to set the USEast1RegionalEndpointValue property in code so the sdk doesn't try to fetch it from a file or environment variable, because we don't have that set up.
Your Environment

AWSSDK.Core version used: <IP_ADDRESS>
AWSSDK.S3 version used: <IP_ADDRESS>
.NET Core version used: 2.2

Thanks for the feedback.  We're looking into it.

I am working on this issue and I think I have identified the root cause. However, I am still having trouble reproducing it. Will update this ticket with my progress.

What release version will this fix be included in ? We are also having this issue after updating to
AWSSDK.Core <IP_ADDRESS>
AWSSDK.S3 <IP_ADDRESS>
, and looks like this issue is a duplicate
#1519
https://github.com/aws/aws-sdk-net/issues/1519

@jjrutter Sorry for the delayed response. This issue should have been addressed in AWSSDK.S3 <IP_ADDRESS>. Could you provide some more details? Are you setting USEast1RegionalEndpointValue explicitly in the code? Are you also getting a System.UnauthorizedAccessException?

I still have the exact same issue with version <IP_ADDRESS>. I'm using .NET Core 3.1.
The error message that I receive:
Error message:
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception.
---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.Settings.PersistenceManager' threw an exception.
---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\config\systemprofile' is denied.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at Amazon.Runtime.Internal.Settings.PersistenceManager..cctor()
--- End of inner exception stack trace ---
at Amazon.Runtime.Internal.Settings.PersistenceManager.get_Instance()
at Amazon.Util.Internal.SettingsManager.GetSettings()
at Amazon.Util.Internal.SettingsManager.TryGetObjectByProperty(String propertyName, String value, String& uniqueKey, Dictionary2& properties) at Amazon.Util.Internal.NamedSettingsManager.TryGetObject(String displayName, String& uniqueKey, Dictionary2& properties)
at Amazon.Runtime.CredentialManagement.NetSDKCredentialsFile.TryGetProfile(String profileName, CredentialProfile& profile)
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile)
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName)
at Amazon.Runtime.Internal.ProfileInternalConfiguration..ctor(ICredentialProfileSource source)
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset()
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor()
--- End of inner exception stack trace ---
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.get_RetryMode()
at Amazon.Runtime.ClientConfig.get_RetryMode()
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline()
at Amazon.Runtime.AmazonServiceClient..ctor(AWSCredentials credentials, ClientConfig config)
at Amazon.Runtime.AmazonServiceClient..ctor(String awsAccessKeyId, String awsSecretAccessKey, ClientConfig config)
at Amazon.S3.AmazonS3Client..ctor(String awsAccessKeyId, String awsSecretAccessKey, AmazonS3Config clientConfig)
at AmazonStorage.AmazonStorageService.GetAmazonS3Client()
Are there any workarounds for this issue?
Thank you!

Just for reference, this is the code that I'm using:
var amazonS3Config = new AmazonS3Config
                                 {
                                    RegionEndpoint = RegionEndpoint.USEast1
                                 };
var amazonClient = new AmazonS3Client(_options.AwsAccessKeyId, _options.AwsSecretAccess, amazonS3Config)

@SrutiG could you take a look please?
Thank you

@iongritco-sv you need to also set the USEast1RegionalEndpointValue property of AmazonS3Config.
var amazonS3Config = new AmazonS3Config
{
    RegionEndpoint = RegionEndpoint.USEast1,
    USEast1RegionalEndpointValue = S3UsEast1RegionalEndpointValue.Regional
};
// or use the legacy value: S3UsEast1RegionalEndpointValue.Legacy

Thanks for the reply @mhdejonge
In my case this workaround doesn't work, I get the same error.
The only solution that worked is to downgrade the package to version <IP_ADDRESS>

I have same issue and it is still there even after
Downgrade AWSSDK to <IP_ADDRESS>

@SrutiG this is still broken. For that matter, you don't even have to upgrade AWSSDK.S3 past 3.3.31.*, is enough to upgrade AWSSDK.Core to latest version. It seems that <IP_ADDRESS> is the latest version that actually works.

I was using multiple AWSSDK references and only Downgraded s3 reference which leads to error but If you downgrade all references with AWSSDK  to <IP_ADDRESS> works fine for me

@iongritco-sv @JankiSayta13 @btecu Sorry to hear that the previous patch did not fix the issues. Try using the latest version of Core, <IP_ADDRESS>. This version specifically addresses the Persistence Manager issues and blocks it from accessing a credential file when running under a service role. Hope this solves it for everyone, and please let us know if you continue to experience problems. The best way to do this is to open a new issue so it can be quickly brought to our attention. Thanks!

For me on IIS, I had to turn on Load User Profile under the pool. It solved the issue.


Add simple "yo" bot command

Am I doing this right? :smile:

As implemented, I think it'll allow for @moxie: yo to respond back with Yo @tianon, but I'm thinking it might be even more interesting if we did something with arg and so you could say yo for a Yo to yourself but yo @paultag to share the love (like botbot's !m).

(or the deploy stuff you were talking about, but I figured we could start here and at least have a stub :innocent:)


fix: menu SubContent with min width

This should fix #700. When I was looking at shadcn-ui I noticed that they are wrapping the subcontent with 2 divs instead of one as we do here. But I do not see why it's necessary.
This pr fixes the issue without making any bigger adjustments. Let me know if you disagree @huntabyte

But if a list is smaller than 9/8rem, it will end up being smaller than that, right? Shouldn't we use calc here?


[SPARK-16875][SQL] Add args checking for DataSet randomSplit and sample

What changes were proposed in this pull request?
Add the missing args-checking for randomSplit and sample
How was this patch tested?
unit tests

LGTM. I wonder if we should even disallow a 0% sample, but, OK as-is.

Test build #63168 has started for PR 14478 at commit 3ea8518.

Test build #63168 has finished for PR 14478 at commit 3ea8518.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63168/
Test PASSed.

Ah, let's do this for the RDD API too eh?

Test build #63210 has started for PR 14478 at commit 4b0efea.

@srowen Right. I just add those checking for RDD.

Test build #63210 has finished for PR 14478 at commit 4b0efea.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63210/
Test PASSed.

Merged to master / 2.0


Update the API description of the project update events. Call out APIs that are packages.config specific

Fixes https://github.com/nuget/home/issues/6872

Docs Build status updates of commit 56ddb83:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/visual-studio-extensibility/nuget-api-in-visual-studio.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Releasing v0.2

Followed this checklist:

[x] working PyPi test site account?
[x] is CHANGELOG.md up to date?
[x] set __version__ and update setup.py
[x] PyPi test site release (mostly follows https://packaging.python.org/distributing/#packaging-your-project)

python setup.py sdist
python setup.py bdist_wheel --universal (as long as we are pure python we can provide universal wheels)
check that dist/ doesn't contain any rubbish/old releases
twine register -r pypitest dist/scikit_optimize-0.2-py2.py3-none-any.whl
twine upload -r pypitest dist/*

[x] release on github (@mechcoder had already done this)
[x] PyPi (mostly follows https://packaging.python.org/distributing/#packaging-your-project)

python setup.py sdist
python setup.py bdist_wheel --universal (as long as we are pure python we can provide universal wheels)
twine register doesn't seem to be required for the real pypi so this command doesn't complete but doesn't seem to cause a problem
check that dist/ doesn't contain any rubbish/old releases
twine upload dist/*

scikit-optimize v0.2 has been released 🎉🙌
Thank you everyone who contributed!

Please do report all and any bug or hickups.


Support new vesion of the GLK spec

implement new features as described in:
http://www.eblong.com/zarf/glk/

@ptomato commented 2011-02-20:

Version 0.7.2, with date-time functions, was released the other day.

@ptomato commented 2011-04-20:

Stubs for all the new functions are added, so strictly speaking we support the spec version 0.7.2. Now to actually write the implementations - I won't close this until that is done.

@ptomato closed 2011-05-01


Dolphin crashes when object table is full

In a workspace evaluate:
foo := OrderedCollection new.
1 to: 20000000 do: [:each | foo add: Array new]

Dolphin crashes without giving any chance to recover from the excessive memory consumption.
Expected: An OutOfMemory exception is signaled and the process interrupted before the crash

Here you are not exhausting memory as such, but rather exceeding the maximum number of objects (which is configurable within finite bounds). Overflowing the maximum object table size is not in general a recoverable situation in Dolphin. If you exceed the object table limit like this, then no further objects can be allocated. The VM detects this and deliberately exits in a controlled way for diagnosis (i.e. fail fast, rather than an uncontrolled crash later). The Smalltalk system needs to allocate objects to do almost anything, including handling a hypothetical "out of memory" signal. One could reserve (i.e. hold back) a block of object table space, but then how much to reserve? No amount of reserve would necessarily be enough to diagnose every situation, and then you just postpone the failure to later and potentially further away from the real problem. This is perhaps one of the unusual cases where debugging the program from within itself is less useful than attaching an external debugger.
In practice I have never found this to be a significant problem myself - on occasion I write some pathological loop and do this sort of thing by accident, but then the crashdump written to the error log is sufficient for diagnosis as it contains a complete stack dump. You also get a specific error code defined in the VMExcept.h file in the VM code:
#define SE_VMOTFULL			MAKE_CUST_SCODE(SEVERITY_ERROR, FACILITY_NULL, IDP_OTFULL)
IDP_OTFULL (i.e. object table full) is 514, which encodes as the Win32 exception code A0000202 you'll see in the crash dump.
In summary, I don't think providing a worthwhile fix for this would be easy, and I'm not at all convinced that the value justifies the effort.

Blair, sorry, the case is OT full.
We have a problem here in one of our apps when the user executes large queries over the database and in some cases the query could end in an OT full crash. The problem here is that the calculation needed in order to know beforehand the number of Smalltalk objects the query will generate is not easy.
It would be great to have at least a notification about that. We've developed a poors man solution for this in MemoryManager this way
checkOTSize
	^self checkOTSize: self objectCount ! !

checkOTSize: anInteger
	| count |
	count := self objectCount.
	((anInteger > self otFullSafeLevel and: [count > self otFullSafeLevel])
		or: [anInteger > self otFullCriticalLevel])
			ifTrue: [OTFullNotification signalWith: (Array with: anInteger with: count)] ! !

otFullSafeLevel
	"Set this to a number below your actual OT size."

And when you are in loops you can send #checkOTSize between loops.
I think that implementing this type of notification is not so hard and gives the oportunity to run some code protected in some way.

Certainly firing an event when a high water mark in the OT is hit would be feasible.

Blair, yes that was my first attempt but didn't work very well. I don't remember now what was the problem.  If you want I can check again because maybe is something that can be enhanced in the new VM and finally serves as solution for the problem. We are doing some efforts in order to update our dev branch to D7 and help testing, reporting and probably contributing.
Related to this is the possibility to have a bigger OT, there is no issue for this and I don't want to add one because I don't know if it is feasible.

Clair, we still has the method you pointed modified this way:
!ProcessorScheduler methodsFor!

otOverflow: anInteger
	"Private - The VM has allocated more memory for object headers. Inform the
	memory manager."

	MemoryManager current otOverflow: anInteger.
	"This interrupt is only ever sent to the active process, therefore no need to reschedule"
	self enableAsyncEvents: true.
	MemoryManager current checkOTSize: anInteger! !

But it appears to not handle in good shape all situations by its own so we have that #checkOTSize that is called when DBRows are being built by the DBConnection framework.
Summarizing, we use both, direct calling a method and the vm callback.

The otOverflow: notification would always fire, but a subtlety is that it might happen in any running Process. This is one of the reasons that throwing an exception in this case is not a general solution, as it depends where the code is running that is able to handle it. Forwarding the signal to the main process (e.g. by queuing a deferred action) may work for your case, but it really needs to trigger an event that arbitrary observers can listen for and respond to as they see fit.

I'm testing again our implementation and at least for workspace tests does the job.
In OTFullNotification the defaultAction is:
defaultAction
	self notifyUser.
	self abort

It actually aborts any process active while an #otOverflow.
I can send a PR with the changes so you can test this.
What do you think?

I think the right thing to do in the base system is to trigger an event in MemoryManager - no more. Apps can register for this (e.g. from their SessionManager) and handle it as is appropriate for the application.

OK yes I agree.

Finally got around to adding the event in commit linked above


Tokens for teams

This is a feature request to have API tokens that are scoped to a team rather than a user.
There are two main reasons:

This could eliminate the need for --team in some cases, which would be nice for CI (see #853). My deployment scripts are decidedly non-DRY and this would help.

In terms of CI, you shouldn't use now switch - it's only meant to be used manually

More importantly, if someone should get a hold of my token, I would prefer for damage to be limited to a given team, rather than all resources I have access to across every team.

I would suggest a format like <my-team>_<rest-of-token>.

Is there still no way of doing this?! :O Just upgraded my team account to a paid plan, only to discover there was no way of getting a token for the team as far as I can tell 😢

We are going to prioritize this @jhalborg. Sorry for the delay.

@jhalborg you can still use the -t for token and -T for team name, for all CI etc setups. Or if you are using our API, you may provide team_id or team_slug query parameters to authenticate as team.

I think implementing this makes a lot of sense!

Without this feature, it seems impossible to integrate now with github actions to auto deploy on push.

Hi guys, is it still in progress? Any timelines?

Hey guys, maybe it helps, they added a --scope to now and now you can use --scope <team_name> https://zeit.co/blog/introducing-scope

--scope is the same as --team, it just allows you to specify your own account instead of a team, if you want to. The token is not itself scoped, so if your token is compromised, all accounts and teams you have access to are also compromised.

Nevermind, just re-read the topic, yea. It would be great to just have team scope tokens . Sorry

Just leaving a vote for this. Working at an agency, it would be be nice to not have the token tied to a specific user.

Each deploy is associated with the owner of the token. If a build was triggered by the CI, it would make much more sense to have the team listed as the one who triggered a deploy.
Likewise each deploy creates a alias mapped the to owners username
You'd need to replace tokens if the token owner resigns from the company

I guess the best solution for this right now is to create a dummy bot account, but i wouldn't consider that a longterm viable solution.

Thank you for creating this issue!
Please note that – in order for us to be able to handle each feature request with care – we have to consume all of them through a unified pipeline that makes it easier for us to prioritize, track and progress on the features our user base is interested in.
In turn, the Issues tab on this repository is best only be used for reporting bugs, which we can immediately act on.
For well-explained feature requests (like the one you just posted), please contact us at<EMAIL_ADDRESS>so that we can consider adding it to our roadmap.

Any updates here?

They never added it to the roadmap. I gave up on using Now anyway. If you care about this, you'll have to email them.

Why has this been closed?

For anyone looking for an update, we have released this: https://vercel.com/changelog/access-tokens-can-now-be-scoped-to-teams

Just leaving a vote for this. Working at an agency, it would be be nice to not have the token tied to a specific user.

Each deploy is associated with the owner of the token. If a build was triggered by the CI, it would make much more sense to have the team listed as the one who triggered a deploy.
Likewise each deploy creates a alias mapped the to owners username
You'd need to replace tokens if the token owner resigns from the company

I guess the best solution for this right now is to create a dummy bot account, but i wouldn't consider that a longterm viable solution.

@thebuilder Did you ever find a solution to this? This issue is closed because they've added team scoping but we're experiencing the issues you're explaining in this comment, and would really love to find a good way to fix this! thanks in advance

Did you ever find a solution to this? This issue is closed because they've added team scoping but we're experiencing the issues you're explaining in this comment, and would really love to find a good way to fix this! thanks in advance

+1 on this. We're currently having to switch from building using Vercel Deploy Hooks to the Vercel CLI to avoid cases where merging pull requests rapidly to production causes the latest commit to be deployed, rather than the one that is currently being built.
However we can't switch to the Vercel CLI without providing a VERCEL_TOKEN, which means that it will now look like I am the one who is deploying every single time to Vercel. Not a huge issue, but I'd rather have team tokens for our organization.

Any update on this? Similar to others above I'd like to be able to trigger deploys via GH Actions on GH Tags/Releases, however with the current setup it seems like all deploys are going to appear to have been triggered by me, which is not ideal for obvious reasons.

Why not create a service account/bot user for your Vercel team and run the CI deployments as that user?

Why not create a service account/bot user for your Vercel team and run the CI deployments as that user?

I haven't tried it yet, but I had a similar thought and suspect that might work. Though I'm assuming that with at least the pricing plan that I'm on, that would require an extra $20/mo. But if the extra cost is not a concern, I'm guessing it should work.

This should really be re-opened, since you still cannot create an API Token on behalf of a team, and it's a pretty necessary feature for many workflows.

I am the owner/creator of a team and own the account that created the team, I need a token to automate with GH Actions. I cant find how to generate a token that has access to team resources (env vars specifically, vercel pull not working). Anyone knows how to do that? I think is not possible.
Its crazy that I have less features in the team paid mode than in the personal free mode.


SSH Remote development not working on latest Darwin ARM64 Experimental build

VSCode Version:Version: 1.52.0-exploration
(Commit: f9b242d7e68aec36dc08ee7840d8f3a2b22b51d5(
OS Version: macOS 11.0.1 on MacBook Air 2020

Steps to Reproduce:
I installed VSCode 1.51.1 (Stable) and 1.52.0-exploration. SSH Remote Development works on 1.15.1 (Stable), but it doesn't work on 1.52.0-exploration.
I tried some SSH servers including raspberry pi and x86 server, but it didn't work on both of them outputting the same error.
There's the error log below.
[13:36:41.540] Downloading VS Code server locally...
[13:36:41.666] Terminating local server
[13:36:41.667] Resolver error: Error: Server returned 404
    at Object.t.asText (file:///Applications/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1999:259)
    at l.download (file:///Applications/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2000:818)
[13:36:41.669] Local server exit: 15

Does this issue occur when all extensions are disabled?: I only enabled SSH extension.

This is impacting Remote - Containers too, with this error:
[30306 ms] Start: Downloading VS Code Server
[30484 ms] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:f9b242d7e68aec36dc08ee7840d8f3a2b22b51d5/server-linux-x64/exploration): HTTP 404 - Not Found

The issue is that the latest build was compiled from commit f9b242d7e68aec36dc08ee7840d8f3a2b22b51d5 but only the Mac/ARM binaries were built and not the Linux ones, so the server bits are missing.

This should be fixed in latest release a31f124319 , please check. Thanks!