Api key header field is missing in swagger ui calls (version 2.9.2)

Version: 2.9.2
Hello everybody,
this bug report is refering to https://github.com/springfox/springfox/issues/1804.
It seems that the header field (here: api_key) is missing in the swagger ui calls. We see it for example at the generated curl commands (examples are below).
Java code
public class SwaggerConfig {

    @Bean
    public Docket api() {
        return new Docket(DocumentationType.SWAGGER_2)
            .select()
            .apis(RequestHandlerSelectors.withClassAnnotation(RestController.class))
            .paths(PathSelectors.regex(Constants.REST_API_PATH_ROOT + ".*"))
            .build()
            .securitySchemes(Arrays.asList(apiKey()))
            .useDefaultResponseMessages(false);

    }

    private ApiKey apiKey() {
        return new ApiKey("APIKey", "api_key", "header");
    }
}

Input at swagger-ui
name: APIKey
in: header
value: my_key_value

curl at swagger-ui (current behaviour)
curl -X GET "http://localhost:8080/api/users" -H "accept: application/json"

curl at swagger-ui (expected behaviour)
curl -X GET "http://localhost:8080/api/users" -H 'Accept: application/json' -H 'api_key: my_key_value'

Thank you very much for your help!

Thank you very much! :-). That was the missing part! :-).
I only had to change api_key to APIKey in your code sample:
  private List<SecurityReference> defaultAuth() {
    final AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything");
    final AuthorizationScope[] authorizationScopes = new AuthorizationScope[]{authorizationScope};
    return Collections.singletonList(new SecurityReference("APIKey", authorizationScopes));
  }

You're right, it's a bit confusing where to put which name and I picked the wrong one from your code. Glad it works for you now as well!

Yes, it's a bit difficult. I'm rather a JavaScript developer and now I have to maintain some Java / Spring backend. The wiring and the documentation feels a little bit complicated to me. Thank you! :-)

@medialwerk great its resolved and thanks @tholu for helping. It can be a little confusing. Would one of you be nice enough to create a new feature request with a proposal to make it better? If we want to break existing API's this is the time to do it :)

Thanks @tholu ~~~

Thank you very much! :-). That was the missing part! :-).
I only had to change api_key to APIKey in your code sample:
  private List<SecurityReference> defaultAuth() {
    final AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything");
    final AuthorizationScope[] authorizationScopes = new AuthorizationScope[]{authorizationScope};
    return Collections.singletonList(new SecurityReference("APIKey", authorizationScopes));
  }

@medialwerk how do I do the authentication after setting up the API key to pass in header? Where do I set my key_value so that swagger can check against that? I am facing the same problem. Please help.
Thanks.

I agree with @dilipkrish this should be less confusing/configurable.
As new user of this lib I expect adding
...securitySchemes(Arrays.asList(apiKey()))
...
private ApiKey apiKey() {
    return new ApiKey("x-auth-token", "x-auth-token", "header");
}

to be enough to add it to headers auth on all webservices calls, and in swagger-ui button is really present

in addition since of 3.0.0 forPaths()is deprecated and in docs we still have https://springfox.github.io/springfox/docs/current/#springfox-spring-mvc-and-spring-boot deprecated ways doing that.
What you think @dilipkrish ?


Typo fix in upgrade from 1.9.x to 2.0 docs: use_distributed_sample-> use_distributed_sampler

What does this PR do?

In Guide to upgrade from 1.9.x to 2.0 docs, there's a typo asking users to switch replace_sampler_ddp to use_distributed_sample instead of use_distributed_sampler (Trainer docs).

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[X] Did you read the contributor guideline, Pull Request section?
[X] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[X] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[X] Is this pull request ready for review? (if not, please submit in draft mode)
[X] Check that all items from Before submitting are resolved
[X] Make sure the title is self-explanatory and the description concisely explains the PR
[X] Add labels and milestones (and optionally projects) to the PR so it can be classified

@saryazdi Thanks a lot!


drag event fired out of dragula scope

https://next.plnkr.co/edit/GPLXwtek15cSAZXl
If you try to move the paragraph element that is out of dragula scope it is running the $log at line 8 of app.js. Is it expected? I think the event listener should be delegated to the element where the directive was set or it childs, not?

@bevacqua any chance you might look into this ?
invalid gets invoked on any click anywhere in the rootscope...


http-request-line/v1: add test

Includes tests for

DetectHttpRequestLineTest02
DetectHttpRequestLineTest03

Link to redmine ticket: https://redmine.openinfosecfoundation.org/issues/4911

Followed by: #678


Prepare release: Update CHANGELOG, pump version to 2.3.0

There hasn't be a release in 2 years. This prepares the CHANGELOG and pumps the version number for a new release. After the merge, develop can be merge into main and a release can be tagged.

example6 fails again... converting to draft PR


Analysis and use of shared memory in the CUDA Implementation to compute multiples and packed Hines systems

The current CUDA implementation to solve multiples Hines systems does not include the use of shared memory and atomic operations
We want to analyze and implement this optimization (shared memory).
Also, due to the particular characteristics of the Hines system, it is necessary to use atomic operation on those points where the branches take place to avoid race conditions.

After implementing a version that exploit the use of shared memory on CUDA GPUs, we can say that the use of shred memory does not provide any advantage with respect to the other approaches explored (see the slides attached).
22-12-2016v1.pdf


documentation links broken

Going here:
http://scitools.org.uk/iris/docs/latest/examples/General/polar_stereo.html#polar-stereo
and clicking on "source code" leads http://scitools.org.uk/iris/docs/example_code/General/polar_stereo.py, which gives a 404.

It's not a one-off - tt affects the other examples too. The links to the source code are missing the latest component.
The links to the images are also broken.

The site is on github under https://github.com/SciTools/scitools.org.uk.
In particular the polar stereo example is here.
The "source code" link references ../../../example_code/General/polar_stereo.py which is outside of the document root - looks like when being built, Sphinx is referencing code outside of the source tree and not copying over the appropriate content.
Looks like a bit of trial and error with Sphinx will be needed... :disappointed:

This should now be fixed.
Thanks @rsignell-usgs


Update release workflow

As needed in https://github.com/quarkiverse/quarkiverse-devops/issues/210

I merge this one and fix on top, thanks for contributing @gastaldi

https://github.com/all-contributors add @gastaldi for code and maintenance

Hm, weird that @all-contributors bot didn't work here.

@all-contributors add @gastaldi for code and maintenance

@gastaldi for reference, all-contributors doesn't handle updates of the comments

Ah true, I've noticed that in the past as well.


Decrapify: Some entries are listed twice

Clicking the second selects or deselects the first.

Yeah, you're right. I'll check that out soon. I'd actually noticed that before, but totally slipped my mind again. By the way, you're still using an outdated version, just FYI

I think I've fixed that in the latest release at https://github.com/builtbybel/Winpilot/releases/tag/3.2.5
Please give it a try.


event_date and event_timestamp are in UTC. Is that expected?

As pointed out here, the event_timestamp field is in UTC: https://support.google.com/analytics/answer/7029846?hl=en#zippy=%2Cevent
I assume the event_date field is as well. My preference would be to convert these to the relevant reporting time zone as early in the pipeline as possible. Otherwise, users will need to handle this conversion in the BI layer which I'm certain will be overlooked frequently.
I propose a 'timezone' var that can be used to convert the event_timestamp and generate a new event_date_dt field in the base layer. (bigquery uses time zone names located here: http://www.iana.org/time-zones )
Curious to get input from others.

Pretty sure I found the table date suffixes and event_date_dt were actually the same timezone you chose for reporting GA4 settings, which was a pleasant surprise.

Can you elaborate on how you verified that? The documentation says UTC 🤔
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Will Bryant @.>
Sent: Saturday, March 4, 2023 3:42:23 PM
To: Velir/dbt-ga4 @.>
Cc: Adam Ribaudo @.>; Author @.>
Subject: Re: [Velir/dbt-ga4] event_date and event_timestamp are in UTC. Is that expected? (Issue #144)
Pretty sure I found the table date suffixes and event_date_dt were actually the same timezone you chose for reporting GA4 settings, which was a pleasant surprise.
—
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FVelir%2Fdbt-ga4%2Fissues%2F144%23issuecomment-1454869167&data=05|01|adam.ribaudo%40velir.com|3162c8fe0c2244c381bf08db1cf0f5e5|750f89c4532d43399fd9b605eca241c8|1|0|638135593476351337|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=M2CQbJFjGgOFLTMmiX2fOAo2YQjkVk3iSvURULlxZZ4%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARCCAAACEUDIE5Y4NPSOEQLW2OSK7ANCNFSM6AAAAAAVPXMDU4&data=05|01|adam.ribaudo%40velir.com|3162c8fe0c2244c381bf08db1cf0f5e5|750f89c4532d43399fd9b605eca241c8|1|0|638135593476351337|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AtBXRuNki7Ez8Jqv5%2B6%2B8DlS0Jv%2B4nSAYOK7UmOHBxI%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Huh. Ok, I’ll have a look at work tomorrow.

ok I'm with you now, just ran this and I get the exact same event counts per day
SELECT
  DATE(TIMESTAMP_MICROS(event_timestamp) , "America/Los_Angeles") event_date,
  count(event_timestamp) as event_count
FROM `*****.events_*`
where DATE(TIMESTAMP_MICROS(event_timestamp) , "America/Los_Angeles") >= '2023-02-01'
group by 1
order by event_date asc

I'll close this issue and add a comment in the .yml docs that event_timestamp & event_date are set to the property time zone

Just to clarify, event_timestamp is documented as being in UTC because the bigquery TIMESTAMP type is an universal "instant of time" value, which is shown in UTC in query results unless you ask for something else.
But for event_date_dt, DATE values aren't a universal "instant of time", so they need to be in a defined timezone.
So, event_timestamp should be documented as UTC as people will in practice need to use a query like the one you used to see it in their own timezone. They can convert to a DATETIME if they want that local TZ representation instead.


Upgrade to Sylius 1.11

Diff from here: https://github.com/Sylius/PluginSkeleton/compare/v1.10.0...master


Line details with HighCharts

Hello
It seems there is a bug when generating a LINE chart with highchart.
It seems the demo website has the same error, with the Total Sales [Line total] and Total Sales [Line details]
https://django-slick-reporting.com/highcharts-examples/
`
Uncaught Error: Highcharts error #17: www.highcharts.com/errors/17/?missingModuleFor=

missingModuleFor:
at Object. (highcharts.js:8:138)
at M (highcharts.js:8:2591)
at o (highcharts.js:8:61)
at Q.initSeries (highcharts.js:8:195148)
at highcharts.js:8:210172
at Array.forEach ()
at Q.firstRender (highcharts.js:8:210150)
at Q. (highcharts.js:8:195066)
at M (highcharts.js:8:2591)
at Q.init (highcharts.js:8:194484)
`

Hello @caclement
Today i issued a release 1.3.1 fixing this issue and updated it on the demo site.
Thank you for the report and let me know if you find any other issues .


Add option to server for --pick-port to start the server on a port within a range

Related to https://github.com/microsoft/vscode-remote-ssh/pull/151

Not sure how I feel about this, when we could use --port then just shut down the server if it goes out of range. Is there a big disadvantage to doing it that way? On the other hand this flag seems straightforward and useful. Thoughts @alexdima?

Not sure how I feel about this, when we could use --port then just shut down the server if it goes out of range. Is there a big disadvantage to doing it that way? On the other hand this flag seems straightforward and useful. Thoughts @alexdima?

Not sure how I feel about this, when we could use --port then just shut down the server if it goes out of range. Is there a big disadvantage to doing it that way? On the other hand this flag seems straightforward and useful. Thoughts @alexdima?

Shutting down the server on the remote-ssh extension side was a lot more code change so I thought this was cleaner than changing a bunch of logic in remote-ssh


Topic/fault tolerance failure poc v3 - DO NOT MERGE

Updates Fault Tolerance logic and incorporates unit testing.

Before a task retries, on_execute_callback restores its relevant attributes from Ray then GCS object. If not found, the task is failed.
Unit testing uses a counter to track number of method calls within Ray.

To-do:

Finish attribute setting step
Set GCS credentials from an Airflow connection
Clean up docstrings
Consolidate helper functions
Place test wrapper in tests directory instead of in code


Add server side rendering

This is quite difficult at the moment. I tried, but I think that universal is still quite unstable.

I started a new project called 'angular-cli-skeleton' here: https://github.com/Ks89/angular-cli-skeleton
with server side rendering enabled.
I want to deprecate this project in January 2018.


I can't figure out the syntax to display to the display a .jpg via Pillow, its not clear in the backlight example

I would super appreciate the python syntax for displaying a .jpg using Pillow.  Perhaps in the backlight example? Something super brief would be awesome. The old ST module used: disp.image(X).
thanks again,
beautiful screen.
Snarflakes

Hi @snarflakes, try something like this:
width = DisplayHATMini.WIDTH
height = DisplayHATMini.HEIGHT
buffer = Image.new("RGB", (width, height))
displayhatmini = DisplayHATMini(buffer, backlight_pwm=True)

with Image.open("myFile.jpg") as im:
    buffer.paste(
        im.resize((width // 2, height // 2)),
        (width // 4, height // 4)
    )

displayhatmini.display()


websocket - ERROR - [Errno 61] Connection refused - goodbye with FastAPI

I'm getting this error when I try to run botasaurus along with FastAPI.

same issue here. any ideas on how to resolve?

I'm not using it with fastapi and getting this error still.
My code:
@browser(block_images_and_css=True,
         headless=True,
         user_agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
         output=None,
         reuse_driver=True,
         close_on_crash=True,
         parallel=2,
         wait_for_complete_page_load=False)
def scrape(driver: Driver, data):
    logging.info("Scraping " + data)
    driver.google_get(data, bypass_cloudflare=True)
    return driver.page_html

I first use the browser decorator like the one below along with FastAPI and encounter the "Connetion refused" error
@browser(
│   output=None,
│   headless=True,
│   wait_for_complete_page_load=True,
│   create_error_logs=False,
│   add_arguments=[
│   │   "--disable-gpu",
│   │   "--no-sandbox",
│   │   "--disable-dev-shm-usage",
│   │   "--server",
│   │   "--disable-setuid-sandbox",
│   ],
)

But after I added these two lines, it was gone.
   reuse_driver=True,
   parallel=True,

I don't know what happened or how to fix but I hope this will help someone.

I first use the browser decorator like the one below along with FastAPI and encounter the "Connetion refused" error
@browser(
│   output=None,
│   headless=True,
│   wait_for_complete_page_load=True,
│   create_error_logs=False,
│   add_arguments=[
│   │   "--disable-gpu",
│   │   "--no-sandbox",
│   │   "--disable-dev-shm-usage",
│   │   "--server",
│   │   "--disable-setuid-sandbox",
│   ],
)

But after I added these two lines, it was gone.
   reuse_driver=True,
   parallel=True,

I don't know what happened or how to fix but I hope this will help someone.


Display an informational Pylance prompt for existing users

For https://github.com/microsoft/vscode-python-internalbacklog/issues/179

Prompt is shown to users with a pre-existing install of the extension
Prompt will be shown on activation until they click on "Ok" or close the extension
Final wording will have to be updated

Let me know if you can think of a more appropriate location/filename.
cc @savannahostrowski @luabud

Let me close this and re-create this PR against main.

lol sorry @jakebailey didn't mean to re-request yours


Fix JRE selection not being detected as changed

Fixes https://github.com/kotest/kotest/issues/3098

The first time the dialog is opened it won't have been defined externally.
So I wondered if it would be null
On Fri, Jul 8, 2022, 1:27 AM Emil Kantis @.***> wrote:

@.**** commented on this pull request.
In src/main/kotlin/io/kotest/plugin/intellij/KotestConfiguration.kt
https://github.com/kotest/kotest-intellij-plugin/pull/201#discussion_r916501249
:

@@ -179,6 +188,8 @@ class KotestConfiguration(name: String, factory: ConfigurationFactory, project:

override fun readExternal(element: Element) {
   super.readExternal(element)

 alternativeJrePath = JDOMExternalizerUtil.readField(element, AlternativeJrePathField)

I'm not really sure how to set it to null. Closest I got was selecting
some empty line in the JRE selector, saving the configuration and then
loading it again and it would load back as null without issue.
—
Reply to this email directly, view it on GitHub
https://github.com/kotest/kotest-intellij-plugin/pull/201#discussion_r916501249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGQRQA3UASW2MVXGLODVS7C6JANCNFSM527A327A
.
You are receiving this because your review was requested.Message ID:
@.***>


Markdown image tags only render when absolute path is provided

I'd like to include images in my tours, but I have only had them successfully render with an absolute file path (local or web). I'd like to store the images within the same repo and reference a relative path, but it doesn't seem to work. I've tried paths relative to the tour itself as well as paths relative to the overall project. The only example I've seen that included images in its tours loaded the images via CDN (fully specified web URI).
OS: Mac OS Monterey 12.5
CodeTour: 0.0.58
VS Code: 1.69.2

Never mind. After restarting VS Code the project relative path (i.e. the method in the docs) worked as expected.


[swarm mode docs] Document difference between engine labels and node labels

In docker node you can see that there is a docker node update --label-add option to add labels.
I was confused about the difference between this and Engine labels (i.e., added with --label to dockerd) and asked the Swarm team to explain.  The answer was insightful and should be documented.
Essentially:

A compromised worker node could change its own Engine labels, but not node labels.  Only managers can change node labels.
Therefore, node labels could be useful to e.g. schedule only on machines where certain special workloads should be run, for instance machines where PCI-SS compliance is met.  A compromised worker could not compromise these special workloads because it cannot change node labels.
Engine labels, however, are still useful because some features which do not affect secure orchestration of containers might be better off set in a decentralized manner.  For instance, an engine could have a label to indicate that it has a certain type of disk device, which may not be relevant to security directly.  These labels are more easily "trusted" by the orchestrator.

https://docs.docker.com/engine/swarm/manage-nodes/#/add-or-remove-label-metadata explains that you can do this, but not why you might want to.
FYI @londoncalling and thanks @diogomonica @stevvooe @cpuguy83 for explanation

/cc @sanscontext @mstanleyjones

@nathanleclaire @thaJeztah , I'm going to go ahead and close this issue, as the docs update was merged (see above). We can re-open if needed. Thanks!

Sure, thanks!


After complete how to repeat video?

I Think This is not issue.
we seclect 4 video for grid.
1st video time is 0.4 second.
2nd video time is 0.8 second.
3rd video time is 1.2 second.
4th video time is 0.5 second.
so now your code final video playing max time (based on ex 1.2 second) and other video stop playing after end.
so we need to repeat other videos this is possible?
just give suggestion for this.
Thanks in advance.

@DixPatel009 Please check updated repository.


task and into questions done

Thank you for the PR @Anparasan3 🙏
We'll review it and get back to you


Fix: Error Messages in HealthCheck

Before

After

We were also seeing this in "loading" state, not sure if this fix addresses that as well.


made the translations:find command more flexible

abstracting some of the variables used in the translations:find command to the configuration file for added flexibility
This commit lacks documentation of any kind and is only meant as a starting point for how you may improve your package.
It does work the same as before but this way it's now possible to adapt to other use-cases
For example the default is
    'find' => [
        'functions' => ( $functions = [
            'trans',
            'trans_choice',
            'noEditTrans',
            'ifEditTrans',
            'Lang::get',
            'Lang::choice',
            'Lang::trans',
            'Lang::transChoice',
            '@lang',
            '@choice',
            '__',
        ]),
        'pattern' => [                              // See http://regexr.com/392hu
            '(' . implode('|', $functions) . ')',   // Must start with one of the functions
            '\\(',                                  // Match opening parentheses
            "(['\"])",                              // Match " or '
            '(',                                    // Start a new group to match:
            '[a-zA-Z0-9_-]+',                       // Must start with group
            "([.][^\1)]+)+",                        // Be followed by one or more items/keys
            ')',                                    // Close group
            "['\"]",                                // Closing quote
            '[\\),]',                               // Close parentheses or new parameter
        ],
        'files' => [
            'php',
            'twig',
        ],
    ],

But in my case I can now change it easily to
    'find' => [
        'functions' => ( $functions = [
            '\$t',
        ]),
        'pattern' => [                              // See http://regexr.com/392hu
            "(" . implode('|', $functions) . ")",   // Must start with one of the functions
            "\\(",                                  // Match opening parentheses
            "(['\"])",                              // Match " or '
            "['\"]",                                // Closing quote
            "[\\),]",                                // Close parentheses or new parameter
        ],
        'files' => [
            'vue',
            'js',
        ],
    ],

Without editing vendor files

@vesper8, thank you. I will add configuration options. I am thinking that it would be a good idea to have ability to configure multiple find options:

default to be used when no additional parameter is specified to the find command
named config to be used when find invoked with specific type of search

This will give ability to configure find command tailored for multiple source and application types plus allow some experimental regexes in the config without affecting those that are tested and used.


Implement creating nodes by dropping a connection

Pull Request Description
Creating nodes by pressing Tab works as before, without changes.
Creating nodes by dragging edges and dropping them on the scene:
https://user-images.githubusercontent.com/6566674/150524868-c6eaa71b-9a95-40c2-a133-cbc47d8bf396.mp4
It doesn't matter if you drag the connection by pressing LMB then releasing it or if you continuously hold LMB while dragging.
Searcher filters suggestions based on the type of node from which the connection was dragged.
Disconnecting existing connections works depending on which endpoint you drag (which half of the connection you start to drag): dropping the target endpoint creates a new node, dropping the source endpoint does not.
https://user-images.githubusercontent.com/6566674/150758664-89a3b36f-dd31-44c2-b9bb-d339614f2e3b.mov
This PR does not cover nodes alignment after creation - they are created always directly below the cursor (you can't really mess up with other nodes though, as dropping connection on top of other node won't work or will just connect these nodes).
Changes in this PR:

controller::searcher::Mode::NewNode node holds an optional node id of the "source node". The source node is either the node selected while creating a new node or the node from which the connection was dragged out.
controller::searcher::ThisNode constructor changed so now it accepts a single node id argument instead of a list of nodes. Previously it accepted a list of selected nodes, but it doesn't make sense now, as we should make a decision on what node to use as a "source node" earlier.
WayOfOpeningSearcher enum added.
searcher_input output of the Project View is removed, its usages replaced with searcher_opened output (it now contains WayOfOpeningSearcher rather than NodeId.
GraphEditor FRP refactored so clicking on the background to abort node editing doesn't conflict with dropping connection.
Pressing the Enter key while dragging the connection now causes a connection drop. It is useful to drop connections without opening the searcher.

Important Notes
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, and Rust style guides.
[x] All documentation and configuration conforms to the markdown and YAML style guides.
[x] All code has been tested where possible.

@wdanilo

Please show all corner cases - press-drag-drop is one way of creating the connection. What with click (press and release) , move mouse, click again? What with connections from input ports? What when you are disconnecting existing connections and dropping them? Please show ALL possible corner cases on the video.

Sure, I will record additional footage to cover that. How do you distinguish between click-move-click and press-drag-drop on a video? I actually used click-move-click in the posted recording. Also, what is connection from input port? I don't know how to create a connection from the input port. (perhaps I'm missing something)

The design doc describes the desired behavior of this feature, including alignment of the newly created node. Is the Magnet Alignment algorithm used here as described in the doc? If no, is it planned as next PR? I did not find any information about it in the PR description. Please remember, that you should always carefully read the design doc (or at least a part of it) when implementing a feature, and there the alignment algorithm is described.

This is a PR for the task #180873545, which includes only creating new nodes. The alignment will be covered in the task #180887079, though it might be modified after the Design Doc will be finally ready. Should I describe future plans for things that are not included in the PR?

@vitvakatu

Sure, I will record additional footage to cover that.

Please do! It's important to cover in the video all possible corner cases (as described in our process doc) 🙂

How do you distinguish between click-move-click and press-drag-drop on a video?

I was sure that the mouse cursor gets bigger when you stop pressing it, but I was wrong - it is small even if you don't press it (and that's correct behavior!).

I actually used click-move-click in the posted recording.

Wow, it was so smooth and fast that I was sure it was press-drag-release! TBH I. was never able to use this method so smoothly! 😄

Also, what is connection from input port?

You can disconnect node in such a way that the connection is still connected to input port, but not to the output port.

I don't know how to create a connection from the input port. (perhaps I'm missing something)

Regarding corner cases, double check with the task designer if you covered all the corner cases before requesting the review, please. This will drastically shorten the review process – otherwise, the PR needs to be rejected before the code is even checked, the explanation needs to be described, you have to fix it, then it needs to be re-reviewed – this just should not be needed. There are sections about it in the design doc (I know it was being slightly modified for the last few days, but these things were already described there), like this one:

This is a PR for the task #180873545, which includes only creating new nodes. The alignment will be covered in the task #180887079,

Amazing, thanks!

though it might be modified after the Design Doc will be finally ready.

No need for that. And I dont think anything will change. The design doc is pretty stable since Monday – we had a few calls about look and feel of some advanced cases, but no deep changes were done there during the last 2 days. I will update some old screenshots and we are ready to merge it already. So you should be able to get all the needed info from the current stage.

Should I describe future plans for things that are not included in the PR?

If you are implementing a feature that is tightly connected to another one, it is cool if you mention that "this doesn't cover the node alignment, which will be implemented in another PR" – this makes everyone sure that this is by design and not accidental. Of course you don't have to – in such a case, me or someone else would just sometimes ask additional questions about it :)

@wdanilo

You can disconnect node in such a way that the connection is still connected to input port, but not to the output port.

Cool, I was a bit confused that you separated nodes' disconnection and dropping connection from input ports in your first reply, so I was afraid that I missed this opportunity. It works as the design doc states: dropping the source endpoint does nothing, dropping the target one creates a new node. I attached an additional screen recording and expanded PR description, hope it's better now.

If you are implementing a feature that is tightly connected to another one, it is cool if you mention that "this doesn't cover the node alignment, which will be implemented in another PR" – this makes everyone sure that this is by design and not accidental. Of course, you don't have to – in such a case, I or someone else would just sometimes ask additional questions about it :)

Yeah, it was an oversight from my side, I was expecting that Task Reviewer will verify if the task description matches implemented behavior and he will be in a full context of the task. I should've simplified his work anyway.

The new video looks amazing! I did not check the code yet, however, let's first fix the regressions found by Adam + could you also add a functionality that pressing enter while dragging the connection removes it? I just realised that right now it is impossible to drop a connection when dragging it without opening the searcher, which is bad.

The new video looks amazing! I did not check the code yet, however, let's first fix the regressions found by Adam + could you also add a functionality that pressing enter while dragging the connection removes it? I just realised that right now it is impossible to drop a connection when dragging it without opening the searcher, which is bad.

@wdanilo I fixed the regression and implemented this. I'd appreciate FRP code review if you have a free time.


Allow dynamic URL registration (For PRs / branches)

It would be nice to be able to automatically deploy "preview" apps when working on branches or doing quick QA on a PR.
I think there are a few options here:

Still require a fission.yaml but parse it for the URL and generate a standard ${APP_NAME}-${BRANCH_NAME}.fission.app app automatically if run on a branch.
Allow the action to take a "app name" parameter and, if present, run fission app register -n $NAME (this might give users more control over exactly how apps are named
If not fission.yaml is present in the repo, generate a random url (i.e. fission app register) prior to publishing.

I think with both 2 & 3, we'll need to write back to the repository or somehow track the URL that is generated (and the resulting fission.yaml).
What do people think / want to see?

This exists as of v1.1.1


Chore/standard to airbnb

What this PR does
Converts the application's coding style guide from standard to Airbnb's.
Relevant Pivotal Tracker stories
#121366687

Coverage decreased (-0.5%) to 82.73% when pulling 45f329ca1059b75836b4f629219bfcff0d70255f on chore/standard-to-airbnb into 289d9cdb6e96139f734d4b9510617a3ef18997d9 on develop.

Coverage decreased (-0.5%) to 82.73% when pulling 7fa340d444328450453e0d02f757348d7dc021ce on chore/standard-to-airbnb into 289d9cdb6e96139f734d4b9510617a3ef18997d9 on develop.

Coverage decreased (-0.5%) to 82.73% when pulling 741d0f54399bd3d2bea623c0bc94c1a89a8e03b9 on chore/standard-to-airbnb into 289d9cdb6e96139f734d4b9510617a3ef18997d9 on develop.


code reformat not working in latest version of spyder

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
On pressing Ctrl + Alt + I
codes are not being reformatted.
What steps reproduce the problem?

Press Ctrl + Alt + I
go to source menu and click autoformat file

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Hi @pctablet505,
Can you please let me know what version of Spyder are you running? Also, have you changed any preference?

5.01

Can you please give me an example of the code you are trying to format?

befoe reformat on spyder 4.2.5
import numpy as np a=np.array(([     [1,2,3,4],              [5,6,7,8],              9,10,11,12]))
after reformatting
import numpy as np a = np.array(([     [1, 2, 3, 4],     [5, 6, 7, 8],     9, 10, 11, 12]))
But the same is not happening in spyder 5.0.0 and spyder 5.0.1

@pctablet505, how did you install Spyder? Using pip or Anaconda?

I installed using pip on ubuntu and windows,
and spyder_5 setup.exe on windows.

Ok, thanks. Then please read our Troubleshooting Guide:
http://docs.spyder-ide.org/current/first-steps.html
If you are unable to fix the problem after that, please install Anaconda instead. Unfortunately, we don't have the resources nor the time to help people with custom installations, so it's up to you to figure this one out.
This is because custom installations are for experts or very knowledgeable people who really know what they are doing and are able to easily solve problems like this.

You can also use our Windows installer instead.


AI bots

I wonder whether this lib could/would add support to detect AI bots, so crawlers which are used to feed AI engines.
I found a repo which lists most of them: https://github.com/ai-robots-txt/ai.robots.txt
maybe thats something which could be used for/with crawler-detect?

Hmmm, interesting suggestion.
Would you see our current isCrawler() method returning true for these AI bots, with a new additional method called something like isAiBot()?
Open to implementation suggestions here 👍

I think a separate method would be good, as I think some users might be interested in 'whatever' definition this lib had of a crawler before.
AI bots are a different class which might need different handling IMO

A crawler is a crawler or not? Regardless of what the crawler actually does with the responses. If users want to differentiate then they should look at https://github.com/VolkswAIgen/VolkswAIgen - but for the purpose of this library I would think that a bot from OpenAI or Claude is detected as crawler.

Agreed @beberlei  -- I don't see a use case where it'd be necessary to treat an "AI" bot differently.  Certainly if that were the case, I'd imagine that is beyond the scope of this library.


update hijacked

101 row modified, fake website name changed to Psycholjournal

It looks like that .nz domain did exist, briefly in 2015: https://web.archive.org/web/20150425072744/http://www.psycholjournal.co.nz/
But looks good to merge.


ADD AS, CT, BProtein numbers

provide coverage for OMAPs for AS, CT, BProtein.

Added #AS, CT, B to table as per Katy from Nature Correspondence from Andrea Radtke

Updated pages to reflect Katy's requests for right justification of #AS, CT, BP on OMAP pages, add #'s for lymph node v1.0.
Remove static date on all pages; these were problematic for all the different releases since it did not update with release selection and correct date was part of release drop down.


Need Suggestion: Create Statefulsets as replicas of a Custom Resource.

I have a usecase where I have a custom statefulset manifest, which I need to replicate as specified by the number by user, the same way deployment are scale up and down with replicas in kubernetes. And for that I am thinking about creating an kubernetes-operator, I need your suggestions, would it be right approach or anything simpler can be done to achieve this goal, and I need to manage those statefulsets as a single deployment or unit as per say.
For example this is what i want to achieve
apiVersion: "sts.example.com/v1alpha1"
metadata:
...
units: 3
replicas: 2

Here units represent the number of statefulsets and replicas represents the number of replicas in each statefulset and it means there would be 3 different statefulsets each having 2 replicas.

@naeemkhan12 Sorry we never got back to you on this! You may have already decided on your approach, but if not, it does sound like a reasonable use case for an operator.
If you have follow-up questions, please feel free to re-open this issue!


Anonymize docker compose

Greetings,
This pull request makes a couple of changes to docker-compose to make it safer to use.  The values for all environment variables have been removed from docker-compose.yml and they should, instead, be set in one of two ways:

export them as environment variables in the shell that docker-compose is being run from
write the values to a .env file alongside docker-compose.yml, which is automatically read by docker-compose and looks like this:

[berto@g6]$ cat .env
POSTGRES_DB=localshop
POSTGRES_USER=localshop
POSTGRES_PASSWORD=shopping
DJANGO_SECRET_KEY=a7d03faa0c054b3dba38b396bf3c7996
DATABASE_URL=postgresql://localshop:shopping@db/localshop
DJANGO_MEDIA_ROOT=/opt/localshop/media

This change makes the docker-compose file generic and allows the end-user to inject their own values without having to change the file.
Additionally, I updated postgres to the official image and verified that it works without any issue.  Note: the database name, username, and password environment variables have changed accordingly.

Checking in on this, ping @mvantellingen


Import refactor

Codecov Report

Merging #87 into master will decrease coverage by 0.13%.
The diff coverage is 31.25%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
- Coverage   64.68%   64.54%   -0.14%
==========================================
  Files          34       33       -1
  Lines        1110     1038      -72
  Branches       66       62       -4
==========================================
- Hits          718      670      -48
+ Misses        375      352      -23
+ Partials       17       16       -1

Impacted Files
Coverage Δ

src/app/core/services/package.service.ts
39.21% <ø> (+3.17%)
:arrow_up:

src/app/profile/services/profile.service.ts
62% <17.39%> (-38%)
:arrow_down:

...selection/packages-page/packages-page.component.ts
73.68% <66.66%> (-3.74%)
:arrow_down:

...selection/package-table/package-table.component.ts
48.48% <0%> (-0.76%)
:arrow_down:

...n/packages-page/step-three/step-three.component.ts
55.55% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


changed the footer of faq page

Description
I have changed the footer in faq page and The scrolling button is not working before I have fixed the scrolling button in faq page. I have added links in the footers of index page and faq page. The logo in Faq page is bug is fixed.
Related Issues
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]

Closes #628
Closes #521

Type of PR

[X] Bug fix

Screenshots / videos (if applicable)
before footer

after footer in faq page

Scroll button in faq page
https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/assets/97241435/9c70c019-62ae-46a2-b310-5a0e5af2c54d
Checklist

[X] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
There is no image showing in contact.html page I have fixed that too, now the image appears when the page is loaded.

THANKYOU FOR YOUR CONTRIBUTION

Thank you for merging !!, It's my first pull request

Hey @Anishkagupta04 please add GSSOC'24 label and level also, to this repo!

Please add a GSSOC'24 label in my pull request @Anishkagupta04 @varshith257


Remove long float

This was done with pull request - https://github.com/ballerinalang/ballerina/pull/2271


Create script that a developer can use to clone repo

The script can perform several helpful steps

Write scripts for all platforms to install dependencies for OpenGEE (git lfs, set up yum repos, install libraries)
Expected workflow - user installs git (but not git lfs), user clones the repo, user runs the script which sets up git lfs, pulls lfs files, and does the other steps
Script should work on all platforms (one script per platform is acceptable)
Update build documentation to reference new scripts
Focus on getting something basic that works

Users would be able to set all of this up with a single command line they can paste from the build instructions page

Closing this in favor of #475


Update dwCSGOInput signature

sorry but...I don't know anything about rust programming.so i did not tested before create pr, and idk if my change is correct
but here's the sig in IDA:48 8B 0D ?? ?? ?? ?? E8 ?? ?? ?? ?? 8B BE 84 12

Thanks, but I didn't get any matches with your pattern and I already updated it.


Issue with k8s.io/docs/tasks/federation/set-up-cluster-federation-kubefed/

For GKE kubernetes cluster it won't let you join the cluster if you don't create a clusterrolebinfing for your currently active gcloud account email (gcloud auth list) in a next manner:
kubectl create clusterrolebinding <your_user>-cluster-admin-binding --clusterrole=cluster-admin<EMAIL_ADDRESS>--context=<joining_cluster_context>

Please, add this in the docs.

I can help to fix it


Migrate to Camunda 8 (Parent Issue).

This is to be used as a parent issue for one ore more sub-issues focusing on individual research/task issues.
Based on the investigation from: https://github.com/TAMULib/mod-camunda/issues/209 , upgrading from Camunda 7 into Camunda 8 is the preferred direction.
Steps to take:

Need to upgrade Camunda without modifying mod-workflow, unless mod-workflow has camunda-specific code that should be removed.
The workflows need to be rewritten, see migration guides https://camunda.com/platform-7/migrate/ and https://docs.camunda.io/docs/guides/migrating-from-camunda-7/ .
Consider UI and templates from "SPIKE: Create a basic "Hello World" Stripes UI-Module: ui-workflow" note / draft on this project board (may be converted to an issue at some point).
This may affect the Switch from Nashhorn issue: https://github.com/TAMULib/fw-registry/issues/302 .
Still need to make sure the password privacy is working as expected to fix issue 209.
Consider the community migrator: https://github.com/camunda-community-hub/camunda-7-to-8-migration/tree/main/backend-diagram-converter
Consider the adapter to keep running Camunda 7 stuff until able to convert to Camunda 8 stuff: https://github.com/camunda-community-hub/camunda-7-to-8-migration/tree/main/camunda-7-adapter
Need to reseach and understand Zeebe (https://docs.camunda.io/docs/components/zeebe/zeebe-overview/ and https://docs.camunda.io/docs/components/zeebe/technical-concepts/architecture/ ). This may affect the Nashorn and similar functionality.
Look into their Camunda 8 Docker and Kubernetes support.
There may need to be changes to fw-registry, investigation is needed.
Looks like the "zeebee" has something that could replace the fw-registry project: https://docs.camunda.io/docs/apis-tools/cli-client/ and https://docs.camunda.io/docs/apis-tools/java-client/. These are of course Camunda specific and so we may still need / want fw-generate to support for non-Camunda based use cases.
Existing Camunda connectors: https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/available-connectors-overview/
BPMN support is documented here: https://docs.camunda.io/docs/components/modeler/bpmn/bpmn-coverage/
License changes: https://camunda.com/blog/2022/05/how-open-is-camunda-platform-8/ and https://camunda.com/legal/terms/cloud-terms-and-conditions/zeebe-license-overview-and-faq/ .
REST for Camunda 8 (Camunda 8 is using gRPC rather than REST): https://docs.camunda.io/optimize/self-managed/optimize-deployment/plugins/engine-rest-filter-plugin/ , https://docs.camunda.io/docs/components/connectors/protocol/rest/ , andhttps://korthout.github.io/camunda-platform-rest-api/ .
Look into Quarkus for GraalVM support or functionality https://docs.camunda.org/manual/7.19/user-guide/quarkus-integration/ .

Other potentially useful links:

https://blog.viadee.de/en/camunda-8-camunda-7-differences
https://camunda.com/blog/2023/05/start-camunda-8-process-rest-webhooks/
https://www.altkomsoftware.com/blog/technologies-blog/camunda-8-vs-camunda-7-challenges/

The workflows need to be rewritten, see migration guides https://camunda.com/platform-7/migrate/ and https://docs.camunda.io/docs/guides/migrating-from-camunda-7/ .

Why do we need to rewrite our workflows? They are an abstraction defined in mod-workflow in which sends its domain representation to mod-camunda for generation of the BPMN workflow compatible with Camunda. The purpose of mod-workflow is to define an interface specification to avoid exactly what this need is describing. If there is a domain incompatibility between mod-workflow and mod-camunda, we need to document such and determine what is required to be refactored. I suspect mod-camunda will require modification in how it transforms mod-workflow domain representation into BPMN compatible with Camunda 8. Did Camunda 8 has somehow changed the BPMN specification?


ENH: stats: Implement _sf and _isf for the beta distribution.

Closes gh-3352.

Hmmm... it looks like the lint test fails because pip generates a warning about a new version of pip being available.

Hmmm... it looks like the lint test fails because pip generates a warning about a new version of pip being available.

Sorry about that, it was recently fixed in master. I was perhaps a bit too rushed in moving things over to Azure from Travis, but folks have been fixing it up nicely lately.

I was hoping we could do something similar to fix gh-12635 and gh-12794 but it looks like no?

I think those are limitations of our implementations of btdtr and btdtri, so I don't think there is a simple reformulation that we can use in beta._cdf and beta._ppf to avoid them.

@WarrenWeckesser did you ever try this for norminvgauss (gh-8718)?

just as an aside: I was always against increasing the precision for users that use the wrong tail and it significantly reduces performance.
I'm not really looking at those PRs anymore, and stay out of those discussions and decisions.


100% CPU when adding renderer reporting

Hi,
Not sure how to give you a self-contained example, but I'm having a case where renderer process is stuck 100% cpu when adding integration into renderer process and entire app is unresponsive, nor have access to dev toos. main process works fine and reports crashes well.

Actually exactly like the demo states. simply copy/paste the code snippet.
I did another experiment as well - just require the library, and then after app loads, open inspector, and issue the init manually through developer console, get a freeze after 10 sec.

We have just released v3.0.0 of the SDK which includes a lot of changes and improvements since this issue was opened.
If you can still reproduce this with v3, please open a new issue and I'll look into it.


there is a error when i add remote endpoints ,help .thanks

all logs is :
2019/12/17 06:39:22 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_ping: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:49 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_ping: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_ping: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_ping: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_ping: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_ping: http: server gave HTTP response to HTTPS client) (code=500)

Port 2375 is not tls secured, so no https needed.
Rgds,
Neil Cresswell
On 17/12/2019, at 7:50 PM, Wolcen<EMAIL_ADDRESS>wrote:

all logs is :
2019/12/17 06:39:22 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:49 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500)
2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_3461-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAFQ2XFMS22V3G7SBAFSLEMLQZBZCHA5CNFSM4J3WUAZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IA6ROXA&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=HA_f3AllIi8Sl3gLJHqqZIHBIey101nDdODsO4vBWZc&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFQ2XFNZ26FGGWJJ3C23IB3QZBZCHANCNFSM4J3WUAZQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=LAIlMFKvcnzfJa9OXBIIN5YSETmQtH1UvQTWUrSl9nQ&e=.

Port 2375 is not tls secured, so no https needed. Rgds, Neil Cresswell On 17/12/2019, at 7:50 PM, Wolcen<EMAIL_ADDRESS>wrote:  all logs is : 2019/12/17 06:39:22 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500) 2019/12/17 06:41:49 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500) 2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500) 2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500) 2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500) 2019/12/17 06:41:50 http error: Unable to ping Docker environment (err=Get https://<IP_ADDRESS>:2375/_pinghttps://urldefense.proofpoint.com/v2/url?u=https-3A__<IP_ADDRESS>-3A2375_-5Fping&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=bQwLQOl4EilXj2qHl0DDBse0nGxL05qZsJeAgSdtpjE&e=: http: server gave HTTP response to HTTPS client) (code=500) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_3461-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAFQ2XFMS22V3G7SBAFSLEMLQZBZCHA5CNFSM4J3WUAZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IA6ROXA&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=HA_f3AllIi8Sl3gLJHqqZIHBIey101nDdODsO4vBWZc&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFQ2XFNZ26FGGWJJ3C23IB3QZBZCHANCNFSM4J3WUAZQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=iHzEpX5IJwgv_mEVUEre7CLxrAWD5bFWJ1Cpikj9ur0&s=LAIlMFKvcnzfJa9OXBIIN5YSETmQtH1UvQTWUrSl9nQ&e=.

thank you , but  I changed how to modify the docker configuration before I can add this endpiont ?


CircleCI Orbs for Amplify Deploys

Problem
At the moment it is somewhat difficult and time consuming to leverage external CI systems like CircleCI to deploy Amplify code bases.
The documentation makes references to various scripts but doesn't really explain what they do or how to configure them.
Request
I would like the ability to leverage CircleCI orbs to handle deploys for AWS Amplify tooling. AWS already has various Orbs for the AWS CLI and AWS S3. This would open the tooling up to a wider audience and toolsets that are commonly used by developers.
Related Issue: https://github.com/aws-amplify/amplify-cli/issues/1322

@amcdnl since we've an ongoing discussion about better CI support at #1322 I'm closing this issue in favor of that one.


[Role] Typo in "Role Assignment already exists" message

Found an existing application instance of "97faf87e-9041-4703-b0b7-905c03f074a6". We will patch it
Creating a role assignment under the scope of "/subscriptions/ff5bfe84-dc63-4b4c-ad36-2324ae8480ad"
Role assignment already exits.

add to S168

Thanks for the contribution. I have merged https://github.com/Azure/azure-cli/pull/12586.


When using argument groupby and doing a dropdown selection, the wrong data points are displayed

holoviews: '1.13.4a1'
hvplot: '0.6.0rc4.post5+g9213abf'
When I use the groupby argument in hvplot, this gives me a dropdown to make selections.
However this is not working properly.
The first default plot shown seems to be correct, but once you use the dropdown, it starts mixing up data.
Sometimes data is shown from the first (default) selection, although you selected a different value. Sometimes no datapoints are shown. Sometimes datapoints are shown, but when you hover over a datapoint, you only see question marks.
I think it seems that the default data selected is also used for the plots after you change the selection.
The groupby argument is very powerful (creating a dropdown selection), especially in comparison to other plotting packages, but currently it's unusable, because I can't trust what the plot shows me. I use it to rapidly explore my dataset.
Example code:
import numpy as np
import pandas as pd
import hvplot.pandas

np.random.seed(42)

data2 = {
    'company': np.random.choice(['AAA', 'BBB', 'CCC', 'DDD'], size=20),
    'sales': np.random.uniform(low=1.0, high=1000, size=20),
    'date': pd.date_range(start='2020-01-01', periods=20, freq='D')
}
test_df2 = pd.DataFrame(data2)
test_df2.hvplot.scatter(x='date', y='sales', groupby='company', hover_cols='all', padding=1.0)

So strangely I can't reproduce. @holoviz/triaging-team Can anyone else reproduce this?

Ok, @philippjfr: now these first examples do work correctly on my local machine, but not correctly on my VM in google cloud, although they both were new virtual environment installed and created today, which I still find worrying.
Can you please still try this code, which is 'groupby' and 'by' combined. Please change selections a couple of times and compare data shown with the actual data. It seems the legend is not displaying the correct categories:
import numpy as np
import pandas as pd
import hvplot.pandas

np.random.seed(42)

data = {
    'company': np.random.choice(['AAA', 'BBB', 'CCC', 'DDD'], size=20),
    'product': np.random.choice(['A1', 'B2', 'C3', 'D4'], size=20),
    'sales': np.random.uniform(low=1.0, high=1000, size=20),
    'date': pd.date_range(start='2020-01-01', periods=20, freq='D')
}

test_df = pd.DataFrame(data)

test_df.hvplot.scatter(x='date', y='sales', groupby='company', by='product', hover_cols='all')

I can definitely reproduce those issues.

The Google Cloud platfrom currently comes with jupyterlab 1.2.16 installed (and this cannot be easily upgraded to 2.x) Could this also be the reason for the issues with the first?
Problems I run into is that I have the feeling I need a very specific setup to get everything precisely working as it should with precisely the right packages and versions and way of installing. Sometimes this can even be the difference between a conda install or a pip install in my conda environment.
Thing is: data science is shifting more to cloud: spinning up a cloud notebook (GC / AWS / Azure) on a good VM with some stuff pre-installed. This makes it very difficult to get the right setup for a working hvplot / holoviews environment.

This seems to be related to my issue .
For me, the result of your code is the same as in my isssue:
It works in Jupyterlab but does not work in the browser.

I'm now using a workaround by setting dynamic=False to create a HoloMap instead of a DynamicMap

Fixed with latest HoloViews.


Support wildcards in Include

Is your feature request related to a problem? Please describe.
I use Include ~/.ssh/config.d/*.config at the top of my ~/.ssh/config, pointing to about 5 different configs (e.g. one for a specific customer, one for my homelab etc). It seems that wishlist doesn't resolve these.
Describe the solution you'd like
I'd like to see the hosts in those configs available when I run wishlist
Describe alternatives you've considered
I could rewrite my whole ssh config back to a single file, which is an option, but then I'd lose some important structuring. I could also hardcode each config into a separate Include, which is probably what I'll end up doing for now.
I'll check out and see if I can do this myself, but any pointers are welcome :)

already supported on main
#263

Thanks @caarlos0! didn't see it in the readme. Will update to main, seems the default brew version is a bit behind :)

yeah, I think I'm gonna make a new release soon


Unable to Open Downstream Task MDB Files in Access After Downloading from GitHub Tutorial

After following the tutorial on GitHub to download the data for downstream tasks and extracting it, we encountered an issue. We are unable to open the MDB files provided for the downstream tasks using Access locally. Upon attempting to open these files, we receive an error message, which I will attach below for reference. We are using Access version 2019. We seek clarification on the possible reasons causing this issue and inquire if alternative versions of the data in different formats can be provided.
Error Message:

We kindly request your assistance in understanding the root cause of this issue and if possible, providing alternative versions of the data in different formats. This would greatly facilitate our progress in the tasks at hand.

Hi, the 'mdb' format file is used by the lmdb database. You could open it through the 'lmdb' package in python, following some tutorials like here https://www.cnblogs.com/sddai/p/10481869.html.

Thanks for the help!


Fix help in web gui for 0.9.0

Expected behavior
It looks like in pilosa 0.9.0 that rowID is now row, and columnID is now col.
The webui has a ? in it with hints of what the parameters should be. Those should show the different functions with col= and row= to avoid having people be confused about what the parameter should be.
Actual behavior
Instead the help shows rowID and columnID
Steps to reproduce the behavior
Click the ? in the webui
Information about your environment (OS/architecture, CPU, RAM, cluster/solo, configuration, etc.)
Pilosa 0.9.0

Thanks for reporting, @addos! Sorry for the confusion -- we evidently missed that.


Less code duplication between surrogate and acquisition (fit, validation, etc.)

Fixed this by adding a 'FittableMixin' class. Closing.


New Filter for Framerate

Especially when editing video, it is very important not to mix frame rates. It would be helpful, if Video Hub App would
1.) have an option to display of the frame rate rounded to whole numbers unter the video or in one of the corners in the thumbnail.
2.) have a new slider filter according to the frame rate rounded to whole numbers (FROM x fps TO y fps)

Interesting -- I never thought frame rate would be something of interest.
I suspect it's a feature very few people would be interested in.
I can help direct you where to edit the code so you can build a custom version of this app that will show the frame rates as well 🤝 🙂

I'm closing this issue as I'm not intending to implement it into the app.
Please feel free to reach out if you'd like a hand with adding this feature to your own build of the app 👍


Azure CLI commands fail for newly granted subscriptions

Symptom
Azure CLI commands fail for newly granted subscriptions.
Steps to repro:

Run az login with a user account or service principal. Azure CLI caches the result of ARM REST API Subscriptions - List which doesn't contain the new subscription. The cache is saved to ~/.azure/azureProfile.json.
The user account or service principal is granted an RBAC role assignment on a new subscription to which the user account or service principal previously doesn't have access. The subscription can be newly created.
Because az account set/show and --subscription only use subscription information from the local cache, they won't be able to work with that new subscription and show errors.

Different error messages can be shown:

az account set --subscription: https://github.com/Azure/azure-cli/blob/060b414d8ac5e4d8f4fc17cc2e23c2154c762226/src/azure-cli-core/azure/cli/core/_profile.py#L516-L518
az account show --subscription: https://github.com/Azure/azure-cli/blob/060b414d8ac5e4d8f4fc17cc2e23c2154c762226/src/azure-cli-core/azure/cli/core/_profile.py#L552-L554
az group show --subscription: https://github.com/Azure/azure-cli/blob/ce3a1f1ddea0b59f0a5803bb427c55862ccae72b/src/azure-cli-core/azure/cli/core/commands/arm.py#L365-L366

az account subscription list is not affected because this command gets the result from ARM API Subscriptions - List, instead of the local cache.
Solution
The best practice is to have subscriptions' RBAC role assignments granted before running az login.
If you have already run az login, you may refresh the local cache:

Option 1: Run az login again
Option 2: Run az account list --refresh, but we don't recommend using --refresh argument as it is known to be buggy in some edge cases: https://github.com/Azure/azure-cli/issues/20429

Additional Context
Email: Regarding issue during Azure ClI

Thank you for opening this issue, we will look into it.

We received another incident today reporting a deleted subscription still shows up in the result of az account list.
The root cause is similar: az login caches the result of ARM REST API Subscriptions - List before deleting the subscription. Because az account list only uses subscription information from the local cache, it doesn't know the subscription has been deleted.
Solution: re-login with
az account clear
az login

Hit the above issue when I was added to another subscription. Running az account clear and az login worked.
My armchair expert opinion would be to always fetch subscriptions from remote when the az login command is used...


fix typo, OPTMIZATION -> OPTIMIZATION

Tried to figure out why Events.OPTIMIZATION_STEP wasn't working for a while before figure it out the lib has it as OPTMIZATION.

Codecov Report

Merging #203 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   99.68%   99.68%
=======================================
  Files           6        6
  Lines         322      322
  Branches       32       29    -3
=======================================
  Hits          321      321
  Partials        1        1

Impacted Files
Coverage Δ

bayes_opt/observer.py
100% <100%> (ø)
:arrow_up:

bayes_opt/event.py
100% <100%> (ø)
:arrow_up:

bayes_opt/bayesian_optimization.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Cosmo docs

Pulling in @MyNameIsCosmo tweaks and MkDocs setup. @rec - This one's for you :) I have more work to go here to get it going the way I want but that will come quickly.

Self approve!


Externally trigger notifyOfTapToTalk in the window/terminal

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
Is there a way that i can initiate the "notifyOfTapToTalk" in the sample app external from the cmd promt?
For example, could i create a .bat file that triggers the "notifyOfTapToTalk" ( or inputs a t into the cmd prompt).
What is the expected behavior?
I would like to bind a keyboard button to open a .bat file which triggers a t in the sampleapp window to wake alexa up.
What behavior are you observing?
Cant figure out/google a way to externally input a t into the window :'(
Provide the steps to reproduce the issue, if applicable:
Im still at step 0 haha
Tell us about your environment:
It can be unproductive to navigate to a window to type a t to then start talking (on windows). There gotta be a way to change this.
What version of the AVS Device SDK are you using?
<1.9.0>
Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ x] Other - tell us more: Windows

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[x ] Other - tell us more: Microsoft

Hi!
I suggest you to consider using the InteractionManager object created here or here.
You can control most of the user interaction aspects using this class. For tap-to-talk please consider tap() method.
You can create your own keyboard polling code or you may want to modify existing ConsoleReader class.
In general I recommend to modify SampleApp code to add this functionality rather than trying to inject keypress into an existing app.

Thank you for taking the time to give me some feedback.
Editing the sample app to poll for a keyboard press sounds great. I'll give it a Google and see how things pan out!

Sure! SampleApp is provided as a reference for you to play with!
Feel free to ask for any assistance.

Do you think this will work?
`#include <Windows.h>
if(GetKeyState(VK_F8) & 0x8000)
{
// f8 pressed
TAP
}
`

Should "TAP" be replaced with "tapToTalkAudioProvider"?

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


Service manifest for web endpoint

@bomoko Just to clarify the default post will be on port 80 ?

This PR also needs to be merged post the merge of the service itself (https://github.com/uselagoon/insights-remote/pull/9)

Lagoon-insights-remote chart is deprecated - you'll need to remake this pr to the insights remote templates in lagoon-remote

Closing this @timclifford - it's being absorbed into https://github.com/uselagoon/lagoon-charts/pull/578


API not working as it should in C# after update to 2.12.0

Describe the bug
Since the update to 2.12.0 the API call _api.alert.alerts has not been working as it should.

I keep getting this error... this code was working before the update.
Someone suggested it had to do with how I declared _apiResponse:

But that wouldnt explain that all other functions are working and only when I try to run getAlerts or _api.alert.alerts i get this error. This code is from the C# examples here in the OWASP Zap github.
Maybe the syntax changed? I dont know, could someone help me?
Steps to reproduce the behavior
In C# use the call _api.alerts.alert
Expected behavior
Return the alerts currently listed in OWASP Zap
Software versions
OWASP ZAP
Version: 2.12.0
Installed Add-ons: [[id=alertFilters, version=14.0.0],
[id=ascanrules, version=49.0.0], [id=automation,
version=0.19.0], [id=bruteforce, version=12.0.0],
[id=callhome, version=0.5.0], [id=commonlib,
version=1.11.0], [id=custompayloads, version=0.12.0],
[id=database, version=0.1.0], [id=diff, version=12.0.0],
[id=directorylistv1, version=5.0.0], [id=domxss,
version=14.0.0], [id=encoder, version=0.7.0], [id=exim,
version=0.3.0], [id=formhandler, version=6.1.0], [id=fuzz,
version=13.8.0], [id=gettingStarted, version=14.0.0],
[id=graaljs, version=0.3.0], [id=graphql, version=0.11.0],
[id=help, version=15.0.0], [id=hud, version=0.15.0],
[id=importurls, version=9.0.0], [id=invoke, version=12.0.0],
[id=network, version=0.5.0], [id=oast, version=0.13.0],
[id=onlineMenu, version=10.0.0], [id=openapi,
version=30.0.0], [id=pscanrules, version=44.0.0],
[id=quickstart, version=35.0.0], [id=replacer,
version=11.0.0], [id=reports, version=0.16.0],
[id=requester, version=7.0.0], [id=retest, version=0.4.0],
[id=retire, version=0.17.0], [id=reveal, version=5.0.0],
[id=saverawmessage, version=7.0.0], [id=savexmlmessage,
version=0.3.0], [id=scripts, version=33.0.0], [id=selenium,
version=15.11.0], [id=soap, version=15.0.0], [id=spider,
version=0.1.0], [id=spiderAjax, version=23.10.0], [id=tips,
version=10.0.0], [id=webdriverlinux, version=46.0.0],
[id=websocket, version=27.0.0], [id=zest, version=37.0.0]]
Operating System: Linux
Architecture: amd64
Java Version: Debian 11.0.16
System's Locale: en_US
Display Locale: en_GB
Format Locale: en_US
Default Charset: UTF-8
ZAP Home Directory: /home/kali/.ZAP/
ZAP Installation Directory: /opt/zaproxy/./
Look and Feel: FlatLaf Light (com.formdev.flatlaf.FlatLightLaf)
Screenshots

Errors from the zap.log file
Zap does not write anything about this error in the logs
Additional context
No response
Would you like to help fix this issue?

[X] Yes

After some application refactoring the issue no longer exists. Thanks for being awesome!


Type mismatch: inferred type is ByteBuffer? but ByteBuffer was expected

Note: Recompile with -Xlint:deprecation for details.
e: /Users/kedar/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (682, 45): Type inference failed. Expected type mismatch: inferred type is Int? but Int was expected
e: /Users/kedar/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/CameraUtils.kt: (51, 13): Type inference failed: Cannot infer type parameter V in inline operator fun <K, V> MutableMap<K, V>.set(key: K, value: V): Unit
None of the following substitutions
receiver: MutableMap<String, Any>  arguments: (String,Any)
receiver: MutableMap<String, Int?>  arguments: (String,Int?)
can be applied to
receiver: HashMap<String, Any>  arguments: (String,Int?)
e: /Users/kedar/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (218, 59): Type mismatch: inferred type is ByteBuffer? but ByteBuffer was expected
e: /Users/kedar/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (427, 23): Type mismatch: inferred type is ByteBuffer? but ByteBuffer was expected
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':camera_with_rtmp:compileReleaseKotlin'.

Compilation error. See log for more details

+1


Response :ovs not found

I am currently working on usage control project for home newtorking and i am trying to use your module for pushing queues and response i am getting is OVS_NOT _FOUND when i use that curl command .
The requirement is met for ovs ,floodlight, curl. Any suggestions .

Hi Jesan,
I trying to run queuepusher module, I also got the same error. Did you find any fix for that ?
root@ubuntu:~# curl -d '{"switchid": "00:00:00:00:00:00:00:03", "port":"eth1", "rate":20}' http://<IP_ADDRESS>:8080/wm/queuepusher/qpc/json
{"id":"","queueuuid":"","qosuuid":"","err":"2015-04-14T22:29:08Z|00002|reconnect|WARN|tcp:<IP_ADDRESS>:9091: connection attempt failed (Connection refused)\novs-vsctl: tcp:<IP_ADDRESS>:9091: database connection failed ()\n","exitcode":"CREATE_FAIL","out":""}

Hi Ravi ,
No I didn't get that fixed and I tried to implement in another way ...
Jesanraj

On 15-Apr-2015, at 4:09 am, RaviCharan<EMAIL_ADDRESS>wrote:
Hi Jesan,
I trying to run queuepusher module, I also got the same error. Did you find any fix for that ?
root@ubuntu:~# curl -d '{"switchid": "00:00:00:00:00:00:00:03", "port":"eth1", "rate":20}' http://<IP_ADDRESS>:8080/wm/queuepusher/qpc/json
{"id":"","queueuuid":"","qosuuid":"","err":"2015-04-14T22:29:08Z|00002|reconnect|WARN|tcp:<IP_ADDRESS>:9091: connection attempt failed (Connection refused)\novs-vsctl: tcp:<IP_ADDRESS>:9091: database connection failed ()\n","exitcode":"CREATE_FAIL","out":""}
—
Reply to this email directly or view it on GitHub.

Hi Jesan,
Thanks for your reply. What is the other way ?
On Wednesday, April 15, 2015, Jesan<EMAIL_ADDRESS>wrote:

Hi Ravi ,
No I didn't get that fixed and I tried to implement in another way ...
Jesanraj

On 15-Apr-2015, at 4:09 am, RaviCharan<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:
Hi Jesan,
I trying to run queuepusher module, I also got the same error. Did you
find any fix for that ?
root@ubuntu:~# curl -d '{"switchid": "00:00:00:00:00:00:00:03",
"port":"eth1", "rate":20}' http://<IP_ADDRESS>:8080/wm/queuepusher/qpc/json

{"id":"","queueuuid":"","qosuuid":"","err":"2015-04-14T22:29:08Z|00002|reconnect|WARN|tcp:
<IP_ADDRESS>:9091: connection attempt failed (Connection
refused)\novs-vsctl: tcp:<IP_ADDRESS>:9091: database connection failed
()\n","exitcode":"CREATE_FAIL","out":""}

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/OneSourceConsult/floodlight-queuepusher/issues/1#issuecomment-93192525
.

--
Thanks & Regards,
RaviCharan
Masters - Network Communications
E-mail<EMAIL_ADDRESS>Contact:<PHONE_NUMBER>

Hi guys,
I am facing the same error  "connection attempt failed (Connection refused)\novs-vsctl connection attempt failed (Connection refused)\novs-vsctl: tcp:<IP_ADDRESS>:9091: database connection failed ()\n","exitcode":"CREATE_FAIL","out":""}"
Did you manage to fix the issue,
if yes please let me know how
Thanks

Hi again,
I am not getting the same error anymore, I fixed a part of the issue BUT I am getting a permission denied error now!!!
I figured out that when the program (in floodlight) is attempting to execute this command
ovs-vsctl set port s1 qos=@leqos -- --id=@leqos create qos type=linux-htb other-config:max-rate=10000000000000000000000000 queues:1=@lequeue -- --id=@lequeue create queue other-config:max-rate=20
The output is as you are trying to execute this command without root permission so it is normal I am getting this error now :
unix:/var/run/openvswitch/db.sock: connection attempt failed (Permission denied)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (Permission denied)\n"
so the trick is how to grant opendaylight the root permission to execute the creation of the queue
I can not find any solution
Please help
Thanks
Asma

I also get the error and I explained it in detail here : google forum I am not able to allocate a queue with a curl command. I started eclipse as root (floodlight controller) and give permissions to jar file.


Add capacity to extract multiple times or multiple depths for a given bounding box

As a minimum, we should allow...
x <- extract(box, X,
                  time = as.POSIXct("2020-01-06 09:00:00", tz = 'UTC'),
                  depth = c(2, 20, 50, 100),
                  varname = c('salinity', 'water_temp'))

OR
x <- extract(box, X,
                  time = seq(from = as.POSIXct("2020-01-06 09:00:00", tz = 'UTC'),
                             length = 20, by = "12 hours"),
                  depth = 0,
                  varname = c('salinity', 'water_temp'))

Either multiple times (for multiple variables) or multiple depths (for multiple variables), but not both at the same time.

Completed here


Not checking return value of setsockopt leads to silent failure when error occurs

In the following line, it is attempted to set the receive timeout by calling the setsockopt with the appropriate parameters
https://github.com/eProsima/Micro-XRCE-DDS-Client/blob/6f4edd25c0984fd30bf3bf84e2d1d33af03f24a1/src/c/profile/discovery/transport/udp_transport_datagram_posix_nopoll.c#L70
When setting up Micro-ROS on a new hardware platform, the executor did not function properly. After lots of debugging, we found out that the platform provider did not set the define in their generated lwipopts.h:
#define LWIP_SO_RCVTIMEO 1
When the define is not set, the LWIP stack does not provide the receive timeout functionality, and setsockopt returns -1.
The following call:
https://github.com/eProsima/Micro-XRCE-DDS-Client/blob/6f4edd25c0984fd30bf3bf84e2d1d33af03f24a1/src/c/profile/discovery/transport/udp_transport_datagram_posix_nopoll.c#L72
then waits indefinitely, blocking any further Micro-ROS executor functionality.
Since the above code does not check the error, the user has no idea why the executor runs once and then nothing else happens..

Could you take a look at this PR and provide some feedback: https://github.com/eProsima/Micro-XRCE-DDS-Client/pull/325 ??
Thanks a lot for the report, very useful.

Closing as https://github.com/eProsima/Micro-XRCE-DDS-Client/pull/325 merged.
Please reopen if needed, thanks for the catch!


TEST: wasm plugin runtime for wasm

Description:
I can't install wasm-pack because I'm using arm64 mac... So I decided to use CI instead.
cc @kwonoj
Let's see if build works.
Related issue (if exists):

Closing as it's verified.
Context: https://discord.com/channels/889779439272075314/889785438938726441/949863238504415303


Publish 7.5-rc-3

Publish 7.5-rc-3

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Improve logging to show colours for different log levels

Seems easy enough to accomplish: https://stackoverflow.com/questions/384076/how-can-i-color-python-logging-output

This looks nice too: https://github.com/Delgan/loguru
But I'm already fairly committed to using the built-in logging library 😄


[BUG] Nonexistent .nam file.

I moved the folder that contained a .nam file that I have on a bass track and if I open NAM it still appears as if it has the profile loaded, but it obviously doesn't, because it's in another folder and it does not sound with the profile. Perhaps NAM should advise that that profile no longer exists in that location.
I'm using Reaper in Windows 7.

and if I open NAM it still appears

What do you mean by "open NAM"? Start the DAW and open a project with NAM instances, re-open the GUI after closing it, starting a new instance of NAM (which shouldn't have any models or IRs loaded...?)
I need more details to understand.

I mean start the DAW and open a project with NAM instance, and a (now) nonexistent file is still in the plugin without any notice that the file no longer exists in that location.


Native Code dependancy

Is it possible to use this library without writing a single line of code in Native for ios and android?

yup, see the Usage section of the readme. If you run that code, you should get the result shown in the gif. Please notice that we only support the Checkout flow of PayPal atm.

can i have example code?

Getting this error.Please help

Apologies, for iOS you need to change some native code. Did you do step 4 ([iOS] Register a URL scheme in Xcode) and 5 ([iOS] Edit your AppDelegate.m) of the installation?

@riso ok thanks,
I have understood the 5th step, but for 4th step, I am confused what to change and where, if possible guide me, I am sure there are lots of developers who are not iOS native developers and will find the same problem

so as it says in the picture you pasted, in Xcode you should select your project in the project navigator

and then in the main window make sure to highlight the app target like this

and under the tab Info you should find a section called URL Types. There you can press on the + button to add a new URL Type like this

you need to populate only the URL Schemes field. As explained in the README, It must be <your-app-id>.payments. You can find the app id under the General tab, Identity section in the Bundle Identifier field.
Let me know if this helps

Coule you please paste your entire AppDelegate.m file?

The problem is that you defined the method didFinishLaunchingWithOptions twice, and everything must be within @implementation. Try the following instead
#import "AppDelegate.h"

#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import "RNPaypal.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [[RNPaypal sharedInstance] configure];
  NSURL *jsCodeLocation;

  jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];

  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                      moduleName:@"QualPros"
                                               initialProperties:nil
                                                   launchOptions:launchOptions];
  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];
  return YES;
}

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
  return [[RNPaypal sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
}

@end

Also, the URL scheme that you need to register is org.reactjs.native.example.QualPros.payments, not org.reactjs.native.example.QualPros.payment (final s is missing).
your test url will be org.reactjs.native.example.QualPros.payments://test, if it works it should open your app. You need to open it from safari within the device / emulator that has your app installed

I think I am very close, but it is still giving me errors, can I share my code? Please help me

Sure, feel free to share your code. What error are you getting now?

any update on the same? Can I contact you from outside? please reply and plz help me get this done

http://prntscr.com/lhcwd1
getting this error

Looking at your code, it seems like you're setting React state in a wrong way, you should always call setState to do so.
that being said I also suspect your code to get a token might be wrong. can you just try passing the test token that PayPal provides in their documentation?
just pass the following as the first parameter to requestOneTimePayment and let me know how it goes
'eyJ2ZXJzaW9uIjoyLCJhdXRob3JpemF0aW9uRmluZ2VycHJpbnQiOiJkNzEwMDFlMTM4NzVhMjgxZGE4MmQ1YmI1MTZhZmJhMzdjMjRmYmYxMDRkMzM2ZTM2YTYzZWVkNWNhMTRkYTZkfGNyZWF0ZWRfYXQ9MjAxOC0xMS0xMlQxNTowMDoyMS40ODQ2NTQwMzUrMDAwMFx1MDAyNm1lcmNoYW50X2lkPTM0OHBrOWNnZjNiZ3l3MmJcdTAwMjZwdWJsaWNfa2V5PTJuMjQ3ZHY4OWJxOXZtcHIiLCJjb25maWdVcmwiOiJodHRwczovL2FwaS5zYW5kYm94LmJyYWludHJlZWdhdGV3YXkuY29tOjQ0My9tZXJjaGFudHMvMzQ4cGs5Y2dmM2JneXcyYi9jbGllbnRfYXBpL3YxL2NvbmZpZ3VyYXRpb24iLCJncmFwaFFMIjp7InVybCI6Imh0dHBzOi8vcGF5bWVudHMuc2FuZGJveC5icmFpbnRyZWUtYXBpLmNvbS9ncmFwaHFsIiwiZGF0ZSI6IjIwMTgtMDUtMDgifSwiY2hhbGxlbmdlcyI6W10sImVudmlyb25tZW50Ijoic2FuZGJveCIsImNsaWVudEFwaVVybCI6Imh0dHBzOi8vYXBpLnNhbmRib3guYnJhaW50cmVlZ2F0ZXdheS5jb206NDQzL21lcmNoYW50cy8zNDhwazljZ2YzYmd5dzJiL2NsaWVudF9hcGkiLCJhc3NldHNVcmwiOiJodHRwczovL2Fzc2V0cy5icmFpbnRyZWVnYXRld2F5LmNvbSIsImF1dGhVcmwiOiJodHRwczovL2F1dGgudmVubW8uc2FuZGJveC5icmFpbnRyZWVnYXRld2F5LmNvbSIsImFuYWx5dGljcyI6eyJ1cmwiOiJodHRwczovL29yaWdpbi1hbmFseXRpY3Mtc2FuZC5zYW5kYm94LmJyYWludHJlZS1hcGkuY29tLzM0OHBrOWNnZjNiZ3l3MmIifSwidGhyZWVEU2VjdXJlRW5hYmxlZCI6dHJ1ZSwicGF5cGFsRW5hYmxlZCI6dHJ1ZSwicGF5cGFsIjp7ImRpc3BsYXlOYW1lIjoiQWNtZSBXaWRnZXRzLCBMdGQuIChTYW5kYm94KSIsImNsaWVudElkIjpudWxsLCJwcml2YWN5VXJsIjoiaHR0cDovL2V4YW1wbGUuY29tL3BwIiwidXNlckFncmVlbWVudFVybCI6Imh0dHA6Ly9leGFtcGxlLmNvbS90b3MiLCJiYXNlVXJsIjoiaHR0cHM6Ly9hc3NldHMuYnJhaW50cmVlZ2F0ZXdheS5jb20iLCJhc3NldHNVcmwiOiJodHRwczovL2NoZWNrb3V0LnBheXBhbC5jb20iLCJkaXJlY3RCYXNlVXJsIjpudWxsLCJhbGxvd0h0dHAiOnRydWUsImVudmlyb25tZW50Tm9OZXR3b3JrIjp0cnVlLCJlbnZpcm9ubWVudCI6Im9mZmxpbmUiLCJ1bnZldHRlZE1lcmNoYW50IjpmYWxzZSwiYnJhaW50cmVlQ2xpZW50SWQiOiJtYXN0ZXJjbGllbnQzIiwiYmlsbGluZ0FncmVlbWVudHNFbmFibGVkIjp0cnVlLCJtZXJjaGFudEFjY291bnRJZCI6ImFjbWV3aWRnZXRzbHRkc2FuZGJveCIsImN1cnJlbmN5SXNvQ29kZSI6IlVTRCJ9LCJtZXJjaGFudElkIjoiMzQ4cGs5Y2dmM2JneXcyYiIsInZlbm1vIjoib2ZmIn0='

@davekedar were you able to solve your problem? Closing this for now.


Undocumented autobahn.Connection.onclose "unsupported" reason

The reason "unsupported" does not appear in the doc.
I encountered it when trying to open a non-TLS connection on a TLS site.
Firefox seems to just block the connection, but Chrome gives a nice error message:

Mixed Content: The page at 'xxx' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'yyy'. This request has been blocked; this endpoint must be available over WSS.

The WHATWG defined WS API in browser does deliberately not define specific errors for network related issues like opening an insecure WS connection from a secure HTML page (which is explicitly forbidden by the WS RFC6455 spec).
The reasoning is: rogue JS scripts could otherwise probe around within internal networks.
FWIW, the FF behavior is hence closer to the intentions of the specs ..
We probably should talk a little about these aspects in the AB JS docs, since not everybody will have read the specs ..

I've added mention of both secure WebSocket connections and the 'unsupported' close code to the documentation.

I just ran into this and I'm not sure what is causing it?


Error When Setting Value Bound to a Multiple Select to Undefined

Description:
If a keypath is bound to a multiple select box, and the keypath is set to undefined, then the following error is thrown:
Uncaught TypeError: this.binding.forceUpdate is not a function
    at Select.sync (Select.js:85)
    at Select.update (Select.js:110)
    at update (methodCallers.js:15)
    at Array.forEach (<anonymous>)
    at Fragment.update$5 [as update] (Fragment.js:265)
    at flushChanges (runloop.js:119)
    at Object.end (runloop.js:27)
    at set (set.js:52)
    at Ractive$set [as set] (set.js:9)

I believe this is because Select.js is assuming that its binding is a SingleSelectBinding, as that subclass has a forceUpdate method, whereas the MultipleSelectBinding class does not.
Versions affected:
We first encountered this in our codebase using 0.9.11, and I've reproduced it in 1.0.0 Edge.
Reproduction:
Here is an example on the playground.

Your analysis is spot on. This is fixed on edge and will get pulled into 0.9.12 when it gets cut. The edge build will be available as soon as travis does his thing. Thanks for the report!


Problems with configuration file (train.yaml)

I encountered an issue while using the model where I noticed occasional inference problems due to the edges of the blocks. To address this, I attempted to introduce a new parameter to overlay the cells. Upon inspection of the inference.py script, I found that it retrieves parameters from a configuration file, such as cell_size. Although I couldn't pinpoint where it loads these parameters, I assumed it was from configs/train.yaml. Consequently, I added the following lines (in a similar style) to the script:
@property
    def overlap(self):
        return self._config.get("overlap")

Additionally, I included the parameter in the .yaml file: overlap: 0.5. However, the solution didn't resolve the issue. Furthermore, I observed that altering the cell_block parameter in the .yaml file didn't reflect in the debugging session, suggesting it might be loaded from elsewhere. Where are those parameters being loaded from?

Hello @Peregalli!
Could you kindly provide more details? Are you attempting to run inferences on already trained models from the checkpoint folder, or is this a custom-trained model of your own?
Additionally, could you please describe the steps to reproduce the inference issues you have mentioned?