Create tests for vessel-charging/messages/ChargingCompleteMessageParams using jest. Issue #24

Description
Created tests for the serialize and deserialize methods for MessageParams in vessel-charging/messages/ChargingCompleteMessageParams.
Related Issue

Motivation and Context

How Has This Been Tested?
Ran jest tests before push.
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hey @leeyspaul looking good.
I left a question above.

Okay. I think I did it correctly, totally thought I had to make a new PR. Pushed up the changes just now, hopefully it's okay! Let me know if there's anything else @mariolo1985

That's perfect @leeyspaul thanks!
When you push changes to a branch with an open PR, the open PR will stay in sync. This allows the code review to occur without the need for a new PR.
This is a personal preference on PRs. On some tasks, I open work-in-progress (WIP) PRs when I feel I am in a good dev state so I can start the code review process early and receive feedback from other developers. This also finds error-cases you did not think of 🤣.

close #24

Awesome stuff thanks for those tips. I'm glad to be learning from someone, this open source stuff is completely different from what you learn in school. I was hoping to contribute more but I don't want to take the other opportunities from others who may want it.
@mariolo1985 are you aware of any other things I may contribute to pertaining to DAV? It sounds really interesting and I'd love to continue contributing! :)

You have a great learning attitude 👍 Keep it up. As for contributing to other things in the DAV ecosystem, I am going to have to refer you to @TalAter for suggestions.

Great stuff @leeyspaul ! Thank you.
How about as a follow up to this try separating the testing of deserialize into a test for the type of object it returns, and a second test for its contents (it should look like this https://github.com/DAVFoundation/dav-js/blob/master/src/vessel-charging/MissionParams.test.ts#L27)?
There isn't currently an open issue for this, but you can open a new pull request for that and link to this page from it for future reference.

@TalAter Perfect I will look into it!

Ok I think I did this correctly but if I did it wrong please let me know and I'll attempt to fix it ASAP! :] @TalAter

Looks great @leeyspaul 👍 Thank you so much.
I like where you're going with this:


Release @google-cloud/debug-agent v3.0.1

This pull request was generated using releasetool.

Release is at https://github.com/googleapis/cloud-debug-nodejs/releases/tag/v3.0.1


How to pull a stream from a crtmpserver

I have a crtmpserver and a nginx-rtmp.
Now I want to pull a stream from crtmpserver. Then show it on VLC media player.
How the Pull Directive should be?
Here the nginx.conf
worker_processes  1;
error_log  logs/error.log debug;
events {
worker_connections  1024;
}
rtmp {
server {
listen 1935;
    application live {
        live on;
        hls on;
        hls_path /tmp/video;
        hls_fragment 15s;
    }
}

}
http {
server {
listen      80;
location /video {
alias /tmp/video;
}
}
for your help. Please.

as above, is there any plan to implement it?

I have plans, but currently I don't have time.

Thanks for reply.

If you only need rtmp stream then just add this part to standard (http) nginx.conf
rtmp {
     server {
         listen 1935;
         application myapp {
             live on;
             pull rtmp://remote.server.com/app/name name=mystream;
         }
    }
}

play url is rtmp://local.server.com/myapp/mystream
If you want to have HLS locally then you need static pulling, just add static keyword to the end of pull directive line.

hi,sir
my config file like this to config,but i  cant not get Stream,do you known why?
my nginx config is
`
#user  nobody;
worker_processes  1;
error_log  logs/error.log debug;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
#pid        logs/nginx.pid;
events {
worker_connections  1024;
}
http {
include       mime.types;
default_type  application/octet-stream;
#log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
#                  '$status $body_bytes_sent "$http_referer" '
#                  '"$http_user_agent" "$http_x_forwarded_for"';

#access_log  logs/access.log  main;

sendfile        on;
#tcp_nopush     on;

#keepalive_timeout  0;
keepalive_timeout  65;

#gzip  on;

server {
    listen       80;
    server_name  localhost;

    #charset koi8-r;

    #access_log  logs/host.access.log  main;

    location / {
        root   html;
        index  index.html index.htm;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }

    # proxy the PHP scripts to Apache listening on <IP_ADDRESS>:80
    #
    #location ~ \.php$ {
    #    proxy_pass   http://<IP_ADDRESS>;
    #}

    # pass the PHP scripts to FastCGI server listening on <IP_ADDRESS>:9000
    #
    #location ~ \.php$ {
    #    root           html;
    #    fastcgi_pass   <IP_ADDRESS>:9000;
    #    fastcgi_index  index.php;
    #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
    #    include        fastcgi_params;
    #}

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny  all;
    #}
}

# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
#    listen       8000;
#    listen       somename:8080;
#    server_name  somename  alias  another.alias;

#    location / {
#        root   html;
#        index  index.html index.htm;
#    }
#}

# HTTPS server
#
#server {
#    listen       443 ssl;
#    server_name  localhost;

#    ssl_certificate      cert.pem;
#    ssl_certificate_key  cert.key;

#    ssl_session_cache    shared:SSL:1m;
#    ssl_session_timeout  5m;

#    ssl_ciphers  HIGH:!aNULL:!MD5;
#    ssl_prefer_server_ciphers  on;

#    location / {
#        root   html;
#        index  index.html index.htm;
#    }
#}

}
stream {
upstream proxy_name {
server <IP_ADDRESS>:19041;#需要代理的端口
}
server {
listen 1935;
proxy_pass proxy_name;
}
}
rtmp_auto_push on;
rtmp {
server {

    listen 1935;
    chunk_size 4096;

    application mypull {
        live on;
        pull rtmp://<IP_ADDRESS>:19041/live/0/32057100001127007720 name=test;
    }

}

}
`
and the error
2021/12/15 13:56:58 [info] 4528#19092: *140694538682371 client connected '<IP_ADDRESS>' 2021/12/15 13:56:58 [info] 4528#19092: *3 connect: app='mypull' args='' flashver='LNX 9,0,124,2' swf_url='' tc_url='rtmp://<IP_ADDRESS>:1935/mypull' page_url='' acodecs=4071 vcodecs=252 object_encoding=0, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935 2021/12/15 13:56:58 [info] 4528#19092: *3 createStream, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935 2021/12/15 13:56:58 [info] 4528#19092: *3 play: name='test' args='' start=-2000 duration=0 reset=0 silent=0, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935 2021/12/15 13:56:58 [info] 4528#19092: *3 relay: create pull name='test' app='' playpath='' url='<IP_ADDRESS>:19041/live/0/32057100001127007720', client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935 2021/12/15 13:57:09 [info] 4528#19092: *3 disconnect, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935 2021/12/15 13:57:09 [info] 4528#19092: *3 deleteStream, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935 2021/12/15 13:57:09 [info] 4528#19092: *4 disconnect, client: <IP_ADDRESS>:19041/live/0/32057100001127007720, server: ngx-relay 2021/12/15 13:57:09 [info] 4528#19092: *4 deleteStream, client: <IP_ADDRESS>:19041/live/0/32057100001127007720, server: ngx-relay
do you known why,make sure url :rtmp://<IP_ADDRESS>:19041/live/0/32057100001127007720 is right,i use vlc player can play


PlatformScaffold missing 'drawer'

Don't see anywhere to put my drawer in.

It's in the Data object: https://github.com/aqwert/flutter_platform_widgets/blob/master/lib/src/platform_scaffold.dart#L42

So basically drawer only exist in MaterialScaffold? I'm feeling it doesn't make sense using this widget in any case which has a drawer? Any suggestion?

That is the decision that the Flutter team has made. If you would like to submit an issue to flutter (https://github.com/flutter/flutter/issues) you could make a case for putting it on a Cupertino widget.
You can use the Material Scaffold with other Cupertino widgets but I am not sure what behavior or what it would look like.

@aqwert Yeah sure, I'm gonna close this issue.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 13832 ms

Resolved: Bofrost.de performance has improved in 0cd94f4.


Not working on 1.14.4 with trinkets 2.1.0

MultiMC Log: https://paste.ee/p/LhdAR
Game starts fine when this is disabled.

https://github.com/TehNut/ArmorDisguise/commit/85fc6427d07638e2f494c2fe21ae9e84588083ea


Fix for #184 - Jumping to a section of the overview takes you below t…

…he top
Clicking on a side nav item now scrolls you to the proper section. This now does not rely on the jquery.scrollTo.min.js plugin, so you might be able to remove this dependency if "scrollTo" is not used anywhere else.

Fabulous - thanks again @stahwa  :dancer:


Added Terms & Services page

-Added new Terms & Services page in Terms&Services.vue (#42)
-Added Terms & Services router in router.js

Close #42


Sip Tester CallDurationMinutes not working

Sip Tester Client; parameter CallDurationMinutes is not working. When using it the script returns a 400. Without the script works, with a default duration of about 60 seconds.
Tried to find the correct parameter for the api.pstnmonitoring.skype.com, but I can't find any documentation about accepted parameters.

Hello @Fl0kkie
Can you please put the link to the article you are opening the issue for?
Thank you

Hi,
The script and Word article describing the parameters are located here:
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/public/Teams/downloads/sip-tester-client/siptesterclient.zip
In the Word document (and also in the script) there is a parameter CallDurationMinutes, but that one is not working.
Regards,
Folkert

Have you guys been able to test and reproduce this?
Regards,
Folkert

Hey @Fl0kkie, sorry about inconvenience.
CallDurationMinutes parameter works only together with MediaValidationFrequencyMinutes parameter. Also, please add TestTimeoutInSeconds parameter (must be greater than CallDurationMinutes). E.g.
> .\SipTesterClient.ps1 -TeamsOutUsername "user@out_tenant" -TeamsOutPassword "***" -TeamsInUsername "user@in_tenant" -TeamsInPassword "***" -DestinationNumber "+1111111111"    -RetryCount 1 -RetryOnInternalErrors $true -RetryOnExternalErrors $true -CallDurationMinutes 55 -MediaValidationFrequencyMinutes 5 -TestTimeoutInSeconds 3600  -Verbose
We will update documentation. Thank you for reporting.

Thanks @r-eriksoo

Well, it's probably me. But even with those settings my calls are disconnected before they reach 1 minute.
Regards,
Folkert


List lps without erroring when they have no schedule data

TL;DR
List active lps without erroring when they have no schedule data
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/
Follow-up issue
NA

@wild-endeavor not sure, maybe we used to add an empty schedule attr when serializing formerly?


[5.9] [Macros] Diagnose top-level expansion of undefined freestanding macro

Cherry-pick of #65429

Explanation: Expanding an undefined macro succeeds silently and causes its arguments to not be type-checked. This is a bad state where incorrect freestanding macro expansion code would slip by and compile to nothing.
Scope of Issue: Macro resolution where there is a shortcut only meant to apply to custom attributes.
Risk: No risk to custom attributes, or to defined freestanding macro expanisons. All undefined freestanding macro expansions now go through the constraint system, which is an existing code path that those parsed as MacroExpansionExpr already go through, so the risk should be minimal.
Testing: Added additional diagnostics tests for top-level freestanding macro expansions in library mode.

rdar://108280416

@swift-ci please test

@swift-ci please test macos


[PE-D][Tester C] DG: Did not remove placeholder texts

Multiple instances where placeholder text in DG was not removed.

Labels: type.DocumentationBug severity.Low
original: Siddardar/ped#8

Duplicate of #334


Mock Toast Messages in tests

to reduce the false negatives in the FE tests.
@vahidbazzaz @pylipp

@vahidbazzaz test 4.5.1 is still failing, but not due to flaky tests. please run the test and fix them.
To me it feels like you have missed some data in the mock for the shipment.

 Mock toast messages for flaky FE tests

TODO:
merge master into it after #672 and #689 are merged to master. in the best case this resolves the failing tests.
Otherwise, @vahidbazzaz needs to take another look into his tests

@vahidbazzaz can u merge master into this branch and resolve the conflicts. All conflicts are with the shipment PRs from you and I am not sure how to resolve them.


DrawGlyphRun uses wrong native color struct

I'm not sure, but I think SharpDX.DirectWrite.BitmapRenderTarget.DrawGlyphRun uses wrong a wrong native color struct. In MSDN it's a COLORREF (32bit RGB). In SlimDX it's a Color4 (4 floats). My sample application crashes in 32 bit mode exactly in this API with an access violation. In 64 bit mode it succeedes, but produces some kind of random coloring.
I think the color paramater should have the type System.Drawing.Color or a simmilar type.
Thanx, Gerhard

Thanks, indeed the COLOREF is an int. This should be fixed by the commit above.


Dependency Management Resolution not possible with modules

When using the Dependency Management Resolution in combination with modules extensions are not available when used in either allporjects or subprojects in the root build.gradle.
Expected Behavior
Would be able to use dependency extensions in the same way it is possible in buildscript and subprojects.
Current Behavior
Extension with name 'libs' does not exist. Currently registered extension names: [ext, base, defaultArtifacts, sourceSets, reporting, javaToolchains, java, testing, scalaRuntime, scala]
Context
Trying to align dependencies as intended with the Dependency Management Resolution feature.
Steps to Reproduce
Root build.gradle.kts
plugins {
  kotlin("jvm") version "1.6.21"
}

buildscript {
  dependencies {
    classpath(libs.scala.library)
  }
}

allprojects {
  apply(plugin = "java")
  apply(plugin = "scala")

  dependencies {
//    implementation(libs.scala.library)
  }
}

rootProject.name = "dependency-management-resolution-modules-issue-sample"

dependencyResolutionManagement {
  repositories.mavenLocal()

  versionCatalogs {
    create("libs") {
      library("scala-library", "org.scala-lang:scala-library:2.13.6")
    }
  }
}

include("child")

The child module is not important, it just has to be there.
A project with this setup will be able to create the gradle project. But the the dependency implementation(libs.scala.library) in allrpojects is included, it will fail with the mentioned error. The error can then again be removed by excluding the child module. The same issue can be reproduced with subprojects instead of allprojects. Since buildscripts works fine I assume that there is an issue with applying this when subprojects are available. There is no issue using this feature in the subprojects/modules themselves. It is only when using either allprojects or subprojects.
I created a sample-project where the issue is reproduceable, but wasn't able to either upload it to this issue or create a branch on this repo for it. Let me know if more information is needed.
Your Environment
Reproduced with versions 7.5.1 and 7.6.

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A minimal reproducible example can really help us track down and fix your problem. We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
The ideal way to provide a reproducer is to leverage our reproducer template.
This issue will be closed after 7 days, unless you can provide more information.

Thanks for adding reproducible code, but please add a valid reproducer using our template.

Must have missed this reproducer template description somewhere. But I've added one and hopefully this will show the issue. I've used the reproducer template here: https://github.com/flemminglundahl/Dependency-Management-Resolution-module-issue

This is a duplicate of https://github.com/gradle/gradle/issues/16708 (itself duplicate of several issues). In a nutshell, you should avoid allprojects/subprojects and use convention plugins instead.

Sorry for not looking thorough enough for older issues.
I guess that makes sense and wouldn't be an issue for me to implement instead. But why are allprojects and subprojects not just being deprecated if the gradle team wants Devs to use convention plugins instead?


Fix flakey test in logger test

Fix #24882
The goroutines are all asynchronized. So it needs a little "sleep" to make sure the writer's goroutine has been paused before sending messages to it.

Not a fan of sleep statements, but maybe make it 100ms like the other sleeps in the same function?

Not a fan of sleep statements, but maybe make it 100ms like the other sleeps in the same function?

That's the simplest way to test such behavior for a concurrent system. Otherwise, it needs a lot of code to break into the tested module, that would be unnecessarily complex.
10ms / 50ms / 100ms doesn't matter for a modern computer, in the queue test code , 50ms is often used.
Feel free to change it to a value you like.


[Feature] Make pycocotools an optional dependency

Please refer to https://github.com/open-mmlab/mmyolo/issues/235

Thanks for your report, we will have a discuss

pycocotools is the core dependency in mmdet, so we will not set it as an optional one.


Possibility of update database on Docker image

When we run new Docker image with OSCM, we have new, pure database.
What if client has a database with a lot of data and he cannot "clean" his db?
We need possibility to update instead of purge the Database.

Databases are not purged by updating OSCM. Only the schema is upgraded to latest model version from the init scripts invoked on container start. The user mounts his persistence volume in the container at a defined location. For an update he pulls the containers from the registry and starts them or runs the provided deployer script for this purpose. In any case the contained data is preserved throughout the OSCM life-cycle.

See https://github.com/servicecatalog/oscm-dockerbuild.

Correct. initdb does not overwrite or purge data. It updates the database schema and - this is the only exception - overwrites the config settings. The latter is intended. I think this can be closed.


Several minor fixes to make 'ant test' work more reliably on other systems

Thanks. Better late then never...


Wrong indexers in inner loops

Hi
In a recent code snapshot, I've found several suspicious code that may use wring indexers in inner loops.
Path: aima-core/src/main/java/aima/core/nlp/parsing/grammars/ProbUnrestrictedGrammar.java
 84                 for( int i=0; i < vars.size(); i++ ) {
 85                         for( int j=0; j < ruleList.size(); j++ ) {
 86                                 // reset probTotal at start
 87                                 if( j == 0 ) {
 88                                         probTotal = (float) 0.0;
 89                                 }
 90                                 if( ruleList.get(i).lhs.get(0).equals(vars.get(i))) {
 91                                         probTotal += ruleList.get(i).PROB;
 92                                 }
 93                                 // check probTotal hasn't exceed max
 94                                 if( probTotal > 1.0 ) {
 95                                         return false;
 96                                 }
 97                                 // check we have correct probability total
 98                                 if( j == ruleList.size() -1 && probTotal != (float) 1.0 ) {
 99                                         return false;
100                                 }
101                         }
102                 }

In Line 90 and 91, ruleList.get(i) should be ruleList.get(j)?
Path: aima-core/src/main/java/aima/core/nlp/ranking/HITS.java
137                         for (int j = 0; j < currInlinks.size(); j++) {
138                                 inAndOutLinks.add(currInlinks.get(i));
139                         }
140                         List<String> currOutlinks = currP.getOutlinks();
141                         for (int j = 0; j < currOutlinks.size(); j++) {
142                                 inAndOutLinks.add(currOutlinks.get(i));
143                         }

In Line 138 and 142, currOutlinks.get(i) should be currOutlinks.get(j)?
These might not be issues but wanted to report just in case. Thanks!

Yes, very suspicious! I have cleaned up a bit... Thanks!


Highlight the whole board at endgame

Current endgame looks like this:

i.e. the board where the next move should happen were the game not finished is highlighted and other boards faded out.
The whole board should be highlighted instead.

Actually I'll fade out the subboards, so that only the big X's and O's get highlighted, it looks much better:


Translate a French word (readme.md)

Translated "sans" a French word to "without" the English one.
As a French speaker this word jumped into my eye, hope it's not a mistake on my part.

I think 'sans' is fine, though I'm open to others' thoughts on this.

perfectly fine, even [well, somewhat] more elegant than the other "possible solutions" [for my ears, in my own usage, of course].

I agree, I think the current wording is pretty good and to be honest I've gotten used to it at this point. It's practically a part of our branding :)


FR-T5.1-9: xOpera orchestrator should be available as a SaaS component

ID:
FR-T5.1-9

Type:
USABILITY

User  story:
As a user I want to deploy my prepared TOSCA templates/CSARs using the SaaS orchestrator and I would only need to supply the prepared files and then the orchestration would begin.

Requirement:
For users it would be useful to have multiple interaction modes. One of them is already supported and is a CLI that is meant to be used in shell sessions. Another one would be the SaaS component that would offer an API which would provide the endpoints for the orchestration and managing other stuff (users, secrets and so on).

Extended Description:
One possible way to implement the SaaS component would feature two APIs - one that would serve as xOpera API and would offer the endpoint calls which would correspond to the CLI commands (like validate, deploy, undeploy, outputs) and the second one which would be on top of the first one and would provide everything else (user and secrets management, projects, storing templates etc.). Another thing that would be welcome is the Web user interface which would simplify the interaction with the SaaS component.

Priority:
Must have

Affected Tools:
DELIVERY_TOOLCHAIN, ORCHESTRATOR

Means of Verification:
Successfully deploy prepared CSAR with the SaaS orchestartor component

This is one is also ongoing task.
@gcasale , please approve

Approved

This can be closed. We have already developed the SaaS orchestrator component that is currently available here: https://xopera-radon.xlab.si/ui and we are already preparing detailed documentation here: https://github.com/xlab-si/xopera-opera/pull/110.


fix: publish-theme action uses secrets.NPM_TOKEN

Wherever applicable, this PR changes the NPM token to secrets.NPM_TOKEN to fix the issue with the ui-packages STILL NOT BEING PUBLIC (I will never stop hating this.)
This does not replace the last occurrence of the token since I believe we need the old token (APIFY_SERVICE_ACCOUNT_NPM_TOKEN) to publish packages in the @apify workspace. This might be a question for @fnesveda - are any of the mentioned GH secrets organization-wide (and do you think we can publish packages with secrets.NPM_TOKEN?)

As discussed with @fnesveda yesterday, the NPM / Github token management is a total mess.
The latest commit puts all the token-related stuff in the ~/.npmrc file and expects all the scripts to take it from there (to avoid passing different-named envvars with various values to different places).
The commit also adds workflow_dispatch trigger for the publishing workflow so we can test this better.


Test script

Addresses #3978
Changed

npm test now including building so it runs out of the box
npm run unit-test just runs the tests (previously npm test)
npm run unit-test:debug runs the tests in the debug mode (previously npm run test:debug)

:shipit:

thanks @bigtimebuddy ! 👍

No problem, thank you for making Pixi better.


Cleanup footer implementation

Fix #112
Test URLs:

Before: https://main--delta--hlxsites.hlx.page/us/en/skymiles/how-to-earn-miles/overview
After: https://issue-112--delta--hlxsites.hlx.page/us/en/skymiles/how-to-earn-miles/overview

@ramboz seems the CSS/JS changes you have pushed in main branch recently have added many lint issues which reflect in my branch. Could you please fix them?

@asthabh23 really sorry for that. I fixed them now, and will have to check why my IDE isn't reporting those in the first place.


Chore(Types): Update types for RN v0.56

@SupriyaKalghatgi could this be merged please? TypeScript is broken without this.
See: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25307

@andreialecu Sure, tomorrow

I close my PR, is it a duplication with #2210


Do I Need both provider and client?

Sorry if this is a basic concept. I'm a bit confused as to how to use this library as only a client that is trying to authenticate with a provider. In your notes under 'Usage', your bullet points suggest how to create a OIDCAuthentication object. Two of them are for provider and one for client. So I'm wondering if I need to create a provider object as well as a client object. In the example app in app.py, you created only one object which looks like one of the options of the provider object creation. Am I supposed to create another OIDCAuthentication for the client? If so, how do the two interact?
If I have to create the client registration, where do I get the redirect_uris you mention in the description?
As it stands right now, my in house provider has given me a client_id, client_secret, token and auth endpoints. How do I use these parameters and get my simple 'hello world' app authenticate with provider? Sorry for my limited understanding.

You only create one OIDCAuthentication object, the three bullets in the 'Usage' section are three different examples.
If you have gotten a client_id, client_secret and auth+token endpoints from your in-house provider it means that it does static client registration and does not support dynamic discovery. So you should create the OIDCAuthentication object as
OIDCAuthentication(provider_configuration_info=dict(authorization_endpoint=<auth endpoint>, token_endpoint=<token endpoint>), client_registration_info=dict(client_id=<client_id>, client_secret=<client_secret>)

where you fill in the info you have received (marked with angle brackets above).
Then you have to give the redirect URI "<flask_url>/redirect_uri" (where <flask_url> is the URL for the Flask application) to your in-house provider (i.e. the person managing new client registrations).
Does this clarify it for you?

It is clearer now. I have a question about the redirect uri though. Do I have to create a route in with an associated view function as:
@app.route('/redirect_me', methods=['GET', 'POST']) def redirect_me():     pass
And then give the url 'my_app.com/redirect_me' to my provider to save it as

Yes, it makes better sense to me now. I'll give it a shot and report back.

Rebecka,
I got a small problem. I'm getting:
ImportError: No module named 'flask_pyoidc'
I have installed flask_pyoidc with pip. I have verified that the module is in the virtual environment with 'pip list'. Yet, when I try to import the module, I get an error.

Why would this be?

Sorry about that, the release on PyPI was broken!
I've released a new version, so you can do pip install -U flask-pyoidc==0.1.1.
After it's updated you should be able to do import flask_pyoidc.flask_pyoidc or even from flask_pyoidc.flask_pyoidc import OIDCAuthentication.

Great. That solved that issue. However, there's a new one. I passed in the values in the square brackets as you suggested earlier today. When I try to run, I get:
Traceback (most recent call last):   File "run.py", line 1, in <module>     from app import theapp   File "D:\Local_Git_Repositories\Web_Applications\fbbi_dev\app\__init__.py", li ne 9, in <module>     client_registration_info=dict(client_id='fbbidev_ac_client', client_secret=' wP90s6eWSr4xDOSmcXHEynukXgb4F8qf6Uik9u6TdK9L4rHfcZS6nftb2QOhULit'))   File "C:\Anaconda3\envs\fbbidev\lib\site-packages\flask_pyoidc\flask_pyoidc.py ", line 27, in __init__     provider_configuration_info['issuer']) KeyError: 'issuer'
I think your logic is looking for the 'issuer' which I don't provide.

Correct, you'll have to provide the issuer URL in the provider information too:
OIDCAuthentication(provider_configuration_info=dict(issuer=<issuer>, authorization_endpoint=<auth endpoint>, token_endpoint=<token endpoint>), client_registration_info=dict(client_id=<client_id>, client_secret=<client_secret>).

Thanks again.

One of the links my in house provider gave me is https://some_base_url/.well-known/openid-configuration. Its output is similar to Google's https://accounts.google.com/.well-known/openid-configuration . Is that the issuer url or provider url? Is that the value I set to issuer ? Can` I use that url for something to make the creation of OIDCAuthentication easier?
Finally, I gave the provider what the redirect uri should be. eg. https:myapp.cs.com/redirectme . Do I need to create a route in flask as  theapp.route('/redirectme') and do something with it? I ask because I read that I'm supposed to do something with that endpoint. Sorry to bug with too many questions. My provider doesn't know much and I'm trying to learn this on my own.

The URL you gave contains the issuer URL, so you can simply do OIDCAuthentication(issuer=https://some_base_url, ...). Don't include the path /.well-known/openid-configuration).
The redirect uri is handled internally by flask_pyoidc, which is why it MUST have the exact path /redirect_uri. You need to give the provider the URL https://myapp.cs.com/redirect_uri (replace /redirectme with /redirect_uri).

Thanks. After the changes, I can't start the app. This is the stacktrace :
`[fbbidev] D:\Local_Git_Repositories\Web_Applications\fbbi_dev>
[fbbidev] D:\Local_Git_Repositories\Web_Applications\fbbi_dev>python run.py
http_request failed: HTTPSConnectionPool(host='fedloginqa.cat.com', port=443): M
ax retries exceeded with url: /.well-known/openid-configuration (Caused by Proxy
Error('Cannot connect to proxy.', ConnectionResetError(10054, 'An existing conne
ction was forcibly closed by the remote host', None, 10054, None))), url: https:
//fedloginqa.cat.com/.well-known/openid-configuration, htargs: {'allow_redirects
': False, 'verify': False}, method: GET
Traceback (most recent call last):
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\packages\urllib3\co
nnectionpool.py", line 554, in urlopen
self._prepare_proxy(conn)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\packages\urllib3\co
nnectionpool.py", line 750, in prepare_proxy
conn.connect()
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\packages\urllib3\co
nnection.py", line 252, in connect
ssl_version=resolved_ssl_version)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\packages\urllib3\ut
il\ssl.py", line 305, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Anaconda3\envs\fbbidev\lib\ssl.py", line 365, in wrap_socket
_context=self)
File "C:\Anaconda3\envs\fbbidev\lib\ssl.py", line 583, in init
self.do_handshake()
File "C:\Anaconda3\envs\fbbidev\lib\ssl.py", line 810, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [WinError 10054] An existing connection was forcibly close
d by the remote host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\adapters.py", line
376, in send
timeout=timeout
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\packages\urllib3\co
nnectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\packages\urllib3\ut
il\retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fe
dloginqa.cat.com', port=443): Max retries exceeded with url: /.well-known/openid
-configuration (Caused by ProxyError('Cannot connect to proxy.', ConnectionReset
Error(10054, 'An existing connection was forcibly closed by the remote host', No
ne, 10054, None)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 1, in
from app import theapp
File "D:\Local_Git_Repositories\Web_Applications\fbbi_dev\app_init_.py", li
ne 9, in
client_secret_expires_at =<PHONE_NUMBER>))
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\flask_pyoidc\flask_pyoidc.py
", line 23, in init
self.client.provider_config(issuer)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\oic\oic_init_.py", line 9
15, in provider_config
r = self.http_request(url)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\oic\oauth2\base.py", line 56
, in http_request
r = requests.request(method, url, **_kwargs)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\api.py", line 53, i
n request
return session.request(method=method, url=url, **kwargs)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\sessions.py", line
468, in request
resp = self.send(prep, **send_kwargs)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\sessions.py", line
576, in send
r = adapter.send(request, **kwargs)
File "C:\Anaconda3\envs\fbbidev\lib\site-packages\requests\adapters.py", line
437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fedloginqa.cat.co
m', port=443): Max retries exceeded with url: /.well-known/openid-configuration
(Caused by ProxyError('Cannot connect to proxy.', ConnectionResetError(10054, 'A
n existing connection was forcibly closed by the remote host', None, 10054, None
)))`
I created a private repo on bitbucket with my entire source code. If you can help me troubleshoot, I'll appreciate it. Thanks.

Thanks, I got access to your private repo. Let's continue this discussion there. :)


Error in base64 decoding

Sometimes happen decoding error attachments.
Problem ($this->leftover = '0') is here: Base64DecodeStreamFilter.php
if (!empty($this->leftover)) {
Fix:
if (strlen($this->leftover)) {

Nice -- thank you for pointing that out :+1:
My terrible use of "empty" in a number of places has been fixed on master.
All the best!


Set Limiter and Noise gate with AudioEngine.InputNode

Please let us know how to implement limiter and noise gate from new SDK. we tried below solution for noise gate but it's not included in new SDK.
https://stackoverflow.com/questions/47601246/audiokit-noise-gate

Is this a request for us to do your work for you for free?

Thanks for asking @aure . Looks like there is some misunderstanding in wording. We are asking to check if its feasible in your current Architecture or Architecture level its not feasible ?

Thanks for asking @aure . Looks like there is some misunderstanding in wording. We are asking to check if its feasible in your current Architecture or Architecture level its not feasible ?

Yes, it's still feasible. You may want to check out AudioKit/AudioKit and use the AmplitudeTap https://github.com/AudioKit/AudioKit/blob/main/Sources/AudioKit/Taps/AmplitudeTap.swift .
More documentation is available at https://audiokit.io and in the wiki https://github.com/AudioKit/AudioKit/wiki


removed unused vars. replaced assume policy with document policy reso…

…urce

this is now redundant as every team will have their ecr scan lambda function now as opposed to having it global.


Change names of Global Tools menu items

Version: Master 2.2 (2/28/19)
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Inspect the Tools menu at the global level. Looks at the menu items.

Result:
The tools menu items should not say:

Since we are already in the Global context the menu items should say:
Apps
DNS Entries
DNS Providers

in this specific order.
We do NOT need to change the titles for the pages for "Multi Cluster Apps" "Global DNS Providers" etc.

I'm not sure I agree with this. Everything at the global level does not have an implied "global" in front of it. Its not "Global Clusters" and "Global Mutli-cluster Apps"

Agree with Craig, I especially don't like MCA -> App.  That will make it very hard to separate talking about the feature versus the existing single project apps.

@tfiduccia any input? Okay if we leave it as it is?

@davidnuzik I think tools should stay the same as well, it follows the same pattern as cluster/project level where we place the non-top level pages like alerts and logging. Just because it only contains multi-cluster resources right now doesn't mean it always will.

@cjellick, @westlywright, @vincent99 - I don't care if you want to keep multi-cluster app, but having global/global DNS entries seems redundant.  I would still like to remove the "global" in front of DNS entries and DNS providers.  We are at the global level of the menu.  It's just silly to leave that in there.


Cannot read properties of undefined (reading 'container')

Just loaded up a new project with v-mapbox, following the guide. The map does not render, and this error in console:
Cannot read properties of undefined (reading 'container')

That was it, thanks @a21y!


🐛 BUG: Expression expected error if '---' exists in frontmatter regardless of context

Describe the Bug
When adding a valid JS expression/statement within the frontmatter of an .astro file that contains ---, we get an error within the text editor stating Expression expected.

Not the most common error but confused me initially when I was formatting console.log statements. Seems like some existing logic may need to be updated somewhere to specifically look for the --- code fence preceded and followed by a newline character?
Steps to Reproduce

npm init astro using template
Add any type of expression/statement within the frontmatter that contains the Astro code fence (i.e. storing --- within a variable, logging, comment, regex...etc.)
Extension in VSCode shows TS error Expression expected.

Thank you for reporting this issue!
The TypeScript error part is fixed in the current pre-release. Further work is needed for some other contexts, but it should already make the experience much better.
Additionally, this is a duplicate of https://github.com/withastro/language-tools/issues/248, so I'll be closing this issue in favor of it. Thank you again for reporting this!


Nested Radial Menus

Nested radial menus would be handy.  There's a chance I'll try to implement them, myself, sometime in the next few weeks, but thought I'd throw the idea out there.
You can close this issue if suggestions aren't issues.

What do you mean by nested radial menus?
Like a menu within a menu, or a menu option that then spawns a new menu to replace the existing menu?

Either way, really (assuming you don't mean "[permanently] replace the existing menu"); just some way to have sub-menus.  Seems to me like it might look cool to have a given sub-menu show up as concentrically surrounding the original radial menu - or maybe surrounding the parent menu-item?  There's a number of ways it could be done.

As an example of one of the ways, H3VR once basically did this:
https://youtu.be/c6s5q5ASKMY?t=3m18s

Has this feature been added?

@mattebv no


The same picture, different size, the erasing effect is very different, why？

Dear All
The same picture, different size, the erasing effect is very different, why？
https://fate-boat-6e1.notion.site/inpaint-result-8f5807ddd4354f44b7c5965c22d2cfe9?pvs=4

Hi, I think this is a not bug but limitation of the inpainting model (LaMa), perhaps of most existing inpainting models. This is because they are trained in low-resolution and cannot really adapt to very high resolution.


What is that "You enter through here" close to the email field?

we should remove it.

screenshot or url?

Account settings
On Mar 13, 2015 9:24 PM, "Carlos Matallín"<EMAIL_ADDRESS>wrote:

screenshot or url?
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/2770#issuecomment-79346660.


fields

Is it possible to just use all fields present? Or at least all fields present in the first object entry?

Did this ever go in the build, I was wondering if you can have the results without the field names

@KoltonG @kingcody will totally take a PR.

Hello Developers,
this module is awesome
how can i append data to my csv file second time without fields(it causes troubles while appending to file)?
any ideas..pls share it

@shivasurya what trouble does it cause? What does your csv look like and what are you trying to add?

first attempt :
i have added fields and tried to append the data to csv but it is overlapping with the previous data cell and with the field name,
so second time i made [] (null) paramater for fields -> nothing data appended in csv file.
i removed the parameter of fields and just applying with the append,
once again node.js error > expecting fields.
However Pls share any samples for writing/appending data to csv files.Thank you.
(since i'm in urgent need for a production app i didn't test/refer out completely and moved to ya-csv module and its working well.)

Which commands did you use?

@shivasurya
I just published a new version, and this is how you'd do it:
# Initial creation of csv with headings
json2csv -i test.json -f name,version > test.csv
# Append additional rows
json2csv -i test.json -f name,version --no-header >> test.csv

v2.8.0 supports auto fields, just don't specify them and it will use the top level fields.

@knownasilya what does "don't specify them" mean any take the whole , fields: or just [] or what?

If you don't have a fields array, then json2csv will just take all of the headers/columns. This means that nested fields will not show up, only the parent.

Doesn't seem to work for me:
Error: Data should not be empty or the "fields" option should be included


feat: switch to composable executor for Ethereum

Towards #11274

Removes module reth_evm_ethereum::execute and renames reth_evm_ethereum::strategy -> reth_evm_ethereum::execute
Adds helper type EthExecutorProvider that offers the same API as the old provider type to minimize the impact of the change.
Changes to use composable executor types BasicBlockExecutorProvider and EthExecutionStrategyFactory where needed.

Successful executions of hive https://github.com/paradigmxyz/reth/actions/runs/11388193195 and kurtosis  https://github.com/paradigmxyz/reth/actions/runs/11388196289

Let's wait until https://github.com/paradigmxyz/reth/pull/11865 is merged to merge this, marking this as blocked for now

This is no longer blocked @Rjected @fgimenez :)


multimedia content not played

Attach (recommended) or Link to PDF file here:

Uncompressed PDF file with embedded MP3 file.

Configuration:

Web browser and its version: Firefox 91.
Operating system and its version: Windows 7.
PDF.js version: The one shipped with Firefox 91.
Is a browser extension: Yes.

Steps to reproduce the problem:

Open the attached file and click on the frame.
Sound should be played.

What is the expected behavior? (add screenshot)

Sound playing.

What went wrong? (add screenshot)

Sound isn’t played. Warning about missing Screen annotation implementation.
Many thanks for your help.

Duplicate of #6078


can not download the app

When I try to download it it shows the webpage has redirect loop

Anyway to make settings app available again? Is it necessary for the app to show under "ok glass" after install. I have obdii with correct identification and pairing it with another settings app. OBDII shows correctly under BT devices list. No joy with show dashboard. Would you know if someone recompiled it for XE16 and if yes would it work with most recent XE23?
thanks a lot


Activating a roles does not require the Privileged role administrator

[Enter feedback here]
Using link https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-how-to-activate-role#activate-a-role
This is incorrect "Sign in to the Microsoft Entra admin center as at least a Privileged role administrator"
You do not have to be a Privileged Role Administrator to use PIM to activate your roles.  That is only required to assign roles.

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

ID: 43125fc1-f1fb-fa8c-69a6-7866a1b3a1fe
Version Independent ID: 174dbe2c-7469-a63a-ffd6-757272ce5c50
Content: Activate Microsoft Entra roles in PIM - Microsoft Entra ID Governance
Content Source: docs/id-governance/privileged-identity-management/pim-how-to-activate-role.md
Service: entra-id-governance
Sub-service: privileged-identity-management
GitHub Login: @barclayn
Microsoft Alias: barclayn

@ChuckSnow-DSG
Thanks for your feedback! We will investigate and update as appropriate.

@ChuckSnow-DSG
Thank you for bringing this to our attention.
I've delegated this to content author @barclayn, who will review it and offer their insightful opinions.


argb_layout_t wrong layout

typedef layout<rgba_t, mpl::vector4_c<int,1,2,3,0> > argb_layout_t;
I guess it should be typedef layout<rgba_t, mpl::vector4_c<int,3,0,1,2> > argb_layout_t;
sure it does not matter if use get_color(d,alpha_t()) but frustrates everyone who use a(i,j) = px[0];

This is about wrong hardcode and should be resolved with all dependent fixes.

I think gil is working as expected.
bits8 red   = 11;
bits8 green = 22;
bits8 blue  = 33;
bits8 alpha = 99;

typedef layout<rgba_t, mpl::vector4_c<int, 1, 2, 3, 0> > layout_1_t;
typedef pixel<bits8, layout_1_t> pixel_1_t;

typedef layout<rgba_t, mpl::vector4_c<int, 3, 0, 1, 2> > layout_2_t;
typedef pixel<bits8, layout_2_t> pixel_2_t;

pixel_1_t p1(alpha, red, green, blue);
pixel_2_t p2(green, blue, alpha, red);

auto a1 = get_color(p1, alpha_t());
auto a2 = get_color(p2, alpha_t());

assert(get_color(p1, alpha_t()) == get_color(p2, alpha_t()));
assert(p1[0] == p2[2]);

The design is explained here:
http://boostorg.github.io/gil/develop/doc/html/design_guide.html#color-space-and-layout
Please provide a minimal reproducible code sample.

In other words:

The rgba_t specifies order of sequence of colors buckets for

To derive new order of sequence of colors from the same set of colors, fill the rgba_t ordered sequence with corresponding colors in the new sequence. Fill it always in the same order as the original template sequence rgba_t: first R, second G, third B, fourth A.

typedef layout<rgba_t, mpl::vector4_c<int, r, g, b, a>> argb_layout_t;
                                           |  |  |  |
typedef layout<rgba_t, mpl::vector4_c<int, 1, 2, 3, 0>> argb_layout_t;
                                           r  g  b  a

I have to admit, the design document takes some time to grasp it.

rgba_t -> argb   is not 1,2,3,0 (gbra),  but 3,0,1,2 (argb)

As I remember, I created this bug because in argb_layout_t p[0] was not alpha channel value, but its was green channel value.

@mloskot is this expected for you that structure named argb_layout_t has first value green?
argb_layout_t c;
c[0] - green

maybe this operator should be private then

No, it is intentionally part of the public interface. This should clarify the issue, I think:
https://github.com/boostorg/gil/blob/06be7959c09d0cf08afd640b862d508b4ebd15e2/test/pixel.cpp#L314-L320


10c docs reorganize general and jsl

pre-commit.ci crashes during the check, what do I do?

@philipandag some conflicts related to whitespace in mkdocs.yml

@mkopec conflicts resolved

I think I have tamed an autolinter which was causing these merge conflicts. I will now proceed to sqush the commits.

@philipandag paya ttention to SEO CI linkChecker result, it will show you broken links you should fix

@philipandag pay attention to SEO CI linkChecker result, it will show you broken links you should fix

Does it run every time? After 54 minutes the pre-commit still waits in a queue and linkChecker is not even queued...

@philipandag maybe the conflicts are the problem?

@philipandag even more conflicts now :)

@miczyg1 What to do with these orphaned pages?

/guides/lab-assembly/odroid-assembly-guide/
/variants/versions/
/dasharo-naming-convention/

What to do with these orphaned pages?
They might have been removed durint some rebase. I'll check that first.

@miczyg1 All CI checks now pass. Only the Ubuntu mirror at TASK is broken. It links to (...)/ubuntu-22.04.4(...) but there is only (...)/ubuntu-22.04.5(...) available there. Should I change it?

I think we have to bump to to 22.04.5 unfortunately...

Also we cannot leave the commit message like this:
Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/overview.md: Reformat

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Change unify protectly structure

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
/docs/variants/protectli*: Remove DTS support

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs/variants/protectli_v1x10: change to v1x1x

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Add v1x1x

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Reformat

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: change v1x10 to v1x1x

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Reformat

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli_vp66xx/initial_deployment.md: typo

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Fix typo

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/overview.md: Comment was breaking the render

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Reformat

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Fix typo: v1x11 to v1x1x

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Comment out unused sections

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/overview.md: Fix typo V1x11 o V1x1x

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli_v1x1x/hardware_matrix.md: Add v1211

Yanked off of miczyg1's commit:
https://github.com/Dasharo/docs/commit/026d93715e9e6f822b53e6929d6a2b134e2573ef

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/building-manual.md: Join building manuals

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/initial_deployment.md: Join initial deployments

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/initial-deployment.md: Unify more

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/firmware-update.md: Create unified file

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/firmware-update.md: Fix indentation length

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Enable unified Firmware Update section

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/building_manual.md: Fix whitespace

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/test_matrix.md: Create unified test matrix

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/recovery.md: Add unified recovery file

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/recovery.md: Join intro

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/test-matrix.md: Remove obsolete comments

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Remove ducplicate test-matrix in v1000 series

it was moved to unified/test-matrix

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_v1000-series: remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp2410: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp2420: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp66xx: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp46xx: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
test-matrix.md: Fix leftover conflict

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Add protectli firmware_update redirects

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Add protectli recovery redirects

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/initial-deployment.md: Add fw6

FW6 had a file called `installation-manual.md` and it is actually
the same as `initial-deployment.md` in other platforms but named
differently.

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/initial-deployment.md: Fix whitespace

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Move sections arond according to feedback

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
buiilding-manual.md: remove duplicated intro & requirements

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/building-manual.md: Unify clone step

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/../building-manual.md: typo: protectli -> Protectli

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs: Add protectli v1211 according to JanPrusinowski's https://github.com/Dasharo/docs/commit/c0b2c1c265c5a5544f8c463f275866ae2dffa2b5

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Remove commented out section

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/building-manual: Fix missing ```

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/building-manual.md: improve cloning part

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs: Break long urls to fit in 80c line width limit

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview: Rename v1x1x-> v1000 series, use `-` instead of `*`

pre-commit doesnt like `*` lists and treats the asterisk as an emphasis
like in `*italics*` and says you can not put a spacebar after the
asterisk. Sadly it breaks the lists rendering but using `-` doesnt
trigger the linter and looks the same after being rendered.

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs: Further rename V1210 etc to V1000 series

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: prettier v1000 series section name

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs/unified/protectli/firmware-update.md: Duplicate SecureBoot info

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/initial-deployment.md: Remove duplicate in FW6

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/firmware-update.md: Restore DTS info

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_v1x10 moved to protectli_v1000-series

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
laboratory-assembly-guide.md: Fix committed conflict

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Fix strings to use apostrophes

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs/unified/protectli: Add unified overview.md

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Change unify protectly structure

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
/docs/variants/protectli*: Remove DTS support

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Add v1x1x

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Reformat

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli_vp66xx/initial_deployment.md: typo

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/overview.md: Comment was breaking the render

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview.md: Reformat

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/building-manual.md: Join building manuals

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/initial_deployment.md: Join initial deployments

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/initial-deployment.md: Unify more

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/building_manual.md: Fix whitespace

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
protectli/test_matrix.md: Create unified test matrix

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Add protectli recovery redirects

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Move sections arond according to feedback

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
buiilding-manual.md: remove duplicated intro & requirements

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/building-manual.md: Unify clone step

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/../building-manual.md: typo: protectli -> Protectli

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs: Add protectli v1211 according to JanPrusinowski's https://github.com/Dasharo/docs/commit/c0b2c1c265c5a5544f8c463f275866ae2dffa2b5

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/building-manual.md: improve cloning part

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs: Break long urls to fit in 80c line width limit

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/overview: Rename v1x1x-> v1000 series, use `-` instead of `*`

pre-commit doesnt like `*` lists and treats the asterisk as an emphasis
like in `*italics*` and says you can not put a spacebar after the
asterisk. Sadly it breaks the lists rendering but using `-` doesnt
trigger the linter and looks the same after being rendered.

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
unified/protectli/test-matrix.md: Remove obsolete comments

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_v1000-series: remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp2410: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp2420: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp66xx: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_vp46xx: Remove whats moved to unified

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli_v1x10 moved to protectli_v1000-series

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
laboratory-assembly-guide.md: Fix committed conflict

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
building-manual.md, overview.md, mkdocs: fixes

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
mkdocs.yml: Fix rebase errors

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
Protectli docs, mkdocs: Fix broken links, orphan pages

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
variants/protectli*: Delete unified pages, fix broken link

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
docs/variants/protectli_v1x10/hardware-matrix.md: v1410 update

Signed-off-by: Filip Lewiński<EMAIL_ADDRESS>
docs protectli: Fix all links to unified documents

Signed-off-by: Filip Gołaś<EMAIL_ADDRESS>
Just leave one sign-off per autor

And what is this branch? https://github.com/Dasharo/docs/tree/10C-docs-Reorganize-general-and-jsl

Just leave one sign-off per autor

Ok, so the messages should be changed after squashing? Should I keep the commit messages, or remove them too along with the sign-offs?

And what is this branch? https://github.com/Dasharo/docs/tree/10C-docs-Reorganize-general-and-jsl

Typo in a push. I have deleted it.

Ok, so the messages should be changed after squashing? Should I keep the commit messages, or remove them too along with the sign-offs?

I usually just use the first commit's message for the entire squashed commit. If there are multiple authors, keep the Signed-off-by and add Co-authored-by too.

Just leave one sign-off per autor

Ok, so the messages should be changed after squashing?


I am not able to run SASS

Dears
I am try to run SASS in my React app following these instructions. When I run npm run watch-css the script generates correctly the .css from the .scss file, however when I save the .scss file I get this message in the console:
=> changed: C:\React\MyApp\src\App.scss
{
  "status": 3,
  "message": "File to read not found or unreadable: C:/React/MyApp/src/App.scss",
  "formatted": "Internal Error: File to read not found or unreadable: C:/React/MyApp/src/App.scss\n"
}

My enviroment and setup are:
Windows 10
Node: 6.10.2
NPM: 3.10.10
react: 15.6.0
react-dom: 15.6.0
node-sass-chokidar: 0.0.3,
react-scripts: 1.0.7
Any idea what is wrong?
I would be grateful any clue.
Best regards

/cc @michaelwayman

Thanks for the heads-up @Timer
@gfdesign would you mind re-opening the ticket on node-sass-chokidar so I will be able to track it better?
At first glance it looks like you are on windows and node-sass-chokidar is trying to look for file C:/React/MyApp/src/App.scss (note the forward slashes) but on windows the correct path would use \ backslashes instead.
I released node-sass-chokidar v0.0.3 yesterday and I am wondering if this new "patch" release  introduced a bug on accident. Would you mind downgrading to node-sass-chokidar v0.0.2 and see if this is still an issue for you? That gives a chance to tell me exactly where the issue is at.
There are no hard-coded forward slashes in the code, and I am confident node knows how to properly resolve paths so I am thinking this might be an issue with a dependency node-sass-chokidar has on sass-graph.
I will look into this issue more in-depth when I get home from work, in the meantime if you could re-open this issue on node-sass-chokidar and let me know if downgrading fixes your issue that would be a major help!
Thanks for the report @gfdesign

@gfdesign I tried duplicating your problem on a windows10 laptop with npm6/node3.10.10 and I wasn't able to duplicate the issue.
Question time:
do you have some sort of mounted file system or running a VM or windows/linux hybrid? Are you running cygwin or have symlinks or anything like that?
The  BEST would be if you could share a small project that demonstrates the issue. But otherwise is it possible for you to include your package.json, and example of your sass folder/file structure so I can try replicating your setup even further?

Thanks for replying. As soon as I find some time, I'll try your suggestions.
Thanks for your patience.

This thread is followed here.

Sass is now supported out of the box.
https://reactjs.org/blog/2018/10/01/create-react-app-v2.html


action: 'delete' - Fatal error: Failed to list content of bucket  NoSuchKey: The specified key does not exist.

I have this task working perfectly for uploading, but I can't seem to be able to delete files from my bucket. I get this error when running grunt aws_s3:clean:
Fatal error: Failed to list content of bucket <bucket>
NoSuchKey: The specified key does not exist.

Here's my task config:
aws: grunt.file.readJSON('aws-keys.json'),

aws_s3: {
  options: {
    accessKeyId: '<%= aws.AWSAccessKeyId %>',
    secretAccessKey: '<%= aws.AWSSecretKey %>',
    region: 'eu-west-1',
    uploadConcurrency: 5,
    downloadConcurrency: 5,
    bucket: '<bucket>'
  },
  deploy: {
    files: [{
      expand: true,
      cwd: 'dist',
      src: [
        '**/*'
      ],
      dest: ''
    }]
  },
  clean: {
    options: {
      debug: true
    },
    files: [{
      dest: '/',
      action: 'delete'
    }]
  }
}

My mistake. I didn't realise having debug: true prevented it from performing the action. It also didn't like the fact that bucket was set to <bucketname/foldername>, though it worked fine with the deploy task for some reason!

Sorry for the late reply, entirely missed that notification. It might (certainly) be related to some changes that have been made in mock-aws-s3 a few weeks ago. It was related to the the naming of the bucket, so it's likely. debug: true indeed doesn't perform the action, just does a "dry" run.
Did your bucket string have any characters outside of [a-zA-Z]?

My bucket string was basically 'bucket-name/directory-name'. The upload task was fine with having a subdirectory in bucket but the delete task was not. So I ended up just having bucket be the bucket name, and putting the subdirectory as the dest of both tasks.

Interesting, thanks! Must be a weird path calculation in the mock library. I'll have a look.

It's a tiny issue really, but thanks for taking a look :)

The mock library has been updated (but on this module yet) so I'm hoping this issue will be solved! Otherwise, feel free to re-open.


Execute commands or create external files for already downloaded images

From issue #1001:

Another quick question. Is there any way to retroactively generate these txt files for images that have already been downloaded? Similar to the "rename existing images" tool?

This seems like a very valuable feature, regardless of use case. And if someone ever decided they wanted to switch their whole organization structure, this would be gold to that person. Right now, I've used a local board for collections and such, but should I ever want to try something else, it wouldn't be very easy to switch. It would kind of be like starting over.

@BarryMode seconded, it should be a default option as scripts like https://github.com/JetBoom/boorutagparser-server has less coverage.

I have a local booru, however, I do not want to keep the booru running at all times.
If Grabber is downloading something and the booru is not running, those images have to be redownloaded in order for them to get added to the booru.
A "Run commands for already downloaded posts"-button in the settings would really be a life-saver for me.
Is this at all possible or will I be better off just writing all of the info that Grabber gives me into an sqlite-db and using python to add the images to the booru afterwards?


Playwright E2E test cases

Set up and Added playwright tests that check the functionality of:
Browsing for item
Adding item to cart
Removing item from cart

@debs-obrien I have resolved all the comments. Please review the PR and approve if all good.
Thanks.


Segfault in httpCall if remote host name cannot be resolved

Title: Envoy segfaults when a wasm filter invokes httpCall() to a cluster with a DNS name that cannot be resolved
Description:
I created a reproducer repository at https://github.com/robertpanzer/http-call-crash and the README contains the steps to reproduce the problem.
In the example I have a cluster that points to a DNS name that cannot be resolved:
  - name: externalserver
    connect_timeout: 5s
    type: LOGICAL_DNS
    load_assignment:
      cluster_name: externalserver
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: brunftelmus.com
                    port_value: 80

When a wasm filter sends a request to this cluster like this:
  auto headers = {
        {":authority", "externalserver"},
        {"content-type", "application/json"},
        {"accept", "application/json"},
        {":path", "/get"},
        {":method", "GET"},
    };
  std::string request_body {R"(
{
  "Hello": "World",
  "Foo": "Bar"
}
)"};

  auto result = context->root()->httpCall("externalserver", headers, request_body, {}, 5000,
                                 callback);

Envoy segfaults in Envoy::Extensions::Common::Wasm::Context::AsyncClientHandler::onSuccess():
[2020-04-01 11:42:40.135][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:104] Caught Segmentation fault, suspect faulting address 0x158
[2020-04-01 11:42:40.135][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:91] Backtrace (use tools/stack_decode.py to get line numbers):
[2020-04-01 11:42:40.135][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:92] Envoy version: f6d0282f7ab42dfd215ae59112edbab3e70f2d3b/1.14.0-dev/Modified/DEBUG/BoringSSL
[2020-04-01 11:42:40.299][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #0: Envoy::SignalAction::sigHandler() [0x55c07362340c]
[2020-04-01 11:42:40.299][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #1: __restore_rt [0x7f147f1a5890]
[2020-04-01 11:42:40.416][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #2: Envoy::Extensions::Common::Wasm::Context::AsyncClientHandler::onSuccess() [0x55c0717bba65]
[2020-04-01 11:42:40.479][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #3: Envoy::Http::AsyncRequestImpl::onComplete() [0x55c07305df4a]
[2020-04-01 11:42:40.517][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #4: Envoy::Http::AsyncStreamImpl::closeLocal() [0x55c07305d073]
[2020-04-01 11:42:40.554][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #5: Envoy::Http::AsyncStreamImpl::encodeData() [0x55c07305d2e4]
[2020-04-01 11:42:40.589][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #6: Envoy::Http::AsyncStreamImpl::sendLocalReply()::{lambda()#1}::operator()() [0x55c073062d5e]
[2020-04-01 11:42:40.624][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #7: std::_Function_handler<>::_M_invoke() [0x55c073062bfc]
[2020-04-01 11:42:40.661][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #8: std::function<>::operator()() [0x55c070ac9c22]
[2020-04-01 11:42:40.697][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #9: Envoy::Http::Utility::sendLocalReply() [0x55c073306795]
[2020-04-01 11:42:40.733][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #10: Envoy::Http::AsyncStreamImpl::sendLocalReply() [0x55c073060529]
[2020-04-01 11:42:40.766][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #11: Envoy::Router::Filter::sendNoHealthyUpstreamResponse() [0x55c07306f1ad]
[2020-04-01 11:42:40.879][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #12: Envoy::Router::Filter::decodeHeaders() [0x55c07306de72]
[2020-04-01 11:42:40.968][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #13: Envoy::Http::AsyncStreamImpl::sendHeaders() [0x55c07305d731]
[2020-04-01 11:42:41.059][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #14: Envoy::Http::AsyncRequestImpl::initialize() [0x55c07305c352]
[2020-04-01 11:42:41.160][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #15: Envoy::Http::AsyncClientImpl::send() [0x55c07305bbd6]
[2020-04-01 11:42:41.279][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #16: Envoy::Extensions::Common::Wasm::Context::httpCall() [0x55c07178918e]
[2020-04-01 11:42:41.314][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #17: Envoy::Extensions::Common::Wasm::Exports::http_call() [0x55c0717cda44]
[2020-04-01 11:42:41.350][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #18: Envoy::Extensions::Common::Wasm::ConvertFunctionWordToUint32<>::convertFunctionWordToUint32() [0x55c0717ed3cf]
[2020-04-01 11:42:41.387][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #19: absl::base_internal::Callable::Invoke<>() [0x55c07183dced]
[2020-04-01 11:42:41.422][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #20: absl::base_internal::Invoke<>() [0x55c07183d9da]
[2020-04-01 11:42:41.461][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #21: absl::utility_internal::apply_helper<>() [0x55c07183d831]
[2020-04-01 11:42:41.493][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #22: _ZN4absl5applyIRPFjPvjjjjjjjjjjERSt5tupleIJPN5Envoy10Extensions6Common4Wasm7ContextEjjjjjjjjjjEEEEDTclsr16utility_internalE12apply_helperclsr4abslE7forwardIT_Efp_Eclsr4abslE7forwardIT0_Efp0_EtlNS_16utility_internal3GenImXsr3std10tuple_sizeINSt16remove_referenceISF_E4typeEEE5valueEE4typeEEEEOSE_OSF_ [0x55c07183ba72]
[2020-04-01 11:42:41.525][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #23: Envoy::Extensions::Common::Wasm::V8::V8::registerHostFunctionImpl<>()::{lambda()#1}::operator()() [0x55c07183b8cf]
[2020-04-01 11:42:41.563][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #24: Envoy::Extensions::Common::Wasm::V8::V8::registerHostFunctionImpl<>()::{lambda()#1}::__invoke() [0x55c07183b753]
[2020-04-01 11:42:41.603][18205][critical][backtrace] [bazel-out/k8-dbg/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #25: wasm::FuncData::v8_callback() [0x55c07185908f]

I attached a debugger to envoy and it seems like context_ is null here:
https://github.com/envoyproxy/envoy-wasm/blob/f6d0282f7ab42dfd215ae59112edbab3e70f2d3b/source/extensions/common/wasm/context.h#L342-L344

Looking at the dump it seems like onComplete() and hence onSuccess() is called synchronously, so that context_ is not initialized yet.
(onSuccess() is also called if the connection is refused for example, I assume the success refers to Envoy providing a local error response).
Initializing handler.context_ and handler.token_ before sending the request seems to resolve the issue.
I can create a PR for that.

Gads.  Sorry I didn't see this.  We are trying to eliminate reentrant calls into the Wasm VM.   They work but are messy.   Perhaps we can defer the onSuccess.

https://github.com/envoyproxy/envoy-wasm/pull/478


Follow up project: Early Childhood Education

Data:
https://www.childcarelink.gov.sg/ccls/home/CCLS_Home.jsp
Looking for collaborators to kick start this project. I can provide technical training if needed. Comment below if you are interested

https://github.com/datagovsg/school-picker/issues/1#issuecomment-335423108

Hi @kahpeng, I have created a separate issue tracker for the ECDA project. We can discuss here.
You can work on the ECDA project if this is more interesting to you. For a start you may refer to my ClickerPicker repo and learn how to build a scrapper for the ECDA data. Work on a development branch and when you are done make a pull request onto your master branch and request a review from me. I can help review your code.

https://github.com/yongjun21/anything-picker/tree/childcare-master

Hi @yongjun21 thanks for the reply, sorry i just back from long holiday trip, will start looking at your scrapped child care data.


IA-3762 useUniqueIdFn helper hook

part of work for IA team conversion to TS and Unit tests push (Export Anaysis Modal).
promoted IdContainer.js to TS file.
marked IDContainer as DEPRECATED.  The pattern it promotes is a bit convoluted in its functional nesting, and creates Typescript headaches.
implemented and unit tested alternative useUniqueIdFn helper hook pattern. See jsdocs and unit tests for details.

Also, question on organization... do we want this hook in the IdContainer module or its own module?

yes, but I also want to bias away from deeply nested code patterns, which was raised as a contributor to making the code harder to absorb/work-with.

Also, question on organization... do we want this hook in the IdContainer module or its own module?

Probably the better outcome would be to rename the file to uniqueId.ts.  But I didn't want to do that at the same time as promoting to Typescript and also add PR noise for import reference changes.

Just discovered this function already existed in react-utils:
https://github.com/DataBiosphere/terra-ui/blob/02959aec2697962cfe20aa33643c85ee53a14a88/src/libs/react-utils.js#L48-L50

@msilva-broad is out for the rest of the year, so I created https://broadworkbench.atlassian.net/browse/UIE-31 so we don't forget about this.


godot 3.2 VehicleBody and VehicleWheel engine_force strange behavior

Some backstory:
In godot 3.1 if I apply Engine force it works just about I expect it to work.
In godot 3.2 same projects start works strange. I found some reduce in power of vehicles.
After some investigations I found that engine force applies is not as I apply but actually it is divided by (number_of_wheels/number_of_traction_wheels). I tested only 4 wheels cars. In my case if I RWD car i need twice the engine force so car have acceleration as I want. If I make only 1WD car with total 4 wheels, then I need multiply engine force by 4.
I thought it can work good with new "Pre-Wheel Motion", but it works in same way. I need to apply Engine Force to wheel multiplied by (number_of_wheels/number_of_traction_wheels) to make it work properly.
How I expect it to work:
If I set engine_force to VehicleBody and it has at least one VehicleWheel with property use_as_traction=true and in contact with ground then VehicleBody is accelerated with engine_force I set.
OR
If I set engine_force to VehicleWheel with property use_as_traction=true and in contact with ground then this VehicleWheel  is accelerated with engine_force I set.
How it works:
If I set engine_force to VehicleBody or VehicleWheel then actual acceleration that is applied is divided by (number_of_wheels/number_of_traction_wheels).

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.


[SPARK-21936][SQL][WIP] backward compatibility test framework for HiveExternalCatalog

What changes were proposed in this pull request?
HiveExternalCatalog is a semi-public interface. When creating tables, HiveExternalCatalog converts the table metadata to hive table format and save into hive metastore. It's very import to guarantee backward compatibility here, i.e., tables created by previous Spark versions should still be readable in newer Spark versions.
Previously we find backward compatibility issues manually, which is really easy to miss bugs. This PR introduces a test framework to automatically test HiveExternalCatalog backward compatibility, by downloading Spark binaries with different versions, and create tables with these Spark versions, and read these tables with current Spark version.
TODO:
add more test cases
make sure it works on jenkins
How was this patch tested?
test-only change

cc @gatorsmile

Test build #81465 has started for PR 19148 at commit 283bc45.

Test build #81465 has finished for PR 19148 at commit 283bc45.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class HiveExternalCatalogVersionsSuite extends SparkFunSuite with Timeouts

Merged build finished. Test FAILed.

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

The test cases pass in my local environment when I run this test suite individually. It took 4 mins. It is not too bad.
[info] Run completed in 4 minutes, 25 seconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

Test build #81512 has started for PR 19148 at commit 850536e.

Test build #81512 has finished for PR 19148 at commit 850536e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class HiveExternalCatalogVersionsSuite extends SparkFunSuite with Timeouts

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

Merged build finished. Test FAILed.

Test build #81520 has started for PR 19148 at commit 3d827f9.

Test build #81520 has finished for PR 19148 at commit 3d827f9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class HiveExternalCatalogVersionsSuite extends SparkFunSuite with Timeouts

Merged build finished. Test FAILed.

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

Test build #81524 has started for PR 19148 at commit 08dcf22.

Test build #81524 has finished for PR 19148 at commit 08dcf22.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class HiveExternalCatalogVersionsSuite extends SparkSubmitTestUtils
trait SparkSubmitTestUtils extends SparkFunSuite with Timeouts

Less than 2 mins to finish the suite. It looks pretty good!

LGTM except two minor comments.

Test build #81532 has started for PR 19148 at commit 00cdd0a.

Test build #81535 has started for PR 19148 at commit 62369e3.

Test build #81532 has finished for PR 19148 at commit 00cdd0a.

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

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

Merged build finished. Test PASSed.

Test build #81535 has finished for PR 19148 at commit 62369e3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class NettyMemoryMetrics implements MetricSet

Merged build finished. Test PASSed.

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

Thanks! Merged to master.

Could you send a PR to 2.2 branch?

yea will do. @viirya feel free to send PRs to improve it like using mixed-case column names, thanks!

@cloud-fan Thanks. I'll do it.


Launch error

So I just installed and followed a tutorial on youtube made by Freeek.

https://www.youtube.com/watch?v=90JY0V9NfYU&list=PLYeZR6d3zDPgDgWogOwMteL-5SQWAE14b

When I try too launch the editor this error code comes up:

What do I do?

Extract the BeatSaberEditor folder from the zip file before running it.


Request: "artist"/"album" option in output template for Bandcamp

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.23. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.05.23

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Feature request (request for a new functionality)

Description of your issue, suggested solution and other information
I'm building a wrapper for downloading a Bandcamp collection by loading the URLs from the page and iterating over them. I'd like to create subdirectories in the format "{artist} - {album}" but this information is not scraped. Example:
$ youtube-dl https://eeveebeats.bandcamp.com/track/lily -j | jq
{
  "webpage_url": "https://eeveebeats.bandcamp.com/track/lily",
  "format_id": "mp3-128",
  "url": "<snip>",
  "extractor_key": "Bandcamp",
  "vcodec": "none",
  "http_headers": {
    "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
    "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)",
    "Accept-Language": "en-us,en;q=0.5",
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
    "Cookie": "<snip>",
    "Accept-Encoding": "gzip, deflate"
  },
  "requested_subtitles": null,
  "abr": 128,
  "display_id": "344329267",
  "extractor": "Bandcamp",
  "formats": [
    {
      "url": "<snip>",
      "protocol": "http",
      "format": "mp3-128 - audio only",
      "format_id": "mp3-128",
      "acodec": "mp3",
      "ext": "mp3",
      "http_headers": {"<snip>": ""}
  ],
  "_filename": "lily-344329267.mp3",
  "playlist": null,
  "acodec": "mp3",
  "fulltitle": "lily",
  "title": "lily",
  "webpage_url_basename": "lily",
  "thumbnail": "https://f4.bcbits.com/img/a0275924560_5.jpg",
  "playlist_index": null,
  "thumbnails": [
    {
      "id": "0",
      "url": "https://f4.bcbits.com/img/a0275924560_5.jpg"
    }
  ],
  "id": "344329267",
  "protocol": "http",
  "duration": 198.857,
  "ext": "mp3",
  "format": "mp3-128 - audio only"
}

Retrieving the artist and album info is fairly easy, artist:
Eevee

and album, where available:
Unexpected

Ideally, when fetching a whole album, the track numbers could be included as well, but that's not important :)

Thank you!


Area of square

Title of article
Write a C programme to find area of square.
Additional information
side : 4

area : 16

Code of Conduct

[X] I have read and agree to the Codinasion project's Code of Conduct

I'm doing this


OCM working groups

It's a common practice to organize the community into working groups.
For OCM it's the same, organized into a set of working groups could improve the experience when users want to join and contribute, as well as the community development.
Create this issue to further discuss this topic.
More ideas and suggestions are welcomed to comment on this issue.

close and move to OCM repo. https://github.com/open-cluster-management-io/OCM/issues/39


TASK: Code Style must follow latest policy

Updates the code to the latest Code Style policy.

looks good, :+1: by reading

@hphoeksma Thanks for this and sorry for the delay.
I tried to follow-up your PR but so many things have changed in the meantime. So it was easier to create a new one: #17 (btw: I don't think we have to change the HTML, composer.json and fusion files)

Hey @hphoeksma,
as @bwaidelich changed the code style in #17, I close this one.
Cheers, Daniel


add resolution information to the quality selector

Add inforomation about resolution to the dash quality selector.

Not enough space for automatic line break

Should not exceed 2 lines, or at least maintain a good appearance

We sync dash official documentation, 1111kbps(widthxheight)

now widthxheight (kbps)
dash demo kbps(widthxheight)

Try not to have more than one line, it doesn't look very nice, perhaps we could add a style option to the setting to control the font size to keep it to one line

dash's height width is not the same thing as hls's ,i guess

This has some duplicate height (width is not the same) options

It looks fine, but the code needs some tweaking.
Thanks for the contribution

ok! looking forward to your PR.
:+1:


 In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found then that particular item is returned, otherwise the search continues till the end of the data collection.
Linear search is the simplest search algorithm. For this reason, it is often called sequential search.
Pseudocode
procedure linear_search (list, value)

   for each item in the list
      if match item == value
         return the item's location
      end if
   end for

end procedure

Example
list = [1,2,3,4,5]
value = 4

Output : 3

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/implement-linear-search/implement_linear_search.go
Commit the changes
Create a pull request

!assign


Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

Describe the bug
I'm not sure what the bug is. I am using GitHub Codespaces and it throws this error: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
Steps/commands/code to Reproduce
python run.py --model_name azure:gpt3-legacy \
--data_path https://github.com/pvlib/pvlib-python/issues/2069 \
--config_file config/default_from_url.yaml

Error message/results
         NOTE ABOUT THE EDIT COMMAND: Indentation really matters! When editing a file, make sure to insert appropriate indentation before each line!

         IMPORTANT TIPS:
         1. Always start by trying to replicate the bug that the issues discusses.
            If the issue includes code for reproducing the bug, we recommend that you re-implement that in your environment, and run it to make sure you can
         reproduce the bug.
            Then start trying to fix it.
            When you think you've fixed the bug, re-run the bug reproduction script to make sure that the bug has indeed been fixed.

            If the bug reproduction script does not print anything when it successfully runs, we recommend adding a print("Script completed successfully, no
         errors.") command at the end of the file,
            so that you can be sure that the script indeed ran fine all the way through.

         2. If you run a command and it doesn't work, try running a different command. A command that did not work once will not work the second time unless
         you modify it!

         3. If you open a file and need to get to an area around a specific line that is not in the first 100 lines, say line 583, don't just use the
         scroll_down command multiple times. Instead, use the goto 583 command. It's much quicker.

         4. If the bug reproduction script requires inputting/reading a specific file, such as buggy-input.png, and you'd like to understand how to input that
         file, conduct a search in the existing repo code, to see whether someone else has already done that. Do this by running the command: find_file
         "buggy-input.png" If that doesn't work, use the linux 'find' command.

         5. Always make sure to look at the currently open file and the current working directory (which appears right after the currently open file). The
         currently open file might be in a different directory than the working directory! Note that some commands, such as 'create', open files, so they might
         change the current  open file.

         6. When editing files, it is easy to accidentally specify a wrong line number or to write code with incorrect indentation. Always check the code after
         you issue an edit to make sure that it reflects what you wanted to accomplish. If it didn't, issue another command to fix it.

         7. It may be necessary to install the repository from source before you can run code. Please think about how to install the environment from the
         repository directory if you need to do so.

         (Open file: n/a)
         (Current directory: /pvlib__pvlib-python)
         bash-$
Traceback (most recent call last):
  File "/workspaces/SWE-agent/run.py", line 377, in main
    self.run(index)
  File "/workspaces/SWE-agent/run.py", line 361, in run
    info, trajectory = self.agent.run(
                       ^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 767, in run
    thought, action, output = self.forward(observation, env.get_available_actions(), state)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 469, in forward
    thought, action, output = self.forward_with_error_check(observation, state)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 617, in forward_with_error_check
    output = self.forward_model(observation, state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 527, in forward_model
    return self.model.query(self.local_history)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/tenacity/__init__.py", line 330, in wrapped_f
    return self(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/tenacity/__init__.py", line 467, in __call__
    do = self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/tenacity/__init__.py", line 368, in iter
    result = action(retry_state)
             ^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/tenacity/__init__.py", line 410, in exc_check
    raise retry_exc.reraise()
          ^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/tenacity/__init__.py", line 183, in reraise
    raise self.last_attempt.result()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/opt/conda/lib/python3.12/site-packages/tenacity/__init__.py", line 470, in __call__
    result = fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/models.py", line 287, in query
    response = self.client.chat.completions.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/openai/_utils/_utils.py", line 277, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/openai/resources/chat/completions.py", line 590, in create
    return self._post(
           ^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/openai/_base_client.py", line 1240, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/openai/_base_client.py", line 921, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/openai/_base_client.py", line 1020, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
WARNING  ❌ Failed on pvlib__pvlib-python-i2069: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
INFO     Beginning environment shutdown...
INFO     Agent container stopped
INFO     Found image sweagent/swe-agent:latest with tags: ['sweagent/swe-agent:latest'], created: 2024-05-29T00:17:44.874588616Z for linux amd64.
DEBUG    Starting container with command: docker run -i --rm --name sweagent-swe-agent-latest-8175d17998 sweagent/swe-agent:latest /bin/bash -l
INFO     🌱 Environment Initialized

System Information
Windows 11, GitHub Codespaces
Checklist

[X] I'm running with the latest docker container/on the latest development version
[X] I've searched the other issues for a duplicate
[X] I have copied the full command/code that I ran (as text, not as screenshot!)
[X] If applicable: I have copied the full log file/error message that was the result (as text, not as screenshot!)
[X] I have enclosed code/log messages in triple backticks (docs) and clicked "Preview" to make sure it's displayed correctly.

Could you show me your keys.cfg (with your keys replaced by random strings so you don't leak them)?

You can also further debug by just running this:
import config
import os
from typing import Optional
from openai import OpenAI

cfg = config.Config(os.path.join(os.getcwd(), "keys.cfg"))
api_base_url: Optional[str] = cfg.get("OPENAI_API_BASE_URL", None)
client = OpenAI(api_key=cfg["OPENAI_API_KEY"], base_url=api_base_url)
response = client.chat.completions.create(
        messages=[{"content": "Create a test reply", "role": "user"}],
    model="gpt-4-turbo-2024-04-09",
)
print(response)

Thanks for the response. The issue was with the keys.cfg file.
Correct way was AZURE_OPENAI_API_VERSION: '2024-02-01'
For people using Azure OpenAI API, please note the following simple issue I faced:
I had put hyphen instead of colons after azure for the model name
Correct way:
python run.py --model_name azure:gpt3-legacy
--data_path https://github.com/pvlib/pvlib-python/issues/2069
--config_file config/default_from_url.yaml


chore(main): release 0.15.0

:robot: I have created a release beep boop
0.15.0 (2024-11-27)
Features

Allow dry-run of release (#62) (f50e61e)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.15.0
:sunflower: